/* Atomschlag – main menu as one living scene per theme (§8.17.2). Structure: menu.js + menuscene.js.
   ww2 „Kommandozelt": canvas tent at sunset, sand table, paper/tin/steel objects, stencil + typewriter + hand.
   coldwar „Radarbunker": formwork concrete, phosphor CRTs, manila punch cards and an ID badge, mono numerics.
   modern „Lagezentrum": dark ops room, video wall, holo table, slate glass with chamfers, one signal blue. */

.screen-menu { background: #050403; }
.menu-root { position: relative; height: 100%; min-height: 0; overflow: hidden; isolation: isolate; }
.menu-root > * { z-index: 2; }
.menu-scene { position: absolute; inset: 0; z-index: 0 !important; pointer-events: none; overflow: hidden; }
.menu-table { position: absolute; z-index: 1 !important; left: 0; right: 0; top: 4.2rem; bottom: 9.8rem; outline: none; }
.menu-table:focus-visible { box-shadow: inset 0 0 0 2px var(--c-accent); }
.mtable-canvas { position: absolute; inset: 0; display: block; touch-action: none; }
.menu-shade { position: absolute; inset: 0; z-index: 1 !important; pointer-events: none; }
.sc-fx { position: absolute; inset: 0; pointer-events: none; }
.sc-tent-art, .sc-bunker-art, .sc-ops-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ================================================================== ww2 – Kommandozelt */
/* front feeds (menuscene.js frontFeed): the self-contained 'front' shader scene, graded by the theme in the shader */
.sc-live { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* the opening of the tent: a painted dusk, the front outside over it (medium and up) */
.sc-window { position: absolute; inset: 0; background: linear-gradient(180deg, #24162c 0%, #6a2c22 9%, #c4542a 16%, #f09040 21%, #ffc06a 24%, #4a2a12 27%, #1f1309 100%); }
.sc-sunset { position: absolute; inset: 0; mix-blend-mode: overlay; background: linear-gradient(180deg, #3a1a40 0%, #c0482a 12%, #ff9a3c 19%, #ffd27a 23%, rgba(60, 30, 10, 0.6) 30%); opacity: 0.85; }
.sc-sun { position: absolute; left: 50%; top: 21%; width: 30vmin; height: 30vmin; margin: -15vmin 0 0 -15vmin; border-radius: 50%; background: radial-gradient(circle, rgba(255, 236, 170, 0.95) 0 8%, rgba(255, 170, 70, 0.45) 22%, rgba(255, 120, 40, 0) 68%); mix-blend-mode: screen; }
/* the painted dusk's cloud deck (menuscene.js mountCloudDeck): three baked strips, each wider than the room by one
   tile on both sides; JS moves them with translate3d only (parallax k·camX + wind drift over time, §8.20) */
.sc-sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
/* the front outside the tent (high and up): lifted so its horizon (60 % of the scene) sits just above the far
   edge of the table – the sky over the front fills the opening, the sunset and the sun layers grade it */
.sc-outside { position: absolute; left: 0; right: 0; top: -40%; height: 100%; pointer-events: none; }
.sc-live.pv { object-fit: cover; }
/* the bunker CRT shows the band around the front line (ground, tanks, tracers, the far ridge) */
.sc-feed-screen .sc-live.pv { object-position: 50% 72%; }
.sc-cloud { position: absolute; left: -640px; right: -640px; background-repeat: repeat-x; background-size: 640px 100%; background-position: 0 0; will-change: transform; }
/* room geometry: the room art is a 1600 × 900 viewBox sliced to cover the screen; --sc-u is one viewBox unit */
.menu-scene { --sc-u: max(100vw / 1600, 100vh / 900); }
/* [s8-mobile] Safari: the room covers the visible viewport, not the large one under the toolbar. A custom property
   takes its last declaration even when the browser lacks dvh, so the dvh version sits behind @supports. */
@supports (height: 100dvh) { .menu-scene { --sc-u: max(100vw / 1600, 100dvh / 900); } }
/* the storm lantern's glow: its own small layer on the lamp (520 × 190 of the room), flickering in opacity only */
.sc-lamp { position: absolute; left: calc(50% - 450 * var(--sc-u)); top: calc(50% - 430 * var(--sc-u)); width: calc(340 * var(--sc-u)); height: calc(340 * var(--sc-u)); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 211, 138, 0.55) 0%, rgba(255, 154, 60, 0.18) 35%, rgba(255, 154, 60, 0) 70%); animation: sc-flicker 3.2s steps(1) infinite; }
/* low / medium: a static fan of warm rays through the tent flap instead of the Light Rays shader */
.sc-rays-static { position: absolute; left: 0; right: 0; top: 0; height: 78%; pointer-events: none; opacity: 0.55;
  background: conic-gradient(from 160deg at 50% -6%, rgba(255, 194, 122, 0) 0deg, rgba(255, 194, 122, 0.16) 6deg, rgba(255, 194, 122, 0) 11deg, rgba(255, 194, 122, 0.1) 17deg, rgba(255, 194, 122, 0) 22deg, rgba(255, 194, 122, 0.14) 29deg, rgba(255, 194, 122, 0) 34deg, rgba(255, 194, 122, 0.09) 40deg, rgba(255, 194, 122, 0) 46deg);
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 35%, transparent 100%); mask-image: linear-gradient(180deg, #000 0, #000 35%, transparent 100%); }
@keyframes sc-flicker { 0%, 100% { opacity: 1; } 8% { opacity: 0.86; } 9% { opacity: 1; } 47% { opacity: 0.92; } 48% { opacity: 0.8; } 50% { opacity: 1; } 77% { opacity: 0.9; } }
.sc-rays { opacity: 0.85; mix-blend-mode: screen; }
.sc-dust { opacity: 0.8; }
.sc-grain { opacity: 1; mix-blend-mode: overlay; }
.menu-root[data-scene='ww2'] .menu-shade { background: radial-gradient(ellipse 70% 40% at 50% 100%, rgba(10, 6, 2, 0.75), transparent 70%), linear-gradient(180deg, transparent 72%, rgba(8, 5, 2, 0.55)); }

/* the brand sign: black enamel nailed to the canvas wall */
.menu-top { position: absolute; top: 0.9rem; left: 1.6rem; right: 1.6rem; display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none; }
.menu-top > * { pointer-events: auto; }
.menu-brand { position: relative; width: 15rem; }
.menu-root[data-scene='coldwar'] .menu-brand, .menu-root[data-scene='modern'] .menu-brand { width: 14rem; }
.menu-brand-plate { position: relative; padding: 0.85rem 1rem 0.75rem; background: radial-gradient(ellipse at 50% 38%, #0b0907, #000 72%); }
.menu-root[data-scene='ww2'] .menu-brand-plate {
  border-radius: 0.35rem; rotate: -1.6deg; box-shadow: 0 0.7rem 1.4rem rgba(0, 0, 0, 0.65), inset 0 0 0 2px #2c2219, inset 0 0 0 4px #000, inset 0 0 1.2rem rgba(255, 140, 40, 0.08);
}
.menu-root[data-scene='ww2'] .menu-brand-plate::before, .menu-root[data-scene='ww2'] .menu-brand-plate::after {
  content: ''; position: absolute; top: 0.4rem; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f2d48a, #8a6420 60%, #2a1a06); box-shadow: 0 1px 2px #000;
}
.menu-brand-plate::before { left: 0.45rem; }
.menu-brand-plate::after { right: 0.45rem; }
.menu-note { display: flex; align-items: flex-start; gap: 0.3rem; margin: 0.35rem 0 0 1.6rem; color: #f3e6c4; transform: rotate(-4deg); transform-origin: left; }
.menu-note .hand { font-size: 1.35rem; line-height: 1; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9); }
.menu-note-arrow { width: 3.2rem; height: 1.7rem; color: #ff8a3a; margin-top: 0.4rem; }

/* profile: a steel dog tag on a ball chain */
.menu-top-right { display: flex; align-items: flex-start; gap: 0.5rem; }
.menu-chip { position: relative; display: grid; grid-template-columns: auto minmax(8rem, 11.5rem) auto; align-items: center; gap: 0.6rem; padding: 0.45rem 0.75rem 0.45rem 0.5rem; text-align: left; cursor: pointer; color: var(--c-text); transition: translate var(--dur-2) var(--ease-spring), box-shadow var(--dur-2); }
.menu-chip:hover, .menu-chip:focus-visible { translate: 0 -2px; }
.menu-chip-text { display: flex; flex-direction: column; gap: 0.12rem; min-width: 0; }
.menu-chip-name { font-weight: 700; font-size: 1.02rem; line-height: 1.05; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-chip-sub { font-size: 0.78rem; line-height: 1.1; opacity: 0.8; }
.menu-chip-lv { display: flex; flex-direction: column; align-items: center; gap: 0.1rem; font-family: var(--f-num); font-weight: 700; font-size: 0.8rem; }
.menu-chip-lv .insignia { width: 1.6rem; height: 1.6rem; }
.menu-chip-lvl { display: inline-flex; gap: 0.25rem; align-items: baseline; white-space: nowrap; }
.menu-chip-n { font-variant-numeric: tabular-nums; }
.menu-chip-chain { display: none; }
.menu-root[data-scene='ww2'] .menu-chip-name { font-size: 0.88rem; }
.menu-root[data-scene='ww2'] .menu-chip {
  grid-template-columns: minmax(9rem, 13rem) auto; margin-top: 0.4rem; padding: 0.55rem 0.9rem 0.55rem 1.5rem; border: 0; border-radius: 1.1rem 1.1rem 1.1rem 1.1rem / 1.4rem;
  background: linear-gradient(160deg, #e3e6e1 0%, #a9aea8 38%, #d1d4cf 55%, #8d928c 100%); color: #262a26;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -2px 3px rgba(0, 0, 0, 0.35); rotate: 2.2deg;
}
.menu-root[data-scene='ww2'] .menu-chip::before { content: ''; position: absolute; left: 0.55rem; top: 50%; width: 0.55rem; height: 0.55rem; margin-top: -0.275rem; border-radius: 50%; background: #2b2316; box-shadow: inset 0 1px 2px #000, 0 1px 0 rgba(255, 255, 255, 0.5); }
.menu-root[data-scene='ww2'] .menu-chip-chain { display: block; position: absolute; left: 0.68rem; bottom: 50%; width: 0.32rem; height: 3rem; background: radial-gradient(circle, #c9ccc6 42%, transparent 46%) 0 0 / 0.32rem 0.36rem repeat-y; rotate: -14deg; transform-origin: bottom; }
.menu-root[data-scene='ww2'] .menu-chip .avatar { display: none; }
.menu-root[data-scene='ww2'] .menu-chip-name, .menu-root[data-scene='ww2'] .menu-chip-sub, .menu-root[data-scene='ww2'] .menu-chip-lv { font-family: var(--f-type); text-transform: uppercase; letter-spacing: 0.04em; color: #262a26; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7); }
.menu-root[data-scene='ww2'] .menu-chip-sub { text-transform: none; font-size: 0.74rem; }
.menu-root[data-scene='ww2'] .menu-chip .progress { height: 4px; border: 0; background: rgba(0, 0, 0, 0.22); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.4); }
.menu-root[data-scene='ww2'] .menu-chip .progress-fill { background: #3a3f3a; }
.menu-root[data-scene='ww2'] .menu-chip-lv .insignia { filter: grayscale(1) contrast(1.3) brightness(0.55); }
.menu-icons { display: flex; gap: 0.4rem; margin-top: 0.4rem; }
.menu-icon { width: 2.6rem; height: 2.6rem; }
.menu-root[data-scene='ww2'] .menu-icon { border-radius: 50%; background: radial-gradient(circle at 40% 35%, #4a3a22, #1e160c); border: 2px solid #b08a3e; color: #f0d9a0; box-shadow: 0 0.35rem 0.7rem rgba(0, 0, 0, 0.55); }
.menu-root[data-scene='ww2'] .menu-icon:hover, .menu-root[data-scene='ww2'] .menu-icon:focus-visible { border-color: #ffd27a; color: #fff3d6; }

/* news: a paper notice pinned to the tent pole (pole at 87.5 % of the room) */
.menu-news { position: absolute; top: 7rem; width: 16.5rem; padding: 0.85rem 0.95rem 0.7rem; pointer-events: auto; right: 1.6rem; }
.menu-root[data-scene='ww2'] .menu-news {
  right: auto; left: calc(87.5% - 8.25rem); rotate: 1.8deg; color: #2b1a0c; border: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(0, 0, 0, 0) 30%), linear-gradient(180deg, #efe4c6, #dccda3);
  box-shadow: 0 1rem 1.8rem rgba(0, 0, 0, 0.6), inset 0 0 2.4rem rgba(120, 90, 40, 0.28);
  clip-path: polygon(0 1%, 18% 0, 46% 1.2%, 71% 0.2%, 100% 1%, 99.4% 33%, 100% 64%, 99.2% 100%, 62% 99%, 34% 100%, 0 99.2%, 0.8% 60%);
}
.menu-news-pin { position: absolute; z-index: 1; top: 0.35rem; left: 50%; width: 0.95rem; height: 0.95rem; margin-left: -0.475rem; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff8a6a, #b3200a 60%, #4a0c04); box-shadow: 0 3px 4px rgba(0, 0, 0, 0.5); }
.menu-news-kicker { font-size: 0.74rem; font-weight: 700; color: var(--c-bad); margin-bottom: 0.35rem; }
.menu-root[data-scene='ww2'] .menu-news-kicker { font-family: var(--f-hand); font-size: 1.15rem; font-weight: 600; color: #a3201a; margin-top: 0.5rem; }
.menu-news-pv canvas.pv { display: block; width: 100%; height: auto; aspect-ratio: 300 / 120; }
.menu-root[data-scene='ww2'] .menu-news-pv { padding: 0.28rem 0.28rem 0.9rem; background: #f6f0e0; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35); rotate: -1.5deg; }
.menu-root[data-scene='ww2'] .menu-news-pv canvas.pv { filter: sepia(0.2) contrast(1.05); }
.menu-news-title { margin: 0.55rem 0 0.25rem; font-family: var(--f-display); font-weight: var(--fw-display); font-size: 1.08rem; line-height: 1.15; color: var(--c-paper); }
.menu-root[data-scene='ww2'] .menu-news-title { color: #2b1a0c; font-family: var(--f-type); font-size: 1.05rem; }
.menu-news-body { margin: 0 0 0.45rem; font-size: 0.86rem; line-height: 1.32; color: var(--c-text); }
.menu-root[data-scene='ww2'] .menu-news-body { color: #3f3a28; font-family: var(--f-type); font-size: 0.8rem; }
.menu-news-more { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0; border: 0; background: none; cursor: pointer; font-weight: 700; font-size: 0.82rem; color: var(--c-bad); }
.menu-root[data-scene='ww2'] .menu-news-more { font-family: var(--f-hand); font-size: 1.12rem; color: #a3201a; }
.menu-news-more .ico { width: 1rem; height: 1rem; transition: transform var(--dur-2) var(--ease-spring); }
.menu-news-more:hover .ico, .menu-news-more:focus-visible .ico { transform: translateX(3px); }
.menu-server { display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 0.45rem; margin-top: 0.5rem; padding-top: 0.45rem; border-top: 1px dashed currentColor; font-size: 0.8rem; color: var(--c-dim); }
.menu-root[data-scene='ww2'] .menu-server { color: #5b5131; }
.server-dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--c-dim); flex: none; box-shadow: 0 0 6px currentColor; display: inline-block; }
.server-dot.online { background: var(--c-good); color: var(--c-good); }
.server-dot.offline { background: var(--c-bad); color: var(--c-bad); }
/* offline mode: a hollow ring in the text colour, no glow – a status, not an alarm */
.server-dot.local { background: transparent; color: currentColor; box-shadow: inset 0 0 0 2px currentColor; opacity: 0.75; }
.menu-server[data-net='local'] .muted { flex-basis: 100%; opacity: 0.85; }
.server-dot.connecting { background: var(--c-accent); color: var(--c-accent); animation: blink 900ms infinite; }
.news-item { padding: 0.55rem 0; border-top: 1px solid var(--c-line); }
.news-item:first-child { border-top: 0; padding-top: 0; }
.news-title { color: var(--c-paper); font-weight: 600; font-size: 1.02rem; }
.news-body { color: var(--c-dim); font-size: 0.92rem; }

/* briefing: a manila dossier with a clipped photo */
.menu-brief { position: absolute; left: 1.6rem; bottom: 10.6rem; width: 18rem; padding: 0.8rem 0.9rem 0.85rem; pointer-events: auto; }
.menu-brief.is-fresh { animation: mb-in 420ms var(--ease-out); }
@keyframes mb-in { from { translate: -1.5rem 0.6rem; rotate: -4deg; opacity: 0; } }
.mb-tab { display: flex; align-items: center; gap: 0.35rem; font-size: 0.8rem; }
.mb-pv { position: relative; margin: 0.4rem 0 0.5rem; }
.mb-pv canvas.pv { display: block; width: 100%; height: auto; aspect-ratio: 260 / 96; }
.mb-clip { position: absolute; top: -0.9rem; right: 1.2rem; width: 0.9rem; height: 2.4rem; color: #9aa09a; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.6)); }
.mk { flex: none; width: 0.62rem; height: 0.62rem; rotate: 45deg; background: var(--c-accent); margin-right: 0.55rem; }
.mk-online { background: #c8281e; }
.mk-ai { background: #d6a020; }
.mk-tutorial { background: #2aa6c8; rotate: 0deg; border-radius: 50%; }
.mk-experimental { rotate: 0deg; background: repeating-linear-gradient(-45deg, #ffb000 0 3px, #1b1300 3px 6px); clip-path: polygon(50% 0, 100% 100%, 0 100%); width: 0.8rem; height: 0.72rem; }
.mk-map { rotate: 0deg; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.55); }
.menu-brief-title { display: flex; align-items: center; margin: 0; font-family: var(--f-display); font-weight: var(--fw-display); font-size: 1.4rem; letter-spacing: var(--ls-display); color: var(--c-paper); line-height: 1.08; }
.mb-title-text { min-width: 0; overflow-wrap: anywhere; }
.menu-brief-sub { margin: 0.15rem 0 0.7rem; color: var(--c-dim); font-size: 0.9rem; line-height: 1.25; }
.menu-brief-cta { position: relative; }
.menu-brief-beam { position: absolute; left: -2rem; right: -2rem; bottom: 50%; height: 8rem; pointer-events: none; -webkit-mask-image: radial-gradient(55% 100% at 50% 100%, #000 45%, transparent 100%); mask-image: radial-gradient(55% 100% at 50% 100%, #000 45%, transparent 100%); }
.menu-brief-go { position: relative; width: 100%; min-height: 2.7rem; font-size: 1.05rem; }
.menu-root[data-scene='ww2'] .menu-brief {
  rotate: -1deg; color: #2b1a0c; padding-top: 0.6rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 25%), linear-gradient(175deg, #d8be86, #c4a468 70%, #b8975a);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.65), inset 0 0 0 1px rgba(80, 50, 10, 0.35), inset 0 0 2rem rgba(90, 60, 20, 0.3);
  border-radius: 0 0.3rem 0.3rem 0.3rem;
}
.menu-root[data-scene='ww2'] .mb-tab {
  position: absolute; left: 0; top: -1.45rem; height: 1.5rem; padding: 0 1.1rem 0 0.8rem; font-family: var(--f-type); font-size: 0.82rem; color: #3a2610;
  background: linear-gradient(180deg, #e0c690, #d8be86); border-radius: 0.35rem 0.6rem 0 0; clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%);
}
.menu-root[data-scene='ww2'] .mb-pv { padding: 0.3rem 0.3rem 0.95rem; background: #f6f0e0; rotate: 1.4deg; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35); margin-top: 0.3rem; }
.menu-root[data-scene='ww2'] .mb-pv canvas.pv { filter: sepia(0.2) contrast(1.06); }
.menu-root[data-scene='ww2'] .menu-brief-title { font-family: var(--f-type); font-size: 1.35rem; letter-spacing: 0; color: #22160a; }
.menu-root[data-scene='ww2'] .menu-brief-sub { font-family: var(--f-hand); font-size: 1.2rem; line-height: 1.05; color: #1e3a6a; }
.menu-first { position: absolute; right: 1.6rem; bottom: 10.6rem; display: flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0.75rem; font-size: 0.9rem; color: var(--c-accent); background: rgba(0, 0, 0, 0.55); border: 1px dashed var(--c-accent); border-radius: var(--r); }
.menu-root[data-scene='ww2'] .menu-first { font-family: var(--f-hand); font-size: 1.15rem; color: #2b1a0c; background: #f3e6a8; border: 0; rotate: -2deg; box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.5); border-radius: 0; }

/* card row: numbered photo prints taped along the table edge */
.menu-cards { position: absolute; left: 1.6rem; right: 1.6rem; bottom: 2.3rem; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.75rem; }
.menu-card { position: relative; display: grid; grid-template-rows: 1fr auto; height: 8.3rem; padding: 0; overflow: visible; text-align: left; cursor: pointer; color: #fff; background: #000; border: 0; transition: translate var(--dur-2) var(--ease-spring), box-shadow var(--dur-2), rotate var(--dur-2) var(--ease-spring); }
.menu-card:disabled { opacity: 0.45; cursor: not-allowed; }
.menu-card:active:not(:disabled) { scale: 0.985; }
.mc-pv { position: absolute; inset: 0; overflow: hidden; }
.mc-pv canvas.pv { width: 100%; height: 100%; object-fit: cover; transition: scale 900ms var(--ease-out), filter var(--dur-3); }
.menu-card:hover .mc-pv canvas.pv, .menu-card:focus-visible .mc-pv canvas.pv { scale: 1.06; }
.mc-pv::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.84) 100%); }
.mc-num { position: absolute; z-index: 2; top: 0.3rem; left: 0.5rem; font-family: var(--f-display); font-size: 1.3rem; line-height: 1; }
.mc-text { position: relative; z-index: 2; grid-row: 2; display: flex; flex-direction: column; gap: 0.08rem; padding: 0 2.4rem 0.55rem 0.6rem; }
.menu-btn-label { font-family: var(--f-display); font-weight: var(--fw-display); letter-spacing: 0.02em; font-size: 0.98rem; line-height: 1.05; color: #fff; hyphens: auto; }
.menu-btn-desc { font-size: 0.76rem; color: rgba(255, 255, 255, 0.78); line-height: 1.15; }
.mc-go { position: absolute; z-index: 2; right: 0.5rem; bottom: 0.55rem; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.6); color: #fff; transition: background var(--dur-1), border-color var(--dur-1); }
.mc-go .ico { width: 1rem; height: 1rem; }
.menu-card:hover .mc-go, .menu-card:focus-visible .mc-go, .menu-card.primary .mc-go { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-accent-ink); }
.mc-tape, .mc-holes { display: none; }
.menu-root[data-scene='ww2'] .menu-card { border: 0.32rem solid #f1e8d2; border-bottom-width: 0.32rem; box-shadow: 0 0.6rem 1.2rem rgba(0, 0, 0, 0.6); background: #120c06; }
.menu-root[data-scene='ww2'] .menu-card:nth-child(7n + 1) { rotate: -1.6deg; }
.menu-root[data-scene='ww2'] .menu-card:nth-child(7n + 2) { rotate: 1.1deg; }
.menu-root[data-scene='ww2'] .menu-card:nth-child(7n + 3) { rotate: -0.7deg; }
.menu-root[data-scene='ww2'] .menu-card:nth-child(7n + 4) { rotate: 1.4deg; }
.menu-root[data-scene='ww2'] .menu-card:nth-child(7n + 5) { rotate: -1.2deg; }
.menu-root[data-scene='ww2'] .menu-card:nth-child(7n + 6) { rotate: 0.8deg; }
.menu-root[data-scene='ww2'] .menu-card:nth-child(7n + 7) { rotate: -1.4deg; }
.menu-root[data-scene='ww2'] .menu-card:hover:not(:disabled), .menu-root[data-scene='ww2'] .menu-card:focus-visible { translate: 0 -0.5rem; rotate: 0deg; box-shadow: 0 1.2rem 2rem rgba(0, 0, 0, 0.65), 0 0 0 2px #ffcf7a; }
.menu-root[data-scene='ww2'] .mc-tape { display: block; position: absolute; z-index: 3; top: -0.7rem; left: 50%; width: 3.6rem; height: 1.1rem; margin-left: -1.8rem; background: rgba(232, 220, 180, 0.72); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); rotate: -3deg; clip-path: polygon(2% 0, 98% 6%, 100% 92%, 0 100%); }
.menu-root[data-scene='ww2'] .menu-card:nth-child(even) .mc-tape { rotate: 4deg; }
.menu-root[data-scene='ww2'] .mc-pv canvas.pv { filter: sepia(0.15) brightness(0.97); }
.menu-root[data-scene='ww2'] .menu-card:hover .mc-pv canvas.pv, .menu-root[data-scene='ww2'] .menu-card:focus-visible .mc-pv canvas.pv { filter: saturate(1.08) brightness(1.1); }
.menu-root[data-scene='ww2'] .mc-num { font-style: italic; color: #ff5a2a; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85); }
.menu-root[data-scene='ww2'] .menu-btn-label { text-transform: uppercase; font-size: 0.95rem; letter-spacing: 0; }
/* the round arrow sits opposite the number, so the title gets the full width of the print */
.menu-root[data-scene='ww2'] .mc-go { top: 0.4rem; bottom: auto; right: 0.45rem; width: 1.6rem; height: 1.6rem; background: rgba(0, 0, 0, 0.35); }
.menu-root[data-scene='ww2'] .mc-text { padding-right: 0.5rem; }
.menu-root[data-scene='ww2'] .menu-card.primary .mc-go, .menu-root[data-scene='ww2'] .menu-card:hover .mc-go, .menu-root[data-scene='ww2'] .menu-card:focus-visible .mc-go { background: #d6a948; border-color: #d6a948; color: #1e1408; }
.menu-root[data-scene='ww2'] .menu-card.primary { box-shadow: 0 0.6rem 1.2rem rgba(0, 0, 0, 0.6), 0 0 0 2px #d6a948; }

.menu-foot { position: absolute; left: 1.6rem; right: 1.6rem; bottom: 0.35rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--c-dim); font-size: 0.85rem; pointer-events: none; }
.menu-foot > * { pointer-events: auto; }
.menu-foot .seg-btn { min-height: 1.6rem; padding: 0.1rem 0.6rem; font-size: 0.78rem; }
.menu-tag { display: flex; align-items: baseline; gap: 0.8rem; }
.menu-tag .hand { font-size: 1.15rem; color: #f3e6c4; }
.menu-ver { font-family: var(--f-num); font-weight: 700; }
.menu-root[data-scene='ww2'] .menu-foot { color: #cdbb92; }

/* ================================================================== coldwar – Radarbunker */
.menu-root[data-scene='coldwar'] .menu-table { left: 17.5rem; right: 16.8rem; top: 6.8rem; bottom: 9.6rem; }
.menu-root[data-scene='coldwar'] .menu-shade { background: linear-gradient(180deg, transparent 75%, rgba(0, 0, 0, 0.5)); }
.sc-board { opacity: 0.13; mix-blend-mode: screen; -webkit-mask-image: linear-gradient(180deg, #000 0, #000 55%, transparent 80%); mask-image: linear-gradient(180deg, #000 0, #000 55%, transparent 80%); }
.sc-scan { opacity: 1; }
.sc-feed { position: absolute; top: 0.7rem; left: 50%; width: min(26rem, 34vw); height: 5.9rem; translate: -50% 0; padding: 0.4rem 0.4rem 0; border-radius: 0.8rem 0.8rem 0.5rem 0.5rem; background: linear-gradient(180deg, #2a2c24, #17180f); box-shadow: 0 0.6rem 1.4rem rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08); display: grid; grid-template-rows: 1fr auto; }
.sc-feed-screen { position: relative; overflow: hidden; border-radius: 0.9rem / 0.7rem; background: radial-gradient(ellipse at 50% 60%, #0c3a16, #021006); box-shadow: inset 0 0 1.4rem rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(60, 255, 110, 0.18); }
.sc-feed-tint { position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0 1px, transparent 1px 3px), radial-gradient(ellipse at 50% 50%, rgba(47, 224, 67, 0.1), rgba(0, 20, 4, 0.6) 92%); }
.sc-feed-bar { display: flex; align-items: center; gap: 0.45rem; padding: 0.2rem 0.4rem 0.25rem; font-family: var(--f-num); font-size: 0.7rem; color: #9dffb4; letter-spacing: 0.08em; }
.sc-feed-clock { margin-left: auto; color: #ffb000; font-variant-numeric: tabular-nums; }
.sc-rec { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #ff3a2a; box-shadow: 0 0 6px #ff3a2a; animation: blink 1.2s steps(2) infinite; }
.sc-beacon { position: absolute; top: 0.3rem; right: 30%; width: 1.6rem; height: 1.2rem; border-radius: 0.8rem 0.8rem 0.2rem 0.2rem; background: #3a2600; overflow: hidden; box-shadow: 0 0 1.2rem rgba(255, 176, 0, 0.35); }
.sc-beacon-light { position: absolute; inset: -60%; background: conic-gradient(from 0deg, rgba(255, 200, 60, 0.95), rgba(255, 176, 0, 0) 25%, rgba(255, 176, 0, 0) 75%, rgba(255, 200, 60, 0.95)); animation: sc-spin 2.4s linear infinite; }
@keyframes sc-spin { to { rotate: 360deg; } }

.menu-root[data-scene='coldwar'] .menu-brand-plate { border-radius: 0.6rem; background: radial-gradient(ellipse at 50% 45%, #041206, #000 75%); box-shadow: 0 0 0 0.35rem #22241c, 0 0 0 0.42rem #0a0b07, 0 0.8rem 1.6rem rgba(0, 0, 0, 0.7), inset 0 0 1.6rem rgba(47, 224, 67, 0.12); }
.menu-root[data-scene='coldwar'] .menu-note { transform: none; margin: 0.8rem 0 0 0.2rem; }
.menu-root[data-scene='coldwar'] .menu-note .hand { font-family: var(--f-num); font-size: 0.82rem; color: #2fe043; text-shadow: 0 0 8px rgba(47, 224, 67, 0.6); }
.menu-root[data-scene='coldwar'] .menu-note-arrow { display: none; }
/* ID badge: laminated card on a clip, photo, split-flap level */
.menu-root[data-scene='coldwar'] .menu-chip {
  grid-template-columns: auto minmax(7.5rem, 10.5rem) auto; margin-top: 0.6rem; padding: 0.7rem 0.7rem 0.5rem; border: 0; border-radius: 0.35rem; color: #1d1a12;
  background: linear-gradient(180deg, #2b6a3a 0 0.42rem, transparent 0.42rem), linear-gradient(170deg, #ece4c8, #d6cba6); box-shadow: 0 0.6rem 1.2rem rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.menu-root[data-scene='coldwar'] .menu-chip::before { content: ''; position: absolute; top: -0.75rem; left: 50%; width: 2.2rem; height: 1rem; margin-left: -1.1rem; border-radius: 0.2rem; background: linear-gradient(180deg, #9aa09a, #5a605a); box-shadow: 0 2px 3px rgba(0, 0, 0, 0.6); }
.menu-root[data-scene='coldwar'] .menu-chip .avatar { filter: grayscale(1) sepia(0.5) hue-rotate(50deg) contrast(1.2); border-radius: 0.15rem; box-shadow: 0 0 0 2px #1d1a12; }
.menu-root[data-scene='coldwar'] .menu-chip-name { font-family: var(--f-num); text-transform: uppercase; font-size: 0.95rem; color: #1d1a12; }
.menu-root[data-scene='coldwar'] .menu-chip-sub { color: #4a4430; font-size: 0.72rem; }
.menu-root[data-scene='coldwar'] .menu-chip .progress { height: 4px; border: 0; background: rgba(0, 0, 0, 0.18); }
.menu-root[data-scene='coldwar'] .menu-chip .progress-fill { background: #2b6a3a; }
.menu-root[data-scene='coldwar'] .menu-chip-lv { color: #1d1a12; }
.menu-root[data-scene='coldwar'] .menu-chip-n { padding: 0 0.15rem; background: #111; color: #ffb000; border-radius: 0.15rem; }
.menu-root[data-scene='coldwar'] .menu-icon { background: #1b1d17; border: 1px solid #3a4436; color: #2fe043; border-radius: 0.3rem; box-shadow: inset 0 -3px 0 #0a0b07, 0 0.3rem 0.6rem rgba(0, 0, 0, 0.6); }
.menu-root[data-scene='coldwar'] .menu-icon:hover, .menu-root[data-scene='coldwar'] .menu-icon:focus-visible { color: #b6ffc2; border-color: #2fe043; }
/* the briefing and the news are CRT monitors flanking the radar table */
.menu-root[data-scene='coldwar'] .menu-brief, .menu-root[data-scene='coldwar'] .menu-news {
  padding: 0.8rem 0.85rem 0.85rem; border: 0.6rem solid #23251d; border-radius: 1rem; color: #9dffb4;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0 1px, transparent 1px 3px), radial-gradient(ellipse at 50% 45%, #062a10, #010803 80%);
  box-shadow: 0 0 0 1px #0a0b07, 0 0.9rem 1.8rem rgba(0, 0, 0, 0.75), inset 0 0 2.2rem rgba(0, 0, 0, 0.9), inset 0 0 0.6rem rgba(47, 224, 67, 0.25);
}
.menu-root[data-scene='coldwar'] .menu-brief { left: 1.1rem; bottom: auto; top: 12.6rem; width: 15.8rem; }
.menu-root[data-scene='coldwar'] .menu-brief-go { font-size: 0.95rem; letter-spacing: 0.06em; }
.menu-root[data-scene='coldwar'] .menu-brief-go kbd { display: none; }
.menu-root[data-scene='coldwar'] .menu-news { right: 1.1rem; top: 7.6rem; width: 15.2rem; }
.menu-root[data-scene='coldwar'] .menu-brief.is-fresh { animation: crt-on 360ms steps(6); }
@keyframes crt-on { 0% { filter: brightness(3) contrast(0.4); clip-path: inset(48% 0 48% 0); } 50% { clip-path: inset(10% 0 10% 0); } 100% { filter: none; clip-path: inset(0); } }
.menu-root[data-scene='coldwar'] .mb-tab { font-family: var(--f-num); color: #2fe043; letter-spacing: 0.08em; text-shadow: 0 0 6px rgba(47, 224, 67, 0.6); }
.menu-root[data-scene='coldwar'] .mb-prompt { color: #ffb000; }
.menu-root[data-scene='coldwar'] .mb-pv canvas.pv { filter: grayscale(1) sepia(1) hue-rotate(62deg) saturate(3) contrast(1.15) brightness(0.9); border-radius: 0.3rem; }
.menu-root[data-scene='coldwar'] .menu-brief-title { font-family: var(--f-num); text-transform: uppercase; font-size: 1.15rem; letter-spacing: 0.08em; color: #b6ffc2; text-shadow: 0 0 8px rgba(47, 224, 67, 0.7); }
.menu-root[data-scene='coldwar'] .menu-brief-sub { color: #6fdc84; font-size: 0.82rem; }
.menu-root[data-scene='coldwar'] .menu-news-pin { display: none; }
.menu-root[data-scene='coldwar'] .menu-news-kicker { font-family: var(--f-num); color: #ffb000; letter-spacing: 0.1em; }
.menu-root[data-scene='coldwar'] .menu-news-pv canvas.pv { filter: grayscale(1) sepia(1) hue-rotate(62deg) saturate(3) contrast(1.15) brightness(0.9); border-radius: 0.3rem; }
.menu-root[data-scene='coldwar'] .menu-news-title { font-family: var(--f-num); text-transform: uppercase; color: #b6ffc2; font-size: 0.98rem; letter-spacing: 0.05em; }
.menu-root[data-scene='coldwar'] .menu-news-body { font-family: var(--f-num); color: #7fe894; font-size: 0.78rem; min-height: 4em; }
.menu-root[data-scene='coldwar'] .menu-news-more { font-family: var(--f-num); color: #ffb000; }
.menu-root[data-scene='coldwar'] .menu-server { color: #6fdc84; font-family: var(--f-num); font-size: 0.72rem; }
.menu-root[data-scene='coldwar'] .menu-first { right: 1.1rem; bottom: 10rem; font-family: var(--f-num); font-size: 0.8rem; color: #ffb000; border-color: #ffb000; background: rgba(20, 12, 0, 0.75); border-radius: 0.2rem; }
/* aperture punch cards (punched card with a film window) in the console rack */
.menu-root[data-scene='coldwar'] .menu-cards { gap: 0.6rem; bottom: 2.4rem; }
.menu-root[data-scene='coldwar'] .menu-card {
  height: 7.6rem; grid-template-rows: 1.25rem 1fr auto; color: #1d1a12; border-radius: 0.2rem;
  background: repeating-linear-gradient(180deg, transparent 0 0.62rem, rgba(150, 60, 40, 0.1) 0.62rem 0.68rem), linear-gradient(176deg, #efe6c8, #ddd1aa);
  clip-path: polygon(0.9rem 0, 100% 0, 100% 100%, 0 100%, 0 0.9rem); box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.7);
}
.menu-root[data-scene='coldwar'] .menu-card:hover:not(:disabled), .menu-root[data-scene='coldwar'] .menu-card:focus-visible { translate: 0 -0.55rem; }
.menu-root[data-scene='coldwar'] .menu-card:focus-visible { outline: 2px solid #2fe043; outline-offset: 3px; }
.menu-root[data-scene='coldwar'] .mc-holes { display: block; grid-row: 1; width: 100%; height: 1.25rem; padding: 0.15rem 0.4rem 0; color: #1d1a12; opacity: 0.9; }
.menu-root[data-scene='coldwar'] .mc-pv { position: relative; inset: auto; grid-row: 2; margin: 0.15rem 0.45rem 0.2rem; border-radius: 0.15rem; background: #010803; box-shadow: inset 0 0 0 2px #1d1a12; }
.menu-root[data-scene='coldwar'] .mc-pv::after { background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0 1px, transparent 1px 3px); }
.menu-root[data-scene='coldwar'] .mc-pv canvas.pv { filter: brightness(0.85); }
.menu-root[data-scene='coldwar'] .menu-card:hover .mc-pv canvas.pv, .menu-root[data-scene='coldwar'] .menu-card:focus-visible .mc-pv canvas.pv { filter: brightness(1.2) contrast(1.1); }
.menu-root[data-scene='coldwar'] .mc-text { grid-row: 3; padding: 0 2.1rem 0.4rem 0.5rem; }
.menu-root[data-scene='coldwar'] .menu-btn-label { font-family: var(--f-num); text-transform: uppercase; font-size: 0.86rem; letter-spacing: 0.04em; color: #1d1a12; }
.menu-root[data-scene='coldwar'] .menu-btn-desc { color: #4a4430; font-size: 0.7rem; }
.menu-root[data-scene='coldwar'] .mc-num { top: auto; bottom: 2.15rem; left: auto; right: 0.5rem; font-family: var(--f-num); font-size: 0.72rem; color: #7a2a1a; }
.menu-root[data-scene='coldwar'] .mc-go { right: 0.4rem; bottom: 0.4rem; width: 1.5rem; height: 1.5rem; border-color: #1d1a12; color: #1d1a12; border-radius: 0.15rem; }
.menu-root[data-scene='coldwar'] .menu-card:hover .mc-go, .menu-root[data-scene='coldwar'] .menu-card:focus-visible .mc-go, .menu-root[data-scene='coldwar'] .menu-card.primary .mc-go { background: #1d1a12; color: #2fe043; border-color: #1d1a12; }
.menu-root[data-scene='coldwar'] .menu-foot { font-family: var(--f-num); color: #6fdc84; font-size: 0.75rem; }
.menu-root[data-scene='coldwar'] .menu-tag .hand { font-family: var(--f-num); font-size: 0.78rem; color: #6fdc84; text-transform: uppercase; letter-spacing: 0.12em; }

/* ================================================================== modern – Lagezentrum */
.menu-root[data-scene='modern'] .menu-table { top: 4.4rem; bottom: 10.6rem; }
.menu-root[data-scene='modern'] .menu-shade { background: radial-gradient(ellipse 80% 55% at 50% 50%, transparent 60%, rgba(4, 7, 11, 0.6)); }
.sc-floor { -webkit-mask-image: linear-gradient(180deg, transparent 42%, #000 66%); mask-image: linear-gradient(180deg, transparent 42%, #000 66%); opacity: 0.95; }
/* low / medium: the Grid Scan floor as a static perspective grid (no shader, no animation) */
.sc-floor-static { position: absolute; left: -30%; right: -30%; top: 56%; bottom: -10%; pointer-events: none; transform: perspective(28rem) rotateX(62deg); transform-origin: 50% 0;
  background: repeating-linear-gradient(90deg, rgba(61, 155, 255, 0.28) 0 1px, transparent 1px 64px), repeating-linear-gradient(0deg, rgba(61, 155, 255, 0.22) 0 1px, transparent 1px 64px), linear-gradient(180deg, rgba(61, 155, 255, 0.1), rgba(61, 155, 255, 0.02));
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%, #000 100%); mask-image: linear-gradient(180deg, transparent 0, #000 30%, #000 100%); }
.sc-edge { position: absolute; z-index: 0; left: 0; right: 0; height: 4.5rem; }
/* behind the sub screens: the same projector, its cone falling onto the floor behind the glass panels */
.sc-cone { position: absolute; left: 50%; top: 0; width: 120vmin; height: 92%; translate: -50% 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(120, 190, 255, 0.2), rgba(61, 155, 255, 0.07) 55%, rgba(61, 155, 255, 0.02));
  clip-path: polygon(47% 0, 53% 0, 100% 100%, 0 100%); mix-blend-mode: screen; }
.sc-cone::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: radial-gradient(ellipse 50% 70% at 50% 100%, rgba(61, 155, 255, 0.22), transparent 70%); }
.sc-cone-lens { position: absolute; left: 50%; top: 0; width: 3.4rem; height: 0.9rem; margin-left: -1.7rem; border-radius: 0 0 2rem 2rem; background: radial-gradient(ellipse 50% 70% at 50% 20%, #fff 0 15%, #9fd6ff 35%, rgba(61, 155, 255, 0) 100%); }
.sc-edge-top { top: 0; }
.sc-edge-bottom { bottom: 0; }
.menu-root[data-scene='modern'] .menu-brand-plate { background: linear-gradient(180deg, rgba(0, 0, 0, 0.92), #000); border: 1px solid rgba(139, 151, 166, 0.35); clip-path: polygon(0.8rem 0, 100% 0, 100% calc(100% - 0.8rem), calc(100% - 0.8rem) 100%, 0 100%, 0 0.8rem); }
.menu-root[data-scene='modern'] .menu-note { transform: none; margin: 0.6rem 0 0 0.1rem; }
.menu-root[data-scene='modern'] .menu-note .hand { font-family: var(--f-num); font-weight: 600; font-size: 0.86rem; color: #8b97a6; }
.menu-root[data-scene='modern'] .menu-note-arrow { display: none; }
.menu-root[data-scene='modern'] .menu-chip, .menu-root[data-scene='modern'] .menu-brief, .menu-root[data-scene='modern'] .menu-news, .menu-root[data-scene='modern'] .menu-icon {
  background: rgba(18, 22, 28, 0.82); border: 1px solid rgba(190, 200, 212, 0.32); backdrop-filter: blur(var(--panel-blur)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0.6rem 1.4rem rgba(0, 0, 0, 0.45);
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
}
.menu-root[data-scene='modern'] .menu-chip { color: var(--c-text); }
.menu-root[data-scene='modern'] .menu-chip:hover, .menu-root[data-scene='modern'] .menu-chip:focus-visible { border-color: #3d9bff; }
.menu-root[data-scene='modern'] .menu-chip-lv { color: #3d9bff; }
.menu-root[data-scene='modern'] .menu-chip-n { font-size: 1.1rem; }
.menu-root[data-scene='modern'] .menu-icon { color: #c9d6e4; }
.menu-root[data-scene='modern'] .menu-icon:hover, .menu-root[data-scene='modern'] .menu-icon:focus-visible { color: #fff; border-color: #3d9bff; }
.menu-root[data-scene='modern'] .menu-brief { left: 1.5rem; bottom: auto; top: 12.4rem; width: 17.5rem; border-left: 3px solid #3d9bff; }
.menu-root[data-scene='modern'] .menu-brief-beam { left: auto; right: -1.5rem; width: 10rem; height: 6.5rem; }
.menu-root[data-scene='modern'] .menu-brief.is-fresh { animation: holo-in 420ms var(--ease-out); }
@keyframes holo-in { 0% { opacity: 0; filter: blur(6px) brightness(1.8); translate: 0 0.4rem; } 60% { opacity: 1; filter: blur(0) brightness(1.2); } 100% { filter: none; } }
.menu-root[data-scene='modern'] .mb-tab { font-family: var(--f-num); font-weight: 700; color: #8b97a6; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; }
.menu-root[data-scene='modern'] .mb-pv { border: 1px solid rgba(190, 200, 212, 0.25); }
.menu-root[data-scene='modern'] .mb-pv::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 0 46%, rgba(61, 155, 255, 0.35) 50%, transparent 54%) 0 0 / 100% 300%; animation: holo-scan 3.6s linear infinite; }
@keyframes holo-scan { from { background-position: 0 100%; } to { background-position: 0 -200%; } }
.menu-root[data-scene='modern'] .menu-brief-title { text-transform: uppercase; font-size: 1.3rem; color: #f2f6fb; }
.menu-root[data-scene='modern'] .menu-brief-sub { color: #9aa7b6; }
.menu-root[data-scene='modern'] .menu-news { right: 1.5rem; top: 8.2rem; width: 15.5rem; color: var(--c-text); }
.menu-root[data-scene='modern'] .menu-news-pin { display: none; }
.menu-root[data-scene='modern'] .menu-news-kicker { font-family: var(--f-num); letter-spacing: 0.12em; text-transform: uppercase; color: #ff4d5e; }
.menu-root[data-scene='modern'] .menu-news-title { text-transform: uppercase; font-size: 1rem; letter-spacing: 0.05em; }
.menu-root[data-scene='modern'] .menu-news-more { color: #3d9bff; text-transform: uppercase; letter-spacing: 0.08em; }
.menu-root[data-scene='modern'] .menu-first { right: 1.5rem; bottom: 10.6rem; color: #3d9bff; border-color: rgba(61, 155, 255, 0.6); background: rgba(10, 16, 24, 0.8); }
/* Magic Bento: "Spielen" is the big tile, the rest form a 3 × 2 block */
.menu-root[data-scene='modern'] .menu-cards { grid-template-columns: 1.7fr repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, 4.05rem); gap: 0.45rem; bottom: 2.3rem; }
.menu-root[data-scene='modern'] .menu-card {
  height: auto; grid-template-columns: 38% 1fr; grid-template-rows: 1fr; overflow: hidden;
  /* glass: the room shows through, a cold top highlight, the projector's blue as the only colour */
  background: linear-gradient(180deg, rgba(160, 200, 240, 0.09), rgba(160, 200, 240, 0) 38%), rgba(12, 18, 26, 0.58);
  -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2);
  border: 1px solid rgba(190, 210, 232, 0.26); box-shadow: inset 0 1px 0 rgba(220, 236, 255, 0.16);
  clip-path: polygon(0.6rem 0, 100% 0, 100% calc(100% - 0.6rem), calc(100% - 0.6rem) 100%, 0 100%, 0 0.6rem);
}
.menu-root[data-scene='modern'] .menu-card::after { content: ''; position: absolute; left: 0.6rem; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, rgba(61, 155, 255, 0), #3d9bff 30%, rgba(61, 155, 255, 0)); opacity: 0; transition: opacity var(--dur-2); }
.menu-root[data-scene='modern'] .menu-card:hover::after, .menu-root[data-scene='modern'] .menu-card:focus-visible::after, .menu-root[data-scene='modern'] .menu-card.primary::after { opacity: 1; }
/* card 01: the live front feed (canvas filled by menu.js) over the shader scene, with a REC caption */
.mc-live, .mc-live-cap { display: none; }
.menu-root[data-scene='modern'] .mc-live { display: block; position: absolute; inset: 0; width: 100%; height: 100%; filter: saturate(0.75) contrast(1.12) brightness(1.02); }
.menu-root[data-scene='modern'] .mc-live-cap { display: inline-flex; position: absolute; z-index: 3; top: 0.45rem; left: 2.6rem; align-items: center; gap: 0.35rem; font-family: var(--f-num); font-weight: 700; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: #dfeaf6; text-shadow: 0 1px 2px #000; }
.menu-root[data-scene='modern'] .menu-card.primary .mc-pv::before { content: ''; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(61, 155, 255, 0.07) 0 1px, transparent 1px 28px), linear-gradient(180deg, rgba(61, 155, 255, 0.14), transparent 40%); }
.menu-root[data-scene='modern'] .menu-card:hover:not(:disabled), .menu-root[data-scene='modern'] .menu-card:focus-visible { border-color: #3d9bff; box-shadow: inset 0 0 0 1px #3d9bff, inset 0 0 1.4rem rgba(61, 155, 255, 0.18); }
.menu-root[data-scene='modern'] .mc-pv { position: relative; inset: auto; grid-column: 1; grid-row: 1; }
.menu-root[data-scene='modern'] .mc-pv::after { background: linear-gradient(90deg, transparent 60%, rgba(14, 20, 28, 0.9)); }
.menu-root[data-scene='modern'] .mc-pv canvas.pv { filter: saturate(0.9) brightness(0.95); }
.menu-root[data-scene='modern'] .mc-text { grid-column: 2; grid-row: 1; align-self: center; padding: 0 1.9rem 0 0.55rem; }
.menu-root[data-scene='modern'] .menu-btn-label { text-transform: uppercase; font-size: 0.94rem; letter-spacing: 0.06em; }
.menu-root[data-scene='modern'] .menu-btn-desc { color: #9aa7b6; font-size: 0.72rem; }
.menu-root[data-scene='modern'] .mc-num { top: 0.3rem; left: auto; right: 0.5rem; font-family: var(--f-num); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.12em; color: #3d9bff; }
.menu-root[data-scene='modern'] .mc-go { right: 0.4rem; bottom: 0.4rem; width: 1.45rem; height: 1.45rem; border-radius: 0; border-color: rgba(190, 200, 212, 0.45); }
.menu-root[data-scene='modern'] .menu-card.primary { grid-row: span 2; grid-template-columns: 1fr; grid-template-rows: 1fr auto; border-color: rgba(61, 155, 255, 0.7); }
.menu-root[data-scene='modern'] .menu-card.primary .mc-pv { position: absolute; inset: 0; }
.menu-root[data-scene='modern'] .menu-card.primary .mc-pv::after { background: linear-gradient(180deg, transparent 30%, rgba(10, 16, 24, 0.92)); }
.menu-root[data-scene='modern'] .menu-card.primary .mc-text { grid-column: 1; grid-row: 2; padding: 0 2.4rem 0.6rem 0.7rem; }
.menu-root[data-scene='modern'] .menu-card.primary .menu-btn-label { font-size: 1.35rem; }
.menu-root[data-scene='modern'] .menu-card.primary .mc-num { right: auto; left: 0.7rem; }
.menu-root[data-scene='modern'] .menu-foot { color: #8b97a6; }
.menu-root[data-scene='modern'] .menu-tag .hand { font-family: var(--f-num); font-size: 0.82rem; color: #8b97a6; text-transform: uppercase; letter-spacing: 0.12em; }

/* ================================================================== small screens */
@media (max-width: 1100px) {
  .menu-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .menu-card { height: 6.4rem; }
  .menu-table { bottom: 16rem; }
  .menu-brief, .menu-first { bottom: 16.6rem; }
  .menu-root[data-scene='modern'] .menu-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto; }
  .menu-root[data-scene='modern'] .menu-card, .menu-root[data-scene='modern'] .menu-card.primary { grid-row: auto; height: 4.2rem; }
  .menu-root[data-scene='coldwar'] .menu-table { left: 0; right: 0; }
  .sc-wall { display: none; }
}
@media (max-height: 640px) {
  .menu-news { display: none; }
}
/* tablets in landscape (iPad 1180 × 820): the bunker's feed monitor moves left of the ID badge, and the
   tutorial note stays above the card row instead of behind it */
@media (min-width: 1101px) and (max-width: 1360px) {
  .menu-root[data-scene='coldwar'] .sc-feed, .sc-feed { left: 17.6rem; width: min(22rem, calc(100vw - 17.6rem - 33rem)); translate: 0 0; }
}
.menu-first { z-index: 3 !important; }
@media (max-height: 880px) and (min-width: 1101px) {
  .menu-root[data-scene] .menu-first { bottom: 12.4rem; }
  .menu-root[data-scene='coldwar'] .menu-first { bottom: 12.8rem; }
  .menu-root[data-scene='modern'] .menu-first { bottom: 13.8rem; }
  /* the brief sits right under the brand plate there: the tagline would hide behind it */
  .menu-root[data-scene='coldwar'] .menu-note, .menu-root[data-scene='modern'] .menu-note { display: none; }
}
/* reduced motion: the room stands still (no flicker, beacon, scan) */
.reduce-motion .sc-lamp, .reduce-motion .sc-beacon-light, .reduce-motion .sc-rec, .reduce-motion .menu-root[data-scene='modern'] .mb-pv::after { animation: none; }
