@charset "UTF-8";

:root
{
	color-scheme: dark;
	--black: #020203;
	--navy: #080809;
	--panel: rgba(11, 11, 13, .96);
	--panel-soft: rgba(18, 18, 20, .92);
	--line: rgba(255, 48, 48, .42);
	--cyan: #ff3030;
	--cyan-bright: #ffffff;
	--magenta: #ff3030;
	--gold: #ffffff;
	--text: #f4f4f1;
	--muted: #a6a6a6;
	--danger: #ff3030;
	--shadow: 0 18px 52px rgba(0, 0, 0, .58);
	--content: 1180px;
	--display: "Cascadia Mono", Consolas, "Courier New", monospace;
	--ui: "Cascadia Mono", Consolas, "Courier New", monospace;
}

*, *::before, *::after
{
	box-sizing: border-box;
}

html
{
	min-width: 320px;
	background: var(--black);
	scroll-behavior: smooth;
}

body
{
	min-height: 100vh;
	min-height: 100dvh;
	margin: 0;
	background:
		radial-gradient(circle at 50% -12%, rgba(255, 48, 48, .13), transparent 38rem),
		linear-gradient(180deg, #020203, #080809 58%, #030304);
	color: var(--text);
	font-family: var(--ui);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

body::before
{
	position: fixed;
	z-index: -1;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 48, 48, .055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 48, 48, .055) 1px, transparent 1px);
	background-size: 48px 48px;
	content: "";
	opacity: .34;
}

body::after
{
	position: fixed;
	z-index: 100;
	inset: 0;
	background: repeating-linear-gradient(
		to bottom,
		rgba(255, 255, 255, .025) 0,
		rgba(255, 255, 255, .025) 1px,
		rgba(0, 0, 0, .06) 1px,
		rgba(0, 0, 0, .06) 3px,
		transparent 3px,
		transparent 5px
	);
	content: "";
	pointer-events: none;
}

img
{
	display: block;
	max-width: 100%;
}

a
{
	color: var(--cyan);
}

button, input
{
	font: inherit;
}

button, summary
{
	-webkit-tap-highlight-color: transparent;
}

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible
{
	outline: 3px solid var(--gold);
	outline-offset: 3px;
}

.site-shell
{
	display: grid;
	min-height: 100vh;
	min-height: 100dvh;
	grid-template-rows: auto 1fr auto;
}

.site-header
{
	position: sticky;
	z-index: 50;
	top: 0;
	border-bottom: 1px solid var(--line);
	background: rgba(3, 3, 4, .95);
	box-shadow: 0 10px 36px rgba(0, 0, 0, .28);
	backdrop-filter: blur(16px);
}

.header-inner
{
	display: flex;
	width: min(calc(100% - 36px), var(--content));
	min-height: 76px;
	margin: 0 auto;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.brand
{
	display: inline-flex;
	flex: 0 1 282px;
	align-items: center;
	text-decoration: none;
}

.brand img
{
	width: min(100%, 282px);
	max-height: 52px;
	object-fit: contain;
	object-position: left center;
}

.nav-toggle
{
	display: none;
	width: 44px;
	height: 40px;
	border: 1px solid var(--line);
	border-radius: 1px;
	background: var(--panel-soft);
	color: var(--cyan-bright);
	cursor: pointer;
	font-size: 22px;
	line-height: 1;
}

.site-nav
{
	display: flex;
	align-items: center;
	gap: 8px;
}

.site-nav > a, .games-menu > summary
{
	display: flex;
	min-height: 38px;
	align-items: center;
	border: 1px solid transparent;
	border-radius: 1px;
	color: var(--muted);
	cursor: pointer;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .12em;
	padding: 0 13px;
	text-decoration: none;
	text-transform: uppercase;
	transition: border-color .16s ease, background .16s ease, color .16s ease;
}

.site-nav > a:hover, .site-nav > a[aria-current="page"], .games-menu > summary:hover, .games-menu[open] > summary
{
	border-color: var(--line);
	background: rgba(255, 48, 48, .1);
	color: var(--cyan-bright);
}

.games-menu
{
	position: relative;
}

.games-menu > summary
{
	list-style: none;
}

.games-menu > summary::-webkit-details-marker
{
	display: none;
}

.games-menu > summary::after
{
	margin-left: 7px;
	color: var(--magenta);
	content: "▾";
}

.games-menu[open] > summary::after
{
	content: "▴";
}

.games-menu-list
{
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	display: grid;
	width: 300px;
	border: 1px solid var(--line);
	border-radius: 2px;
	background: #09090a;
	box-shadow: var(--shadow);
	padding: 8px;
}

.games-menu-list a
{
	border-radius: 1px;
	color: var(--text);
	padding: 9px 11px;
	text-decoration: none;
}

.games-menu-list a:hover, .games-menu-list a[aria-current="page"]
{
	background: rgba(255, 48, 48, .14);
	color: #fff;
}

.main-content
{
	width: min(calc(100% - 36px), var(--content));
	margin: 0 auto;
	padding: 32px 0;
}

.home-main
{
	display: grid;
	align-content: center;
	gap: 26px;
}

.home-intro
{
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 32px;
}

.eyebrow
{
	margin: 0 0 5px;
	color: var(--magenta);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .18em;
	text-transform: uppercase;
}

h1, h2, h3, p
{
	margin-top: 0;
}

h1, h2, h3
{
	line-height: 1.08;
}

h1
{
	margin-bottom: 0;
	color: #fff;
	font-family: var(--display);
	font-size: clamp(38px, 5vw, 66px);
	font-weight: 900;
	letter-spacing: -.055em;
	text-shadow: 3px 3px 0 rgba(255, 48, 48, .52);
	text-transform: uppercase;
}

.home-intro h1::after
{
	margin-left: .08em;
	color: var(--magenta);
	content: "_";
	animation: terminal-cursor 1.05s steps(1, end) infinite;
	text-shadow: none;
}

.intro-copy
{
	max-width: 440px;
	margin: 0 0 6px;
	color: var(--muted);
}

.game-grid
{
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.game-card
{
	position: relative;
	display: grid;
	min-height: 176px;
	grid-template-columns: 104px 1fr;
	align-items: center;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 2px;
	background:
		linear-gradient(135deg, rgba(255, 48, 48, .075), transparent 42%),
		var(--panel);
	box-shadow: 0 12px 34px rgba(0, 0, 0, .26);
	color: var(--text);
	gap: 16px;
	padding: 18px;
	text-decoration: none;
	transition: border-color .17s ease, box-shadow .17s ease, transform .17s ease;
}

.game-card::after
{
	position: absolute;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 3px;
	background: repeating-linear-gradient(90deg, var(--magenta) 0 18px, transparent 18px 25px);
	content: "";
	opacity: .44;
}

.game-card:hover
{
	border-color: var(--cyan);
	box-shadow: 0 16px 42px rgba(0, 0, 0, .56), 0 0 22px rgba(255, 48, 48, .13);
	transform: translateY(-2px);
}

.game-card img
{
	width: 104px;
	height: 104px;
	border: 1px solid rgba(255, 255, 255, .13);
	border-radius: 1px;
	background: #050505;
	object-fit: cover;
}

.game-card small
{
	display: block;
	margin-bottom: 7px;
	color: var(--magenta);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.game-card h2
{
	margin-bottom: 10px;
	color: #fff;
	font-family: var(--display);
	font-size: 21px;
	letter-spacing: -.04em;
}

.game-link
{
	color: var(--cyan);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.game-page-main
{
	display: grid;
	align-content: center;
}

.game-layout
{
	display: grid;
	grid-template-columns: minmax(300px, .9fr) minmax(420px, 1.2fr);
	align-items: stretch;
	gap: 24px;
}

.game-art-panel, .game-info-panel, .content-panel, .order-panel
{
	border: 1px solid var(--line);
	border-radius: 2px;
	background: var(--panel);
	box-shadow: var(--shadow);
}

.game-art-panel
{
	position: relative;
	display: grid;
	min-height: 480px;
	place-items: center;
	overflow: hidden;
	padding: 14px;
}

.game-art-panel::before
{
	position: absolute;
	inset: 0;
	background:
		linear-gradient(rgba(255, 48, 48, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 48, 48, .045) 1px, transparent 1px),
		linear-gradient(135deg, rgba(255, 48, 48, .08), transparent 44%);
	background-size: 32px 32px, 32px 32px, auto;
	content: "";
}

.arcade-cabinet
{
	position: relative;
	width: min(100%, 380px);
	aspect-ratio: 2 / 3;
	filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .5));
	margin: 0;
}

.cabinet-shell
{
	position: absolute;
	z-index: 1;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.cabinet-marquee, .cabinet-screen
{
	position: absolute;
	z-index: 2;
	display: grid;
	overflow: hidden;
	background: #000;
	place-items: center;
}

.cabinet-marquee
{
	top: 5.6%;
	left: 22.6%;
	width: 54.9%;
	height: 10.5%;
}

.cabinet-screen
{
	top: 21.1%;
	left: 26.8%;
	width: 46.4%;
	height: 23.5%;
}

.cabinet-marquee img, .cabinet-screen img
{
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.cabinet-screen::after
{
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		0deg,
		rgba(0, 0, 0, .14) 0,
		rgba(0, 0, 0, .14) 1px,
		transparent 1px,
		transparent 3px
	);
	box-shadow: inset 0 0 18px rgba(0, 0, 0, .65);
	content: "";
	pointer-events: none;
}

.game-info-panel
{
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(24px, 4vw, 48px);
}

.game-info-panel h1
{
	margin-bottom: 15px;
	font-size: clamp(33px, 4.2vw, 52px);
	letter-spacing: -.06em;
}

.game-summary
{
	max-width: 700px;
	margin-bottom: 22px;
	color: #d7d7d3;
	font-size: 17px;
}

.game-meta
{
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 24px;
	gap: 8px;
}

.game-meta span
{
	border: 1px solid rgba(255, 48, 48, .28);
	border-radius: 1px;
	background: rgba(255, 48, 48, .08);
	color: var(--cyan-bright);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	padding: 5px 9px;
	text-transform: uppercase;
}

.action-row
{
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 26px;
	gap: 11px;
}

.arcade-button
{
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--cyan);
	border-radius: 1px;
	background: rgba(255, 48, 48, .1);
	color: var(--cyan-bright);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .11em;
	padding: 0 19px;
	text-decoration: none;
	text-transform: uppercase;
	transition: background .16s ease, color .16s ease, transform .16s ease;
}

.arcade-button:hover
{
	background: #fff;
	color: #050505;
	transform: translateY(-2px);
}

.arcade-button.primary
{
	border-color: var(--magenta);
	background: var(--magenta);
	color: #fff;
}

.arcade-button.primary:hover
{
	background: #fff;
	color: #050505;
}

.gallery-label
{
	margin-bottom: 9px;
	color: var(--muted);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.screenshot-gallery
{
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 9px;
}

.gallery-shot
{
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border: 1px solid rgba(255, 48, 48, .32);
	border-radius: 1px;
	background: #020202;
	cursor: zoom-in;
	padding: 0;
}

.gallery-shot img
{
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity .16s ease, transform .16s ease;
}

.gallery-shot:hover img
{
	opacity: .86;
	transform: scale(1.04);
}

.lightbox
{
	width: min(92vw, 1000px);
	max-width: none;
	border: 1px solid var(--cyan);
	border-radius: 2px;
	background: #050506;
	box-shadow: 0 24px 90px #000;
	color: var(--text);
	padding: 18px;
}

.lightbox::backdrop
{
	background: rgba(0, 0, 0, .86);
	backdrop-filter: blur(7px);
}

.lightbox img
{
	width: 100%;
	max-height: 76vh;
	object-fit: contain;
}

.lightbox-bar
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding-top: 12px;
}

.lightbox-bar p
{
	margin: 0;
	color: var(--muted);
}

.lightbox-close
{
	width: 38px;
	height: 36px;
	border: 1px solid var(--line);
	border-radius: 1px;
	background: var(--panel-soft);
	color: #fff;
	cursor: pointer;
}

.info-main
{
	display: grid;
	align-content: center;
}

.content-panel
{
	max-width: 920px;
	margin: 0 auto;
	padding: clamp(26px, 5vw, 58px);
}

.content-panel h1
{
	margin-bottom: 18px;
}

.content-panel h2
{
	margin: 28px 0 8px;
	color: var(--cyan-bright);
	font-size: 21px;
}

.content-panel p
{
	color: #d7d7d3;
}

.content-panel .lead
{
	font-size: 19px;
}

.link-grid
{
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 28px;
	gap: 10px;
}

.link-grid a
{
	border: 1px solid var(--line);
	border-radius: 1px;
	background: rgba(255, 48, 48, .055);
	color: var(--text);
	padding: 13px 15px;
	text-align: center;
	text-decoration: none;
}

.link-grid a:hover
{
	border-color: var(--magenta);
	color: #fff;
}

.faq-list
{
	display: grid;
	margin-top: 24px;
	gap: 10px;
}

.faq-list details
{
	border: 1px solid var(--line);
	border-radius: 1px;
	background: rgba(255, 48, 48, .045);
	padding: 13px 16px;
}

.faq-list summary
{
	color: #fff;
	cursor: pointer;
	font-weight: 750;
}

.faq-list details p
{
	margin: 10px 0 2px;
	color: var(--muted);
}

.order-main
{
	display: grid;
	align-content: start;
}

.order-panel
{
	max-width: 880px;
	margin: 0 auto;
	padding: clamp(24px, 4vw, 44px);
}

.order-panel h1
{
	margin-bottom: 10px;
}

.order-intro
{
	margin-bottom: 24px;
	color: var(--muted);
}

.order-table
{
	width: 100%;
	border-collapse: collapse;
}

.order-table th
{
	border-bottom: 1px solid var(--line);
	color: var(--cyan-bright);
	font-size: 11px;
	letter-spacing: .12em;
	padding: 10px 12px;
	text-align: left;
	text-transform: uppercase;
}

.order-table th:first-child, .order-table td:first-child
{
	width: 58px;
	text-align: center;
}

.order-table th:last-child, .order-table td:last-child
{
	width: 94px;
	text-align: right;
}

.order-table td
{
	border-bottom: 1px solid rgba(255, 48, 48, .16);
	padding: 13px 12px;
	vertical-align: top;
}

.order-table tr:hover td
{
	background: rgba(255, 48, 48, .055);
}

.order-product
{
	display: block;
	color: #fff;
	font-weight: 800;
}

.order-description
{
	display: block;
	margin-top: 2px;
	color: var(--muted);
	font-size: 13px;
}

.order-check
{
	width: 20px;
	height: 20px;
	accent-color: var(--magenta);
	cursor: pointer;
}

.order-price
{
	color: var(--gold);
	font-weight: 800;
}

.order-actions
{
	display: flex;
	margin-top: 22px;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.order-note
{
	max-width: 470px;
	margin: 0;
	color: var(--muted);
	font-size: 13px;
}

.order-submit
{
	min-height: 46px;
	border: 1px solid var(--magenta);
	border-radius: 1px;
	background: var(--magenta);
	color: #fff;
	cursor: pointer;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .1em;
	padding: 0 22px;
	text-transform: uppercase;
}

.order-submit:hover
{
	background: #fff;
	color: #050505;
}

.site-footer
{
	display: flex;
	width: min(calc(100% - 36px), var(--content));
	min-height: 56px;
	margin: 0 auto;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid rgba(255, 48, 48, .2);
	color: #858585;
	font-size: 12px;
	gap: 20px;
}

.site-footer p
{
	margin: 0;
}

.site-footer a
{
	color: #a8a8a8;
	text-decoration: none;
}

.site-footer a:hover
{
	color: var(--cyan);
}

.sr-only
{
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

@keyframes terminal-cursor
{
	0%, 48%
	{
		opacity: 1;
	}

	49%, 100%
	{
		opacity: 0;
	}
}

@media (max-width: 980px)
{
	.home-intro
	{
		align-items: start;
		flex-direction: column;
		gap: 8px;
	}

	.intro-copy
	{
		max-width: 680px;
	}

	.game-grid
	{
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.game-layout
	{
		grid-template-columns: minmax(260px, .78fr) minmax(390px, 1.2fr);
	}

	.game-art-panel
	{
		min-height: 430px;
	}
}

@media (max-width: 760px)
{
	.header-inner
	{
		position: relative;
		min-height: 68px;
	}

	.brand
	{
		flex-basis: 228px;
	}

	.nav-toggle
	{
		display: block;
	}

	.site-nav
	{
		position: absolute;
		top: calc(100% + 1px);
		right: 0;
		display: none;
		width: min(320px, calc(100vw - 24px));
		align-items: stretch;
		border: 1px solid var(--line);
		border-radius: 0 0 2px 2px;
		background: #080809;
		box-shadow: var(--shadow);
		flex-direction: column;
		gap: 2px;
		padding: 10px;
	}

	.site-nav.is-open
	{
		display: flex;
	}

	.site-nav > a, .games-menu > summary
	{
		justify-content: space-between;
	}

	.games-menu-list
	{
		position: static;
		width: auto;
		margin: 4px 0 0 12px;
		border-color: rgba(255, 48, 48, .2);
		box-shadow: none;
	}

	.main-content
	{
		padding: 24px 0;
	}

	.game-layout
	{
		grid-template-columns: 1fr;
	}

	.game-art-panel
	{
		min-height: 320px;
	}

	.arcade-cabinet
	{
		width: min(100%, 320px);
	}

	.game-info-panel
	{
		padding: 28px;
	}

	.link-grid
	{
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.order-panel
	{
		padding: 22px 16px;
	}

	.order-table th, .order-table td
	{
		padding-right: 7px;
		padding-left: 7px;
	}

	.order-actions
	{
		align-items: stretch;
		flex-direction: column;
	}
}

@media (max-width: 560px)
{
	.header-inner, .main-content, .site-footer
	{
		width: min(calc(100% - 24px), var(--content));
	}

	.brand
	{
		flex-basis: 198px;
	}

	h1
	{
		font-size: 38px;
	}

	.game-grid
	{
		grid-template-columns: 1fr;
	}

	.game-card
	{
		min-height: 144px;
		grid-template-columns: 86px 1fr;
		padding: 14px;
	}

	.game-card img
	{
		width: 86px;
		height: 86px;
	}

	.game-info-panel
	{
		padding: 24px 20px;
	}

	.game-summary
	{
		font-size: 16px;
	}

	.screenshot-gallery
	{
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.link-grid
	{
		grid-template-columns: 1fr;
	}

	.order-table th:last-child, .order-table td:last-child
	{
		width: 74px;
	}

	.order-description
	{
		display: none;
	}

	.site-footer
	{
		align-items: start;
		justify-content: center;
		flex-direction: column;
		gap: 2px;
		padding: 14px 0;
	}
}

@media (prefers-reduced-motion: reduce)
{
	html
	{
		scroll-behavior: auto;
	}

	*, *::before, *::after
	{
		transition-duration: .01ms !important;
	}

	.home-intro h1::after
	{
		animation: none;
		opacity: 1;
	}
}

/* Community accounts and chat */

textarea
{
	font: inherit;
}

textarea:focus-visible
{
	outline: 3px solid var(--gold);
	outline-offset: 3px;
}

.nav-form
{
	margin: 0;
}

.nav-form button
{
	display: flex;
	min-height: 38px;
	align-items: center;
	border: 1px solid transparent;
	border-radius: 1px;
	background: transparent;
	color: var(--muted);
	cursor: pointer;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .12em;
	padding: 0 13px;
	text-transform: uppercase;
}

.nav-form button:hover
{
	border-color: var(--line);
	background: rgba(255, 48, 48, .1);
	color: #fff;
}

.community-main
{
	display: grid;
	align-content: center;
}

.community-card
{
	width: 100%;
	min-width: 0;
	border: 1px solid var(--line);
	border-radius: 2px;
	background: var(--panel);
	box-shadow: var(--shadow);
	padding: clamp(22px, 4vw, 42px);
}

.narrow-card
{
	max-width: 590px;
	margin: 0 auto;
}

.community-card h1, .community-card h2
{
	margin-top: 0;
}

.community-card h1
{
	margin-bottom: 12px;
}

.community-card h2
{
	color: #fff;
	font-size: clamp(24px, 3vw, 34px);
}

.community-card > p:not(.eyebrow, .form-alert, .status-chip)
{
	color: var(--muted);
}

.terminal-form
{
	display: grid;
	margin-top: 24px;
	gap: 8px;
}

.terminal-form label, .chat-composer > label
{
	margin-top: 8px;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.terminal-form input, .chat-composer textarea
{
	width: 100%;
	border: 1px solid rgba(255, 48, 48, .5);
	border-radius: 1px;
	background: #030304;
	color: #fff;
	padding: 12px 13px;
}

.terminal-form input::placeholder, .chat-composer textarea::placeholder
{
	color: #777;
}

.terminal-form input:focus, .chat-composer textarea:focus
{
	border-color: #fff;
}

.primary-button, .small-button, .primary-link, .secondary-link
{
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--cyan);
	border-radius: 1px;
	background: var(--cyan);
	color: #050506;
	cursor: pointer;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .11em;
	padding: 0 18px;
	text-decoration: none;
	text-transform: uppercase;
}

.primary-button
{
	margin-top: 12px;
}

.primary-button:hover, .primary-link:hover
{
	border-color: #fff;
	background: #fff;
}

.primary-button:disabled
{
	cursor: wait;
	opacity: .55;
}

.secondary-link
{
	border-color: var(--line);
	background: transparent;
	color: #fff;
}

.small-button
{
	min-height: 34px;
	background: rgba(255, 48, 48, .1);
	color: #fff;
	font-size: 10px;
	padding: 0 11px;
}

.small-button:hover, .secondary-link:hover
{
	background: rgba(255, 48, 48, .22);
}

.danger-button
{
	border-color: var(--danger);
}

.danger-button:hover
{
	border-color: #fff;
	background: var(--danger);
}

.form-actions
{
	display: flex;
	margin-top: 24px;
}

.form-alert
{
	border-left: 3px solid;
	background: rgba(255, 255, 255, .04);
	padding: 11px 13px;
}

.error-alert
{
	border-color: var(--danger);
	color: #ffb0b0;
}

.success-alert
{
	border-color: #fff;
	color: #fff;
}

.warning-alert
{
	border-color: var(--cyan);
	color: #ffd2d2;
}

.community-account-grid
{
	display: grid;
	grid-template-columns: minmax(260px, .72fr) minmax(420px, 1.28fr);
	align-items: start;
	gap: 22px;
}

.account-facts
{
	display: grid;
	margin: 24px 0;
	gap: 1px;
}

.account-facts div
{
	display: flex;
	justify-content: space-between;
	background: rgba(255, 48, 48, .055);
	padding: 10px 12px;
}

.account-facts dt
{
	color: var(--muted);
}

.account-facts dd
{
	margin: 0;
	color: #fff;
	font-weight: 800;
	text-transform: uppercase;
}

.community-heading-row
{
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 20px;
}

.status-chip
{
	flex: none;
	border: 1px solid var(--line);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .1em;
	padding: 7px 10px;
	text-transform: uppercase;
}

.temporary-password
{
	display: grid;
	margin: 20px 0;
	border: 1px solid #fff;
	background: rgba(255, 255, 255, .06);
	gap: 4px;
	padding: 14px;
}

.temporary-password span
{
	color: var(--muted);
}

.temporary-password code
{
	color: #fff;
	font-family: var(--display);
	font-size: clamp(18px, 3vw, 28px);
	letter-spacing: .08em;
	overflow-wrap: anywhere;
}

.table-scroll
{
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	border: 1px solid rgba(255, 48, 48, .22);
}

.account-table
{
	width: 100%;
	min-width: 1280px;
	border-collapse: collapse;
}

.account-table th, .account-table td
{
	border-bottom: 1px solid rgba(255, 48, 48, .18);
	padding: 10px 12px;
	text-align: left;
}

.account-table th
{
	color: #fff;
	font-size: 10px;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.account-table td
{
	color: #ccc;
	font-size: 13px;
}

.account-table tr:last-child td
{
	border-bottom: 0;
}

.account-table a
{
	color: #fff;
}

.account-actions
{
	display: flex;
	min-width: 260px;
	flex-wrap: wrap;
	gap: 6px;
}

.account-actions form
{
	margin: 0;
}

.muted-text
{
	color: var(--muted);
}

.chat-main
{
	align-content: start;
	padding-top: 22px;
	padding-bottom: 22px;
}

.chat-card
{
	display: grid;
	height: min(730px, calc(100dvh - 174px));
	min-height: 520px;
	grid-template-rows: auto auto minmax(220px, 1fr) auto;
	padding: 22px;
}

.chat-heading
{
	border-bottom: 1px solid rgba(255, 48, 48, .25);
	padding-bottom: 14px;
}

.chat-heading h1
{
	margin-bottom: 2px;
	font-size: clamp(30px, 4vw, 46px);
}

.chat-heading p:not(.eyebrow, .connection-status)
{
	margin: 0;
	color: var(--muted);
}

.connection-status
{
	display: flex;
	align-items: center;
	border: 1px solid rgba(255, 48, 48, .35);
	color: var(--muted);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .1em;
	padding: 7px 10px;
	text-transform: uppercase;
}

.connection-status span
{
	width: 8px;
	height: 8px;
	margin-right: 7px;
	border-radius: 50%;
	background: #777;
	box-shadow: 0 0 8px #777;
}

.connection-status.online
{
	color: #fff;
}

.connection-status.online span
{
	background: var(--cyan);
	box-shadow: 0 0 10px var(--cyan);
}

.chat-error
{
	margin: 12px 0 0;
}

.chat-feed
{
	min-height: 0;
	overflow-y: auto;
	margin: 14px 0;
	border: 1px solid rgba(255, 48, 48, .22);
	background: rgba(0, 0, 0, .48);
	overscroll-behavior: contain;
	padding: 12px;
	scrollbar-color: var(--cyan) #080809;
}

.chat-empty
{
	display: grid;
	height: 100%;
	min-height: 160px;
	place-content: center;
	color: var(--muted);
	text-align: center;
}

.chat-empty strong
{
	color: #fff;
	letter-spacing: .13em;
}

.chat-message
{
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr);
	margin-bottom: 8px;
	gap: 10px;
}

.chat-avatar
{
	display: grid;
	width: 38px;
	height: 38px;
	border: 1px solid var(--line);
	background: #0c0c0d;
	color: #fff;
	font-weight: 900;
	place-items: center;
}

.chat-message-body
{
	min-width: 0;
	border-left: 2px solid rgba(255, 48, 48, .35);
	background: rgba(255, 255, 255, .025);
	padding: 8px 11px;
}

.chat-message.own .chat-message-body
{
	border-left-color: #fff;
	background: rgba(255, 48, 48, .075);
}

.chat-message-meta
{
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.chat-message-meta strong
{
	color: var(--cyan);
	font-size: 13px;
}

.chat-message-meta time
{
	color: #777;
	font-size: 10px;
}

.chat-message-body p
{
	margin: 4px 0 0;
	color: #e9e9e5;
	overflow-wrap: anywhere;
	white-space: pre-wrap;
}

.chat-composer
{
	display: grid;
	gap: 7px;
}

.chat-composer textarea
{
	min-height: 78px;
	max-height: 170px;
	resize: vertical;
}

.emoji-row
{
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.emoji-row button
{
	width: 34px;
	height: 30px;
	border: 1px solid rgba(255, 48, 48, .25);
	background: #080809;
	color: #fff;
	cursor: pointer;
}

.emoji-row button:hover
{
	border-color: #fff;
	background: rgba(255, 48, 48, .14);
}

.chat-composer-row
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.chat-composer-row span
{
	color: var(--muted);
	font-size: 11px;
}

.chat-composer-row .primary-button
{
	margin: 0;
}

@media (max-width: 980px)
{
	.community-account-grid
	{
		grid-template-columns: 1fr;
	}

	.community-card
	{
		padding: 24px;
	}

	.nav-form button
	{
		justify-content: space-between;
	}
}

@media (max-width: 760px)
{
	.chat-card
	{
		height: auto;
		min-height: 0;
		padding: 16px;
	}

	.chat-feed
	{
		height: 52dvh;
		min-height: 300px;
	}

	.community-heading-row
	{
		align-items: stretch;
		flex-direction: column;
	}

	.connection-status, .status-chip
	{
		align-self: start;
	}

}

@media (max-width: 560px)
{
	.community-card
	{
		padding: 18px 14px;
	}

	.chat-message
	{
		grid-template-columns: 30px minmax(0, 1fr);
	}

	.chat-avatar
	{
		width: 30px;
		height: 30px;
	}

	.chat-message-meta
	{
		align-items: start;
		flex-direction: column;
		gap: 1px;
	}
}
