#cv-viewport { position: fixed; left: 50%; top: 50%; width: 100%; height: 100%; transform: translate(-50%, -50%) scale(var(--cv-display-scale, 1)); overflow: hidden; container: cv-game / size; }
/* Crowdvio-Spielmenü – gleiches Design für alle Browser-Spiele (Sprache „Broadcast“ wie crowdvio.de). */
@font-face { font-family: 'Space Grotesk'; font-weight: 400 700; font-display: swap; src: url('/assets/space-grotesk-latin.woff2') format('woff2'); }
:root { --cv-ink: #0b0c0e; --cv-panel: #121417; --cv-lime: #d1ff69; --cv-coral: #ff5d47; --cv-paper: #f4f4ef; --cv-muted: #a3a7ab; --cv-edge: #ffffff24; --cv-head: 'Space Grotesk', system-ui, sans-serif; }

.cv-screen { position: fixed; inset: 0; z-index: 30; display: flex; padding: max(14px, env(safe-area-inset-top)) 14px max(14px, env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain;
  background: radial-gradient(700px 420px at 50% -10%, rgba(209,255,105,.14), transparent 70%), rgba(11,12,14,.72); backdrop-filter: blur(3px); -webkit-tap-highlight-color: transparent; }
.cv-screen[hidden] { display: none !important; }
.cv-menu { margin: 0 auto auto; width: min(460px, 100%); padding: 16px 18px 18px; border: 2px solid var(--cv-lime); border-radius: 22px; background: rgba(18,20,23,.94);
  box-shadow: 10px 10px 0 rgba(209,255,105,.22); color: var(--cv-paper); font: 15px/1.45 system-ui, 'Segoe UI', sans-serif; text-align: left; user-select: none; }
.cv-menu * { box-sizing: border-box; }
.cv-menu button { font: inherit; color: inherit; cursor: pointer; margin: 0; width: auto; transform: none; box-shadow: none; }

/* Kopfzeile */
.cv-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; min-height: 40px; }
.cv-home { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 2px solid var(--cv-edge); color: var(--cv-paper); text-decoration: none; font: 700 13px var(--cv-head); }
.cv-home:hover { border-color: var(--cv-lime); color: var(--cv-lime); }
.cv-home-off { border: 0; padding-left: 0; color: var(--cv-muted); letter-spacing: .2em; font-size: 11px; }
.cv-top-actions { display: flex; gap: 6px; }
.cv-menu .cv-icon { width: 40px; height: 40px; padding: 0; display: grid; place-items: center; border-radius: 12px; border: 2px solid var(--cv-edge); background: #ffffff08; font-size: 17px; line-height: 1; }
.cv-menu .cv-icon:hover { border-color: var(--cv-lime); background: #d1ff6914; }

/* Titel */
.cv-title { text-align: center; margin: 4px 0 14px; }
.cv-kicker { display: inline-block; padding: 3px 10px; border: 2px solid var(--cv-ink); border-radius: 8px; background: var(--cv-lime); color: var(--cv-ink); font: 700 11px var(--cv-head); letter-spacing: .12em; transform: rotate(-2.5deg); box-shadow: 3px 3px 0 #00000080; }
.cv-title h1 { margin: 12px 0 6px; font: 700 clamp(40px, 12cqw, 60px)/.92 var(--cv-head); letter-spacing: -.045em; text-transform: uppercase; color: var(--cv-paper); text-shadow: 4px 4px 0 #000; }
.cv-title h1 span { display: block; color: var(--cv-lime); }
.cv-title p { margin: 0; color: #cfd2d4; font-weight: 600; }

/* Knöpfe */
.cv-actions { display: grid; gap: 10px; }
.cv-menu .cv-play { display: block; width: 100%; padding: 15px 16px; border: 2px solid var(--cv-ink); border-radius: 16px; background: var(--cv-lime); color: var(--cv-ink); font: 700 22px var(--cv-head); text-align: center; box-shadow: 5px 5px 0 #ffffff40; transition: transform .08s, box-shadow .08s; }
.cv-menu .cv-play small { display: block; font: 600 12px system-ui; color: #2a3310; }
.cv-menu .cv-play:hover { background: #e2ff9a; }
.cv-menu .cv-play:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 #ffffff40; }
.cv-menu .cv-window { display: block; width: 100%; padding: 10px 14px; border: 2px solid var(--cv-lime); border-radius: 14px; background: #d1ff6914; color: var(--cv-lime); font: 700 16px var(--cv-head); text-align: center; transition: background .12s, transform .08s; }
.cv-menu .cv-window small { display: block; font: 500 11px system-ui; color: var(--cv-muted); }
.cv-menu .cv-window:hover { background: #d1ff6926; }
.cv-menu .cv-window:active { transform: translate(2px, 2px); }
.cv-menu .cv-mobile { border: 2px solid #7ad7ff55; border-radius: 14px; background: #7ad7ff12; padding: 0; }
.cv-menu .cv-mobile summary { cursor: pointer; list-style: none; padding: 10px 14px; font: 700 15px var(--cv-head); color: #7ad7ff; text-align: center; }
.cv-menu .cv-mobile summary::-webkit-details-marker { display: none; }
.cv-menu .cv-mobile summary small { display: block; font: 500 11px system-ui; color: var(--cv-muted); }
.cv-menu .cv-mobile ol { margin: 0; padding: 0 16px 12px 32px; font-size: 12.5px; line-height: 1.45; color: var(--cv-paper, #f4f4ef); }
.cv-menu .cv-mobile li + li { margin-top: 5px; }
/* Handy-Steuerung standardmäßig unsichtbar (Einstellungen → Stream → Handy-Steuerung) */
html[data-touchui="aus"] .touch-pad, html[data-touchui="aus"] #pad, html[data-touchui="aus"] #manual, html[data-touchui="aus"] #stick { display: none !important; }
.cv-menu .cv-window-note { margin: 0; padding: 8px 10px; border-radius: 10px; background: #ffffff0a; font-size: 12px; line-height: 1.4; }
.demo .cv-menu .cv-window, .demo .cv-menu .cv-window-note { display: none; }
.cv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cv-grid button { display: flex; align-items: center; gap: 9px; min-height: 56px; padding: 9px 11px; border: 2px solid var(--cv-edge); border-radius: 14px; background: #ffffff07; text-align: left; font: 700 15px var(--cv-head); transition: border-color .12s, background .12s; }
.cv-grid button:hover { border-color: var(--cv-lime); background: #d1ff690f; }
.cv-grid button:active { transform: translate(2px, 2px); }
.cv-grid small { display: block; font: 500 11px/1.3 system-ui; color: var(--cv-muted); }
.cv-ic { font-size: 22px; line-height: 1; flex: none; }
.cv-grid button:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Auswahl-Leiste (z. B. Schwierigkeit) */
.cv-menu .cv-seg { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: #ffffff0a; border: 1px solid var(--cv-edge); }
.cv-menu .cv-seg button { flex: 1; padding: 8px 6px; border: 0; border-radius: 9px; background: transparent; color: var(--cv-muted); font: 700 13px var(--cv-head); white-space: nowrap; }
.cv-menu .cv-seg button small { display: block; font: 600 10px system-ui; color: inherit; opacity: .8; }
.cv-menu .cv-seg button.on { background: var(--cv-lime); color: var(--cv-ink); }
.cv-menu .cv-seg button:not(.on):hover { color: var(--cv-paper); background: #ffffff10; }

/* Statistik, Erklärung, Verbindung */
.cv-stats { margin-top: 14px; padding: 10px 12px; border-radius: 14px; background: #ffffff07; border: 1px solid var(--cv-edge); font-size: 13px; color: var(--cv-muted); }
.cv-stats b { color: var(--cv-lime); }
.cv-how { margin-top: 10px; border-radius: 14px; border: 1px solid var(--cv-edge); background: #ffffff05; }
.cv-how summary { cursor: pointer; padding: 10px 12px; font: 700 14px var(--cv-head); list-style: none; display: flex; justify-content: space-between; }
.cv-how summary::-webkit-details-marker { display: none; }
.cv-how summary::after { content: '＋'; color: var(--cv-lime); }
.cv-how[open] summary::after { content: '－'; }
.cv-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 10px 10px; }
.cv-tiles div { padding: 8px 10px; border-radius: 10px; background: #ffffff08; }
.cv-tiles b { display: block; font-size: 13px; }
.cv-tiles span { font-size: 12px; color: var(--cv-muted); }
.cv-menu .menu-link { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; padding: 8px 12px; border-radius: 12px; background: #ffffff0a; font-size: 13px; color: var(--cv-muted); }
.cv-menu .menu-link .dot { width: 9px; height: 9px; border-radius: 50%; background: #888; flex: none; }
.cv-menu .menu-link[data-state="verbunden"] .dot { background: var(--cv-lime); box-shadow: 0 0 8px var(--cv-lime); }
.cv-menu .menu-link[data-state="fehler"] .dot { background: var(--cv-coral); }
.cv-menu .menu-link[data-state="gast"] .dot, .cv-menu .menu-link[data-state="lokal"] .dot { background: #f5b942; }
.cv-menu .menu-link a { color: var(--cv-lime); font-weight: 800; }
.cv-menu .menu-link button { padding: 4px 10px; border-radius: 8px; border: 2px solid var(--cv-edge); background: transparent; font-size: 12px; font-weight: 700; }
.demo .cv-menu .menu-link { display: none; }

/* Einstellungen */
.cv-settings { width: min(520px, 100%); }
.cv-settings .cv-top { margin-bottom: 10px; }
.cv-settings h2 { flex: 1; margin: 0; font: 700 22px var(--cv-head); letter-spacing: -.02em; }
.cv-menu .cv-back { padding: 8px 12px; border-radius: 12px; border: 2px solid var(--cv-edge); background: #ffffff08; font: 700 13px var(--cv-head); }
.cv-menu .cv-back:hover { border-color: var(--cv-lime); color: var(--cv-lime); }
.cv-saved { font-size: 12px; font-weight: 700; color: var(--cv-lime); opacity: 0; transition: opacity .2s; }
.cv-saved.show { opacity: 1; }
.cv-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 4px; border-radius: 14px; background: #ffffff0a; border: 1px solid var(--cv-edge); }
.cv-tabs::-webkit-scrollbar { display: none; }
.cv-menu .cv-tabs button { flex: 1 0 auto; padding: 9px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--cv-muted); font: 700 13px var(--cv-head); white-space: nowrap; }
.cv-menu .cv-tabs button.on { background: var(--cv-lime); color: var(--cv-ink); }
.cv-pane { margin-top: 8px; }
.cv-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 2px; border-bottom: 1px solid #ffffff12; }
.cv-row-wide { flex-wrap: wrap; }
.cv-row-wide .cv-seg { width: 100%; }
.cv-label b { display: block; font-size: 15px; }
.cv-label small { display: block; margin-top: 2px; font-size: 12px; color: var(--cv-muted); line-height: 1.35; }
.cv-row .cv-seg { flex: none; }
.cv-row-btn { flex-direction: column; align-items: stretch; gap: 4px; border-bottom: 0; }
.cv-row-btn small { font-size: 12px; color: var(--cv-muted); }
.cv-menu .cv-btn { width: 100%; padding: 12px; border-radius: 12px; border: 2px solid var(--cv-edge); background: #ffffff08; font: 700 14px var(--cv-head); }
.cv-menu .cv-btn:hover { border-color: var(--cv-lime); }
.cv-menu .cv-btn.danger { border-color: #ff5d4766; background: #ff5d4714; color: #ff9a8a; }
.cv-note { margin: 10px 2px; font-size: 13px; color: var(--cv-muted); }
.cv-source-note { padding: 8px 10px; border-radius: 8px; background: #f5b9421a; color: #ffdb94; text-align: left; }
.cv-help { padding: 4px 2px 8px; font-size: 14px; color: #cfd2d4; }
.cv-help h3 { margin: 12px 0 6px; font: 700 15px var(--cv-head); color: var(--cv-lime); }
.cv-help p { margin: 0 0 8px; }
.cv-help dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; }
.cv-help dt { font-weight: 800; color: var(--cv-lime); }
.cv-help dd { margin: 0; }
/* Schalter */
.cv-switch { position: relative; flex: none; width: 52px; height: 30px; cursor: pointer; }
.cv-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cv-switch i { position: absolute; inset: 0; border-radius: 999px; background: #ffffff1c; border: 2px solid var(--cv-edge); transition: background .15s; pointer-events: none; }
.cv-switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--cv-paper); transition: transform .15s; }
.cv-switch input:checked + i { background: var(--cv-lime); border-color: var(--cv-lime); }
.cv-switch input:checked + i::after { transform: translateX(22px); background: var(--cv-ink); }
.cv-switch input:focus-visible + i { outline: 2px solid var(--cv-lime); outline-offset: 2px; }
/* Regler */
.cv-range { display: flex; align-items: center; gap: 10px; flex: none; }
.cv-range input { width: min(150px, 34cqw); accent-color: var(--cv-lime); }
.cv-range output { min-width: 44px; text-align: right; font: 700 13px var(--cv-head); color: var(--cv-lime); }

/* TikTok-Ränder (für alle Spiele gleich) */
#safezones { position: fixed; inset: 0; pointer-events: none; z-index: 25; }
#safezones .sz { position: absolute; display: grid; place-items: center; color: rgba(255,255,255,.75); font: 800 11px system-ui; background: repeating-linear-gradient(45deg, rgba(255,0,80,.18) 0 10px, rgba(255,0,80,.08) 10px 20px); border: 1px dashed rgba(255,80,120,.7); }
#safezones .top { top: 0; left: 0; right: 0; height: 12cqh; }
#safezones .bottom { bottom: 0; left: 0; right: 0; height: 26cqh; }
#safezones .right { right: 0; top: 52cqh; width: 13cqw; height: 22cqh; writing-mode: vertical-rl; }

@container cv-game (max-width: 380px) {
  .cv-menu { padding: 14px 12px; }
  .cv-grid button { min-height: 52px; font-size: 14px; }
  .cv-row { gap: 10px; }
}
@container cv-game (max-height: 640px) and (min-aspect-ratio: 1/1) {
  .cv-title h1 { font-size: 40px; }
  .cv-title { margin-bottom: 10px; }
}

/* Facecam-Platz (Einstellungen → Stream). Der Rahmen hilft beim Ausrichten der Kamera in OBS. */
#cv-facecam { position: fixed; left: 0; right: 0; z-index: 4; pointer-events: none; display: grid; place-items: center;
  border: 3px dashed rgba(209,255,105,.75); border-radius: 0 0 18px 18px; background: rgba(11,12,14,.35); }
html[data-facecam="unten"] #cv-facecam { border-radius: 18px 18px 0 0; }
#cv-facecam[hidden] { display: none; }
#cv-facecam span { padding: 5px 12px; border-radius: 999px; background: rgba(11,12,14,.75); color: #d1ff69; font: 700 13px 'Space Grotesk', system-ui, sans-serif; letter-spacing: .12em; }

/* Gratis-Zeit: Restzeit-Anzeige und Vollversions-Hinweis (vollversion.js) */
.cv-free-pill { position: fixed; left: 50%; top: calc(var(--cv-cam-top, 0px) + max(10px, env(safe-area-inset-top)) + 46px); transform: translateX(-50%); z-index: 26; padding: 6px 14px; border-radius: 999px; border: 2px solid #ffd166; background: rgba(11,12,14,.85); color: #ffd166; font: 700 13px 'Space Grotesk', system-ui, sans-serif; white-space: nowrap; pointer-events: auto; }
.cv-free-pill.is-low { border-color: #ff5d47; color: #ff9a8a; animation: cv-blink 1s ease-in-out infinite; }
.cv-free-pill.is-out { border-color: #ff5d47; color: #fff; background: rgba(255,93,71,.88); }
.cv-free-pill a { color: #fff; }
.cv-free-pill[hidden] { display: none; }
@keyframes cv-blink { 50% { opacity: .6; } }
.cv-upsell { position: fixed; inset: 0; z-index: 60; display: flex; padding: 16px; overflow-y: auto; background: rgba(11,12,14,.78); backdrop-filter: blur(4px); }
.cv-upsell[hidden] { display: none; }
.cv-upsell-card { margin: auto; width: min(420px, 100%); padding: 22px 20px; border: 2px solid #d1ff69; border-radius: 22px; background: #121417; box-shadow: 10px 10px 0 rgba(209,255,105,.25); color: #f4f4ef; font: 15px/1.45 system-ui, sans-serif; text-align: center; animation: cv-pop .25s ease-out; }
@keyframes cv-pop { from { transform: scale(.94); opacity: 0; } }
.cv-upsell-card h2 { margin: 12px 0 8px; font: 700 26px/1.1 'Space Grotesk', system-ui, sans-serif; letter-spacing: -.02em; }
.cv-upsell-lead { margin: 0 0 14px; color: #cfd2d4; }
.cv-upsell-card ul { list-style: none; margin: 0 0 16px; padding: 12px 14px; display: grid; gap: 6px; text-align: left; border-radius: 14px; background: #ffffff08; border: 1px solid #ffffff1f; }
.cv-upsell-buy { display: block; padding: 14px; border-radius: 14px; border: 2px solid #0b0c0e; background: #d1ff69; color: #0b0c0e; font: 700 18px 'Space Grotesk', system-ui, sans-serif; text-decoration: none; box-shadow: 5px 5px 0 #ffffff40; }
.cv-upsell-buy:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 #ffffff40; }
.cv-upsell-day { display: block; margin: 12px 0 4px; color: #d1ff69; font-weight: 700; font-size: 14px; }
.cv-upsell-close { margin-top: 8px; padding: 10px; width: 100%; border: 0; background: transparent; color: #a3a7ab; font: 600 13px system-ui; cursor: pointer; text-decoration: underline; }

/* Einheitliche Fortschrittskarte (progress) – in allen Spielen gleich aufgebaut */
.cv-progress { display: grid; gap: 6px; }
.cv-progress-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.cv-progress-head span { color: var(--cv-lime); font: 700 13px var(--cv-head); text-transform: uppercase; letter-spacing: .06em; }
.cv-progress-head b { color: var(--cv-paper); font: 700 13px var(--cv-head); white-space: nowrap; }
.cv-progress-head b b { color: inherit; }
.cv-progress-bar { height: 8px; border-radius: 99px; background: #ffffff14; overflow: hidden; }
.cv-progress-bar i { display: block; width: 0; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #ffd166, var(--cv-lime)); transition: width .4s; }
.cv-progress-note { font-size: 12px; color: var(--cv-muted); }
.cv-progress-note:empty { display: none; }
.cv-progress-row { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.cv-progress-row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv-progress-head b, .cv-progress-head b * { text-transform: none; letter-spacing: 0; color: var(--cv-paper); }

/* Plattform-Schalter (TikTok / YouTube) über „Spielen“ */
.cv-menu .cv-platform { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 8px; }
.cv-menu .cv-platform button { display: grid; gap: 2px; padding: 8px 10px; border-radius: 12px; border: 2px solid var(--cv-edge); background: #ffffff08; color: inherit; font-weight: 800; font-size: 14px; cursor: pointer; }
.cv-menu .cv-platform button small { font-size: 10.5px; font-weight: 600; opacity: .7; }
.cv-menu .cv-platform button.on[data-p="tiktok"] { border-color: #25f4ee; background: #25f4ee1f; box-shadow: inset 0 -3px 0 #fe2c55; }
.cv-menu .cv-platform button.on[data-p="youtube"] { border-color: #ff3b30; background: #ff3b301f; }

/* Pause: Menü oder Einstellungen während einer Runde – „▶ Weiter“ statt „▶ Spielen“, Neustart nur über „↻ Neue Runde“. */
.cv-pause { display: none; gap: 8px; }
html[data-cv-paused] .cv-pause { display: grid; }
html[data-cv-paused] .cv-menu .cv-play[data-act="play"], html[data-cv-paused] .cv-platform { display: none; }
.cv-pause-kicker { justify-self: center; padding: 3px 12px; border-radius: 999px; background: var(--cv-coral); color: #fff; font: 700 12px var(--cv-head); letter-spacing: .14em; }
.cv-pause-kicker small { letter-spacing: 0; font-weight: 600; }
.cv-menu .cv-resume { font-size: 26px; padding: 18px 16px; animation: cv-resume-pulse 1.6s ease-in-out infinite; }
@keyframes cv-resume-pulse { 50% { box-shadow: 5px 5px 0 #ffffff40, 0 0 0 6px #d1ff6933; } }
.cv-menu .cv-restart { display: block; width: 100%; padding: 9px 14px; border: 2px solid var(--cv-edge); border-radius: 14px; background: #ffffff07; font: 700 16px var(--cv-head); text-align: center; }
.cv-menu .cv-restart small { display: block; font: 500 11px system-ui; color: var(--cv-muted); }
.cv-menu .cv-restart:hover { border-color: var(--cv-coral); color: #ffb3a8; }
.cv-pause-note { margin: 0; padding: 7px 10px; border-radius: 10px; background: #ffd16618; color: #ffe08a; font-size: 12px; text-align: center; }
.cv-pause-note[hidden] { display: none; }
.cv-menu .cv-resume-mini { display: none; margin-left: auto; padding: 8px 14px; border: 2px solid var(--cv-ink); border-radius: 12px; background: var(--cv-lime); color: var(--cv-ink); font: 700 14px var(--cv-head); }
html[data-cv-paused] .cv-menu .cv-resume-mini { display: block; }
.cv-menu .cv-resume-mini { white-space: nowrap; flex: none; }
html[data-cv-paused] .cv-settings .cv-top { position: relative; }
html[data-cv-paused] .cv-settings .cv-back { white-space: nowrap; flex: none; }
html[data-cv-paused] .cv-settings h2 { min-width: 0; font-size: clamp(17px, 5.5cqw, 22px); }
html[data-cv-paused] .cv-settings .cv-saved { position: absolute; right: 0; top: calc(100% - 2px); white-space: nowrap; pointer-events: none; }
/* Hinweis zum Maus-Fangen (Spiele mit Ich-Perspektive, _sdk/maus.js) */
.cv-maus-hint{position:fixed;left:50%;bottom:calc(env(safe-area-inset-bottom,0px) + 64px);transform:translateX(-50%);z-index:40;padding:7px 14px;border-radius:999px;background:rgba(12,14,20,.78);color:#fff;font:800 13px/1.2 var(--cv-head,system-ui);pointer-events:none;box-shadow:0 6px 20px rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.18);white-space:nowrap;animation:cv-maus-in .25s ease-out}
.cv-maus-hint[hidden]{display:none}
@keyframes cv-maus-in{from{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%,0)}}
html.cv-maus-frei #game{cursor:pointer}

/* ===== Politur 24.11.2026: eigene Akzentfarbe je Spiel (--cv-game aus menu.js), ruhiger Hintergrund,
   sanftes Einblenden, glänzender „Spielen“-Knopf. Rückweg: Sicherungen/menu-vor-politur-2026-11-24 ===== */
.cv-screen { background: radial-gradient(900px 520px at 50% -8%, color-mix(in srgb, var(--cv-game, #d1ff69) 24%, transparent), transparent 70%), radial-gradient(130% 100% at 50% 40%, rgba(11,12,14,.6), rgba(11,12,14,.93)); backdrop-filter: blur(9px) saturate(.75); -webkit-backdrop-filter: blur(9px) saturate(.75); }
.cv-menu { position: relative; border-color: var(--cv-game, var(--cv-lime)); background: linear-gradient(180deg, color-mix(in srgb, var(--cv-game, #d1ff69) 10%, #15171b) 0, rgba(16,18,21,.97) 240px);
  box-shadow: 10px 10px 0 color-mix(in srgb, var(--cv-game, #d1ff69) 32%, transparent), 0 26px 80px rgba(0,0,0,.6), inset 0 1px 0 #ffffff17; }
/* Titel: zweite Hälfte in Spielfarbe mit leichtem Glühen */
.cv-title h1 { font-size: clamp(44px, 13cqw, 66px); }
.cv-title h1 span { color: var(--cv-game, var(--cv-lime)); text-shadow: 4px 4px 0 #000, 0 0 30px color-mix(in srgb, var(--cv-game, #d1ff69) 50%, transparent); }
.cv-title p { color: #d6d9dc; font-size: 14.5px; line-height: 1.5; text-wrap: pretty; }
/* „Spielen“: Glanz läuft alle paar Sekunden darüber, beim Darüberfahren hebt er sich leicht */
.cv-menu .cv-play { position: relative; overflow: hidden; }
.cv-menu .cv-play::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.6) 50%, transparent 62%); transform: translateX(-130%); animation: cv-shine 4.2s ease-in-out 1.2s infinite; pointer-events: none; }
@keyframes cv-shine { 0%, 70% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
.cv-menu .cv-play:hover { transform: translate(-1px, -1px); box-shadow: 7px 7px 0 #ffffff47; }
/* Nebenknöpfe ruhiger, damit „Spielen“ klar die Hauptsache ist */
.cv-menu .cv-window { border-color: #d1ff6970; background: #d1ff690d; font-size: 15px; }
.cv-menu .cv-mobile { border-color: #7ad7ff40; background: #7ad7ff0b; }
.cv-menu .cv-mobile summary { font-size: 14.5px; }
/* Kacheln mit Symbol-Kästchen */
.cv-grid .cv-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: color-mix(in srgb, var(--cv-game, #d1ff69) 14%, #ffffff08); font-size: 20px; }
.cv-grid button:hover { border-color: var(--cv-game, var(--cv-lime)); background: color-mix(in srgb, var(--cv-game, #d1ff69) 8%, transparent); }
/* Fortschrittskarte */
.cv-stats { background: linear-gradient(180deg, #ffffff0b, #ffffff04); }
.cv-progress-head span { color: var(--cv-game, var(--cv-lime)); }
.cv-progress-bar i { background: linear-gradient(90deg, var(--cv-game, #ffd166), var(--cv-lime)); }
.cv-how summary::after { color: var(--cv-game, var(--cv-lime)); }
.cv-help h3 { color: var(--cv-game, var(--cv-lime)); }
/* Einblenden: Karte steigt auf, Inhalte folgen leicht versetzt */
@keyframes cv-rise { from { opacity: 0; transform: translateY(14px) scale(.985); } }
@keyframes cv-fade-up { from { opacity: 0; transform: translateY(8px); } }
.cv-screen:not([hidden]) > .cv-menu { animation: cv-rise .4s cubic-bezier(.2, .9, .3, 1) both; }
.cv-screen:not([hidden]) > .cv-menu:not(.cv-settings) > *, .cv-screen:not([hidden]) > .cv-menu:not(.cv-settings) .cv-actions > * { animation: cv-fade-up .45s cubic-bezier(.2, .9, .3, 1) both; }
.cv-menu > :nth-child(2) { animation-delay: .05s !important; } .cv-menu > :nth-child(3) { animation-delay: .1s !important; } .cv-menu > :nth-child(n+4) { animation-delay: .2s !important; }
.cv-actions > :nth-child(2) { animation-delay: .12s !important; } .cv-actions > :nth-child(3) { animation-delay: .15s !important; } .cv-actions > :nth-child(4) { animation-delay: .18s !important; } .cv-actions > :nth-child(n+5) { animation-delay: .21s !important; }
@media (prefers-reduced-motion: reduce) { .cv-screen > .cv-menu, .cv-screen > .cv-menu > *, .cv-actions > *, .cv-menu .cv-play::after { animation: none !important; } }
.cv-menu .cv-platform button.on { color: #fff; }
.cv-menu .cv-platform button.on small { opacity: .85; }
@container cv-game (max-width: 420px) { .cv-grid .cv-ic { width: 32px; height: 32px; border-radius: 9px; font-size: 17px; } .cv-grid button { gap: 8px; padding: 8px 9px; } }
/* schmal (Handy hoch): Auswahl-Leisten unter den Erklärtext statt daneben – vorher bis zu 8 Zeilen gequetschter Text */
@container cv-game (max-width: 480px) { .cv-row:has(> .cv-seg) { flex-wrap: wrap; gap: 8px; } .cv-row:has(> .cv-seg) > .cv-seg { width: 100%; } }
/* breit (PC, 16:9-Stream): zwei Spalten – links Titel, Fortschritt, Erklärung; rechts alle Knöpfe. Vorher ein schmaler hoher Streifen mit viel leerem Rand. */
@container cv-game (min-width: 860px) and (min-aspect-ratio: 5/4) {
  .cv-screen > .cv-menu:not(.cv-settings) { width: min(920px, 100%); margin: auto; padding: 18px 24px 22px; display: grid; grid-template-columns: 1fr 1.05fr; column-gap: 28px; align-items: start;
    grid-template-areas: "top top" "title actions" "stats actions" "how actions" "note actions" "link actions"; grid-template-rows: auto auto auto auto auto 1fr; }
  .cv-menu:not(.cv-settings) > .cv-top { grid-area: top; }
  .cv-menu:not(.cv-settings) > .cv-title { grid-area: title; text-align: left; margin: 10px 0 4px; }
  .cv-menu:not(.cv-settings) > .cv-title h1 { font-size: clamp(56px, 6.4cqw, 86px); margin-top: 14px; }
  .cv-menu:not(.cv-settings) > .cv-title p { font-size: 15.5px; }
  .cv-menu:not(.cv-settings) > .cv-actions { grid-area: actions; margin-top: 10px; }
  .cv-menu:not(.cv-settings) > .cv-stats { grid-area: stats; }
  .cv-menu:not(.cv-settings) > .cv-how { grid-area: how; }
  .cv-menu:not(.cv-settings) > .cv-source-note { grid-area: note; }
  .cv-menu:not(.cv-settings) > .menu-link { grid-area: link; align-self: end; }
}
/* Anmelde-Zeile: Punkt und Text bleiben zusammen, Link rutscht sauber darunter */
.cv-menu .menu-link { text-align: center; line-height: 1.35; }
.cv-menu .menu-link #link-text { flex: 0 1 auto; min-width: 0; }
/* Tastatur-Fokus sichtbar (Tab-Taste), in Spielfarbe */
.cv-menu button:focus-visible, .cv-menu a:focus-visible, .cv-menu summary:focus-visible { outline: 3px solid var(--cv-game, var(--cv-lime)); outline-offset: 2px; }

/* Fix 24.11.2026: Karte nie auf Fensterhöhe strecken. passeMenuAn() setzt beim Verkleinern margin-bottom
   fest – ohne den auto-Rand streckte der Flex-Container die Karte (leere untere Hälfte im Spielfenster),
   und die gestreckte Karte galt dann dauerhaft als zu hoch. Jetzt: senkrecht mittig, solange sie passt. */
.cv-screen > .cv-menu { margin: 0 auto; align-self: safe center; }
