/* =====================================================================
   Blood Lust Roleplay — site design system (2026 redesign)
   Crime-file noir: ink black, bone, blood red. Condensed display type,
   mono labels, square edges. Shared by every page; page-specific bits
   live in each template's own <style>.
   ===================================================================== */
:root {
	/* colour */
	--void: #0b0909;
	--coal: #131010;
	--coal-2: #1a1112;
	--coal-3: #231a1b;
	--blood: #d0101f;
	--blood-deep: #8e0a15;
	--ember: #ff3b4a;
	--pink: #ff8a93;
	--bone: #efe6da;
	--bone-2: #cfc3ba;
	--ash: #b9aca4;
	--ash-2: #9c8f88;
	--ash-dim: #8a7d77;
	--line: rgba(239, 230, 218, 0.1);
	--line-2: rgba(239, 230, 218, 0.16);
	--line-3: rgba(239, 230, 218, 0.3);
	--line-blood: rgba(208, 16, 31, 0.45);
	--online: #37d67a;
	--warn: #e8a23b;
	--gold: #e2b04a;
	--emerald: #37d67a;
	--ruby: #e0325c;

	/* type */
	--f-display: 'Big Shoulders Display', 'Oswald', Impact, sans-serif;
	--f-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--f-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
	--text-2xs: 0.75rem;
	--text-xs: 0.8125rem;

	/* layout */
	--gutter: clamp(16px, 4vw, 56px);
	--wrap: 1328px;
	--nav-h: 84px;
	--section-y: clamp(80px, 11vw, 140px);
}

/* ---------- Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; scrollbar-gutter: stable; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
	font-family: var(--f-body);
	font-size: 16px;
	background: var(--void);
	color: var(--bone);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button { font-family: inherit; }
::selection { background: var(--blood); color: #fff; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

h1, h2, h3, .display {
	font-family: var(--f-display);
	font-weight: 900;
	text-transform: uppercase;
	line-height: 0.9;
	letter-spacing: -0.005em;
}
.accent { color: var(--blood); }
.mono { font-family: var(--f-mono); }

.eyebrow {
	font-family: var(--f-mono);
	font-size: var(--text-xs);
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--pink);
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
}
.label {
	font-family: var(--f-mono);
	font-size: var(--text-2xs);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ash-2);
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.65rem;
	min-height: 48px;
	padding: 0 1.4rem;
	font-family: var(--f-body); font-weight: 600; font-size: 0.95rem;
	border: 1px solid transparent; border-radius: 0;
	cursor: pointer; white-space: nowrap;
	transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--blood); color: #fff; }
.btn-primary:hover { background: var(--ember); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line-3); color: var(--bone); }
.btn-ghost:hover { border-color: var(--bone); color: #fff; background: rgba(239,230,218,0.04); }
.btn-light { background: transparent; border-color: var(--bone); color: var(--bone); }
.btn-light:hover { background: var(--bone); color: var(--void); }
.btn-danger { background: rgba(208,16,31,0.12); border-color: var(--line-blood); color: var(--ember); }
.btn-danger:hover { background: rgba(208,16,31,0.22); }
.btn-discord { background: #5865f2; color: #fff; }
.btn-discord:hover { background: #6d78f5; color: #fff; }
.btn-sm { min-height: 40px; padding: 0 1rem; font-size: 0.875rem; }
.btn-lg { min-height: 64px; padding: 0 1.9rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
	position: sticky; top: 0; z-index: 50;
	height: var(--nav-h);
	/* 3 fixed columns: the page links sit in the exact same spot on every page,
	   no matter what the left/right columns contain (cart on Shop, button elsewhere). */
	display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 1.5rem;
	padding: 0 var(--gutter);
	background: rgba(11, 9, 9, 0.9);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
	transition: background 0.25s;
}
.nav.scrolled { background: rgba(11, 9, 9, 0.97); }
.brand { display: flex; align-items: center; gap: 0.8rem; flex-shrink: 0; justify-self: start; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand-name {
	font-family: var(--f-display); font-weight: 900; font-size: 1.625rem;
	letter-spacing: 0.04em; text-transform: uppercase; line-height: 1; color: var(--bone);
}
.brand-name span { color: var(--blood); margin-left: 0.28em; }

.nav-links { display: flex; align-items: center; gap: 2.25rem; }
.nav-links .link, .nav-links .navlink {
	font-size: 0.9375rem; font-weight: 500; color: var(--bone);
	padding: 6px 0; transition: color 0.2s, box-shadow 0.2s;
}
.nav-links .link:hover, .nav-links .navlink:hover { color: var(--ember); }
.nav-links .link.active, .nav-links .navlink.active { color: #fff; box-shadow: inset 0 -2px 0 var(--blood); }
.nav-right { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; justify-self: end; }
.nav-status {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-family: var(--f-mono); font-size: var(--text-xs); color: var(--ash);
	white-space: nowrap;
}
.nav-cta { min-height: 44px; }
.nav-user { display: flex; align-items: center; gap: 0.6rem; font-size: 0.875rem; color: var(--ash); }
.nav-toggle {
	display: none;
	width: 44px; height: 44px;
	align-items: center; justify-content: center;
	background: transparent; border: 1px solid var(--line-2); color: var(--bone);
	font-size: 1.05rem; cursor: pointer;
}
.nav-mobile-only { display: none; }

/* live dot */
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ash-dim); flex-shrink: 0; display: inline-block; }
.dot.is-online { background: var(--online); box-shadow: 0 0 0 4px rgba(55,214,122,0.15); }
.dot.is-offline { background: var(--blood); }

/* ---------- Heroes (duotone photo) ---------- */
.hero, .page-hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-media, .hero-media > img, .hero-media > video {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-media { z-index: -3; }
.hero-media > img, .hero-media > video { filter: grayscale(1) contrast(1.25) brightness(0.62); }
.hero-tint { position: absolute; inset: 0; z-index: -2; background: var(--blood); mix-blend-mode: multiply; opacity: 0.85; }
.hero-shade {
	position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(0deg, var(--void) 0%, rgba(11,9,9,0) 28%),
		linear-gradient(90deg, var(--void) 0%, rgba(11,9,9,0.85) 38%, rgba(11,9,9,0.1) 78%);
}
.hero { min-height: min(780px, calc(100svh - var(--nav-h))); display: flex; align-items: center; }
.hero-inner { padding-block: clamp(64px, 9vw, 120px) clamp(64px, 8vw, 110px); display: flex; flex-direction: column; gap: 2rem; max-width: 1060px; }
.hero h1 { font-size: clamp(4rem, 11.5vw, 10.5rem); line-height: 0.84; }
.hero h1 .l2 { color: var(--blood); }
.hero-tag { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--bone-2); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 1rem; margin-top: 0.5rem; }
.hero-status {
	display: inline-flex; align-items: center; gap: 0.6rem; align-self: flex-start;
	font-family: var(--f-mono); font-size: var(--text-xs); color: var(--bone-2);
}
.hero-meta { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.meta-chip {
	display: inline-flex; align-items: center; gap: 0.5rem;
	height: 36px; padding: 0 0.9rem;
	border: 1px solid var(--line-2); background: rgba(11,9,9,0.5);
	font-family: var(--f-mono); font-size: var(--text-2xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ash);
}

.page-hero { min-height: clamp(380px, 40vw, 520px); display: flex; align-items: flex-end; }
.page-hero .hero-shade {
	background:
		linear-gradient(0deg, var(--void) 0%, rgba(11,9,9,0) 35%),
		linear-gradient(90deg, var(--void) 0%, rgba(11,9,9,0.88) 45%, rgba(11,9,9,0.2) 85%);
}
.page-hero-inner {
	width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto;
	padding-block: clamp(64px, 8vw, 96px) clamp(48px, 6vw, 72px);
	display: flex; flex-direction: column; gap: 1.6rem;
}
.page-hero h1 { font-size: clamp(3.5rem, 10vw, 9.4rem); line-height: 0.84; max-width: 12ch; }
.page-hero p, .page-hero .lead { font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.55; color: var(--bone-2); max-width: 600px; }
.page-hero .badge { align-self: flex-start; }

/* IP copy block */
.ip-pill {
	display: inline-flex; align-items: center; gap: 1.1rem;
	min-height: 64px; padding: 0 1.4rem;
	background: rgba(11,9,9,0.6); border: 1px solid var(--line-3); color: var(--bone);
	cursor: pointer; text-align: left; transition: border-color 0.2s;
}
.ip-pill:hover { border-color: var(--bone); }
.ip-pill .ip-label { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.16em; color: var(--ash); display: block; }
.ip-pill .ip-value { font-family: var(--f-mono); font-size: 1rem; font-weight: 500; display: block; }
.ip-pill .ic-check { display: none; color: var(--online); }
.ip-pill.copied .ic-copy { display: none; }
.ip-pill.copied .ic-check { display: inline; }

/* ---------- Ticker ---------- */
.ticker {
	background: var(--blood); color: var(--void);
	height: 58px; overflow: hidden; display: flex; align-items: center;
	font-family: var(--f-display); font-weight: 800; font-size: 1.5rem;
	letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
}
.ticker-track { display: flex; gap: 1.75rem; padding-left: 1.75rem; animation: ticker 40s linear infinite; }
.ticker-track span { flex-shrink: 0; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-tight { padding-block: calc(var(--section-y) * 0.6); }
.section-head {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem 3rem; flex-wrap: wrap;
	margin-bottom: clamp(32px, 4vw, 48px);
}
.section-head .sh-title { display: flex; flex-direction: column; gap: 1.2rem; }
.section-head h2 { font-size: clamp(3rem, 6.5vw, 5.5rem); }
.section-head p { font-size: 1.0625rem; line-height: 1.6; color: var(--ash); max-width: 440px; }
.section-head.stacked { flex-direction: column; align-items: flex-start; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }

/* ---------- Stats strip ---------- */
.stats-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.stats-strip .stat { padding: 2.25rem var(--gutter); display: flex; flex-direction: column; gap: 0.4rem; border-right: 1px solid var(--line); }
.stats-strip .stat:last-child { border-right: 0; }
.stats-strip .num { font-family: var(--f-display); font-weight: 900; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1; }

/* ---------- Bordered feature grid (letter-coded) ---------- */
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.fgrid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fgrid > * { padding: 1.6rem; border-bottom: 1px solid var(--line-2); border-right: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 0.5rem; }
.fgrid:not(.cols-3) > :nth-child(2n) { border-right: 0; padding-right: 0; }
.fgrid:not(.cols-3) > :nth-child(2n+1) { padding-left: 0; }
.fgrid.cols-3 > :nth-child(3n) { border-right: 0; padding-right: 0; }
.fgrid.cols-3 > :nth-child(3n+1) { padding-left: 0; }
.fgrid .fk { font-family: var(--f-mono); font-size: var(--text-xs); color: var(--blood); }
.fgrid h3 { font-family: var(--f-body); text-transform: none; font-weight: 600; font-size: 1.125rem; line-height: 1.3; letter-spacing: 0; }
.fgrid p { font-size: 0.95rem; line-height: 1.55; color: var(--ash-2); }

/* ---------- Framed screenshot ---------- */
.framed { position: relative; margin: 0 28px 28px 0; }
.framed::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--blood); z-index: 0; }
.framed > img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 980 / 660; box-shadow: 0 40px 80px rgba(0,0,0,0.6); }
.framed-bar {
	position: relative; z-index: 1; margin-top: -1px;
	min-height: 52px; padding: 0 1.1rem;
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	background: #151011; border: 1px solid var(--line);
	font-family: var(--f-mono); font-size: var(--text-2xs); color: var(--ash-2);
}
.framed-bar .ok { color: var(--online); }

/* ---------- Photo tiles ---------- */
.tile { position: relative; overflow: hidden; background: #151011; margin: 0; }
.tile > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.75) contrast(1.08); transition: transform 0.6s ease, filter 0.4s; }
.tile:hover > img { transform: scale(1.04); filter: saturate(0.95) contrast(1.08); }
.tile figcaption, .tile .cap {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: 1.4rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
	background: linear-gradient(0deg, rgba(11,9,9,0.92), rgba(11,9,9,0));
}
.tile .t-name { font-family: var(--f-display); font-weight: 900; font-size: clamp(1.6rem, 2.4vw, 2.75rem); text-transform: uppercase; line-height: 1; }
.tile .t-code { font-family: var(--f-mono); font-size: var(--text-2xs); color: var(--ash); }

/* ---------- Duotone split panel ---------- */
.split-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: #151011; border: 1px solid var(--line); }
.split-panel .sp-media { position: relative; min-height: 360px; overflow: hidden; }
.split-panel .sp-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.25) brightness(0.55); }
.split-panel .sp-media::after { content: ""; position: absolute; inset: 0; background: var(--blood); mix-blend-mode: multiply; opacity: 0.7; }
.split-panel .sp-body { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 1.4rem; }
.split-panel h2 { font-size: clamp(2.75rem, 5vw, 4.5rem); }
.split-panel p { font-size: 1.0625rem; line-height: 1.6; color: var(--ash); max-width: 460px; }

/* ---------- Boxed info row ---------- */
.info-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border: 1px solid var(--line); }
.info-row > * { padding: clamp(28px, 3.5vw, 48px); display: flex; flex-direction: column; gap: 0.8rem; border-right: 1px solid var(--line); }
.info-row > :last-child { border-right: 0; }
.info-row h3 { font-size: 2.1rem; line-height: 1; }
.info-row p { color: var(--ash); line-height: 1.6; }
.info-row .shade { background: #151011; }

/* ---------- Big CTA ---------- */
.cta-big { padding-block: clamp(100px, 13vw, 180px) clamp(90px, 11vw, 160px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2rem; }
.cta-big h2 { font-size: clamp(4rem, 14vw, 12.5rem); line-height: 0.82; }
.cta-big p { font-size: 1.2rem; line-height: 1.55; color: var(--ash); max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.text-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 1.75rem; font-family: var(--f-mono); font-size: var(--text-xs); letter-spacing: 0.12em; }
.text-links a:hover { color: var(--ember); }

/* ---------- Cards / panels (generic) ---------- */
.card { background: var(--coal); border: 1px solid var(--line); padding: clamp(1.5rem, 3vw, 2.25rem); }

/* ---------- Badges ---------- */
.badge {
	display: inline-flex; align-items: center; gap: 0.45rem;
	height: 30px; padding: 0 0.75rem;
	font-family: var(--f-mono); font-size: var(--text-2xs); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
	border: 1px solid var(--line-2); color: var(--pink); background: rgba(11,9,9,0.55);
}
.badge.draft { color: var(--ash); }
.badge.submitted { color: var(--online); border-color: rgba(55,214,122,0.35); }
.badge.locked { color: var(--warn); border-color: rgba(232,162,59,0.4); }

/* ---------- Modal (shared shell) ---------- */
.modal {
	position: fixed; inset: 0; z-index: 200;
	display: flex; align-items: center; justify-content: center;
	padding: 16px;
	background: rgba(6, 4, 4, 0.8); backdrop-filter: blur(4px);
	opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s;
}
.modal.active { opacity: 1; visibility: visible; }
.modal-content {
	position: relative; width: min(560px, 100%); max-height: calc(100svh - 32px); overflow-y: auto;
	background: var(--coal); border: 1px solid var(--line-2); border-top: 4px solid var(--blood);
	box-shadow: 0 40px 120px rgba(0,0,0,0.7);
	transform: translateY(12px); transition: transform 0.2s;
}
.modal.active .modal-content { transform: none; }
.modal-close {
	position: absolute; top: 14px; right: 14px; z-index: 2;
	width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
	background: var(--coal); border: 1px solid var(--line-2); color: var(--ash); cursor: pointer; font-size: 1rem;
}
.modal-close:hover { color: #fff; border-color: var(--bone); }

/* ---------- Long-form article (blog / updates / support) ---------- */
.article { padding-block: clamp(48px, 7vw, 96px) var(--section-y); }
.article-wrap { width: min(860px, 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; flex-direction: column; gap: clamp(48px, 6vw, 72px); }
.post-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-family: var(--f-mono); font-size: var(--text-xs); color: var(--ash); letter-spacing: 0.04em; }
.post-meta i { color: var(--blood); margin-right: 0.4rem; }
.article .intro, .article .intro-note { font-size: 1.15rem; line-height: 1.7; color: var(--bone-2); display: flex; flex-direction: column; gap: 1rem; }
.article strong { color: var(--bone); font-weight: 600; }
.update-section { display: flex; flex-direction: column; gap: 1.4rem; counter-increment: usec; }
.article-wrap { counter-reset: usec; }
.section-title {
	font-size: clamp(2.2rem, 4.5vw, 3.4rem);
	display: flex; flex-direction: column; gap: 0.7rem;
	padding-bottom: 1.1rem; border-bottom: 1px solid var(--line-2);
}
.update-section .section-title::before {
	content: counter(usec, decimal-leading-zero) " /";
	font-family: var(--f-mono); font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.18em; color: var(--pink);
}
.update-list { list-style: none; display: flex; flex-direction: column; }
.update-list > li { position: relative; padding: 0.85rem 0 0.85rem 1.75rem; border-bottom: 1px solid var(--line); color: var(--bone-2); line-height: 1.6; }
.update-list > li::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: 8px; height: 8px; background: var(--blood); }
.update-list ul { list-style: none; margin-top: 0.6rem; display: flex; flex-direction: column; gap: 0.4rem; }
.update-list ul li { position: relative; padding-left: 1.2rem; color: var(--ash); }
.update-list ul li::before { content: "—"; position: absolute; left: 0; color: var(--ash-dim); }
.section-image { border: 1px solid var(--line); background: #151011; }
.section-image img { width: 100%; height: auto; }
.blog-text { display: flex; flex-direction: column; gap: 1rem; color: var(--bone-2); line-height: 1.7; font-size: 1.05rem; }
.highlight {
	font-family: var(--f-mono); font-size: 0.88em;
	padding: 0.1em 0.45em; margin: 0 0.1em;
	background: rgba(208,16,31,0.14); border: 1px solid rgba(208,16,31,0.35); color: #ffc2c7;
	white-space: nowrap;
}
.callout {
	padding: clamp(24px, 3.5vw, 40px);
	background: #151011; border: 1px solid var(--line); border-left: 0;
	box-shadow: inset 0 4px 0 var(--blood);
	display: flex; flex-direction: column; gap: 0.9rem; color: var(--bone-2); line-height: 1.65;
}
.callout-title { font-family: var(--f-display); font-weight: 900; font-size: 2rem; text-transform: uppercase; line-height: 1; color: var(--bone); display: flex; align-items: center; gap: 0.7rem; }
.callout-title i { color: var(--blood); font-size: 0.7em; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: clamp(40px, 5vw, 56px) 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-brand .brand img { width: 44px; height: 44px; }
.footer-brand .brand-name { font-size: 1.5rem; }
.footer-brand p { color: var(--ash-2); font-size: 0.95rem; line-height: 1.6; max-width: 400px; }
.footer h4 {
	font-family: var(--f-mono); font-size: var(--text-2xs); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
	color: var(--ash-2); margin-bottom: 0.9rem;
}
.footer-col { display: flex; flex-direction: column; align-items: flex-start; }
.footer-col a:not(.soc) { font-size: 0.95rem; padding: 0.35rem 0; color: var(--bone); transition: color 0.2s; }
.footer-col a:not(.soc):hover { color: var(--ember); }
.footer-ip {
	background: transparent;
	display: inline-flex; align-items: center; gap: 0.7rem;
	min-height: 44px; padding: 0 0.9rem; margin-bottom: 0.6rem;
	font-family: var(--f-mono); font-size: 0.875rem; color: var(--bone);
	border: 1px solid var(--line-2); cursor: pointer; transition: border-color 0.2s;
}
.footer-ip:hover { border-color: var(--bone); }
.footer-ip i { color: var(--blood); }
.socials { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.soc {
	width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
	border: 1px solid var(--line-2); color: var(--ash); font-size: 1.05rem; transition: color 0.2s, border-color 0.2s;
}
.soc:hover { color: #fff; border-color: var(--bone); }
.footer-bottom {
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 2rem;
	padding-top: 1.5rem; border-top: 1px solid var(--line);
	font-size: 0.8125rem; color: var(--ash-dim);
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
	.ticker-track { animation: none; }
	html { scroll-behavior: auto; }
}

/* ---------- Responsive: shared ---------- */
@media (max-width: 1180px) {
	.nav-links { gap: 1.4rem; }
	.nav-status { display: none; }
}
@media (max-width: 980px) {
	:root { --nav-h: 68px; }
	.brand img { width: 42px; height: 42px; }
	.brand-name { font-size: 1.35rem; }
	.nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--void); grid-template-columns: minmax(0, 1fr) auto; }
	.nav-toggle { display: inline-flex; }
	.nav-right .nav-cta { display: none; }
	.nav-links {
		position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
		flex-direction: column; align-items: stretch; gap: 0;
		padding: 1rem var(--gutter) 2rem;
		background: var(--void); border-top: 1px solid var(--line);
		transform: translateX(100%); visibility: hidden; transition: transform 0.25s, visibility 0.25s;
		overflow-y: auto;
	}
	.nav-links.open { transform: none; visibility: visible; }
	.nav-links .link, .nav-links .navlink {
		font-family: var(--f-display); font-weight: 900; font-size: 2.4rem; text-transform: uppercase; line-height: 1;
		padding: 1rem 0; border-bottom: 1px solid var(--line);
	}
	.nav-links .link.active, .nav-links .navlink.active { box-shadow: none; color: var(--blood); }
	.nav-mobile-only { display: flex; margin-top: 1.5rem; }
	.stats-strip { grid-template-columns: 1fr; }
	.stats-strip .stat { border-right: 0; border-bottom: 1px solid var(--line); padding-block: 1.5rem; }
	.stats-strip .stat:last-child { border-bottom: 0; }
	.split-panel { grid-template-columns: 1fr; }
	.split-panel .sp-media { min-height: 220px; }
	.fgrid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fgrid.cols-3 > * { padding: 1.6rem !important; border-right: 1px solid var(--line-2) !important; }
	.fgrid.cols-3 > :nth-child(2n) { border-right: 0 !important; padding-right: 0 !important; }
	.fgrid.cols-3 > :nth-child(2n+1) { padding-left: 0 !important; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
	.info-row > * { border-right: 0; border-bottom: 1px solid var(--line); }
	.info-row > :last-child { border-bottom: 0; }
}
@media (max-width: 640px) {
	.section-head { align-items: flex-start; flex-direction: column; }
	.fgrid, .fgrid.cols-3 { grid-template-columns: 1fr; }
	.fgrid > *, .fgrid.cols-3 > * { padding: 1.2rem 0 !important; border-right: 0 !important; }
	.hero-actions > *, .hero-actions .btn, .hero-actions .ip-pill { width: 100%; }
	.hero-actions .ip-pill { justify-content: space-between; }
	.cta-actions { flex-direction: column; align-self: stretch; }
	.cta-actions .btn { width: 100%; }
	.ticker { height: 44px; font-size: 1.125rem; }
	.framed { margin: 0 14px 14px 0; }
	.framed::before { inset: 14px -14px -14px 14px; }
	.footer-grid { grid-template-columns: 1fr; gap: 2rem; }
	.footer-bottom { flex-direction: column; }
	.highlight { white-space: normal; }
}

/* =====================================================================
   Gang applications (wizard, pickers, forms) — restyled, same classes
   ===================================================================== */
.page { padding: clamp(48px, 7vw, 88px) 0 var(--section-y); min-height: 60vh; }
.page-head { margin-bottom: 2.5rem; max-width: 70ch; display: flex; flex-direction: column; gap: 1rem; }
.page-head h1 { font-size: clamp(3rem, 8vw, 6rem); line-height: 0.86; }
.page-head p { color: var(--ash); font-size: 1.05rem; }

.field { margin-bottom: 1.4rem; }
.field label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--bone); margin-bottom: 0.5rem; }
.field .hint { color: var(--ash-2); font-size: 0.8125rem; margin-top: 0.4rem; }
.field .error { color: var(--ember); font-size: 0.8125rem; margin-top: 0.4rem; }
input[type=text], input[type=email], input[type=number], input[type=color], input[type=file], input[type=search], input[type=password], textarea, select {
	width: 100%;
	background: var(--void);
	border: 1px solid var(--line-2);
	color: var(--bone);
	border-radius: 0;
	padding: 0.75rem 0.9rem;
	min-height: 46px;
	font-family: inherit;
	font-size: 0.95rem;
	transition: border-color 0.2s;
}
input:focus, textarea:focus, select:focus { border-color: var(--blood); outline: none; }
textarea { resize: vertical; min-height: 10rem; font-family: var(--f-mono); font-size: 0.875rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 680px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.stepper { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 2rem; border: 1px solid var(--line); }
.stepper .s {
	font-family: var(--f-mono); font-size: var(--text-2xs); letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--ash-dim); padding: 0.85rem 1rem; border-right: 1px solid var(--line);
	transition: color 0.2s, background 0.2s;
}
.stepper a.s:hover { color: var(--bone); background: rgba(239,230,218,0.04); }
.stepper .s.current { color: #fff; background: var(--blood); }
.stepper .s.done { color: var(--online); }
.stepper a.s.done:hover { background: rgba(55,214,122,0.08); }

.wizard-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; gap: 1rem; flex-wrap: wrap; }

.dropzone {
	position: relative;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem;
	text-align: center;
	border: 1px dashed var(--line-3);
	padding: clamp(1.75rem, 4vw, 2.75rem) 1.5rem;
	background: var(--void);
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
}
.dropzone:hover, .dropzone:focus-visible { border-color: var(--bone); }
.dropzone.dragover { border-color: var(--blood); background: rgba(208,16,31,0.1); }
.dropzone input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone .dz-icon {
	width: 52px; height: 52px; display: grid; place-items: center;
	border: 1px solid var(--blood); color: var(--blood); font-size: 1.3rem;
}
.dropzone .dz-title { font-weight: 600; color: var(--bone); }
.dropzone .dz-hint { color: var(--ash-2); font-size: 0.8125rem; }
.dropzone .dz-browse { color: var(--ember); text-decoration: underline; }

.thumb-grid { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.thumb-grid .thumb { position: relative; width: 120px; }
.thumb-grid .thumb img { width: 120px; height: 90px; object-fit: cover; border: 1px solid var(--line-2); background: var(--coal); }
.thumb-grid .thumb.img-missing img { display: none; }
.thumb-grid .thumb.img-missing { width: auto; }
.thumb-grid .thumb .thumb-remove { display: flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; color: var(--ash); margin-top: 0.35rem; cursor: pointer; }
.thumb-grid .thumb .thumb-remove:hover { color: var(--ember); }
.thumb-grid .thumb .thumb-pending {
	position: absolute; top: 4px; right: 4px; background: rgba(11,9,9,0.85); color: var(--online);
	font-size: 0.65rem; padding: 0.15rem 0.4rem; font-family: var(--f-mono);
}

.item-slots { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.4rem; }
.item-slot {
	display: flex; flex-direction: column; align-items: flex-start; gap: 0.2rem; min-width: 92px;
	background: var(--void); border: 1px solid var(--line-2);
	padding: 0.55rem 0.8rem; cursor: pointer; font-family: inherit; color: var(--bone);
	transition: border-color 0.2s, background 0.2s;
}
.item-slot:hover { border-color: var(--bone); }
.item-slot.active { border-color: var(--blood); background: rgba(208,16,31,0.14); }
.item-slot-label { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ash-2); }
.item-slot-value { font-family: var(--f-mono); font-size: 1rem; color: var(--bone); }
.item-slot.active .item-slot-value { color: var(--ember); }

.item-picker-wrap { border: 1px solid var(--line); padding: 1rem; background: var(--void); }
.item-toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-bottom: 0.9rem; }
.item-search { flex: 1; min-width: 200px; }
.item-search input { width: 100%; }
.item-cols-control { display: flex; align-items: center; gap: 0.6rem; font-size: 0.8rem; color: var(--ash); white-space: nowrap; }
.item-cols-control input[type=range] { width: 120px; accent-color: var(--blood); }
.item-cols-control .item-cols-value { font-family: var(--f-mono); color: var(--bone); min-width: 1.2em; text-align: center; }
.item-grid {
	display: grid; grid-template-columns: repeat(var(--cols, 6), 1fr); gap: 0.5rem;
	max-height: 420px; overflow-y: auto; padding-right: 0.3rem;
	scrollbar-width: thin; scrollbar-color: var(--blood-deep) transparent;
}
.item-grid::-webkit-scrollbar, .car-color-groups::-webkit-scrollbar { width: 8px; }
.item-grid::-webkit-scrollbar-track, .car-color-groups::-webkit-scrollbar-track { background: transparent; }
.item-grid::-webkit-scrollbar-thumb, .car-color-groups::-webkit-scrollbar-thumb { background: var(--blood-deep); }
.item-chip {
	display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
	padding: 0.5rem; border: 1px solid var(--line); background: rgba(55,214,122,0.04);
	cursor: pointer; text-align: center; transition: border-color 0.15s, background 0.15s;
}
.item-chip img { width: 100%; aspect-ratio: 1; object-fit: contain; background: rgba(0,0,0,0.3); }
.item-chip-cap { font-family: var(--f-mono); font-size: 0.72rem; color: var(--online); word-break: break-word; }
.item-chip:hover { border-color: var(--online); }
.item-chip.taken { cursor: not-allowed; background: rgba(208,16,31,0.14); border-color: var(--line-blood); }
.item-chip.taken .item-chip-cap { color: var(--ember); }
.item-chip.taken img { filter: grayscale(0.6) brightness(0.75); }
.item-chip.taken:hover { border-color: var(--line-blood); }
.item-chip.selected { background: rgba(232,162,59,0.16); border-color: var(--warn); }
.item-chip.selected .item-chip-cap { color: var(--bone); font-weight: 700; }
.item-legend { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 0.8rem; font-size: 0.78rem; color: var(--ash); }
.item-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.item-legend .dot { width: 10px; height: 10px; border-radius: 0; box-shadow: none; }
.item-legend .dot.free { background: var(--online); }
.item-legend .dot.taken { background: var(--blood); }
.item-legend .dot.selected { background: var(--warn); }

.car-color-toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-bottom: 0.8rem; }
.car-color-selected {
	display: flex; align-items: center; gap: 0.6rem;
	border: 1px solid var(--line-2); padding: 0.5rem 0.8rem;
	background: var(--void); font-family: var(--f-mono); font-size: 0.85rem; color: var(--bone);
}
.car-color-swatch { display: inline-block; width: 22px; height: 22px; border: 1px solid var(--line-2); flex-shrink: 0; }
#carColorSearch { flex: 1; min-width: 200px; }
.car-color-groups {
	max-height: 420px; overflow-y: auto; border: 1px solid var(--line); padding: 1rem; background: var(--void);
	scrollbar-width: thin; scrollbar-color: var(--blood-deep) transparent;
}
.car-color-group { margin-bottom: 1rem; }
.car-color-group:last-child { margin-bottom: 0; }
.car-color-group-title { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ash-2); margin-bottom: 0.5rem; }
.car-color-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(28px, 1fr)); gap: 0.4rem; }
.car-color-swatch-btn { width: 100%; aspect-ratio: 1; border: 2px solid var(--line); cursor: pointer; padding: 0; transition: border-color 0.15s; }
.car-color-swatch-btn:hover { border-color: var(--online); }
.car-color-swatch-btn.selected { border-color: var(--warn); box-shadow: 0 0 0 2px rgba(232,162,59,0.4); }

.flash { padding: 0.9rem 1.1rem; margin-bottom: 1.5rem; font-size: 0.9rem; border: 1px solid var(--line-2); }
.flash.error { background: rgba(208,16,31,0.12); border-color: var(--line-blood); color: var(--bone); }
.flash.success { background: rgba(55,214,122,0.1); border-color: rgba(55,214,122,0.35); color: var(--bone); }

.app-list { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.app-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.2rem 0; border-bottom: 1px solid var(--line-2); }
.app-row .name { font-weight: 600; font-size: 1.1rem; }
.app-row .meta { color: var(--ash-2); font-size: 0.85rem; font-family: var(--f-mono); }
