/* WOW World OS — black/gold command-center family.
   Canon: 00 — CURRENT — WOW World App 2 — Full OS Visual Synthesis Canon (2026-10-01). */

:root {
  --bg: #050505;
  --bg-2: #0b0b0c;
  --panel: #101012;
  --panel-2: #16161a;
  --line: rgba(212, 175, 55, 0.22);
  --line-strong: rgba(232, 193, 90, 0.55);
  --gold: #e3b74a;
  --gold-hi: #f6d77e;
  --gold-lo: #a97c1f;
  --gold-grad: linear-gradient(180deg, #f8dc85 0%, #e3b74a 48%, #b8862a 100%);
  --text: #f3efe6;
  --text-2: #b9b3a6;
  --text-3: #8a8478;
  --live: #e5484d;
  --ok: #46a758;
  --warn: #e3b74a;
  --unk: #8a8fa0;
  --focus: #ffe08a;
  --rail-w: 176px;
  --top-h: 64px;
  --radius: 10px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--gold); color: #111; padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 8px; }

/* ── Boot / failure screens (never white) ───────────────────── */
.boot { position: fixed; inset: 0; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 40%, #1a1408 0%, var(--bg) 60%); z-index: 50; }
.boot .mark { width: 72px; height: 72px; opacity: 0.95; }
.boot p { color: var(--text-2); letter-spacing: 0.2em; font-size: 11px; text-transform: uppercase; margin-top: 14px; text-align: center; }

.netbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 60; background: #1a1206; border: 1px solid var(--line-strong); color: var(--gold-hi); padding: 10px 16px; border-radius: 999px; font-size: 13px; box-shadow: var(--shadow); display: none; }
.netbar.on { display: block; }

/* ── Shell grid ─────────────────────────────────────────────── */
.shell { display: grid; grid-template-columns: var(--rail-w) 1fr; grid-template-rows: var(--top-h) 1fr; min-height: 100vh; }
.top { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; padding: 0 18px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #0c0b09, #070707); position: sticky; top: 0; z-index: 20; }
.brand { display: flex; align-items: center; gap: 10px; width: calc(var(--rail-w) - 18px); }
.brand svg { width: 34px; height: 30px; }
.panel h3 > svg { width: 20px; height: 20px; vertical-align: -3px; margin-right: 6px; }
.brand .word { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: 0.04em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.search { flex: 1; max-width: 560px; display: flex; align-items: center; gap: 10px; background: #0e0e10; border: 1px solid #26231c; border-radius: 10px; padding: 0 12px; height: 38px; color: var(--text-3); }
.search svg { width: 16px; height: 16px; flex: none; }
.search input { flex: 1; background: none; border: 0; color: var(--text); font: inherit; font-size: 13px; outline: none; min-width: 0; }
.search input::placeholder { color: var(--text-3); }
.top-icons { display: flex; gap: 6px; margin-left: auto; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: none; border: 1px solid transparent; color: var(--text-2); }
.icon-btn:hover { color: var(--gold-hi); border-color: var(--line); }
.icon-btn svg { width: 19px; height: 19px; }
.ident { display: flex; align-items: center; gap: 10px; padding: 4px 4px 4px 10px; border: 1px solid #26231c; border-radius: 999px; background: #0d0d0f; }
.ident .av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #1b1b20; border: 1px solid var(--line-strong); color: var(--gold-hi); }
.ident .av svg { width: 16px; height: 16px; }
.ident .who { font-size: 13px; font-weight: 600; }
.ident .who small { display: block; font-size: 10px; color: var(--text-3); font-weight: 500; letter-spacing: 0.05em; }

/* rail */
.rail { border-right: 1px solid var(--line); background: linear-gradient(180deg, #0a0a0a, #060606); padding: 12px 10px; position: sticky; top: var(--top-h); height: calc(100vh - var(--top-h)); overflow-y: auto; }
.rail ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.rail a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.rail a svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.rail a:hover { color: var(--text); background: #121214; }
.rail a[aria-current="page"] { background-color: #d9b45a; background-image: var(--gold-grad); color: #1a1205; }
.rail a[aria-current="page"] svg { color: #1a1205; }
.rail .rail-foot { margin-top: 18px; padding: 12px; border-top: 1px solid var(--line); font-size: 10.5px; color: var(--text-3); line-height: 1.5; }

main { min-width: 0; padding: 22px 26px 60px; }
main:focus { outline: none; }

/* ── Buttons & chips ───────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 20px; border-radius: 8px; font-weight: 600; font-size: 14px; border: 1px solid transparent; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; }
.btn-gold { background: var(--gold-grad); color: #1a1205; box-shadow: 0 4px 18px rgba(227, 183, 74, 0.25); }
.btn-gold:hover { filter: brightness(1.06); }
.btn-line { background: rgba(10, 10, 10, 0.6); border-color: var(--line-strong); color: var(--gold-hi); }
.btn-line:hover { background: rgba(40, 30, 10, 0.6); }
.btn-ghost { background: #141416; border-color: #2a2720; color: var(--text); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 12.5px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; filter: grayscale(0.4); }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px 0 6px; border-radius: 999px; border: 1px solid #3a352a; background: rgba(0, 0, 0, 0.55); font-size: 12.5px; }
.pill .play { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--text-2); display: grid; place-items: center; }
.pill .play svg { width: 12px; height: 12px; }

.truth { display: inline-flex; align-items: center; gap: 5px; font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 7px; border-radius: 4px; border: 1px solid; white-space: nowrap; }
.truth::before { content: ""; width: 6px; height: 6px; border-radius: 1px; background: currentColor; }
.truth.t-existing { color: #8fd19e; border-color: rgba(143, 209, 158, 0.35); }
.truth.t-real { color: #8fd19e; border-color: rgba(143, 209, 158, 0.35); }
.truth.t-demo { color: #e7b6ff; border-color: rgba(231, 182, 255, 0.35); }
.truth.t-unavail { color: #9aa0ad; border-color: rgba(154, 160, 173, 0.35); }
.truth.t-unknown { color: #9aa0ad; border-color: rgba(154, 160, 173, 0.35); border-style: dashed; }
.truth.t-arch { color: var(--gold-hi); border-color: var(--line-strong); }
.truth.t-live { color: #ff8b8f; border-color: rgba(229, 72, 77, 0.5); }

.owner { font-size: 11px; color: var(--text-3); }
.owner b { color: var(--text-2); font-weight: 600; }

/* ── Section heads ─────────────────────────────────────────── */
.sec { margin-top: 26px; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sec-h h2 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: 0.01em; }
.sec-h a { font-size: 12.5px; color: var(--gold); font-weight: 600; }
.eyebrow { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 700; }

/* ── Hero / world entry ────────────────────────────────────── */
.hero { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); min-height: 340px; background: #020308; isolation: isolate; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(2, 3, 8, 0.92) 0%, rgba(2, 3, 8, 0.55) 42%, rgba(2, 3, 8, 0) 70%); }
.hero-body { padding: 54px 40px 34px; max-width: 560px; }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.02; }
.hero h1 .l1 { display: block; font-size: 30px; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .l2 { display: block; font-size: 54px; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: 0.01em; }
.hero .tag { margin: 12px 0 22px; font-size: 17px; color: var(--text); letter-spacing: 0.02em; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .fine { margin-top: 14px; font-size: 12.5px; color: var(--text-2); }
.hero .vision { position: absolute; right: 22px; bottom: 22px; }

/* ── Realm doors ───────────────────────────────────────────── */
.doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.door { background: linear-gradient(180deg, #121214, #0b0b0c); border: 1px solid #2a261d; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.door:hover { border-color: var(--line-strong); }
.door .art { aspect-ratio: 16 / 10; background-size: cover; background-position: center; position: relative; }
.door .art .truth { position: absolute; top: 8px; left: 8px; background: rgba(0, 0, 0, 0.7); }
.door .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.door h3 { margin: 0; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.door p { margin: 0; font-size: 12.5px; color: var(--text-2); line-height: 1.4; flex: 1; }
.door .btn { margin-top: 10px; height: 34px; font-size: 12.5px; }

/* CSS art for rooms without owner art */
.art-academy { background: radial-gradient(ellipse at 50% 85%, rgba(120, 160, 255, 0.35), transparent 60%), linear-gradient(180deg, #050b1d 0%, #0d1a3a 60%, #142650 100%); }
.art-academy::before { content: ""; position: absolute; left: 22%; right: 22%; bottom: 14%; height: 52%; background: repeating-linear-gradient(90deg, #c9d6ff 0 6%, transparent 6% 14%), linear-gradient(#c9d6ff, #c9d6ff); background-size: 100% 78%, 100% 12%; background-position: 0 100%, 0 0; background-repeat: no-repeat; opacity: 0.75; clip-path: polygon(0 18%, 50% 0, 100% 18%, 100% 100%, 0 100%); }
.art-games { background: radial-gradient(circle at 30% 30%, rgba(80, 180, 255, 0.5), transparent 40%), radial-gradient(circle at 75% 60%, rgba(160, 80, 255, 0.45), transparent 45%), linear-gradient(135deg, #060818, #120830); }
.art-games::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 18px, rgba(120, 200, 255, 0.12) 18px 19px); }
.art-events { background: radial-gradient(ellipse at 50% 0%, rgba(255, 200, 100, 0.55), transparent 55%), radial-gradient(ellipse at 20% 100%, rgba(255, 90, 60, 0.35), transparent 50%), linear-gradient(180deg, #1a0c05, #070404); }
.art-journey { background: radial-gradient(circle at 50% 120%, rgba(227, 183, 74, 0.4), transparent 60%), linear-gradient(180deg, #0b0a07, #050505); }
.art-passport { background: radial-gradient(circle at 30% 40%, rgba(227, 183, 74, 0.35), transparent 50%), linear-gradient(135deg, #15110a, #060606); }

/* ── Panels ────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; }
.panel { background: linear-gradient(180deg, #111113, #0b0b0c); border: 1px solid #26231c; border-radius: 12px; padding: 16px; }
.panel h3 { margin: 0 0 6px; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.panel p { margin: 0; color: var(--text-2); font-size: 13px; }
.row { display: flex; align-items: center; gap: 12px; }
.row.between { justify-content: space-between; }
.stack { display: grid; gap: 10px; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 9px; background: #0e0e10; border: 1px solid #201d17; }
.list li .grow { flex: 1; min-width: 0; }
.list li .t { font-size: 13.5px; font-weight: 600; }
.list li .s { font-size: 12px; color: var(--text-3); }
.empty { padding: 18px; border: 1px dashed #3a352a; border-radius: 10px; color: var(--text-2); font-size: 13px; }

/* live now */
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--unk); display: inline-block; }
.live-dot.on { background: var(--live); }

/* ── Room pages ────────────────────────────────────────────── */
.room-head { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); padding: 34px 30px; background-size: cover; background-position: center; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; }
.room-head::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.35)); }
.room-head > * { position: relative; }
.room-head h1 { margin: 6px 0 4px; font-family: var(--display); font-size: 36px; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.room-head p { margin: 0 0 16px; color: var(--text-2); max-width: 560px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 16px 0; }
.tab { height: 32px; padding: 0 14px; border-radius: 8px; background: #121214; border: 1px solid #2a2720; font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.tab[aria-selected="true"] { background: var(--gold-grad); color: #1a1205; border-color: transparent; }

/* destination frame (realm-owned content inside WOW chrome) */
.dest { position: fixed; inset: 0; z-index: 40; display: grid; grid-template-rows: auto 1fr; background: var(--bg); }
.dest-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #0f0d09, #070707); }
.dest-bar .back { display: inline-flex; align-items: center; gap: 8px; }
.dest-bar .meta { flex: 1; min-width: 0; }
.dest-bar .meta .t { font-weight: 700; font-size: 14px; }
.dest-bar .meta .s { font-size: 11px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dest iframe { width: 100%; height: 100%; border: 0; background: var(--bg); }
.dest .fail { display: grid; place-items: center; padding: 30px; text-align: center; }

/* ── Creator destination (Wavemotion public face) ──────────── */
.creator { max-width: 980px; }
.c-card { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; padding: 24px; border-radius: 14px; border: 1px solid var(--line); background: radial-gradient(ellipse at 0% 0%, rgba(227, 183, 74, 0.12), transparent 50%), linear-gradient(180deg, #121214, #0a0a0b); }
.c-avatar { width: 200px; height: 200px; border-radius: 50%; border: 2px solid var(--gold); display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #3a2f1a, #0d0b07); font-family: var(--display); font-size: 64px; color: var(--gold-hi); }
.c-card h1 { margin: 0; font-size: 28px; }
.c-card .h { color: var(--text-3); font-size: 13px; }
.c-stats { display: flex; gap: 22px; margin: 14px 0; }
.c-stats div { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; }
.c-stats b { display: block; font-size: 15px; color: var(--text); letter-spacing: 0; text-transform: none; }
.c-actions { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-top: 16px; }
.c-action { text-align: left; padding: 14px; border-radius: 10px; background: #0f0f11; border: 1px solid #2a261d; display: grid; gap: 4px; }
.c-action:hover { border-color: var(--line-strong); }
.c-action .k { font-size: 10.5px; letter-spacing: 0.16em; color: var(--gold); font-weight: 700; }
.c-action .l { font-weight: 600; }
.banner { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: linear-gradient(90deg, rgba(227, 183, 74, 0.14), rgba(227, 183, 74, 0.03)); font-size: 13px; margin-bottom: 14px; }
.banner svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 1px; }
.banner.muted { border-color: #2c2a26; background: #0e0e10; color: var(--text-2); }

/* ── Forms ─────────────────────────────────────────────────── */
.form { display: grid; gap: 12px; }
.field label { display: block; font-size: 12px; color: var(--text-2); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; height: 44px; padding: 0 12px; border-radius: 8px; border: 1px solid #2f2b22; background: #0c0c0e; color: var(--text); font: inherit; }
.field textarea { height: 110px; padding: 10px 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(227, 183, 74, 0.2); }
.or { text-align: center; color: var(--text-3); font-size: 12px; }
.err { color: #ff9b9b; font-size: 13px; }
.ok { color: #8fd19e; font-size: 13px; }
.claim { max-width: 440px; margin: 10px auto; }
.claim h1 { margin: 0; font-size: 26px; text-align: center; }
.claim .sub { text-align: center; color: var(--text-2); margin: 6px 0 18px; }

/* Passport card */
.pp { display: grid; grid-template-columns: 1fr 200px; gap: 18px; padding: 22px; border-radius: 14px; border: 1px solid var(--line-strong); background: radial-gradient(ellipse at 100% 0%, rgba(227, 183, 74, 0.18), transparent 50%), linear-gradient(135deg, #17130b, #0a0a0a); }
.pp .num { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 26px; letter-spacing: 0.08em; color: var(--gold-hi); margin: 6px 0; }
.qr { width: 180px; height: 180px; background: #f3efe6; padding: 10px; border-radius: 10px; }
.qr svg { width: 100%; height: 100%; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 13px; }
.kv dt { color: var(--text-3); }
.kv dd { margin: 0; }

/* stat tiles with value-class labels */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.tile { padding: 14px; border-radius: 10px; background: #0e0e10; border: 1px solid #26231c; }
.tile .v { font-size: 22px; font-weight: 700; margin: 4px 0; }
.tile .k { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; display: flex; align-items: center; gap: 6px; }
.tile .k svg { width: 13px; height: 13px; color: var(--gold); }

/* WM Pro door */
.wm-door { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); padding: 36px; text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(227, 183, 74, 0.22), transparent 55%), linear-gradient(180deg, #0f0c06, #050505); }
.wm-door h1 { font-family: var(--display); margin: 8px 0 0; font-size: 34px; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wm-door .g { letter-spacing: 0.3em; color: var(--gold-hi); margin: 6px 0 18px; }
.wm-door svg.spark { width: 100%; max-width: 520px; height: 90px; margin: 0 auto 14px; display: block; }
.wm-door .ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* toast */
.toast { position: fixed; right: 18px; bottom: 18px; z-index: 70; max-width: 380px; background: #15120b; border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 14px; font-size: 13px; box-shadow: var(--shadow); }

.door .chev { display: none; color: var(--text-3); margin-right: 10px; }
.door .chev svg { width: 18px; height: 18px; }

/* ── Mobile companion ──────────────────────────────────────── */
.m-tabs { display: none; }
.m-menu { display: none; }
.m-only { display: none; }

@media (max-width: 1100px) {
  .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --top-h: 56px; }
  .shell { grid-template-columns: 1fr; }
  .rail { display: none; }
  .top { padding: 0 10px; gap: 8px; }
  .brand { width: auto; flex: 1; justify-content: center; }
  .brand .word { font-size: 22px; }
  .search, .top-icons .desk { display: none; }
  .ident { padding: 3px; }
  .ident .who { display: none; }
  .m-only { display: inline-grid; }
  main { padding: 14px 14px 96px; }
  .hero { min-height: 0; }
  .hero::after { background: linear-gradient(180deg, rgba(2, 3, 8, 0.15) 0%, rgba(2, 3, 8, 0.85) 70%); }
  .hero-body { padding: 150px 18px 20px; }
  .hero h1 .l1 { font-size: 20px; }
  .hero h1 .l2 { font-size: 36px; }
  .hero .tag { font-size: 14px; margin: 8px 0 14px; }
  .hero .ctas .btn { flex: 1; height: 40px; padding: 0 10px; font-size: 13px; }
  .hero .vision { display: none; }
  .doors { grid-template-columns: 1fr; gap: 8px; }
  .door { flex-direction: row; align-items: center; }
  .door .art { width: 92px; aspect-ratio: 4 / 3; flex: none; margin: 8px; border-radius: 6px; }
  .door .art .truth { display: none; }
  .door .body { padding: 10px 6px 10px 0; }
  .door .body .btn { display: none; }
  .door .chev { display: block; }
  .c-card { grid-template-columns: 1fr; text-align: center; padding: 18px; }
  .c-avatar { width: 120px; height: 120px; font-size: 40px; margin: 0 auto; }
  .c-stats { justify-content: center; }
  .pp { grid-template-columns: 1fr; }
  .qr { margin: 0 auto; }
  .room-head { padding: 22px 18px; }
  .room-head h1 { font-size: 28px; }

  .m-tabs { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(6, 6, 6, 0.96); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .m-tabs a, .m-tabs button { display: grid; justify-items: center; gap: 2px; font-size: 10.5px; color: var(--text-3); padding: 4px 0; background: none; border: 0; min-height: 48px; }
  .m-tabs svg { width: 21px; height: 21px; }
  .m-tabs [aria-current="page"] { color: var(--gold-hi); }
  .m-menu[data-open="true"] { display: block; position: fixed; inset: 0; z-index: 45; background: rgba(0, 0, 0, 0.6); }
  .m-menu .sheet { position: absolute; left: 0; top: 0; bottom: 0; width: min(320px, 86vw); background: #070707; border-right: 1px solid var(--line); padding: 16px; overflow-y: auto; }
  .m-menu ol { list-style: none; margin: 14px 0 0; padding: 0; }
  .m-menu ol a { display: flex; gap: 14px; align-items: center; padding: 12px 8px; font-size: 15px; border-radius: 8px; }
  .m-menu ol a svg { width: 20px; height: 20px; color: var(--gold); }
  .m-menu ol a[aria-current="page"] { background: #17130a; color: var(--gold-hi); }
  .dest-bar .meta .s { display: none; }
}

/* ── Motion: subtle, meaningful, and off under Reduced Motion ─ */
.route-in { animation: routeIn 260ms ease-out; }
@keyframes routeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* Long truth chips and resolver URLs wrap instead of widening the card. */
.pp > div, .grid-2 > *, .kv dd { min-width: 0; }
.kv dd .truth, .owner .truth { white-space: normal; }
.pp .owner { overflow-wrap: anywhere; }

/* ══ Current-gen visual physics (mockups 07–15) ═════════════════════
   The world is felt around the interface; the current human job wins. */
:root { --glass: rgba(9, 9, 12, 0.72); --glass-2: rgba(16, 15, 20, 0.78); --cyan: #4fd1ff; --violet: #9b6bff; }
#atmo { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 120%, rgba(0,0,0,0) 0%, rgba(3,3,6,0.55) 60%), linear-gradient(180deg, rgba(3,3,6,0.35), rgba(3,3,6,0.78)); }
body { background: #030306; }
.glass, .panel, .door, .rail, .top, .subnav { background: var(--glass); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.panel, .door, .glass { border: 1px solid rgba(227, 183, 74, 0.22); }
.top { background: rgba(6, 6, 9, 0.82); }
.rail { background: rgba(6, 6, 9, 0.78); }

/* brand + room nav */
.brand .word small { display: block; font-family: var(--font); font-size: 8.5px; letter-spacing: 0.28em; color: var(--gold); -webkit-text-fill-color: var(--gold); margin-top: -2px; }
.topnav { display: none; gap: 2px; }
.topnav a { display: grid; justify-items: center; gap: 3px; padding: 6px 9px; border-radius: 8px; font-size: 10.5px; color: var(--text-2); border-bottom: 2px solid transparent; }
.topnav a svg { width: 17px; height: 17px; }
.topnav a:hover { color: var(--text); }
.topnav a[aria-current="page"] { color: var(--gold-hi); border-bottom-color: var(--gold); }
@media (min-width: 1360px) { .topnav { display: flex; } .search { max-width: 280px; } }

/* rail head, subtitles, passport card */
.rail-head { display: flex; gap: 10px; align-items: center; padding: 6px 8px 14px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.rail-head svg { width: 30px; height: 26px; }
.rail-head b { display: block; color: var(--gold-hi); font-size: 14px; }
.rail-head small { color: var(--text-3); font-size: 10.5px; }
.rail a span small { display: block; font-size: 9.5px; letter-spacing: 0.02em; text-transform: none; font-weight: 500; opacity: 0.8; }
.rail-pass { margin-top: 14px; display: grid; gap: 10px; }
.pass-card { display: flex; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--line-strong); border-radius: 10px; background: rgba(227, 183, 74, 0.06); }
.pass-card .pc-ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--gold-hi); flex: none; }
.pass-card .pc-ic svg { width: 17px; height: 17px; }
.pass-card b { display: block; font-size: 12.5px; color: var(--gold-hi); }
.pass-card small { font-size: 10.5px; color: var(--text-3); }
.caps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.caps li { display: flex; gap: 9px; align-items: center; font-size: 11.5px; color: var(--text-3); }
.caps li svg { width: 15px; height: 15px; flex: none; }
.caps li.on { color: var(--text-2); }
.caps li.on svg { color: #8fd19e; }
.caps small { display: block; font-size: 9.5px; color: var(--text-3); }
.rail { display: flex; flex-direction: column; }

/* room grids */
.room-grid { display: grid; gap: 16px; align-items: start; }
.room-grid.music, .room-grid.market { grid-template-columns: 210px minmax(0, 1fr) 300px; }
.room-grid.market { grid-template-columns: 210px minmax(0, 1fr) 280px; }
.room-grid.radio { grid-template-columns: minmax(0, 1fr) 300px; }
.room-grid.tv, .room-grid.lounge { grid-template-columns: minmax(0, 1fr) 320px; }
.room-main { min-width: 0; display: grid; gap: 4px; }
.tv-side { display: grid; gap: 12px; position: sticky; top: calc(var(--top-h) + 12px); }
.subnav { border: 1px solid rgba(227,183,74,0.22); border-radius: 12px; padding: 14px 10px; position: sticky; top: calc(var(--top-h) + 12px); }
.sub-head { display: flex; gap: 10px; align-items: center; padding: 0 6px 12px; }
.sub-head > svg { width: 26px; height: 26px; color: var(--gold); }
.sub-head b { display: block; color: var(--gold-hi); font-family: var(--display); letter-spacing: 0.04em; }
.sub-head small { font-size: 10.5px; color: var(--text-3); }
.subnav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.subnav ol a { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 8px; font-size: 13px; color: var(--text-2); }
.subnav ol a svg { width: 16px; height: 16px; color: var(--gold); }
.subnav ol a:hover { background: rgba(227,183,74,0.08); color: var(--text); }
.subnav ol li:first-child a { background: var(--gold-grad); color: #1a1205; }
.subnav ol li:first-child a svg { color: #1a1205; }
.release-card { margin-top: 14px; padding: 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: linear-gradient(160deg, rgba(227,183,74,0.14), rgba(155,107,255,0.08)); display: grid; gap: 6px; }
.release-card b { font-size: 13px; }
.release-card small { font-size: 11px; color: var(--text-3); }

/* covers (no artwork uploaded → typographic tile, labelled) */
.cover { --h: 40; aspect-ratio: 1; border-radius: 8px; display: grid; place-items: end start; padding: 8px; overflow: hidden; position: relative;
  background: radial-gradient(circle at 70% 25%, hsla(var(--h), 90%, 65%, 0.75), transparent 55%), radial-gradient(circle at 20% 90%, hsla(calc(var(--h) + 200), 80%, 55%, 0.55), transparent 60%), linear-gradient(160deg, #15121c, #07070a); }
.cover span { font-family: var(--display); font-size: 11px; line-height: 1.1; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.7); }
.cover.big { width: 100%; max-width: 240px; margin: 0 auto 8px; }
.cover.big span { font-size: 18px; }
.cover.round { border-radius: 50%; place-items: center; width: 64px; padding: 0; }
.cover.round span { font-size: 22px; }
.cover.round.sm { width: 36px; }
.cover.round.sm span { font-size: 14px; }
.trk .cover { width: 42px; flex: none; padding: 4px; }
.trk .cover span { font-size: 7px; }

/* music hero */
.m-hero, .r-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 230px; border-radius: 14px; overflow: hidden; min-height: 280px; }
.m-hero-art, .r-hero-art { position: absolute; inset: 0; background-size: cover; background-position: center 30%; opacity: 0.55; }
.m-hero::after, .r-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,4,8,0.95) 0%, rgba(4,4,8,0.55) 55%, rgba(4,4,8,0.2)); }
.m-hero-body, .r-hero-body, .m-facts { position: relative; z-index: 1; }
.m-hero-body, .r-hero-body { padding: 34px 30px; display: grid; gap: 8px; align-content: center; }
.m-hero h1, .r-hero h1, .l-hero h1, .tv-cap h1 { margin: 0; font-family: var(--display); font-size: 40px; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: flex; gap: 10px; align-items: center; }
.m-hero h1 svg, .r-hero h1 svg, .tv-cap h1 svg { width: 34px; height: 34px; color: var(--gold); }
.lead { margin: 0; font-weight: 700; letter-spacing: 0.04em; color: var(--text); }
.m-facts { list-style: none; margin: 18px 18px 18px 0; padding: 14px; display: grid; gap: 9px; align-content: center; border-radius: 10px; background: rgba(0,0,0,0.55); border: 1px solid var(--line); font-size: 12px; }
.m-facts li { display: flex; gap: 8px; align-items: center; }
.m-facts svg { width: 15px; height: 15px; color: var(--gold); flex: none; }
.releases { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.rel { text-align: left; background: none; border: 0; padding: 0; display: grid; gap: 3px; }
.rel b { font-size: 13px; margin-top: 4px; }
.rel span { font-size: 12px; color: var(--text-2); }
.rel small { font-size: 11px; color: var(--text-3); }
.rel:hover .cover { outline: 2px solid var(--gold); }
.artists { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.artist { display: grid; justify-items: center; gap: 4px; font-size: 12px; }
.artist small { color: var(--text-3); }
.tracks .trk { padding: 8px 10px; }
.trk-play { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(227,183,74,0.1); color: var(--gold-hi); display: grid; place-items: center; flex: none; }
.trk-play svg { width: 13px; height: 13px; }
.steps { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.steps li { display: grid; gap: 4px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(0,0,0,0.35); font-size: 13px; }
.steps small { color: var(--text-3); font-size: 11px; }

/* now playing */
.np { border-radius: 14px; padding: 16px; display: grid; gap: 10px; position: sticky; top: calc(var(--top-h) + 12px); }
.np h3 { margin: 0; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); }
.np-meta b { display: block; font-size: 17px; }
.np-meta span { color: var(--text-2); font-size: 13px; }
.np-meta small { display: block; color: var(--text-3); font-size: 11px; margin-top: 2px; }
canvas.wave { width: 100%; height: 54px; display: block; }
canvas.wave.wide { height: 64px; margin-top: 8px; }
.np-time { display: flex; gap: 8px; align-items: center; font: 11px var(--mono, ui-monospace); color: var(--text-3); font-variant-numeric: tabular-nums; }
.np-time input { flex: 1; accent-color: var(--gold); }
.np-ctl { display: flex; justify-content: center; align-items: center; gap: 14px; }
.play-big { width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--gold); background: rgba(227,183,74,0.12); color: var(--gold-hi); display: grid; place-items: center; }
.play-big svg { width: 20px; height: 20px; }
.play-big.sm { width: 40px; height: 40px; }
.play-big[disabled] { opacity: 0.4; }

/* radio */
.r-hero { grid-template-columns: 1fr; }
.r-show { margin: 6px 0 0; font-size: 26px; }

/* tv */
.tv-stage { border-radius: 14px; overflow: hidden; }
.tv-screen { position: relative; min-height: 400px; background-size: cover; background-position: center; display: flex; align-items: flex-end; }
.tv-screen::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.15) 30%, rgba(0,0,0,0.92)); }
.tv-state { position: absolute; top: 14px; left: 14px; background: rgba(0,0,0,0.7); z-index: 1; }
.tv-cap { position: relative; padding: 26px 26px 64px; display: grid; gap: 8px; max-width: 640px; }
.tv-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 12px; align-items: center; padding: 10px 16px; background: rgba(0,0,0,0.6); font-size: 11px; color: var(--text-3); }
.tv-bar svg { width: 14px; height: 14px; }
.tv-bar i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.15); }
.chan { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.ch { --h: 40; padding: 14px 12px; border-radius: 10px; min-height: 84px; display: grid; align-content: end; gap: 2px;
  background: radial-gradient(circle at 80% 10%, hsla(var(--h), 85%, 60%, 0.35), transparent 60%), var(--glass) !important; }
.ch b { font-size: 13px; }
.ch small { font-size: 10.5px; color: var(--text-3); }

/* lounge + market heroes */
.l-hero, .k-hero { border-radius: 14px; overflow: hidden; background-size: cover; background-position: center; position: relative; min-height: 270px; display: flex; align-items: flex-end; }
.l-hero::before, .k-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,4,8,0.94), rgba(4,4,8,0.35) 70%); }
.l-hero-body, .k-hero-body { position: relative; padding: 30px; display: grid; gap: 8px; max-width: 560px; }
.k-hero h1 { margin: 0; font-size: 40px; line-height: 1.05; }
.k-hero h1 em { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.post { border-radius: 12px; padding: 14px; display: grid; gap: 8px; }
.chip { display: inline-block; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 11.5px; color: var(--text-2); background: rgba(0,0,0,0.4); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }

/* home media strip */
.media3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.m3 { --h: 40; border-radius: 12px; padding: 16px; display: grid; gap: 4px; justify-items: start;
  background: radial-gradient(circle at 90% 0%, hsla(var(--h), 85%, 60%, 0.28), transparent 60%), var(--glass) !important; }
.m3:hover { border-color: var(--line-strong); }
.m3-ic svg { width: 26px; height: 26px; color: var(--gold); }
.m3 b { font-size: 16px; }
.m3 small { color: var(--text-3); font-size: 12px; margin-bottom: 6px; }

/* persistent player bar */
#playerbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 12px; z-index: 35; width: min(920px, calc(100% - 24px)); display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 14px;
  background: rgba(8, 8, 12, 0.92); border: 1px solid var(--line-strong); backdrop-filter: blur(14px); box-shadow: 0 10px 40px rgba(0,0,0,0.6); }
#playerbar .cover { width: 44px; flex: none; padding: 4px; }
#playerbar .cover span { font-size: 7px; }
.pb-meta { min-width: 0; flex: 0 1 200px; }
.pb-meta b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-meta span { font-size: 11px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.pb-prog { flex: 1; display: flex; gap: 8px; align-items: center; font-size: 11px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.pb-prog i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.15); overflow: hidden; }
.pb-prog em { display: block; height: 100%; background: var(--gold-grad); width: 0; }
body.has-player main { padding-bottom: 110px; }

@media (max-width: 1280px) {
  .room-grid.music, .room-grid.market { grid-template-columns: minmax(0, 1fr) 280px; }
  .room-grid.music .subnav, .room-grid.market .subnav { display: none; }
}
@media (max-width: 980px) {
  .room-grid.music, .room-grid.market, .room-grid.radio, .room-grid.tv, .room-grid.lounge { grid-template-columns: 1fr; }
  .np, .tv-side { position: static; }
  .media3 { grid-template-columns: 1fr; }
  .m-hero { grid-template-columns: 1fr; }
  .m-facts { margin: 0 18px 18px; }
}
@media (max-width: 760px) {
  .m-hero h1, .r-hero h1, .l-hero h1, .tv-cap h1, .k-hero h1 { font-size: 30px; }
  .m-hero-body, .r-hero-body, .l-hero-body, .k-hero-body { padding: 20px 18px; }
  .tv-screen { min-height: 340px; }
  #playerbar { bottom: calc(70px + env(safe-area-inset-bottom)); gap: 8px; }
  #playerbar .pb-prog, #playerbar [data-prev] { display: none; }
  body.has-player main { padding-bottom: 170px; }
  .rail-pass { display: none; }
}
/* atmosphere sits on the root; body stays transparent so the city shows through */
html { background: #030306; }
body { background: transparent; }
.list li > svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.sec-h h2 svg { width: 20px; height: 20px; color: var(--live); vertical-align: -3px; }
#playerbar[hidden] { display: none; }
@media (max-width: 760px) {
  .rail { display: none !important; }
  .brand .word small { display: none; }
}

/* ── Fidelity pass vs mockups 10–15: warmer light, lit gold edges, brighter stages ── */
:root { --glass: rgba(10, 9, 12, 0.58); }
.glass, .panel, .door, .subnav, .np { box-shadow: 0 0 0 1px rgba(227,183,74,0.18), 0 0 28px rgba(227,183,74,0.07), inset 0 1px 0 rgba(255,220,140,0.06); }
.rail a { text-transform: none; letter-spacing: 0.01em; font-size: 13px; font-weight: 500; }
.rail a[aria-current="page"] { font-weight: 700; box-shadow: 0 0 18px rgba(227,183,74,0.35); }
.m-hero-art, .r-hero-art { opacity: 0.85; }
.m-hero::after, .r-hero::after { background: linear-gradient(90deg, rgba(4,4,8,0.9) 0%, rgba(4,4,8,0.35) 55%, rgba(4,4,8,0.05)); }
.l-hero::before, .k-hero::before { background: linear-gradient(90deg, rgba(4,4,8,0.88), rgba(4,4,8,0.1) 75%); }
.tv-screen::before { background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.88)); }
.mtiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin: 12px 0 4px; }
.mtile { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 10px; font-size: 12px; }
.mtile .cover { width: 40px; flex: none; padding: 0; }
.mtile b { display: block; font-size: 13px; }
.mtile small { color: var(--text-3); }
/* Command Center composition (mockups 02/03) */
.cc-row { display: grid; grid-template-columns: 280px minmax(0, 1fr) 300px; gap: 14px; align-items: stretch; }
.cc-row .panel { display: grid; gap: 8px; align-content: start; }
.cc-row h3 { font-size: 13px; }
.pp-mini { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 10px; border: 1px solid var(--line-strong); background: rgba(227,183,74,0.06); }
.pp-mini .pc-ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--gold-hi); }
.pp-mini .pc-ic svg { width: 18px; height: 18px; }
.pp-mini b { display: block; font-family: ui-monospace, Menlo, monospace; color: var(--gold-hi); }
.pp-mini small { color: var(--text-3); font-size: 11px; }
.gate { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gt { --h: 40; min-height: 82px; border-radius: 9px; padding: 10px; display: grid; align-content: end; gap: 1px; border: 1px solid rgba(227,183,74,0.2); background-size: cover; background-position: center;
  background-color: #0c0b10; background-image: radial-gradient(circle at 75% 20%, hsla(var(--h), 80%, 55%, 0.35), transparent 60%); }
.gt:hover { border-color: var(--line-strong); }
.gt b { font-family: var(--display); font-size: 13px; color: var(--gold-hi); }
.gt small { font-size: 10.5px; color: var(--text-2); }
.gt .truth { justify-self: start; margin-top: 4px; }
.lw { display: grid; gap: 6px; padding: 10px 0; border-top: 1px solid var(--line); }
.lw:first-of-type { border-top: 0; }
.lw small { color: var(--text-3); font-size: 11.5px; }
@media (max-width: 1280px) { .cc-row { grid-template-columns: 1fr 1fr; } .cc-gate { grid-column: 1 / -1; grid-row: 1; } }
@media (max-width: 760px) { .cc-row { grid-template-columns: 1fr; } .gate { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rail .rail-pass a.btn { color: #1a1205; justify-content: center; padding: 0 14px; text-transform: none; letter-spacing: 0; font-weight: 700; }
.rail .rail-pass a.pass-card { color: var(--text); text-transform: none; padding: 10px; }
@media (max-width: 760px) {
  .l-hero::before, .k-hero::before { background: linear-gradient(180deg, rgba(4,4,8,0.55), rgba(4,4,8,0.94) 55%); }
  .m-hero-art.art-academy { opacity: 0.3 !important; }
}
.fnow { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.fn { text-align: left; padding: 10px; border-radius: 12px; display: grid; gap: 5px; color: var(--text); }
.fn .cover { width: 100%; }
.fn .truth { justify-self: start; }
.fn b { font-size: 13px; }
.fn small { font-size: 11px; color: var(--text-3); }
.qa { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 6px; }
.qa .btn { justify-content: flex-start; }
.evts { display: grid; gap: 12px; }
.evt { display: flex; gap: 14px; padding: 14px; border-radius: 12px; }
.evt h3 { margin: 0 0 2px; font-size: 16px; text-transform: none; letter-spacing: 0; }
.evt p { margin: 8px 0 0; color: var(--text-2); font-size: 13px; }
.evt-date { width: 58px; flex: none; text-align: center; border: 1px solid var(--line-strong); border-radius: 10px; padding: 6px 0; background: rgba(227,183,74,0.08); align-self: flex-start; }
.evt-date b { display: block; font-size: 11px; letter-spacing: 0.12em; color: var(--gold); }
.evt-date span { font-family: var(--display); font-size: 24px; color: var(--gold-hi); }

/* ── Marketplace: warm sunset manifestation (mockup 10) ─────────── */
body[data-room="market"]::before { background:
  radial-gradient(ellipse at 72% 8%, rgba(255, 158, 70, 0.32), transparent 55%),
  radial-gradient(ellipse at 20% 100%, rgba(255, 120, 40, 0.18), transparent 60%),
  linear-gradient(180deg, rgba(70, 30, 8, 0.45), rgba(14, 7, 4, 0.82)); }
body[data-room="market"] .glass, body[data-room="market"] .panel, body[data-room="market"] .subnav { background: rgba(22, 13, 8, 0.62); box-shadow: 0 0 0 1px rgba(240,180,90,0.28), 0 0 30px rgba(255,160,70,0.10), inset 0 1px 0 rgba(255,220,160,0.08); }
.k-hero.warm { position: relative; border-radius: 16px; overflow: hidden; min-height: 400px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid rgba(240,180,90,0.4); box-shadow: 0 0 40px rgba(255,150,60,0.18); }
.k-hero-art { position: absolute; inset: 0; background-size: cover; background-position: center; filter: saturate(1.1) brightness(0.95); }
.k-hero.warm::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,10,4,0.95) 0%, rgba(30,14,5,0.78) 40%, rgba(40,18,6,0.15) 75%), linear-gradient(0deg, rgba(20,10,4,0.6), transparent 50%); }
.k-hero.warm > * { position: relative; z-index: 2; }
.k-search { position: absolute !important; top: 16px; left: 16px; right: 16px; display: flex; gap: 8px; align-items: center; padding: 6px 6px 6px 12px; border-radius: 12px; }
.k-search > svg { width: 16px; height: 16px; color: var(--gold); flex: none; }
.k-search input { flex: 1; min-width: 0; background: none; border: 0; color: var(--text); font: inherit; font-size: 13px; outline: none; }
.k-search select { background: rgba(0,0,0,0.45); color: var(--text-2); border: 1px solid var(--line); border-radius: 8px; height: 34px; padding: 0 8px; font: inherit; font-size: 12px; }
.k-hero-body { padding: 90px 30px 30px; max-width: 600px; display: grid; gap: 10px; }
.k-hero-body h1 { margin: 0; font-size: 46px; line-height: 1.02; font-weight: 800; letter-spacing: -0.01em; }
.k-hero-body h1 em { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.k-hero-body > p { margin: 0; color: #e9dcc7; max-width: 48ch; }
.k-pillars { list-style: none; margin: 6px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.k-pillars li { display: flex; gap: 8px; align-items: center; }
.k-pillars li > svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--gold-hi); flex: none; }
.k-pillars b { display: block; font-size: 12.5px; }
.k-pillars small { font-size: 11px; color: #cdbfa8; }
.k-video { position: absolute !important; right: 16px; bottom: 16px; display: flex; gap: 10px; align-items: center; padding: 10px 14px 10px 10px; border-radius: 12px; max-width: 280px; }
.k-video .play { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold-hi); flex: none; }
.k-video .play svg { width: 14px; height: 14px; }
.k-video b { display: block; font-size: 13px; }
.k-video small { font-size: 11px; color: #cdbfa8; }
.k-cats { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 8px; margin: 14px 0 6px; }
.k-cat { border-radius: 10px; padding: 6px; display: grid; gap: 6px; justify-items: center; text-align: center; font-size: 11px; color: var(--text-2); }
.k-cat i { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 7px; }
.k-cat.all { align-content: center; border: 1px solid var(--line-strong) !important; color: var(--gold-hi); }
.k-cat.all svg { width: 26px; height: 26px; }
.k-cat:hover { color: var(--text); }
.k-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.k-prod { border-radius: 12px; overflow: hidden; display: grid; }
.k-img { aspect-ratio: 4 / 3.4; position: relative; }
.k-img .truth { position: absolute; top: 8px; left: 8px; background: rgba(20,12,6,0.82); }
.k-body { padding: 10px 12px 12px; display: grid; gap: 4px; }
.k-body b { font-size: 14px; }
.k-body small { font-size: 11px; color: var(--text-3); margin-bottom: 6px; }
.k-sell { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: center; padding: 16px; border-radius: 14px; margin-top: 20px; }
.k-sell-art { border-radius: 10px; aspect-ratio: 1; }
.k-sell h2 { margin: 6px 0; font-size: 22px; }
.k-sell p { margin: 0 0 12px; color: var(--text-2); }
.shop-thumb { aspect-ratio: 16 / 9; border-radius: 8px; margin-bottom: 4px; }
.k-cart h3 { display: flex; gap: 8px; align-items: center; }
.k-cart h3 svg, .k-impact h3 svg { width: 16px; height: 16px; color: var(--gold); }
.k-count { min-width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; background: var(--gold-grad); color: #1a1205; font-weight: 700; font-size: 12px; }
.k-cart .owner svg { width: 12px; height: 12px; vertical-align: -2px; }
@media (max-width: 1280px) { .k-cats { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .k-hero.warm { min-height: 0; }
  .k-hero.warm::before { background: linear-gradient(180deg, rgba(20,10,4,0.55), rgba(20,10,4,0.95) 55%); }
  .k-search select { display: none; }
  .k-hero-body { padding: 80px 18px 20px; }
  .k-hero-body h1 { font-size: 32px; }
  .k-video { position: static !important; margin: 0 16px 16px; max-width: none; }
  .k-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .k-sell { grid-template-columns: 1fr; }
  .k-sell-art { aspect-ratio: 16 / 9; }
}
.k-hero.warm > .k-hero-art { position: absolute; inset: 0; z-index: 0; }
.k-hero.warm > .k-video { top: 76px; bottom: auto; }
@media (max-width: 760px) { .k-hero.warm > .k-video { position: static !important; } }
.k-hero.warm { align-items: stretch; }
.k-hero.warm > .k-hero-art { left: 38%; }
.k-hero.warm::before { background: linear-gradient(90deg, rgba(24,12,5,1) 0%, rgba(24,12,5,0.96) 36%, rgba(30,14,5,0.55) 52%, rgba(40,18,6,0.05) 78%), linear-gradient(0deg, rgba(20,10,4,0.55), transparent 45%); }
@media (max-width: 760px) { .k-hero.warm > .k-hero-art { left: 0; } }
@media (max-width: 760px) {
  .k-hero.warm::before { background: linear-gradient(180deg, rgba(24,12,5,0.55) 0%, rgba(24,12,5,0.9) 30%, rgba(24,12,5,0.96) 100%); }
  .k-hero.warm > .k-hero-art { opacity: 0.75; }
}
@media (max-width: 760px) { .k-hero.warm > .k-hero-art { opacity: 0.22 !important; } }
/* golden hour, not dusk */
body[data-room="market"]::before { background:
  radial-gradient(ellipse at 68% -5%, rgba(255, 178, 90, 0.55), transparent 50%),
  radial-gradient(ellipse at 15% 10%, rgba(255, 120, 80, 0.22), transparent 45%),
  radial-gradient(ellipse at 50% 110%, rgba(255, 150, 60, 0.30), transparent 55%),
  linear-gradient(180deg, rgba(90, 42, 12, 0.35), rgba(20, 10, 5, 0.7)); }
body[data-room="market"] .glass, body[data-room="market"] .panel, body[data-room="market"] .subnav { background: rgba(36, 21, 11, 0.55); }
body[data-room="market"] .rail, body[data-room="market"] .top { background: rgba(26, 14, 7, 0.82); }

/* ── Events / Games / Passport / Journey warmth ──────────────── */
body[data-room="events"]::before { background: radial-gradient(ellipse at 75% 0%, rgba(255, 90, 160, 0.22), transparent 55%), radial-gradient(ellipse at 20% 100%, rgba(227, 183, 74, 0.22), transparent 60%), linear-gradient(180deg, rgba(30, 8, 26, 0.35), rgba(5, 3, 8, 0.8)); }
body[data-room="games"]::before { background: radial-gradient(ellipse at 70% 10%, rgba(120, 90, 255, 0.28), transparent 55%), radial-gradient(ellipse at 15% 90%, rgba(79, 209, 255, 0.18), transparent 60%), linear-gradient(180deg, rgba(8, 6, 30, 0.4), rgba(3, 3, 10, 0.82)); }
.ev-hero, .gm-hero { min-height: 300px; }
.ev-hero::after { background: linear-gradient(90deg, rgba(8,4,10,0.95) 0%, rgba(8,4,10,0.6) 55%, rgba(8,4,10,0.1)) !important; }
.gm-hero::after { background: none !important; }
.ev-steps { list-style: none; margin: 14px 0 4px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ev-steps li { border-radius: 12px; padding: 14px; display: grid; gap: 4px; }
.ev-steps span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: #1a1205; font-weight: 800; font-size: 13px; }
.ev-steps b { font-size: 15px; }
.ev-steps small { color: var(--text-2); font-size: 12px; }
.ev-empty { display: flex; gap: 18px; align-items: center; padding: 18px; border-radius: 14px; }
.ev-empty p { margin: 4px 0 10px; color: var(--text-2); }
.evt-date.big { width: 86px; padding: 10px 0; }
.evt-date.big span { font-size: 36px; }
.gm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gm-grid h3 { display: flex; gap: 8px; align-items: center; }
.gm-grid h3 svg { width: 16px; height: 16px; color: var(--gold); }
.gm-keys { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gm-keys li { display: grid; justify-items: center; gap: 4px; font-size: 11px; color: var(--text-2); }
kbd { font: 600 11px ui-monospace, Menlo, monospace; padding: 5px 8px; border-radius: 6px; border: 1px solid var(--line-strong); background: rgba(0,0,0,0.45); color: var(--gold-hi); box-shadow: 0 2px 0 rgba(227,183,74,0.25); }
.pp-example { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 14px; align-items: stretch; }
.pp-card-ex { border-radius: 16px; padding: 18px; position: relative; display: grid; gap: 10px; background: radial-gradient(ellipse at 100% 0%, rgba(227,183,74,0.22), transparent 55%), linear-gradient(135deg, rgba(30,24,12,0.9), rgba(8,8,8,0.85)) !important; border: 1px solid var(--line-strong) !important; }
.pp-card-ex svg[viewBox="0 0 64 56"] { width: 38px; height: 34px; }
.pp-card-ex .num { font-family: ui-monospace, Menlo, monospace; font-size: 20px; letter-spacing: 0.08em; color: var(--gold-hi); }
.pp-card-ex small { color: var(--text-3); font-size: 11.5px; }
.pp-ex-qr { position: absolute; right: 16px; bottom: 44px; width: 64px; height: 64px; border-radius: 8px; background: #f3efe6; color: #0a0a0a; display: grid; place-items: center; }
.pp-ex-qr svg { width: 44px; height: 44px; }
.pp-benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pp-benefits li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; }
.pp-benefits li > svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.pp-benefits b { display: block; }
.pp-benefits small { color: var(--text-2); font-size: 12px; }
.j-path { list-style: none; margin: 16px 0 0; padding: 0; display: flex; gap: 0; flex-wrap: wrap; position: relative; }
.j-path li { display: flex; align-items: center; gap: 8px; padding: 6px 16px 6px 0; font-size: 13px; color: var(--text-3); }
.j-path li + li::before { content: ""; width: 28px; height: 2px; background: rgba(227,183,74,0.3); margin-right: 8px; }
.j-path span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); font-size: 12px; }
.j-path li.done { color: var(--text); }
.j-path li.done span { background: var(--gold-grad); color: #1a1205; border-color: transparent; font-weight: 800; }
@media (max-width: 980px) { .gm-grid, .ev-steps { grid-template-columns: 1fr; } .pp-example { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .pp-benefits { grid-template-columns: 1fr; } }
.pp-card-ex .truth { justify-self: start; }
.pp-card-ex small { max-width: 72%; }
.pp-ex-qr { top: 16px; bottom: auto; }
.set-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.set-list li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px; }
.set-list .t { font-weight: 600; }
.set-list .s { font-size: 12.5px; color: var(--text-3); }
.set-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line-strong); background: rgba(227,183,74,0.08); color: var(--gold-hi); flex: none; }
.set-ic svg { width: 18px; height: 18px; }
.set-list .grow { flex: 1; min-width: 0; }
/* ── Creator destination (Wavemotion public face), current-gen ── */
.c-hero { border-radius: 16px; overflow: hidden; }
.c-cover { height: 170px; background-size: cover; background-position: center 40%; position: relative; }
.c-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(8,8,10,0.95)); }
.c-id { display: flex; gap: 22px; align-items: flex-start; padding: 0 24px 22px; margin-top: -84px; position: relative; }
.c-id .c-avatar { width: 150px; height: 150px; font-size: 54px; flex: none; box-shadow: 0 0 0 6px rgba(8,8,10,0.9), 0 0 40px rgba(227,183,74,0.3); }
.c-id h1 { margin: 6px 0 0; font-size: 30px; }
.c-id .h { color: var(--text-3); font-size: 13px; }
.c-bio { margin: 10px 0 0; color: var(--text-2); max-width: 60ch; }
.c-id > .grow { padding-top: 88px; }
.c-actions { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important; }
.c-action { padding: 0 !important; overflow: hidden; display: grid !important; gap: 4px; border-radius: 12px !important; }
.c-action > .k, .c-action > .l, .c-action > .owner { padding: 0 14px; }
.c-action > .owner { padding-bottom: 14px; }
.c-art { display: block; height: 96px; background-size: cover; background-position: center; position: relative; margin-bottom: 8px; }
.c-art.art-academy { height: 96px; }
.c-link h3 { display: flex; gap: 8px; align-items: center; }
.c-link h3 svg { width: 16px; height: 16px; color: var(--gold); }
.c-qr { width: 150px; height: 150px; margin: 12px auto; background: #f3efe6; border-radius: 10px; padding: 6px; }
.c-qr svg { width: 100%; height: 100%; }
.c-url { display: block; text-align: center; font-size: 12px; color: var(--gold-hi); margin-bottom: 10px; word-break: break-all; }
@media (max-width: 760px) {
  .c-id { flex-direction: column; align-items: center; text-align: center; margin-top: -70px; }
  .c-id .c-avatar { width: 120px; height: 120px; font-size: 42px; }
  .c-id > .grow { padding-top: 0; }
  .c-id .row { justify-content: center; }
}
.payout-card h3, .payout-card h3 svg { display: inline-flex; gap: 8px; align-items: center; }
.payout-card h3 svg { width: 16px; height: 16px; color: var(--gold); }
.adm-handle { height: 34px; padding: 0 10px; border-radius: 8px; border: 1px solid #2f2b22; background: #0c0c0e; color: var(--text); font: inherit; font-size: 13px; }

/* Terms + Privacy */
.legal-wrap { display: grid; gap: 12px; max-width: 820px; }
.legal { padding: 18px 20px; border-radius: 14px; }
.legal h2 { font-size: 1.05rem; margin: 0 0 8px; color: var(--gold); }
.legal p { margin: 0 0 8px; line-height: 1.6; color: var(--text-2, #c9c6bd); }
.legal p:last-child { margin-bottom: 0; }
.pp h1.num { margin: 6px 0; font-weight: 400; line-height: 1.2; }

/* Report content */
.report { position: relative; }
.report > summary { list-style: none; cursor: pointer; }
.report > summary::-webkit-details-marker { display: none; }
.report-form { display: grid; gap: 8px; margin-top: 8px; padding: 12px; border-radius: 12px; background: var(--glass, rgba(255,255,255,.04)); border: 1px solid var(--line, rgba(212,175,55,.2)); min-width: min(320px, 80vw); }
.report-form label { display: grid; gap: 4px; font-size: 13px; color: var(--text-2); }
.report-form select, .report-form textarea { background: #0b0b10; color: var(--text, #f3efe6); border: 1px solid var(--line, #333); border-radius: 8px; padding: 8px; font: inherit; }

/* Links inside running text are underlined, not told apart by colour alone (WCAG 1.4.1). */
.banner a, .owner a, .legal p a, p a:not(.btn), .toast a { text-decoration: underline; text-underline-offset: 2px; }
.rail a[aria-current="page"] span small { opacity: 1; } /* worst gradient stop: 5.72:1 (was 4.31:1 faded) */

/* ATH family mark — small, quiet, on every ATH app */
.ath-badge { display: flex; align-items: center; gap: 8px; margin: 14px 12px 4px; padding: 8px 10px; border-radius: 10px; font-size: 11px; letter-spacing: 0.04em; color: var(--text-2); border: 1px solid rgba(227,183,74,0.18); text-decoration: none; }
.ath-badge img { width: 14px; height: auto; flex: none; }
.ath-badge:hover, .ath-badge:focus-visible { color: var(--gold-hi); border-color: rgba(227,183,74,0.45); }

/* Agreements: who is signing; content rights */
.age-basis { border: 1px solid rgba(227,183,74,0.2); border-radius: 12px; padding: 12px 14px; display: grid; gap: 8px; margin: 4px 0; }
.age-basis legend { padding: 0 6px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-hi); }
.age-basis .guardian { display: grid; gap: 8px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,0.08); }
.age-basis .guardian[hidden] { display: none; }
.rights-new { margin-top: 12px; }
.rights-new > summary { list-style: none; cursor: pointer; display: inline-flex; }
.rights-new > summary::-webkit-details-marker { display: none; }
.rights-new[open] > summary { margin-bottom: 12px; }
