/* =====================================================================
   LIFEAFTER — design system
   Black-first monochrome. Display: Tungsten.
   ===================================================================== */

/* Tungsten Bold (Hoefler&Co). Serving it publicly needs a Hoefler *webfont* licence.
   It's the only weight, so it covers 600–900 to stop browsers faking a heavier bold. */
@font-face {
  font-family: "Tungsten";
  src: url("../fonts/Tungsten-Bold.ttf") format("truetype");
  font-weight: 600 900; font-style: normal; font-display: swap;
}

:root {
  --bg: #050505;
  --bg-2: #0a0a0b;
  --surface: #0f0f11;
  --surface-2: #151517;
  --surface-3: #1c1c1f;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --line-3: rgba(255, 255, 255, .26);
  --text: #f4f4f3;
  --text-2: #b9b9bd;
  --muted: #76767c;
  --white: #ffffff;
  --ink: #050505;
  --ok: #4ade80;
  --danger: #ff5a5a;

  --font-display: "Tungsten", "Tungsten Bold", "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --container: 1360px;
  --gutter: clamp(16px, 4vw, 44px);
  --nav-h: 68px;
  --radius: 3px;
  --chamfer: 12px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.7, 0, .2, 1);
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 15px/1.6 var(--font-body); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--white); color: var(--ink); }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 999; background: var(--white); color: var(--ink); padding: 10px 14px; font-weight: 600; }
.skip:focus { top: 16px; }

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #232326; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #333337; }

/* ---------- type ---------- */
.display, h1, h2, h3 {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  line-height: .9; letter-spacing: .005em; margin: 0;
}
h1 { font-size: clamp(56px, 9vw, 132px); }
h2 { font-size: clamp(44px, 6vw, 88px); }
h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: .95; }
p { margin: 0; }
.kicker {
  font: 500 11.5px/1 var(--font-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.kicker.no-line::before { display: none; }
.lede { color: var(--text-2); font-size: clamp(15px, 1.25vw, 17px); max-width: 60ch; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.outline-text { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .55); }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(48px, 6vw, 88px) 0; position: relative; }
.section.tight { padding: clamp(32px, 4vw, 56px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(24px, 3vw, 40px); flex-wrap: wrap; }
.section-head .stack { display: grid; gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; white-space: nowrap;
  font: 600 13px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--line-2); color: var(--text); background: transparent;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  position: relative; isolation: isolate;
}
.btn:hover { border-color: var(--line-3); background: rgba(255, 255, 255, .04); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary {
  background: var(--white); color: var(--ink); border-color: var(--white);
  clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, var(--chamfer) 100%, 0 calc(100% - var(--chamfer)));
}
.btn-primary:hover { background: #e2e2e2; border-color: #e2e2e2; }
.btn-dark { background: var(--surface-2); border-color: var(--line-2); }
.btn-sm { --h: 38px; padding: 0 14px; font-size: 11.5px; }
.btn-lg { --h: 58px; padding: 0 30px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-icon { width: var(--h); padding: 0; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--text); padding: 8px 0; border-bottom: 1px solid var(--line-3); transition: gap .3s var(--ease), border-color .3s; }
.link-arrow:hover { gap: 16px; border-color: var(--white); }
.link-arrow svg { width: 15px; height: 15px; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 10px;
  font: 500 10.5px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--line-2); color: var(--text-2); background: rgba(0, 0, 0, .4);
}
.chip.solid { background: var(--white); color: var(--ink); border-color: var(--white); }
.chip svg { width: 12px; height: 12px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex: none; }
.dot.live { background: var(--ok); box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); } 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }

/* ---------- banner ---------- */
.banner {
  position: relative; overflow: hidden; background: #000;
  min-height: var(--banner-h, 46vh); display: flex; align-items: flex-end;
  border-bottom: 1px solid var(--line);
}
body[data-page="home"] .banner { --banner-h: min(86vh, 900px); }
.banner-art { position: absolute; inset: -4%; background-size: cover; background-position: center; transform: scale(1.04); animation: drift 40s ease-in-out infinite alternate; will-change: transform; }
@keyframes drift { to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }
.banner::before { /* vignette + bottom fade */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, .55) 0%, rgba(5, 5, 5, 0) 26%, rgba(5, 5, 5, 0) 50%, rgba(5, 5, 5, .92) 100%),
    radial-gradient(ellipse at 30% 60%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .55) 100%);
}
.banner::after { /* scanlines */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .35;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px);
}
.banner-hud { position: absolute; inset: 0; z-index: 2; pointer-events: none; padding: 22px var(--gutter); display: flex; justify-content: space-between; font: 500 10.5px/1.7 var(--font-mono); letter-spacing: .2em; color: rgba(255, 255, 255, .45); text-transform: uppercase; }
.banner-hud .r { text-align: right; }
.banner-hud .rec { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .75); }
.banner-hud .rec i { width: 6px; height: 6px; background: var(--white); border-radius: 50%; animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.banner-inner { position: relative; z-index: 3; width: 100%; padding-top: 120px; padding-bottom: clamp(36px, 5vw, 64px); }
.banner-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.wordmark {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(84px, 17vw, 280px); line-height: .78; letter-spacing: -.005em; margin: 18px 0 22px -.04em;
  background: linear-gradient(180deg, #fff 0%, #fff 55%, #8d8d92 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wordmark.is-img { background: none; margin: 26px 0 26px; line-height: 0; }
.wordmark.is-img img { width: clamp(280px, 54vw, 860px); height: auto; filter: drop-shadow(0 24px 60px rgba(0, 0, 0, .6)); }
.banner-mark { position: absolute; z-index: 2; right: var(--gutter); top: 50%; height: 118%; width: auto; transform: translateY(-46%); opacity: .16; pointer-events: none; }
.banner .page-title { font-size: clamp(64px, 10vw, 150px); line-height: .82; margin: 16px 0 18px -.03em; }
.banner .tagline { color: var(--text-2); font-size: clamp(15px, 1.4vw, 19px); max-width: 52ch; }
.banner-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.status-card {
  width: 320px; background: rgba(10, 10, 11, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-2); padding: 18px 18px 16px;
}
.status-card .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.status-card .row:last-of-type { border-bottom: 0; }
.status-card .row b { font: 600 13px/1 var(--font-mono); }
.status-card .lbl { display: flex; align-items: center; gap: 10px; color: var(--text-2); }
.status-card .ipline { display: flex; gap: 8px; margin-top: 12px; }
.status-card .ipline code { flex: 1; display: flex; align-items: center; padding: 0 12px; height: 38px; background: #000; border: 1px solid var(--line-2); font: 500 13px/1 var(--font-mono); }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; z-index: 3; transform: translateX(-50%); width: 1px; height: 46px; background: linear-gradient(var(--white), transparent); opacity: .5; animation: cue 2.2s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: translateX(-50%) scaleY(0); transform-origin: top; } 50% { transform: translateX(-50%) scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: translateX(-50%) scaleY(0); transform-origin: bottom; } }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 80; height: var(--nav-h);
  background: rgba(5, 5, 5, .82); backdrop-filter: saturate(140%) blur(16px); -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav .container { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark {
  width: 36px; height: 36px; display: grid; place-items: center; background: var(--white); color: var(--ink);
  font: 900 19px/1 var(--font-display); letter-spacing: .02em;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-mark.is-img { display: block; width: auto; height: auto; background: none; clip-path: none; }
.brand-mark.is-img img { display: block; width: auto; height: 40px; max-width: none; }
.brand-name { font: 800 26px/1 var(--font-display); text-transform: uppercase; letter-spacing: .06em; padding-top: 2px; }
.footer .brand-name { font-size: 34px; }
.brand-word { display: block; height: 22px; width: auto; max-width: none; }
.footer .brand-word { height: 30px; }
.footer .brand-mark.is-img img { height: 56px; }
.nav-links { display: flex; align-items: stretch; height: 100%; margin: 0 auto; }
.nav-links a {
  position: relative; display: flex; align-items: center; gap: 9px; padding: 0 clamp(12px, 1.6vw, 22px);
  font: 600 12.5px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2);
  transition: color .2s;
}
.nav-links a span { font: 500 10px/1 var(--font-mono); color: var(--muted); letter-spacing: .05em; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: clamp(12px, 1.6vw, 22px); right: clamp(12px, 1.6vw, 22px); bottom: -1px; height: 2px; background: var(--white); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover span, .nav-links a.active span { color: var(--text-2); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-discord { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border: 1px solid var(--line-2); font: 600 12px/1 var(--font-body); letter-spacing: .06em; transition: border-color .2s, background .2s; }
.nav-discord:hover { border-color: var(--line-3); background: rgba(255, 255, 255, .04); }
.nav-discord svg { width: 18px; height: 18px; }
.nav-discord .count { font: 500 11px/1 var(--font-mono); color: var(--text-2); display: inline-flex; align-items: center; gap: 6px; }
.cart-btn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; background: var(--white); color: var(--ink); clip-path: polygon(0 0, 100% 0, 100% 75%, 75% 100%, 0 100%); }
.cart-btn svg { width: 18px; height: 18px; }
.cart-count { position: absolute; top: 3px; right: 3px; min-width: 15px; height: 15px; padding: 0 3px; display: grid; place-items: center; background: var(--ink); color: var(--white); font: 700 9.5px/1 var(--font-mono); border-radius: 8px; transform: scale(0); transition: transform .3s var(--ease); }
.cart-count.show { transform: scale(1); }
.cart-btn.bump { animation: bump .45s var(--ease); }
@keyframes bump { 30% { transform: scale(1.14); } }
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line-2); place-items: center; }
.burger i, .burger i::before, .burger i::after { display: block; width: 16px; height: 1.5px; background: var(--white); position: relative; transition: transform .3s var(--ease), background .2s; }
.burger i::before, .burger i::after { content: ""; position: absolute; left: 0; }
.burger i::before { top: -5px; } .burger i::after { top: 5px; }
.mobile-menu { display: none; }

/* ---------- marquee ---------- */
/* slim ticker — reads as a page divider */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg); user-select: none;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 22px; padding: 11px 22px 11px 0; font: 500 10.5px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .24em; white-space: nowrap; color: var(--muted); }
.marquee-item:nth-child(odd) { color: var(--text-2); }
.marquee-item::after { content: ""; width: 4px; height: 4px; background: var(--line-3); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- segmented tabs ---------- */
.seg { position: relative; display: inline-flex; padding: 4px; background: var(--surface); border: 1px solid var(--line-2); }
.seg button { position: relative; z-index: 1; height: 46px; padding: 0 24px; display: inline-flex; align-items: center; gap: 10px; font: 700 13px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); transition: color .35s var(--ease); }
.seg button .n { font: 500 10.5px/1 var(--font-mono); color: var(--muted); transition: color .35s; }
.seg button[aria-selected="true"] { color: var(--ink); }
.seg button[aria-selected="true"] .n { color: #555; }
.seg button svg { width: 16px; height: 16px; }
.seg-pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; background: var(--white); transition: transform .5s var(--ease), width .5s var(--ease); }

/* ---------- product grid & cards ---------- */
.p-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.p-card { position: relative; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .3s var(--ease), transform .45s var(--ease); }
.p-card:hover { border-color: var(--line-3); transform: translateY(-4px); }
.p-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #0a0a0a; cursor: pointer; }
.p-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.6s var(--ease); }
.p-frame.on { opacity: 1; transform: scale(1); }
.p-card:hover .p-frame.on { transform: scale(1.035); }
.p-bars { position: absolute; z-index: 2; left: 14px; right: 14px; top: 14px; display: flex; gap: 4px; }
.p-bars button { flex: 1; height: 14px; display: flex; align-items: center; }
.p-bars button::before { content: ""; width: 100%; height: 2px; background: rgba(255, 255, 255, .22); }
.p-bars button i { position: absolute; height: 2px; background: var(--white); width: 0; }
.p-bars button { position: relative; }
.p-bars button.done i { width: 100%; }
.p-bars button.on i { animation: fillbar var(--dur, 3.4s) linear forwards; }
.p-card.paused .p-bars button.on i { animation-play-state: paused; }
@keyframes fillbar { from { width: 0; } to { width: 100%; } }
/* Custom Shop title overlay (frame 1 only) — sized to the card via container units */
.p-media, .pm-main { container-type: inline-size; }
.p-title { position: absolute; z-index: 1; left: 8%; right: 8%; top: 17%; display: grid; justify-items: center; text-align: center; pointer-events: none; transition: opacity .6s var(--ease); }
.p-title span { font: 500 3.6cqw/1 var(--font-mono); letter-spacing: .5em; text-transform: uppercase; color: var(--text-2); margin-bottom: 2.4cqw; padding-left: .5em; }
.p-title b { font: 800 15cqw/.86 var(--font-display); text-transform: uppercase; color: var(--white); letter-spacing: .005em; text-shadow: 0 6px 30px rgba(0, 0, 0, .7); }
.p-card:not(.frame-0) .p-title { opacity: 0; }
.p-title.lg { top: 15%; }
.p-title.lg b { font-size: 14cqw; }
.artist-card .art { min-height: 340px; }
.pkgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.pkgs button { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 14px 16px; border: 1px solid var(--line-2); text-align: left; transition: all .2s; }
.pkgs button span { font: 500 11px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.pkgs button b { font: 800 30px/.9 var(--font-display); }
.pkgs button:hover { border-color: var(--line-3); }
.pkgs button[aria-checked="true"] { background: var(--white); color: var(--ink); border-color: var(--white); }
.pkgs button[aria-checked="true"] span { color: #555; }
.pkgs + .hint { margin-top: 10px; }
.pm-ex { border-left: 1px solid var(--line-2); padding-left: 14px; }
.pm-ex .label { margin-bottom: 6px; }
.pm-ex p { font-size: 13px; color: var(--text-2); line-height: 1.55; }
.select:disabled { opacity: .7; }
.p-badges { position: absolute; z-index: 2; left: 14px; top: 38px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.p-nav { position: absolute; z-index: 2; top: 50%; width: 36px; height: 36px; margin-top: -18px; display: grid; place-items: center; background: rgba(0, 0, 0, .6); border: 1px solid var(--line-2); opacity: 0; transition: opacity .25s, background .2s; }
.p-nav:hover { background: var(--white); color: var(--ink); }
.p-nav.prev { left: 12px; } .p-nav.next { right: 12px; }
.p-nav svg { width: 16px; height: 16px; }
.p-card:hover .p-nav, .p-card:focus-within .p-nav { opacity: 1; }
.p-quick { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; transform: translateY(14px); opacity: 0; transition: transform .4s var(--ease), opacity .3s; }
.p-card:hover .p-quick, .p-card:focus-within .p-quick { transform: none; opacity: 1; }
.p-body { padding: 16px 16px 18px; display: grid; gap: 6px; border-top: 1px solid var(--line); flex: 1; }
.p-cat { font: 500 10.5px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.p-name { font: 800 26px/.95 var(--font-display); text-transform: uppercase; letter-spacing: .01em; cursor: pointer; }
.p-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.p-price { font: 600 15px/1 var(--font-mono); }
.p-price small { color: var(--muted); font-size: 11px; margin-left: 4px; }
.p-add { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background .2s, color .2s, border-color .2s; }
.p-add:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.p-add svg { width: 16px; height: 16px; }
.p-auto { display: inline-flex; align-items: center; gap: 6px; font: 500 10px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.p-auto svg { width: 12px; height: 12px; }

/* custom-order card spanning grid */
.custom-card {
  grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; min-height: 280px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-2); position: relative;
}
.custom-card .art { position: relative; background-size: cover; background-position: center; border-right: 1px solid var(--line); }
.custom-card .art .big { position: absolute; left: 32px; bottom: 26px; font: 900 clamp(64px, 8vw, 128px)/.8 var(--font-display); text-transform: uppercase; }
.custom-card .copy { padding: clamp(28px, 3.5vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.custom-card .steps { display: grid; gap: 10px; margin: 6px 0 8px; padding: 0; list-style: none; counter-reset: s; }
.custom-card .steps li { display: flex; gap: 12px; color: var(--text-2); font-size: 14px; counter-increment: s; }
.custom-card .steps li::before { content: "0" counter(s); font: 500 11px/1.9 var(--font-mono); color: var(--muted); }

/* ---------- store toolbar ---------- */
.store-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { height: 36px; padding: 0 14px; border: 1px solid var(--line); font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); transition: all .2s; }
.filter:hover { border-color: var(--line-3); color: var(--text); }
.filter.on { background: var(--white); color: var(--ink); border-color: var(--white); }
.tools { display: flex; gap: 8px; }
.field { position: relative; display: flex; align-items: center; }
.field svg { position: absolute; left: 12px; width: 15px; height: 15px; color: var(--muted); pointer-events: none; }
.input, .select {
  height: 40px; padding: 0 14px; background: var(--surface); border: 1px solid var(--line-2); color: var(--text);
  font-size: 13.5px; outline: none; transition: border-color .2s, background .2s; border-radius: 0;
}
.field svg + .input { padding-left: 36px; }
.input:focus, .select:focus, textarea.input:focus { border-color: var(--white); background: #000; }
.input::placeholder { color: var(--muted); }
textarea.input { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.select { appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.select option { background: var(--surface); }
.label { display: block; font: 500 10.5px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); margin-bottom: 8px; }
.hint { font-size: 12px; color: var(--muted); margin-top: 8px; }
.hint a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.input.ok { border-color: rgba(74, 222, 128, .6); }
.input.bad { border-color: rgba(255, 90, 90, .7); }
.v-msg { font: 500 11px/1.4 var(--font-mono); margin-top: 8px; min-height: 15px; }
.v-msg.ok { color: var(--ok); } .v-msg.bad { color: var(--danger); }
.empty { grid-column: 1 / -1; padding: 80px 20px; text-align: center; border: 1px dashed var(--line-2); color: var(--muted); }

/* ---------- modal ---------- */
.overlay { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s var(--ease); }
.overlay.show { opacity: 1; }
.modal { position: fixed; z-index: 210; inset: 0; display: grid; place-items: center; padding: 20px; pointer-events: none; }
.modal-box {
  pointer-events: auto; position: relative; width: min(1080px, 100%); max-height: calc(100vh - 40px); overflow: auto;
  background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: var(--shadow);
  opacity: 0; transform: translateY(24px) scale(.985); transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.modal.show .modal-box { opacity: 1; transform: none; }
.modal-box.sm { width: min(560px, 100%); }
.modal-close { position: absolute; z-index: 5; top: 14px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center; background: rgba(0, 0, 0, .6); border: 1px solid var(--line-2); transition: background .2s, color .2s; }
.modal-close:hover { background: var(--white); color: var(--ink); }
.modal-close svg { width: 16px; height: 16px; }
.pm { display: grid; grid-template-columns: 1.05fr 1fr; }
.pm-gallery { position: relative; background: #000; border-right: 1px solid var(--line); }
.pm-main { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.pm-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease); }
.pm-main img.on { opacity: 1; }
.pm-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.pm-thumbs button { aspect-ratio: 16 / 11; overflow: hidden; opacity: .45; transition: opacity .2s; background: #000; }
.pm-thumbs button.on, .pm-thumbs button:hover { opacity: 1; }
.pm-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pm-info { padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 22px; }
.pm-info h3 { font-size: clamp(40px, 4vw, 60px); }
.pm-price { font: 600 26px/1 var(--font-mono); display: flex; align-items: baseline; gap: 10px; }
.pm-price small { font-size: 12px; color: var(--muted); }
.pm-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pm-list li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.pm-list li svg { width: 14px; height: 14px; flex: none; color: var(--white); }
.pm-auto { display: grid; gap: 4px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line-2); border-left: 2px solid var(--white); font-size: 13px; color: var(--text-2); }
.pm-auto b { color: var(--text); font-weight: 600; }
.pm-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.modal-box { overflow-x: hidden; }

/* ---------- drawer (cart) ---------- */
.drawer { position: fixed; z-index: 220; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--bg-2); border-left: 1px solid var(--line-2); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .55s var(--ease); }
.drawer.show { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 34px; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; background: var(--bg); }
.drawer-total { display: flex; justify-content: space-between; align-items: baseline; }
.drawer-total b { font: 600 24px/1 var(--font-mono); }
.c-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.c-item img { width: 72px; height: 90px; object-fit: cover; background: #000; }
.c-item .nm { font: 800 21px/.95 var(--font-display); text-transform: uppercase; }
.c-item .ct { font: 500 10px/1 var(--font-mono); letter-spacing: .14em; color: var(--muted); text-transform: uppercase; margin-bottom: 6px; }
.c-item .pr { font: 600 14px/1 var(--font-mono); text-align: right; }
.c-item .rm { margin-top: 10px; font: 500 10.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.c-item .rm:hover { color: var(--text); }
.c-steam { grid-column: 1 / -1; }
.c-fields { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.c-fields span { display: inline-flex; gap: 8px; padding: 6px 10px; border: 1px solid var(--line-2); font-size: 12px; color: var(--text); }
.c-fields em { font: 500 10px/1.6 var(--font-mono); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.c-steam .input { width: 100%; height: 38px; font-family: var(--font-mono); font-size: 12.5px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); margin-top: 10px; }
.qty button { width: 28px; height: 28px; display: grid; place-items: center; color: var(--text-2); }
.qty button:hover { color: var(--white); background: rgba(255, 255, 255, .06); }
.qty span { min-width: 26px; text-align: center; font: 500 12px/1 var(--font-mono); }
.cart-empty { padding: 70px 10px; text-align: center; display: grid; gap: 14px; justify-items: center; color: var(--muted); }
.cart-empty svg { width: 40px; height: 40px; color: var(--line-3); }

/* ---------- toast ---------- */
.toasts { position: fixed; z-index: 300; left: 50%; bottom: 28px; transform: translateX(-50%); display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: var(--white); color: var(--ink); font: 600 13px/1 var(--font-body); box-shadow: var(--shadow); animation: toastIn .45s var(--ease) both; }
.toast svg { width: 16px; height: 16px; }
.toast.out { animation: toastOut .35s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }

/* ---------- direct connect FAB ---------- */
.fab { position: fixed; z-index: 150; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); display: flex; align-items: flex-end; gap: 10px; }
/* floating Spotify / radio button, sits left of Direct Connect */
.fab-sp {
  display: flex; align-items: center; height: 58px; background: var(--ink); color: var(--white);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .22);
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
  transition: background .25s var(--ease);
}
.fab-sp .ico { width: 58px; height: 58px; display: grid; place-items: center; }
.fab-sp .ico svg { width: 26px; height: 26px; transition: transform .3s var(--ease); }
.fab-sp .txt { max-width: 0; overflow: hidden; white-space: nowrap; font: 700 12px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; transition: max-width .5s var(--ease), padding .5s var(--ease); }
.fab-sp:hover { background: #111113; }
.fab-sp:hover .txt { max-width: 200px; padding-left: 22px; }
.fab-sp:hover .ico svg { transform: scale(1.08); }
.fab.open .fab-sp .txt { max-width: 0; padding: 0; }
.fab-btn {
  display: flex; align-items: center; height: 58px; background: var(--white); color: var(--ink); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .2);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
.fab-btn .ico { width: 58px; height: 58px; display: grid; place-items: center; position: relative; }
.fab-btn .ico svg { width: 24px; height: 24px; }
.fab-btn .ico::after { content: ""; position: absolute; top: 13px; right: 13px; width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 2px var(--white); }
.fab-btn .txt { max-width: 0; overflow: hidden; white-space: nowrap; font: 700 12px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; transition: max-width .5s var(--ease), padding .5s var(--ease); }
.fab-btn:hover .txt, .fab.open .fab-btn .txt { max-width: 180px; padding-right: 22px; }
.fab-pop {
  position: absolute; right: 0; bottom: 72px; width: min(360px, calc(100vw - 32px)); background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: var(--shadow);
  padding: 18px; display: grid; gap: 14px; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s var(--ease), transform .4s var(--ease);
}
.fab.open .fab-pop { opacity: 1; transform: none; pointer-events: auto; }
.fab-pop .srv { display: grid; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.fab-pop .srv:last-of-type { border-bottom: 0; padding-bottom: 0; }
.fab-pop .srv-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; }

/* ---------- copy field (shared) ---------- */
.copy-field { display: flex; align-items: stretch; height: 46px; border: 1px solid var(--line-2); background: #000; transition: border-color .2s; }
.copy-field:hover { border-color: var(--line-3); }
.copy-field code { flex: 1; min-width: 0; display: flex; align-items: center; padding: 0 14px; font: 500 15px/1 var(--font-mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-field .cf-lbl { display: flex; align-items: center; padding: 0 12px; border-right: 1px solid var(--line); font: 500 10px/1 var(--font-mono); letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.copy-field button { flex: none; width: 46px; display: grid; place-items: center; border-left: 1px solid var(--line); color: var(--text-2); transition: background .2s, color .2s; }
.copy-field button:hover { background: var(--white); color: var(--ink); }
.copy-field button svg { width: 16px; height: 16px; }
.copy-field.sm { height: 38px; } .copy-field.sm code { font-size: 13px; } .copy-field.sm button { width: 38px; }
.copied { animation: flash .6s var(--ease); }
@keyframes flash { 0% { background: rgba(255, 255, 255, .25); } }

/* ---------- home: highlight / spotlight ---------- */
.spot { display: grid; grid-template-columns: 1.25fr 1fr; border: 1px solid var(--line-2); background: var(--surface); overflow: hidden; }
.spot-art { position: relative; min-height: 540px; background-size: cover; background-position: center; overflow: hidden; }
.spot-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.spot:hover .spot-art img { transform: scale(1.03); }
.spot-art .tagline { position: absolute; left: 28px; top: 26px; z-index: 2; }
.spot-collage { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.spot-collage img { position: static; width: 100%; height: 100%; object-fit: cover; }
.spot-collage::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, .55)); pointer-events: none; }
.spot-copy { padding: clamp(28px, 4vw, 60px); display: flex; flex-direction: column; justify-content: center; gap: 22px; border-left: 1px solid var(--line); }
.spot-copy h2 { font-size: clamp(54px, 6vw, 96px); }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-2); }
.countdown div { padding: 14px 10px; text-align: center; border-right: 1px solid var(--line); }
.countdown div:last-child { border-right: 0; }
.countdown b { display: block; font: 800 40px/1 var(--font-display); }
.countdown span { font: 500 9.5px/1 var(--font-mono); letter-spacing: .18em; color: var(--muted); text-transform: uppercase; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px); border-right: 1px solid var(--line); display: grid; gap: 10px; }
.stat:last-child { border-right: 0; }
.stat b { font: 900 clamp(56px, 6vw, 92px)/.85 var(--font-display); }
.stat span { color: var(--text-2); font-size: 14px; }

/* Discord panel */
.dc { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; border: 1px solid var(--line-2); background: var(--surface); overflow: hidden; }
.dc-copy { padding: clamp(28px, 4vw, 60px); display: flex; flex-direction: column; gap: 22px; position: relative; z-index: 1; }
.dc-copy h2 { font-size: clamp(54px, 6.4vw, 104px); }
.dc-live { display: flex; gap: 26px; flex-wrap: wrap; }
.dc-live div { display: grid; gap: 6px; }
.dc-live b { font: 800 46px/1 var(--font-display); display: flex; align-items: center; gap: 12px; }
.dc-live div > span { font: 500 10.5px/1 var(--font-mono); letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.dc-side { position: relative; border-left: 1px solid var(--line); background: #08080a; padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 10px; align-content: start; }
.dc-side .bigicon { position: absolute; right: -60px; bottom: -70px; width: 380px; height: 380px; color: rgba(255, 255, 255, .035); pointer-events: none; }
.dc-chan { position: relative; display: grid; grid-template-columns: 38px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--line); transition: border-color .2s, transform .3s var(--ease), background .2s; }
.dc-chan:hover { border-color: var(--line-3); transform: translateX(4px); background: var(--surface-3); }
.dc-chan .ic { width: 38px; height: 38px; display: grid; place-items: center; background: #000; border: 1px solid var(--line-2); font: 600 16px/1 var(--font-mono); }
.dc-chan .ic svg { width: 17px; height: 17px; }
.dc-chan b { display: block; font: 600 14px/1.2 var(--font-body); }
.dc-chan small { color: var(--muted); font-size: 12.5px; }
.dc-chan > svg { width: 16px; height: 16px; color: var(--muted); }
.dc-feed { display: grid; gap: 8px; margin-top: 6px; }
.dc-msg { display: grid; grid-template-columns: 30px 1fr; gap: 10px; font-size: 13px; color: var(--text-2); opacity: 0; transform: translateY(6px); animation: msgIn .6s var(--ease) forwards; }
.dc-msg .av { width: 30px; height: 30px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; font: 700 11px/1 var(--font-mono); color: var(--text); border: 1px solid var(--line-2); }
.dc-msg b { color: var(--text); font-weight: 600; margin-right: 6px; }
.dc-msg time { font: 500 10px/1 var(--font-mono); color: var(--muted); }
@keyframes msgIn { to { opacity: 1; transform: none; } }

/* social grid */
.socials { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.social { position: relative; padding: 26px 22px; border-right: 1px solid var(--line); display: grid; gap: 28px; overflow: hidden; transition: background .35s var(--ease), color .35s var(--ease); }
.social:last-child { border-right: 0; }
.social svg { width: 26px; height: 26px; }
.social .s-name { font: 800 30px/.9 var(--font-display); text-transform: uppercase; }
.social .s-handle { font: 500 11px/1 var(--font-mono); color: var(--muted); letter-spacing: .06em; transition: color .35s; }
.social .s-go { position: absolute; top: 22px; right: 20px; width: 16px; height: 16px; transition: transform .35s var(--ease); }
.social:hover { background: var(--white); color: var(--ink); }
.social:hover .s-handle { color: #555; }
.social:hover .s-go { transform: translate(3px, -3px); }

/* ---------- features ---------- */
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line-2); overflow: hidden; }
.video-frame img.poster, .video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-frame .play { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; }
.video-frame .play span { width: 108px; height: 108px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .95); color: var(--ink); transition: transform .4s var(--ease); position: relative; }
.video-frame .play span::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.video-frame .play svg { width: 34px; height: 34px; margin-left: 5px; }
.video-frame:hover .play span { transform: scale(1.06); }
.video-meta { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; padding: 26px 28px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); pointer-events: none; }
.video-meta h3 { font-size: clamp(30px, 3.4vw, 52px); }

.intel { display: grid; grid-template-columns: 300px minmax(0, 1fr) 360px; border: 1px solid var(--line-2); background: var(--surface); }
.intel-col { min-width: 0; }
.intel-mods { border-right: 1px solid var(--line); display: flex; flex-direction: column; }
/* the map sets the board's height; side panels fill it and scroll instead of stretching it */
.intel-mods, .intel-dossier { height: 0; min-height: 100%; overflow: hidden; }
.intel-hd { padding: 16px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 500 10.5px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.intel-hd button { color: var(--text-2); letter-spacing: .16em; }
.intel-hd button:hover { color: var(--white); }
.presets { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.presets button { height: 30px; padding: 0 10px; border: 1px solid var(--line-2); font: 500 10.5px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); transition: all .2s; }
.presets button:hover { border-color: var(--line-3); color: var(--white); }
.presets button.on { background: var(--white); color: var(--ink); border-color: var(--white); }
.mod-list { list-style: none; margin: 0; padding: 0; overflow: auto; flex: 1; min-height: 0; }
.mod {
  width: 100%; display: grid; grid-template-columns: 34px 1fr 18px; gap: 12px; align-items: center; padding: 13px 18px; text-align: left;
  border-bottom: 1px solid var(--line); transition: background .2s; position: relative;
}
.mod:hover { background: rgba(255, 255, 255, .03); }
.mod .code { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-2); font: 600 11px/1 var(--font-mono); color: var(--text-2); transition: all .25s var(--ease); }
.mod b { display: block; font-size: 13.5px; font-weight: 600; }
.mod small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.mod .tick { width: 18px; height: 18px; border: 1px solid var(--line-3); display: grid; place-items: center; transition: all .25s var(--ease); }
.mod .tick svg { width: 11px; height: 11px; opacity: 0; transform: scale(.5); transition: all .25s var(--ease); color: var(--ink); }
.mod[aria-pressed="true"] { background: rgba(255, 255, 255, .05); }
.mod[aria-pressed="true"]::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--white); }
.mod[aria-pressed="true"] .code { background: var(--white); color: var(--ink); border-color: var(--white); }
.mod[aria-pressed="true"] .tick { background: var(--white); border-color: var(--white); }
.mod[aria-pressed="true"] .tick svg { opacity: 1; transform: none; }

.intel-map { position: relative; overflow: hidden; background: #070708; aspect-ratio: 10 / 7; }
.intel-map svg.map { position: absolute; inset: 0; width: 100%; height: 100%; }
.intel-map .node { cursor: pointer; }
.intel-map .node .ring { fill: none; stroke: rgba(255, 255, 255, .3); transition: all .4s var(--ease); }
.intel-map .node .core { fill: #3a3a3e; transition: all .4s var(--ease); }
.intel-map .node text { font: 500 10px var(--font-mono); letter-spacing: .14em; fill: rgba(255, 255, 255, .35); text-transform: uppercase; transition: fill .3s; }
.intel-map .node:hover .ring { stroke: rgba(255, 255, 255, .7); }
.intel-map .node.on .ring { stroke: #fff; r: 16; }
.intel-map .node.on .core { fill: #fff; }
.intel-map .node.on text { fill: #fff; }
.intel-map .node.focus .pulse { animation: npulse 1.8s var(--ease) infinite; }
.intel-map .pulse { fill: none; stroke: #fff; opacity: 0; transform-box: fill-box; transform-origin: center; }
@keyframes npulse { from { opacity: .8; transform: scale(.6); } to { opacity: 0; transform: scale(2.6); } }
.intel-map .route { fill: none; stroke: #fff; stroke-width: 1.5; stroke-dasharray: 6 6; animation: dash 1.2s linear infinite; opacity: .85; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.map-hud { position: absolute; z-index: 2; left: 18px; right: 18px; top: 16px; display: flex; justify-content: space-between; font: 500 10.5px/1.6 var(--font-mono); letter-spacing: .16em; color: rgba(255, 255, 255, .5); text-transform: uppercase; pointer-events: none; }
.map-foot { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; pointer-events: none; }
.match { display: grid; gap: 6px; }
.match b { font: 900 64px/.8 var(--font-display); }
.match span { font: 500 10.5px/1 var(--font-mono); letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.sweep { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, .06), transparent 12%); animation: sweep 7s linear infinite; mask: radial-gradient(circle at 50% 50%, #000 0 48%, transparent 70%); -webkit-mask: radial-gradient(circle at 50% 50%, #000 0 48%, transparent 70%); }
@keyframes sweep { to { transform: rotate(1turn); } }

.intel-dossier { border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.dossier-body { flex: 1; overflow: auto; padding: 22px; display: grid; gap: 14px; align-content: start; }
.dossier-empty { color: var(--muted); font-size: 14px; display: grid; gap: 14px; padding: 10px 0; }
.dossier-empty svg { width: 34px; height: 34px; color: var(--line-3); }
.dcard { border: 1px solid var(--line-2); background: var(--bg-2); animation: dIn .5s var(--ease) both; }
@keyframes dIn { from { opacity: 0; transform: translateX(14px); } }
.dcard-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); font: 500 10px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.dcard-body { padding: 14px; display: grid; gap: 10px; }
.dcard h4 { margin: 0; font: 800 28px/.9 var(--font-display); text-transform: uppercase; }
.dcard p { color: var(--text-2); font-size: 13.5px; }
.dcard .meters { display: grid; gap: 8px; margin-top: 4px; }
.meter { display: grid; grid-template-columns: 82px 1fr 28px; gap: 10px; align-items: center; font: 500 10px/1 var(--font-mono); letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.meter i { height: 3px; background: var(--line-2); position: relative; overflow: hidden; }
.meter i::after { content: ""; position: absolute; inset: 0; width: var(--v); background: var(--white); animation: grow .9s var(--ease) both; }
@keyframes grow { from { width: 0; } }
.meter em { font-style: normal; color: var(--text); text-align: right; }
.dcard.focus { border-color: var(--white); }
.dlist { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.dlist li { display: flex; gap: 8px; align-items: center; font: 500 11px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.dlist svg { width: 11px; height: 11px; flex: none; }
.mechs { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.mech { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: baseline; padding: 20px 4px; border-bottom: 1px solid var(--line); transition: background .25s; }
.mech:nth-child(odd) { padding-right: 28px; border-right: 1px solid var(--line); }
.mech:nth-child(even) { padding-left: 28px; }
.mech:hover { background: rgba(255, 255, 255, .02); }
.mech span { font: 500 11px/1 var(--font-mono); color: var(--muted); letter-spacing: .12em; }
.mech b { font: 800 clamp(22px, 2vw, 28px)/1 var(--font-display); text-transform: uppercase; letter-spacing: .01em; }
.raid-when { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 16px 20px; margin-bottom: 18px; border: 1px solid var(--line-2); background: var(--surface); font: 500 12px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.raid-when b { font-weight: 600; color: var(--white); }

.feat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feat-card { background: var(--bg); padding: clamp(24px, 3vw, 40px); display: grid; gap: 14px; align-content: start; transition: background .3s; }
.feat-card:hover { background: var(--surface); }
.feat-card .n { font: 500 11px/1 var(--font-mono); color: var(--muted); letter-spacing: .14em; }
.feat-card h3 { font-size: 34px; }
.feat-card p { color: var(--text-2); font-size: 14.5px; }

/* ---------- rules ---------- */
.rules-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.rules-side { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 18px; }
.toc { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: grid; grid-template-columns: 28px 1fr; gap: 6px; padding: 11px 0 11px 18px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; color: var(--text-2); transition: color .2s, border-color .2s; }
.toc a span { font: 500 11px/1.7 var(--font-mono); color: var(--muted); }
.toc a:hover { color: var(--white); }
.toc a.on { color: var(--white); border-left-color: var(--white); }
.rules-meta { padding: 16px; border: 1px solid var(--line); display: grid; gap: 10px; font-size: 13px; color: var(--text-2); }
.rule-sec { padding: clamp(28px, 3vw, 44px); border: 1px solid var(--line); background: var(--surface); margin-bottom: 18px; }
.rule-sec-head { display: grid; grid-template-columns: auto 1fr; gap: 4px 24px; align-items: end; padding-bottom: 22px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.rule-sec-head .num { grid-row: span 2; font: 900 clamp(64px, 6vw, 96px)/.8 var(--font-display); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .5); }
.rule-sec-head h2 { font-size: clamp(36px, 3.6vw, 54px); }
.rule-sec-head p { color: var(--text-2); font-size: 14px; }
.rule { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.rule:last-child { border-bottom: 0; }
.rule .id { font: 600 12px/1.8 var(--font-mono); color: var(--muted); }
.rule .tx b { display: block; font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.rule .tx p { color: var(--text-2); font-size: 14px; }
.rule .tx a { text-decoration: underline; text-underline-offset: 3px; }
.rule .side { display: flex; align-items: center; gap: 8px; }
.rule .lnk { width: 28px; height: 28px; display: grid; place-items: center; color: var(--muted); opacity: 0; transition: opacity .2s, color .2s; }
.rule:hover .lnk { opacity: 1; }
.rule .lnk:hover { color: var(--white); }
.rule .lnk svg { width: 14px; height: 14px; }
.rule.hl { animation: hl 1.8s var(--ease); }
@keyframes hl { 0%, 40% { background: rgba(255, 255, 255, .06); } }
.sev { font: 500 9.5px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; padding: 5px 7px; border: 1px solid var(--line-2); color: var(--text-2); white-space: nowrap; }
.sev.s3 { background: var(--white); color: var(--ink); border-color: var(--white); }
.sev.s2 { border-color: var(--line-3); color: var(--text); }
.rule-group { margin-top: 26px; }
.rule-gh { font-size: clamp(22px, 2vw, 28px); padding-bottom: 10px; border-bottom: 1px solid var(--line-2); display: flex; align-items: center; gap: 12px; }
.rule-gh::before { content: ""; width: 8px; height: 8px; background: var(--white); transform: rotate(45deg); flex: none; }
.rule-group .rule { padding: 12px 0; grid-template-columns: 48px 1fr auto; }
.rule-group .rule .tx p { color: var(--text); font-size: 14.5px; }
.rule-notes { margin-top: 22px; padding: 16px 18px; border-left: 2px solid var(--white); background: var(--bg-2); display: grid; gap: 6px; }
.rule-notes p { color: var(--text-2); font-size: 13.5px; }
.rule-notes a, .rule .tx a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.statement { margin-top: 18px; padding: clamp(22px, 3vw, 34px); background: var(--white); color: var(--ink); display: grid; gap: 6px; }
.statement .kicker { color: #555; margin-bottom: 8px; }
.statement p { font: 800 clamp(24px, 2.6vw, 38px)/1 var(--font-display); text-transform: uppercase; }
.rules-side .raid-when, .rule-sec .raid-when { margin: 6px 0 0; }
mark { background: var(--white); color: var(--ink); padding: 0 2px; }
.callout { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 20px 22px; border: 1px solid var(--line-3); background: #000; margin-top: 18px; }
.callout svg.i { width: 26px; height: 26px; }
.callout b { display: block; margin-bottom: 2px; }
.callout p { color: var(--text-2); font-size: 13.5px; }
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 18px; }
.steps-row div { background: var(--bg-2); padding: 18px; display: grid; gap: 8px; }
.steps-row span { font: 500 10.5px/1 var(--font-mono); letter-spacing: .14em; color: var(--muted); }
.steps-row b { font-size: 14px; font-weight: 600; }
.steps-row p { color: var(--text-2); font-size: 13px; }

/* ---------- donate ---------- */
.goal { border: 1px solid var(--line-2); background: var(--surface); padding: clamp(24px, 3vw, 40px); display: grid; gap: 20px; }
.goal-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.goal-top b { font: 900 clamp(64px, 7vw, 110px)/.8 var(--font-display); }
.goal-top b small { font-size: .4em; color: var(--muted); margin-left: 8px; }
.goal-bar { height: 14px; background: #000; border: 1px solid var(--line-2); position: relative; overflow: hidden; }
.goal-bar i { position: absolute; inset: 0; width: 0; background: repeating-linear-gradient(-45deg, #fff 0 8px, #d6d6d6 8px 16px); transition: width 1.6s var(--ease); }
.goal-ticks { display: flex; justify-content: space-between; font: 500 10.5px/1 var(--font-mono); color: var(--muted); letter-spacing: .1em; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tier { position: relative; border: 1px solid var(--line-2); background: var(--surface); padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 20px; transition: border-color .3s, transform .4s var(--ease); }
.tier:hover { border-color: var(--line-3); transform: translateY(-4px); }
.tier.hot { background: var(--white); color: var(--ink); border-color: var(--white); }
.tier.hot .muted, .tier.hot li { color: #444; }
.tier.hot .btn-primary { background: var(--ink); color: var(--white); border-color: var(--ink); }
.tier.hot .chip { border-color: rgba(0, 0, 0, .3); color: var(--ink); background: transparent; }
.tier h3 { font-size: 44px; }
.tier .amt { font: 900 72px/.8 var(--font-display); }
.tier .amt small { font: 500 13px/1 var(--font-mono); margin-left: 6px; letter-spacing: .06em; }
.tier ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; flex: 1; }
.tier li { display: flex; gap: 10px; font-size: 14px; color: var(--text-2); }
.tier li svg { width: 14px; height: 14px; flex: none; margin-top: 4px; }
.amounts { display: flex; flex-wrap: wrap; gap: 8px; }
.amounts button { height: 48px; min-width: 76px; padding: 0 16px; border: 1px solid var(--line-2); font: 600 15px/1 var(--font-mono); transition: all .2s; }
.amounts button:hover { border-color: var(--line-3); }
.amounts button.on { background: var(--white); color: var(--ink); border-color: var(--white); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 16px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 14px; height: 14px; position: relative; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--white); transition: transform .3s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { padding: 0 0 22px; color: var(--text-2); max-width: 70ch; }

/* ---------- connect ---------- */
.servers { display: grid; gap: 18px; }
.srv-card { display: grid; grid-template-columns: 340px minmax(0, 1fr); border: 1px solid var(--line-2); background: var(--surface); overflow: hidden; }
.srv-art { position: relative; min-height: 300px; background-size: cover; background-position: center; border-right: 1px solid var(--line); }
.srv-art .mapname { position: absolute; left: 24px; bottom: 20px; font: 900 64px/.8 var(--font-display); text-transform: uppercase; }
.srv-art .chip { position: absolute; left: 20px; top: 20px; }
.srv-body { padding: clamp(22px, 2.6vw, 34px); display: grid; gap: 20px; }
.srv-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.srv-title h3 { font-size: clamp(30px, 3vw, 44px); }
.srv-specs { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.srv-specs div { padding: 12px 14px; border-right: 1px solid var(--line); display: grid; gap: 6px; }
.srv-specs div:last-child { border-right: 0; }
.srv-specs span { font: 500 9.5px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.srv-specs b { font: 600 14px/1.1 var(--font-body); }
.srv-copy { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; }
.srv-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pop-bar { height: 4px; background: var(--line); position: relative; margin-top: 8px; }
.pop-bar i { position: absolute; inset: 0 auto 0 0; background: var(--white); width: var(--v, 0); transition: width 1.2s var(--ease); }
.howto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: h; }
.howto > div { background: var(--bg); padding: clamp(24px, 3vw, 40px); display: grid; gap: 14px; align-content: start; }
.howto .n { font: 900 80px/.8 var(--font-display); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .45); }
.howto h3 { font-size: 32px; }
.howto p { color: var(--text-2); font-size: 14.5px; }
.trouble { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }

/* ---------- form modal (custom order) ---------- */
.form-pad { padding: clamp(26px, 3vw, 40px); display: grid; gap: 18px; }
.form-pad h3 { font-size: clamp(38px, 4vw, 54px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-pad .input, .form-pad .select { width: 100%; height: 44px; }
.brief { font: 500 12px/1.6 var(--font-mono); white-space: pre-wrap; background: #000; border: 1px solid var(--line-2); padding: 14px; color: var(--text-2); max-height: 180px; overflow: auto; }

/* ---------- radio (playlist) ---------- */
.pl-head { display: grid; grid-template-columns: 240px 1fr; gap: clamp(20px, 3vw, 40px); align-items: end; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.pl-cover { position: relative; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line-2);
  background: radial-gradient(circle at 70% 25%, rgba(255,255,255,.14) 0 14%, transparent 15%), radial-gradient(ellipse at 30% 80%, #2a2a2e, #060607 70%); box-shadow: var(--shadow); }
.pl-cover .pl-mark { width: 46%; height: auto; filter: drop-shadow(0 16px 30px rgba(0,0,0,.7)); }
.pl-cover span { position: absolute; z-index: 2; left: 14px; bottom: 12px; font: 800 30px/1 var(--font-display); text-transform: uppercase; letter-spacing: .04em; text-shadow: 0 2px 16px rgba(0,0,0,.8); }
/* thumbnail image: crop the wide art to a centred square, keep a small LA badge + the RADIO label */
.pl-cover.has-img { background: #000; }
.pl-cover .pl-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.pl-cover.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 30%, transparent 62%, rgba(0,0,0,.75)); }
.pl-cover.has-img .pl-mark { position: absolute; z-index: 2; top: 12px; left: 14px; width: 13%; }
.pl-meta { display: grid; gap: 14px; }
.pl-meta h2 { font-size: clamp(52px, 7vw, 108px); }
.pl-stats { font-size: 13.5px; color: var(--text-2); }
.pl-stats b { color: var(--text); font-weight: 600; }
.pl-actions { display: flex; align-items: center; gap: 14px; margin-top: 6px; flex-wrap: wrap; }
.pl-play { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--ink); transition: transform .25s var(--ease); }
.pl-play:hover { transform: scale(1.06); }
.pl-play svg { width: 24px; height: 24px; }
.pl-play svg[fill="currentColor"] path[d^="M7"] { transform: translateX(1px); }
.pl-ico { width: 44px; height: 44px; display: grid; place-items: center; color: var(--muted); transition: color .2s; }
.pl-ico svg { width: 24px; height: 24px; }
.pl-ico:hover, .pl-ico[aria-pressed="true"] { color: var(--white); }
.pl-ico[aria-pressed="true"] { position: relative; }
.pl-ico[aria-pressed="true"]::after { content: ""; position: absolute; bottom: 4px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--white); }
.pl-embed { width: 100%; height: 352px; border: 0; margin-top: 24px; }
.pl-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 24px 0 8px; flex-wrap: wrap; }
.pl-row { display: grid; grid-template-columns: 44px minmax(0, 1.5fr) minmax(0, 1fr) 72px 40px; gap: 14px; align-items: center; padding: 8px 12px; border-radius: 4px; cursor: pointer; transition: background .15s; }
.pl-row.no-pv { opacity: .55; }
.pl-row.no-pv:hover { opacity: .85; }
.pl-dur { font: 500 12.5px/1 var(--font-mono); color: var(--muted); text-align: right; }
.pl-np { font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; }
.pl-row:hover, .pl-row:focus-visible { background: rgba(255, 255, 255, .05); outline: 0; }
.pl-row.on { background: rgba(255, 255, 255, .08); }
.pl-hd { cursor: default; padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--line); border-radius: 0; font: 500 10.5px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pl-hd:hover { background: none; }
.pl-n { position: relative; display: grid; place-items: center; height: 24px; font: 500 13px/1 var(--font-mono); color: var(--muted); }
.pl-n em { font-style: normal; }
.pl-n .eq, .pl-n .pl-hov { display: none; }
.pl-hov svg { width: 14px; height: 14px; color: var(--white); }
.pl-row:hover .pl-n em { display: none; }
.pl-row:hover .pl-n .pl-hov { display: block; }
.pl-row.on .pl-n em { display: none; }
.pl-row.playing .pl-n .eq { display: flex; }
.pl-row.playing:hover .pl-n .eq { display: none; }
.pl-row.on:not(.playing) .pl-n .pl-hov { display: block; }
.eq { align-items: flex-end; gap: 2px; height: 14px; }
.eq b { width: 3px; background: var(--white); animation: eq 1s ease-in-out infinite; }
.eq b:nth-child(2) { animation-delay: -.4s; } .eq b:nth-child(3) { animation-delay: -.7s; }
@keyframes eq { 0%, 100% { height: 30%; } 50% { height: 100%; } }
.pl-t { min-width: 0; display: flex; align-items: center; gap: 12px; }
.pl-t img { width: 40px; height: 40px; flex: none; object-fit: cover; background: var(--surface-2); }
.pl-t > span { min-width: 0; display: grid; gap: 3px; }
.pl-t b { font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-row.on .pl-t b { color: var(--white); font-weight: 600; }
.pl-t small { display: none; color: var(--muted); font-size: 12.5px; }
.pl-a { color: var(--text-2); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-sp { width: 32px; height: 32px; display: grid; place-items: center; color: var(--muted); opacity: 0; transition: opacity .2s, color .2s; }
.pl-sp svg { width: 18px; height: 18px; }
.pl-row:hover .pl-sp, .pl-row.on .pl-sp, .pl-sp:focus-visible { opacity: 1; }
.pl-sp:hover { color: var(--white); }

/* now-playing bar */
.np { position: fixed; z-index: 140; left: 0; right: 0; bottom: 0; background: rgba(8, 8, 9, .94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line-2); transform: translateY(100%); transition: transform .5s var(--ease); }
.np.show { transform: none; }
.np-in { display: flex; align-items: center; gap: 20px; height: 76px; padding-right: calc(var(--gutter) + 136px); }
.np-in > * { min-width: 0; }
.np-track { flex: 1 1 0; }
.np-ctl { flex: 0 1 440px; }
.np-right { flex: 1 1 0; justify-content: flex-end; }
.np-track { display: flex; align-items: center; gap: 12px; min-width: 0; }
.np-track > div:last-child { min-width: 0; display: grid; gap: 3px; }
.np-track b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-track small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-cover { width: 46px; height: 46px; flex: none; display: grid; place-items: center; background: radial-gradient(ellipse at 30% 80%, #2a2a2e, #060607 70%); border: 1px solid var(--line-2); }
.np-cover img { width: 50%; }
.np-cover.has-img { overflow: hidden; }
.np-cover.has-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.np-ctl { display: grid; gap: 6px; justify-items: center; }
.np-btns { display: flex; align-items: center; gap: 18px; }
.np-btns button { width: 30px; height: 30px; display: grid; place-items: center; color: var(--text-2); }
.np-btns button:hover { color: var(--white); }
.np-btns svg { width: 16px; height: 16px; }
.np-btns .np-play { width: 36px; height: 36px; border-radius: 50%; background: var(--white); color: var(--ink); }
.np-btns .np-play:hover { color: var(--ink); transform: scale(1.06); }
.np-bar { display: grid; grid-template-columns: 36px 1fr 36px; gap: 10px; align-items: center; width: 100%; font: 500 11px/1 var(--font-mono); color: var(--muted); }
.np-bar #np-el { text-align: right; }
.np-prog { background: var(--line-2); border-radius: 2px; overflow: hidden; }
.np-prog i { display: block; height: 100%; width: 0; background: var(--white); }
.np-right { display: flex; align-items: center; gap: 18px; }
.np-spin { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.np-prog { cursor: pointer; height: 15px; padding: 6px 0; background-clip: content-box; }
.np-prog:hover i, .np-prog:focus-visible i { background: #ddd; }
.np-vol { display: flex; align-items: center; gap: 10px; color: var(--text-2); }
.np-vol svg { width: 18px; height: 18px; flex: none; }
.np-vol input { -webkit-appearance: none; appearance: none; width: 96px; height: 3px; border-radius: 2px; cursor: pointer; background: linear-gradient(90deg, var(--white) var(--v, 20%), var(--line-2) var(--v, 20%)); }
.np-vol input::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: var(--white); opacity: 0; transition: opacity .2s; }
.np-vol input::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: var(--white); }
.np-vol:hover input::-webkit-slider-thumb, .np-vol input:focus-visible::-webkit-slider-thumb { opacity: 1; }
.np-sp svg { flex: none; }
.np-sp { justify-self: end; white-space: nowrap; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border: 1px solid var(--line-2); font: 600 11.5px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; transition: all .2s; }
.np-sp:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
body.has-np .fab { bottom: calc(clamp(16px, 2.4vw, 32px) + 76px); }
body.has-np .footer { padding-bottom: 76px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: #000; position: relative; overflow: hidden; }
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: clamp(36px, 4.5vw, 60px) 0; border-bottom: 1px solid var(--line); }
.footer-cta h2 { font-size: clamp(48px, 7vw, 110px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; padding: 44px 0; }
.footer-grid h4 { margin: 0 0 18px; font: 500 10.5px/1 var(--font-mono); letter-spacing: .18em; color: var(--muted); text-transform: uppercase; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-grid a { color: var(--text-2); font-size: 14px; transition: color .2s; }
.footer-grid a:hover { color: var(--white); }
.footer-social { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-2); transition: all .2s; }
.footer-social a:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.footer-social svg { width: 17px; height: 17px; }
.footer-legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.footer-legal a { color: var(--text-2); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .p-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .intel { grid-template-columns: 270px minmax(0, 1fr); }
  .intel-dossier { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); height: auto; min-height: 0; }
  .intel-dossier .dossier-body { max-height: 420px; }
  .dossier-body { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}
@media (max-width: 1020px) {
  .nav-links, .nav-discord .label { display: none; }
  .burger { display: grid; }
  .mobile-menu {
    display: block; position: fixed; z-index: 170; inset: 0; background: var(--bg); padding: 0 var(--gutter) 32px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s .4s; overflow: auto;
  }
  .mobile-menu.open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .mm-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); margin-bottom: 8px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .mm-close { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-2); }
  .mm-close svg { width: 18px; height: 18px; }
  .mobile-menu a.big { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font: 800 48px/.9 var(--font-display); text-transform: uppercase; }
  .mobile-menu a.big span { font: 500 11px/1 var(--font-mono); color: var(--muted); }
  .mobile-menu .mm-foot { display: grid; gap: 10px; margin-top: 28px; }
  .banner-grid { grid-template-columns: 1fr; }
  .status-card { width: 100%; max-width: 420px; }
  .spot, .dc, .custom-card, .pm { grid-template-columns: 1fr; }
  .spot-copy, .dc-side { border-left: 0; border-top: 1px solid var(--line); }
  .custom-card .art { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--line); }
  .spot-art { min-height: 0; aspect-ratio: 1 / 1; }
  .pm-gallery { border-right: 0; border-bottom: 1px solid var(--line); }
  .pm-main { aspect-ratio: 4 / 3.4; }
  .rules-layout { grid-template-columns: 1fr; }
  .rules-side { position: static; }
  .toc { display: flex; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--line); }
  .toc a { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; padding: 12px 14px; margin: 0 0 -1px; grid-template-columns: auto auto; }
  .toc a.on { border-bottom-color: var(--white); }
  .tiers { grid-template-columns: 1fr; }
  .srv-card { grid-template-columns: 1fr; }
  .srv-art { min-height: 200px; border-right: 0; border-bottom: 1px solid var(--line); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .howto, .feat-cards { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --nav-h: 60px; }
  .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .p-body { padding: 12px; }
  .p-name { font-size: 21px; }
  .p-quick { display: none; }
  .p-nav { opacity: 1; width: 30px; height: 30px; margin-top: -15px; }
  .nav .brand-name { display: none; }
  .banner-mark { opacity: .08; }
  .banner-hud .r { display: none; }
  .intel { grid-template-columns: 1fr; }
  .intel-mods { border-right: 0; border-bottom: 1px solid var(--line); height: auto; min-height: 0; }
  .mod-list { max-height: 340px; }
  .intel-map { min-height: 0; }
  .srv-specs { grid-template-columns: repeat(2, 1fr); }
  .srv-specs div:nth-child(2) { border-right: 0; }
  .srv-specs div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .srv-copy, .form-row, .trouble, .grid-2, .mechs { grid-template-columns: 1fr; }
  .pl-head { grid-template-columns: 1fr; }
  .pl-cover { width: min(220px, 70%); }
  .pl-row { grid-template-columns: 28px minmax(0, 1fr) 36px; gap: 10px; padding: 8px 6px; }
  .pl-dur { display: none; }
  .pl-a, .pl-hd span:nth-child(3) { display: none; }
  .pl-t small { display: block; }
  .pl-sp { opacity: 1; }
  .np-in { height: 68px; padding-right: calc(var(--gutter) + 120px); }
  .np-ctl { flex: 0 0 auto; }
  .np-bar, .np-sp span, .np-btns #np-prev, .np-btns #np-next { display: none; }
  .np-sp, .np-right { display: none; }
  .mech:nth-child(n) { padding: 16px 0; border-right: 0; }
  .socials { grid-template-columns: repeat(2, 1fr); }
  .social { border-top: 1px solid var(--line); border-right: 1px solid var(--line) !important; }
  .social:nth-child(2n) { border-right: 0 !important; }
  .social:nth-child(-n+2) { border-top: 0; }
  .seg { display: flex; width: 100%; }
  .seg button { flex: 1; justify-content: center; padding: 0 10px; font-size: 12px; }
  .rule { grid-template-columns: 40px 1fr; }
  .rule .side { grid-column: 2; }
  .rule-group .rule { grid-template-columns: 38px 1fr auto; gap: 10px; }
  .rule-group .rule .side { grid-column: auto; }
  .callout { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .fab-btn .ico, .fab-sp .ico { width: 52px; height: 52px; }
  .fab-sp { height: 52px; }
  .fab-btn { height: 52px; }
  .fab-pop { bottom: 64px; }
  .tools { width: 100%; }
  .tools .field { flex: 1; } .tools .input { width: 100%; }
}
@media (max-width: 420px) {
  .p-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* player bar shrinks in stages so nothing overlaps (kept last so these win) */
@media (max-width: 1180px) { .np-sp span { display: none; } .np-sp { padding: 0; width: 34px; justify-content: center; } .np-vol input { width: 72px; } }
@media (max-width: 980px) { .np-vol { display: none; } .np-ctl { flex-basis: 320px; } }
@media (max-width: 760px) { .np-ctl { flex: 0 0 auto; } }
