/* Sodium look (APKLYPZ design system v2): amber on warm black, periwinkle counter, FatFrank display.
   Everything here is scoped to html[data-look="sodium"], so the old look is untouched without it. */
.sod-only { display: none !important; }
html[data-look="sodium"] .sod-only { display: revert !important; }
html[data-look="sodium"] .old-only { display: none !important; }

html[data-look="sodium"] {
  --bg: #0b0908;
  --bg-2: #15110e;
  --bg-3: #1f1914;
  --shell: #050403;
  --night: #1c2038;
  --ink: #efe6d8;
  --ink-dim: #ab9d8b;
  --bone: #fff8e6;
  --sodium: #f5a623;
  --sodium-deep: #c9770a;
  --rust: #ee5a2e;
  --mag: #ee5a2e;
  --cy: #7c88ff;
  --peri: #bbc1e9;
  --phosphor: #3fd6a0;
  --acid: #bbc1e9;
  --line: #32281f;
  --line-warm: #5a3a14;
  --stencil: "FatFrank", "League Spartan", "Arial Black", system-ui, sans-serif;
}
html[data-look="sodium"] h2,
html[data-look="sodium"] h3,
html[data-look="sodium"] .room-h,
html[data-look="sodium"] .nav-mark,
html[data-look="sodium"] .log-id,
html[data-look="sodium"] .next-title,
html[data-look="sodium"] .done .big,
html[data-look="sodium"] .dial-read,
html[data-look="sodium"] .credit .who { font-weight: 800; letter-spacing: 0; }
html[data-look="sodium"] h2 { color: var(--bone); text-shadow: 2px 0 0 rgba(238,90,46,.6), -2px 0 0 rgba(124,136,255,.55); }
html[data-look="sodium"] .room-h { text-transform: none; text-shadow: 3px 0 0 rgba(238,90,46,.8), -3px 0 0 rgba(124,136,255,.75), 0 0 26px rgba(245,166,35,.28); }

/* links, hover, focus */
html[data-look="sodium"] a:hover { color: var(--bone); }
html[data-look="sodium"] :focus-visible { outline-color: var(--peri); }
html[data-look="sodium"] .skip { background: var(--sodium); }
html[data-look="sodium"] .cursor { background: var(--sodium); }
html[data-look="sodium"] .nl:hover { color: var(--bone); }
html[data-look="sodium"] .sig-t[aria-pressed="true"] { background: var(--sodium); border-color: var(--sodium); }
html[data-look="sodium"] .btn,
html[data-look="sodium"] .btn:hover,
html[data-look="sodium"] .switch button[aria-pressed="true"],
html[data-look="sodium"] .sig-t[aria-pressed="true"],
html[data-look="sodium"] .log-real,
html[data-look="sodium"] .yt-load .play,
html[data-look="sodium"] .explicit,
html[data-look="sodium"] .credit .tape { color: #0b0908; }
html[data-look="sodium"] .btn:hover { background: var(--bone); }
html[data-look="sodium"] .btn:active { background: var(--sodium-deep); }
html[data-look="sodium"] .btn.ghost { color: var(--ink); }
html[data-look="sodium"] .btn.ghost:hover { background: transparent; color: var(--sodium); box-shadow: inset 0 0 0 1px var(--sodium); }
html[data-look="sodium"] .room:hover { border-color: var(--sodium); }
html[data-look="sodium"] .door:hover { border-color: var(--sodium); background: var(--bg-3); color: var(--bone); }
html[data-look="sodium"] .chips button:hover { border-color: var(--sodium); color: var(--sodium); }
html[data-look="sodium"] .tracklist li.knock { color: var(--sodium); }
html[data-look="sodium"] .noise-panel .needle { color: rgba(239,230,216,.28); }
html[data-look="sodium"] .noise-panel .needle:hover { color: var(--sodium); }

/* texture and chrome */
html[data-look="sodium"] .fx-vig { background: radial-gradient(ellipse at 50% 40%, rgba(0,0,0,0) 45%, rgba(14,7,0,.66) 100%); }
html[data-look="sodium"] .fx-scratch i { background: rgba(255,248,230,.2); }
html[data-look="sodium"] .fx-scratch i:nth-child(2) { background: rgba(0,0,0,.5); }
html[data-look="sodium"] .fx-dust { background-image:
    radial-gradient(circle at 12% 30%, rgba(255,248,230,.5) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 64%, rgba(255,248,230,.45) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 40% 85%, rgba(0,0,0,.7) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 14%, rgba(255,248,230,.4) 0 1px, transparent 2px),
    radial-gradient(circle at 25% 60%, rgba(0,0,0,.6) 0 1.5px, transparent 2.5px); }
html[data-look="sodium"] #xh::before,
html[data-look="sodium"] #xh::after { background: rgba(245,166,35,.85); }
html[data-look="sodium"] #xh .xh-r { color: var(--sodium); }
html[data-look="sodium"] .nav { background: rgba(11,9,8,.92); }
html[data-look="sodium"] .nav-mark { display: inline-flex; align-items: center; gap: 10px; font-size: 1.2rem; }
html[data-look="sodium"] .nav-logo { width: 38px; height: 38px; }

/* hero */
html[data-look="sodium"] .hero::before { background: radial-gradient(ellipse at 50% 18%, rgba(245,166,35,.26) 0%, rgba(201,119,10,.13) 30%, rgba(0,0,0,0) 62%); }
html[data-look="sodium"] .wm { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html[data-look="sodium"] .wm-font { display: none; }
html[data-look="sodium"] .wm-svg { width: min(94%, 900px); height: auto; overflow: visible; filter: drop-shadow(0 0 26px rgba(245,166,35,.28)); }
.wm-svg .m { fill: #fff8e6; }
.wm-svg .g1 { fill: #ee5a2e; opacity: .85; animation: wmg1 6s steps(1) infinite; }
.wm-svg .g2 { fill: #7c88ff; opacity: .8; animation: wmg2 6s steps(1) infinite; }
@keyframes wmg1 { 0%,100% { transform: translate(34px,0); } 61% { transform: translate(120px,-10px); } 63% { transform: translate(-40px,14px); } 65% { transform: translate(34px,0); } 88% { transform: translate(80px,0); } 89% { transform: translate(34px,0); } }
@keyframes wmg2 { 0%,100% { transform: translate(-34px,0); } 61% { transform: translate(-130px,12px); } 63% { transform: translate(50px,-10px); } 65% { transform: translate(-34px,0); } 88% { transform: translate(-90px,0); } 89% { transform: translate(-34px,0); } }
html[data-signal="low"] .wm-svg .g1 { animation: none; transform: translate(34px,0); }
html[data-signal="low"] .wm-svg .g2 { animation: none; transform: translate(-34px,0); }
@media (prefers-reduced-motion: reduce) {
  .wm-svg .g1 { transform: translate(34px,0); }
  .wm-svg .g2 { transform: translate(-34px,0); }
}

/* film loops: sodium duotone, hard black and white, night duotone */
html[data-look="sodium"] .g-sepia img { filter: grayscale(1) sepia(1) saturate(2.3) hue-rotate(-14deg) contrast(1.3) brightness(.86); }
html[data-look="sodium"] .g-rust img { filter: grayscale(1) sepia(1) saturate(3.2) hue-rotate(-28deg) contrast(1.45) brightness(.78); }
html[data-look="sodium"] .g-bw img { filter: grayscale(1) contrast(1.8) brightness(.95); }
html[data-look="sodium"] .g-acid img { filter: grayscale(1) sepia(1) hue-rotate(195deg) saturate(1.5) contrast(1.3) brightness(.9); }
html[data-look="sodium"] .yt-load img { filter: grayscale(.6) sepia(.5) saturate(1.3) contrast(1.15) brightness(.9); }
html[data-look="sodium"] .yt-load:hover img { filter: saturate(1.1) contrast(1.2); }
html[data-look="sodium"] .yt-load .play { background: var(--sodium); box-shadow: 4px 0 0 var(--mag), -4px 0 0 var(--cy); }
html[data-look="sodium"] .release-head img { box-shadow: 4px 4px 0 rgba(238,90,46,.45), -4px -4px 0 rgba(124,136,255,.35); }

/* logs, signup, next transmission, terminal, dial */
html[data-look="sodium"] .log-d { color: var(--peri); }
html[data-look="sodium"] .log-real { background: var(--sodium); }
html[data-look="sodium"] .terminal-box { background: var(--shell); border-color: var(--line-warm); box-shadow: 0 0 40px rgba(245,166,35,.06) inset; }
html[data-look="sodium"] .sig-h { color: var(--sodium); }
html[data-look="sodium"] .signup-row input[type="email"] { border-color: var(--ink-dim); caret-color: var(--sodium); }
html[data-look="sodium"] .signup-row input::placeholder { color: var(--ink-dim); }
html[data-look="sodium"] .signup-row input:focus { border-color: var(--peri); box-shadow: 0 0 0 2px rgba(187,193,233,.3); }
html[data-look="sodium"] .form-msg.err { color: #ff8a6b; }
html[data-look="sodium"] .done .big { color: var(--phosphor); }
html[data-look="sodium"] .next { background: var(--night); border-color: var(--peri); }
html[data-look="sodium"] .next .tag::before { color: var(--peri); opacity: .7; }
html[data-look="sodium"] .next-meta { color: var(--ink); }
html[data-look="sodium"] .shell { background: #030302; border-color: var(--line-warm); color: var(--phosphor); box-shadow: 0 0 60px rgba(245,166,35,.05) inset; }
html[data-look="sodium"] .shell-in input { caret-color: var(--phosphor); }
html[data-look="sodium"] .dial-state.lock { color: var(--phosphor); }
html[data-look="sodium"] .wave i { background: linear-gradient(to top, var(--rust), var(--sodium)); }
html[data-look="sodium"] .bulb { width: 18px; height: 26px; border-radius: 50% 50% 40% 40%; background: radial-gradient(circle at 50% 40%, #fff4d0, #f5a623 55%, #7a3a10 100%); box-shadow: 0 0 22px 6px rgba(245,166,35,.35); }

/* credit and footer */
html[data-look="sodium"] .credit { background: repeating-linear-gradient(135deg, rgba(245,166,35,.06) 0 10px, rgba(0,0,0,0) 10px 20px), var(--bg-3); }
html[data-look="sodium"] .credit .tape { background: rgba(255,248,230,.92); }
html[data-look="sodium"] .foot-spin { width: 132px; height: 132px; mix-blend-mode: screen; margin: 0 0 14px -10px; }

/* boot screen: the spinning AZ, once per visit */
#boot { display: none; }
html[data-look="sodium"][data-boot] #boot { display: grid !important; position: fixed; inset: 0; z-index: 400; place-items: center; background: #000; animation: bootout 1.7s steps(1) forwards; }
html[data-look="sodium"][data-boot] #boot img { width: min(52vw, 240px); height: auto; }
@keyframes bootout { 0% { opacity: 1; clip-path: inset(0); } 86% { clip-path: inset(0 0 46% 0); transform: translateX(-14px); } 90% { clip-path: inset(38% 0 12% 0); transform: translateX(18px); } 94% { clip-path: inset(0); transform: none; opacity: .5; } 100% { opacity: 0; visibility: hidden; pointer-events: none; } }