/* ===== Sami's 33 · Geburtstags-Show ===== */
:root {
  --ink: #1E1B3A;
  --nacht: #1B0F45;
  --nacht2: #2A1663;
  --creme: #FFF8EC;
  --gelb: #FFD23F;
  --pink: #FF5D8F;
  --mint: #2EC4B6;
  --blau: #4CC9F0;
  --orange: #FF9F1C;
  --lila: #7B5CFF;
  --gruen: #8AE05B;
  --rot: #FF4D4D;
  --gold: #FFC93C;
  --rand: 3px solid var(--ink);
  --schatten: 4px 4px 0 var(--ink);
  --titel: 'Lilita One', Impact, sans-serif;
  --text: 'Fredoka', system-ui, sans-serif;
  --unten: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh;
  font-family: var(--text); font-size: 16px; line-height: 1.4;
  color: var(--creme);
  background: var(--nacht) radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 0) 0 0 / 22px 22px;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }

/* ---------- Hintergrund-Blobs ---------- */
.hintergrund { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hintergrund i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(70px); opacity: .38; animation: schweben 22s ease-in-out infinite alternate; }
.hintergrund i:nth-child(1) { background: var(--pink); top: -25vmax; left: -20vmax; }
.hintergrund i:nth-child(2) { background: var(--lila); bottom: -30vmax; right: -25vmax; animation-delay: -7s; }
.hintergrund i:nth-child(3) { background: var(--mint); top: 35%; left: 45%; width: 35vmax; height: 35vmax; opacity: .22; animation-delay: -13s; }
@keyframes schweben { to { transform: translate(6vmax, 4vmax) scale(1.12); } }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  max-width: 560px; margin: 0 auto; padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px;
  background: linear-gradient(var(--nacht) 60%, transparent);
}
.marke { display: flex; align-items: center; gap: 6px; font-family: var(--titel); }
.marke-name { font-size: 22px; letter-spacing: .5px; }
.marke-zahl { background: var(--gelb); color: var(--ink); border: var(--rand); border-radius: 12px; padding: 0 8px; font-size: 22px; box-shadow: 3px 3px 0 var(--pink); transform: rotate(-6deg); }
.kopf-rechts { display: flex; align-items: center; gap: 8px; min-width: 0; }
.netz { width: 10px; height: 10px; border-radius: 50%; background: var(--rot); box-shadow: 0 0 0 3px rgba(255, 77, 77, .25); flex: none; }
.netz.an { background: var(--gruen); box-shadow: 0 0 0 3px rgba(138, 224, 91, .25); }
.ton-knopf { background: none; border: 0; font-size: 20px; padding: 4px; cursor: pointer; }
.rollen-chip {
  max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  background: var(--f, var(--creme)); color: var(--ink); border: var(--rand); border-radius: 99px;
  padding: 4px 12px; font-weight: 700; font-size: 14px; box-shadow: 2px 2px 0 var(--ink); cursor: pointer;
}
.rollen-chip.gold { --f: var(--gold); }
.rollen-chip.pink { --f: var(--pink); }

/* ---------- Seiten ---------- */
#inhalt { max-width: 560px; margin: 0 auto; padding: 0 16px calc(112px + var(--unten)); }
body.mit-steuer #inhalt { padding-bottom: calc(190px + var(--unten)); }
.laden { text-align: center; padding: 30vh 0; font-size: 20px; opacity: .8; }
.seite { display: flex; flex-direction: column; gap: 16px; padding-top: 6px; animation: rein .35s ease both; }
@keyframes rein { from { opacity: 0; transform: translateY(10px); } }

.seitenkopf { padding: 4px 2px 2px; }
.vorzeile { font-weight: 700; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gelb); }
.seitenkopf h1 { font-family: var(--titel); font-size: clamp(32px, 9vw, 42px); line-height: 1.05; margin: 4px 0 6px; text-shadow: 3px 3px 0 var(--pink); }
.unter { color: rgba(255, 248, 236, .78); }
.wackel { display: inline-block; animation: wackeln 2.6s ease-in-out infinite; transform-origin: 50% 80%; text-shadow: none; }
@keyframes wackeln { 0%, 70%, 100% { transform: rotate(0); } 78% { transform: rotate(-14deg); } 86% { transform: rotate(12deg); } 93% { transform: rotate(-6deg); } }
.zwischentitel { font-family: var(--titel); font-size: 22px; margin: 6px 0 10px; }
.hinweis { text-align: center; font-size: 14px; color: rgba(255, 248, 236, .65); }
.klein-text { font-size: 13px; opacity: .75; }
.leise { opacity: .7; text-align: center; font-size: 14px; }

/* ---------- Karten & Knöpfe ---------- */
.karte { background: var(--creme); color: var(--ink); border: var(--rand); border-radius: 22px; box-shadow: 5px 5px 0 var(--ink); padding: 16px; }
.karte h3 { font-family: var(--titel); font-size: 22px; margin-bottom: 6px; }

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--k, var(--creme)); color: var(--ink); text-decoration: none;
  border: var(--rand); border-radius: 16px; box-shadow: var(--schatten);
  padding: 12px 18px; font-weight: 700; font-size: 16px; cursor: pointer; user-select: none;
  transition: transform .08s, box-shadow .08s;
}
.knopf:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.knopf:disabled { opacity: .5; }
.knopf.pink { --k: var(--pink); color: #fff; }
.knopf.gelb { --k: var(--gelb); }
.knopf.mint { --k: var(--mint); }
.knopf.blau { --k: var(--blau); }
.knopf.lila { --k: var(--lila); color: #fff; }
.knopf.gruen { --k: var(--gruen); }
.knopf.rot { --k: var(--rot); color: #fff; }
.knopf.gold { --k: var(--gold); }
.knopf.hell { --k: var(--creme); }
.knopf-gross { width: 100%; font-size: 20px; padding: 16px; font-family: var(--titel); font-weight: 400; letter-spacing: .3px; }
.knopf.klein { padding: 8px 12px; font-size: 14px; border-radius: 12px; box-shadow: 3px 3px 0 var(--ink); }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }

.pille { display: inline-flex; align-items: center; gap: 4px; background: var(--creme); color: var(--ink); border: var(--rand); border-radius: 99px; padding: 3px 10px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.pille.uhr { font-variant-numeric: tabular-nums; background: var(--gelb); }
.pille.uhr.knapp { background: var(--rot); color: #fff; animation: puls .5s ease-in-out infinite alternate; }
.pille.uhr.vorbei { animation: none; }
.pille.menue { cursor: pointer; padding: 3px 9px; }

.tchip {
  display: inline-flex; align-items: center; gap: 4px; max-width: 100%;
  background: color-mix(in srgb, var(--f) 30%, #fff); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 99px; padding: 2px 10px; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tchip.ki { background: #E4DCFF; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

/* ---------- Tableiste ---------- */
.tabs {
  position: fixed; z-index: 30; left: 50%; bottom: calc(12px + var(--unten)); transform: translateX(-50%);
  width: min(528px, calc(100% - 24px));
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--creme); border: var(--rand); border-radius: 26px; box-shadow: 0 6px 0 var(--ink), 0 14px 30px rgba(0, 0, 0, .35);
  padding: 6px;
}
.tabs button { background: none; border: 0; color: var(--ink); display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 0 2px; font-size: 12px; font-weight: 600; cursor: pointer; }
.tab-icon { width: 46px; height: 34px; display: grid; place-items: center; border-radius: 14px; border: 2.5px solid transparent; transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), background .2s; }
.tab-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tabs button.an { font-weight: 700; }
.tabs button.an .tab-icon { background: var(--f); border-color: var(--ink); transform: translateY(-3px) rotate(-4deg); box-shadow: 2px 2px 0 var(--ink); }

/* ---------- Live-Pille ---------- */
.live-pille {
  position: fixed; z-index: 29; left: 50%; transform: translateX(-50%); bottom: calc(100px + var(--unten));
  background: var(--rot); color: #fff; border: var(--rand); border-radius: 99px; padding: 8px 16px; font-weight: 700; box-shadow: var(--schatten);
  display: flex; align-items: center; gap: 8px; cursor: pointer; white-space: nowrap; animation: huepf 1.6s ease-in-out infinite;
}
.live-pille i { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: puls .6s ease-in-out infinite alternate; }
@keyframes huepf { 50% { transform: translateX(-50%) translateY(-4px); } }
@keyframes puls { to { opacity: .45; } }

/* ---------- Foto ---------- */
.foto-buehne { border-radius: 18px; overflow: hidden; border: var(--rand); box-shadow: 6px 6px 0 var(--ink); background: var(--nacht2); transform: rotate(-.6deg); }
.foto-buehne img { display: block; width: 100%; height: auto; max-height: 62vh; object-fit: contain; background: var(--nacht2); }
.foto-buehne.blitz { animation: blitz .5s ease-out; }
@keyframes blitz { 0% { filter: brightness(2.2); transform: rotate(-.6deg) scale(.97); } 100% { filter: none; } }
.rahmen-wahl { display: flex; gap: 8px; justify-content: center; }
.chip-wahl { display: flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .1); border: 2px solid rgba(255, 255, 255, .25); border-radius: 99px; padding: 6px 12px; font-weight: 600; cursor: pointer; }
.chip-wahl i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--ink); }
.chip-wahl.an { background: var(--creme); color: var(--ink); border-color: var(--ink); box-shadow: 2px 2px 0 var(--pink); }
.foto-knoepfe, .foto-aktionen { display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; }
.foto-aktionen { grid-template-columns: 1fr 1fr; }
.foto-knoepfe .knopf-gross { font-size: 19px; }
.foto-streifen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.foto-mini img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; border: 2px solid var(--creme); display: block; }

/* ---------- Ablauf ---------- */
.countdown { text-align: center; background: var(--gelb); transform: rotate(-.8deg); }
.countdown p { font-weight: 700; margin-bottom: 8px; }
.cd-reihe { display: flex; justify-content: center; gap: 10px; }
.cd-box { background: var(--ink); color: var(--creme); border-radius: 14px; min-width: 76px; padding: 8px 10px 6px; display: flex; flex-direction: column; }
.cd-box b { font-family: var(--titel); font-size: 36px; font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-box span { font-size: 12px; opacity: .8; }
.countdown.heute { display: flex; flex-direction: column; gap: 2px; }
.countdown.heute b { font-family: var(--titel); font-weight: 400; font-size: 26px; }

.abschnitt-titel { display: flex; align-items: center; gap: 8px; font-family: var(--titel); font-size: 22px; margin: 4px 0 10px; color: var(--f); }
.abschnitt-titel span { font-size: 22px; }
.zeitstrahl { list-style: none; margin: 0; padding: 0 0 0 4px; position: relative; display: flex; flex-direction: column; gap: 12px; }
.zeitstrahl::before { content: ''; position: absolute; left: 30px; top: 8px; bottom: 8px; width: 4px; border-radius: 4px; background: repeating-linear-gradient(var(--f) 0 10px, transparent 10px 18px); opacity: .7; }
.punkt { display: grid; grid-template-columns: 56px 1fr; gap: 10px; align-items: start; position: relative; }
.zeit { justify-self: center; z-index: 1; background: var(--f); color: var(--ink); border: var(--rand); border-radius: 12px; padding: 3px 6px; font-weight: 700; font-size: 14px; min-width: 56px; text-align: center; margin-top: 10px; }
.punkt-karte { display: flex; gap: 12px; align-items: flex-start; background: rgba(255, 255, 255, .08); border: 2px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: 12px 14px; }
.punkt-icon { font-size: 26px; line-height: 1.1; }
.punkt-karte h3 { font-weight: 700; font-size: 17px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.punkt-karte p { font-size: 14px; color: rgba(255, 248, 236, .75); margin-top: 2px; }
.punkt.vorbei { opacity: .5; }
.punkt.jetzt .punkt-karte { background: var(--creme); color: var(--ink); border: var(--rand); box-shadow: 4px 4px 0 var(--f); }
.punkt.jetzt .punkt-karte p { color: rgba(30, 27, 58, .75); }
.jetzt-chip { font-style: normal; background: var(--rot); color: #fff; border-radius: 99px; padding: 1px 8px; font-size: 11px; letter-spacing: 1px; animation: puls .7s ease-in-out infinite alternate; }

/* ---------- Spiele-Liste ---------- */
.anmelden { display: flex; flex-direction: column; gap: 12px; background: var(--gelb); }
.wir { font-weight: 600; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.spielkarten { display: flex; flex-direction: column; gap: 16px; }
.spielkarte {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; text-align: left;
  position: relative; background: var(--creme); color: var(--ink); border: var(--rand); border-radius: 24px; box-shadow: 6px 6px 0 var(--ink);
  padding: 16px 16px 16px 14px; cursor: pointer; transform: rotate(var(--dreh)); transition: transform .15s;
  overflow: hidden;
}
.spielkarte::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 92px; background: var(--f); border-right: var(--rand); }
.spielkarte:active { transform: rotate(0) scale(.98); }
.sk-nr { position: absolute; left: 8px; top: 4px; font-family: var(--titel); font-size: 18px; color: var(--ink); opacity: .55; z-index: 1; }
.sk-emoji { position: relative; z-index: 1; width: 62px; height: 62px; display: grid; place-items: center; font-size: 38px; background: var(--creme); border: var(--rand); border-radius: 50%; box-shadow: 3px 3px 0 var(--ink); }
.spielkarte.ist-live .sk-emoji { animation: wackeln 1.4s ease-in-out infinite; }
.sk-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding-left: 10px; }
.sk-text b { font-family: var(--titel); font-weight: 400; font-size: 21px; line-height: 1.1; }
.sk-text small { font-size: 14px; color: rgba(30, 27, 58, .72); }
.sk-zeile { display: flex; gap: 8px; align-items: center; margin-top: 4px; flex-wrap: wrap; }
.status { font-size: 12px; font-weight: 700; border-radius: 99px; padding: 2px 9px; border: 2px solid var(--ink); }
.status.live { background: var(--rot); color: #fff; animation: puls .7s ease-in-out infinite alternate; }
.status.bald { background: #fff; }
.status.fertig { background: var(--gruen); }
.status.pause { background: var(--gelb); }
.runde { font-size: 13px; font-weight: 600; opacity: .65; }
.sk-pfeil { font-size: 34px; font-weight: 700; line-height: 1; opacity: .5; }
.spielkarte.ist-live { box-shadow: 6px 6px 0 var(--ink), 0 0 0 4px var(--f), 0 0 36px var(--f); }

.werkzeug { background: #EDE6FF; }
.werkzeug p { font-size: 15px; }

/* ---------- Spiel-Ansicht ---------- */
.spiel-kopf { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; }
.zurueck { width: 44px; height: 44px; border-radius: 14px; background: var(--creme); color: var(--ink); border: var(--rand); box-shadow: 3px 3px 0 var(--ink); font-size: 26px; font-weight: 700; line-height: 1; cursor: pointer; }
.sk-titel { min-width: 0; }
.sk-oben { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sk-titel h2 { font-family: var(--titel); font-size: 23px; line-height: 1.1; text-shadow: 2px 2px 0 var(--f); margin-top: 2px; }
.sk-oben .pille { padding: 1px 9px; font-size: 13px; }
.sk-titel .vorzeile { color: var(--f); }
.pillen { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.spiel-koerper { display: flex; flex-direction: column; gap: 16px; }
.warte-hinweis { text-align: center; font-size: 14px; color: rgba(255, 248, 236, .6); }
.warte-hinweis:empty { display: none; }
.warte-hinweis .knopf { margin-top: 4px; }

.regeln { position: relative; padding-top: 22px; }
.regel-emoji { position: absolute; right: 14px; top: -26px; font-size: 52px; transform: rotate(10deg); filter: drop-shadow(3px 3px 0 var(--ink)); }
.regeln ol { margin: 6px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.regeln li::marker { font-family: var(--titel); color: var(--pink); }

.steuer {
  position: fixed; z-index: 28; left: 50%; transform: translateX(-50%); bottom: calc(100px + var(--unten));
  width: min(528px, calc(100% - 24px)); display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: center;
}
.rund { width: 52px; height: 52px; border-radius: 50%; background: var(--creme); color: var(--ink); border: var(--rand); box-shadow: var(--schatten); font-size: 24px; font-weight: 700; cursor: pointer; }
.rund.leer { visibility: hidden; }
.weiter-knopf {
  height: 60px; border-radius: 20px; background: var(--gelb); color: var(--ink); border: var(--rand); box-shadow: 0 5px 0 var(--ink), 0 10px 26px rgba(0, 0, 0, .4);
  font-family: var(--titel); font-size: 20px; display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; padding: 0 16px;
}
.weiter-knopf span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--gelb); font-family: var(--text); font-weight: 700; animation: schubs 1.2s ease-in-out infinite; }
.weiter-knopf:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.weiter-knopf:disabled { opacity: .6; }
@keyframes schubs { 50% { transform: translateX(4px); } }

/* Meme */
.situation { font-weight: 600; font-size: 17px; text-align: center; padding: 0 6px; }
.meme { container-type: inline-size; position: relative; border: var(--rand); border-radius: 20px; overflow: hidden; box-shadow: 6px 6px 0 var(--ink); background: var(--nacht2); }
.meme img { display: block; width: 100%; height: auto; user-select: none; }
.blase { position: absolute; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.blase-text { display: block; width: 100%; font-family: 'Comic Neue', 'Comic Sans MS', var(--text); font-weight: 700; color: var(--ink); line-height: 1.12; font-size: 7cqw; overflow-wrap: anywhere; }
.blase-text.leer { color: rgba(30, 27, 58, .38); font-style: italic; }
.dia .meme { animation: dia .45s cubic-bezier(.2, 1.3, .4, 1) both; }
@keyframes dia { from { opacity: 0; transform: translateX(40px) rotate(2deg); } }
.schreibfeld { padding: 12px; }
.schreibfeld textarea, .eingabe {
  width: 100%; border: var(--rand); border-radius: 14px; padding: 12px; font: 600 17px var(--text); color: var(--ink); background: #fff; resize: none; outline: none;
}
.schreibfeld textarea:focus, .eingabe:focus { box-shadow: 0 0 0 4px rgba(255, 93, 143, .35); }
.zeile { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.zaehler { font-size: 13px; opacity: .6; font-variant-numeric: tabular-nums; }
.ok-zeile { text-align: center; font-weight: 700; color: var(--gruen); }
.fortschritt { display: flex; flex-direction: column; gap: 6px; }
.fortschritt b { font-family: var(--titel); font-weight: 400; font-size: 22px; }
.fortschritt .knopf { align-self: flex-start; margin-top: 6px; }
.zaehlzeile { text-align: center; font-weight: 600; opacity: .85; }
.zaehlzeile b { font-family: var(--titel); font-weight: 400; font-size: 20px; color: var(--gelb); }
.eigene { text-align: center; font-weight: 700; background: var(--gelb); }
.sterne-wahl { text-align: center; display: flex; flex-direction: column; gap: 8px; }
.sterne-wahl p { font-weight: 600; }
.x2 { font-style: normal; background: var(--pink); color: #fff; border-radius: 99px; padding: 1px 8px; font-size: 13px; margin-left: 4px; }
.sterne { display: flex; justify-content: center; gap: 6px; }
.sterne button { width: 56px; height: 56px; border-radius: 16px; border: var(--rand); background: var(--creme); color: rgba(30, 27, 58, .25); font-size: 32px; line-height: 1; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); transition: transform .15s cubic-bezier(.3, 1.8, .5, 1); }
.sterne button.an { background: var(--gelb); color: var(--ink); transform: translateY(-3px) rotate(-6deg); }
.sterne button:active { transform: scale(.9); }

.ergebnis-titel { font-family: var(--titel); font-size: 26px; text-align: center; text-shadow: 2px 2px 0 var(--pink); }
.sieger-liste { display: flex; flex-direction: column; gap: 18px; }
.sieger-meme { display: flex; flex-direction: column; gap: 8px; animation: aufsteigen .6s cubic-bezier(.2, 1.3, .4, 1) both; animation-delay: calc(var(--v) * .5s); }
.sieger-meme.platz-1 .meme { box-shadow: 6px 6px 0 var(--ink), 0 0 0 5px var(--gold), 0 0 40px rgba(255, 201, 60, .6); }
.sieger-meme:not(.platz-1) .meme { width: 86%; align-self: center; }
@keyframes aufsteigen { from { opacity: 0; transform: translateY(30px) scale(.9); } }
.sieger-kopf { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.medaille { font-size: 30px; }
.punkte-chip { background: var(--gelb); color: var(--ink); border: 2px solid var(--ink); border-radius: 99px; padding: 2px 10px; font-weight: 700; font-size: 14px; }
.alle-antworten summary { font-family: var(--titel); font-size: 19px; cursor: pointer; }
.alle-antworten ol { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.alle-antworten li { display: grid; grid-template-columns: 28px 1fr auto; gap: 4px 8px; align-items: center; border-top: 2px dashed rgba(30, 27, 58, .15); padding-top: 10px; }
.alle-antworten .r-text { font-weight: 600; }
.alle-antworten .tchip { grid-column: 2; justify-self: start; }
.alle-antworten .r-score { grid-column: 3; grid-row: 1; font-weight: 700; }
.r-platz { font-family: var(--titel); font-size: 20px; }
.leer-karte { text-align: center; }
.ende-karte { text-align: center; position: relative; padding-top: 26px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.mini-top { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.mini-top li { display: flex; gap: 8px; align-items: center; justify-content: center; }

/* Buzzer */
.frage-karte { text-align: center; }
.frage-nr { display: inline-block; background: var(--ink); color: var(--gelb); border-radius: 99px; padding: 2px 12px; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.frage-karte h3 { font-size: clamp(24px, 7vw, 30px); line-height: 1.15; }
.antwort-box { margin-top: 12px; background: #DFF7E9; border: 2px dashed var(--ink); border-radius: 12px; padding: 8px; }
.antwort-box.fehlt { background: #FFE3E3; }
.buzzer-feld { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 8px 0; }
.buzzer {
  --b: #9A97AE; width: min(64vw, 240px); aspect-ratio: 1; border-radius: 50%; border: 6px solid var(--ink); cursor: pointer;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--b) 55%, #fff), var(--b) 55%, color-mix(in srgb, var(--b) 70%, #000));
  box-shadow: 0 12px 0 var(--ink), 0 18px 30px rgba(0, 0, 0, .45);
  font-family: var(--titel); font-size: clamp(44px, 15vw, 64px); color: #fff; text-shadow: 3px 3px 0 var(--ink);
  touch-action: manipulation; user-select: none; -webkit-user-select: none; transition: transform .06s, box-shadow .06s;
}
.buzzer.countdown .buzzer-text { display: inline-block; animation: zahl 1s ease-out infinite; }
@keyframes zahl { from { transform: scale(1.6); opacity: .3; } 30% { transform: scale(1); opacity: 1; } }
.buzzer.offen { --b: var(--rot); animation: glut .5s ease-in-out infinite alternate; }
@keyframes glut { to { box-shadow: 0 12px 0 var(--ink), 0 0 0 10px rgba(255, 77, 77, .35), 0 0 60px rgba(255, 77, 77, .8); } }
.buzzer.offen:active { transform: translateY(10px); box-shadow: 0 2px 0 var(--ink); }
.buzzer.gedrueckt { --b: var(--mint); transform: translateY(8px); box-shadow: 0 4px 0 var(--ink); }
.buzzer.dran { --b: var(--gelb); animation: dran .4s ease-in-out infinite alternate; }
@keyframes dran { to { transform: scale(1.06); box-shadow: 0 12px 0 var(--ink), 0 0 50px var(--gelb); } }
.buzzer.falsch, .buzzer.fehlstart { --b: #6B6880; }
.buzzer.zu { --b: #6B6880; }
.buzzer-info { font-weight: 700; font-size: 17px; text-align: center; min-height: 1.4em; }

.buzz-liste h4 { font-family: var(--titel); font-size: 18px; margin-bottom: 8px; }
.buzz-liste ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.buzz-liste li { display: grid; grid-template-columns: 26px 1fr auto auto; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 12px; animation: rein .3s ease both; }
.buzz-liste li.ich { background: rgba(76, 201, 240, .18); }
.buzz-liste li.dran { background: var(--gelb); border: 2px solid var(--ink); animation: puls .6s ease-in-out infinite alternate; }
.buzz-liste li.falsch { opacity: .5; }
.buzz-liste li.falsch .tchip { text-decoration: line-through; }
.buzz-liste li.richtig { background: var(--gruen); border: 2px solid var(--ink); }
.r-zeit { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 14px; }
.r-tag { font-weight: 700; font-size: 14px; min-width: 22px; text-align: right; }
.gesperrt { margin-top: 8px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

.ki-karte { background: #E4DCFF; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.ki-karte.dran { animation: aufsteigen .5s cubic-bezier(.2, 1.3, .4, 1) both; box-shadow: 5px 5px 0 var(--ink), 0 0 30px rgba(123, 92, 255, .7); }
.ki-kopf { font-weight: 700; }
.ki-tipp { font-family: var(--titel); font-weight: 400; font-size: 30px; color: var(--lila); }
.ki-karte.daneben { opacity: .8; }

.urteil { display: flex; flex-direction: column; gap: 8px; text-align: center; background: #FFF1C7; }
.urteil-wer { font-size: 20px; font-weight: 700; display: flex; justify-content: center; }
.urteil-wer .tchip { font-size: 18px; padding: 4px 14px; }
.urteil-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.urteil-knoepfe .knopf { font-size: 19px; padding: 14px; }
.urteil .knopfreihe { justify-content: center; }

.aufloesung-karte { text-align: center; display: flex; flex-direction: column; gap: 6px; animation: aufsteigen .5s cubic-bezier(.2, 1.3, .4, 1) both; }
.aufloesung-karte.gewonnen { background: var(--gruen); }
.aufloesung-karte .vorzeile { color: var(--pink); }
.loesung { font-family: var(--titel); font-size: clamp(30px, 9vw, 40px); line-height: 1.1; }
.sieger-zeile { font-size: 18px; display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; }

/* Spiel 3 */
.sami-hinweis { background: var(--pink); color: #fff; text-align: center; }
.optionen { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.option {
  position: relative; min-height: 104px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14px 8px;
  background: var(--o); color: var(--ink); border: var(--rand); border-radius: 20px; box-shadow: 5px 5px 0 var(--ink); cursor: pointer;
  animation: aufsteigen .45s cubic-bezier(.2, 1.3, .4, 1) both; animation-delay: calc(var(--v) * .07s);
  transition: transform .15s cubic-bezier(.3, 1.8, .5, 1);
}
.option:disabled { cursor: default; }
.option:active:not(:disabled) { transform: scale(.95); }
.option.an { transform: translateY(-4px) rotate(-1.5deg); box-shadow: 5px 9px 0 var(--ink), 0 0 0 4px #fff; }
.option.an::after { content: '✓'; position: absolute; top: -12px; right: -10px; width: 32px; height: 32px; display: grid; place-items: center; background: var(--ink); color: #fff; border-radius: 50%; font-weight: 700; border: 2px solid #fff; }
.o-gelb { --o: var(--gelb); } .o-pink { --o: var(--pink); } .o-mint { --o: var(--mint); } .o-blau { --o: var(--blau); }
.o-buchstabe { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--creme); font-family: var(--titel); font-size: 16px; flex: none; }
.o-text { font-family: var(--titel); font-size: clamp(18px, 5.4vw, 23px); line-height: 1.1; text-align: center; overflow-wrap: anywhere; }
.mini-optionen { display: flex; gap: 8px; }
.verteilung { display: flex; flex-direction: column; gap: 10px; }
.balken-zeile { background: var(--creme); color: var(--ink); border: var(--rand); border-radius: 18px; padding: 10px 12px; box-shadow: 4px 4px 0 var(--ink); animation: rein .4s ease both; animation-delay: calc(var(--v) * .08s); transition: opacity .4s, transform .4s; }
.balken-kopf { display: flex; align-items: center; gap: 8px; }
.balken-kopf b { font-family: var(--titel); font-weight: 400; font-size: 19px; flex: 1; min-width: 0; }
.anzahl { font-family: var(--titel); font-size: 22px; }
.balken { height: 14px; background: rgba(30, 27, 58, .1); border-radius: 99px; margin-top: 8px; overflow: hidden; }
.balken i { display: block; height: 100%; background: var(--o); border-right: 2px solid var(--ink); border-radius: 99px; animation: wachsen .9s cubic-bezier(.2, 1, .3, 1) both; }
@keyframes wachsen { from { width: 0 !important; } }
.balken-zeile .chips:empty { display: none; }
.balken-zeile.aus { opacity: .35; filter: grayscale(.7); }
.balken-zeile.richtig { background: var(--o); transform: scale(1.03); box-shadow: 4px 4px 0 var(--ink), 0 0 0 4px #fff, 0 0 40px var(--o); }
.balken-zeile.richtig .balken { background: rgba(255, 255, 255, .5); }
.balken-zeile.richtig .balken i { background: var(--ink); }
.krone { font-style: normal; background: var(--ink); color: var(--gelb); border-radius: 99px; padding: 2px 10px; font-size: 13px; font-weight: 700; white-space: nowrap; animation: aufsteigen .5s cubic-bezier(.2, 1.3, .4, 1) both; }
.spannung { text-align: center; font-family: var(--titel); font-size: 24px; background: var(--gelb); }
.spannung.trommel { animation: zittern .12s linear infinite; }
@keyframes zittern { 25% { transform: translate(2px, -1px) rotate(.6deg); } 75% { transform: translate(-2px, 1px) rotate(-.6deg); } }
.treffer { text-align: center; }
.treffer .chips { justify-content: center; }
.mein-ergebnis { text-align: center; font-family: var(--titel); font-size: 24px; }
.mein-ergebnis.gut { background: var(--gruen); animation: aufsteigen .5s cubic-bezier(.2, 1.3, .4, 1) both; }

/* ---------- Rangliste ---------- */
.podest { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 8px; padding-top: 18px; }
.podest-platz { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; min-width: 0; animation: aufsteigen .6s cubic-bezier(.2, 1.3, .4, 1) both; }
.podest-platz.p1 { animation-delay: .5s; } .podest-platz.p2 { animation-delay: .25s; }
.avatar { position: relative; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; background: var(--f); border: var(--rand); box-shadow: 3px 3px 0 var(--ink); flex: none; }
.avatar.klein { width: 40px; height: 40px; font-size: 20px; box-shadow: 2px 2px 0 var(--ink); }
.p1 .avatar { width: 72px; height: 72px; font-size: 38px; }
.avatar .krone { position: absolute; top: -26px; font-size: 26px; background: none; padding: 0; animation: wackeln 2s ease-in-out infinite; }
.p-name { font-weight: 700; font-size: 14px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-punkte { font-family: var(--titel); font-size: 18px; color: var(--gelb); }
.sockel { width: 100%; border: var(--rand); border-bottom: 0; border-radius: 14px 14px 0 0; display: grid; place-items: center; font-family: var(--titel); font-size: 34px; color: var(--ink); }
.p1 .sockel { height: 110px; background: var(--gold); }
.p2 .sockel { height: 80px; background: #D9DCE8; }
.p3 .sockel { height: 60px; background: #F0A868; }
.rangliste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rangliste li {
  display: grid; grid-template-columns: 30px auto 1fr auto; gap: 10px; align-items: center;
  background: linear-gradient(90deg, color-mix(in srgb, var(--f) 32%, var(--creme)) var(--anteil), var(--creme) var(--anteil));
  color: var(--ink); border: var(--rand); border-radius: 18px; box-shadow: 4px 4px 0 var(--ink); padding: 8px 14px 8px 10px;
  animation: rein .4s ease both; animation-delay: calc(var(--v) * .05s);
}
.rangliste li[data-akt] { cursor: pointer; }
.rangliste li.ich { box-shadow: 4px 4px 0 var(--ink), 0 0 0 3px var(--gelb); }
.rangliste li.ki { border-style: dashed; }
.r-name { display: flex; flex-direction: column; min-width: 0; }
.r-name b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r-name em { font-style: normal; font-weight: 600; font-size: 11px; background: var(--lila); color: #fff; border-radius: 99px; padding: 1px 6px; margin-left: 4px; vertical-align: 2px; }
.r-name small { display: flex; gap: 8px; font-size: 12px; opacity: .65; font-weight: 600; }
.r-punkte { font-family: var(--titel); font-size: 26px; }

/* ---------- Blatt (Dialog) ---------- */
.blatt { position: fixed; inset: 0; z-index: 50; }
.blatt-hinten { position: absolute; inset: 0; background: rgba(15, 8, 40, .6); opacity: 0; transition: opacity .2s; }
.blatt-panel {
  position: absolute; left: 50%; bottom: 0; width: min(560px, 100%); transform: translate(-50%, 100%); transition: transform .28s cubic-bezier(.2, 1.1, .4, 1);
  background: var(--creme); color: var(--ink); border: var(--rand); border-bottom: 0; border-radius: 28px 28px 0 0;
  padding: 22px 18px calc(22px + var(--unten)); display: flex; flex-direction: column; gap: 12px; max-height: 88dvh; overflow: auto;
}
.blatt.auf .blatt-hinten { opacity: 1; }
.blatt.auf .blatt-panel { transform: translate(-50%, 0); }
.blatt-panel h3 { font-family: var(--titel); font-size: 26px; }
.blatt-panel form { display: flex; flex-direction: column; gap: 12px; }
.blatt-x { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; cursor: pointer; font-weight: 700; }
.emoji-wahl { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.emoji-wahl button { aspect-ratio: 1; font-size: 26px; border-radius: 14px; border: 2px solid rgba(30, 27, 58, .2); background: #fff; cursor: pointer; }
.emoji-wahl button.an { border: var(--rand); background: var(--gelb); box-shadow: 2px 2px 0 var(--ink); transform: rotate(-6deg); }
.stepper { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; gap: 10px; }
.stepper .knopf { font-size: 28px; padding: 8px; }
.stepper b { text-align: center; font-family: var(--titel); font-weight: 400; font-size: 52px; }
.liste-knoepfe { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Siegerehrung ---------- */
.finale { position: fixed; inset: 0; z-index: 60; background: radial-gradient(ellipse at 50% 0%, #4A2BA8 0%, var(--nacht) 60%); overflow: auto; }
.finale::before { content: ''; position: fixed; left: 50%; top: -20vh; width: 140vw; height: 120vh; transform: translateX(-50%); background: conic-gradient(from 180deg at 50% 0%, transparent 160deg, rgba(255, 210, 63, .18) 175deg, transparent 190deg); pointer-events: none; animation: scheinwerfer 6s ease-in-out infinite alternate; }
@keyframes scheinwerfer { from { transform: translateX(-50%) rotate(-12deg); } to { transform: translateX(-50%) rotate(12deg); } }
.finale-buehne { position: relative; max-width: 560px; margin: 0 auto; padding: calc(30px + env(safe-area-inset-top, 0px)) 16px 40px; display: flex; flex-direction: column; gap: 14px; text-align: center; }
.finale-buehne h2 { font-family: var(--titel); font-size: clamp(30px, 9vw, 44px); text-shadow: 3px 3px 0 var(--pink); }
.finale-zu { position: absolute; right: 16px; top: calc(16px + env(safe-area-inset-top, 0px)); width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--creme); background: rgba(255, 255, 255, .1); color: var(--creme); font-weight: 700; cursor: pointer; }
.finale-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.f-platz { display: grid; grid-template-columns: 34px auto 1fr auto; gap: 10px; align-items: center; text-align: left; background: var(--creme); color: var(--ink); border: var(--rand); border-radius: 18px; padding: 10px 14px; box-shadow: 4px 4px 0 var(--ink); animation: aufsteigen .6s cubic-bezier(.2, 1.4, .4, 1) both; }
.f-platz:first-child { animation-duration: .9s; }
.f-platz.erster { background: var(--gold); transform: scale(1.06); box-shadow: 4px 4px 0 var(--ink), 0 0 50px rgba(255, 201, 60, .8); }
.f-platz.erster b { font-family: var(--titel); font-weight: 400; font-size: 24px; }

/* ---------- Konfetti & Toast ---------- */
.konfetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 70; }
.toast {
  position: fixed; z-index: 80; left: 50%; bottom: calc(108px + var(--unten)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--creme); border: 2px solid var(--creme); border-radius: 99px; padding: 10px 18px; font-weight: 600; max-width: calc(100% - 32px); text-align: center;
  transition: opacity .2s, transform .2s;
}
.toast.zeigen { opacity: 1; transform: translate(-50%, 0); }
.toast.fehler { background: var(--rot); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Eigene Platzierung ---------- */
.ton-knopf.aus { opacity: .35; filter: grayscale(1); }
.platz-karte { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; }
.platz-zahl { width: 72px; height: 72px; border-radius: 20px; background: var(--f); border: var(--rand); box-shadow: 3px 3px 0 var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(-4deg); }
.platz-zahl.erster { background: var(--gold); }
.platz-zahl small { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; line-height: 1; }
.platz-zahl b { font-family: var(--titel); font-weight: 400; font-size: 38px; line-height: 1; }
.platz-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; align-items: flex-start; }
.platz-info p { font-size: 15px; line-height: 1.3; }
.gegner { font-weight: 700; white-space: nowrap; }
.platz-punkte { text-align: center; display: flex; flex-direction: column; }
.platz-punkte b { font-family: var(--titel); font-weight: 400; font-size: 30px; line-height: 1; }
.platz-punkte small { font-size: 12px; opacity: .7; }
.platz-leiste { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; cursor: pointer; background: rgba(255, 255, 255, .1); color: var(--creme); border: 2px solid rgba(255, 255, 255, .22); border-radius: 16px; padding: 7px 12px; font-size: 14px; animation: rein .4s ease both; }
.pl-platz { flex: none; background: var(--creme); color: var(--ink); border: 2px solid var(--ink); border-radius: 99px; padding: 1px 10px; font-weight: 700; }
.pl-platz.erster { background: var(--gold); }
.pl-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-text .gegner { font-weight: 600; }
.pl-punkte { flex: none; font-family: var(--titel); font-size: 18px; color: var(--gelb); }

/* ---------- Abschluss-Screen ---------- */
.abschluss {
  position: relative; background: var(--creme); color: var(--ink); border: var(--rand); border-radius: 28px; box-shadow: 6px 6px 0 var(--ink), 0 0 60px color-mix(in srgb, var(--f) 60%, transparent);
  padding: 54px 20px 20px; margin-top: 46px; display: flex; flex-direction: column; align-items: center; gap: 12px;
  animation: abschluss .8s cubic-bezier(.2, 1.4, .4, 1) both;
}
@keyframes abschluss { from { opacity: 0; transform: scale(.6) rotate(-6deg); } }
.ab-emoji { position: absolute; top: -48px; width: 96px; height: 96px; display: grid; place-items: center; font-size: 54px; background: var(--f); border: var(--rand); border-radius: 50%; box-shadow: 4px 4px 0 var(--ink); animation: wackeln 2.2s ease-in-out infinite; }
.ab-platz { display: flex; align-items: baseline; gap: 6px; }
.ab-platz small { font-weight: 700; font-size: 14px; opacity: .65; }
.ab-platz b { font-family: var(--titel); font-weight: 400; font-size: 64px; line-height: 1; }
.ab-titel { font-family: var(--titel); font-size: clamp(26px, 8vw, 34px) !important; line-height: 1.1; color: var(--ink); text-shadow: 2px 2px 0 var(--f) !important; }
.ab-spruch { font-size: 19px; font-weight: 600; line-height: 1.35; }
.ab-ki { background: #E4DCFF; border: 2px dashed var(--lila); border-radius: 14px; padding: 8px 12px; font-weight: 600; font-size: 15px; }
.ab-fuss { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; font-weight: 700; margin-top: 4px; }
.stufe-erster { background: linear-gradient(160deg, #FFF3C4, var(--creme) 60%); }
.stufe-letzter .ab-emoji { animation: wackeln 1.2s ease-in-out infinite; }
.zu-meinem { align-self: flex-start; }

/* ---------- Meme mit mehreren Textfeldern ---------- */
.blase.markiert { cursor: text; outline: 2px dashed rgba(30, 27, 58, .35); outline-offset: 2px; border-radius: 8px; overflow: visible; }
.blase.markiert .blase-text { overflow: hidden; max-height: 100%; }
.blase-nr {
  display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: var(--pink); color: #fff; border: 2px solid var(--ink); font: 700 13px var(--text); font-style: normal; line-height: 1;
}
.blase > .blase-nr { position: absolute; left: -10px; top: -10px; z-index: 1; box-shadow: 1px 1px 0 var(--ink); }
.feld { display: flex; flex-direction: column; gap: 6px; }
.feld + .feld { margin-top: 12px; }
.feld .zaehler { align-self: flex-end; }
.feld-label { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.feld-tipp { text-align: center; font-size: 13px; color: rgba(255, 248, 236, .7); margin-top: -6px; }

/* ---------- Feedback 04.11.: Steuerleiste angedockt, große Uhr, Sperre, KI-Hinweis ---------- */
body.mit-steuer::after {
  content: ''; position: fixed; left: 0; right: 0; bottom: 0; z-index: 27; pointer-events: none;
  height: calc(158px + var(--unten)); background: linear-gradient(to bottom, rgba(27, 15, 69, 0), var(--nacht) 26%);
}
.steuer { bottom: calc(92px + var(--unten)); grid-template-columns: 48px 1fr; }
.rund { width: 48px; height: 48px; font-size: 22px; }
.weiter-knopf { height: 50px; font-size: 18px; border-radius: 16px; box-shadow: 0 4px 0 var(--ink); }
.weiter-knopf span { width: 30px; height: 30px; }

.uhr-platz { position: sticky; top: calc(60px + env(safe-area-inset-top, 0px)); z-index: 15; }
.uhr-platz:empty { display: none; }
.zeit-leiste {
  display: flex; align-items: center; gap: 12px; background: var(--gelb); color: var(--ink); border: var(--rand); border-radius: 18px;
  box-shadow: 4px 4px 0 var(--ink); padding: 8px 14px;
}
.zl-zahl { font-family: var(--titel); font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; min-width: 92px; }
.zl-balken { flex: 1; height: 14px; background: rgba(30, 27, 58, .15); border-radius: 99px; overflow: hidden; }
.zl-balken i { display: block; height: 100%; width: 100%; background: var(--ink); border-radius: 99px; transition: width .25s linear; }
.zeit-leiste.knapp { background: var(--rot); color: #fff; animation: puls .5s ease-in-out infinite alternate; }
.zeit-leiste.knapp .zl-balken { background: rgba(255, 255, 255, .3); }
.zeit-leiste.knapp .zl-balken i { background: #fff; }
.zeit-leiste.vorbei { background: #9A97AE; animation: none; }

.gesperrt-karte { text-align: center; background: #DFF7E9; font-size: 17px; }
.status.naechstes { background: var(--gelb); animation: puls .8s ease-in-out infinite alternate; }

.ki-hinweis { display: flex; flex-direction: column; gap: 10px; text-align: center; }
.kh-kreuze { font-size: 34px; letter-spacing: 4px; animation: zittern .15s linear 6; }
.ki-hinweis .ki-tipp { font-family: var(--titel); font-size: 32px; color: var(--lila); }

.rahmen-wahl { flex-wrap: wrap; }

/* Animationen (z. B. Diashow von rechts) dürfen die Seite nie seitlich verbreitern */
html { overflow-x: hidden; }
#inhalt { overflow-x: clip; }
