/* THUG Online, dressed as the game's main menu (the red "de" theme): graffiti bands, a blue alley panel framed by
   red rules, outlined menu text with a red selection, a grey description line and the <Up>/<Down> helper text. */

@import url("/assets/fonts/fonts.css?v=1077c8e920");

:root {
	--black: #050506;
	--band: #0b0a0b;
	--panel: #0f2a36;
	--panel-deep: #08151c;
	--navy: #0d1d2e;
	--navy-line: #2b4f73;
	--rule: #c9441f;
	--red: #e4361f;
	--red-dark: #8f1a10;
	--white: #f5f2ec;
	--grey: #8c8c8c;
	--grey-dim: #5e5e5e;
	--orange: #f2a21e;
	--yellow: #f2c630;
	--teal: #67c1d6;
	--green: #4cd964;
	--font-menu: "Anton", "Oswald", Impact, sans-serif;
	--font-title: "Saira", "Anton", Impact, sans-serif;
	--font-ui: "Oswald", "Arial Narrow", sans-serif;
	--font-body: "Barlow", system-ui, sans-serif;
	--font-tag: "Permanent Marker", "Comic Sans MS", cursive;
	--wrap: 1240px;
	--gutter: 24px;
	/* the game's text outline */
	--outline: 2px 0 0 #000, -2px 0 0 #000, 0 2px 0 #000, 0 -2px 0 #000, 2px 2px 0 #000, -2px 2px 0 #000, 2px -2px 0 #000, -2px -2px 0 #000;
	--outline-thick: 3px 0 0 #000, -3px 0 0 #000, 0 3px 0 #000, 0 -3px 0 #000, 3px 3px 0 #000, -3px 3px 0 #000, 3px -3px 0 #000, -3px -3px 0 #000, 0 6px 14px rgba(0, 0, 0, 0.6);
	color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--black); }

body {
	margin: 0;
	background: var(--black);
	color: var(--white);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	overflow-x: hidden;
}

a { color: var(--orange); text-underline-offset: 3px; }
a:hover { color: #ffd27a; }

img { max-width: 100%; }

.pixel { image-rendering: pixelated; image-rendering: crisp-edges; }

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }

.visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ================================================================ graffiti bands (the top and bottom of every screen) */

.band {
	position: relative;
	height: clamp(54px, 9vh, 96px);
	background:
		radial-gradient(120% 140% at 50% 120%, #161415, transparent 70%),
		var(--band);
	overflow: hidden;
}

.band::after {
	/* film grain */
	content: "";
	position: absolute;
	inset: 0;
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
	pointer-events: none;
}

.tag {
	position: absolute;
	font-family: var(--font-tag);
	color: #6a150d;
	line-height: 1;
	white-space: nowrap;
	opacity: 0.72;
	user-select: none;
	pointer-events: none;
}

.band-top .tag-1 { font-size: clamp(70px, 11vw, 150px); left: -1.5%; top: -38%; transform: rotate(-7deg); }
.band-top .tag-2 { font-size: clamp(50px, 7vw, 104px); right: 3%; top: -22%; transform: rotate(5deg); color: #4e100a; }
.band-top .tag-3 { font-size: clamp(36px, 4vw, 64px); left: 44%; bottom: -42%; transform: rotate(-3deg); color: #3a0d09; }
.band-bottom .tag-1 { font-size: clamp(60px, 9vw, 128px); right: -1%; bottom: -46%; transform: rotate(-5deg); }
.band-thin { height: clamp(40px, 6vh, 64px); }
.band-bottom .tag-2 { font-size: clamp(46px, 6vw, 92px); left: 2%; bottom: -30%; transform: rotate(4deg); color: #6f150d; }

/* ================================================================ the panel: alley, hatching, skyline, red rules */

.panel {
	position: relative;
	background: linear-gradient(180deg, #123544 0%, var(--panel) 45%, #0b2029 100%);
	border-top: 2px solid var(--rule);
	border-bottom: 2px solid var(--rule);
	box-shadow: 0 -6px 0 #000, 0 6px 0 #000, inset 0 0 120px rgba(0, 0, 0, 0.55);
	overflow: hidden;
	isolation: isolate;
}

.panel-art {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

.panel-art .hatch {
	position: absolute;
	inset: 0;
	background: url("/assets/img/mm-hatch.png") 0 0 / 128px 128px;
	opacity: 0.16;
	mix-blend-mode: screen;
}

.panel-art .alley {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: auto;
	max-width: none;
	opacity: 0.95;
	-webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 100%);
	mask-image: linear-gradient(90deg, #000 55%, transparent 100%);
}

.panel-art .skyline {
	/* just the rooftops: the rest of the sprite is a road */
	position: absolute;
	right: 0;
	top: 28%;
	width: 72%;
	height: 84px;
	background: url("/assets/img/mm-skyline.png") 0 0 / 256px 256px repeat-x;
	opacity: 0.6;
	mix-blend-mode: multiply;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 30%);
	mask-image: linear-gradient(90deg, transparent, #000 30%);
}

.panel-art .rays {
	position: absolute;
	width: 880px;
	height: 880px;
	left: 8%;
	top: 50%;
	margin-top: -440px;
	opacity: 0.09;
	mix-blend-mode: screen;
	animation: spin 140s linear infinite;
}

.panel-art .clouds {
	position: absolute;
	top: 4%;
	left: -30%;
	width: 60%;
	opacity: 0.16;
	mix-blend-mode: screen;
	animation: drift 70s linear infinite;
}

.panel-art .vignette {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.45)),
		radial-gradient(90% 70% at 55% 50%, transparent 40%, rgba(0, 0, 0, 0.45));
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { to { transform: translateX(260%); } }

/* ================================================================ text styles straight from the menus */

/* Screen titles: "MULTIPLAYER", "THUG ONLINE", "ACTIONS" */
.title {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	font-family: var(--font-title);
	font-style: italic;
	font-weight: 900;
	font-stretch: 125%;
	font-size: clamp(26px, 4.2vw, 54px);
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	color: var(--white);
	text-shadow: var(--outline-thick);
}

.title-icon {
	flex: 0 0 auto;
	width: clamp(40px, 5vw, 62px);
	height: clamp(40px, 5vw, 62px);
	border-radius: 50%;
	background: var(--yellow);
	box-shadow: 0 0 0 3px #000, 0 0 0 5px var(--yellow), 0 6px 14px rgba(0, 0, 0, 0.6);
	position: relative;
}

.title-icon::before {
	/* the sprite, painted black through a mask, on the yellow disc */
	content: "";
	position: absolute;
	inset: 12%;
	background: #111;
	-webkit-mask: var(--icon) center / contain no-repeat;
	mask: var(--icon) center / contain no-repeat;
}

/* Silhouettes only: a sprite on an opaque disc would mask to a solid blob */
.icon-online { --icon: url("/assets/img/icon-online.png"); }
.icon-players { --icon: url("/assets/img/icon-players.png"); }
.icon-pts { --icon: url("/assets/img/icon-pts.png"); }
.icon-star { --icon: url("/assets/img/star-red.png"); }
.icon-download { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='square'><path d='M12 3v12M6 10l6 6 6-6M4 21h16'/></svg>"); }
.icon-page { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linejoin='round'><path d='M6 2.5h8l4.5 4.5v14.5H6z'/><path d='M9.5 11h6M9.5 14.5h6M9.5 18h4'/></svg>"); }
.icon-camera { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linejoin='round'><path d='M3 7.5h4l2-3h6l2 3h4v12H3z'/><circle cx='12' cy='13' r='3.6'/></svg>"); }

/* The grey description line under the panel: "AND UNLOCK NEW LEVELS, TRICKS, AND FEATURES." */
.desc {
	margin: 0;
	padding: 18px 0 6px;
	font-family: var(--font-menu);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: clamp(15px, 1.9vw, 25px);
	line-height: 1.25;
	color: var(--grey);
	text-shadow: 0 2px 0 #000;
	text-align: center;
	min-height: 2.6em;
}

/* <Up>/<Down> = Select   <Enter> = Accept */
.helper {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 34px;
	margin: 0;
	padding: 4px 0 18px;
	font-family: var(--font-ui);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 14px;
	color: var(--grey);
}

.helper kbd { font-family: inherit; color: #c9c9c9; }
.helper a { color: inherit; text-decoration: none; }
.helper a:hover { color: var(--white); }

/* ================================================================ MAIN MENU */

.mainmenu { position: relative; }

.mainmenu .panel {
	min-height: clamp(460px, 66vh, 640px);
	display: flex;
}

.mm-grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	grid-template-rows: auto 1fr;
	column-gap: 40px;
	padding-top: clamp(26px, 4vh, 44px);
	padding-bottom: clamp(26px, 4vh, 44px);
	width: 100%;
}

.mm-logo {
	position: relative;
	grid-column: 1;
	grid-row: 1;
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	margin: 0 0 clamp(10px, 2vh, 24px);
	text-decoration: none;
	width: fit-content;
}

.mm-logo .star {
	position: absolute;
	width: clamp(64px, 7vw, 104px);
	height: auto;
	left: 42%;
	top: clamp(-50px, -4vw, -30px);
	transform: rotate(-8deg);
	filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.7));
	z-index: 0;
}

.mm-logo .logo {
	position: relative;
	display: block;
	width: clamp(260px, 34vw, 470px);
	height: auto;
	filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.75));
	z-index: 1;
}

.mm-logo .online {
	position: relative;
	z-index: 2;
	align-self: flex-end;
	margin-top: -4px;
	margin-right: 4%;
	font-family: var(--font-title);
	font-style: italic;
	font-weight: 900;
	font-stretch: 125%;
	font-size: clamp(20px, 2.3vw, 32px);
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--red);
	text-shadow: var(--outline-thick);
}

.mm-menu {
	grid-column: 1;
	grid-row: 2;
	justify-self: end;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0;
	padding-right: 2%;
}

.mm-item {
	display: block;
	padding: 1px 0;
	font-family: var(--font-menu);
	font-size: clamp(24px, 2.75vw, 38px);
	line-height: 1.08;
	letter-spacing: 0.025em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--white);
	text-shadow: var(--outline);
	background: none;
	border: 0;
	cursor: pointer;
	text-align: right;
	transition: color 0.08s, transform 0.12s ease-out;
}

.mm-item:hover,
.mm-item:focus-visible,
.mm-item.is-selected { color: var(--red); }

.mm-item.is-selected { transform: translateX(-6px); }

.mm-item:focus-visible { outline: none; }

/* The globe and satellite from the online menus, where the skater stands on the real main menu */
.mm-art {
	grid-column: 2;
	grid-row: 1 / span 2;
	position: relative;
	align-self: center;
	justify-self: center;
	width: min(100%, 520px);
	aspect-ratio: 1 / 1;
}

.mm-art .globe {
	position: absolute;
	inset: 10% 6% 2% 6%;
	width: 88%;
	height: auto;
	filter: drop-shadow(0 0 46px rgba(103, 193, 214, 0.32)) drop-shadow(0 18px 30px rgba(0, 0, 0, 0.6));
	animation: spin 120s linear infinite;
}

.mm-art .satellite {
	position: absolute;
	width: 66%;
	right: -10%;
	top: 0;
	transform: rotate(-22deg);
	filter: drop-shadow(8px 12px 0 rgba(0, 0, 0, 0.55));
	animation: bob 6s ease-in-out infinite;
}

.mm-art .beam {
	position: absolute;
	width: 38%;
	right: 26%;
	top: 24%;
	transform: rotate(152deg);
	opacity: 0.3;
	mix-blend-mode: screen;
	animation: pulse 3s ease-in-out infinite;
}

@keyframes bob {
	0%, 100% { transform: rotate(-22deg) translateY(0); }
	50% { transform: rotate(-19deg) translateY(12px); }
}

@keyframes pulse { 0%, 100% { opacity: 0.14; } 50% { opacity: 0.42; } }

/* Lobby-style status strip: "USERS : 1   GAMES : 1" */
.mm-status {
	position: absolute;
	right: var(--gutter);
	bottom: clamp(14px, 2.4vh, 26px);
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	margin: 0;
	font-family: var(--font-title);
	font-style: italic;
	font-weight: 900;
	font-stretch: 125%;
	font-size: clamp(14px, 1.3vw, 18px);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #cfd8dc;
	text-shadow: var(--outline);
}

.mm-status b { color: var(--white); font-weight: 900; }

/* ================================================================ screens (the sections) */

.screen { position: relative; margin-top: clamp(40px, 8vh, 90px); }

.screen-head {
	position: relative;
	background: var(--band);
	padding: clamp(16px, 2.6vh, 26px) 0;
	overflow: hidden;
}

.screen-head .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	position: relative;
	z-index: 1;
}

.screen-head .tag {
	font-size: clamp(60px, 9vw, 120px);
	right: 4%;
	top: -40%;
	transform: rotate(-6deg);
	color: #3c0e09;
}

.screen .panel { padding: clamp(28px, 5vh, 54px) 0; }

.screen .panel-art .alley { opacity: 0.35; }
.screen .panel-art .rays { left: auto; right: -12%; opacity: 0.06; }

.lead {
	max-width: 760px;
	margin: 0 0 26px;
	font-size: clamp(17px, 1.9vw, 20px);
	color: #d6e2e6;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.lead strong { color: var(--white); }

/* ================================================================ dialog boxes (MESSAGE, QUIT GAME, the downloads) */

.dialog {
	position: relative;
	background:
		repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 7px),
		linear-gradient(180deg, #13283d, var(--navy));
	border: 2px solid var(--navy-line);
	border-radius: 16px;
	box-shadow: 0 0 0 4px #000, 0 18px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
	padding: 22px 26px 22px;
	text-align: center;
}

.dialog-title {
	margin: 0 0 10px;
	font-family: var(--font-title);
	font-style: italic;
	font-weight: 900;
	font-stretch: 125%;
	font-size: clamp(22px, 2.4vw, 30px);
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--orange);
	text-shadow: var(--outline);
}

.dialog-text {
	margin: 0 0 16px;
	font-family: var(--font-menu);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: clamp(17px, 1.7vw, 21px);
	line-height: 1.4;
	color: var(--white);
	text-shadow: var(--outline);
}

.dialog-text code {
	font-family: inherit;
	color: var(--yellow);
}

.dialog-buttons {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
}

.dialog-button {
	font-family: var(--font-title);
	font-style: italic;
	font-weight: 900;
	font-stretch: 125%;
	font-size: clamp(18px, 1.8vw, 22px);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--white);
	text-shadow: var(--outline);
	text-decoration: none;
	background: none;
	border: 0;
	padding: 4px 14px;
	cursor: pointer;
	min-height: 44px;
}

.dialog-button:hover,
.dialog-button:focus-visible,
.dialog-button.is-selected { color: var(--orange); outline: none; }

/* ================================================================ THUG ONLINE: bring your own THUG */

.byot-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: 46px;
	align-items: start;
}

.steps {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: step;
}

.steps li {
	counter-increment: step;
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	column-gap: 14px;
	padding: 10px 0 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.steps li::before {
	content: "0" counter(step);
	grid-row: 1 / span 2;
	font-family: var(--font-title);
	font-style: italic;
	font-weight: 900;
	font-stretch: 125%;
	font-size: 40px;
	line-height: 1;
	color: var(--red);
	text-shadow: var(--outline);
}

.steps h3 {
	margin: 0;
	font-family: var(--font-menu);
	font-weight: 400;
	font-size: clamp(24px, 2.4vw, 32px);
	line-height: 1.05;
	text-transform: uppercase;
	color: var(--white);
	text-shadow: var(--outline);
}

.steps li:hover h3 { color: var(--red); }

.steps p { margin: 4px 0 0; color: #b9c8cd; font-size: 16px; }
.steps strong { color: var(--white); }

.byot-side { display: flex; flex-direction: column; gap: 22px; }

.tip {
	margin: 0;
	font-size: 15px;
	color: #b9c8cd;
	text-align: left;
}

.tip b { font-family: var(--font-tag); font-weight: 400; color: var(--yellow); margin-right: 6px; }

/* ================================================================ DOWNLOAD */

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

.dl {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	color: var(--white);
	min-height: 330px;
	transition: transform 0.14s ease-out, border-color 0.14s;
}

.dl .dialog-title { margin-bottom: 14px; transition: color 0.1s; }

.dl-glyph { width: 74px; height: 74px; color: var(--white); filter: drop-shadow(0 3px 0 #000); }
.dl-glyph svg { width: 100%; height: 100%; display: block; }

.dl-req {
	margin: 14px 0 0;
	font-family: var(--font-ui);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 13px;
	color: #9fb3c2;
}

.dl-size {
	margin: auto 0 4px;
	padding-top: 16px;
	font-family: var(--font-menu);
	font-size: 46px;
	line-height: 1;
	color: var(--white);
	text-shadow: var(--outline);
}

.dl-size small { font-size: 20px; letter-spacing: 0.08em; color: #cfd8dc; margin-left: 4px; }

.dl-go {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
}

.dl-go svg { width: 22px; height: 22px; filter: drop-shadow(0 2px 0 #000); }

a.dl:hover, a.dl:focus-visible {
	transform: translateY(-4px);
	border-color: var(--red);
	outline: none;
}

a.dl:hover .dialog-title, a.dl:focus-visible .dialog-title { color: var(--red); }
a.dl:hover .dl-go, a.dl:focus-visible .dl-go { color: var(--orange); }

.dl[aria-disabled="true"] { cursor: default; }
.dl[aria-disabled="true"] .dl-go { color: var(--grey-dim); }

.release-line {
	margin: 22px 0 0;
	font-family: var(--font-ui);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 14px;
	color: #9fb3c2;
	text-align: center;
}

.release-line a { color: var(--white); }

/* ================================================================ ACTIONS (the lobby) */

.gamespy {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	text-decoration: none;
	line-height: 1;
	flex-shrink: 0;
}

.gamespy img { width: 160px; height: 40px; display: block; }

.gamespy small {
	font-family: var(--font-tag);
	font-size: 12px;
	color: var(--grey);
	transform: rotate(-4deg);
	margin-top: 2px;
}

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

.lobby-col {
	background: rgba(4, 14, 22, 0.78);
	border: 2px solid #1f3a4a;
	box-shadow: 0 0 0 3px #000, inset 0 0 40px rgba(0, 0, 0, 0.5);
	min-height: 230px;
	display: flex;
	flex-direction: column;
}

.lobby-head {
	margin: 0;
	padding: 8px 14px 6px;
	background: linear-gradient(180deg, #24343e, #141e25);
	border-bottom: 2px solid #000;
	font-family: var(--font-title);
	font-style: italic;
	font-weight: 900;
	font-stretch: 125%;
	font-size: clamp(15px, 1.5vw, 20px);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #d7dde0;
	text-shadow: var(--outline);
	text-align: center;
}

.lobby-head b { color: var(--white); font-weight: 900; font-variant-numeric: tabular-nums; }

.lobby-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 18px 16px 20px;
	text-align: center;
}

.lobby-value {
	font-family: var(--font-menu);
	font-size: clamp(56px, 7vw, 92px);
	line-height: 1;
	color: var(--white);
	text-shadow: var(--outline-thick);
	font-variant-numeric: tabular-nums;
}

.lobby-label {
	font-family: var(--font-menu);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 18px;
	color: var(--red);
	text-shadow: var(--outline);
}

.lobby-note { margin: 0; font-size: 14px; color: #9fb3c2; }

.lobby-col img { width: 64px; height: 64px; }

.live {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 18px 0 0;
	font-family: var(--font-menu);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 17px;
	color: #cfd8dc;
	text-shadow: var(--outline);
}

.live::before {
	content: "";
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--grey-dim);
	box-shadow: 0 0 0 2px #000;
}

.live[data-state="up"]::before { background: var(--green); box-shadow: 0 0 0 2px #000, 0 0 12px var(--green); animation: blink 1.6s ease-in-out infinite; }
.live[data-state="down"]::before { background: var(--red); }

@keyframes blink { 50% { opacity: 0.35; } }

/* ================================================================ OPTIONS: what's inside */

.options {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 50px;
}

.options li {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	padding: 14px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.options img { width: 58px; height: 58px; filter: drop-shadow(0 3px 0 #000); }

.options h3 {
	margin: 0 0 2px;
	font-family: var(--font-menu);
	font-weight: 400;
	font-size: clamp(22px, 2.2vw, 28px);
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--white);
	text-shadow: var(--outline);
}

.options li:hover h3 { color: var(--red); }

.options p { margin: 0; color: #b9c8cd; font-size: 16px; }

/* ================================================================ REPLAY: screenshots */

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

.shot { margin: 0; }

.shot-frame {
	position: relative;
	border: 2px solid var(--rule);
	box-shadow: 0 0 0 4px #000, 0 14px 30px rgba(0, 0, 0, 0.6);
	background: #000;
	overflow: hidden;
}

.shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.3s ease-out; }
.shot:hover img { transform: scale(1.04); }

.shot figcaption {
	margin-top: 12px;
	font-family: var(--font-menu);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 18px;
	color: var(--white);
	text-shadow: var(--outline);
	text-align: center;
}

/* ================================================================ footer */

.site-foot { margin-top: clamp(50px, 9vh, 100px); }

.foot-panel {
	background: #070707;
	border-top: 2px solid var(--rule);
	box-shadow: 0 -6px 0 #000;
	padding: 34px 0 10px;
}

.foot-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)) auto;
	gap: 28px;
	align-items: start;
}

.foot-brand img { width: 220px; height: auto; display: block; }
.foot-brand p { margin: 12px 0 0; color: var(--grey); font-size: 14px; max-width: 360px; }

.foot-col h4 {
	margin: 0 0 10px;
	font-family: var(--font-title);
	font-style: italic;
	font-weight: 900;
	font-stretch: 125%;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--red);
	text-shadow: var(--outline);
}

.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin: 0 0 4px; }

.foot-col a {
	font-family: var(--font-menu);
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-size: 19px;
	color: var(--white);
	text-shadow: var(--outline);
	text-decoration: none;
}

.foot-col a:hover { color: var(--red); }

.foot-legal {
	margin: 26px 0 0;
	padding-top: 14px;
	border-top: 1px solid #1d1d1d;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	color: var(--grey-dim);
	font-size: 13px;
}

/* ================================================================ the QUIT dialog */

.quit {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--white);
	width: min(440px, calc(100vw - 32px));
	overflow: visible;
}

.quit::backdrop { background: rgba(0, 0, 0, 0.66); }

.quit .dialog { padding: 26px 26px 18px; }

/* ================================================================ terms */

.clauses {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: clause;
	max-width: 900px;
}

.clauses li {
	counter-increment: clause;
	display: grid;
	grid-template-columns: 70px minmax(0, 1fr);
	column-gap: 16px;
	padding: 16px 0 18px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.clauses li::before {
	content: counter(clause, decimal-leading-zero);
	grid-row: 1 / span 3;
	font-family: var(--font-title);
	font-style: italic;
	font-weight: 900;
	font-stretch: 125%;
	font-size: 40px;
	line-height: 1;
	color: var(--red);
	text-shadow: var(--outline);
}

.clauses h2 {
	margin: 0 0 6px;
	font-family: var(--font-menu);
	font-weight: 400;
	font-size: clamp(24px, 2.6vw, 32px);
	line-height: 1.05;
	text-transform: uppercase;
	color: var(--white);
	text-shadow: var(--outline);
}

.clauses li:hover h2 { color: var(--red); }
.clauses p { margin: 0 0 8px; color: #c3d0d4; }
.clauses p:last-child { margin-bottom: 0; }
.clauses strong { color: var(--white); }
.clauses .aside { font-family: var(--font-tag); color: var(--yellow); font-size: 15px; }

.stamp {
	display: inline-block;
	margin: 0 0 18px;
	font-family: var(--font-tag);
	font-size: 16px;
	color: #111;
	background: var(--yellow);
	padding: 2px 12px;
	transform: rotate(-3deg);
	box-shadow: 3px 3px 0 #000;
}

/* ================================================================ 404: the pause menu */

.paused .panel { min-height: clamp(420px, 62vh, 600px); display: flex; align-items: center; }

.paused-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
	width: 100%;
}

.paused-logo { width: clamp(260px, 36vw, 480px); height: auto; filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 14px rgba(255, 255, 255, 0.28)) drop-shadow(0 6px 10px rgba(0, 0, 0, 0.75)); }

.paused-code {
	margin: 6px 0 0;
	font-family: var(--font-title);
	font-style: italic;
	font-weight: 900;
	font-stretch: 125%;
	font-size: clamp(64px, 11vw, 150px);
	line-height: 0.9;
	color: var(--red);
	text-shadow: var(--outline-thick);
}

.paused .mm-menu { grid-column: auto; grid-row: auto; justify-self: start; align-items: flex-start; }
.paused .mm-item { text-align: left; }
.paused .mm-item.is-selected { transform: translateX(6px); }

/* ================================================================ responsive */

@media (max-width: 1020px) {
	.mm-grid { grid-template-columns: 1fr; grid-template-rows: auto auto; }
	.mm-logo { justify-self: center; }
	.mm-menu { justify-self: center; align-items: center; padding-right: 0; }
	.mm-item { text-align: center; }
	.mm-item.is-selected { transform: none; }
	.mm-art { position: absolute; right: -14%; top: 8%; width: 70%; opacity: 0.28; grid-column: 1; grid-row: 1 / span 2; }
	.mm-status { position: static; justify-content: center; margin-top: 18px; grid-column: 1; }
	.byot-grid { grid-template-columns: 1fr; }
	.downloads { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
	.dl { min-height: 0; }
	.lobby { grid-template-columns: 1fr; }
	.lobby-col { min-height: 0; }
	.options { grid-template-columns: 1fr; }
	.shots { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
	.foot-grid { grid-template-columns: 1fr 1fr; }
	.foot-brand { grid-column: 1 / -1; }
	.paused-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.paused .mm-menu { justify-self: center; align-items: center; }
	.paused .mm-item { text-align: center; }
}

@media (max-width: 640px) {
	:root { --gutter: 16px; }
	body { font-size: 16px; }
	.mm-item { font-size: 27px; line-height: 1.12; }
	.mm-logo .logo { width: min(300px, 82vw); }
	.mm-art { right: -30%; width: 100%; }
	.screen-head .wrap { flex-wrap: wrap; }
	.gamespy img { width: 128px; height: 32px; }
	.helper { gap: 2px 18px; font-size: 12px; }
	.helper .key-only { display: none; }
	.foot-grid { grid-template-columns: 1fr; }
	.clauses li, .steps li { grid-template-columns: 52px minmax(0, 1fr); }
	.clauses li::before, .steps li::before { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
}

/* A page that opens straight into a screen (terms) */
.band-top + main > .screen:first-child { margin-top: 0; }
