/* ==========================================================================
   Neon City, Tonight — the world around LUNARA #1
   One night in Neon City. The site keeps the city's clock: what you can see
   follows how far into the night you have read.
   Wet black, magenta neon, cyan signage, gold hardware.
   ========================================================================== */

:root {
  --ink: #06040b;
  --ink-2: #0c0915;
  --ink-3: #141022;
  --panel: rgba(17, 12, 32, 0.78);
  --panel-solid: #110c20;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);

  --magenta: #ff2ebe;
  --magenta-2: #ff6ad5;
  --cyan: #37e6ff;
  --gold: #e2b64a;
  --gold-2: #f5d27a;
  --red: #e8203c;

  --text: #f1ebf8;
  --text-mute: #ada3c1;
  --text-dim: #706788;

  --font-display: "Chakra Petch", "Space Grotesk", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-tag: "Permanent Marker", "Chakra Petch", cursive;
  --font-hud: "Share Tech Mono", ui-monospace, "Cascadia Mono", monospace;

  --w: 1200px;
  --r: 8px;
  --hud-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hud-h) + 12px); }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #fff; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: 0.01em; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--magenta); color: #000; padding: 8px 12px; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* the city's weather: a faint haze and rain over everything (pure CSS) */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(1100px 600px at 85% -10%, rgba(255,46,190,.13), transparent 60%),
              radial-gradient(900px 500px at -10% 30%, rgba(55,230,255,.08), transparent 60%),
              linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); }

.wrap { width: min(var(--w), calc(100% - 32px)); margin: 0 auto; }
.section { padding: 72px 0; position: relative; }
.section.tight { padding: 44px 0; }
.kicker { display: inline-block; font-family: var(--font-display); font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--magenta-2); margin-bottom: 10px; }
.kicker.cyan { color: var(--cyan); } .kicker.gold { color: var(--gold); }
.h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); text-transform: uppercase; }
.lede { color: var(--text-mute); font-size: 1.05rem; max-width: 62ch; }
.tag { font-family: var(--font-tag); font-weight: 400; letter-spacing: .02em; }
.hud { font-family: var(--font-hud); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: #fff; background: linear-gradient(135deg, var(--magenta), #b0168a); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 12px 22px; cursor: pointer; box-shadow: 0 0 24px rgba(255,46,190,.35); transition: transform .2s var(--ease), box-shadow .2s; }
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 0 34px rgba(255,46,190,.55); }
.btn.ghost { background: rgba(255,255,255,.03); border-color: var(--line-2); box-shadow: none; color: var(--text); }
.btn.ghost:hover { border-color: var(--cyan); color: #fff; box-shadow: 0 0 22px rgba(55,230,255,.25); }
.btn.gold { background: linear-gradient(135deg, #f0c75e, #9c7420); color: #120c02; box-shadow: 0 0 24px rgba(226,182,74,.35); }
.btn.small { padding: 8px 14px; font-size: .68rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 10px; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   The HUD: brand · rooms · the night clock · crowns
   ========================================================================== */
.n-header { position: sticky; top: 0; z-index: 50; height: var(--hud-h); display: flex; align-items: center; gap: 18px; padding: 0 20px; background: rgba(6,4,11,.82); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line); }
.n-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,46,190,.6), rgba(55,230,255,.5), transparent); opacity: .6; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); flex: 0 0 auto; }
.brand img { width: 36px; height: 36px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(255,46,190,.5)); }
.brand b { display: block; font-family: var(--font-display); font-size: .92rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.1; }
.brand small { display: block; font-family: var(--font-display); font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--magenta-2); }
.brand:hover { color: #fff; }

.dock { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.dock a { position: relative; display: flex; align-items: center; gap: 7px; font-family: var(--font-display); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); padding: 8px 11px; border-radius: 8px; white-space: nowrap; }
.dock a svg { width: 17px; height: 17px; flex: 0 0 auto; opacity: .8; }
.dock a:hover { color: #fff; background: rgba(255,255,255,.04); }
.dock a[aria-current="page"] { color: #fff; }
.dock a[aria-current="page"]::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 1px; height: 2px; border-radius: 2px; background: var(--magenta); box-shadow: 0 0 10px var(--magenta); }
.dock .more { display: none; }

/* the night clock */
.tonight { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; cursor: pointer; background: rgba(55,230,255,.05); border: 1px solid rgba(55,230,255,.28); border-radius: 999px; padding: 5px 14px 5px 10px; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.tonight:hover, .tonight[aria-expanded="true"] { border-color: var(--cyan); box-shadow: 0 0 20px rgba(55,230,255,.25); }
.tonight .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 2.2s ease-in-out infinite; }
.tonight .t-clock { font-family: var(--font-hud); font-size: 1.02rem; letter-spacing: .04em; color: #fff; }
.tonight .t-where { font-family: var(--font-display); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-mute); max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.est { color: var(--text-dim); }

.crowns { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; background: rgba(226,182,74,.06); border: 1px solid rgba(226,182,74,.35); border-radius: 999px; padding: 4px 12px 4px 6px; cursor: pointer; color: var(--gold-2); font-family: var(--font-hud); font-size: .95rem; }
.crowns img { width: 22px; height: 22px; object-fit: contain; }
.crowns.bump { animation: bump .6s var(--ease); }
@keyframes bump { 30% { transform: scale(1.25); box-shadow: 0 0 30px rgba(226,182,74,.7); } }

/* popovers hanging from the HUD */
.pop { position: fixed; z-index: 70; top: calc(var(--hud-h) + 8px); right: 16px; width: min(400px, calc(100vw - 24px)); background: rgba(12,9,21,.97); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(55,230,255,.08); padding: 18px 18px 16px; animation: rise .25s var(--ease); }
.pop h3 { font-size: .74rem; letter-spacing: .26em; text-transform: uppercase; color: var(--cyan); margin-bottom: 10px; }
.pop .big { font-family: var(--font-hud); font-size: 2.1rem; line-height: 1; color: #fff; text-shadow: 0 0 18px rgba(55,230,255,.5); }
.pop .where { font-family: var(--font-display); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); margin: 6px 0 12px; }
.pop p { font-size: .9rem; color: var(--text-mute); margin: 0 0 12px; }
.pop .x { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; color: var(--text-mute); }
.levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 4px 0 12px; }
.levels button { font-family: var(--font-display); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; padding: 8px 4px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; color: var(--text-mute); }
.levels button:hover { color: #fff; border-color: var(--cyan); }
.levels button[aria-pressed="true"] { color: #fff; border-color: var(--magenta); background: rgba(255,46,190,.12); }
.pop .fine { font-size: .76rem; color: var(--text-dim); margin: 10px 0 0; }
.crown-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 10px 0 12px; }
.crown-grid span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; border: 1px dashed var(--line-2); background: rgba(255,255,255,.02); }
.crown-grid span img { width: 70%; height: 70%; object-fit: contain; }
.crown-grid span.got { border-style: solid; border-color: rgba(226,182,74,.45); background: radial-gradient(circle, rgba(226,182,74,.18), transparent 70%); }
.crown-rooms { display: grid; gap: 4px; font-size: .84rem; color: var(--text-mute); margin-bottom: 4px; }
.crown-rooms div { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding: 3px 0; }
.crown-rooms b { font-family: var(--font-hud); color: var(--gold-2); font-weight: 400; }

/* toasts */
.toasts { position: fixed; z-index: 90; left: 16px; bottom: 16px; display: grid; gap: 10px; width: min(360px, calc(100vw - 32px)); pointer-events: none; }
.toast { pointer-events: auto; display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: center; background: rgba(12,9,21,.97); border: 1px solid rgba(55,230,255,.4); border-radius: 14px; padding: 10px 14px 10px 10px; box-shadow: 0 20px 50px rgba(0,0,0,.6), 0 0 26px rgba(55,230,255,.15); color: var(--text); animation: rise .35s var(--ease); transition: opacity .4s, transform .4s; }
.toast.out { opacity: 0; transform: translateY(10px); }
.toast img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--hue, var(--cyan)); }
.toast img.obj { border-radius: 8px; border: 0; object-fit: contain; }
.toast b { display: block; font-family: var(--font-display); font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); }
.toast span { display: block; font-size: .92rem; line-height: 1.35; }
.toast.gold { border-color: rgba(226,182,74,.55); box-shadow: 0 20px 50px rgba(0,0,0,.6), 0 0 26px rgba(226,182,74,.2); }
.toast.gold b { color: var(--gold-2); }
.toast a { color: inherit; }

/* crown tags: hidden around the city */
.crown { position: absolute; z-index: 5; width: 34px; height: 38px; padding: 0; border: 0; background: none; cursor: pointer; opacity: .82; transition: transform .25s var(--ease), opacity .25s, filter .25s; filter: drop-shadow(0 0 6px rgba(0,0,0,.8)); }
.crown img { width: 100%; height: 100%; object-fit: contain; }
.crown:hover { opacity: 1; transform: scale(1.25) rotate(-6deg); filter: drop-shadow(0 0 12px rgba(226,182,74,.9)); }
.crown.inline { position: relative; display: inline-block; vertical-align: middle; }
.crown.got { opacity: .28; filter: grayscale(.6); cursor: default; }
.crown.got:hover { transform: none; }
.crown.fly { animation: crownfly .7s var(--ease) forwards; pointer-events: none; }
@keyframes crownfly { 40% { transform: scale(1.8) rotate(-10deg); opacity: 1; filter: drop-shadow(0 0 22px rgba(226,182,74,1)); } 100% { transform: scale(.4) translateY(-60px); opacity: 0; } }

/* phone: the rooms move to a dock at the bottom of the screen */
@media (max-width: 1080px) {
  .dock a span { display: none; }
  .dock a { padding: 8px 9px; }
}
@media (max-width: 760px) {
  :root { --hud-h: 56px; }
  .n-header { padding: 0 12px; gap: 10px; backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(6,4,11,.96); }
  .brand b { font-size: .78rem; } .brand small { display: none; } .brand img { width: 30px; height: 30px; }
  .tonight { margin-left: auto; padding: 4px 10px 4px 8px; }
  .tonight .t-where { display: none; }
  .crowns { padding: 3px 8px 3px 4px; font-size: .85rem; }
  .crowns img { width: 18px; height: 18px; }
  .dock { position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; margin: 0; justify-content: space-around; gap: 0; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: rgba(6,4,11,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line-2); }
  .dock a { flex-direction: column; gap: 3px; font-size: .52rem; letter-spacing: .1em; padding: 4px 4px; min-width: 56px; }
  .dock a span { display: block; }
  .dock a svg { width: 21px; height: 21px; }
  .dock a.wide-only { display: none; }
  .dock .more { display: flex; }
  .dock a[aria-current="page"]::after { left: 30%; right: 30%; bottom: -2px; }
  body { padding-bottom: 70px; }
  .toasts { bottom: 84px; left: 12px; }
  .pop { right: 12px; left: 12px; width: auto; }
}
.more-sheet { position: fixed; z-index: 80; left: 12px; right: 12px; bottom: 84px; background: rgba(12,9,21,.98); border: 1px solid var(--line-2); border-radius: 16px; padding: 10px; display: grid; gap: 4px; box-shadow: 0 30px 80px rgba(0,0,0,.7); animation: rise .25s var(--ease); }
.more-sheet a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; color: var(--text); font-family: var(--font-display); letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; }
.more-sheet a:hover { background: rgba(255,255,255,.04); }
.more-sheet svg { width: 20px; height: 20px; color: var(--cyan); }

/* ==========================================================================
   Locked things: what the night hasn't shown you yet
   ========================================================================== */
.gate { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 16px; border: 1px dashed rgba(55,230,255,.35); border-radius: 12px; color: var(--text-mute); font-size: .9rem; background: rgba(55,230,255,.03); }
.gate .lock { flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(55,230,255,.4); color: var(--cyan); font-size: .9rem; }
.gate a { margin-left: auto; white-space: nowrap; font-family: var(--font-display); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.scramble { font-family: var(--font-hud); letter-spacing: .08em; color: var(--text-dim); }

/* ==========================================================================
   Front door
   ========================================================================== */
.door { position: relative; min-height: calc(100svh - var(--hud-h)); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.door .sky { position: absolute; inset: 0; z-index: -2; }
.door .sky img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform-origin: 60% 50%; animation: drift 60s ease-in-out infinite alternate; transition: opacity 1.2s; }
.door .sky img.late { position: absolute; inset: 0; opacity: 0; }
.door.is-late .sky img.late { opacity: 1; }
@keyframes drift { from { transform: scale(1.04) translateX(0); } to { transform: scale(1.12) translateX(-2%); } }
.door::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,4,11,.35) 0%, rgba(6,4,11,0) 30%, rgba(6,4,11,.25) 55%, rgba(6,4,11,.92) 88%, var(--ink) 100%), linear-gradient(90deg, rgba(6,4,11,.75) 0%, rgba(6,4,11,0) 60%); }
.rain { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .16; mix-blend-mode: screen;
  background-image: repeating-linear-gradient(104deg, transparent 0 31px, rgba(190,225,255,.5) 31px 32px, transparent 32px 71px), repeating-linear-gradient(101deg, transparent 0 53px, rgba(190,225,255,.35) 53px 54px, transparent 54px 97px);
  background-size: 211px 263px, 307px 389px; animation: rain .9s linear infinite; }
.door.is-late .rain { opacity: .32; }
@keyframes rain { to { background-position: -60px 263px, -95px 389px; } }
.door-in { position: relative; width: min(var(--w), calc(100% - 32px)); margin: 0 auto; padding: 0 0 64px; }
.door .issue { font-family: var(--font-display); font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: var(--magenta-2); margin-bottom: 14px; display: flex; gap: 10px; align-items: center; }
.door .issue::before { content: ""; width: 34px; height: 2px; background: var(--magenta); box-shadow: 0 0 10px var(--magenta); }
.door h1 { font-size: clamp(2.6rem, 7.4vw, 6.2rem); text-transform: uppercase; letter-spacing: .02em; line-height: .92; text-shadow: 0 6px 40px rgba(0,0,0,.7); }
.door h1 .tag { display: block; font-size: .78em; text-transform: none; color: var(--magenta); text-shadow: 0 0 30px rgba(255,46,190,.6); transform: rotate(-3deg); transform-origin: left; margin-top: .08em; }
.door .clock { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin: 28px 0 8px; }
.door .clock b { font-family: var(--font-hud); font-weight: 400; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; color: #fff; text-shadow: 0 0 26px rgba(55,230,255,.65); }
.door .clock span { font-family: var(--font-display); font-size: .82rem; letter-spacing: .24em; text-transform: uppercase; color: var(--cyan); }
.door .says { color: var(--text-mute); max-width: 56ch; font-size: 1.05rem; margin: 0 0 24px; }
.door .says b { color: var(--text); font-weight: 500; }
.door .crown { right: 18%; top: 34%; }

/* the rooms */
.rooms { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: 28px; }
.room { --hue: var(--magenta); position: relative; grid-column: span 3; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); color: var(--text); isolation: isolate; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.room.big { grid-column: span 6; min-height: 380px; }
.room img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.room::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,4,11,0) 25%, rgba(6,4,11,.7) 60%, rgba(6,4,11,.96) 100%); }
.room .in { text-shadow: 0 2px 12px rgba(0,0,0,.8); }
.room:hover { color: var(--text); border-color: var(--hue); transform: translateY(-4px); box-shadow: 0 0 40px color-mix(in srgb, var(--hue) 30%, transparent); }
.room:hover img { transform: scale(1.06); }
.room .in { padding: 20px 22px; }
.room .k { font-family: var(--font-display); font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--hue); }
.room h3 { font-size: 1.5rem; text-transform: uppercase; margin: 4px 0 6px; }
.room p { margin: 0; font-size: .92rem; color: var(--text-mute); }
.room .soon { position: absolute; top: 14px; right: 14px; font-family: var(--font-display); font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-mute); background: rgba(6,4,11,.75); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 9px; }
@media (max-width: 960px) { .rooms { grid-template-columns: repeat(2, 1fr); } .room, .room.big { grid-column: span 1; min-height: 240px; } .room.big { grid-column: span 2; } }
@media (max-width: 560px) { .rooms { grid-template-columns: 1fr; } }

/* ==========================================================================
   Page header (inner rooms)
   ========================================================================== */
.room-head { position: relative; padding: 44px 0 26px; }
.room-head h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); text-transform: uppercase; }
.room-head .lede { margin: 10px 0 0; }
.room-head .meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

/* ==========================================================================
   Contacts
   ========================================================================== */
.contacts { display: grid; grid-template-columns: 400px 1fr; gap: 28px; align-items: start; padding-bottom: 80px; }
.phone { position: sticky; top: calc(var(--hud-h) + 16px); border-radius: 34px; padding: 12px; background: linear-gradient(160deg, #2a2116, #0e0b08 40%, #1d160c); box-shadow: 0 40px 90px rgba(0,0,0,.7), inset 0 0 0 1px rgba(226,182,74,.45), 0 0 50px rgba(55,230,255,.12); }
.phone-in { border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, rgba(10,24,34,.96), rgba(6,10,18,.98)); border: 1px solid rgba(55,230,255,.45); box-shadow: inset 0 0 40px rgba(55,230,255,.12); max-height: calc(100vh - var(--hud-h) - 60px); display: flex; flex-direction: column; }
.phone-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px 6px; font-family: var(--font-hud); font-size: .82rem; color: var(--cyan); }
.phone-top .sig { letter-spacing: .1em; color: var(--text-mute); }
.phone h2 { padding: 4px 18px 2px; font-size: 1.5rem; letter-spacing: .1em; text-transform: uppercase; }
.phone .count { padding: 0 18px 10px; font-family: var(--font-display); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-mute); }
.c-list { list-style: none; margin: 0; padding: 4px 8px 12px; overflow-y: auto; scrollbar-width: thin; }
.c-row { --hue: var(--cyan); display: grid; grid-template-columns: 50px 1fr auto; gap: 12px; align-items: center; width: 100%; padding: 9px 10px; border-radius: 14px; border: 1px solid transparent; background: none; text-align: left; cursor: pointer; color: var(--text); transition: background .2s, border-color .2s; }
.c-row:hover { background: rgba(255,255,255,.04); }
.c-row[aria-current="true"] { background: rgba(55,230,255,.08); border-color: rgba(55,230,255,.35); }
.c-row .av { width: 50px; height: 50px; }
.c-row b { display: block; font-family: var(--font-display); font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; }
.c-row .st { display: block; font-size: .74rem; color: var(--text-mute); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-row .t { font-family: var(--font-hud); font-size: .74rem; color: var(--text-dim); align-self: start; padding-top: 4px; white-space: nowrap; text-align: right; }
.c-row.new .t::after { content: "NEW"; display: block; margin-top: 4px; font-family: var(--font-display); font-size: .54rem; letter-spacing: .18em; color: #000; background: var(--cyan); border-radius: 4px; padding: 1px 5px; text-align: center; }
.c-row.is-locked { cursor: default; opacity: .75; }
.c-row.is-locked .av img { filter: blur(6px) grayscale(1) brightness(.5); }
.c-row.is-locked .av { background: repeating-conic-gradient(rgba(255,255,255,.2) 0 10deg, transparent 10deg 20deg); }
.c-row.is-locked .real { display: none; }
.c-row:not(.is-locked) .enc-only { display: none; }
.c-row.is-locked b { font-family: var(--font-hud); letter-spacing: .14em; color: var(--text-dim); }

.profile { min-height: 70vh; }
.profile-empty { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); min-height: 560px; display: flex; align-items: flex-end; }
.profile-empty img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.profile-empty::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 30%, rgba(6,4,11,.92)); }
.profile-empty div { position: relative; z-index: 2; padding: 28px; }
.profile-empty .crown { right: 9%; top: 18%; }
.card { --hue: var(--cyan); animation: rise .35s var(--ease); }
.p-hero { position: relative; display: grid; grid-template-columns: 260px 1fr; gap: 26px; align-items: end; padding: 22px; border-radius: 20px; background: radial-gradient(600px 300px at 0% 0%, color-mix(in srgb, var(--hue) 22%, transparent), transparent 70%), var(--panel); border: 1px solid var(--line); overflow: hidden; }
.p-hero::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--hue); box-shadow: 0 0 16px var(--hue); }
.p-por { position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid var(--line-2); }
.p-por img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.p-por.logo img { object-fit: contain; padding: 22px; }
.p-role { font-family: var(--font-display); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--hue); }
.p-hero h2 { font-size: clamp(2rem, 4vw, 3.2rem); text-transform: uppercase; margin: 4px 0 6px; }
.p-aka { font-size: .9rem; color: var(--text-mute); margin-bottom: 10px; }
.p-status { display: flex; align-items: center; gap: 10px; margin: 12px 0 14px; padding: 9px 12px; border-radius: 10px; background: rgba(0,0,0,.35); border: 1px solid var(--line); font-size: .86rem; color: var(--text-mute); }
.p-status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--hue); box-shadow: 0 0 10px var(--hue); flex: 0 0 auto; }
.p-status .hud { color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.p-sig { margin: 16px 0 0; font-family: var(--font-tag); font-size: 1.25rem; line-height: 1.35; color: var(--text); }
.p-sig small { display: block; font-family: var(--font-display); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-dim); margin-top: 4px; }
.p-cols { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; margin-top: 22px; align-items: start; }
.box { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 14px; margin-bottom: 18px; }
.box > h3 { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.box > h3 em { font-style: normal; color: var(--hue, var(--cyan)); }
.box p { color: var(--text-mute); font-size: .95rem; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: .92rem; }
.facts dt { font-family: var(--font-display); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); padding-top: 3px; }
.facts dd { margin: 0; color: var(--text); }

/* messages: a contact's night as a thread */
.thread { display: grid; gap: 14px; }
.msg { display: grid; grid-template-columns: 1fr 92px; gap: 12px; align-items: start; }
.msg .stamp { grid-column: 1 / -1; font-family: var(--font-hud); font-size: .72rem; color: var(--text-dim); text-align: center; margin: 4px 0 -4px; }
.msg .stamp span { color: var(--cyan); }
.msg .bub { position: relative; background: color-mix(in srgb, var(--hue) 12%, rgba(255,255,255,.03)); border: 1px solid color-mix(in srgb, var(--hue) 35%, transparent); border-radius: 4px 16px 16px 16px; padding: 10px 14px; }
.msg .bub q { display: block; font-size: 1.02rem; color: #fff; quotes: "“" "”"; margin-bottom: 4px; }
.msg .bub q[data-who]::before { content: attr(data-who) " · "; font-family: var(--font-display); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); vertical-align: middle; }
.msg .bub p { margin: 0; font-size: .88rem; color: var(--text-mute); line-height: 1.45; }
.msg a.pan { display: block; border-radius: 8px; overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 1; background: #000; transition: border-color .2s, transform .2s; }
.msg a.pan:hover { border-color: var(--hue); transform: scale(1.04); }
.msg a.pan img { width: 100%; height: 100%; object-fit: cover; }
.ties { display: grid; gap: 8px; }
.tie { display: grid; grid-template-columns: 42px 1fr; gap: 10px; align-items: center; color: var(--text); padding: 6px; border-radius: 10px; }
.tie:hover { background: rgba(255,255,255,.04); color: var(--text); }
.tie img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: #000; border: 1px solid var(--line-2); }
.tie img.sq { border-radius: 8px; object-fit: contain; }
.tie b { display: block; font-family: var(--font-display); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.tie span { display: block; font-size: .8rem; color: var(--text-mute); line-height: 1.35; }
.mark-box { display: grid; grid-template-columns: 70px 1fr; gap: 14px; align-items: center; }
.mark-box img { width: 70px; height: 70px; object-fit: contain; }
.mark-box p { margin: 0 0 4px; font-size: .88rem; }
.mark-box em { font-family: var(--font-tag); font-style: normal; color: var(--hue); }
.p-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.back-list { display: none; }
@media (max-width: 1020px) {
  .contacts { grid-template-columns: 1fr; }
  .phone { position: relative; top: 0; max-width: 460px; margin: 0 auto; width: 100%; }
  .phone-in { max-height: none; }
  .profile { min-height: 0; }
  .profile-empty { display: none; }
  .contacts.has-card .phone { display: none; }
  .back-list { display: inline-flex; margin-bottom: 14px; }
}
@media (max-width: 680px) {
  .p-hero { grid-template-columns: 1fr; padding: 16px; }
  .p-por { max-width: 260px; }
  .p-cols { grid-template-columns: 1fr; }
  .msg { grid-template-columns: 1fr 70px; }
}

/* ==========================================================================
   The City
   ========================================================================== */
.city { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 26px; align-items: start; padding-bottom: 40px; }
.map-wrap { position: relative; }
.map { position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: #02040a; box-shadow: 0 40px 90px rgba(0,0,0,.6); }
.map > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) brightness(.82); }
.map::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 50%, transparent 55%, rgba(2,4,10,.6) 100%); }
.map svg.route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.route .trail { fill: none; stroke: var(--magenta); stroke-width: .55; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 1.2px var(--magenta)); stroke-dasharray: 1.4 1.1; animation: march 1.6s linear infinite; }
.route .ahead { fill: none; stroke: var(--gold); stroke-width: .4; stroke-dasharray: .6 1.2; opacity: .85; }
@keyframes march { to { stroke-dashoffset: -5; } }
.pin-m { --hue: var(--magenta); position: absolute; transform: translate(-9px, -50%); z-index: 3; display: flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer; color: #fff; }
.pin-m i { position: relative; width: 18px; height: 18px; border-radius: 50%; background: var(--hue); box-shadow: 0 0 0 4px rgba(6,4,11,.7), 0 0 18px var(--hue); }
.pin-m i::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--hue); opacity: .6; animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(.5); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.pin-m > span { font-family: var(--font-display); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; background: rgba(6,4,11,.82); border: 1px solid color-mix(in srgb, var(--hue) 50%, transparent); border-radius: 999px; padding: 3px 10px; transition: background .2s; }
.pin-m.flip { flex-direction: row-reverse; transform: translate(calc(-100% + 9px), -50%); }
.pin-m:hover > span, .pin-m[aria-current="true"] > span { background: color-mix(in srgb, var(--hue) 30%, rgba(6,4,11,.9)); }
.pin-m.is-locked { cursor: default; }
.pin-m.is-locked i { background: #333; box-shadow: 0 0 0 4px rgba(6,4,11,.7); }
.pin-m.is-locked i::after { display: none; }
.pin-m.is-locked > span { color: var(--text-dim); font-family: var(--font-hud); border-color: var(--line-2); }
.pin-m.is-locked .real, .pin-m:not(.is-locked) .enc-only { display: none; }
.pin-m.next:not(.is-locked) i { background: var(--gold); box-shadow: 0 0 0 4px rgba(6,4,11,.7), 0 0 18px var(--gold); }
.you { position: absolute; z-index: 4; width: 44px; height: 44px; transform: translate(-50%, -110%); transition: left .7s var(--ease), top .7s var(--ease); pointer-events: none; }
.you img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 10px var(--magenta)) drop-shadow(0 4px 6px rgba(0,0,0,.8)); animation: hover 2.4s ease-in-out infinite; }
@keyframes hover { 50% { transform: translateY(-4px); } }
.map .crown { z-index: 3; }

.scrub { margin-top: 16px; padding: 16px 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.scrub-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.scrub .play { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%; border: 1px solid var(--magenta); background: rgba(255,46,190,.12); color: #fff; cursor: pointer; font-size: 1rem; }
.scrub .play:hover { box-shadow: 0 0 20px rgba(255,46,190,.5); }
.scrub .sc-clock { font-family: var(--font-hud); font-size: 1.7rem; line-height: 1; color: #fff; text-shadow: 0 0 16px rgba(55,230,255,.5); }
.scrub .sc-where { font-family: var(--font-display); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }
.scrub .sc-page { margin-left: auto; font-family: var(--font-display); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.scrub input[type=range] { width: 100%; margin: 14px 0 6px; accent-color: var(--magenta); }
.scrub .ticks { position: relative; height: 16px; font-family: var(--font-display); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }
.scrub .ticks span { position: absolute; transform: translateX(-2px); white-space: nowrap; }
.scrub .sc-beat { margin: 10px 0 0; color: var(--text-mute); font-size: .95rem; min-height: 3em; }

.place-panel { position: sticky; top: calc(var(--hud-h) + 16px); max-height: calc(100vh - var(--hud-h) - 32px); overflow-y: auto; scrollbar-width: thin; border-radius: 20px; background: var(--panel-solid); border: 1px solid var(--line); }
.place-panel .card { --hue: var(--magenta); }
.pp-img { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.pp-img img { width: 100%; height: 100%; object-fit: cover; }
.pp-img.logo img { object-fit: contain; padding: 20px; background: radial-gradient(circle, rgba(255,255,255,.06), transparent 70%); }
.pp-img .sealed { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(6,4,11,.55); backdrop-filter: blur(3px); font-family: var(--font-hud); letter-spacing: .3em; color: var(--gold-2); font-size: 1.1rem; }
.pp-body { padding: 18px 20px 20px; }
.pp-body h2 { font-size: 1.7rem; text-transform: uppercase; margin: 4px 0 10px; }
.pp-body .box { background: rgba(255,255,255,.02); }
.here { display: grid; gap: 10px; }
.here-item { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: start; }
.here-item a.pan { display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; border: 1px solid var(--line-2); }
.here-item a.pan img { width: 100%; height: 100%; object-fit: cover; }
.here-item .stamp { font-family: var(--font-hud); font-size: .72rem; color: var(--cyan); }
.here-item p { margin: 2px 0 0; font-size: .88rem; color: var(--text-mute); line-height: 1.45; }
.here-item q { display: block; font-size: .9rem; color: var(--text); quotes: "“" "”"; margin-top: 3px; }
.pp-intro { padding: 22px; }
.pp-intro h2 { font-size: 1.3rem; text-transform: uppercase; margin-bottom: 10px; }
.pp-intro p { color: var(--text-mute); font-size: .95rem; }
.pp-list { display: grid; gap: 6px; margin-top: 12px; }
.pp-list button { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.02); cursor: pointer; text-align: left; font-family: var(--font-display); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.pp-list button:hover { border-color: var(--magenta); }
.pp-list button small { font-family: var(--font-hud); letter-spacing: 0; color: var(--text-dim); text-transform: none; }
.pp-list button.is-locked { color: var(--text-dim); cursor: default; }
.pp-list button.is-locked .real, .pp-list button:not(.is-locked) .enc-only { display: none; }

.powers { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-top: 24px; }
.power { --hue: var(--gold); position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 18px 14px 16px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); cursor: pointer; color: var(--text); transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.power:hover { transform: translateY(-3px); border-color: var(--hue); box-shadow: 0 0 26px color-mix(in srgb, var(--hue) 25%, transparent); }
.power img { width: 88px; height: 88px; object-fit: contain; }
.power b { font-family: var(--font-display); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.power small { font-size: .74rem; color: var(--text-mute); line-height: 1.3; }
.power.is-locked { cursor: default; }
.power.is-locked img { filter: blur(6px) brightness(.4); }
.power.is-locked .real, .power:not(.is-locked) .enc-only { display: none; }
.power .crown { right: 8px; top: 8px; width: 26px; height: 30px; }
.sheet-back { position: fixed; inset: 0; z-index: 75; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 20px; animation: rise .2s; }
.sheet { position: relative; width: min(640px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; border-radius: 20px; background: var(--panel-solid); border: 1px solid var(--line-2); box-shadow: 0 40px 100px rgba(0,0,0,.8); }
.sheet .x { position: absolute; z-index: 3; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(6,4,11,.8); color: #fff; cursor: pointer; }
@media (max-width: 1020px) {
  .city { grid-template-columns: 1fr; }
  .place-panel { position: relative; top: 0; max-height: none; }
}
@media (max-width: 600px) {
  .pin-m > span { font-size: .56rem; padding: 2px 7px; letter-spacing: .1em; }
  .pin-m i { width: 13px; height: 13px; }
  .pin-m { transform: translate(-6.5px, -50%); } .pin-m.flip { transform: translate(calc(-100% + 6.5px), -50%); }
  .you { width: 34px; height: 34px; }
  .scrub .sc-clock { font-size: 1.35rem; }
}

/* ==========================================================================
   Reader: the intel drawer
   ========================================================================== */
.rd-main { position: relative; }
.intel { position: absolute; z-index: 9; top: 0; right: 0; bottom: 0; width: 340px; overflow-y: auto; scrollbar-width: thin; background: rgba(9,7,17,.97); border-left: 1px solid rgba(55,230,255,.3); box-shadow: -30px 0 60px rgba(0,0,0,.5); padding: 18px 18px 24px; transform: translateX(105%); transition: transform .35s var(--ease); }
.intel.open { transform: none; }
.intel .x { position: absolute; top: 12px; right: 12px; }
.intel .i-k { font-family: var(--font-display); font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--cyan); }
.intel .i-clock { font-family: var(--font-hud); font-size: 2rem; line-height: 1.05; color: #fff; text-shadow: 0 0 16px rgba(55,230,255,.5); margin-top: 8px; }
.intel .i-where { font-family: var(--font-display); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--magenta-2); margin: 4px 0 14px; }
.intel h4 { font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--text-dim); margin: 18px 0 8px; }
.intel .i-beat { font-size: .9rem; color: var(--text-mute); line-height: 1.5; margin: 0; }
.i-people { display: grid; gap: 6px; }
.i-p { --hue: var(--cyan); display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; padding: 6px; border-radius: 10px; color: var(--text); border: 1px solid transparent; }
.i-p:hover { background: rgba(255,255,255,.04); color: var(--text); border-color: var(--line); }
.i-p img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; border: 2px solid var(--hue); background: #000; }
.i-p img.sq { border-radius: 8px; object-fit: contain; border: 0; }
.i-p b { font-family: var(--font-display); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.i-p b em { font-style: normal; font-size: .52rem; letter-spacing: .16em; color: #000; background: var(--cyan); border-radius: 4px; padding: 1px 5px; }
.i-p span { display: block; font-size: .76rem; color: var(--text-mute); line-height: 1.3; }
.intel .crown { position: relative; display: block; margin: 18px auto 0; }
.intel .i-foot { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.intel-badge { position: absolute; top: 3px; right: 3px; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
#rd-intel-btn { position: relative; }
html.rd-app .intel { top: auto; left: 0; width: auto; max-height: 62%; border-left: 0; border-top: 1px solid rgba(55,230,255,.4); border-radius: 18px 18px 0 0; transform: translateY(105%); z-index: 9; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
html.rd-app .intel.open { transform: none; }
body.immersive .intel { display: none; }
.reader .rd-exit { gap: 6px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.n-footer { position: relative; border-top: 1px solid var(--line); padding: 40px 0 46px; margin-top: 40px; color: var(--text-dim); font-size: .86rem; }
.n-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; }
.n-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.n-footer nav a { color: var(--text-mute); font-family: var(--font-display); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.n-footer nav a:hover { color: #fff; }
.n-footer p { margin: 0; }
.n-footer .slogan { font-family: var(--font-tag); color: var(--magenta-2); font-size: 1.1rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01s !important; animation-iteration-count: 1 !important; transition-duration: .01s !important; }
  .rain { display: none; }
}
.silnote { margin: 0 0 18px; padding: 12px 14px; border: 1px solid rgba(55,230,255,.25); border-radius: 12px; background: rgba(55,230,255,.05); font-size: .92rem; color: var(--text); }
.silnote::before { content: "Sil-101 · "; font-family: var(--font-display); font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); }
/* wide screens: the intel drawer takes its own column beside the page instead of covering the › button */
@media (min-width: 1100px) {
  html:not(.rd-app) .rd-main { grid-template-columns: auto minmax(0, 1fr) auto; }
  html:not(.rd-app) .rd-main > .intel { grid-column: 3; grid-row: 1; position: relative; transform: none; display: none; height: calc(min(100dvh - 190px, 1200px) + 36px); box-shadow: none; }
  html:not(.rd-app) .rd-main > .intel.open { display: block; animation: rise .3s var(--ease); }
}
.contacts > *, .city > *, .c-row > span, .p-hero > div, .p-cols > div { min-width: 0; }
@media (max-width: 1020px) { .contacts, .city { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .door::before { background: linear-gradient(180deg, rgba(6,4,11,.25) 0%, rgba(6,4,11,.5) 30%, rgba(6,4,11,.9) 62%, var(--ink) 100%); }
  .door .says { font-size: .98rem; text-shadow: 0 1px 8px rgba(0,0,0,.9); }
  .door-in { padding-bottom: 40px; }
  .door .crown { top: 22%; right: 12%; }
}
/* the text of the page: on the right beside the comic, like intel (one at a time) */
@media (min-width: 1100px) {
  html:not(.rd-app) .rd-main > .rd-textpanel { grid-column: 3; grid-row: 1; width: 340px; max-width: none; height: calc(min(100dvh - 190px, 1200px) + 36px); overflow-y: auto; margin: 0; border-radius: 0; border: 0; border-left: 1px solid rgba(255,46,190,.3); background: rgba(9,7,17,.97); padding: 18px 18px 24px; scrollbar-width: thin; animation: rise .3s var(--ease); }
}

/* ==========================================================================
   Phase 2 · shared: picture viewer, room heroes
   ========================================================================== */
.viewer { --hue: var(--cyan); position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 24px; background: rgba(3,2,8,.62); backdrop-filter: blur(5px) saturate(.8); -webkit-backdrop-filter: blur(5px) saturate(.8); animation: fadein .2s; cursor: zoom-out; }
.viewer[hidden] { display: none; }
html.v-open { overflow: hidden; }
.v-frame { position: relative; display: grid; gap: 10px; max-width: min(1180px, 100%); max-height: 100%; padding: 14px; border-radius: 18px; background: rgba(10,8,20,.97); border: 1px solid color-mix(in srgb, var(--hue) 55%, transparent); box-shadow: 0 40px 120px rgba(0,0,0,.75), 0 0 60px color-mix(in srgb, var(--hue) 22%, transparent); cursor: default; animation: rise .28s var(--ease); }
.v-stage { position: relative; display: grid; place-items: center; min-height: 0; }
.v-img { display: block; max-width: 100%; max-height: calc(100vh - 210px); width: auto; height: auto; object-fit: contain; border-radius: 8px; cursor: zoom-in; }
.v-img.in { animation: fadein .3s; }
.viewer.single .v-img { max-height: calc(100vh - 140px); }
.viewer.big .v-frame { width: min(1500px, 100%); }
.viewer.big .v-img { max-height: calc(100vh - 170px); }
.viewer.big.single .v-img { max-height: calc(100vh - 110px); }
.viewer.zoom .v-stage { overflow: auto; max-height: calc(100vh - 140px); place-items: start; }
.viewer.zoom .v-img { max-height: none; max-width: none; width: min(2200px, 200vw); cursor: zoom-out; }
.v-x { position: absolute; top: -14px; right: -14px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--hue) 60%, transparent); background: #0c0915; color: #fff; cursor: pointer; font-size: .95rem; box-shadow: 0 6px 18px rgba(0,0,0,.6); }
.v-x:hover { background: var(--hue); color: #06040b; }
.v-p, .v-nx { position: absolute; top: 50%; z-index: 2; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--hue) 50%, transparent); background: rgba(6,4,11,.78); color: #fff; font-size: 1.5rem; cursor: pointer; transition: background .2s, box-shadow .2s; }
.v-p { left: 10px; } .v-nx { right: 10px; }
.v-p:hover, .v-nx:hover { box-shadow: 0 0 20px color-mix(in srgb, var(--hue) 60%, transparent); background: rgba(6,4,11,.95); }
.viewer.single .v-p, .viewer.single .v-nx, .viewer.single .v-ths { display: none; }
.v-foot { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 0 4px; font-family: var(--font-display); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); }
.v-n { font-family: var(--font-hud); color: var(--text-dim); letter-spacing: 0; white-space: nowrap; }
.v-ths { display: flex; gap: 6px; justify-content: center; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.v-th { flex: 0 0 auto; width: 64px; height: 46px; padding: 0; border-radius: 6px; overflow: hidden; border: 1px solid var(--line-2); background: #000; cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s; }
.v-th img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.v-th:hover { opacity: 1; }
.v-th[aria-current="true"] { opacity: 1; border-color: var(--hue); box-shadow: 0 0 10px color-mix(in srgb, var(--hue) 60%, transparent); }
@keyframes fadein { from { opacity: 0; } }
@media (max-width: 700px) {
  .viewer { padding: 14px 10px; }
  .v-frame { padding: 8px; border-radius: 14px; }
  .v-x { top: -10px; right: -6px; }
  .v-img { max-height: calc(100vh - 190px); }
  .v-p, .v-nx { width: 38px; height: 38px; margin-top: -19px; }
  .v-th { width: 52px; height: 38px; }
}

.counter, .cabinet { position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.counter-bg, .cab-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.counter-bg { object-position: 60% 30%; }
.counter::before, .cabinet::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,4,11,.92) 0%, rgba(6,4,11,.55) 38%, rgba(6,4,11,0) 62%), linear-gradient(180deg, transparent 55%, var(--ink) 100%); }
.counter.defense::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 65% 40%, rgba(232,32,60,.28), transparent 60%); mix-blend-mode: screen; animation: pulse 2.4s infinite; }
.counter-in, .cab-in { padding: 0 0 56px; }
.counter h1, .cabinet h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); text-transform: uppercase; text-shadow: 0 6px 30px rgba(0,0,0,.8); }
.sil-says { position: relative; max-width: 560px; margin: 18px 0 14px; padding: 14px 18px; border-radius: 4px 18px 18px 18px; background: rgba(8,20,30,.88); border: 1px solid rgba(55,230,255,.45); box-shadow: 0 0 30px rgba(55,230,255,.15); backdrop-filter: blur(6px); }
.sil-says .who { display: block; font-family: var(--font-display); font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); margin-bottom: 6px; }
.sil-says p { margin: 0; font-size: .98rem; line-height: 1.55; }
.sil-says em { color: var(--text-mute); }
.counter-menu { font-family: var(--font-display); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); }
.counter .crown { right: 23%; top: 64%; }

/* ==========================================================================
   Sil's Shop
   ========================================================================== */
.shelf-nav { position: sticky; top: var(--hud-h); z-index: 30; background: rgba(6,4,11,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.shelf-nav .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; }
.shelf-nav a { flex: 0 0 auto; font-family: var(--font-display); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; }
.shelf-nav a:hover { color: #fff; border-color: var(--gold); }
.shop { padding-bottom: 60px; }
.modes-sec { padding: 44px 0 10px; }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.mode { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; padding: 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.mode img { width: 120px; height: 140px; object-fit: cover; object-position: top; border-radius: 10px; }
.mode .k { font-family: var(--font-display); font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); }
.mode.defense .k { color: var(--red); }
.mode h3 { font-size: 1rem; text-transform: uppercase; margin: 4px 0 6px; }
.mode p { margin: 0; font-size: .9rem; color: var(--text-mute); }
.shelf-sec { padding: 48px 0 8px; scroll-margin-top: calc(var(--hud-h) + 60px); }
.shelf-head { display: flex; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 12px; }
.shelf-n { font-family: var(--font-hud); font-size: .9rem; color: var(--gold); white-space: nowrap; }
.shelf-head h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); text-transform: uppercase; }
.armory { margin: 18px 0 22px; position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.armory img { width: 100%; max-height: 520px; object-fit: cover; }
.armory figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; background: linear-gradient(transparent, rgba(6,4,11,.9)); font-family: var(--font-display); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-mute); }
.armory figcaption b { color: var(--gold-2); }
.wares { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 18px; }
.ware { --hue: var(--gold); position: relative; display: flex; flex-direction: column; text-align: left; padding: 0 0 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); cursor: pointer; overflow: hidden; color: var(--text); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.ware:hover { transform: translateY(-4px); border-color: var(--hue); box-shadow: 0 0 30px color-mix(in srgb, var(--hue) 25%, transparent); }
.ware::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--hue); box-shadow: 0 0 12px var(--hue); }
.w-pic { position: relative; display: block; aspect-ratio: 4 / 3; background: #05040a; overflow: hidden; margin-bottom: 10px; }
.w-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ware:hover .w-pic img { transform: scale(1.06); }
.w-sku { display: block; padding: 0 14px; font-family: var(--font-hud); font-size: .72rem; color: var(--hue); }
.ware b { display: block; padding: 2px 14px 0; font-family: var(--font-display); font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; }
.ware small { display: block; padding: 2px 14px 0; font-size: .78rem; color: var(--text-mute); }
.ware.is-locked { cursor: default; }
.ware.is-locked:hover { transform: none; box-shadow: none; border-color: var(--line); }
.ware.is-locked .w-pic img { filter: blur(14px) brightness(.25) saturate(0); transform: scale(1.2); }
.tarp { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-hud); letter-spacing: .2em; color: var(--text-dim); background: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 12px, transparent 12px 24px); }
.ware:not(.is-locked) .enc-only, .ware.is-locked .real { display: none; }
.nots { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.nots li { padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.02); border: 1px dashed rgba(226,182,74,.35); color: var(--text-mute); font-size: .95rem; }
.nots b { display: block; font-family: var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 4px; font-size: .86rem; }
.log { max-width: 640px; margin-top: 16px; display: grid; gap: 8px; }
.log .ln { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: start; }
.log .ln b { font-family: var(--font-display); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); padding-top: 3px; }
.log .ln.lun b { color: var(--magenta-2); }
.log .ln span { padding: 8px 12px; border-radius: 4px 14px 14px 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.log .gap { height: 8px; }
.sign { margin-top: 18px; font-family: var(--font-tag); color: var(--magenta-2); font-size: 1.1rem; }
.counter-sheet { width: min(980px, 100%); }
.ware-card { display: grid; grid-template-columns: 1.05fr 1fr; animation: rise .3s var(--ease); }
.wc-pic { background: #05040a; display: grid; place-items: center; border-radius: 20px 0 0 20px; overflow: hidden; }
.wc-pic img { width: 100%; height: 100%; max-height: 80vh; object-fit: contain; }
.wc-body { padding: 26px 24px 22px; }
.wc-body h2 { font-size: 2rem; text-transform: uppercase; margin: 4px 0 2px; }
.wc-sub { color: var(--text-mute); font-size: .9rem; margin: 0 0 14px; }
.wc-what { color: var(--text); }
.wc-street { color: var(--text-mute); font-size: .92rem; }
.wc-street b { color: var(--text); font-weight: 500; }
.wc-carried { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 4px 0 14px; }
.wc-carried > span { font-family: var(--font-display); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-dim); margin-right: 4px; }
.wc-carried .chip { color: var(--cyan); border-color: rgba(55,230,255,.4); }
.wc-maker { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); font-family: var(--font-display); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim); }
.wc-maker b { color: var(--gold-2); font-weight: 600; }
@media (max-width: 800px) { .modes { grid-template-columns: 1fr; } .ware-card { grid-template-columns: 1fr; } .wc-pic { border-radius: 20px 20px 0 0; } .wc-pic img { max-height: 46vh; } .wares { grid-template-columns: repeat(2, 1fr); gap: 10px; } .ware b { font-size: .86rem; } .ware small { display: none; } }
@media (max-width: 760px) { .counter::before, .cabinet::before { background: linear-gradient(180deg, rgba(6,4,11,.1) 0%, rgba(6,4,11,.55) 45%, rgba(6,4,11,.95) 75%, var(--ink) 100%); } .counter-bg { object-position: 62% 20%; } .shelf-nav { top: var(--hud-h); } }

/* ==========================================================================
   The Feed
   ========================================================================== */
.bcast { padding: 28px 0 6px; }
.screen { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; border: 1px solid rgba(55,230,255,.35); box-shadow: 0 40px 100px rgba(0,0,0,.7), 0 0 60px rgba(55,230,255,.12); background: #02040a; }
.screen .desk-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1s; }
.screen .desk-img.night { opacity: 0; }
.screen.night .desk-img.night { opacity: 1; }
.screen.night .desk-img.evening { opacity: 0; }
.nx-logo { position: absolute; top: 4%; left: 3%; width: clamp(90px, 14%, 180px); filter: drop-shadow(0 4px 12px rgba(0,0,0,.8)); }
.screen .crown { top: 6%; right: 4%; }
.lower3 { position: absolute; left: 3%; right: 3%; bottom: 13%; display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 12px; padding: 10px 14px; background: linear-gradient(90deg, rgba(6,10,24,.94), rgba(6,10,24,.82)); border-left: 4px solid var(--cyan); border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,.6); }
.lower3 .live { font-family: var(--font-display); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; background: var(--red); padding: 3px 8px; border-radius: 3px; animation: blink 1.8s infinite; }
.lower3 .desk-name { font-family: var(--font-display); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); white-space: nowrap; }
.lower3 b { font-family: var(--font-display); font-size: clamp(.9rem, 1.7vw, 1.3rem); text-transform: uppercase; letter-spacing: .03em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lower3 time { font-family: var(--font-hud); color: var(--cyan); }
.nx-ticker { position: absolute; left: 0; right: 0; bottom: 0; height: 9%; min-height: 28px; display: flex; align-items: center; overflow: hidden; background: rgba(2,4,10,.92); border-top: 1px solid rgba(55,230,255,.3); }
.nx-ticker .track { display: inline-flex; white-space: nowrap; animation: nxtick 160s linear infinite; }
.nx-ticker span { padding: 0 34px; font-family: var(--font-display); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.nx-ticker i { font-style: normal; font-family: var(--font-hud); color: var(--cyan); letter-spacing: 0; }
@keyframes nxtick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.bc-lede { margin-top: 18px; }
.channels { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px auto 8px; }
.channels button { display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); cursor: pointer; font-family: var(--font-display); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); }
.channels button i { font-style: normal; font-family: var(--font-hud); font-size: .78rem; color: var(--text-dim); letter-spacing: 0; }
.channels button[aria-selected="true"] { color: #fff; border-color: var(--cyan); background: rgba(55,230,255,.08); box-shadow: 0 0 20px rgba(55,230,255,.15); }
.channels button[aria-selected="true"] i { color: var(--cyan); }
.feed { padding: 16px 0 60px; }
.n-grid { display: grid; gap: 16px; max-width: 920px; }
.n-story { --hue: var(--cyan); display: grid; grid-template-columns: minmax(0, 1fr); border-radius: 16px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); scroll-margin-top: calc(var(--hud-h) + 20px); }
.n-story:has(.n-pic) { grid-template-columns: minmax(0, 1fr) 280px; }
.n-story .n-pic { order: 2; }
.n-story.wide { grid-template-columns: minmax(0, 1fr) 380px; }
.n-story.now { border-color: var(--red); box-shadow: 0 0 30px rgba(232,32,60,.2); }
.n-story.now .kind::before { content: "Live · "; color: var(--red); }
.n-pic { display: block; background: #000; }
.n-pic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.n-story .n-pic img { aspect-ratio: auto; height: 100%; min-height: 180px; }
.n-body { padding: 16px 18px 18px; }
.n-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.n-meta .desk { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; object-position: 50% 2%; background: #0a1020; border: 1px solid var(--hue); }
.n-meta .kind { font-family: var(--font-display); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--hue); }
.n-meta time { margin-left: auto; font-family: var(--font-hud); color: var(--text-mute); }
.n-story h3 { font-size: 1.25rem; margin-bottom: 8px; }
.n-story p { color: var(--text-mute); font-size: .95rem; }
.n-story .x { font-family: var(--font-display); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.n-story ol { padding-left: 20px; color: var(--text-mute); font-size: .92rem; display: grid; gap: 8px; }
.n-story ol b { color: var(--text); }
.n-ad { margin-top: 22px; padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(255,46,190,.35); background: linear-gradient(135deg, rgba(255,46,190,.08), rgba(55,230,255,.05)); }
.n-ad .k { font-family: var(--font-display); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-dim); }
.n-ad h3 { font-size: 1.2rem; margin: 6px 0; }
.n-ad p { margin: 0; color: var(--text-mute); font-size: .92rem; }
.masthead { font-family: var(--font-display); line-height: .9; margin: 8px 0 14px; }
.masthead i { font-style: normal; font-size: clamp(2.6rem, 7vw, 4.4rem); font-weight: 700; color: #fff; text-transform: uppercase; }
.masthead em { font-style: normal; font-size: clamp(2.6rem, 7vw, 4.4rem); font-weight: 700; color: var(--magenta); text-transform: uppercase; margin-left: 8px; }
.masthead small { display: block; margin-top: 8px; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--text-dim); }
.rack { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 22px 0 30px; }
.rw { display: flex; flex-direction: column; gap: 8px; color: var(--text); transition: transform .3s var(--ease); }
.rw:hover { transform: translateY(-6px) rotate(-1deg); color: var(--text); }
.rw img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px; box-shadow: 0 20px 40px rgba(0,0,0,.6); }
.rw span { font-size: .78rem; color: var(--text-mute); }
.rw b { display: block; font-family: var(--font-display); font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.issue { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.issue h3 { font-size: 1.4rem; text-transform: uppercase; margin: 4px 0 8px; }
.cl-k { display: block; margin: 18px 0 8px; font-family: var(--font-display); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--magenta-2); }
.cover-lines { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.cover-lines a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.02); color: var(--text); }
.cover-lines a:hover { border-color: var(--magenta); color: var(--text); }
.cover-lines b { display: block; font-family: var(--font-display); font-size: .86rem; letter-spacing: .06em; text-transform: uppercase; }
.cover-lines small { display: block; font-size: .8rem; color: var(--text-mute); }
.cover-lines .go { flex: 0 0 auto; font-family: var(--font-display); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.fine { font-size: .86rem; color: var(--text-dim); margin-top: 14px; }
.follow { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding: 20px 22px; border-radius: 16px; border: 1px solid rgba(55,230,255,.3); background: rgba(55,230,255,.04); margin-bottom: 22px; }
.follow .lede { margin: 6px 0 0; }
.posts { display: grid; gap: 12px; }
.post { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 16px 18px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.post time { font-family: var(--font-hud); color: var(--magenta-2); padding-top: 3px; }
.post h3 { font-size: 1.1rem; margin-bottom: 6px; }
.post p { color: var(--text-mute); font-size: .94rem; }
.post .x { font-family: var(--font-display); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
@media (max-width: 800px) {
  .n-story.wide, .n-story:has(.n-pic) { grid-template-columns: 1fr; } .n-story .n-pic { order: 0; } .n-story .n-pic img { aspect-ratio: 16 / 9; min-height: 0; }
  .rack { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .post { grid-template-columns: 1fr; gap: 4px; }
  .lower3 { grid-template-columns: auto 1fr; bottom: 12%; padding: 6px 10px; gap: 8px; }
  .lower3 .desk-name, .lower3 time { display: none; }
  .screen { border-radius: 12px; }
}
@media (max-width: 480px) { .rack { grid-template-columns: repeat(2, 1fr); } .channels button { padding: 8px 12px; font-size: .7rem; } }

/* ==========================================================================
   The Archive
   ========================================================================== */
.cab-bg { object-position: 50% 30%; filter: brightness(.85); }
.archive { padding: 26px 0 60px; }
.archive > .silnote { max-width: 760px; }
.drawers { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin: 18px 0 30px; }
.drawer { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 6px 10px; border-radius: 6px; cursor: pointer; color: var(--text-mute); background: linear-gradient(180deg, #2a2d33, #16181c); border: 1px solid #3a3e46; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 6px 14px rgba(0,0,0,.5); font-family: var(--font-display); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; }
.drawer::before { content: ""; width: 40%; height: 6px; border-radius: 3px; background: #0b0c0f; box-shadow: inset 0 1px 2px rgba(0,0,0,.8), 0 1px 0 rgba(255,255,255,.1); margin-bottom: 4px; }
.drawer span { background: #e9e2cf; color: #2a2318; padding: 1px 6px; border-radius: 2px; font-size: .58rem; }
.drawer b { color: var(--gold-2); font-weight: 400; font-size: .9rem; }
.drawer[aria-pressed="true"] { transform: translateY(4px); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 20px rgba(226,182,74,.3); border-color: var(--gold); }
.wall { columns: 3 300px; column-gap: 22px; }
.file { --hue: var(--gold); position: relative; break-inside: avoid; margin: 0 0 26px; background: #efe8d6; color: #1d1912; padding: 10px 10px 14px; border-radius: 2px; transform: rotate(var(--tilt, 0deg)); box-shadow: 0 18px 40px rgba(0,0,0,.6); transition: transform .3s var(--ease), box-shadow .3s; scroll-margin-top: calc(var(--hud-h) + 40px); }
.file:hover { transform: rotate(0) scale(1.02); z-index: 2; box-shadow: 0 26px 60px rgba(0,0,0,.7), 0 0 0 2px var(--hue); }
.file .pin { position: absolute; top: -8px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff8aa0, #b3122e); box-shadow: 0 3px 6px rgba(0,0,0,.6); z-index: 2; }
.file.off { display: none; }
.file.flash { animation: flash 1.6s; }
@keyframes flash { 0%, 60% { box-shadow: 0 0 0 4px var(--cyan), 0 0 40px var(--cyan); } }
.f-sheet { position: relative; display: block; background: #111; overflow: hidden; }
.f-sheet img { width: 100%; height: auto; filter: contrast(1.05); }
.f-sheet .stamp { position: absolute; right: 8px; bottom: 8px; font-family: var(--font-hud); font-size: .7rem; letter-spacing: .1em; color: #b3122e; border: 2px solid #b3122e; padding: 2px 6px; transform: rotate(-6deg); background: rgba(239,232,214,.85); }
.f-sheet.note, .file.held .f-sheet { display: grid; place-items: center; min-height: 120px; background: repeating-linear-gradient(135deg, #1b1d22 0 14px, #23262c 14px 28px); }
.f-sheet.note span, .file.held .f-sheet span { font-family: var(--font-hud); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-2); border: 2px solid var(--gold-2); padding: 4px 12px; transform: rotate(-4deg); }
.f-body { padding: 12px 6px 0; }
.f-body .k { font-family: var(--font-hud); font-size: .7rem; color: #6b5d43; text-transform: uppercase; letter-spacing: .08em; }
.f-body h3 { font-size: 1.1rem; text-transform: uppercase; color: #15110b; margin: 4px 0 8px; }
.f-body h3 small { display: block; font-family: var(--font-body); font-size: .74rem; text-transform: none; color: #5a5040; font-weight: 500; margin-top: 2px; }
.f-body p { font-size: .88rem; line-height: 1.5; color: #2c261c; margin-bottom: .7em; }
.f-body a { color: #8a1430; font-weight: 600; }
.f-body .silnote { color: #10283a; background: rgba(55,180,230,.12); border-color: rgba(30,120,160,.3); margin: 8px 0; }
.f-body .silnote::before { color: #12779a; }
.f-seen { font-family: var(--font-hud); font-size: .76rem; color: #6b5d43 !important; }
.file.held { background: #2a2c31; color: var(--text); }
.file.held .f-body .k, .file.held .f-body h3 small, .file.held .f-seen { color: var(--text-dim) !important; }
.file.held .f-body h3 { color: var(--text); }
.file.held .f-body p { color: var(--text-mute); }
.file-crown { break-inside: avoid; height: 50px; position: relative; margin: -10px 0 16px; }
.file-crown .crown { left: 46%; top: 6px; }
.file-crown.off { display: none; }
@media (max-width: 760px) { .drawers { grid-template-columns: repeat(4, 1fr); } .wall { columns: 1; } .file { transform: none; } }

/* ==========================================================================
   Before
   ========================================================================== */
.drive-room { padding: 40px 0 30px; background: radial-gradient(800px 500px at 30% 50%, rgba(226,182,74,.12), transparent 70%); }
.drive-in { display: grid; grid-template-columns: minmax(280px, 520px) 1fr; gap: 44px; align-items: center; }
.drive { position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; box-shadow: 0 40px 90px rgba(0,0,0,.7); }
.drive img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1.4s, transform 1.4s var(--ease), filter 1.4s; }
.drive .d-open { opacity: 0; transform: scale(1.06); filter: brightness(1.6); }
.drive-room.open .d-open { opacity: 1; transform: none; filter: none; }
.drive-room.open .d-closed { opacity: 0; }
.drive-room.instant .drive img { transition: none; }
.drive .crown { left: 46%; top: 40%; }
.drive-copy h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); text-transform: uppercase; }
.decrypt { display: inline-flex; align-items: center; gap: 14px; margin-top: 18px; padding: 10px 22px 10px 10px; border-radius: 999px; border: 1px solid rgba(226,182,74,.6); background: rgba(226,182,74,.08); color: var(--gold-2); cursor: pointer; font-family: var(--font-display); font-size: .86rem; letter-spacing: .2em; text-transform: uppercase; user-select: none; -webkit-user-select: none; touch-action: none; }
.decrypt svg { width: 44px; height: 44px; transform: rotate(-90deg); }
.decrypt circle { fill: none; stroke: rgba(226,182,74,.25); stroke-width: 3; }
.decrypt .ring { stroke: var(--gold-2); stroke-linecap: round; filter: drop-shadow(0 0 4px var(--gold)); }
.decrypt.hot { box-shadow: 0 0 30px rgba(226,182,74,.5); }
.before { padding: 20px 0 60px; }
.b-intro { display: grid; grid-template-columns: 1fr 300px; gap: 36px; align-items: center; animation: rise .8s var(--ease); }
.b-book img { border-radius: 4px; box-shadow: 0 30px 70px rgba(0,0,0,.7), 0 0 50px rgba(226,182,74,.25); transform: rotate(2deg); transition: transform .4s; }
.b-book:hover img { transform: rotate(0) scale(1.02); }
.years { display: flex; align-items: center; gap: 0; margin: 40px 0; font-family: var(--font-display); }
.years .y { display: flex; flex-direction: column; align-items: center; padding: 0 18px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); text-align: center; }
.years .y b { font-family: var(--font-hud); font-size: 1.6rem; color: var(--gold-2); font-weight: 400; letter-spacing: 0; }
.years .y.now b { color: var(--magenta); }
.years .y + .y::before { content: ""; position: absolute; }
.years .y:not(:last-child)::after { content: ""; }
.years span.y:not(:last-child) { border-right: 1px dashed var(--line-2); }
.frags { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 20px; }
.frag { --hue: var(--gold); padding: 18px 20px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--hue); animation: rise .7s var(--ease) both; animation-delay: var(--d); }
.frag .k { font-family: var(--font-hud); font-size: .74rem; color: var(--hue); }
.frag h3 { font-size: 1.2rem; margin: 6px 0 8px; }
.frag p { color: var(--text-mute); font-size: .94rem; }
.frag .src { font-size: .8rem; color: var(--text-dim); font-style: italic; }
.frag .redact { background: #000; color: transparent; border-radius: 2px; user-select: none; }
.b-end { margin-top: 40px; }
@media (max-width: 860px) { .drive-in, .b-intro { grid-template-columns: 1fr; gap: 24px; } .b-book { max-width: 260px; } .frags { grid-template-columns: 1fr; } .years .y { padding: 0 10px; } }
.n-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; align-items: start; }
.n-side { position: sticky; top: calc(var(--hud-h) + 16px); display: grid; gap: 16px; }
.n-side .n-ad { margin-top: 0; }
.n-stand { display: grid; grid-template-columns: 90px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; background: var(--panel); border: 1px solid rgba(255,46,190,.35); color: var(--text-mute); font-size: .84rem; }
.n-stand:hover { color: var(--text); border-color: var(--magenta); }
.n-stand img { border-radius: 3px; box-shadow: 0 10px 24px rgba(0,0,0,.6); transform: rotate(-3deg); }
.n-stand i { display: block; font-style: normal; font-family: var(--font-hud); color: var(--magenta-2); font-size: .74rem; }
.n-stand b { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; color: var(--text); font-size: .95rem; margin: 2px 0 4px; }
.n-desks { padding: 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); display: grid; gap: 10px; }
.n-desks .k { font-family: var(--font-display); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); }
.n-desks div { display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: center; font-size: .8rem; color: var(--text-mute); }
.n-desks img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: 50% 3%; background: #0a1020; border: 1px solid rgba(55,230,255,.4); }
.n-desks b { display: block; font-family: var(--font-display); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
@media (max-width: 1020px) { .n-wrap { grid-template-columns: 1fr; } .n-side { position: relative; top: 0; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
@media (max-width: 760px) { .counter .crown { right: 10%; top: 12%; } .counter { min-height: 0; padding-top: 220px; } }

/* ==========================================================================
   Grandeur pass
   ========================================================================== */
/* --- Nexus along the bottom of the skyline --- */
.door { padding-bottom: 46px; }
.door-ticker { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; height: 46px; background: rgba(2,4,10,.86); border-top: 1px solid rgba(55,230,255,.35); backdrop-filter: blur(6px); color: var(--text); overflow: hidden; }
.door-ticker:hover { color: #fff; }
.dt-k { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; height: 100%; padding: 0 14px 0 16px; background: rgba(6,10,24,.95); border-right: 1px solid rgba(55,230,255,.3); font-family: var(--font-display); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.dt-k img { height: 22px; width: auto; }
.dt-k::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); animation: blink 1.6s infinite; }
.dt-win { flex: 1; overflow: hidden; }
.dt-win .track { display: inline-flex; white-space: nowrap; animation: nxtick 140s linear infinite; }
.door-ticker:hover .track { animation-play-state: paused; }
.dt-win a { padding: 0 30px; font-family: var(--font-display); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.dt-win a:hover { color: var(--cyan); }
.dt-win i { font-style: normal; font-family: var(--font-hud); color: var(--cyan); letter-spacing: 0; margin-right: 10px; }

/* --- the places: full-height slides --- */
.pano { position: relative; }
.pano-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 max(16px, calc((100vw - var(--w)) / 2)); scroll-padding: 0 max(16px, calc((100vw - var(--w)) / 2)); }
.pano-track::-webkit-scrollbar { display: none; }
.pano-slide { --hue: var(--magenta); position: relative; flex: 0 0 min(78vw, 1100px); height: min(76vh, 720px); border-radius: 22px; overflow: hidden; scroll-snap-align: start; isolation: isolate; color: var(--text); border: 1px solid var(--line); }
.pano-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.pano-slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(6,4,11,.92)); }
.pano-slide:hover { color: var(--text); border-color: var(--hue); }
.pano-slide:hover img { transform: scale(1.04); }
.pano-in { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 32px; display: grid; gap: 6px; }
.pano-in b { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 4.4rem); line-height: .95; text-transform: uppercase; text-shadow: 0 6px 30px rgba(0,0,0,.8); }
.pano-in .p-role { font-family: var(--font-display); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--hue); }
.pano-in .go { font-family: var(--font-display); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }
.pano-slide.is-locked img { filter: blur(18px) brightness(.35) saturate(.3); transform: scale(1.15); }
.pano-slide.is-locked .real, .pano-slide:not(.is-locked) .enc-only { display: none; }
.pano-lock { font-family: var(--font-hud); color: var(--text-dim); }
.pano-nav { position: absolute; top: 50%; z-index: 3; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(6,4,11,.75); color: #fff; font-size: 1.6rem; cursor: pointer; backdrop-filter: blur(6px); }
.pano-nav.prev { left: 18px; } .pano-nav.next { right: 18px; }
.pano-nav:hover { border-color: var(--magenta); }
@media (max-width: 700px) { .pano-slide { flex-basis: 86vw; height: 64vh; } .pano-nav { display: none; } .pano-in { padding: 20px; } }

.rooms { grid-template-columns: repeat(3, 1fr); }
.room, .room.big { grid-column: span 1; min-height: 280px; }
@media (max-width: 960px) { .rooms { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rooms { grid-template-columns: 1fr; } }


/* --- Sil's Shop: the holo counter --- */
.counter-bg.red { opacity: 0; transition: opacity 1s; object-fit: contain; object-position: 70% 30%; background: radial-gradient(60% 80% at 62% 50%, #4a0610, #120204 70%); }
.counter.defense .counter-bg.red { opacity: 1; }
.counter.defense .counter-bg.normal { opacity: 0; }
.counter-bg.normal { transition: opacity 1s; }
.counter.defense .sil-says { background: rgba(40,4,10,.9); border-color: rgba(232,32,60,.6); box-shadow: 0 0 30px rgba(232,32,60,.25); }
.counter.defense .sil-says .who, .counter.defense .kicker { color: var(--red) !important; }
.holo-room { position: relative; padding: 46px 0 60px; background: radial-gradient(900px 500px at 50% 30%, rgba(55,230,255,.1), transparent 70%), linear-gradient(180deg, var(--ink), #050912 50%, var(--ink)); }
.h-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; margin-bottom: 22px; }
.h-tab { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); cursor: pointer; font-family: var(--font-display); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); }
.h-tab i { font-style: normal; font-family: var(--font-hud); color: var(--gold); letter-spacing: 0; }
.h-tab[aria-selected="true"] { color: #fff; border-color: var(--cyan); background: rgba(55,230,255,.08); box-shadow: 0 0 22px rgba(55,230,255,.18); }
.holo { --hue: var(--cyan); position: relative; padding-bottom: 40px; }
.h-emitter { position: absolute; left: 50%; bottom: 0; width: 60%; height: 22px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse, color-mix(in srgb, var(--hue) 70%, white) 0%, color-mix(in srgb, var(--hue) 40%, transparent) 35%, transparent 70%); filter: blur(2px); }
.h-emitter::before { content: ""; position: absolute; left: 10%; right: 10%; bottom: 10px; height: 160px; background: linear-gradient(0deg, color-mix(in srgb, var(--hue) 25%, transparent), transparent); clip-path: polygon(30% 100%, 70% 100%, 100% 0, 0 0); opacity: .5; }
.h-frame { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--hue) 22%, transparent), rgba(2,6,14,.85) 70%); border: 1px solid color-mix(in srgb, var(--hue) 55%, transparent); box-shadow: 0 0 40px color-mix(in srgb, var(--hue) 25%, transparent), inset 0 0 60px color-mix(in srgb, var(--hue) 15%, transparent); }
.h-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 3px); mix-blend-mode: overlay; }
.h-img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; filter: drop-shadow(0 0 18px color-mix(in srgb, var(--hue) 45%, transparent)); }
.holo.scan .h-img { animation: holoin .7s var(--ease); }
.holo.scan .h-scan { animation: scan .7s linear; }
.h-scan { position: absolute; left: 0; right: 0; top: -10%; height: 10%; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--hue) 60%, white), transparent); opacity: 0; pointer-events: none; }
@keyframes holoin { 0% { opacity: 0; clip-path: inset(0 0 100% 0); filter: brightness(2.2) hue-rotate(20deg); } 60% { opacity: 1; } 100% { clip-path: inset(0 0 0 0); } }
@keyframes scan { 0% { opacity: .9; top: -10%; } 100% { opacity: 0; top: 100%; } }
.h-tarp { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 8px; padding: 30px; background: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 14px, transparent 14px 28px); }
.h-tarp b { font-family: var(--font-hud); letter-spacing: .3em; text-transform: uppercase; color: var(--text-mute); font-size: 1.1rem; }
.h-tarp span { font-size: .9rem; color: var(--text-dim); }
.h-sku { position: absolute; top: 12px; left: 14px; font-family: var(--font-hud); font-size: .8rem; color: var(--hue); }
.h-count { position: absolute; top: 12px; right: 14px; font-family: var(--font-hud); font-size: .8rem; color: var(--text-dim); }
.h-nav { position: absolute; top: calc(50% - 40px); width: 46px; height: 46px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--hue) 50%, transparent); background: rgba(2,6,14,.75); color: #fff; font-size: 1.4rem; cursor: pointer; }
.h-nav.prev { left: -14px; } .h-nav.next { right: -14px; }
.h-info { --hue: var(--cyan); min-height: 360px; }
.h-info h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); text-transform: uppercase; line-height: 1; }
.h-info h2.scramble { font-family: var(--font-hud); color: var(--text-dim); }
.h-sub { color: var(--text-mute); margin: 6px 0 14px; }
.h-what { font-size: 1rem; }
.h-street { font-size: .92rem; color: var(--text-mute); }
.h-street b { color: var(--text); font-weight: 500; }
.h-info .silnote { min-height: 3.2em; }
.armory-bleed { margin-top: 0; }
.bleed { position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.bleed > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bleed::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ink) 0%, transparent 18%, transparent 55%, rgba(6,4,11,.95) 100%); }
.bleed-in { padding-bottom: 50px; }
.bleed-in h2 { font-size: clamp(2.2rem, 5.5vw, 4.6rem); text-transform: uppercase; line-height: .95; text-shadow: 0 6px 30px rgba(0,0,0,.8); }
.bleed-tag { font-family: var(--font-display); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-2); margin-top: 10px; }
.modes2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.mode2 { margin: 0; position: relative; border-radius: 20px; overflow: hidden; min-height: 520px; display: flex; align-items: flex-end; isolation: isolate; border: 1px solid var(--line); }
.mode2 > img, .sealed-mode { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; z-index: -2; }
.mode2.normal > img { background: #0a0d18; object-fit: contain; }
.mode2::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(6,4,11,.95)); }
.mode2 figcaption { padding: 22px 24px; }
.mode2 .k { font-family: var(--font-display); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); }
.mode2.defense .k, .mode2.defense-locked .k { color: var(--red); }
.mode2 h3 { font-size: 1.3rem; text-transform: uppercase; margin: 6px 0; }
.mode2 p { margin: 0; color: var(--text-mute); font-size: .94rem; }
.sealed-mode { display: grid; place-items: center; background: repeating-linear-gradient(135deg, #1a0508 0 16px, #230a0e 16px 32px); }
.sealed-mode span { font-family: var(--font-hud); letter-spacing: .4em; text-transform: uppercase; color: var(--red); border: 2px solid var(--red); padding: 6px 14px; }


/* --- Nexus: one screen --- */
.ch[hidden] { display: none !important; }
.channels { margin-top: 26px; }
.screen .s-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s; }
.screen .s-bg.on { opacity: 1; }
.s-inset { position: absolute; left: 3%; top: 19%; width: 30%; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; border: 2px solid rgba(55,230,255,.6); box-shadow: 0 16px 40px rgba(0,0,0,.7); background: #000; animation: rise .5s var(--ease); }
.s-inset img { width: 100%; height: 100%; object-fit: cover; }
.screen.studio .s-inset { left: auto; right: 3%; }
.s-nav { position: absolute; top: 45%; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(55,230,255,.5); background: rgba(2,6,14,.7); color: #fff; font-size: 1.3rem; cursor: pointer; }
.s-nav.prev { left: 1.5%; } .s-nav.next { right: 1.5%; }
.s-nav:disabled { opacity: .25; cursor: default; }
.lower3 .live.earlier { background: #3a4252; animation: none; }
.n-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 30px; align-items: start; padding-top: 26px; padding-bottom: 60px; }
.n-story-text { max-width: 760px; }
.n-story-text h1 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.08; margin: 6px 0 12px; }
.n-story-text p { color: var(--text-mute); font-size: 1.04rem; }
.n-story-text .x { font-family: var(--font-display); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; }
.n-story-text ol { padding-left: 20px; color: var(--text-mute); display: grid; gap: 8px; }
.n-story-text ol b { color: var(--text); }
.byline { display: flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--text-dim) !important; margin-bottom: 18px; }
.byline img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 70% 15%; border: 1px solid rgba(55,230,255,.4); background: #0a1020; }
.byline b { color: var(--text); }
.rundown { padding: 16px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.rundown .k { display: block; font-family: var(--font-display); font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--cyan); margin-bottom: 10px; }
.rundown ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 520px; overflow-y: auto; scrollbar-width: thin; }
.rd-item { --hue: var(--cyan); display: grid; grid-template-columns: 54px 1fr; gap: 10px; align-items: center; width: 100%; text-align: left; padding: 7px; border-radius: 10px; border: 1px solid transparent; background: none; cursor: pointer; color: var(--text); }
.rd-item img { width: 54px; height: 38px; border-radius: 6px; object-fit: cover; object-position: 70% 20%; }
.rd-item time { display: block; font-family: var(--font-hud); font-size: .72rem; color: var(--hue); }
.rd-item b { display: block; font-size: .86rem; line-height: 1.25; font-weight: 500; }
.rd-item small { display: block; font-size: .7rem; color: var(--text-dim); }
.rd-item:hover { background: rgba(255,255,255,.04); }
.rd-item[aria-current="true"] { background: rgba(55,230,255,.08); border-color: rgba(55,230,255,.4); }
.n-side { position: sticky; top: calc(var(--hud-h) + 16px); display: grid; gap: 16px; }
@media (max-width: 1020px) { .n-wrap { grid-template-columns: 1fr; } .n-side { position: relative; top: 0; } .s-inset { width: 34%; top: 16%; } }
@media (max-width: 600px) { .s-inset { display: none; } .s-nav { top: 38%; width: 36px; height: 36px; } }
.holo-grid > * { min-width: 0; }

/* ==========================================================================
   Fixes after the scan
   ========================================================================== */
/* header: the clock's place label gives way before the rooms do */
@media (max-width: 1440px) { .tonight .t-where { max-width: 120px; } }
@media (max-width: 1340px) { .tonight .t-where { display: none; } .dock a { padding: 8px 8px; } }
/* Archive: "Seen on" pages appear one by one as you reach them */
.f-seen-l:not([hidden]) ~ .f-seen-l:not([hidden])::before { content: ", "; color: #6b5d43; }

/* Sil's Shop: tabs, the shelf in one line, then the display with the thumbnails under it and the description beside it */
.counter-go { margin-top: 20px; }
.counter-go .btn.ghost { background: rgba(6,4,11,.6); }
.h-ledes { margin: 0 0 16px; }
.h-lede { margin: 0; font-size: .96rem; color: var(--text-mute); line-height: 1.45; border-left: 2px solid var(--gold); padding-left: 12px; }
.holo-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 30px; align-items: start; }
.holo-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.h-rails { flex: 0 0 auto; min-width: 0; }
.h-rail { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding: 4px 2px 6px; }
.h-rail[hidden] { display: none; }
.h-item { --hue: var(--gold); position: relative; flex: 0 0 96px; height: 72px; padding: 4px; border-radius: 10px; cursor: pointer; overflow: hidden; border: 1px solid color-mix(in srgb, var(--hue) 35%, transparent); background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--hue) 18%, transparent), rgba(2,6,14,.9) 75%); transition: border-color .2s, box-shadow .2s, transform .2s; }
.h-item img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--hue) 50%, transparent)); opacity: .8; transition: opacity .2s; }
.h-item .sku { position: absolute; left: 5px; bottom: 3px; font-family: var(--font-hud); font-size: .58rem; color: var(--hue); text-shadow: 0 0 4px #000, 0 0 4px #000; }
.h-item .h-q { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-hud); font-size: 1.4rem; color: var(--text-dim); background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 8px, transparent 8px 16px); }
.h-item:hover { transform: translateY(-2px); border-color: var(--hue); }
.h-item:hover img { opacity: 1; }
.h-item[aria-current="true"] { border-color: var(--cyan); box-shadow: 0 0 18px rgba(55,230,255,.4), inset 0 0 12px rgba(55,230,255,.2); }
.h-item[aria-current="true"] img { opacity: 1; }
.h-item.is-locked .real, .h-item:not(.is-locked) .enc-only { display: none; }
.h-info { min-width: 0; }
.h-info h2 { margin-top: 0; }
@media (min-width: 1101px) {
  .holo-room { min-height: calc(100vh - var(--hud-h)); display: flex; align-items: center; padding: 20px 0 24px; }
  .holo-room > .wrap { width: min(var(--w), calc(100% - 32px)); }
  .h-tabs { margin-bottom: 12px; }
  .holo-grid { height: calc(100vh - var(--hud-h) - 170px); min-height: 480px; max-height: 760px; align-items: stretch; }
  .holo-col { min-height: 0; }
  .holo { flex: 1; min-height: 0; display: flex; flex-direction: column; padding-bottom: 26px; }
  .h-frame { flex: 1; min-height: 0; aspect-ratio: auto; width: 100%; }
  .h-info { overflow-y: auto; scrollbar-width: thin; min-height: 0; padding-right: 8px; }
}
@media (max-width: 1100px) { .holo-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 760px) {
  .holo-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .holo { padding-bottom: 8px; } .h-emitter { display: none; }
  .h-nav.prev { left: 6px; } .h-nav.next { right: 6px; }
  .h-item { flex-basis: 78px; height: 60px; }
  .modes2 { grid-template-columns: 1fr; } .mode2 { min-height: 420px; } .h-info { min-height: 0; }
}

/* The Feed: tonight's rundown as a strip above the screen */
.rstrip-wrap { padding: 8px 0 14px; }
.rs-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.rs-bar .k { font-family: var(--font-display); font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--cyan); }
.rs-hint { font-size: .78rem; color: var(--text-dim); }
#bulletin { margin-left: auto; }
#bulletin.on { background: linear-gradient(135deg, var(--red), #8a0f22); box-shadow: 0 0 24px rgba(232,32,60,.45); }
.rstrip { overflow-x: auto; scrollbar-width: none; cursor: grab; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.rstrip::-webkit-scrollbar { display: none; }
.rstrip.drag { cursor: grabbing; }
.rstrip.drag .rs-card { pointer-events: none; }
.rs-track { display: flex; gap: 12px; padding: 4px max(16px, calc((100vw - var(--w)) / 2)); width: max-content; align-items: stretch; }
.rs-card { --hue: var(--cyan); position: relative; flex: 0 0 280px; display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: center; padding: 8px 12px 8px 8px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; text-align: left; color: var(--text); overflow: hidden; transition: border-color .2s, transform .2s, box-shadow .2s; user-select: none; }
.rs-card:hover { border-color: var(--hue); transform: translateY(-2px); }
.rs-card[aria-current="true"] { border-color: var(--cyan); background: rgba(55,230,255,.09); box-shadow: 0 0 24px rgba(55,230,255,.2); }
.rs-card img { width: 92px; height: 62px; border-radius: 8px; object-fit: cover; object-position: 70% 25%; pointer-events: none; }
.rs-in time { display: block; font-family: var(--font-hud); font-size: .74rem; color: var(--hue); }
.rs-in b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .86rem; line-height: 1.25; font-weight: 500; }
.rs-in small { display: block; font-size: .68rem; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.rs-card .rs-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; margin: 0; background: var(--red); transform: scaleX(0); transform-origin: left; display: block; }
.rstrip-wrap .gate { flex: 0 0 260px; margin: 0; }
.n-side { position: relative; top: 0; }
#ch-nexus .bcast { padding-top: 6px; }
@media (max-width: 700px) { .rs-card { flex-basis: 240px; grid-template-columns: 72px 1fr; } .rs-card img { width: 72px; height: 50px; } .rs-hint { display: none; } #bulletin { margin-left: 0; } }

/* ==========================================================================
   Phase 3 · Neon City time, the front door in two states, "show everything"
   ========================================================================== */
/* Neon City time: the HUD says whose clock this is */
.tonight { gap: 9px; padding: 4px 14px 4px 9px; }
.moon { width: 18px; height: 18px; flex: 0 0 auto; fill: var(--cyan); filter: drop-shadow(0 0 6px rgba(55,230,255,.8)); }
.tonight .moon { animation: pulse 3.2s ease-in-out infinite; }
.t-stack { display: grid; line-height: 1; gap: 2px; text-align: left; }
.t-k { font-family: var(--font-display); font-size: .5rem; letter-spacing: .26em; text-transform: uppercase; color: var(--cyan); }
.pop h3 .moon { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
/* a small hover note for anything with data-tip */
[data-tip] { position: relative; }
[data-tip]:hover::after, [data-tip]:focus-visible::after { content: attr(data-tip); position: absolute; z-index: 75; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: max-content; max-width: 260px; padding: 8px 12px; border-radius: 10px; background: rgba(8,6,16,.97); border: 1px solid rgba(55,230,255,.4); box-shadow: 0 12px 30px rgba(0,0,0,.6); font-family: var(--font-body); font-size: .8rem; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.35; color: var(--text); white-space: normal; text-align: left; pointer-events: none; animation: rise .2s var(--ease); }
.tonight[aria-expanded="true"]::after { display: none; }
@media (hover: none) { [data-tip]:hover::after { display: none; } }

/* the door: copy on the left, the cover (or "since you were last here") on the right */
.door-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); gap: 56px; align-items: end; padding: 40px 0 70px; }
.door .clock { flex-wrap: wrap; align-items: baseline; gap: 4px 18px; }
.door .clock .nct-row { flex: 0 0 100%; }
.door .clock .nct { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; color: var(--cyan); cursor: help; }
.door .clock .nct::after { left: 0 !important; transform: none !important; }
.door .clock .nct .moon { width: 15px; height: 15px; }
.door-facts { margin: 22px 0 0; font-family: var(--font-display); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); }
.door-facts b { color: var(--gold-2); font-family: var(--font-hud); font-size: 1.1rem; font-weight: 400; letter-spacing: 0; }
.door-side { position: relative; align-self: center; }
.door-cover { display: block; max-height: calc(100svh - var(--hud-h) - 170px); aspect-ratio: 1122 / 1402; margin-left: auto; transform: perspective(1400px) rotateY(-9deg) rotate(1.5deg); transition: transform .6s var(--ease); }
.door-cover:hover { transform: perspective(1400px) rotateY(0) rotate(0) scale(1.02); }
.door-cover img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; box-shadow: 0 50px 110px rgba(0,0,0,.85), 0 0 80px rgba(255,46,190,.35); }
.door .crown[data-crown="door-sky"] { right: auto; left: 54%; top: 18%; }

/* since you were last here */
.since { max-height: calc(100svh - var(--hud-h) - 150px); overflow-y: auto; scrollbar-width: thin; padding: 20px 20px 16px; border-radius: 18px; background: rgba(8,6,16,.84); border: 1px solid rgba(55,230,255,.3); box-shadow: 0 40px 90px rgba(0,0,0,.7), 0 0 50px rgba(55,230,255,.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: rise .5s var(--ease); }
.since .s-k { font-family: var(--font-display); font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--cyan); }
.since h2 { font-size: 1.32rem; line-height: 1.2; margin: 6px 0 4px; text-transform: none; }
.since h2 b { font-family: var(--font-hud); font-weight: 400; color: #fff; text-shadow: 0 0 16px rgba(55,230,255,.5); }
.since .s-sub { margin: 0 0 6px; color: var(--text-mute); font-size: .88rem; }
.since .s-sub .hud { color: var(--cyan); }
.s-g { margin-top: 14px; }
.s-h { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 6px; margin-bottom: 8px; }
.s-h a { font-family: var(--font-display); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text); }
.s-h a:hover { color: var(--cyan); }
.s-h b { font-family: var(--font-hud); font-weight: 400; color: var(--gold-2); }
.s-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.s-chip { display: inline-flex; align-items: center; gap: 7px; padding: 3px 11px 3px 3px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--text); font-size: .82rem; max-width: 100%; transition: border-color .2s, background .2s; }
.s-chip img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: top; flex: 0 0 auto; }
.s-chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-chip.more { padding: 4px 11px; color: var(--text-mute); }
.s-chip:hover { border-color: var(--cyan); background: rgba(55,230,255,.08); color: #fff; }
.s-lines { display: grid; gap: 2px; }
.s-line { display: block; padding: 5px 0; color: var(--text); font-size: .86rem; line-height: 1.3; border-bottom: 1px dashed var(--line); }
.s-line i { font-style: normal; font-family: var(--font-hud); color: var(--cyan); margin-right: 8px; }
.s-line.more { color: var(--text-mute); border: 0; }
.s-line:hover { color: var(--cyan); }
.s-part { display: grid; gap: 3px; margin: -4px -4px 14px; padding: 14px 16px; border-radius: 12px; color: var(--text); background: linear-gradient(135deg, rgba(226,182,74,.22), rgba(255,46,190,.14)); border: 1px solid rgba(226,182,74,.6); box-shadow: 0 0 30px rgba(226,182,74,.25); animation: glow-gold 2.6s ease-in-out infinite; }
.s-part .s-new { font-family: var(--font-display); font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-2); }
.s-part b { font-family: var(--font-display); font-size: 1.7rem; text-transform: uppercase; line-height: 1; }
.s-part span:not(.s-new) { color: var(--text-mute); font-size: .88rem; }
.s-part em { font-style: normal; font-family: var(--font-display); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); margin-top: 4px; }
.s-part:hover { color: #fff; }
@keyframes glow-gold { 50% { box-shadow: 0 0 46px rgba(226,182,74,.45); } }

/* the room doors: a crown, and what's new inside */
.room .crown { top: 14px; left: 14px; }
.room .r-new { position: absolute; top: 14px; right: 14px; z-index: 2; font-family: var(--font-display); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: #06040b; background: var(--cyan); border-radius: 999px; padding: 4px 10px; box-shadow: 0 0 18px rgba(55,230,255,.6); }
.room .r-new[hidden] { display: none; }

/* gates: or show everything */
.gate { flex-wrap: wrap; }
.gate .g-all { background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--font-display); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); text-decoration: underline; text-underline-offset: 3px; }
.gate .g-all:hover { color: var(--magenta-2); }
.gate a + .g-all { margin-left: 4px; }

@media (max-width: 960px) {
  .door-in { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 30px 0 64px; }
  .door-side { align-self: auto; }
  .door-cover { max-height: none; width: min(300px, 70vw); margin: 0 auto; transform: none; }
  .since { max-height: none; }
}
@media (max-width: 760px) {
  .tonight .t-k { font-size: .44rem; }
  .door .crown[data-crown="door-sky"] { left: auto; right: 12%; top: 16%; }
}
/* Neon City time in the Intel drawer and on the Nexus screen */
.intel .i-k { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.intel .nct { display: inline-flex; align-items: center; gap: 5px; font-size: .56rem; letter-spacing: .2em; color: var(--text-dim); cursor: help; }
.intel .nct .moon { width: 12px; height: 12px; }
.intel .nct[data-tip]::after { left: auto; right: 0; transform: none; }
.lower3 time { display: inline-flex; align-items: center; gap: 6px; cursor: help; }
.lower3 time .moon { width: 13px; height: 13px; }
.lower3 time[data-tip]::after { top: auto; bottom: calc(100% + 12px); left: auto; right: 0; transform: none; }

/* The Feed, phase 3: the strip with a tag and two arrows, the screen beside its story, the ads in a row */
.channels { align-items: center; }
.channels button[data-ch] { transition: color .2s, border-color .2s, box-shadow .2s, text-shadow .2s; }
.channels button[data-ch]:hover { color: #fff; border-color: rgba(55,230,255,.6); box-shadow: 0 0 20px rgba(55,230,255,.28), inset 0 0 12px rgba(55,230,255,.08); text-shadow: 0 0 10px rgba(55,230,255,.6); }
.channels button[data-ch]:hover i { color: var(--cyan); }
.channels #bulletin { margin-left: auto; }
.channels #bulletin[hidden] { display: none; }
#bulletin.on { background: linear-gradient(135deg, var(--red), #8a0f22); box-shadow: 0 0 24px rgba(232,32,60,.45); }
.rstrip-wrap { padding: 4px 0 0; }
.rs-box { position: relative; padding-top: 26px; }
.rs-tag { position: absolute; left: 0; top: 26px; bottom: 0; z-index: 3; display: flex; align-items: center; padding: 0 10px 0 12px; border-radius: 0 10px 10px 0; background: #040d18; border: 1px solid rgba(55,230,255,.35); border-left: 0; font-family: var(--font-display); font-size: .56rem; line-height: 1.5; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); box-shadow: 8px 0 24px rgba(6,4,11,.8); }
.rs-arrows { position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 22px; opacity: 0; transition: opacity .35s; pointer-events: none; }
.rs-box.hover .rs-arrows { opacity: 1; pointer-events: auto; }
.rs-ar { width: 30px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--cyan); font-size: 1.15rem; line-height: 1; text-shadow: 0 0 8px var(--cyan), 0 0 18px rgba(55,230,255,.6); animation: arglow 1.8s ease-in-out infinite; }
.rs-ar + .rs-ar { animation-delay: .9s; }
.rs-ar:hover { color: #fff; }
@keyframes arglow { 50% { opacity: .45; text-shadow: 0 0 4px var(--cyan); } }
.rstrip { cursor: default; }
.rs-track { padding-left: max(110px, calc((100vw - var(--w)) / 2)); }
.n-main { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; padding-top: 16px; align-items: stretch; }
.n-main .screen { width: 100%; }
.n-text-box { position: relative; min-height: 0; }
.n-text-box .n-story-text { position: absolute; inset: 0; overflow-y: auto; max-width: none; padding: 0 12px 12px 2px; scrollbar-width: thin; scrollbar-color: rgba(55,230,255,.35) transparent; }
.n-text-box .n-story-text h1 { font-size: clamp(1.4rem, 2.2vw, 2rem); }
.n-ads { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; padding-top: 28px; padding-bottom: 24px; }
@media (min-width: 1180px) { .n-ads { grid-template-columns: repeat(7, minmax(0, 1fr)); } .n-ads .xee { grid-column: span 2; } }
.n-ads .xee small { display: block; margin-top: 6px; font-size: .72rem; color: var(--text-dim); }
.n-ads .n-stand { grid-template-columns: 64px 1fr; align-content: start; align-items: start; }
@media (min-width: 1180px) { .n-ads .n-stand { grid-template-columns: 1fr; gap: 10px; } .n-ads .n-stand img { width: 70px; } }
.n-ads .n-ad { margin: 0; padding: 14px 16px; }
.n-ads .n-ad h3 { font-size: 1.02rem; }
.n-ads .n-ad p { font-size: .82rem; }
.n-ads .n-stand { grid-template-columns: 58px 1fr; padding: 10px; font-size: .78rem; }
.n-ads .n-stand b { font-size: .84rem; }
.city-ad { --hue: var(--cyan); display: block; color: var(--text); border-color: color-mix(in srgb, var(--hue) 45%, transparent) !important; background: linear-gradient(135deg, color-mix(in srgb, var(--hue) 13%, transparent), rgba(6,4,11,.65)) !important; transition: transform .25s var(--ease), box-shadow .25s; }
.city-ad .k { color: var(--hue) !important; }
.city-ad:hover { color: var(--text); transform: translateY(-3px); box-shadow: 0 0 28px color-mix(in srgb, var(--hue) 30%, transparent); }
@media (max-width: 1020px) {
  .n-main { grid-template-columns: minmax(0, 1fr); }
  .n-text-box .n-story-text { position: static; overflow: visible; padding: 0; }
}
@media (max-width: 700px) {
  .n-ads { grid-template-columns: minmax(0, 1fr); }
  .rs-tag { font-size: .5rem; padding: 0 8px; }
  .rs-track { padding-left: 84px; }
  .channels #bulletin { margin-left: 0; width: 100%; justify-content: center; }
}
@media (max-width: 760px) { .lower3 time { display: none; } }
.f-sheet .f-more { position: absolute; right: 8px; top: 8px; font-family: var(--font-hud); font-size: .66rem; letter-spacing: .06em; color: #fff; background: rgba(6,4,11,.8); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 2px 8px; }
/* Contacts: the portrait opens every picture of them; Lunara stands right of centre in hers */
img[src*="portrait-lunara-tall"] { object-position: 72% 14% !important; }
.p-por[data-gallery] { cursor: zoom-in; transition: border-color .2s, box-shadow .2s; }
.p-por[data-gallery]:hover { border-color: var(--hue); box-shadow: 0 0 30px color-mix(in srgb, var(--hue) 30%, transparent); }
.p-por-n { position: absolute; left: 10px; bottom: 10px; font-family: var(--font-display); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; background: rgba(6,4,11,.75); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 4px 10px; opacity: .85; }
.p-por[data-gallery]:hover .p-por-n { opacity: 1; border-color: var(--hue); }
/* The City: a place opens as a card beside the map; its picture opens every picture of it */
.place-panel > .back-list { display: none; }
.place-panel .card > .back-list { margin: 14px 0 0 16px; }
.place-panel .card .pp-img { aspect-ratio: 16 / 10; margin-top: 12px; }
.pp-img[data-gallery] { cursor: zoom-in; }
.pp-img[data-gallery] img { transition: transform .8s var(--ease); }
.pp-img[data-gallery]:hover img { transform: scale(1.04); }
.pp-n { position: absolute; left: 12px; bottom: 12px; font-family: var(--font-display); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; background: rgba(6,4,11,.78); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 4px 10px; }
.pp-img[data-gallery]:hover .pp-n { border-color: var(--hue); }
.pin-m[aria-current="true"] i { transform: scale(1.4); box-shadow: 0 0 0 4px rgba(255,255,255,.15), 0 0 24px var(--hue); }
.place-panel .card > .back-list { display: inline-flex !important; }
/* Sil-101's line in each room */
@media (min-width: 1021px) {
  .room-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); column-gap: 48px; align-items: end; }
  .room-head > :not(.sil-room) { grid-column: 1; }
  .room-head > .sil-room { grid-column: 2; grid-row: 1 / span 3; align-self: end; margin: 0; }
}
.sil-room { animation: rise .4s var(--ease); }
.intel .sil-room { margin: 14px 0 0; font-size: .84rem; }
[data-sil-room="feed"] { max-width: 760px; margin: 0 0 50px; }
.myth-7 { margin-top: 16px; padding: 12px 14px; border-left: 2px solid var(--gold); background: rgba(226,182,74,.06); border-radius: 0 10px 10px 0; }
.myth-7 b { color: var(--gold-2); }
/* the reader: breaking news when the page you turn puts a story on the air */
.breaking { position: fixed; z-index: 92; left: 50%; top: calc(var(--hud-h) + 12px); transform: translateX(-50%); width: min(640px, calc(100vw - 24px)); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 10px 12px 10px 10px; border-radius: 12px; background: rgba(10,4,8,.97); border: 1px solid rgba(232,32,60,.7); box-shadow: 0 20px 50px rgba(0,0,0,.6), 0 0 34px rgba(232,32,60,.35); color: var(--text); animation: breakin .45s var(--ease); }
.breaking:hover { color: #fff; border-color: var(--red); }
.breaking .bk-k { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; background: var(--red); border-radius: 6px; padding: 6px 9px; white-space: nowrap; }
.breaking .bk-k img { height: 16px; width: auto; }
.breaking b { font-family: var(--font-display); font-size: .95rem; line-height: 1.25; font-weight: 600; }
.breaking small { display: block; font-family: var(--font-hud); color: var(--text-dim); font-size: .72rem; margin-top: 2px; }
.breaking .bk-go { font-family: var(--font-display); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); white-space: nowrap; }
.breaking.out { opacity: 0; transform: translate(-50%, -12px); transition: opacity .4s, transform .4s; }
@keyframes breakin { from { opacity: 0; transform: translate(-50%, -16px); } }
@media (max-width: 600px) { .breaking { grid-template-columns: auto 1fr; } .breaking .bk-go { display: none; } }
body[data-room=read] .breaking { top: calc(var(--hud-h) + 66px); }
.sealed-gate .g-all { display: none; }
/* the footer's last line, as on every page of the portal */
.n-footer .kept { margin: 14px 0 0; font-family: var(--font-display); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); opacity: .8; }
/* phones: the header must fit, crowns and all */
@media (max-width: 480px) {
  .brand span { display: none; }
  .n-header { gap: 8px; }
  .tonight { padding: 4px 10px 4px 8px; gap: 7px; }
  .tonight .t-clock { font-size: .96rem; }
}
@media (max-width: 380px) {
  .tonight .t-k { display: none; }
  .tonight .moon { width: 15px; height: 15px; }
  .crowns { padding: 3px 7px 3px 3px; font-size: .8rem; }
}
.n-header { max-width: 100vw; }
.drive-drawer { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; max-width: 620px; margin: 40px auto 70px; padding: 14px; border-radius: 16px; border: 1px dashed rgba(226,182,74,.45); background: rgba(226,182,74,.04); color: var(--text-mute); font-size: .92rem; transition: border-color .2s, box-shadow .2s; }
.drive-drawer:hover { color: var(--text); border-style: solid; border-color: var(--gold); box-shadow: 0 0 30px rgba(226,182,74,.2); }
.drive-drawer img { width: 120px; height: 120px; object-fit: cover; border-radius: 10px; }
.drive-drawer i { display: block; font-style: normal; font-family: var(--font-display); font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.drive-drawer b { display: block; font-family: var(--font-display); font-size: 1.2rem; text-transform: uppercase; color: var(--text); margin: 2px 0 4px; }
@media (max-width: 500px) { .drive-drawer { grid-template-columns: 80px 1fr; } .drive-drawer img { width: 80px; height: 80px; } }

/* Archive: how Neon City talks (the lettering key) */
.v-rows { display: grid; gap: 10px; margin: 12px 0; }
.v-row { display: grid; grid-template-columns: minmax(150px, 210px) 1fr; gap: 14px; align-items: center; }
.v-what { font-size: .86rem; color: #2a2433; line-height: 1.35; }
.v-what b { display: block; font-family: var(--font-display); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #3c3448; }
.v-sw { position: relative; display: grid; gap: 3px; padding: 8px 12px; font-family: var(--font-display); font-weight: 700; font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1.2; }
.v-sw i { font-style: normal; font-size: .56rem; letter-spacing: .16em; }
.v-room { background: #fff; color: #111; border: 2px solid #111; border-radius: 22px; text-align: center; }
.v-room::after { content: ""; position: absolute; left: 26px; bottom: -9px; border: 8px solid transparent; border-top-color: #111; border-bottom: 0; }
.v-comms { background: #071a2c; border: 1.5px solid #37e6ff; border-radius: 6px; color: #fff; box-shadow: 0 0 10px rgba(55,230,255,.35); }
.v-comms i { color: #9ff4ff; }
.v-comms > span { background: #fff; color: #0a1a2a; border: 1.5px solid #37e6ff; border-radius: 6px; padding: 3px 8px; width: max-content; }
.v-hack { background: #050505 repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 1px, transparent 1px 3px); border: 2px solid #e8203c; border-left-width: 6px; border-radius: 0; color: #ff5c70; text-shadow: 1px 0 rgba(55,230,255,.45), -1px 0 rgba(232,32,60,.6); }
.v-hack i { color: #e8203c; }
.v-diva { background: #120c02; border: 1.5px solid #e2b64a; border-radius: 4px; color: #f5d27a; text-transform: none; box-shadow: 0 0 12px rgba(226,182,74,.35); }
.v-diva i { color: #e2b64a; text-transform: uppercase; border-bottom: 1px solid rgba(226,182,74,.5); padding-bottom: 3px; }
.v-berta { grid-template-columns: 12px 1fr; align-items: center; column-gap: 9px; background: linear-gradient(180deg, #7a838f, #3a4049); border: 1.5px solid #1d2127; border-radius: 3px; color: #fff; text-shadow: 0 1px 0 #000; }
.v-berta .chip { width: 10px; height: 10px; background: #e8203c; box-shadow: 0 0 8px #e8203c; border-radius: 1px; }
.v-glitch { background: #e8203c; color: #fff; text-transform: lowercase; font-family: var(--font-hud); clip-path: polygon(0 18%, 7% 0, 22% 10%, 38% 0, 55% 12%, 72% 0, 88% 9%, 100% 0, 96% 40%, 100% 62%, 94% 100%, 76% 88%, 60% 100%, 42% 90%, 26% 100%, 10% 88%, 0 100%, 4% 60%); padding: 12px 16px; }
.v-glitch > span { position: relative; z-index: 1; text-shadow: 1px 0 #37e6ff, -1px 0 #000; }
.v-glitch::before { content: ""; position: absolute; inset: 3px; background: #0a0a0a; clip-path: inherit; }
@media (max-width: 500px) { .v-row { grid-template-columns: 1fr; gap: 6px; } }

/* Contacts: Diva's card speaks her own language. Her own words (no speaker tag) arrive in the gold channel. */
#c-diva { --hue: var(--gold); }
#c-diva .p-hero { position: relative; padding: 30px 16px 16px; border-radius: 16px; background: linear-gradient(180deg, rgba(18,12,2,.95), rgba(18,12,2,.6)); border: 1px solid rgba(226,182,74,.6); box-shadow: 0 0 30px rgba(226,182,74,.15), inset 0 0 40px rgba(226,182,74,.06); }
#c-diva .p-hero::before { content: "OMEGA ENCRYPTION · PRIORITY CHANNEL"; position: absolute; top: 9px; left: 16px; right: 16px; font-family: var(--font-display); font-size: .56rem; letter-spacing: .24em; color: var(--gold); border-bottom: 1px solid rgba(226,182,74,.35); padding-bottom: 5px; }
#c-diva .p-hero h2 { color: var(--gold-2); text-shadow: 0 0 20px rgba(226,182,74,.4); }
#c-diva .bub:has(q:not([data-who])) { background: #120c02; border: 1px solid rgba(226,182,74,.7); box-shadow: 0 0 18px rgba(226,182,74,.2); }
#c-diva .bub:has(q:not([data-who]))::before { content: "OMEGA ENCRYPTION"; display: block; font-family: var(--font-display); font-size: .56rem; letter-spacing: .22em; color: var(--gold); border-bottom: 1px solid rgba(226,182,74,.35); padding-bottom: 5px; margin-bottom: 6px; }
#c-diva .bub q:not([data-who]) { color: var(--gold-2); text-transform: none; }
/* caught up: where the night goes next */
.door-next { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 0; font-family: var(--font-display); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.door-next a { color: var(--gold-2); border-bottom: 1px solid rgba(226,182,74,.4); padding-bottom: 2px; }
.door-next a:hover { color: #fff; border-color: var(--gold); }
.door-next[hidden] { display: none; }
