/* ══════════════════════════════════════════════════════════
   OBS-Overlay v6.0.0 — immersive Glas-Bühne über austauschbarem
   Kategorie-Hintergrund. Baut auf theme.css (Tokens/Fonts).
   4K-Canvas 3840×2160, per skaliereCanvas() (JS) auf das Fenster
   heruntergerechnet.
   ══════════════════════════════════════════════════════════ */

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 3840px;
  height: 2160px;
  overflow: hidden;
}
body {
  position: relative;
  transform-origin: 0 0;              /* skaliereCanvas() setzt transform:scale() */
  font-family: var(--font-sans);
  color: var(--text);
  /* Default-Grund (kein Kategorie-Hintergrund gewählt): identisch zur globalen
     Chaosflavoured-Bühne aus quizmaster.css/teilnehmer.css — teal-Spotlight oben
     über dunklem grün-schwarzem Verlauf. */
  background-color: var(--black);
  background-image:
    radial-gradient(ellipse 75% 55% at 50% -5%,
      rgba(0,185,148,0.24) 0%, rgba(0,130,100,0.11) 50%, transparent 78%),
    radial-gradient(ellipse 50% 35% at 95% 100%,
      rgba(0,90,70,0.10) 0%, transparent 65%),
    linear-gradient(180deg, #080f0d 0%, #060a08 55%, #040806 100%);
}
#overlay { position: absolute; inset: 0; overflow: hidden; }

/* ── Ebene 0: Kategorie-Hintergrund (JS füllt <img>/<video>/<iframe>) ── */
#kategorie-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
#kategorie-bg img,
#kategorie-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* HTML-Hintergrund: füllt die Ebene randlos, keine Interaktion */
#kategorie-bg iframe {
  width: 100%; height: 100%;
  border: 0; display: block;
  pointer-events: none;
}

/* ── Ebene 1: Vignette über dem Hintergrund ── */
#vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 120% 120% at 50% 50%, transparent 60%, rgba(0,0,0,0.5));
}

/* ── Glas-Panel-Primitive ── */
.glass {
  background: rgba(10,16,26,0.44);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  border: 1px solid rgba(255,255,255,0.14);
}

/* ══════════════════════════════════════════════
   QM-CAM — oben Mitte, 16:9 (einzige Ausnahme)
   ══════════════════════════════════════════════ */
#qm-cam {
  position: absolute;
  top: 60px; left: 50%; transform: translateX(-50%);
  width: 600px; aspect-ratio: 16 / 9;
  z-index: 5;
  border-radius: 16px;
  transition: box-shadow 0.4s, border-color 0.4s;
}
#qm-cam video {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
#qm-cam.aktiv {
  background: rgba(6,20,18,0.6);
  border: 2px solid rgba(0,212,176,0.4);
  box-shadow: 0 0 40px rgba(0,212,176,0.22);
}
#qm-cam.aktiv::after {
  content: 'QUIZMASTER';
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 20px; letter-spacing: 0.22em;
  color: #8fd8c8;
  background: rgba(6,20,18,0.65);
  border: 1px solid rgba(0,212,176,0.3);
  border-radius: 10px;
  padding: 4px 16px;
  white-space: nowrap;
}

/* ══════════════════════════════════════════════
   FRAGE-BAND — fest verankert unter der QM-Cam
   (wandert nicht bei QM-Cam an/aus). Auto-Fit via --fit.
   ══════════════════════════════════════════════ */
#frage-band {
  position: absolute;
  top: 470px; left: 15%; right: 15%;
  z-index: 4;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  gap: 30px;
  /* overflow: visible — Auto-Fit deckelt weiterhin über max-height (JS), aber Schatten/Glow
     von Frage-Karte + Antwort-Zeilen dürfen frei über die Band-Kante hinausstrahlen (nicht clippen). */
  overflow: visible;
}

/* Fragetyp-Pill */
#frage-typ {
  font-family: var(--font-mono);
  font-size: 26px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 10px 34px;
  border-radius: 40px;
  border: 2px solid;
  display: none;
  flex: 0 0 auto;
}
#frage-typ.show { display: block; animation: typEinblend 0.4s ease-out both; }
@keyframes typEinblend {
  0%   { opacity: 0; transform: translateY(-14px); }
  100% { opacity: 1; transform: translateY(0); }
}
.ft-normal  { color: var(--text-soft); border-color: var(--border-hi); background: rgba(255,255,255,0.05); }
.ft-buzzer  { color: var(--orange);    border-color: rgba(251,146,60,0.5);  background: rgba(251,146,60,0.10); }
.ft-mc      { color: var(--purple);    border-color: rgba(192,132,252,0.5); background: rgba(192,132,252,0.10); }
.ft-schaetz { color: var(--blue);      border-color: rgba(56,189,248,0.5);  background: rgba(56,189,248,0.10); }

/* Frage-Karte */
#frage-karte {
  width: 100%;
  background: rgba(10,16,26,0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: 30px 56px;
  text-align: center;
  box-shadow: 0 20px 70px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
}
#frage-karte::before {
  content: '';
  position: absolute; top: 0; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0.5;
}
.frage-einblend { animation: frageEinblend 0.5s cubic-bezier(0.22,1,0.36,1) both; }
@keyframes frageEinblend {
  0%   { opacity: 0; transform: translateY(-24px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
#frage-text {
  font-family: var(--font-sans);
  font-size: calc(var(--fit, 1) * 66px);
  font-weight: 700; line-height: 1.28;
  color: var(--text);
  letter-spacing: 0.01em;
}
#frage-text.leer { color: rgba(255,255,255,0.16); font-weight: 300; }

/* ── Status-Overlay (Vorbereitung/Pause) ── */
#status-overlay {
  display: none;
  flex-direction: column; align-items: center; gap: 18px;
  padding: 40px 0;
}
#status-overlay.show { display: flex; }
.st-icon { font-size: 130px; filter: drop-shadow(0 0 30px rgba(0,212,176,0.4)); }
.st-text {
  font-family: var(--font-serif); font-size: 92px; font-weight: 900;
  letter-spacing: 0.12em; color: var(--text-soft);
  text-shadow: 0 0 40px rgba(255,255,255,0.1);
}

/* ── Multiple Choice — 2×2-Raster ── */
#mc-antworten-obs {
  width: 100%;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  flex: 0 0 auto;
}
#mc-antworten-obs.show { display: grid; }
.obs-mc-row {
  display: flex; align-items: center; gap: 20px;
  padding: 16px 22px;
  background: rgba(10,16,26,0.44);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  transition: background 0.4s, border-color 0.4s;
  opacity: 1; transform: translateX(0);
}
.obs-mc-row.mc-zeile-einblend {
  opacity: 0; transform: translateX(-30px);
  animation: mcZeilenEin 0.45s cubic-bezier(0.22,1,0.36,1) forwards;
}
#mc-antworten-obs.show .obs-mc-row:nth-child(1).mc-zeile-einblend { animation-delay: 0.05s; }
#mc-antworten-obs.show .obs-mc-row:nth-child(2).mc-zeile-einblend { animation-delay: 0.13s; }
#mc-antworten-obs.show .obs-mc-row:nth-child(3).mc-zeile-einblend { animation-delay: 0.21s; }
#mc-antworten-obs.show .obs-mc-row:nth-child(4).mc-zeile-einblend { animation-delay: 0.29s; }
#mc-antworten-obs.show .obs-mc-row:nth-child(5).mc-zeile-einblend { animation-delay: 0.37s; }
#mc-antworten-obs.show .obs-mc-row:nth-child(6).mc-zeile-einblend { animation-delay: 0.45s; }
@keyframes mcZeilenEin { to { opacity: 1; transform: translateX(0); } }

/* Vor dem Aufdecken darf die korrekte Antwort NICHT sichtbar sein — .korrekt sieht
   neutral aus wie jede andere Zeile; erst .korrekt-aufdecken färbt grün. */
.obs-mc-row.korrekt,
.obs-mc-row.korrekt-versteckt {
  background: rgba(10,16,26,0.44);
  border-color: rgba(255,255,255,0.14);
  box-shadow: none;
}
.obs-mc-row.korrekt-aufdecken {
  animation:
    mcAufdecken 0.7s cubic-bezier(0.22,1,0.36,1) forwards,
    mcKorrektPuls 2s ease-in-out 0.7s infinite alternate;
}
@keyframes mcAufdecken {
  0%   { background: rgba(10,16,26,0.44);   border-color: rgba(255,255,255,0.14); box-shadow: none; transform: scale(1); }
  50%  { background: rgba(74,222,128,0.25); border-color: rgba(74,222,128,0.80); box-shadow: 0 0 30px rgba(74,222,128,0.40); transform: scale(1.02); }
  100% { background: rgba(74,222,128,0.12); border-color: rgba(74,222,128,0.45); box-shadow: 0 0 20px rgba(74,222,128,0.25); transform: scale(1); }
}
@keyframes mcKorrektPuls {
  0%   { background: rgba(74,222,128,0.08); border-color: rgba(74,222,128,0.30); box-shadow: 0 0 15px rgba(74,222,128,0.20); }
  100% { background: rgba(74,222,128,0.18); border-color: rgba(74,222,128,0.60); box-shadow: 0 0 35px rgba(74,222,128,0.45); }
}
.obs-mc-row.korrekt-aufdecken .obs-mc-text { color: var(--text) !important; }
/* Buchstaben-Badge: lila gefüllter Kreis (MC-Akzent, wie im Planungs-Mockup) */
.obs-mc-ltr {
  font-family: var(--font-mono);
  font-size: calc(var(--fit, 1) * 34px); font-weight: 700;
  color: #0a0f18;
  width: 60px; height: 60px; flex: 0 0 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--purple);
}
/* Erst beim Aufdecken wird der korrekte Badge grün — vorher identisch lila (kein Verraten) */
.obs-mc-row.korrekt-aufdecken .obs-mc-ltr { background: var(--green); color: #0a0f18; }
.obs-mc-text {
  font-family: var(--font-sans);
  font-size: calc(var(--fit, 1) * 38px); font-weight: 400;
  color: var(--text); flex: 1; text-align: left;
}
.obs-mc-votes {
  font-family: var(--font-mono);
  font-size: calc(var(--fit, 1) * 30px); font-weight: 700;
  color: var(--teal);
  min-width: 90px; text-align: right;
}

/* ── Schätzfrage-Auflösung (Block unter der Frage) ── */
#schaetz-auflosung {
  display: none;
  flex-direction: column; align-items: center; gap: 6px;
  padding: 22px 48px;
  background: rgba(56,189,248,0.10);
  border: 2px solid rgba(56,189,248,0.4);
  border-radius: 18px;
  animation: schaetzAufdecken 0.7s cubic-bezier(0.22,1,0.36,1) both;
  flex: 0 0 auto;
}
#schaetz-auflosung.show { display: flex; }
@keyframes schaetzAufdecken {
  0%   { opacity: 0; transform: translateY(20px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.schaetz-auflosung-label {
  font-family: var(--font-mono); font-size: 22px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.schaetz-auflosung-wert {
  font-family: var(--font-serif); font-size: calc(var(--fit, 1) * 80px); font-weight: 900;
  color: var(--blue); line-height: 1;
  text-shadow: 0 0 26px rgba(56,189,248,0.45);
}
.schaetz-auflosung-einheit {
  font-family: var(--font-mono); font-size: 30px;
  color: rgba(56,189,248,0.6); letter-spacing: 0.12em;
}

/* ══════════════════════════════════════════════
   COUNTDOWN-RING — oben rechts, dezent-groß
   ══════════════════════════════════════════════ */
#countdown-obs {
  position: absolute;
  top: 130px; right: 130px;
  width: 404px; height: 404px;
  z-index: 6;
  display: none;
}
/* overflow: visible — der drop-shadow-Glow der Fortschritts-Kurve (v. a. ≤5 s/≤3 s) soll nicht
   am SVG-Rand abgeschnitten werden. */
.cd-svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.cd-track { fill: none; stroke: rgba(255,255,255,0.09); stroke-width: 12; }
.cd-prog {
  fill: none; stroke: var(--teal); stroke-width: 12; stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(0,212,176,0.5));
  transition: stroke-dashoffset 1s linear, stroke 0.4s;
}
.cd-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.cd-zahl {
  font-family: var(--font-mono); font-weight: 700;
  font-size: 130px; line-height: 0.9; color: var(--teal);
  text-shadow: 0 0 16px rgba(0,212,176,0.4);
}
.cd-sek {
  font-family: var(--font-mono); font-size: 26px;
  letter-spacing: 0.24em; color: #7fbfb2;
}
/* ≤5s: warnend; ≤3s: rot + pulsierend (Show-Moment) */
#countdown-obs.cd-warn .cd-prog { stroke: var(--amber); filter: drop-shadow(0 0 10px rgba(245,166,35,0.6)); }
#countdown-obs.cd-warn .cd-zahl { color: var(--amber); text-shadow: 0 0 18px rgba(245,166,35,0.5); }
#countdown-obs.cd-danger .cd-prog { stroke: var(--red); filter: drop-shadow(0 0 14px rgba(248,113,113,0.7)); }
#countdown-obs.cd-danger .cd-zahl { color: var(--red); text-shadow: 0 0 22px rgba(248,113,113,0.6); }
#countdown-obs.cd-danger { animation: cdPuls 1s ease-in-out infinite; }
@keyframes cdPuls {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.07); }
}

/* ══════════════════════════════════════════════
   SPIELER-CAMS — 4:3, unten, adaptiv; Leuchtrahmen
   um Cam + Balken als Einheit (.bar-box).
   ══════════════════════════════════════════════ */
#spieler-ring { position: absolute; inset: 0; z-index: 3; }

/* Slot: volle Höhe (JS setzt min-height=BAR_H) als transparenter Abstandshalter,
   Inhalt unten angedockt. JS setzt left/width/bottom absolut. */
.spieler-bar {
  position: absolute;
  display: flex; flex-direction: column; justify-content: flex-end;
}

/* Sichtbare Kachel — hier sitzt der Leuchtrahmen */
.bar-box {
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.15);
  background: rgba(10,16,26,0.42);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: border-color 0.35s, box-shadow 0.35s;
}

/* Cam-Bereich 4:3 — nur sichtbar bei hat-cam */
.bar-cam {
  width: 100%; aspect-ratio: 4 / 3;
  background: rgba(6,12,22,0.55);
  display: none;
  align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
}
.spieler-bar.hat-cam .bar-cam { display: flex; }
.bar-cam video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Namensbalken: links Name+Punkte, rechts Antwort */
.bar-info {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  padding: 14px 20px;
  min-height: 84px;
  background: rgba(10,16,26,0.72);
  position: relative;
}
.bar-col-left { display: flex; flex-direction: column; gap: 2px; line-height: 1.05; min-width: 0; }
.bar-name {
  font-family: var(--font-mono); font-size: 40px; font-weight: 500;
  color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bar-bottom { display: flex; align-items: baseline; gap: 4px; }
.bar-pts { font-family: var(--font-mono); font-size: 40px; font-weight: 700; color: var(--teal); }
.bar-pts-label { font-family: var(--font-mono); font-size: 24px; color: var(--text-soft); }

/* Rechte Antwort-Spalte */
.bar-col-right {
  display: flex; align-items: center; justify-content: flex-end;
  flex: 0 0 auto;
}
.bar-badge {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700;
  min-width: 62px; height: 62px; padding: 0 12px;
  font-size: 44px;
  border-radius: 12px;
  border: 2px solid;
  line-height: 1;
}
.bb-mc     { color: #0a0f18; background: var(--purple); border-color: var(--purple); }
.bb-buzzer { color: var(--orange); border-color: rgba(251,146,60,0.6); background: rgba(251,146,60,0.15);
             box-shadow: 0 0 20px rgba(251,146,60,0.30); }
.schaetz-info-block { display: flex; flex-direction: column; align-items: flex-end; line-height: 1; }
.bar-schaetz-live {
  font-family: var(--font-mono); font-size: 40px; font-weight: 700;
  color: var(--blue); text-shadow: 0 0 18px rgba(56,189,248,0.4);
  transition: color 0.3s;
}
.bar-schaetz-live.getippt { animation: schaetzPulse 0.3s ease-out; }
@keyframes schaetzPulse { 0% { transform: scale(1.15); } 100% { transform: scale(1); } }
.bar-schaetz-einheit { font-family: var(--font-mono); font-size: 20px; color: rgba(56,189,248,0.6); letter-spacing: 0.1em; }

/* ── Leuchtrahmen-Zustände (auf .bar-box) ── */
.bar-box.aktiv     { border-color: var(--teal);   box-shadow: 0 0 34px rgba(0,212,176,0.4); }
.bar-box.gebuzzert { border-color: var(--orange); box-shadow: 0 0 34px rgba(251,146,60,0.5); }
.bar-box.richtig   { border-color: var(--green);  box-shadow: 0 0 38px rgba(74,222,128,0.5); }
.bar-box.falsch    { border-color: var(--red);    box-shadow: 0 0 38px rgba(248,113,113,0.5); }
.bar-box.punkt     { border-color: var(--gold);   box-shadow: 0 0 40px rgba(233,188,80,0.55); }
.spieler-bar.hat-cam .bar-box.aktiv     .bar-name,
.spieler-bar .bar-box.aktiv     .bar-name { color: var(--teal); }
.bar-box.richtig .bar-name { color: var(--green); }
.bar-box.falsch  .bar-name { color: var(--red); }
.bar-box.gebuzzert .bar-name { color: var(--orange); }

/* ── Punkt-Bubble ── */
.punkt-bubble {
  position: absolute; bottom: 70px; left: 24px;
  font-family: var(--font-sans); font-size: 58px; font-weight: 700;
  color: var(--gold); text-shadow: 0 0 22px rgba(233,188,80,0.7);
  animation: bubbleUp 1.3s ease-out forwards;
  pointer-events: none; z-index: 30;
}
@keyframes bubbleUp {
  0%   { opacity: 0; transform: translateY(0) scale(0.8); }
  15%  { opacity: 1; transform: translateY(-20px) scale(1.1); }
  70%  { opacity: 1; transform: translateY(-150px) scale(1.15); }
  100% { opacity: 0; transform: translateY(-230px) scale(0.85); }
}

/* ══════════════════════════════════════════════
   SIEGEREHRUNG — Headline + Podium (repositionierte
   Bars mit weiterlaufenden Cams).
   ══════════════════════════════════════════════ */
#sieger-obs {
  position: absolute; inset: 0; z-index: 8;
  display: none; pointer-events: none;
}
#sieger-obs.show { display: block; }
.sieg-headline {
  position: absolute; top: 46px; left: 50%; transform: translateX(-50%);
  text-align: center;
}
.sieg-eye { font-family: var(--font-mono); font-size: 26px; letter-spacing: 0.4em; color: rgba(255,255,255,0.5); }
.sieg-big {
  font-family: var(--font-serif); font-weight: 900; font-size: 130px;
  letter-spacing: 0.08em; color: var(--gold);
  text-shadow: 0 0 40px rgba(233,188,80,0.5);
}

/* Podium: Sieger-Klassen auf .spieler-bar; Cam-Bereich immer sichtbar */
.spieler-bar.sieg-gold  .bar-cam,
.spieler-bar.sieg-silber .bar-cam,
.spieler-bar.sieg-bronze .bar-cam,
.spieler-bar.sieg-rest   .bar-cam { display: flex; }

/* Rang-Emoji links im Balken */
.spieler-bar.sieg-gold  .bar-info,
.spieler-bar.sieg-silber .bar-info,
.spieler-bar.sieg-bronze .bar-info,
.spieler-bar.sieg-rest   .bar-info {
  justify-content: flex-start; gap: 18px;
}
.sieg-rang-emoji {
  font-size: 56px; line-height: 1; flex-shrink: 0;
  opacity: 0; animation: emojiPop 0.6s cubic-bezier(0.36,0.07,0.19,0.97) forwards;
}
@keyframes emojiPop {
  0%   { opacity: 0; transform: scale(0.2) rotate(-25deg); }
  70%  { opacity: 1; transform: scale(1.25) rotate(8deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
.spieler-bar.sieg-gold .sieg-rang-emoji { font-size: 70px; }

/* Krone über dem 1. Platz */
.sieg-crown {
  position: absolute; top: -70px; left: 50%; transform: translateX(-50%);
  font-size: 90px; z-index: 9;
  animation: kronePop 0.7s cubic-bezier(0.36,0.07,0.19,0.97) 0.2s both;
}
@keyframes kronePop {
  0%   { opacity: 0; transform: translateX(-50%) translateY(30px) scale(0.4); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

/* Gold */
.spieler-bar.sieg-gold .bar-box {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 4px var(--gold-mid), 0 0 90px rgba(233,188,80,0.6), 0 0 180px rgba(233,188,80,0.3) !important;
  animation: siegGoldPulse 1.8s ease-in-out infinite alternate;
}
@keyframes siegGoldPulse {
  0%   { box-shadow: 0 0 0 4px var(--gold-mid), 0 0 90px rgba(233,188,80,0.6),  0 0 180px rgba(233,188,80,0.3); }
  100% { box-shadow: 0 0 0 7px var(--gold),     0 0 140px rgba(233,188,80,0.9), 0 0 280px rgba(233,188,80,0.5); }
}
.spieler-bar.sieg-gold .bar-name { color: var(--gold) !important; text-shadow: 0 0 16px rgba(233,188,80,0.5); }
.spieler-bar.sieg-gold .bar-pts  { color: var(--gold) !important; }

/* Silber / Bronze */
.spieler-bar.sieg-silber .bar-box { border-color: #c8d0e0 !important; box-shadow: 0 0 0 4px #8892a4, 0 0 70px rgba(176,184,200,0.55) !important; }
.spieler-bar.sieg-silber .bar-name { color: #c8d0e0 !important; }
.spieler-bar.sieg-bronze .bar-box { border-color: #cd7f32 !important; box-shadow: 0 0 0 4px #a0622a, 0 0 60px rgba(205,127,50,0.5) !important; }
.spieler-bar.sieg-bronze .bar-name { color: #cd7f32 !important; }

/* Plätze 4+ */
.spieler-bar.sieg-rest .bar-box  { border-color: rgba(255,255,255,0.18) !important; }
.spieler-bar.sieg-rest .bar-name { color: var(--text-soft) !important; }

/* ── Konfetti ── */
.sieg-particle { position: fixed; pointer-events: none; }
@keyframes confettiFall {
  0%   { transform: translateY(-100px) rotate(0deg);   opacity: 1; }
  100% { transform: translateY(2400px) rotate(720deg); opacity: 0; }
}

/* ── Frage-/Typ-Ausblend (reverse) ── */
.frage-ausblend { animation: frageEinblend 0.4s cubic-bezier(0.4,0,1,1) reverse forwards !important; }
.typ-ausblend   { animation: typEinblend 0.3s ease-in reverse forwards !important; }
.mc-ausblend .obs-mc-row:nth-child(6) { animation: mcZeilenEin 0.3s ease-in 0.00s reverse forwards; }
.mc-ausblend .obs-mc-row:nth-child(5) { animation: mcZeilenEin 0.3s ease-in 0.05s reverse forwards; }
.mc-ausblend .obs-mc-row:nth-child(4) { animation: mcZeilenEin 0.3s ease-in 0.10s reverse forwards; }
.mc-ausblend .obs-mc-row:nth-child(3) { animation: mcZeilenEin 0.3s ease-in 0.15s reverse forwards; }
.mc-ausblend .obs-mc-row:nth-child(2) { animation: mcZeilenEin 0.3s ease-in 0.20s reverse forwards; }
.mc-ausblend .obs-mc-row:nth-child(1) { animation: mcZeilenEin 0.3s ease-in 0.25s reverse forwards; }
.mc-ausblend .obs-mc-row.korrekt-aufdecken {
  animation: mcKorrektPuls 2s ease-in-out infinite alternate !important;
  opacity: 1 !important;
}
