/* =========================================================
   JOLAGREEN23 — 23 JOURS PLUS TARD · the game
   Visuals: official assets only (covers, artist photos, logos, store).
   ========================================================= */

:root {
  --bg: #030503;
  --ink: #f1f5ee;
  --dim: rgba(241, 245, 238, .58);
  --green: #5cff4f;
  --green-hot: #a6ff8f;
  --red: #e73744;           /* official 23 JOURS PLUS TARD red */
  --cam: #a9d3dc;

  --f-wide: "Bruno Ace SC", "Arial Black", sans-serif;
  --f-mono: "Courier Prime", "Courier New", monospace;
  --f-hud: "Share Tech Mono", monospace;
  --f-cond: "Anton", "Impact", sans-serif;
  --f-sans: "Manrope", system-ui, sans-serif;

  --glow: 0 0 6px rgba(92, 255, 79, .9), 0 0 22px rgba(92, 255, 79, .55), 0 0 60px rgba(92, 255, 79, .25);
  --glow-w: 0 0 6px rgba(255, 255, 255, .8), 0 0 24px rgba(255, 255, 255, .35);
  --logo-glow: drop-shadow(0 0 2px rgba(255,255,255,.9)) drop-shadow(0 0 18px rgba(255,255,255,.35));
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
button, a { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { text-decoration: none; }
svg { width: 1em; height: 1em; }
img { display: block; max-width: 100%; }
:focus { outline: none; }
:focus-visible { outline: 1px dashed var(--green); outline-offset: 4px; }

#game { position: fixed; inset: 0; overflow: hidden; background: var(--bg); }

/* ---------- screens ---------- */
.screen {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.screen.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.slot-missing { visibility: hidden; }


/* ---------- backgrounds (no photos: CRT / HUD surfaces) ---------- */
.bg { position: absolute; inset: 0; overflow: hidden; background: #030503; }
.bg::before, .bg::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
/* title: green phosphor glow rising from the bottom */
.bg--title {
  background:
    radial-gradient(ellipse 70% 55% at 50% 100%, rgba(92,255,79,.28), transparent 70%),
    radial-gradient(ellipse 40% 30% at 50% 45%, rgba(92,255,79,.08), transparent 70%),
    #020402;
}
.bg--title::before {
  /* perspective floor grid */
  inset: 55% -50% -10%;
  background:
    repeating-linear-gradient(90deg, rgba(92,255,79,.22) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(0deg, rgba(92,255,79,.22) 0 1px, transparent 1px 40px);
  transform: perspective(420px) rotateX(62deg);
  transform-origin: 50% 0;
  mask-image: linear-gradient(to bottom, transparent, #000 40%);
  animation: floor 3s linear infinite;
}
@keyframes floor { to { background-position: 0 0, 0 40px; } }
/* menus: dark console UI with a soft green halo and grid */
.bg--menu {
  background:
    radial-gradient(ellipse 55% 60% at 50% 50%, rgba(92,255,79,.12), transparent 70%),
    repeating-linear-gradient(0deg, rgba(92,255,79,.045) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(92,255,79,.045) 0 1px, transparent 1px 34px),
    #030503;
}
.bg--menu::after { background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,.7)); }
.bg--cold {
  background:
    radial-gradient(ellipse 55% 60% at 50% 50%, rgba(169,211,220,.12), transparent 70%),
    repeating-linear-gradient(0deg, rgba(169,211,220,.05) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(169,211,220,.05) 0 1px, transparent 1px 34px),
    #030506;
}
/* surveillance feed: cold monitor with rolling bar */
.bg--cam {
  background:
    radial-gradient(ellipse 80% 70% at 50% 45%, rgba(169,211,220,.16), transparent 75%),
    #05090b;
}
.bg--cam::before {
  background: linear-gradient(to bottom, transparent, rgba(169,211,220,.07) 50%, transparent);
  height: 30%;
  inset: auto 0 auto 0;
  animation: rollbar 6s linear infinite;
}
.bg--cam::after { background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.75)); }
@keyframes rollbar { from { top: -30%; } to { top: 100%; } }
.feed-noise { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; opacity: .06; }
/* album select: tint follows the focused save */
.bg--album { transition: background-color .4s; }
#albums[data-tint="rd"] .bg--album { background: radial-gradient(ellipse 80% 70% at 30% 70%, rgba(231,55,68,.22), transparent 70%), #0a0405; }
#albums[data-tint="xp"] .bg--album { background: radial-gradient(ellipse 80% 70% at 30% 70%, rgba(63,94,255,.22), transparent 70%), #04050b; }
#albums[data-tint="goty"] .bg--album { background: radial-gradient(ellipse 80% 70% at 30% 70%, rgba(255,255,255,.12), transparent 70%), #060606; }
#albums[data-tint="unknown"] .bg--album { background: radial-gradient(ellipse 80% 70% at 30% 70%, rgba(92,255,79,.18), transparent 70%), #030503; }

/* ---------- CRT layer ---------- */
.crt::before,
.crt::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
}
.crt::before {
  background:
    repeating-linear-gradient(to bottom, rgba(0,0,0,0) 0 2px, rgba(0,0,0,.26) 2px 3px),
    linear-gradient(90deg, rgba(255,0,40,.03), rgba(0,255,90,.02), rgba(40,80,255,.03));
  background-size: 100% 3px, 3px 100%;
  animation: flicker 6s steps(60) infinite;
}
.crt::after { background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.55) 100%); }
body.no-crt .crt::before,
body.no-crt .crt::after,
body.no-crt .grain { display: none; }
@keyframes flicker {
  0%, 100% { opacity: .9; }
  48% { opacity: 1; }
  50% { opacity: .78; }
  52% { opacity: 1; }
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: 89;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain .5s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-6%, 4%); }
  50% { transform: translate(4%, -7%); }
  75% { transform: translate(-3%, -2%); }
}

#static {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 80;
  image-rendering: pixelated;
  opacity: 0;
  pointer-events: none;
}
#static.is-on { opacity: 1; }

/* ---------- shared type ---------- */
.wide {
  font-family: var(--f-wide);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0;
  line-height: 1.5;
  font-size: clamp(.8rem, 1.3vw, 1.05rem);
  text-shadow: var(--glow-w);
}
.wide--xl { font-size: clamp(1.4rem, 3vw, 2.4rem); }
.wide--dim { color: var(--dim); text-shadow: none; }

/* =========================================================
   BOOT
   ========================================================= */
#boot { background: #000; }
.boot-step {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 2.4rem;
  opacity: 0;
  transition: opacity .9s ease;
}
.boot-step.is-on { opacity: 1; }
.boot-console-name {
  margin: 0;
  font-weight: 400;
  letter-spacing: .02em;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  text-shadow: var(--glow-w);
}
.boot-console-name span { font-weight: 800; }
.logo-row {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding: 0 16px;
}
.boot-logo { filter: var(--logo-glow); height: auto; }
.boot-logo--23 { width: clamp(110px, 14vw, 170px); }
.boot-logo--sig { width: clamp(170px, 22vw, 280px); }
.boot-disclaimer {
  max-width: 62ch;
  margin: 0;
  font-size: .72rem;
  line-height: 1.6;
  text-align: center;
  color: rgba(255,255,255,.75);
  padding: 0 1rem;
}
.boot-disclaimer b { color: #fff; letter-spacing: .1em; }

.rating-card {
  width: 150px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border: 3px solid #fff;
  border-radius: 4px;
  background: #000;
  text-align: center;
  box-shadow: 0 0 24px rgba(255,255,255,.55), inset 0 0 0 3px #000, inset 0 0 0 5px #fff;
}
.rating-top { font-family: var(--f-cond); font-size: .8rem; padding: .35rem 0; border-bottom: 3px solid #fff; letter-spacing: .04em; }
.rating-m {
  font-family: var(--f-cond);
  font-size: 6.2rem;
  line-height: 1.05;
  background: #fff;
  color: #000;
  margin: .5rem;
  clip-path: polygon(0 4%, 100% 0, 97% 100%, 3% 96%);
}
.rating-bottom { font-family: var(--f-cond); font-size: 1.3rem; padding: .2rem 0 .35rem; border-top: 3px solid #fff; letter-spacing: .06em; }

.skip {
  position: absolute;
  right: 1.25rem;
  bottom: 1.1rem;
  z-index: 5;
  font-family: var(--f-hud);
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  padding: .4rem .6rem;
}
.skip:hover { color: #fff; }

/* =========================================================
   TITLE
   ========================================================= */
#title { background: #000; grid-template-rows: 1fr auto auto; }
.brand {
  position: relative;
  z-index: 2;
  grid-row: 1;
  align-self: end;
  margin: 0 0 4vh;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.4rem);
  padding: 0 16px;
}
.brand-sig { width: clamp(220px, 34vw, 520px); height: auto; filter: var(--logo-glow); }
.brand-23 { width: clamp(90px, 11vw, 170px); height: auto; filter: var(--logo-glow); }
.press-start {
  position: relative;
  z-index: 2;
  grid-row: 2;
  margin-bottom: 9vh;
  font-family: var(--f-wide);
  font-size: clamp(.9rem, 1.6vw, 1.3rem);
  letter-spacing: .1em;
  text-shadow: var(--glow-w);
  display: flex;
  align-items: center;
  gap: .6rem;
  animation: blink 1.1s steps(2, jump-none) infinite;
}
.press-start small { font-family: var(--f-sans); font-size: .5em; font-weight: 800; border: 1px solid #fff; padding: .15em .45em; border-radius: 1em; }
@keyframes blink { 50% { opacity: .15; } }
.title-legal {
  position: relative;
  z-index: 2;
  grid-row: 3;
  margin: 0 0 1.2rem;
  font-size: .62rem;
  letter-spacing: .08em;
  color: rgba(255,255,255,.45);
}
@keyframes drift { to { transform: scale(1.06) translateY(-1.5%); } }

/* =========================================================
   MENU / DIFFICULTY
   ========================================================= */
.menu-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: clamp(1.2rem, 3.4vh, 2.2rem);
  padding: 0 16px;
}
.menu-logo { width: clamp(160px, 20vw, 280px); height: auto; filter: var(--logo-glow); }
#difficulty .menu-logo { width: clamp(110px, 12vw, 170px); }
.opt-list { display: grid; justify-items: center; gap: .5rem; }
.opt {
  position: relative;
  font-family: var(--f-wide);
  font-size: clamp(.95rem, 1.7vw, 1.3rem);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  padding: .3rem 2.6rem;
  text-shadow: 0 2px 0 #000;
  transition: color .15s, text-shadow .15s, transform .25s var(--ease);
  white-space: nowrap;
}
/* selection brackets, the pad-button frames from the trailer menu */
.opt::before,
.opt::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 1.5rem;
  height: .95rem;
  translate: 0 -50%;
  border: 1.5px solid #fff;
  border-radius: 3px;
  opacity: 0;
  background: linear-gradient(#fff, #fff) 50% 50% / 30% 1.5px no-repeat;
  box-shadow: 0 0 10px rgba(255,255,255,.6);
  transition: opacity .15s, transform .25s var(--ease);
}
.opt::before { left: 0; transform: translateX(6px); }
.opt::after { right: 0; transform: translateX(-6px); }
.opt:focus-visible { outline: none; }
.opt.is-focus { color: #fff; text-shadow: var(--glow-w); }
.opt.is-focus::before,
.opt.is-focus::after { opacity: 1; transform: none; }
.opt--23.is-focus { color: var(--green-hot); text-shadow: var(--glow); }
.opt--back { font-size: .8em; margin-top: .4rem; }
.menu-hint {
  margin: 0;
  min-height: 1.4em;
  font-family: var(--f-hud);
  font-size: .8rem;
  letter-spacing: .08em;
  color: var(--green);
  text-align: center;
  text-shadow: 0 0 8px rgba(92,255,79,.5), 0 1px 0 #000;
}

/* =========================================================
   STORY — official cover as the world map
   ========================================================= */
#story { background: #020402; align-content: end; }
.city {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  object-fit: cover;
}
.story-head {
  position: absolute;
  z-index: 2;
  left: clamp(16px, 4vw, 3.5rem);
  top: clamp(1.2rem, 6vh, 3.5rem);
  display: grid;
  gap: .5rem;
}
.story-mode {
  position: absolute;
  z-index: 2;
  right: clamp(16px, 4vw, 3.5rem);
  top: clamp(1.2rem, 6vh, 3.5rem);
  margin: 0;
  font-family: var(--f-hud);
  font-size: .8rem;
  letter-spacing: .15em;
  color: var(--green);
}
.dialog {
  position: relative;
  z-index: 2;
  width: min(880px, calc(100% - 32px));
  min-height: 9.5rem;
  margin-bottom: 1rem;
  padding: 1.1rem 1.5rem 1.3rem;
  background: rgba(25, 25, 25, .72);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.08);
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.45rem);
  line-height: 1.35;
  cursor: pointer;
}
.dialog-name { margin: 0 0 .7rem; }
.dialog-text { margin: 0; min-height: 2.7em; }
.dialog-text em { font-style: normal; color: var(--green); text-shadow: 0 0 8px rgba(92,255,79,.6); }
.dialog-next { position: absolute; right: 1.1rem; bottom: .8rem; color: var(--green); opacity: 0; }
.dialog.is-wait .dialog-next { opacity: 1; animation: nudge .8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(4px); } }
.dialog-help {
  position: relative;
  z-index: 2;
  margin: 0 0 3.6rem;
  font-family: var(--f-hud);
  font-size: .7rem;
  letter-spacing: .12em;
  color: var(--dim);
}
#story.is-done .dialog-help { display: none; }
.opt-list--story {
  position: relative;
  z-index: 2;
  grid-auto-flow: column;
  margin-bottom: 4.2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s;
}
#story.is-done .opt-list--story { opacity: 1; pointer-events: auto; }
#story .opt { font-size: clamp(.8rem, 1.3vw, 1rem); }

/* =========================================================
   SURVEILLANCE HUD (albums + players)
   ========================================================= */
.hud {
  position: absolute;
  inset: clamp(.8rem, 2.4vw, 1.6rem);
  z-index: 3;
  pointer-events: none;
  font-family: var(--f-hud);
  font-size: .7rem;
  letter-spacing: .12em;
  color: rgba(255,255,255,.75);
}
.hud > * { position: absolute; }
.hud-tl { left: 0; top: 0; }
.hud-tr { right: 0; top: 0; display: flex; align-items: center; gap: .45rem; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); animation: blink 1s steps(2, jump-none) infinite; }
.hud-bar {
  left: 50%;
  top: .35rem;
  width: min(36vw, 420px);
  height: 2px;
  translate: -50% 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.8) 0 14px, transparent 14px 20px);
}
.hud-br { right: 0; bottom: 0; display: grid; justify-items: start; gap: .2rem; }
.hud-big { font-size: 1.5rem; display: flex; align-items: center; gap: .2rem; color: #fff; }
.hud-tag { border: 1px solid rgba(255,255,255,.7); padding: .15rem .4rem; margin-top: .25rem; }
.hud-id { left: 50%; bottom: 0; translate: -50% 0; font-size: .58rem; color: rgba(255,255,255,.45); white-space: nowrap; }

.albums-head {
  position: absolute;
  z-index: 2;
  left: clamp(16px, 4vw, 3.5rem);
  top: clamp(2.6rem, 9vh, 5rem);
  display: grid;
  gap: .55rem;
  max-width: min(640px, 80vw);
}
.albums-head h2 { margin-bottom: .6rem; }
.album-title, .album-desc, .album-action { transition: opacity .2s; }
.is-swap .album-title, .is-swap .album-desc, .is-swap .album-action { opacity: 0; }
.album-action { margin: .3rem 0 0; font-family: var(--f-hud); font-size: .78rem; letter-spacing: .1em; color: var(--green); }

.album-row {
  position: absolute;
  z-index: 2;
  left: clamp(16px, 9vw, 9rem);
  bottom: clamp(3.5rem, 10vh, 5rem);
  display: flex;
  align-items: flex-end;
  gap: clamp(.6rem, 1.6vw, 1.2rem);
}
.album { position: relative; display: block; padding: 0; color: #fff; }
.album::before, .album::after { display: none; }
.album-tag {
  position: absolute;
  left: 0;
  bottom: 100%;
  font-family: var(--f-cond);
  font-size: clamp(.9rem, 1.6vw, 1.5rem);
  letter-spacing: .02em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s, transform .3s var(--ease);
  text-shadow: 0 0 10px rgba(255,255,255,.4);
  white-space: nowrap;
}
.album-art {
  position: relative;
  display: block;
  width: clamp(110px, 13vw, 190px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.85);
  box-shadow: 0 0 0 1px #000, 0 10px 30px rgba(0,0,0,.6);
  transition: transform .35s var(--ease), box-shadow .35s;
  background: #111;
}
.album-art img { width: 100%; height: 100%; object-fit: cover; }
.album.is-focus .album-art {
  transform: translateY(-14px) scale(1.12);
  box-shadow: 0 0 0 1px #000, 0 0 0 4px #fff, 0 0 34px rgba(255,255,255,.55);
}
.album.is-focus .album-tag { opacity: 1; transform: translateY(-22px); }
.art-unknown canvas { width: 100%; height: 100%; image-rendering: pixelated; display: block; opacity: .85; }
.nosignal {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  font-family: var(--f-mono);
  font-size: .85rem;
  background: rgba(0,0,0,.6);
  padding: .1rem .35rem;
  white-space: nowrap;
}
.toast {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 46%;
  translate: -50% -50%;
  margin: 0;
  padding: .8rem 1.2rem;
  font-family: var(--f-mono);
  font-weight: 700;
  background: rgba(0,0,0,.8);
  border: 1px solid rgba(255,255,255,.3);
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
  text-align: center;
  max-width: calc(100% - 32px);
}
.toast.is-on { opacity: 1; }

/* players feed: official artist photos through a surveillance filter */
#players { background: #000; }
@keyframes camjitter {
  0%, 100% { transform: translate(0, 0); }
  31% { transform: translate(-2px, 1px); }
  32% { transform: translate(0, 0); }
  77% { transform: translate(1px, -2px) skewX(.6deg); }
  78% { transform: translate(0, 0); }
}
.hud--cam { color: rgba(255,255,255,.85); }
.hud-icons { display: flex; align-items: center; gap: .5rem; }
.disc-ico { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; background: radial-gradient(circle, #000 0 3px, #fff 4px 6px, transparent 7px); }
.hud-chip { border: 1px solid #fff; padding: .35rem .4rem; font-family: var(--f-cond); font-size: .7rem; }
.crosshair {
  left: 50%;
  top: 46%;
  width: 46px;
  height: 46px;
  translate: -50% -50%;
  background:
    linear-gradient(45deg, transparent 47%, rgba(255,255,255,.8) 48% 52%, transparent 53%),
    linear-gradient(-45deg, transparent 47%, rgba(255,255,255,.8) 48% 52%, transparent 53%);
  animation: track 9s ease-in-out infinite;
  opacity: .5;
}
@keyframes track {
  25% { transform: translate(60px, -18px); }
  55% { transform: translate(-80px, 24px); }
  80% { transform: translate(30px, 40px); }
}
.hud-scale {
  right: 0;
  top: 22%;
  height: 46%;
  width: 14px;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.7) 0 1px, transparent 1px 8px);
  border-right: 2px solid rgba(255,255,255,.7);
}
.hud-meta { right: 0; bottom: 0; font-size: .6rem; color: rgba(255,255,255,.55); }
.player-cam {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: calc(50% - clamp(3.4rem, 7.4vw, 6.4rem));
  translate: -50% 0;
  margin: 0;
  font-family: var(--f-hud);
  font-size: .8rem;
  letter-spacing: .2em;
  color: rgba(255,255,255,.7);
  white-space: nowrap;
}
.player-name {
  position: relative;
  z-index: 3;
  margin: 0;
  font-family: var(--f-cond);
  font-weight: 400;
  font-size: clamp(3.4rem, 11vw, 9rem);
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 20px rgba(255,255,255,.5), 0 0 2px #fff;
  text-align: center;
  padding: 0 16px;
}
.player-name.is-glitch { animation: glitch .35s steps(3) both; }
@keyframes glitch {
  0% { clip-path: inset(10% 0 60% 0); transform: translateX(-12px); text-shadow: 4px 0 var(--red), -4px 0 var(--cam); }
  33% { clip-path: inset(50% 0 20% 0); transform: translateX(10px); }
  66% { clip-path: inset(0 0 80% 0); transform: translateX(-4px); }
  100% { clip-path: inset(0); transform: none; }
}
.player-track {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: calc(50% + clamp(2.6rem, 6vw, 5.2rem));
  translate: -50% 0;
  margin: 0;
  font-family: var(--f-hud);
  font-size: .85rem;
  letter-spacing: .1em;
  color: var(--cam);
  white-space: nowrap;
}
.cam-tabs {
  position: absolute;
  z-index: 4;
  bottom: clamp(3.6rem, 9vh, 4.6rem);
  left: 50%;
  translate: -50% 0;
  display: flex;
  gap: .3rem;
  width: max-content;
  max-width: calc(100% - 32px);
  flex-wrap: wrap;
  justify-content: center;
}
.cam-tab {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-family: var(--f-hud);
  font-size: .8rem;
  padding: .45rem .8rem;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(0,0,0,.5);
}
.cam-tab::before, .cam-tab::after { display: none; }
.cam-tab.is-live { border-color: #fff; }
.cam-tab.is-focus { color: #000; background: #fff; border-color: #fff; text-shadow: none; }
.cam-tab--dlc { border-color: rgba(92,255,79,.5); }
.cam-tab--listen, .cam-tab--next { border-color: var(--green); color: var(--green); }
.cam-tab--listen.is-focus, .cam-tab--next.is-focus { background: var(--green); border-color: var(--green); }

/* =========================================================
   RELEASE + SHOP (scrolling pages)
   ========================================================= */
#release, #shop { background: #050605; place-items: stretch; }
.release-scroll {
  position: relative;
  z-index: 2;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(3rem, 10vh, 6rem) 16px 6rem;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 2.4rem;
  scrollbar-width: none;
}
.release-scroll::-webkit-scrollbar { display: none; }
.release-card { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.4rem); }
#release.is-active .release-card { animation: zoomin .9s var(--ease) both; }
@keyframes zoomin {
  from { transform: scale(1.3); filter: blur(10px); opacity: 0; }
  to { transform: none; filter: none; opacity: 1; }
}
.release-cover {
  width: clamp(150px, 22vw, 300px);
  aspect-ratio: 1;
  object-fit: cover;
  flex: none;
  box-shadow: 0 20px 50px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.15);
}
.release-txt { display: grid; gap: .5rem; justify-items: start; }
.release-logo { margin: 0; }
.release-logo img { width: clamp(120px, 13vw, 190px); height: auto; filter: var(--logo-glow); }
.release-sub { margin: 0; font-family: var(--f-wide); font-size: clamp(.75rem, 1.4vw, 1.1rem); letter-spacing: .04em; }
.release-date {
  margin: 0;
  font-family: var(--f-cond);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  text-shadow: var(--glow-w);
}
.release-meta { margin: 0; font-family: var(--f-hud); font-size: .8rem; letter-spacing: .1em; color: var(--dim); }

.opt-list--release { gap: .35rem; }
.cta { font-size: clamp(.8rem, 1.3vw, 1.05rem); }
.cta svg { width: .75em; height: .75em; margin-left: .35em; vertical-align: -.05em; opacity: .7; }
.cta--shop { color: var(--green); }
.cta--shop.is-focus { color: var(--green-hot); text-shadow: var(--glow); }
.cta--sm { font-size: .8rem; padding: .3rem 2.2rem; }

.stages {
  width: min(760px, 100%);
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.5);
  padding: 1.1rem 1.2rem 1.3rem;
}
.stages-head { margin: 0 0 .9rem; font-family: var(--f-wide); font-size: .9rem; }
.stages-head span { font-family: var(--f-hud); font-size: .7rem; color: var(--dim); }
.stage-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: .4rem;
}
.stage-list li {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  padding: .45rem .55rem;
  font-family: var(--f-hud);
  font-size: .82rem;
  border-left: 2px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.03);
}
.stage-list li b { color: var(--green); font-weight: 400; }
.stage-list li span { min-width: 0; overflow-wrap: anywhere; }
.stage-list li em { font-style: normal; font-size: .7rem; color: var(--green-hot); letter-spacing: .04em; }
.stage-list li small { margin-left: auto; color: var(--dim); font-size: .7rem; letter-spacing: .06em; white-space: nowrap; }
.stage-list li.is-feat { border-left-color: var(--green); background: rgba(92,255,79,.06); }

.stages--dlc { border-color: rgba(92,255,79,.35); }
.dlc-head { display: flex; align-items: center; gap: 1rem; margin-bottom: .9rem; }
.dlc-head .stages-head { margin: 0; }
.dlc-cover { width: 72px; height: 72px; object-fit: cover; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.2); }
.dlc-badge {
  font-family: var(--f-hud) !important;
  font-size: .7rem !important;
  color: #000 !important;
  background: var(--green);
  padding: .1rem .35rem;
  margin-right: .4rem;
  vertical-align: .1em;
}
.dlc-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem; margin-top: 1rem; }
.release-scroll > .opt--back { margin-top: -.6rem; }

/* official clips */
.clips { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: .8rem; }
.clip {
  display: grid;
  gap: .3rem;
  padding: 0;
  text-align: left;
  white-space: normal;
  color: #fff;
}
.clip::before, .clip::after { display: none; }
.clip-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255,255,255,.2);
  transition: border-color .2s, box-shadow .2s;
}
.clip-frame img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.8); }
.clip-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.clip-play {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1.5px solid #fff;
  border-radius: 50%;
  background: rgba(0,0,0,.5);
}
.clip-play svg { width: 18px; height: 18px; margin-left: 2px; }
.clip-frame.is-playing .clip-play, .clip-frame.is-playing img { display: none; }
.clip-title { font-family: var(--f-cond); font-size: 1.05rem; letter-spacing: .02em; }
.clip small { font-family: var(--f-hud); font-size: .7rem; color: var(--dim); }
.clip.is-focus .clip-frame { border-color: #fff; box-shadow: 0 0 0 2px #fff, 0 0 24px rgba(255,255,255,.4); }

/* shop */
#shop .release-scroll { align-content: center; }
.shop-head { display: grid; justify-items: center; gap: .4rem; text-align: center; }
.shop-grid {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr));
  gap: 1rem;
}
.shop-item {
  display: grid;
  gap: .4rem;
  padding: .6rem;
  text-align: left;
  white-space: normal;
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.55);
  transition: border-color .2s, transform .3s var(--ease), box-shadow .2s;
}
.shop-item::before, .shop-item::after { display: none; }
.shop-item img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #000; }
.shop-name { font-family: var(--f-wide); font-size: .78rem; letter-spacing: .04em; }
.shop-price { font-family: var(--f-hud); font-size: .95rem; color: var(--green); }
.shop-item.is-focus { border-color: #fff; transform: translateY(-4px); box-shadow: 0 0 24px rgba(255,255,255,.3); }

/* =========================================================
   OPTIONS
   ========================================================= */
#options {
  background:
    radial-gradient(ellipse at 50% 40%, rgba(92,255,79,.12), transparent 60%),
    repeating-linear-gradient(0deg, rgba(92,255,79,.04) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(92,255,79,.04) 0 1px, transparent 1px 34px),
    #030503;
}
.options-wrap { display: grid; justify-items: center; gap: 2rem; padding: 0 16px; }
.opt-toggle { display: inline-flex; gap: 1.4rem; }
.val { color: var(--green); min-width: 3.2em; text-align: left; }
.memcard {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--f-hud);
  font-size: .78rem;
  letter-spacing: .08em;
  border: 1px solid rgba(255,255,255,.2);
  padding: .8rem 1rem;
}
.memcard p { margin: 0; }
.memcard .memcard-dim { color: var(--dim); margin-top: .2rem; }
.memcard-chip {
  width: 30px;
  height: 40px;
  flex: none;
  background: linear-gradient(#222, #111);
  border: 1px solid #555;
  border-radius: 3px 3px 3px 10px;
  position: relative;
}
.memcard-chip::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  top: 5px;
  height: 10px;
  background: repeating-linear-gradient(90deg, var(--green) 0 2px, transparent 2px 4px);
  opacity: .8;
}

/* =========================================================
   CREDITS
   ========================================================= */
#credits { background: #000; overflow: hidden; }
.credits-roll {
  position: absolute;
  left: 50%;
  top: 100%;
  translate: -50% 0;
  width: min(560px, calc(100% - 32px));
  display: grid;
  justify-items: center;
  text-align: center;
  font-size: .9rem;
  line-height: 1.55;
  text-shadow: 0 0 8px rgba(255,255,255,.45);
}
#credits.is-active .credits-roll { animation: roll 46s linear forwards; }
@keyframes roll { to { transform: translateY(calc(-100% - 100vh)); } }
.credits-roll p { margin: .15rem 0; }
.credits-roll b { font-weight: 800; }
.credits-roll .cr-h { margin-bottom: 1.4rem; }
.credits-roll .cr-s { margin: 1.6rem 0 .5rem; color: var(--dim); }
.credits-roll .cr-big { font-family: var(--f-cond); font-size: 2rem; letter-spacing: .02em; margin: .3rem 0; }
.cr-logo { width: 240px; height: auto; margin-bottom: 1rem; filter: var(--logo-glow); }
.cr-logo--23 { width: 150px; margin: 3rem 0 0; }
.credits-roll .cr-end { margin-top: 40vh; font-family: var(--f-wide); font-size: 1.3rem; }

/* =========================================================
   LOADER (spinning disc = official cover)
   ========================================================= */
#loader {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1.4rem;
  background: #000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
#loader.is-on { opacity: 1; visibility: visible; }
.disc {
  position: relative;
  width: clamp(150px, 22vw, 240px);
  aspect-ratio: 1;
  filter: drop-shadow(0 0 20px rgba(255,255,255,.45));
}
.disc::after {
  /* spindle hole */
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14%;
  height: 14%;
  translate: -50% -50%;
  border-radius: 50%;
  background: #000;
  box-shadow: 0 0 0 6px rgba(255,255,255,.75);
}
.disc-face {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  animation: spin 1.1s linear infinite;
}
#loader.is-on .disc { animation: discin 1.2s var(--ease) both; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes discin {
  from { transform: perspective(600px) rotateX(70deg) rotateZ(-30deg) scale(.4); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.loader-txt { margin: 0; font-family: var(--f-wide); letter-spacing: .14em; }
.loader-txt span { animation: blink .6s steps(2, jump-none) infinite; }
.loader-mem { position: absolute; left: 1.4rem; bottom: 1.2rem; margin: 0; font-family: var(--f-hud); font-size: .7rem; color: var(--dim); }

/* =========================================================
   HOME BUTTON (always reachable)
   ========================================================= */
.home-btn {
  position: fixed;
  z-index: 65;
  left: clamp(.8rem, 2vw, 1.4rem);
  bottom: .8rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .7rem;
  font-family: var(--f-hud);
  font-size: .75rem;
  letter-spacing: .14em;
  color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(0,0,0,.55);
  transition: color .15s, border-color .15s, background .15s, opacity .3s;
}
.home-btn svg { width: 15px; height: 15px; }
.home-btn kbd {
  font-family: inherit;
  font-size: .62rem;
  padding: 0 .3rem;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 2px;
  color: var(--dim);
}
.home-btn:hover, .home-btn:focus-visible { color: #000; background: var(--green); border-color: var(--green); }
.home-btn:hover kbd, .home-btn:focus-visible kbd { color: #000; border-color: #000; }
body[data-screen="boot"] .home-btn,
body[data-screen="title"] .home-btn { opacity: 0; pointer-events: none; }

/* =========================================================
   PAD HINTS
   ========================================================= */
.pad-hints {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: .9rem;
  translate: -50% 0;
  display: flex;
  gap: 1.6rem;
  font-family: var(--f-hud);
  font-size: .7rem;
  letter-spacing: .12em;
  color: rgba(255,255,255,.55);
  transition: opacity .3s;
  white-space: nowrap;
  pointer-events: none;
}
.pad-hints span { display: inline-flex; align-items: center; gap: .4rem; }
.pad-hints svg { width: 16px; height: 16px; }
body[data-screen="boot"] .pad-hints,
body[data-screen="title"] .pad-hints,
body[data-screen="credits"] .pad-hints { opacity: 0; }

/* =========================================================
   23 MODE + rumble
   ========================================================= */
body[data-mode="23 MODE"] .screen { filter: saturate(1.35) contrast(1.08); }
body[data-mode="23 MODE"] .grain { opacity: .12; }
.rumble { animation: rumble .28s linear; }
@keyframes rumble {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-4px, 2px); }
  40% { transform: translate(4px, -3px); }
  60% { transform: translate(-3px, -2px); }
  80% { transform: translate(2px, 3px); }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* =========================================================
   TRAILER FX — reproduced from "GREENJOLA — THE GAME"
   ========================================================= */

/* ---- boot: soft white bloom text, rating card flicker, logos with heavy bloom ---- */
.boot-console-name {
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  letter-spacing: .01em;
  color: #fff;
  text-shadow: 0 0 4px #fff, 0 0 18px rgba(255,255,255,.7), 0 0 46px rgba(255,255,255,.35);
}
.boot-console-name sup { font-size: .55em; font-weight: 800; margin-left: .15em; vertical-align: .55em; }
.boot-step { transition: opacity .7s ease, filter .7s ease; filter: blur(6px); }
.boot-step.is-on { filter: none; }
.boot-rating.is-on .rating-card { animation: card-flicker 3.1s steps(1) both; }
@keyframes card-flicker {
  0% { opacity: 0; } 4% { opacity: 1; } 6% { opacity: .35; } 8% { opacity: 1; }
  70% { opacity: 1; } 72% { opacity: .55; } 74% { opacity: 1; }
  100% { opacity: 1; }
}
.rating-card { filter: drop-shadow(0 0 10px rgba(255,255,255,.7)) drop-shadow(0 0 30px rgba(255,255,255,.3)); box-shadow: none; }
.rating-m { font-size: 5.6rem; transform: skewX(-4deg); }
.boot-logos .boot-logo { filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 22px rgba(255,255,255,.75)) drop-shadow(0 0 60px rgba(255,255,255,.35)); }
.boot-logos.is-on { animation: logos-dim 5s ease-in both; }
@keyframes logos-dim { 0%, 70% { opacity: 1; } 100% { opacity: .35; } }
.boot-disclaimer { color: #fff; text-shadow: 0 0 8px rgba(255,255,255,.6); font-size: .7rem; }

/* ---- title: bloom + chromatic aberration + VHS wobble ---- */
.brand { animation: vhs-wobble 4s steps(1) infinite; }
.brand-sig, .brand-23 {
  filter:
    drop-shadow(-3px 0 0 rgba(255,40,80,.55))
    drop-shadow(3px 0 0 rgba(40,255,255,.45))
    drop-shadow(0 0 6px #fff)
    drop-shadow(0 0 28px rgba(92,255,79,.8));
}
@keyframes vhs-wobble {
  0%, 100% { transform: none; }
  37% { transform: translateX(-2px) skewX(.6deg); }
  38% { transform: none; }
  81% { transform: translateX(3px); }
  82% { transform: none; }
}
.press-start { font-size: clamp(.8rem, 1.3vw, 1.05rem); letter-spacing: .14em; }
.press-start small {
  font-size: .55em;
  border: 0;
  border-bottom: 2px solid #fff;
  border-radius: 0;
  padding: 0 0 .15em;
  position: relative;
}
.press-start small::after { content: ""; position: absolute; left: 50%; bottom: -.7em; translate: -50% 0; border: .35em solid transparent; border-top-color: #fff; }

/* ---- menu items: white text with bloom, glowing pill brackets on both sides ---- */
.opt { color: #fff; text-shadow: 0 0 6px rgba(255,255,255,.55), 0 2px 0 #000; }
.opt.is-focus { text-shadow: 0 0 4px #fff, 0 0 16px rgba(255,255,255,.9), 0 0 36px rgba(255,255,255,.4); }
.opt::before, .opt::after {
  width: 1.9rem;
  height: .9rem;
  border: 0;
  border-radius: 3px;
  background: #fff linear-gradient(#000, #000) 50% 50% / 55% 2px no-repeat;
  box-shadow: 0 0 6px #fff, 0 0 18px rgba(255,255,255,.7);
}
.opt::before { left: -.4rem; }
.opt::after { right: -.4rem; }
.opt--back::before, .opt--back::after { width: 1.4rem; height: .7rem; }

/* ---- pad hints: "SELECT X   UP/DOWN" ---- */
.pad-hints {
  bottom: 1.2rem;
  gap: 2.4rem;
  font-family: var(--f-wide);
  font-size: .82rem;
  letter-spacing: .1em;
  color: #fff;
  text-shadow: 0 0 6px rgba(255,255,255,.8), 0 0 18px rgba(255,255,255,.35);
}
.pad-hints span { gap: .55rem; }
.pad-hints svg { width: 18px; height: 18px; filter: drop-shadow(0 0 4px rgba(255,255,255,.8)); }
.pad-hints svg.x { color: #4a7dff; filter: drop-shadow(0 0 5px rgba(74,125,255,.9)); }

/* ---- blackout + corner memory-card loader (title -> menu, menu -> album select) ---- */
#blackout {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .26s ease;
}
#blackout.is-fast { transition-duration: .18s; }
#blackout.is-on { opacity: 1; pointer-events: auto; }
#corner-load {
  position: fixed;
  z-index: 76;
  right: clamp(1.2rem, 3vw, 2.4rem);
  bottom: clamp(1.2rem, 3vw, 2.4rem);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  border: 2px solid #fff;
  filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 22px rgba(255,255,255,.6));
  transition: opacity .3s;
}
#corner-load img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(1.4) contrast(1.2); }
#corner-load.is-on { opacity: 1; animation: corner-pulse 1.2s ease-in-out infinite; }
#corner-load.is-on img { animation: spin 1.6s linear infinite; }
@keyframes corner-pulse { 50% { opacity: .55; } }

/* ---- disc loader: centered disc with bloom + motion streak + progress bar ---- */
#loader { gap: 0; }
.disc { width: clamp(150px, 20vw, 230px); filter: drop-shadow(0 0 8px #fff) drop-shadow(0 0 40px rgba(255,255,255,.55)); }
.disc::before {
  /* motion streak */
  content: "";
  position: absolute;
  inset: -30% -10%;
  background: conic-gradient(from 200deg, transparent 0 70%, rgba(255,255,255,.35) 80%, transparent 90%);
  filter: blur(14px);
  border-radius: 50%;
  animation: spin 1.1s linear infinite;
  z-index: -1;
}
.disc-face { filter: grayscale(.6) brightness(1.25) contrast(1.15); border-width: 2px; }
.loader-bar {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 7%;
  height: 9px;
  background: rgba(255,255,255,.18);
}
.loader-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
  box-shadow: 0 0 10px #fff, 0 0 30px rgba(255,255,255,.6);
}
#loader.is-on .loader-bar span { animation: load-fill 2.4s cubic-bezier(.5, 0, .3, 1) forwards; }
@keyframes load-fill { 0% { width: 0; } 30% { width: 16%; } 55% { width: 43%; } 80% { width: 67%; } 100% { width: 100%; } }
#loader.is-on .disc { animation: discin .9s var(--ease) both; }
.loader-mem { display: none; }

/* ---- VHS tracking glitch (story -> cameras) ---- */
#vhs {
  position: fixed;
  inset: 0;
  z-index: 79;
  pointer-events: none;
  opacity: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 2px, transparent 2px 7px),
    linear-gradient(180deg, transparent 0 38%, rgba(169,211,220,.35) 40%, rgba(255,255,255,.55) 41%, transparent 44%, transparent 70%, rgba(169,211,220,.3) 72%, transparent 75%);
  background-size: 100% 100%, 100% 200%;
  mix-blend-mode: screen;
}
#vhs.is-on { opacity: 1; animation: vhs-roll .45s steps(6) infinite; }
@keyframes vhs-roll { to { background-position: 0 0, 0 -200%; } }
#game.is-vhs .screen.is-active { animation: vhs-tear .9s steps(9) both; }
@keyframes vhs-tear {
  0% { transform: translateX(0); filter: none; clip-path: inset(0); }
  11% { transform: translateX(-18px) skewX(-4deg); filter: contrast(1.6) saturate(.4) hue-rotate(150deg); clip-path: inset(10% 0 52% 0); }
  22% { transform: translateX(24px); clip-path: inset(48% 0 8% 0); }
  33% { transform: translateX(-8px) skewX(3deg); filter: contrast(1.8) brightness(1.3) saturate(.2); clip-path: inset(0 0 70% 0); }
  44% { transform: translateX(14px); clip-path: inset(30% 0 30% 0); }
  55% { transform: translateX(-26px) skewX(-6deg); filter: contrast(1.4) hue-rotate(160deg); clip-path: inset(0); }
  66% { transform: translateX(6px); clip-path: inset(62% 0 0 0); }
  77% { transform: translateX(-4px); filter: contrast(1.2); clip-path: inset(0); }
  100% { transform: none; filter: none; clip-path: inset(0); }
}

/* ---- title card (cameras -> album release) ---- */
#title-card {
  position: fixed;
  inset: 0;
  z-index: 78;
  display: grid;
  place-items: center;
  background: #000;
  opacity: 0;
  pointer-events: none;
}
#title-card p {
  margin: 0;
  font-family: var(--f-cond);
  font-size: clamp(2.4rem, 7vw, 6rem);
  letter-spacing: .01em;
  color: #fff;
  text-shadow: 0 0 6px rgba(255,255,255,.7), 0 0 30px rgba(255,255,255,.3);
}
#title-card.is-on { opacity: 1; }
#title-card.is-on p { animation: card-in 1.6s ease both; }
@keyframes card-in { 0% { opacity: 0; filter: blur(8px); } 25% { opacity: 1; filter: none; } 85% { opacity: 1; } 100% { opacity: 1; transform: scale(1.04); } }

/* ---- album select: monochrome color wash per album, overexposed decrypt ---- */
#albums[data-tint="rd"] .bg--album { background: radial-gradient(ellipse 120% 100% at 40% 40%, rgba(220,40,40,.55), rgba(70,5,10,.9) 70%), #1a0204; }
#albums[data-tint="xp"] .bg--album { background: radial-gradient(ellipse 120% 100% at 40% 40%, rgba(60,140,255,.5), rgba(5,20,70,.9) 70%), #020818; }
#albums[data-tint="goty"] .bg--album { background: radial-gradient(ellipse 120% 100% at 40% 40%, rgba(200,210,215,.28), rgba(15,18,20,.95) 70%), #08090a; }
#albums[data-tint="unknown"] .bg--album { background: radial-gradient(ellipse 120% 100% at 40% 40%, rgba(200,210,215,.18), rgba(5,6,7,.95) 70%), #040404; }
.album-art { box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 12px 30px rgba(0,0,0,.6); border-color: rgba(255,255,255,.9); }
.album.is-focus .album-art { box-shadow: 0 0 0 3px #fff, 0 0 18px #fff, 0 0 50px rgba(255,255,255,.5); }
.album-tag { font-size: clamp(1rem, 1.8vw, 1.7rem); text-shadow: 0 0 6px #fff, 0 0 20px rgba(255,255,255,.5); }
.albums-head .wide--xl { text-shadow: 0 0 6px #fff, 0 0 22px rgba(255,255,255,.55); }
#albums.is-decrypt .album-row { animation: overexpose 1.3s steps(8) both; }
@keyframes overexpose {
  0% { filter: none; }
  20% { filter: brightness(2.4) contrast(1.3) blur(1px) drop-shadow(0 0 30px #fff); transform: translateX(-6px); }
  40% { filter: brightness(1.4) blur(0); transform: translateX(8px); }
  60% { filter: brightness(2.8) blur(2px) drop-shadow(0 0 50px #fff); transform: translateX(-3px); }
  100% { filter: brightness(3) blur(4px); opacity: .2; }
}

/* ---- HUD icons (spotify, M23 target, rating, logos) ---- */
.hud-spotify { right: 0; top: 1.6rem; width: 34px; height: 34px; color: #fff; filter: drop-shadow(0 0 6px rgba(255,255,255,.7)); }
.hud-spotify svg { width: 100%; height: 100%; }
.hud-m23 { left: 0; bottom: 26%; display: grid; gap: .3rem; font-size: 1.4rem; color: #fff; text-shadow: 0 0 8px rgba(255,255,255,.6); }
.hud-target {
  width: 60px;
  height: 60px;
  border: 1px solid rgba(255,255,255,.7);
  background:
    linear-gradient(#fff, #fff) 50% 50% / 1px 36% no-repeat,
    linear-gradient(#fff, #fff) 50% 50% / 36% 1px no-repeat;
}
.hud-rating { left: 0; bottom: 2.8rem; display: flex; align-items: flex-end; gap: .5rem; }
.hud-rating b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 34px;
  border: 2px solid #fff;
  font-family: var(--f-cond);
  font-weight: 400;
  font-size: 1.3rem;
  color: #000;
  background: #fff;
  box-shadow: 0 0 0 2px #000 inset;
}
.hud-rating small { font-size: .5rem; line-height: 1.3; letter-spacing: .04em; color: rgba(255,255,255,.7); text-transform: none; }
.hud-logos { right: 0; bottom: 1.2rem; display: flex; align-items: center; gap: .6rem; }
.hud-logos img { height: 34px; width: auto; filter: drop-shadow(0 0 6px rgba(255,255,255,.7)); }
.hud-logos img + img { height: 40px; }
.hud-meta { display: none; }
.hud-scale { right: 2.6rem; }

/* ---- surveillance feed: cyan monochrome, fisheye vignette ---- */
.bg--cam { background: radial-gradient(ellipse 90% 80% at 50% 45%, rgba(150,200,210,.28), rgba(8,18,22,.95) 75%), #05090b; }
.bg--cam::after { background: radial-gradient(ellipse 75% 80% at 50% 50%, transparent 45%, rgba(0,0,0,.85) 100%); }
.player-name { text-shadow: 0 0 4px #fff, 0 0 22px rgba(255,255,255,.75), 0 0 60px rgba(255,255,255,.35); }
.cam-tab--next { border-color: #fff; color: #fff; font-family: var(--f-wide); letter-spacing: .08em; }
.cam-tab--next.is-focus { background: #fff; color: #000; }
.skip-o { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--red); box-shadow: 0 0 8px var(--red); }

/* ---- story ---- */
.dialog-help { display: flex; align-items: center; gap: .5rem; font-family: var(--f-wide); font-size: .85rem; color: #fff; text-shadow: 0 0 8px rgba(255,255,255,.6); }
.dialog-help svg { width: 16px; height: 16px; color: #4a7dff; }
#story.is-active .city { animation: story-in 1.2s steps(10) both; }
@keyframes story-in { 0% { opacity: 0; filter: brightness(2) blur(3px); } 40% { opacity: .7; } 100% { opacity: 1; filter: none; } }

/* ---- album release: card slides in from the right, CD out of the sleeve, scratched film ---- */
#release.is-active .release-card { animation: slide-card 1.1s cubic-bezier(.16, .9, .2, 1) both; }
@keyframes slide-card {
  from { transform: translateX(45vw); filter: blur(8px); opacity: 0; }
  to { transform: none; filter: none; opacity: 1; }
}
.release-sleeve { position: relative; flex: none; }
.release-cd {
  position: absolute;
  top: 6%;
  right: -12%;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, #111 0 9%, #ccc 10% 13%, transparent 14%),
    conic-gradient(from 20deg, #e8e8e8, #b8c8d0, #f4f4f4, #c0b8c8, #e8e8e8);
  box-shadow: 0 0 20px rgba(255,255,255,.25);
}
.release-sleeve .release-cover { position: relative; }
.release-sig { height: .7em; width: auto; margin-right: .5em; filter: drop-shadow(0 0 6px rgba(255,255,255,.7)); }
.release-date { display: flex; align-items: center; }
#release::after {
  /* film scratches */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(97deg, transparent 0 71.2%, rgba(255,255,255,.22) 71.3%, transparent 71.45%),
    linear-gradient(83deg, transparent 0 23.6%, rgba(255,255,255,.14) 23.7%, transparent 23.8%),
    linear-gradient(176deg, transparent 0 8%, rgba(255,255,255,.16) 8.1%, transparent 8.25%);
  animation: scratches 1.6s steps(4) infinite;
}
@keyframes scratches { 25% { transform: translateX(12px); } 50% { transform: translateX(-30px); opacity: .5; } 75% { transform: translateX(22px); } }


/* =========================================================
   PREVIEW PANELS (desktop menus)
   ========================================================= */
.menu-preview { display: none; }
.pv-kicker { margin: 0; font-family: var(--f-hud); font-size: .8rem; letter-spacing: .24em; color: var(--green); text-shadow: 0 0 8px rgba(92,255,79,.6); }
.pv-title { margin: .2rem 0 0; font-family: var(--f-cond); font-weight: 400; font-size: clamp(2.4rem, 4.6vw, 5.2rem); line-height: .95; color: #fff; text-shadow: 0 0 6px #fff, 0 0 30px rgba(255,255,255,.35); text-transform: uppercase; }
.pv-text { margin: 1rem 0 0; max-width: 46ch; font-family: var(--f-wide); font-size: .95rem; line-height: 1.7; color: var(--dim); text-transform: uppercase; letter-spacing: .03em; }
.pv-mode { margin: .6rem 0 0; font-family: var(--f-hud); font-size: 1rem; letter-spacing: .2em; color: #fff; }
.pv-stats { list-style: none; margin: 1.8rem 0 0; padding: 0; display: flex; gap: clamp(1.4rem, 3vw, 3rem); }
.pv-stats li { display: grid; gap: .2rem; font-family: var(--f-hud); font-size: .75rem; letter-spacing: .16em; color: var(--dim); text-transform: uppercase; }
.pv-stats b { font-family: var(--f-cond); font-weight: 400; font-size: clamp(1.8rem, 2.8vw, 3rem); color: #fff; letter-spacing: 0; text-shadow: 0 0 14px rgba(255,255,255,.4); }
.pv-stats--col { flex-direction: column; gap: 1rem; }
.pv-cover { width: clamp(220px, 24vw, 420px); aspect-ratio: 1; object-fit: cover; margin-bottom: 1.6rem; box-shadow: 0 0 0 1px rgba(255,255,255,.3), 0 0 50px rgba(255,255,255,.12), 0 30px 60px rgba(0,0,0,.6); }
.pv-covers { display: flex; gap: 1rem; margin-bottom: 1.6rem; }
.pv-covers img { width: clamp(110px, 10vw, 190px); aspect-ratio: 1; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.3), 0 20px 40px rgba(0,0,0,.6); }
.pv-covers img:nth-child(odd) { transform: translateY(-14px); }
.pv-covers img:last-child { filter: grayscale(1) contrast(1.4) brightness(.6) blur(1px); }
.pv-logo { width: clamp(140px, 13vw, 220px); margin-bottom: 1.4rem; filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 30px rgba(255,255,255,.4)); }
.pv-players { list-style: none; counter-reset: p; margin: 1rem 0 0; padding: 0; display: grid; gap: .6rem; }
.pv-players li {
  counter-increment: p;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--f-cond);
  font-size: clamp(2rem, 3.8vw, 4.2rem);
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 6px #fff, 0 0 26px rgba(255,255,255,.3);
}
.pv-players li::before { content: "CAM 0" counter(p); font-family: var(--f-hud); font-size: .75rem; letter-spacing: .2em; color: var(--dim); text-shadow: none; min-width: 5.5em; }
.pv-players li.is-dlc::before { content: "DLC"; color: var(--green); }
.pv-players small { font-family: var(--f-hud); font-size: .75rem; letter-spacing: .14em; color: var(--cam); text-shadow: none; }
.menu-preview.is-in > * { animation: pv-in .5s var(--ease) both; }
.menu-preview.is-in > *:nth-child(2) { animation-delay: .05s; }
.menu-preview.is-in > *:nth-child(3) { animation-delay: .1s; }
.menu-preview.is-in > *:nth-child(4) { animation-delay: .15s; }
@keyframes pv-in { from { opacity: 0; transform: translateX(30px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* =========================================================
   DESKTOP: use the whole screen
   ========================================================= */
@media (min-width: 1024px) {
  /* menu + difficulty: options on the left, big preview on the right */
  #menu, #difficulty {
    grid-template-columns: minmax(380px, 38%) 1fr;
    place-items: center stretch;
    padding: 0 clamp(2.5rem, 6vw, 7rem);
    column-gap: clamp(2rem, 5vw, 6rem);
  }
  #menu .menu-wrap, #difficulty .menu-wrap { justify-items: start; padding: 0; }
  #menu .opt-list, #difficulty .opt-list { justify-items: start; }
  #menu .opt, #difficulty .opt { font-size: clamp(1.1rem, 1.6vw, 1.6rem); padding-left: 2.8rem; }
  #menu .menu-logo { width: clamp(220px, 20vw, 340px); margin-left: 2.4rem; }
  #difficulty .menu-logo { width: clamp(130px, 11vw, 190px); margin-left: 2.4rem; }
  .menu-hint { text-align: left; margin-left: 2.8rem; }
  .menu-preview {
    position: relative;
    z-index: 2;
    display: grid;
    align-content: center;
    justify-items: start;
    min-height: 62vh;
    padding: clamp(2rem, 4vw, 4rem);
    border-left: 1px solid rgba(255,255,255,.12);
    background: linear-gradient(90deg, rgba(255,255,255,.035), transparent 70%);
  }
  .menu-preview::before {
    content: "PREVIEW";
    position: absolute;
    top: 1rem;
    left: clamp(2rem, 4vw, 4rem);
    font-family: var(--f-hud);
    font-size: .65rem;
    letter-spacing: .3em;
    color: rgba(255,255,255,.35);
  }

  /* album release: sticky side column + wide content column */
  .release-layout {
    grid-template-columns: minmax(360px, 32%) 1fr;
    align-items: start;
    justify-items: stretch;
    column-gap: clamp(2rem, 4vw, 5rem);
    padding: clamp(2.5rem, 7vh, 5rem) clamp(2.5rem, 5vw, 6rem) 6rem;
  }
  .release-side {
    position: sticky;
    top: 0;
    display: grid;
    justify-items: start;
    gap: 2rem;
  }
  .release-side .release-card { flex-direction: column; align-items: flex-start; gap: 1.6rem; }
  .release-side .release-cover { width: min(16vw, 34vh, 300px); }
  .release-side .release-logo img { width: min(8vw, 15vh, 150px); }
  .release-side .release-date { font-size: min(3.6vw, 7vh, 4rem); }
  .release-side .release-txt { gap: .35rem; }
  .release-side .opt-list--release { gap: .15rem; }
  .release-side .cta { font-size: clamp(.8rem, 1vw, 1rem); }
  .release-side .opt-list--release { justify-items: start; }
  .release-side .cta { padding-left: 2.6rem; }
  .release-main { display: grid; gap: 2rem; min-width: 0; }
  .release-main .stages { width: 100%; }
  .release-main .stage-list { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .release-main .clips { grid-template-columns: repeat(3, 1fr); }
  .release-main > .opt--back { justify-self: start; margin-top: 0; }

  /* shop: full-width grid */
  #shop .release-scroll { padding-inline: clamp(2.5rem, 6vw, 7rem); }
  .shop-grid { width: 100%; grid-template-columns: repeat(5, 1fr); gap: clamp(1rem, 2vw, 2rem); }
  .shop-name { font-size: .95rem; }
  .shop-price { font-size: 1.2rem; }

  /* album select: bigger covers spread across the screen */
  .album-row { left: clamp(2.5rem, 6vw, 7rem); right: clamp(2.5rem, 6vw, 7rem); gap: clamp(1rem, 2.4vw, 2.6rem); bottom: clamp(5rem, 13vh, 8rem); }
  .album-art { width: clamp(170px, 17vw, 320px); }
  .album.is-focus .album-tag { transform: translateY(calc(-1 * clamp(26px, 2.6vw, 48px))); }
  .albums-head { left: clamp(2.5rem, 6vw, 7rem); max-width: 60vw; }
  .albums-head .wide { font-size: clamp(.9rem, 1.2vw, 1.2rem); }
  .albums-head .wide--xl { font-size: clamp(2rem, 3.6vw, 3.6rem); }

  /* options: settings left, memory card right */
  .options-wrap {
    width: min(1400px, 86vw);
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: start;
    column-gap: 4rem;
  }
  .options-wrap > h2 { grid-column: 1 / -1; font-size: clamp(2.4rem, 4vw, 4rem); }
  .opt-list--options { justify-items: start; }
  .opt-list--options .opt { font-size: clamp(1.1rem, 1.6vw, 1.5rem); padding-left: 2.8rem; }
  .memcard { justify-self: stretch; padding: 2rem; font-size: .95rem; }
  .memcard-chip { width: 48px; height: 64px; }

  /* cameras: bigger HUD text */
  .player-track { font-size: 1rem; }
  .player-cam { font-size: .95rem; }
}

@media (max-width: 760px) {
  .brand { flex-direction: column; }
  .menu-wrap { gap: 1rem; }
  .album-row {
    left: 16px;
    right: 16px;
    bottom: 4.5rem;
    overflow-x: auto;
    padding: 2.2rem 4px .4rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .album { scroll-snap-align: center; flex: none; }
  .album-art { width: 40vw; }
  .album.is-focus .album-art { transform: translateY(-8px) scale(1.04); }
  .album-tag { font-size: .85rem; }
  .hud-br, .hud-id, .hud-bar, .hud-scale { display: none; }
  .albums-head { top: 3rem; }
  .wide--xl { font-size: 1.25rem; }
  .pad-hints { display: none; }
  .home-btn kbd { display: none; }
  .release-card { flex-direction: column; text-align: center; }
  .release-txt { justify-items: center; }
  .opt { padding: .3rem 2.2rem; white-space: normal; text-align: center; }
  .player-track { white-space: normal; text-align: center; width: calc(100% - 32px); }
  .loader-mem { display: none; }
  .hud-rating small, .hud-logos { display: none; }
  .logo-row { flex-direction: column; gap: 1.6rem; }
  .opt-list--story { grid-auto-flow: row; }
  .dlc-head { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .press-start { animation: none; }
  #credits.is-active .credits-roll { animation: none; position: static; translate: none; margin: 4rem auto; }
  #credits { overflow-y: auto; place-items: start center; }
}

/* =========================================================
   DÉCOR 3D (js/world.js) : la ville tourne derrière tous les écrans.
   Actif seulement si WebGL a démarré (body.has-world), sinon les fonds CSS ci-dessus restent.
   ========================================================= */
#world {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated; /* rendu mi-résolution agrandi = grain PS2 */
  opacity: 0;
  transition: opacity 1.4s ease, filter .6s ease;
}
.has-world #world { opacity: 1; }
body.has-world[data-screen="boot"] #world,
body.has-world[data-screen="story"] #world { opacity: 0; }

/* les écrans deviennent transparents : seuls voiles et vignettes restent par-dessus la 3D */
.has-world #title,
.has-world #players,
.has-world #release,
.has-world #shop,
.has-world #options,
.has-world #credits { background: transparent; }
.has-world .bg { background: transparent; }
.has-world .bg::before { display: none; }
.has-world .bg--menu::after { background: radial-gradient(ellipse 120% 90% at 50% 50%, rgba(0,0,0,.15) 30%, rgba(0,0,0,.78)); }
.has-world .bg--title::after { background: linear-gradient(to top, rgba(0,0,0,.65), transparent 45%), radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,.6)); }
/* panneaux de lecture : un voile sombre derrière les textes longs */
.has-world #menu .bg--menu::after,
.has-world #difficulty .bg--menu::after { background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.55) 100%); }
.has-world #release .bg--menu::after,
.has-world #shop .bg--menu::after { background: rgba(2,6,3,.62); }
.has-world #options { background: rgba(0,0,0,.45); }
.has-world #credits::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 40% 70% at 50% 50%, rgba(0,0,0,.6), rgba(0,0,0,.2)); }

/* caméras de surveillance : flux monochrome froid, légère courbure */
body.has-world[data-screen="albums"] #world,
body.has-world[data-screen="players"] #world { filter: grayscale(1) sepia(.35) hue-rotate(150deg) saturate(1.6) contrast(1.15) brightness(.9); }
body.has-world[data-screen="albums"] #world { filter: grayscale(.55) contrast(1.15) brightness(.95); } /* garde la teinte de l'album */
.has-world .bg--cam { background: radial-gradient(ellipse 90% 80% at 50% 45%, transparent 50%, rgba(0,0,0,.55)); }
.has-world .feed-noise { opacity: .1; }

/* signature */
#title { grid-template-rows: 1fr auto auto auto; }
.title-sig {
  position: relative;
  z-index: 2;
  grid-row: 4;
  margin: -.6rem 0 1.4rem;
  font-family: var(--f-hud);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(166,255,143,.55);
}
.title-sig b { color: var(--green-hot); font-weight: 400; text-shadow: 0 0 8px rgba(92,255,79,.6); }
/* sélection d'album : la teinte devient un voile, la ville reste visible derrière */
.has-world #albums .bg--album { background: radial-gradient(ellipse 80% 70% at 30% 70%, var(--tint, rgba(92,255,79,.14)), transparent 70%), rgba(0,0,0,.35); }
#albums[data-tint="rd"] { --tint: rgba(231,55,68,.28); }
#albums[data-tint="xp"] { --tint: rgba(63,94,255,.28); }
#albums[data-tint="goty"] { --tint: rgba(255,255,255,.12); }

/* =========================================================
   BARRE DE NAVIGATION FIXE : chaque partie du site à un clic, depuis n'importe quel écran
   ========================================================= */
.topnav {
  position: fixed;
  z-index: 70;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(.8rem, 2vw, 2rem);
  padding: .7rem clamp(.8rem, 2.4vw, 1.6rem) 1.6rem;
  background: linear-gradient(to bottom, rgba(0,0,0,.82), rgba(0,0,0,.45) 60%, transparent);
  transition: opacity .35s ease, transform .35s ease;
}
body[data-screen="boot"] .topnav,
body[data-screen="title"] .topnav,
body[data-screen="credits"] .topnav { opacity: 0; transform: translateY(-100%); pointer-events: none; }
.topnav-logo { flex: none; display: block; padding: .2rem; }
.topnav-logo img { height: 30px; width: auto; filter: drop-shadow(0 0 6px rgba(255,255,255,.55)); transition: filter .2s; }
.topnav-logo:hover img { filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 14px rgba(92,255,79,.8)); }
.topnav-links {
  display: flex;
  gap: .3rem;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.topnav-links::-webkit-scrollbar { display: none; }
.topnav-links button {
  flex: none;
  position: relative;
  padding: .55rem .8rem;
  font-family: var(--f-hud);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(241,245,238,.62);
  border: 1px solid transparent;
  transition: color .15s, border-color .15s, background .15s;
}
.topnav-links button:hover { color: #fff; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.05); }
.topnav-links button::after { /* trait vert sous l'onglet actif */
  content: "";
  position: absolute;
  left: .8rem; right: .8rem; bottom: .25rem;
  height: 2px;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  transform: scaleX(0);
  transition: transform .25s var(--ease);
}
body[data-screen="release"] [data-nav="release"],
body[data-screen="albums"] [data-nav="albums"],
body[data-screen="players"] [data-nav="players"],
body[data-screen="shop"] [data-nav="shop"],
body[data-screen="difficulty"] [data-nav="difficulty"],
body[data-screen="story"] [data-nav="difficulty"],
body[data-screen="options"] [data-nav="options"] { color: var(--green-hot); }
body[data-screen="release"] [data-nav="release"]::after,
body[data-screen="albums"] [data-nav="albums"]::after,
body[data-screen="players"] [data-nav="players"]::after,
body[data-screen="shop"] [data-nav="shop"]::after,
body[data-screen="difficulty"] [data-nav="difficulty"]::after,
body[data-screen="story"] [data-nav="difficulty"]::after,
body[data-screen="options"] [data-nav="options"]::after { transform: scaleX(1); }

/* le contenu descend sous la barre */
.hud { top: 4.6rem; }
.hud-bar { display: none; }
.release-scroll { padding-top: 5.5rem; }
#menu .menu-logo { display: none; } /* le logo est déjà dans la barre */
@media (min-width: 900px) { .albums-head { top: 6rem; } }

/* menu : chaque entrée dit où elle mène */
.opt-sub {
  display: block;
  margin-top: .15rem;
  font-family: var(--f-hud);
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(166,255,143,.45);
  text-shadow: none;
  transition: color .15s;
}
.opt.is-focus .opt-sub { color: var(--green-hot); }

@media (max-width: 700px) {
  .topnav { padding: .5rem .6rem 1.2rem; gap: .5rem; }
  .topnav-logo img { height: 24px; }
  .topnav-links { margin-left: 0; mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .topnav-links button { padding: .5rem .55rem; font-size: .68rem; letter-spacing: .1em; }
  .hud { top: 3.8rem; }
}
/* aides manette : masquées sur les pages qui défilent (elles passaient sur le contenu) et au tactile */
body[data-screen="release"] .pad-hints,
body[data-screen="shop"] .pad-hints { opacity: 0; }
@media (hover: none) { .pad-hints { display: none; } }
@media (max-width: 700px) {
  .albums-head { top: 5.6rem; }
  .hud-tl, .hud-tr { display: none; } /* la barre de navigation prend le haut de l'écran */
}
@media (max-width: 700px) { .home-btn { display: none; } } /* le logo de la barre ramène au menu */
