/* ══════════════════════════════════════════════════════════════════════════
   Barfieber — Oberfläche. Nachtbar: tiefes Aubergine, Neon in Pink und Türkis,
   warmes Gold für Trinkgeld und Sterne. Gemacht für Laptops (ab ~1000 px),
   bricht darunter in eine Spalte um.
   ══════════════════════════════════════════════════════════════════════════ */
:root {
  --bg: #140d1f;
  --bg2: #1c1229;
  --flaeche: #23173a;
  --flaeche2: #2d1f49;
  --rand: #3e2c63;
  --text: #f6efff;
  --leise: #b6a5d1;
  --pink: #ff4fa3;
  --tuerkis: #3ee6ff;
  --gold: #ffcf5a;
  --gefahr: #ff4d4d;
  --gut: #3ddc97;
  --radius: 14px;
  --schatten: 0 10px 30px rgba(0, 0, 0, .35);
  --schrift: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --anzeige: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  font-family: var(--schrift);
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 15% -10%, rgba(255, 79, 163, .16), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(62, 230, 255, .12), transparent 60%),
    radial-gradient(800px 600px at 50% 120%, rgba(255, 207, 90, .08), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
button { font: inherit; color: inherit; }
input { font: inherit; }
h1, h2, h3 { font-family: var(--anzeige); margin: 0 0 .4em; line-height: 1.15; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.02rem; }
p { margin: 0 0 .7em; }
.leise-text { color: var(--leise); }
.klein { font-size: .86rem; }
[hidden] { display: none !important; }

/* ── Kopfzeile ─────────────────────────────────────────────────────────── */
.kopf {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 16px;
  padding: 10px 22px;
  background: rgba(20, 13, 31, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rand);
}
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); }
.logo-glas { font-size: 1.7rem; filter: drop-shadow(0 0 8px rgba(62, 230, 255, .6)); }
/* Die Neonzeile aus dem Schild; die Höhe hängt an der Schriftgröße, damit die
   bisherigen Regeln fürs Handy (kleiner, oder ganz weg) weiter greifen. */
.logo-text { font-size: 1.6rem; display: flex; align-items: center; }
.logo-text img { height: 1.7em; width: auto; display: block; }
.logo-text .logo-hell { display: none; }
.kopf-mitte { flex: 1; display: flex; justify-content: center; align-items: center; gap: 14px; min-width: 0; }
.kopf-rechts { display: flex; align-items: center; gap: 10px; }
.runden-perlen { display: flex; gap: 6px; align-items: center; }
.perle { width: 12px; height: 12px; border-radius: 50%; background: var(--flaeche2); border: 1px solid var(--rand); }
.perle.vorbei { background: var(--leise); border-color: var(--leise); }
.perle.jetzt { background: var(--pink); border-color: var(--pink); box-shadow: 0 0 10px var(--pink); }
.phase-name { font-weight: 700; color: var(--leise); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.kopf-leitung { display: flex; gap: 6px; align-items: center; }
.verbindung { font-size: .82rem; color: var(--leise); display: flex; align-items: center; gap: 6px; }
.verbindung::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gut); box-shadow: 0 0 8px var(--gut); }
.verbindung.weg::before { background: var(--gefahr); box-shadow: 0 0 8px var(--gefahr); }

/* ── Knöpfe ────────────────────────────────────────────────────────────── */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--rand);
  background: var(--flaeche2); cursor: pointer; font-weight: 600;
  transition: transform .08s ease, background .15s ease, box-shadow .15s ease, opacity .15s;
  text-decoration: none; white-space: nowrap;
}
.knopf:hover:not(:disabled) { background: #3a2960; }
.knopf:active:not(:disabled) { transform: translateY(1px) scale(.99); }
.knopf:disabled { opacity: .45; cursor: not-allowed; }
.knopf:focus-visible, .chip-knopf:focus-visible, input:focus-visible { outline: 3px solid var(--tuerkis); outline-offset: 2px; }
.knopf.leise { background: transparent; }
.knopf.leise:hover:not(:disabled) { background: var(--flaeche); }
.knopf.haupt {
  background: linear-gradient(135deg, #ff4fa3, #ff7a59); border-color: transparent; color: #1a0b16;
  box-shadow: 0 6px 22px rgba(255, 79, 163, .35);
}
.knopf.haupt:hover:not(:disabled) { background: linear-gradient(135deg, #ff66b0, #ff8b6e); }
.knopf.kuehl {
  background: linear-gradient(135deg, #3ee6ff, #5ab8ff); border-color: transparent; color: #08202a;
  box-shadow: 0 6px 22px rgba(62, 230, 255, .3);
}
.knopf.kuehl:hover:not(:disabled) { background: linear-gradient(135deg, #6becff, #79c6ff); }
.knopf.gross { padding: 15px 26px; font-size: 1.12rem; }
.knopf.klein { padding: 6px 12px; font-size: .85rem; }
.knopf.gefahr-knopf { border-color: rgba(255, 77, 77, .5); color: #ffb3b3; }

/* ── Flächen ───────────────────────────────────────────────────────────── */
.app { max-width: 1480px; margin: 0 auto; padding: 20px 22px 60px; }
.karte {
  background: linear-gradient(180deg, var(--flaeche), var(--bg2));
  border: 1px solid var(--rand); border-radius: var(--radius); padding: 18px;
  box-shadow: var(--schatten);
}
.karte + .karte { margin-top: 16px; }

/* ── Start ─────────────────────────────────────────────────────────────── */
.start { max-width: 980px; margin: 20px auto 0; }
.held { text-align: center; padding: 26px 10px 30px; }
.held h1 { margin: 0 0 8px; line-height: 0; }
/* Das Neonschild (web/logo.svg, erzeugt von deploy/logo_bauen.py). Die Ränder im Bild
   gehören zum goldenen Schnitt des Schilds – deshalb kein eigener Abstand drumherum. */
.held-schild { width: min(560px, 100%); height: auto; }
.held p { font-size: 1.12rem; color: var(--leise); max-width: 660px; margin: 0 auto; }
.held-chips { display: flex; justify-content: center; gap: 10px; margin: 18px 0 4px; flex-wrap: wrap; }
.start-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feld-zeile { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.feld-zeile label { font-weight: 600; font-size: .9rem; color: var(--leise); }
.eingabe {
  width: 100%; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--rand);
  background: #150e22; color: var(--text);
}
.eingabe.code { text-transform: uppercase; letter-spacing: 3px; font-weight: 800; font-size: 1.2rem; text-align: center; }
.eingabe.code.klein { font-size: .95rem; padding: 7px 10px; width: 190px; }
.code-aendern { display: flex; gap: 8px; align-items: center; margin: -2px 0 14px; flex-wrap: wrap; }
.weiter-box {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 18px; padding: 14px 18px; border-radius: var(--radius);
  background: rgba(62, 230, 255, .08); border: 1px solid rgba(62, 230, 255, .35);
}
.kurzregeln { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.kurzregel { padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--rand); }
.kurzregel b { display: block; font-size: 1.5rem; margin-bottom: 4px; }

/* ── Lobby ─────────────────────────────────────────────────────────────── */
.lobby { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; max-width: 1100px; margin: 0 auto; }
.tischcode {
  font-family: var(--anzeige); font-size: clamp(1.8rem, 4.2vw, 3.4rem); font-weight: 900; letter-spacing: 8px;
  overflow-wrap: anywhere;
  color: var(--gold); text-shadow: 0 0 18px rgba(255, 207, 90, .45); margin: 4px 0 8px;
}
.einladung { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.einladung code {
  flex: 1; min-width: 220px; padding: 10px 12px; border-radius: 10px; background: #150e22;
  border: 1px dashed var(--rand); color: var(--tuerkis); overflow-wrap: anywhere; font-size: .92rem;
}
.gaesteliste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.gaesteliste li {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--rand);
}
.punkt { width: 14px; height: 14px; border-radius: 50%; flex: none; background: var(--f, #888); box-shadow: 0 0 10px var(--f, #888); }
.online-punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--gut); flex: none; }
.online-punkt.aus { background: #6b5a85; }
.krone { font-size: .95rem; }
.du-marke { font-size: .72rem; padding: 1px 7px; border-radius: 999px; background: var(--pink); color: #1a0b16; font-weight: 800; }

/* ── Spielfläche ───────────────────────────────────────────────────────── */
.spielflaeche { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 18px; align-items: start; }
.seitenleiste { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 16px; }

.gastkarte {
  display: flex; gap: 16px; align-items: center; padding: 14px 18px;
  border-radius: var(--radius); border: 1px solid rgba(255, 207, 90, .45);
  background: linear-gradient(120deg, rgba(255, 207, 90, .14), rgba(255, 79, 163, .08));
}
.gastkarte .gast-emoji { font-size: 2.6rem; line-height: 1; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }
.gastkarte .gast-art {
  display: inline-block; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px;
  padding: 2px 8px; border-radius: 999px; background: var(--gold); color: #2a1a00; margin-bottom: 3px;
}
.gastkarte .gast-art.ereignis { background: var(--tuerkis); color: #04232b; }
.gastkarte h3 { margin: 0; font-size: 1.15rem; }
.gastkarte p { margin: 2px 0 0; color: #f0e4ff; }

.statusband {
  margin: 14px 0; padding: 12px 18px; border-radius: 12px; font-weight: 700; font-size: 1.05rem;
  background: rgba(62, 230, 255, .1); border: 1px solid rgba(62, 230, 255, .35);
}
.statusband.platzt { background: rgba(255, 77, 77, .14); border-color: rgba(255, 77, 77, .5); }
.statusband.fertig { background: rgba(61, 220, 151, .1); border-color: rgba(61, 220, 151, .45); }

.tresen { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 22px; align-items: start; }
.glas-spalte { display: flex; gap: 12px; align-items: flex-end; justify-content: center; }
.glas-svg { width: 260px; height: auto; overflow: visible; }
.glas-svg .schicht { transition: y .35s ease, height .35s ease; }
.glas-svg .schicht.neu { animation: einschenken .5s ease; }
@keyframes einschenken { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
.glas-wackelt { animation: wackeln .55s ease; }
@keyframes wackeln {
  0%, 100% { transform: none; } 20% { transform: rotate(-4deg); } 40% { transform: rotate(4deg); }
  60% { transform: rotate(-3deg); } 80% { transform: rotate(2deg); }
}

.thermo { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.thermo-roehre {
  position: relative; width: 26px; height: 290px; border-radius: 13px;
  background: #150e22; border: 2px solid var(--rand); overflow: hidden;
}
.thermo-fuellung {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, #ffd166, #ff7a3d 55%, #ff2d55);
  transition: height .35s ease;
}
.thermo-grenze { position: absolute; left: -2px; right: -2px; height: 3px; background: #fff; box-shadow: 0 0 8px #fff; }
.thermo-wert { font-weight: 800; font-size: 1.05rem; }
.thermo-titel { font-size: .75rem; color: var(--leise); text-transform: uppercase; letter-spacing: 1px; }

.bedienung { display: flex; flex-direction: column; gap: 14px; }
.zug-zeile { display: flex; gap: 12px; flex-wrap: wrap; }
.letzter-zug {
  display: flex; gap: 14px; align-items: center; padding: 12px 16px; min-height: 76px;
  border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--rand);
}
.letzter-zug.neu { animation: aufploppen .35s ease; }
@keyframes aufploppen { from { transform: scale(.94); opacity: .3; } to { transform: none; opacity: 1; } }
.letzter-zug .chip { width: 52px; height: 52px; font-size: 1.5rem; }
.kennzahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.kennzahl { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--rand); }
.kennzahl span { display: block; font-size: .74rem; color: var(--leise); text-transform: uppercase; letter-spacing: .8px; }
.kennzahl b { font-size: 1.3rem; }
.kennzahl.warnung { border-color: rgba(255, 77, 77, .6); background: rgba(255, 77, 77, .1); }
.shaker { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--rand); }
.shaker-titel { display: flex; justify-content: space-between; font-size: .85rem; color: var(--leise); margin-bottom: 8px; }
.chipreihe { display: flex; flex-wrap: wrap; gap: 6px; }
.tasten-hinweis { font-size: .8rem; color: var(--leise); }
kbd {
  font-family: inherit; font-size: .78rem; padding: 1px 6px; border-radius: 5px;
  border: 1px solid var(--rand); background: var(--flaeche2);
}

/* Zutaten-Chips */
.chip {
  --c: #888;
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; font-size: 1.05rem; flex: none;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c) 55%, #fff), var(--c) 70%);
  border: 2px solid color-mix(in srgb, var(--c) 60%, #000);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25), 0 2px 6px rgba(0, 0, 0, .35);
}
.chip b {
  position: absolute; right: -5px; bottom: -5px; min-width: 19px; height: 19px; padding: 0 4px;
  border-radius: 999px; background: #120b1c; border: 1.5px solid var(--c);
  font-size: .72rem; line-height: 16px; text-align: center; color: #fff;
}
.chip i {
  position: absolute; left: -6px; top: -6px; font-style: normal; font-size: .68rem; font-weight: 800;
  min-width: 18px; height: 18px; padding: 0 4px; line-height: 16px; border-radius: 999px;
  background: var(--text); color: var(--bg); text-align: center;
}
.chip.klein { width: 26px; height: 26px; font-size: .78rem; border-width: 1.5px; }
.chip.klein b { min-width: 15px; height: 15px; font-size: .62rem; line-height: 12px; right: -4px; bottom: -4px; }
.chip.chili { animation: none; }

/* ── Seitenleiste: die anderen ─────────────────────────────────────────── */
.rangliste { display: flex; flex-direction: column; gap: 8px; }
.mitspieler {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 4px 10px; align-items: center;
  padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--rand);
}
.mitspieler.ich { border-color: var(--pink); background: rgba(255, 79, 163, .07); }
.mitspieler.weg { opacity: .45; }
.mitspieler .platz { font-weight: 800; color: var(--leise); text-align: center; }
.mitspieler .name { display: flex; align-items: center; gap: 6px; font-weight: 700; min-width: 0; }
.mitspieler .name span.n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mitspieler .ruhm { font-weight: 800; color: var(--gold); white-space: nowrap; }
.mitspieler .unten { grid-column: 2 / 4; display: flex; align-items: center; gap: 8px; }
.mini-glas { flex: 1; height: 12px; border-radius: 6px; background: #150e22; border: 1px solid var(--rand); overflow: hidden; display: flex; }
.mini-glas span { height: 100%; }
.mini-schaerfe { font-size: .75rem; color: var(--leise); white-space: nowrap; }
.mini-schaerfe.heiss { color: #ff9b9b; font-weight: 700; }
.zustand-marke { font-size: .72rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; white-space: nowrap; background: var(--flaeche2); }
.zustand-marke.mixt { background: rgba(62, 230, 255, .18); color: var(--tuerkis); }
.zustand-marke.serviert, .zustand-marke.fertig { background: rgba(61, 220, 151, .16); color: var(--gut); }
.zustand-marke.geplatzt { background: rgba(255, 77, 77, .18); color: #ff9b9b; }
.zustand-marke.kauft { background: rgba(255, 207, 90, .16); color: var(--gold); }

.protokoll { max-height: 230px; overflow-y: auto; display: flex; flex-direction: column-reverse; gap: 4px; font-size: .86rem; }
.protokoll div { padding: 4px 8px; border-radius: 8px; background: rgba(255, 255, 255, .025); }
.protokoll .platzt { color: #ffb0b0; }
.protokoll .gut { color: #9ff0c9; }
.leitung { display: flex; flex-direction: column; gap: 8px; }

/* ── Einkauf ───────────────────────────────────────────────────────────── */
.abrechnung table { width: 100%; border-collapse: collapse; }
.abrechnung td { padding: 5px 4px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.abrechnung td.zahl { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; width: 70px; }
.abrechnung tr.summe td { font-weight: 800; border-bottom: none; border-top: 2px solid var(--rand); }
.minus { color: #ff9b9b; }
.kasse-leiste {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: space-between;
  padding: 12px 16px; border-radius: 12px; background: rgba(255, 207, 90, .08); border: 1px solid rgba(255, 207, 90, .35);
  margin-bottom: 14px;
}
.kasse-leiste .geld { font-size: 1.35rem; font-weight: 800; color: var(--gold); }
.korb { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; min-height: 44px; }
.korb-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; background: var(--flaeche2); border: 1px solid var(--rand); }
.korb-chip button { border: none; background: none; cursor: pointer; color: var(--leise); font-size: 1rem; padding: 0 2px; }
.korb-chip button:hover { color: #fff; }
.laden { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
/* Ortskarten: die Zutat ab Runde 5 ganz rechts unten, die ab Runde 3 direkt links daneben */
.laden .ware.spaet5 { grid-column: -2 / -1; }
.laden .ware.spaet3 { grid-column: -3 / -2; }
@media (max-width: 760px) { .laden { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .laden { grid-template-columns: minmax(0, 1fr); }
  .laden .ware.spaet5, .laden .ware.spaet3 { grid-column: auto; }
}
.ware { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .035); border: 1px solid var(--rand); display: flex; flex-direction: column; gap: 8px; }
.ware.gesperrt { opacity: .5; }
.ware-kopf { display: flex; gap: 10px; align-items: center; }
.ware-kopf small { display: block; color: var(--leise); font-size: .76rem; text-transform: uppercase; letter-spacing: .8px; }
.ware p { font-size: .86rem; color: #e6d9f7; margin: 0; flex: 1; }
.ware-knoepfe { display: flex; gap: 6px; flex-wrap: wrap; }
.chip-knopf {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 5px; border-radius: 999px;
  border: 1px solid var(--rand); background: var(--flaeche2); cursor: pointer; font-weight: 700; font-size: .88rem;
}
.chip-knopf:hover:not(:disabled) { background: #3a2960; border-color: var(--gold); }
.chip-knopf:disabled { opacity: .4; cursor: not-allowed; }
.chip-knopf .chip { width: 28px; height: 28px; font-size: .85rem; }
.chip-knopf .chip b { min-width: 15px; height: 15px; font-size: .62rem; line-height: 12px; }

/* ── Ende ──────────────────────────────────────────────────────────────── */
.podest { display: flex; justify-content: center; align-items: flex-end; gap: 16px; margin: 10px 0 24px; }
.podest-platz { text-align: center; width: 170px; }
.podest-platz .saeule {
  margin-top: 8px; border-radius: 12px 12px 0 0; display: flex; align-items: flex-start; justify-content: center;
  padding-top: 10px; font-size: 1.8rem; font-weight: 900; color: #1a0b16;
}
.podest-platz.p1 .saeule { height: 150px; background: linear-gradient(180deg, #ffe08a, #f4b400); }
.podest-platz.p2 .saeule { height: 110px; background: linear-gradient(180deg, #eef1f8, #aab3c7); }
.podest-platz.p3 .saeule { height: 80px; background: linear-gradient(180deg, #ffc8a0, #cd7f32); }
.podest-name { font-weight: 800; font-size: 1.1rem; overflow-wrap: anywhere; }
.podest-ruhm { color: var(--gold); font-weight: 800; }
.endtabelle { width: 100%; border-collapse: collapse; }
.endtabelle th, .endtabelle td { padding: 8px 6px; border-bottom: 1px solid rgba(255, 255, 255, .07); text-align: left; }
.endtabelle td.zahl, .endtabelle th.zahl { text-align: right; font-variant-numeric: tabular-nums; }
.verlauf-balken { display: flex; gap: 2px; align-items: flex-end; height: 26px; }
.verlauf-balken span { width: 9px; border-radius: 2px 2px 0 0; background: var(--tuerkis); }
.verlauf-balken span.platzt { background: var(--gefahr); }

/* ── Regeln ────────────────────────────────────────────────────────────── */
.regeln {
  width: min(860px, calc(100vw - 32px)); max-height: calc(100vh - 60px); max-height: calc(100dvh - 60px); padding: 26px 30px;
  border-radius: 18px; border: 1px solid var(--rand); background: var(--bg2); color: var(--text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.regeln::backdrop { background: rgba(8, 4, 14, .7); backdrop-filter: blur(3px); }
.regeln-zu { position: sticky; top: 0; float: right; margin: -10px -14px 0 0; }
.regeln h2 { margin-top: 1.1em; color: var(--gold); }
.regeln h2:first-of-type { margin-top: 0; }
.regeln ol, .regeln ul { padding-left: 1.3em; }
.regeln li { margin-bottom: .45em; }
.zutaten-tabelle { width: 100%; border-collapse: collapse; font-size: .92rem; }
.zutaten-tabelle td { padding: 7px 6px; border-bottom: 1px solid rgba(255, 255, 255, .07); vertical-align: middle; }
.zutaten-tabelle td:first-child { width: 48px; }
.gaeste-liste { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; font-size: .9rem; }

/* ── Meldungen ─────────────────────────────────────────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 96;
  padding: 12px 20px; border-radius: 12px; background: #2b1530; border: 1px solid var(--pink);
  box-shadow: var(--schatten); font-weight: 600; max-width: calc(100vw - 40px);
}
.knall {
  position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; pointer-events: none;
}
.knall div {
  font-family: var(--anzeige); font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 900; color: #fff;
  text-shadow: 0 0 20px var(--gefahr), 0 0 50px var(--gefahr);
  animation: knall 1.3s ease forwards;
}
@keyframes knall { 0% { transform: scale(.4); opacity: 0; } 25% { transform: scale(1.1); opacity: 1; } 70% { opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }

/* ── Schmale Fenster ───────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .spielflaeche { grid-template-columns: 1fr; }
  .seitenleiste { position: static; }
  .kurzregeln { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .app { padding: 14px 16px 50px; }
  .kopf { padding: 8px 16px; flex-wrap: wrap; }
  .kopf-mitte { order: 3; flex-basis: 100%; justify-content: flex-start; }
  .start-raster, .lobby { grid-template-columns: 1fr; }
  .tresen { grid-template-columns: 1fr; }
  .kennzahlen { grid-template-columns: 1fr 1fr; }
  .tischcode { font-size: 2.6rem; letter-spacing: 8px; }
  .gaeste-liste { grid-template-columns: 1fr; }
  .podest-platz { width: 30%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.ende-flaeche { max-width: 900px; margin: 0 auto; }

/* Vorfüllung im Großmarkt */
.vorfuell-karte { border-color: rgba(154, 128, 200, .55); }
.vorfuell-kopf { display: flex; gap: 18px; align-items: flex-start; }
.vorfuell-kopf h2 { margin-bottom: .3em; }
.vorfuell-glas {
  flex: none; width: 46px; height: 92px; border: 2px solid rgba(255, 255, 255, .6); border-top: none;
  border-radius: 0 0 10px 10px; position: relative; overflow: hidden; margin-top: 6px;
}
.vorfuell-glas span {
  position: absolute; left: 0; right: 0; bottom: 0; min-height: 0;
  background: repeating-linear-gradient(45deg, #7a5fa8 0 6px, #9a80c8 6px 10px);
  transition: height .3s ease;
}
.korken-zahl { color: #e8d5ff; font-weight: 700; margin-left: 4px; }

/* Chili-Nachschub */
.nachschub {
  margin-top: 10px; padding: 10px 16px; border-radius: 12px; font-weight: 600;
  background: rgba(230, 57, 70, .14); border: 1px solid rgba(230, 57, 70, .5);
  animation: aufploppen .5s ease;
}

/* ── Abrechnung als Bühne ──────────────────────────────────────────────── */
.buehne {
  position: fixed; inset: 0; z-index: 45; display: grid; place-items: center; padding: 20px;
  background: rgba(10, 5, 18, .82); backdrop-filter: blur(4px);
  animation: einblenden .3s ease;
}
.buehne.weg { animation: ausblenden .3s ease forwards; }
@keyframes einblenden { from { opacity: 0; } to { opacity: 1; } }
@keyframes ausblenden { to { opacity: 0; } }
.buehne-innen {
  width: min(1020px, 100%); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow: auto;
  background: linear-gradient(180deg, var(--flaeche), var(--bg2)); border: 1px solid var(--rand);
  border-radius: 18px; padding: 18px 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.buehne-kopf { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.buehne-kopf h2 { margin: 0; color: var(--gold); }
.buehne-zaehler { color: var(--leise); font-weight: 700; }
.buehne-raster { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 18px; }
.buehne-rang { position: relative; }
.bu-zeile {
  position: absolute; left: 0; right: 0; top: 0; height: 38px; display: flex; align-items: center; gap: 8px;
  padding: 0 12px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--rand);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1), background .3s, border-color .3s;
}
.bu-zeile.ich { border-color: var(--pink); }
.bu-zeile.jetzt { background: rgba(255, 207, 90, .16); border-color: var(--gold); }
.bu-name { flex: 1; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bu-sterne { color: var(--gold); white-space: nowrap; }
.bu-karte { position: relative; padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .03);
  border: 1px solid var(--rand); animation: aufploppen .35s ease; min-height: 330px; }
.bu-karte.platzt { animation: aufploppen .35s ease, wackeln .6s ease .9s; }
.bu-wer { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.bu-wer h3 { margin: 0; font-size: 1.3rem; }
.bu-inhalt { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 18px; align-items: start; }
.bu-glas-spalte { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bu-glas {
  width: 70px; height: 220px; display: flex; flex-direction: column-reverse; overflow: hidden;
  border: 3px solid rgba(255, 255, 255, .7); border-top: none; border-radius: 0 0 14px 14px;
  background: rgba(255, 255, 255, .04);
}
.bu-schicht { display: block; flex: none; transform-origin: bottom; animation: schicht-rein .35s ease backwards; animation-delay: var(--v); }
.bu-schicht.vorfuell { background: repeating-linear-gradient(45deg, #7a5fa8 0 6px, #9a80c8 6px 10px); }
@keyframes schicht-rein { from { transform: scaleY(0); opacity: 0; } to { transform: none; opacity: 1; } }
.bu-feld { font-weight: 800; }
.bu-posten { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.bu-posten li {
  display: grid; grid-template-columns: minmax(0, 1fr) 70px 64px 58px; gap: 6px; align-items: center;
  padding: 7px 10px; border-radius: 9px; background: rgba(255, 255, 255, .04);
  animation: posten-rein .35s ease backwards; animation-delay: var(--v);
}
.bu-posten .zahl { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
@keyframes posten-rein { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.bu-stempel {
  position: absolute; right: 18px; top: 14px; padding: 6px 14px; border-radius: 10px; font-weight: 900;
  font-size: 1.15rem; transform: rotate(-6deg); border: 3px solid var(--gefahr); color: #ffb3b3;
  animation: stempeln .4s ease backwards; animation-delay: var(--v);
}
.bu-stempel.gut { border-color: var(--gut); color: #a6f3cf; top: 14px; }
@keyframes stempeln { from { opacity: 0; transform: rotate(-6deg) scale(2.2); } to { opacity: 1; transform: rotate(-6deg) scale(1); } }
.bu-summe {
  margin-top: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap;
  padding-top: 12px; border-top: 2px solid var(--rand); font-weight: 800; font-size: 1.15rem;
  animation: posten-rein .4s ease backwards; animation-delay: var(--v);
}
.bu-neu b { font-size: 1.8rem; color: var(--gold); }
@media (max-width: 760px) {
  .buehne-raster { grid-template-columns: 1fr; }
  .bu-posten li { grid-template-columns: minmax(0, 1fr) 58px 52px 48px; font-size: .86rem; }
}

/* ── Zutaten als Schnapsgläser (ersetzt die runden Chips) ──────────────── */
.chip {
  background: none !important; border: none !important; border-radius: 0 !important; box-shadow: none !important;
  width: 34px; height: 40px; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .45));
}
.chip .shot { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chip em {
  position: absolute; left: 50%; top: 60%; transform: translate(-50%, -50%);
  font-style: normal; font-size: .62em; line-height: 1; pointer-events: none;
}
.chip b { right: -7px; bottom: -3px; }
.chip i { left: -8px; top: -5px; }
.chip.klein { width: 24px; height: 28px; font-size: .9rem; }
.chip.klein em { font-size: .5em; }
.letzter-zug .chip { width: 48px; height: 56px; font-size: 1.6rem; }
.chip-knopf .chip { width: 24px; height: 28px; font-size: .95rem; }
.ware-kopf .chip { width: 34px; height: 40px; }
.alk { color: #ffd6a5; }

/* ── Schaum auf der Oberfläche ─────────────────────────────────────────── */
.glas-svg .schaum { fill: #fff6e6; opacity: .9; transform-box: fill-box; transform-origin: 50% 100%;
  animation: schaum-wippen 3.2s ease-in-out infinite; }
.glas-svg .schaum.gross { opacity: .95; }
.glas-svg .schaum .pore { fill: rgba(200, 180, 150, .35); }
@keyframes schaum-wippen { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.08); } }

/* ── Kohlensäure im eigenen Glas ───────────────────────────────────────── */
.glas-svg .blase {
  fill: rgba(255, 255, 255, .8); opacity: 0;
  animation: blubbern var(--d) linear infinite; animation-delay: var(--v);
}
@keyframes blubbern {
  0% { transform: translate(0, 0); opacity: 0; }
  12% { opacity: .85; }
  50% { transform: translate(var(--x), calc(var(--hub) * .5)); }
  88% { opacity: .55; }
  100% { transform: translate(0, var(--hub)); opacity: 0; }
}

/* ── Avatare ───────────────────────────────────────────────────────────── */
.avatar {
  width: 30px; height: 30px; border-radius: 50%; flex: none; object-fit: cover;
  border: 2px solid var(--f, #888); box-shadow: 0 0 8px color-mix(in srgb, var(--f, #888) 60%, transparent);
  background: #150e22;
}
.avatar.ohne {
  display: inline-grid; place-items: center; font-weight: 900; font-size: .9rem; color: #1a0b16;
  background: var(--f, #888);
}
.avatar.klein { width: 22px; height: 22px; font-size: .7rem; border-width: 1.5px; }
.avatar.gross { width: 54px; height: 54px; font-size: 1.4rem; border-width: 3px; }
.podest-platz .avatar.gross { width: 64px; height: 64px; margin: 0 auto 6px; display: block; }
.podest-platz .avatar.gross.ohne { display: grid; }
.mit-avatar { display: flex; align-items: center; gap: 8px; }
.avatar-wahl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.avatar-vorschau {
  width: 52px; height: 52px; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  background: #150e22; border: 2px dashed var(--rand); font-size: 1.5rem;
}
.avatar-vorschau img { width: 100%; height: 100%; object-fit: cover; }

/* ── Showdown, Entscheidungen, Tricks, Nachbarn ────────────────────────── */
.statusband.showdown { background: rgba(255, 207, 90, .12); border-color: rgba(255, 207, 90, .55); }
.knopf.gewaehlt { outline: 3px solid #fff; outline-offset: 2px; }
.entscheidung {
  display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; border-radius: 12px;
  background: rgba(181, 23, 158, .12); border: 1px solid rgba(181, 23, 158, .5); animation: aufploppen .3s ease;
}
.entscheidung.platzt { background: rgba(255, 77, 77, .12); border-color: rgba(255, 77, 77, .5); }
.auswahl-reihe { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.auswahl-knopf { padding: 8px 14px 8px 8px; }
.auswahl-knopf .chip { width: 34px; height: 40px; font-size: 1.05rem; }
.nachbarn {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 9px 12px; border-radius: 12px;
  background: rgba(45, 106, 79, .2); border: 1px solid rgba(45, 106, 79, .6); font-size: .9rem;
}
.nachbar { display: inline-flex; align-items: center; gap: 5px; }
.nachbar b { color: #95d5b2; }
.nachbar.ich { font-weight: 700; }
.trick-karte { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-top: 16px; }
.trick-karte.benutzt { opacity: .6; }
.trick-emoji { font-size: 2.4rem; text-align: center; }
.trick-titel { font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); font-weight: 800; }
.trick-text h3 { margin: 2px 0; }
.trick-text p { margin: 0; color: #e6d9f7; font-size: .9rem; }
.trick-marke { font-size: .85rem; }
.trick-marke.weg { opacity: .3; filter: grayscale(1); }
.karte-b { font-size: .72rem; font-weight: 800; color: var(--gold); }
.zutaten-tabelle td.gilt { background: rgba(255, 207, 90, .1); border-radius: 8px; }
.zutaten-tabelle td.gilt-nicht { opacity: .45; }

/* ── Glücksrad in der Abrechnung ───────────────────────────────────────── */
.rad-box {
  position: relative; width: 180px; margin: 14px auto 0; display: flex; flex-direction: column; align-items: center;
  animation: posten-rein .35s ease backwards; animation-delay: var(--v);
}
.rad-zeiger { font-size: 1.4rem; line-height: 1; color: #fff; text-shadow: 0 0 8px #000; z-index: 2; margin-bottom: -6px; }
.rad {
  position: relative; width: 160px; height: 160px; border-radius: 50%; border: 4px solid #fff;
  box-shadow: 0 0 24px rgba(255, 207, 90, .45);
  animation: rad-drehen 2s cubic-bezier(.15, .85, .25, 1) both; animation-delay: var(--v, 0ms);
}
.rad-box .rad { animation-delay: inherit; }
.rad span {
  position: absolute; left: 50%; top: 50%; width: 70px; margin-left: -35px; text-align: center;
  font-size: .62rem; font-weight: 800; color: #1a0b16;
  transform: rotate(var(--w)) translateY(-52px) rotate(calc(-1 * var(--w)));
}
@keyframes rad-drehen { from { transform: rotate(0); } to { transform: rotate(var(--ziel)); } }
.rad-ergebnis {
  margin-top: 8px; font-weight: 900; color: var(--gold);
  animation: posten-rein .35s ease backwards; animation-delay: var(--v);
}

/* ══ Orte und Karten ═════════════════════════════════════════════════════ */

/* ── Wahl von Ort und Karte in der Lobby ───────────────────────────────── */
.lobby > .karte { margin-top: 0; }
.ortswahl { grid-column: 1 / -1; }
.heute { margin: 16px 0 0; }
.ort-reiter-reihe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 12px 0 16px; }
.ort-reiter {
  position: relative; text-align: left; padding: 12px 14px; border-radius: 12px; cursor: pointer;
  background: rgba(255, 255, 255, .035); border: 1px solid var(--rand); color: var(--text);
  display: flex; flex-direction: column; gap: 3px; transition: background .15s, border-color .15s;
}
.ort-reiter:hover { background: rgba(255, 255, 255, .07); }
.ort-reiter:focus-visible { outline: 3px solid var(--tuerkis); outline-offset: 2px; }
.ort-reiter .ort-emoji { font-size: 1.9rem; line-height: 1.1; }
.ort-reiter b { font-family: var(--anzeige); font-size: 1.08rem; }
.ort-reiter small { color: var(--leise); font-size: .78rem; line-height: 1.3; }
.ort-reiter.offen { border-color: var(--tuerkis); background: rgba(255, 255, 255, .08); }
.ort-reiter.gewaehlt { box-shadow: 0 0 0 2px var(--gold) inset; }
.ort-haken { color: var(--gold); font-weight: 800; font-size: .84rem; }
.ort-reiter .ort-haken { position: absolute; top: 10px; right: 12px; }
.ortskarten { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 14px; }
.ortskarte {
  padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--rand);
  display: flex; flex-direction: column; gap: 12px;
}
.ortskarte.gewaehlt { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.ortskarte h3 { margin: 0 0 2px; font-size: 1.25rem; }
.ortskarte-gefuehl { margin: 0; font-weight: 700; color: var(--tuerkis); }
.ortskarte-zutaten { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ortskarte-zutaten li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: start; font-size: .86rem; }
.ortskarte-zutaten .chip { width: 30px; height: 36px; font-size: 1rem; }
.ortskarte-zutaten small { color: var(--leise); }
.ortskarte-zutaten p { margin: 1px 0 0; opacity: .88; }
.ortskarte-wege { font-size: .88rem; padding-top: 10px; border-top: 1px dashed var(--rand); }
.ortskarte-wege ul { margin: 6px 0 0; padding-left: 18px; }
.ortskarte-wege li + li { margin-top: 3px; }
.klassik-chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* ── Zeitleiste des Abends an der Gastkarte ────────────────────────────── */
.gastkarte .abend { display: inline-block; margin-left: 8px; color: var(--gold); font-size: .8rem; font-weight: 700; }

/* ── Glasformen ────────────────────────────────────────────────────────── */
.glas-seite { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.glas-svg .schiff { transform-box: fill-box; transform-origin: 50% 100%; animation: schiff-schaukeln 2.6s ease-in-out infinite; }
@keyframes schiff-schaukeln {
  0%, 100% { transform: rotate(calc(var(--amp, 4deg) * -1)); }
  50% { transform: rotate(var(--amp, 4deg)); }
}

/* ── Kopfbedeckung über dem Avatar ─────────────────────────────────────── */
.av { position: relative; display: inline-flex; flex: none; vertical-align: middle; }
.av .hut {
  position: absolute; left: 50%; top: -36%; width: 98%; height: auto; transform: translateX(-50%) rotate(-9deg);
  pointer-events: none; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .55));
}
.podest-platz .av { display: flex; width: 64px; margin: 14px auto 6px; }
.podest-platz .av .avatar.gross { margin: 0; }
.gaesteliste .av, .mitspieler .av { margin-top: 4px; }
.podest-titel {
  display: inline-block; margin: 2px 0; padding: 1px 10px; border-radius: 999px; background: var(--gold); color: #2a1a00;
  font-size: .74rem; font-weight: 800; letter-spacing: .3px;
}
.titel-marke {
  padding: 1px 8px; border-radius: 999px; background: var(--gold); color: #2a1a00; font-size: .7rem; font-weight: 800;
}
.titel-marke.letzter { background: rgba(255, 255, 255, .14); color: var(--text); }

/* ── Die Loge: zwei Zaungäste mit Sprechblasen ─────────────────────────── */
.loge {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; gap: 8px; align-items: end;
  padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .035); border: 1px solid var(--rand);
  min-height: 118px;
}
.loge-figur { display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: .68rem; color: var(--leise); font-weight: 700; }
.loge-figur svg { width: 50px; height: 50px; }
.loge-figur.spricht svg { animation: loge-wippen .45s ease 2; }
@keyframes loge-wippen { 50% { transform: translateY(-5px) rotate(-5deg); } }
.loge-worte { display: flex; flex-direction: column; gap: 5px; align-self: center; font-size: .84rem; line-height: 1.3; min-width: 0; }
.loge-satz { padding: 6px 9px; border-radius: 10px; background: rgba(255, 255, 255, .09); animation: loge-rein .25s ease; overflow-wrap: anywhere; }
.loge-satz.a { border-bottom-left-radius: 2px; margin-right: 12px; }
.loge-satz.b { border-bottom-right-radius: 2px; margin-left: 12px; background: rgba(255, 255, 255, .15); }
.loge-satz b { color: var(--gold); font-weight: 800; }
.loge-still { color: var(--leise); font-size: .8rem; text-align: center; font-style: italic; }
@keyframes loge-rein { from { opacity: 0; transform: translateY(6px); } }
.loge.fest { min-height: 0; margin-top: 12px; text-align: left; }
.loge.fest .loge-satz { animation: none; }
.bu-loge { opacity: 0; animation: einblenden .4s ease forwards; animation-delay: var(--v, 0ms); }
.buehne-seite { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
/* In der schmalen Spalte stehen die zwei Köpfe oben nebeneinander, die Sätze darunter. */
.bu-loge .loge.fest { grid-template-columns: 1fr 1fr; margin-top: 0; align-items: start; }
.bu-loge .loge-worte { grid-column: 1 / -1; grid-row: 2; }
.bu-loge .loge-figur { flex-direction: row; gap: 6px; font-size: .78rem; }
.bu-loge .loge-figur.b { justify-content: flex-end; flex-direction: row-reverse; }
.bu-loge .loge-figur svg { width: 38px; height: 38px; }
.podest + .loge.fest { max-width: 620px; margin-left: auto; margin-right: auto; }

/* ── Farbwelten ────────────────────────────────────────────────────────── */
body[data-ort="hamburg"] {
  --bg: #0a1623; --bg2: #0f2033; --flaeche: #14283d; --flaeche2: #1a3350; --rand: #2c4a68;
  --leise: #9fb8cf; --pink: #ff6b5e; --tuerkis: #5ad1e6; --gold: #e9c46a;
  background:
    repeating-linear-gradient(104deg, rgba(255, 255, 255, .028) 0 1px, transparent 1px 23px),
    radial-gradient(1100px 520px at 12% -10%, rgba(90, 209, 230, .17), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(255, 107, 94, .13), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
body[data-ort="hamburg"] .knopf.haupt { background: linear-gradient(135deg, #ff6b5e, #f4a259); box-shadow: 0 6px 22px rgba(255, 107, 94, .35); }
body[data-ort="hamburg"] .knopf.haupt:hover:not(:disabled) { background: linear-gradient(135deg, #ff8377, #f7b577); }

body[data-ort="rockimpark"] {
  --bg: #0b0b0e; --bg2: #121217; --flaeche: #19191f; --flaeche2: #23232c; --rand: #3a3a48;
  --leise: #a9a9b8; --pink: #ff2e88; --tuerkis: #b6ff3c; --gold: #ffd23f;
  background:
    conic-gradient(from 196deg at 22% -12%, transparent 0 7deg, rgba(182, 255, 60, .11) 7deg 15deg, transparent 15deg 360deg),
    conic-gradient(from 148deg at 78% -12%, transparent 0 7deg, rgba(255, 46, 136, .13) 7deg 16deg, transparent 16deg 360deg),
    radial-gradient(900px 500px at 50% 120%, rgba(255, 210, 63, .07), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
body[data-ort="rockimpark"] .knopf.haupt { background: linear-gradient(135deg, #ff2e88, #ff7a00); box-shadow: 0 6px 22px rgba(255, 46, 136, .35); }
body[data-ort="rockimpark"] .knopf.haupt:hover:not(:disabled) { background: linear-gradient(135deg, #ff5aa1, #ff9433); }
body[data-ort="rockimpark"] .knopf.kuehl { background: linear-gradient(135deg, #b6ff3c, #5be37d); box-shadow: 0 6px 22px rgba(182, 255, 60, .25); color: #0d1a00; }
body[data-ort="rockimpark"] .knopf.kuehl:hover:not(:disabled) { background: linear-gradient(135deg, #c9ff6b, #7deb97); }

body[data-ort="muenchen"] {
  --bg: #0d1a2e; --bg2: #12233d; --flaeche: #17294a; --flaeche2: #1e3661; --rand: #34568c;
  --leise: #a9c0e0; --pink: #4aa3ff; --tuerkis: #9fd3ff; --gold: #ffd166;
  background:
    repeating-linear-gradient(60deg, rgba(255, 255, 255, .032) 0 26px, transparent 26px 52px),
    repeating-linear-gradient(-60deg, rgba(74, 163, 255, .055) 0 26px, transparent 26px 52px),
    radial-gradient(1000px 520px at 50% -10%, rgba(255, 209, 102, .10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
body[data-ort="muenchen"] .knopf.haupt { background: linear-gradient(135deg, #ffd166, #f4a259); box-shadow: 0 6px 22px rgba(255, 209, 102, .3); color: #2a1a00; }
body[data-ort="muenchen"] .knopf.haupt:hover:not(:disabled) { background: linear-gradient(135deg, #ffdc8a, #f7b577); }
body[data-ort="muenchen"] .knopf.kuehl { background: linear-gradient(135deg, #4aa3ff, #9fd3ff); box-shadow: 0 6px 22px rgba(74, 163, 255, .3); color: #06203f; }
body[data-ort="muenchen"] .knopf.kuehl:hover:not(:disabled) { background: linear-gradient(135deg, #6db5ff, #b8dfff); }

body[data-ort="hamburg"] .knopf:hover:not(:disabled):not(.haupt):not(.kuehl),
body[data-ort="rockimpark"] .knopf:hover:not(:disabled):not(.haupt):not(.kuehl),
body[data-ort="muenchen"] .knopf:hover:not(:disabled):not(.haupt):not(.kuehl) { background: var(--flaeche2); }
body[data-ort="hamburg"] .einladung code,
body[data-ort="rockimpark"] .einladung code,
body[data-ort="muenchen"] .einladung code { background: var(--bg); }

@media (max-width: 900px) {
  .ort-reiter-reihe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ══ Runde 2: Ziehung, Glücksrad, Effekte, Korken, Handy ══════════════════ */

/* ── Tischname ─────────────────────────────────────────────────────────── */
.tischname-gross {
  font-family: var(--anzeige); font-size: clamp(1.7rem, 3.6vw, 2.8rem); font-weight: 900; line-height: 1.15;
  overflow-wrap: anywhere; color: var(--gold); text-shadow: 0 0 18px rgba(255, 207, 90, .4); margin: 4px 0 10px;
}
.kopf-tisch { color: var(--gold); font-weight: 800; }
.logo { flex: none; }
.runden-perlen { flex: none; }
.ende-tisch { margin: -4px 0 6px; color: var(--gold); font-weight: 700; }
.sitz-nr {
  flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-size: .78rem; font-weight: 800; background: var(--flaeche2); border: 1px solid var(--rand); color: var(--leise);
}
.ortskarte-raetsel { margin: 0; padding-top: 10px; border-top: 1px dashed var(--rand); }

/* ── Tischnachbarn ─────────────────────────────────────────────────────── */
.nachbar-marke {
  font-size: .66rem; font-weight: 800; padding: 1px 6px; border-radius: 999px; letter-spacing: .3px;
  background: rgba(61, 220, 151, .18); color: #a6f3cf; border: 1px solid rgba(61, 220, 151, .45);
}
.nachbarn { display: block; }
.nachbarn-titel { font-weight: 700; margin-bottom: 6px; }
.nachbarn-reihe { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ── Erklärung der letzten Zutat ───────────────────────────────────────── */
.letzter-text { display: block; margin-top: 3px; color: #e8dcff; font-size: .92rem; line-height: 1.35; }

/* ── Einkauf: Abstand zwischen Trick und Laden ─────────────────────────── */
.laden-karte { margin-top: 18px; }
#b-trick:empty + .laden-karte { margin-top: 16px; }

/* ── Korken einsetzen ──────────────────────────────────────────────────── */
.korken-kopf { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.korken-kopf h2 { margin: 0 0 2px; }
.korken-kopf p { margin: 0; }
.korken-zahl-gross {
  flex: none; min-width: 92px; padding: 10px 14px; border-radius: 16px; text-align: center;
  font-family: var(--anzeige); font-size: 2.3rem; font-weight: 900; line-height: 1; color: var(--gold);
  background: rgba(255, 207, 90, .1); border: 2px solid rgba(255, 207, 90, .5);
}
.korken-zahl-gross span { display: block; font-size: 1.3rem; margin-top: 4px; }
.korken-optionen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.korken-option {
  display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--rand);
}
.korken-option.geht { border-color: rgba(255, 207, 90, .6); background: rgba(255, 207, 90, .06); }
.korken-option p { margin: 0; font-size: .88rem; line-height: 1.4; }
.ko-kopf { display: flex; align-items: center; gap: 8px; }
.ko-kopf b { flex: 1; font-size: 1rem; }
.ko-emoji { font-size: 1.4rem; }
.ko-preis {
  white-space: nowrap; font-weight: 800; font-size: .8rem; padding: 2px 8px; border-radius: 999px;
  background: var(--flaeche2); border: 1px solid var(--rand);
}
.ko-stand { color: #f0e4ff; }
.ko-fehlt { font-size: .8rem; color: #ffb3b3; }
.ko-tipp { margin: 12px 0 0; }
.vorfuell-leiste { height: 8px; border-radius: 4px; background: #150e22; border: 1px solid var(--rand); overflow: hidden; }
.vorfuell-leiste span { display: block; height: 100%; background: repeating-linear-gradient(45deg, #7a5fa8 0 6px, #9a80c8 6px 10px); }

/* ── Ziehung: der Stapel vor der Runde ─────────────────────────────────── */
.ziehung-karte { text-align: center; padding: 22px 22px 18px; }
.ziehung-zeile { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; align-items: center; }
.ziehung-zeile .gast-art {
  display: inline-block; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px;
  padding: 2px 8px; border-radius: 999px; background: var(--tuerkis); color: #04232b;
}
.ziehung-zeile .abend { color: var(--gold); font-weight: 700; font-size: .9rem; }
.ziehung-karte h2 { margin: 10px 0 6px; font-size: 1.6rem; }
.stapel-bild {
  position: relative; display: block; width: 170px; height: 236px; margin: 18px auto 10px; padding: 0;
  background: none; border: none; cursor: pointer;
}
.stapel-bild:disabled { cursor: default; }
.stapel-karte {
  position: absolute; inset: 0; border-radius: 16px; border: 3px solid rgba(255, 255, 255, .85);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .18) 0 18%, transparent 19%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .08) 0 8px, transparent 8px 16px),
    linear-gradient(150deg, var(--pink), #6a2c91 55%, var(--tuerkis));
  box-shadow: 0 8px 22px rgba(0, 0, 0, .45);
  transform: translate(calc(var(--i) * -3px), calc(var(--i) * -3px)) rotate(calc((var(--i) - 2) * 2.2deg));
}
.stapel-bild:not(:disabled):hover .stapel-karte:last-of-type,
.stapel-bild:not(:disabled):focus-visible .stapel-karte:last-of-type { transform: translate(-12px, -22px) rotate(-4deg); }
.stapel-bild:not(:disabled) .stapel-karte:last-of-type { transition: transform .25s ease; animation: stapel-locken 2.2s ease-in-out infinite; }
@keyframes stapel-locken { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.stapel-zahl {
  position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); z-index: 2;
  padding: 3px 12px; border-radius: 999px; background: var(--bg); border: 2px solid var(--gold); color: var(--gold);
  font-size: 1rem; white-space: nowrap;
}
.stapel-zahl small { margin-left: 4px; font-size: .72rem; color: var(--leise); }
.ziehung-wer { font-size: 1.1rem; margin: 22px 0 12px; display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; }
.knopf.riesig { padding: 18px 34px; font-size: 1.3rem; border-radius: 16px; }
.ziehung-karte .knopf.riesig { animation: knopf-pulsieren 1.6s ease-in-out infinite; }
@keyframes knopf-pulsieren { 0%, 100% { box-shadow: 0 6px 22px rgba(255, 79, 163, .35); } 50% { box-shadow: 0 6px 34px rgba(255, 79, 163, .75); } }
body[data-ort="hamburg"] .stapel-karte { background: radial-gradient(circle, rgba(255,255,255,.2) 0 18%, transparent 19%), repeating-linear-gradient(45deg, rgba(255,255,255,.08) 0 8px, transparent 8px 16px), linear-gradient(150deg, #ff6b5e, #14283d 55%, #5ad1e6); }
body[data-ort="rockimpark"] .stapel-karte { background: radial-gradient(circle, rgba(255,255,255,.2) 0 18%, transparent 19%), repeating-linear-gradient(45deg, rgba(255,255,255,.08) 0 8px, transparent 8px 16px), linear-gradient(150deg, #ff2e88, #19191f 55%, #b6ff3c); }
body[data-ort="muenchen"] .stapel-karte { background: repeating-linear-gradient(60deg, rgba(255,255,255,.22) 0 12px, transparent 12px 24px), repeating-linear-gradient(-60deg, rgba(74,163,255,.5) 0 12px, transparent 12px 24px), #1e3661; }

/* ── Ziehung: die Karten laufen durch ──────────────────────────────────── */
.ziehung-overlay, .rad-overlay {
  position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 16px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 40%, rgba(40, 20, 70, .94), rgba(8, 4, 14, .97));
  animation: einblenden .25s ease;
}
.ziehung-overlay.weg, .rad-overlay.weg { animation: ausblenden .25s ease forwards; }
.ziehung-kopf, .rad-kopf { text-align: center; }
.ziehung-kopf h2, .rad-kopf h2 { margin: 4px 0 0; font-size: clamp(1.3rem, 3.4vw, 2.2rem); color: #fff; }
.ziehung-runde, .rad-ueber { color: var(--gold); font-weight: 800; letter-spacing: .5px; }
.ziehung-fenster {
  position: relative; width: min(1100px, 100%); height: 300px; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.ziehung-marke {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; z-index: 3;
  background: linear-gradient(180deg, transparent, var(--gold) 12%, var(--gold) 88%, transparent);
  box-shadow: 0 0 16px var(--gold);
}
.ziehung-marke::before, .ziehung-marke::after {
  content: ''; position: absolute; left: 50%; width: 0; height: 0; transform: translateX(-50%);
  border-left: 12px solid transparent; border-right: 12px solid transparent;
}
.ziehung-marke::before { top: 0; border-top: 16px solid var(--gold); }
.ziehung-marke::after { bottom: 0; border-bottom: 16px solid var(--gold); }
.ziehung-streifen { position: absolute; left: 0; top: 30px; display: flex; gap: 18px; will-change: transform; }
.ziehung-streifen.einrasten { transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.zkarte {
  flex: none; width: 172px; height: 240px; border-radius: 16px; padding: 12px 12px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; overflow: hidden;
  background: linear-gradient(170deg, #fffaf0, #f3e3c6); color: #2a1a10; border: 4px solid var(--gold);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .5);
}
.zkarte.ereignis { border-color: var(--tuerkis); background: linear-gradient(170deg, #f0fdff, #cfeff5); }
.zkarte-art {
  font-size: .66rem; font-weight: 900; text-transform: uppercase; letter-spacing: 1.4px; padding: 2px 9px;
  border-radius: 999px; background: var(--gold); color: #2a1a00;
}
.zkarte.ereignis .zkarte-art { background: var(--tuerkis); color: #04232b; }
.zkarte-emoji { font-size: 3.4rem; line-height: 1.05; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .25)); }
.zkarte-name { font-size: 1rem; line-height: 1.15; }
.zkarte-text { font-size: .74rem; line-height: 1.3; color: #4a3a2a; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ziehung-overlay.gestoppt .zkarte:not(.ziel) { opacity: .35; filter: saturate(.4); transition: opacity .4s, filter .4s; }
.ziehung-overlay.gestoppt .zkarte.ziel { animation: karte-gewinnt .6s cubic-bezier(.2, 1.4, .4, 1) forwards; }
@keyframes karte-gewinnt { to { transform: scale(1.12); box-shadow: 0 0 0 4px #fff, 0 0 46px var(--gold); } }
.ziehung-unten { display: flex; flex-direction: column; align-items: center; gap: 12px; min-height: 60px; }
.ziehung-ergebnis {
  max-width: 640px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 1.08rem; animation: ergebnis-rein .45s cubic-bezier(.2, 1.4, .4, 1);
}
.ziehung-ergebnis[hidden] { display: none; }
.ziehung-ergebnis b { font-size: 1.5rem; color: #fff; }
.ziehung-ergebnis-art {
  font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: 1.4px; padding: 2px 9px;
  border-radius: 999px; background: var(--gold); color: #2a1a00;
}
.ziehung-ergebnis-art.ereignis { background: var(--tuerkis); color: #04232b; }

/* ── Glücksrad über den ganzen Schirm ──────────────────────────────────── */
.rad-overlay { gap: 10px; }
.rad-buehne { flex: 1; min-height: 0; width: 100%; display: grid; place-items: center; }
.rad-svg { width: min(94vw, calc(100vh - 230px), 980px); width: min(94vw, calc(100dvh - 230px), 980px); height: auto; max-height: 100%; overflow: visible; }
.rad-svg .lampe { fill: #ffe9a8; filter: drop-shadow(0 0 6px #ffcf5a); animation: lampe 1.2s steps(1) infinite; }
.rad-svg .lampe.b { animation-delay: .6s; }
.rad-overlay.dreht .rad-svg .lampe { animation-duration: .24s; }
.rad-overlay.dreht .rad-svg .lampe.b { animation-delay: .12s; }
@keyframes lampe { 0% { fill: #fff6cf; } 50% { fill: #7a5a1a; filter: none; } }
.rad-svg .rad-zunge { transform-box: fill-box; transform-origin: 50% 0; }
.rad-svg .rad-teil.gewinn { animation: rad-gewinn 0.7s ease-in-out 4; }
@keyframes rad-gewinn { 50% { filter: brightness(1.45) saturate(1.2); } }
.rad-unten { display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 70px; }
.rad-knopf { min-width: 260px; }
.rad-knopf:not(:disabled) { animation: knopf-pulsieren 1.4s ease-in-out infinite; }
.rad-ergebnis-gross {
  position: absolute; left: 50%; top: 62%; z-index: 5; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 14px; padding: 14px 30px; border-radius: 20px; white-space: nowrap;
  background: rgba(20, 10, 36, .94); border: 3px solid var(--gold); font-size: clamp(1.5rem, 4vw, 2.6rem);
  box-shadow: 0 0 0 6px rgba(255, 207, 90, .18), 0 0 60px rgba(255, 207, 90, .55);
  animation: rad-ergebnis-rein .55s cubic-bezier(.2, 1.5, .4, 1);
}
.rad-ergebnis-gross[hidden] { display: none; }
@keyframes rad-ergebnis-rein { from { transform: translate(-50%, -50%) scale(.3); opacity: 0; } }
.rad-ergebnis-gross b { color: #fff; }
.rad-ergebnis-emoji { font-size: 1.5em; }
@keyframes ergebnis-rein { from { transform: scale(.3); opacity: 0; } }

/* ── Konfetti ──────────────────────────────────────────────────────────── */
.konfetti { position: fixed; inset: 0; pointer-events: none; z-index: 80; overflow: hidden; }
.konfetti i {
  position: absolute; left: 50%; top: 38%; width: 10px; height: 14px; border-radius: 2px; opacity: 0;
  animation: konfetti var(--d) cubic-bezier(.15, .7, .4, 1) var(--v) forwards;
}
@keyframes konfetti {
  0% { opacity: 1; transform: translate(0, 0) rotate(0); }
  20% { opacity: 1; transform: translate(calc(var(--x) * .6), -18vh) rotate(calc(var(--r) * .3)); }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)); }
}

/* ── Zutat mit besonderer Wirkung ──────────────────────────────────────── */
.effekt {
  position: fixed; z-index: 65; pointer-events: none; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.effekt-zeile {
  white-space: nowrap; font-family: var(--anzeige); font-weight: 900; font-size: 1.15rem; color: #fff;
  padding: 5px 14px; border-radius: 999px; background: rgba(20, 13, 31, .88); border: 2px solid var(--c);
  box-shadow: 0 0 18px var(--c); opacity: 0;
  animation: effekt-steigt 1.9s cubic-bezier(.2, 1.2, .4, 1) var(--v) forwards;
}
.effekt.gross .effekt-zeile { font-size: 1.7rem; padding: 8px 20px; border-width: 3px; }
.effekt-zeile.doppelt, .effekt-zeile.extra { color: #ffe27a; border-color: #ffcf5a; box-shadow: 0 0 26px #ffcf5a, 0 0 60px rgba(255, 207, 90, .5); }
.effekt-zeile.kuehl, .effekt-zeile.bereit { color: #cff8ff; border-color: #7fe7ff; box-shadow: 0 0 20px #7fe7ff; }
.effekt-zeile.stern { color: #ffe27a; }
.effekt-zeile.korken { color: #ffd7b0; }
.effekt-zeile.geld { color: #a6f3cf; border-color: #3ddc97; }
.effekt-zeile.grenze { color: #a6f3cf; border-color: #3ddc97; }
.effekt-zeile.probieren { color: #ffc2e2; border-color: #ff4fa3; }
@keyframes effekt-steigt {
  0% { opacity: 0; transform: scale(.3) translateY(20px); }
  18% { opacity: 1; transform: scale(1.18) translateY(0); }
  30% { transform: scale(1); }
  75% { opacity: 1; transform: translateY(-34px); }
  100% { opacity: 0; transform: translateY(-60px); }
}
.effekt i {
  position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-radius: 50%;
  background: var(--c); box-shadow: 0 0 10px var(--c); opacity: 0;
  animation: funke .9s ease-out forwards;
}
.effekt.gross i { width: 11px; height: 11px; background: #ffe27a; box-shadow: 0 0 12px #ffcf5a; }
@keyframes funke {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(.2); }
}
.glas-svg.glas-leuchtet { animation: glas-leuchtet 1.1s ease; }
@keyframes glas-leuchtet {
  0% { filter: none; }
  25% { filter: drop-shadow(0 0 18px rgba(255, 207, 90, .95)) brightness(1.18); transform: scale(1.03); }
  100% { filter: none; transform: none; }
}

/* ── Abrechnung: Weiter auf Knopfdruck ─────────────────────────────────── */
.buehne-links { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.bu-weiter-zeile {
  position: sticky; bottom: -18px; z-index: 2; display: flex; justify-content: flex-end; align-items: center; gap: 12px;
  padding: 10px 0 2px; background: linear-gradient(180deg, transparent, var(--bg2) 35%);
}
.bu-weiter-zeile .knopf { min-width: 200px; }
.bu-posten li.spaeter, .bu-summe.spaeter { display: none; }
.bu-posten li.rad-posten { background: rgba(255, 207, 90, .14); border: 1px solid rgba(255, 207, 90, .5); }
.bu-karte.sofort, .bu-karte.sofort * { animation-delay: 0ms !important; animation-duration: .01ms !important; }
.buehne-seite #bu-zuruf:not(:empty) { margin-bottom: 12px; }
.buehne-seite .bu-loge { opacity: 1; animation: einblenden .4s ease; }

/* ── Handy ─────────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  /* Kopfzeile: drei schmale Zeilen statt einer zu breiten – nichts darf die Seite breiter machen als das Handy.
     Oben Logo und Schalter, darunter Ort, Tisch und Runde, ganz unten (nur Spielleitung) die Notfallknöpfe. */
  .kopf { position: static; padding: 8px 12px; gap: 8px; flex-wrap: wrap; }
  /* Schmaler als die Zeile neben den Schaltern Platz hat – sonst brechen die Knöpfe um. */
  .logo-text img { height: auto; width: min(160px, 42vw); }
  .kopf-rechts { display: contents; }
  .logo { order: 1; }
  .verbindung { order: 2; margin-left: auto; font-size: 0; gap: 0; }
  #knopf-ton, #knopf-regeln { order: 2; padding: 7px 11px; }
  .kopf .lang { display: none; }
  .kopf-mitte { order: 3; flex-basis: 100%; justify-content: space-between; gap: 10px; }
  .phase-name { white-space: normal; font-size: .9rem; }
  .kopf-leitung { order: 4; flex-basis: 100%; justify-content: flex-start; }
  .kopf-leitung:empty { display: none; }
  /* Spielfläche: Knöpfe über die ganze Breite */
  .app { padding: 12px 10px 50px; }
  .spielflaeche .karte { padding-left: 12px; padding-right: 12px; }
  .letzter-zug.leer { display: none; }
  .bedienung #b-letzter { order: 1; }
  .bedienung #b-entscheidung { order: 2; }
  .bedienung #b-knoepfe { order: 3; }
  .bedienung #b-shaker { order: 4; margin-top: -4px; }
  .bedienung #b-nachbarn { order: 5; }
  .bedienung #b-zahlen { order: 6; }
  .bedienung .tasten-hinweis { display: none; }
  .zug-zeile#b-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
  .zug-zeile#b-knoepfe .knopf { width: 100%; min-width: 0; padding: 16px 8px; font-size: 1.08rem; justify-content: center; text-align: center; }
  .zug-zeile#b-knoepfe .knopf.leise { grid-column: 1 / -1; padding: 9px 8px; font-size: .95rem; }
  .korken-optionen { grid-template-columns: 1fr; }
  .korken-kopf { align-items: flex-start; }
  .korken-zahl-gross { min-width: 72px; font-size: 1.9rem; }
  .ziehung-fenster { height: 250px; }
  .zkarte { width: 138px; height: 198px; padding: 9px; }
  .zkarte-emoji { font-size: 2.6rem; }
  .zkarte-name { font-size: .86rem; }
  .zkarte-text { font-size: .66rem; }
  .rad-svg { width: min(96vw, calc(100vh - 250px)); width: min(96vw, calc(100dvh - 250px)); }
  .rad-knopf { min-width: 0; width: 100%; }
  .rad-unten { width: 100%; }
  .bu-weiter-zeile { bottom: -18px; justify-content: stretch; flex-direction: column; align-items: stretch; }
  /* Abrechnung: Text über die ganze Breite, Zahlen darunter */
  .buehne { padding: 8px; }
  .buehne-innen { padding: 14px 12px; max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); }
  .bu-inhalt { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; }
  .bu-glas { width: 44px; height: 170px; }
  .bu-posten li { display: flex; flex-wrap: wrap; gap: 2px 10px; justify-content: flex-end; font-size: .88rem; }
  .bu-posten li > span:first-child { flex: 1 1 100%; }
  .bu-posten li .zahl:empty { display: none; }
  .bu-stempel { position: static; display: inline-block; margin: 0 0 10px; }
  .bu-weiter-zeile .knopf { width: 100%; }
  .knopf.riesig { width: 100%; }
  .effekt.gross .effekt-zeile { font-size: 1.35rem; }
}

/* ══ Runde 4: Handy ohne Schwimmen, Ziehung im Vollbild, München weiß-blau ══ */

/* ── Nichts darf die Seite seitlich verschieben ─────────────────────────────
   Drei Ursachen auf dem Handy: zu breite Elemente, das Zoomen beim Tippen in
   Felder unter 16 px (iPhone) und das Doppeltipp-Zoomen beim schnellen Ziehen. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; touch-action: manipulation; overflow-x: hidden; }
body { overflow-x: clip; }
img, svg, video { max-width: 100%; }
.ortskarten { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.lobby > *, .start-raster > *, .spielflaeche > *, .tresen > * { min-width: 0; }
.gaesteliste li > b { min-width: 0; overflow-wrap: anywhere; }   /* lange Namen brechen um, statt „entfernen“ hinauszuschieben */

@media (max-width: 1100px) {
  .spielflaeche { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1000px) {
  .kopf .lang { display: none; }
  .verbindung { font-size: 0; gap: 0; }
}
@media (max-width: 760px) {
  input, select, textarea, .eingabe, .eingabe.code.klein { font-size: 16px; }
  .eingabe.code.klein { width: auto; flex: 1 1 160px; min-width: 0; }
  .start-raster, .lobby, .tresen, .buehne-raster { grid-template-columns: minmax(0, 1fr); }
  .kennzahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gaeste-liste { grid-template-columns: minmax(0, 1fr); }
  .zug-zeile#b-knoepfe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .einladung code { min-width: 0; flex: 1 1 100%; }
  .einladung .knopf { flex: 1 1 auto; }
  .knopf { white-space: normal; }

  /* Kopfzeile in zwei flachen Zeilen: oben Glas, Ort/Tisch/Phase und die Schalter,
     darunter die Rundenperlen und – nur für die Spielleitung – die Notfallknöpfe. */
  .kopf { padding: 6px 10px; column-gap: 8px; row-gap: 4px; }
  .kopf-mitte { display: contents; }
  .kopf:has(.phase-name) .logo-text { display: none; }
  .kopf:has(.phase-name) .logo-glas { font-size: 1.5rem; }
  .phase-name {
    order: 2; flex: 1 1 0; min-width: 0; font-size: .8rem; line-height: 1.25; white-space: normal;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .verbindung, #knopf-ton, #knopf-regeln { order: 3; }
  #knopf-ton, #knopf-regeln { padding: 6px 10px; }
  .verbindung { margin-left: 0; }
  .kopf::after { content: ''; order: 4; flex-basis: 100%; height: 0; }
  .kopf:not(:has(.runden-perlen)):not(:has(.kopf-leitung .knopf))::after { display: none; }
  .kopf-ort { display: none; }   /* Der Ort steckt schon in Farben und Glas – Platz für Tisch, Phase und Runde */
  .kopf-runde { white-space: nowrap; }
  .runden-perlen { order: 5; gap: 4px; }
  .perle { width: 9px; height: 9px; }
  .kopf-leitung { order: 6; flex-basis: auto; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
  .kopf-leitung .knopf { padding: 5px 10px; font-size: .8rem; }

  /* Mixen: Glas, Schärfe, beide Knöpfe und „Noch im Shaker“ passen auf einen Schirm. */
  .gastkarte { gap: 10px; padding: 8px 12px; }
  .gastkarte .gast-emoji { font-size: 1.9rem; }
  .gastkarte h3 { font-size: .98rem; }
  .gastkarte p { font-size: .84rem; line-height: 1.28; }
  .gastkarte .gast-art { font-size: .6rem; padding: 1px 7px; margin-bottom: 1px; }
  .gastkarte .abend, .gastkarte .leise-text.klein { display: none; }
  .spielflaeche { gap: 12px; }
  .spielflaeche .karte + .karte, .spielflaeche > div > * + .karte { margin-top: 12px; }
  .tresen { gap: 10px; }
  .glas-svg { width: min(196px, 22vh); }
  .thermo-roehre { height: min(214px, 24vh); }
  .zug-zeile#b-knoepfe .knopf.leise { padding: 7px 8px; font-size: .88rem; }
  .bedienung { gap: 10px; }
  .letzter-zug { padding: 9px 12px; min-height: 0; gap: 10px; }
  .letzter-zug .chip { width: 42px; height: 42px; font-size: 1.2rem; }
  .letzter-text { font-size: .86rem; }

  /* Einkauf: zuerst der Laden, dann Korken, Trick und die Abrechnung der Runde. */
  .einkauf-spalte { display: flex; flex-direction: column; gap: 12px; }
  .einkauf-spalte > * { margin-top: 0 !important; }
  .einkauf-spalte > :empty { display: none; }
  .einkauf-spalte > .laden-karte { order: 1; }
  .einkauf-spalte > #b-vorfuellung { order: 2; }
  .einkauf-spalte > #b-trick { order: 3; }
  .einkauf-spalte > #b-abrechnung { order: 4; }
  .einkauf-spalte > #b-gast { order: 5; }

  /* Endstand: „Zu scharf“ steckt schon in den roten Balken – die Spalte darf auf dem Handy weg. */
  .endtabelle { font-size: .88rem; }
  .endtabelle th, .endtabelle td { padding: 7px 4px; }
  .endtabelle th:nth-child(4), .endtabelle td:nth-child(4) { display: none; }
  .endtabelle td.mit-avatar { flex-wrap: wrap; row-gap: 3px; }
  .endtabelle .titel-marke { white-space: normal; }
  .verlauf-balken span { width: 7px; }

  /* Vor der Runde: Die Ziehung füllt den Schirm. */
  .ziehung-karte { min-height: calc(100vh - 110px); min-height: calc(100dvh - 110px); display: flex; flex-direction: column; justify-content: center; }
}

/* ── Ziehung: deckend, über den ganzen Schirm, am Ende die Karte groß ─────── */
.ziehung-overlay, .rad-overlay {
  height: 100vh; height: 100dvh;
  background: radial-gradient(ellipse at 50% 38%, var(--vorhang1, #2c1650), var(--vorhang2, #07030d));
}
body[data-ort="hamburg"] { --vorhang1: #17375a; --vorhang2: #040a12; }
body[data-ort="rockimpark"] { --vorhang1: #2c0f2a; --vorhang2: #050507; }
.ziehung-overlay { --kb: min(172px, 44vw); }
.ziehung-overlay .zkarte { width: var(--kb); height: calc(var(--kb) * 1.4); }
.ziehung-overlay .ziehung-fenster { height: calc(var(--kb) * 1.4 + 60px); }
.ziehung-overlay.gross { justify-content: flex-start; overflow-y: auto; padding-top: max(16px, env(safe-area-inset-top)); }
.ziehung-overlay.gross .ziehung-fenster { display: none; }
.ziehung-overlay.gross .ziehung-unten { flex: 1; justify-content: center; width: 100%; gap: 16px; }
.ziehung-overlay.gross .ziehung-ergebnis { max-width: none; width: 100%; align-items: center; }
.zkarte.riesig {
  width: min(88vw, 460px); height: auto; min-height: min(60vh, 520px); padding: 22px 22px 26px; gap: 12px;
  justify-content: center; border-width: 5px; animation: ergebnis-rein .55s cubic-bezier(.2, 1.4, .4, 1);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .85), 0 0 60px var(--gold), 0 20px 50px rgba(0, 0, 0, .5);
}
.zkarte.riesig .zkarte-art { font-size: .85rem; padding: 4px 14px; letter-spacing: 1.8px; }
.zkarte.riesig .zkarte-emoji { font-size: clamp(4.5rem, 20vw, 7rem); }
.zkarte.riesig .zkarte-name { font-size: clamp(1.45rem, 6.4vw, 2.1rem); color: inherit; }
.zkarte.riesig .zkarte-text {
  display: block; -webkit-line-clamp: unset; overflow: visible;
  font-size: clamp(1.05rem, 4.4vw, 1.3rem); line-height: 1.4; color: #3a2a1a;
}
.ziehung-los { min-width: min(88vw, 320px); }
.ziehung-overlay.gestoppt .zkarte.riesig { opacity: 1; filter: none; }
@media (max-width: 760px) {
  .ziehung-overlay .zkarte { padding: 9px; }
  .ziehung-overlay .zkarte-emoji { font-size: 2.6rem; }
  .ziehung-overlay .zkarte-text { -webkit-line-clamp: 5; }
  .ziehung-overlay .zkarte.riesig { padding: 18px 16px 22px; }
  .ziehung-overlay .zkarte.riesig .zkarte-emoji { font-size: clamp(4.5rem, 20vw, 7rem); }
  .ziehung-overlay .zkarte.riesig .zkarte-text { -webkit-line-clamp: unset; }
}
@media (max-height: 640px) {
  .zkarte.riesig { min-height: 0; }
}

/* ── München: weiß-blau wie die Landesflagge ───────────────────────────────
   Grund im Rautenmuster, Spielflächen in Bayernblau mit weißer Schrift. */
body[data-ort="muenchen"] {
  --bg: #08306a; --bg2: #0a3a7e; --flaeche: #1259ad; --flaeche2: #1c69c4; --rand: #6ea8e6;
  --text: #ffffff; --leise: #d6e8fb; --pink: #ffffff; --tuerkis: #a8dbff; --gold: #ffd75e;
  --schatten: 0 10px 26px rgba(6, 38, 86, .35);
  --vorhang1: #1660b8; --vorhang2: #04234f;
  background-color: #f4f9fe;
  background-image:
    radial-gradient(1100px 600px at 50% -10%, rgba(255, 255, 255, .55), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='28'%3E%3Cpath d='M24 0 48 14 24 28 0 14z' fill='%232a95dd'/%3E%3C/svg%3E");
  background-size: auto, 48px 28px;
  background-attachment: fixed;
}
body[data-ort="muenchen"] .karte,
body[data-ort="muenchen"] .gastkarte {
  border: 2px solid #ffffff; box-shadow: 0 0 0 1px rgba(10, 60, 130, .25), var(--schatten);
}
body[data-ort="muenchen"] .gastkarte { background: linear-gradient(120deg, #0e4d9b, #1c69c4); }
body[data-ort="muenchen"] .gastkarte p { color: #eaf3fd; }
body[data-ort="muenchen"] .knopf.haupt {
  background: linear-gradient(135deg, #ffffff, #dcedfc); color: #0a3f84; border: 2px solid #ffffff;
  box-shadow: 0 6px 22px rgba(4, 35, 79, .35);
}
body[data-ort="muenchen"] .knopf.haupt:hover:not(:disabled) { background: linear-gradient(135deg, #ffffff, #c9e3fb); }
body[data-ort="muenchen"] .knopf.kuehl {
  background: linear-gradient(135deg, #5fb6f3, #a8dbff); color: #04234f; border-color: transparent;
  box-shadow: 0 6px 22px rgba(4, 35, 79, .3);
}
body[data-ort="muenchen"] .knopf.kuehl:hover:not(:disabled) { background: linear-gradient(135deg, #7cc4f6, #bfe4ff); }
body[data-ort="muenchen"] .knopf:hover:not(:disabled):not(.haupt):not(.kuehl) { background: var(--flaeche2); }
body[data-ort="muenchen"] .ziehung-karte .knopf.riesig { animation-name: knopf-pulsieren-weiss; }
@keyframes knopf-pulsieren-weiss { 0%, 100% { box-shadow: 0 6px 22px rgba(255, 255, 255, .35); } 50% { box-shadow: 0 6px 34px rgba(255, 255, 255, .9); } }
body[data-ort="muenchen"] .eingabe,
body[data-ort="muenchen"] .thermo-roehre,
body[data-ort="muenchen"] .mini-glas,
body[data-ort="muenchen"] .vorfuell-leiste,
body[data-ort="muenchen"] .avatar,
body[data-ort="muenchen"] .avatar-vorschau { background-color: #062656; }
body[data-ort="muenchen"] .avatar.ohne { background: var(--f, #888); }
body[data-ort="muenchen"] .letzter-text { color: #e6f1fd; }
body[data-ort="muenchen"] .du-marke { color: #0a3f84; }
body[data-ort="muenchen"] .buehne { background: rgba(4, 30, 68, .78); }
body[data-ort="muenchen"] #b-loge .loge {
  background: linear-gradient(180deg, var(--flaeche), var(--bg2)); border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px rgba(10, 60, 130, .25), var(--schatten);
}
/* Kopfzeile: weiß, unten ein Band aus blauen Rauten */
body[data-ort="muenchen"] .kopf {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='9'%3E%3Cpath d='M8 0 16 4.5 8 9 0 4.5z' fill='%232a95dd'/%3E%3C/svg%3E") left bottom / 16px 9px repeat-x,
    #ffffff;
  border-bottom: 0; padding-bottom: 17px; backdrop-filter: none;
}
@media (max-width: 760px) {
  body[data-ort="muenchen"] .kopf { padding-bottom: 13px; background-size: 12px 7px, auto; }
}
body[data-ort="muenchen"] .logo-text .logo-neon { display: none; }
body[data-ort="muenchen"] .logo-text .logo-hell { display: block; }
body[data-ort="muenchen"] .logo-glas { filter: none; }
body[data-ort="muenchen"] .phase-name { color: #3c5f8c; }
body[data-ort="muenchen"] .kopf-tisch { color: #0a3f84; }
body[data-ort="muenchen"] .kopf .knopf.leise { color: #0a3f84; border-color: #b4d2f0; background: #ffffff; }
body[data-ort="muenchen"] .kopf .knopf.leise:hover:not(:disabled) { background: #e8f3fd; }
body[data-ort="muenchen"] .kopf .knopf.gefahr-knopf { color: #c0392b; border-color: #f0b8b0; }
body[data-ort="muenchen"] .perle { background: #e3eefa; border-color: #a6c8ec; }
body[data-ort="muenchen"] .perle.vorbei { background: #7fb3e6; border-color: #7fb3e6; }
body[data-ort="muenchen"] .perle.jetzt { background: #1a6fd1; border-color: #1a6fd1; box-shadow: 0 0 8px rgba(26, 111, 209, .7); }
body[data-ort="muenchen"] .verbindung { color: #3c5f8c; }
body[data-ort="muenchen"] .stapel-karte {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='14'%3E%3Cpath d='M12 0 24 7 12 14 0 7z' fill='%232a95dd'/%3E%3C/svg%3E") 0 0 / 24px 14px, #ffffff;
}
body[data-ort="muenchen"] .zkarte { background: linear-gradient(170deg, #ffffff, #e6f1fc); color: #0b2f5e; border-color: #2a95dd; }
body[data-ort="muenchen"] .zkarte-text { color: #2c4a70; }
body[data-ort="muenchen"] .zkarte.riesig { box-shadow: 0 0 0 4px #ffffff, 0 0 60px rgba(168, 219, 255, .9), 0 20px 50px rgba(0, 0, 0, .45); }

/* ══ Runde 5: Die gezogene Zutat wird spannend enthüllt ════════════════════
   Erst rattert der Shaker (ein schwarzer Schatten wackelt), dann kommt langsam
   die Farbe durch, zuletzt wird die Zutat scharf und die Zahl springt auf.
   Dauer kommt aus app.js (--d), damit Animation und Zeitgeber gleich lang sind. */
.letzter-zug.enthuellung {
  cursor: pointer; min-height: 76px;
  border-color: color-mix(in srgb, var(--c) 55%, var(--rand));
  animation: enth-kasten var(--d) ease-in-out both;
}
@keyframes enth-kasten {
  0%, 35% { box-shadow: 0 0 0 0 transparent; }
  80%, 100% { box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 70%, transparent), 0 0 28px color-mix(in srgb, var(--c) 55%, transparent); }
}
.enth-buehne { position: relative; flex: none; width: 62px; height: 66px; display: grid; place-items: center; }
.enth-buehne .chip {
  width: 50px; height: 58px; font-size: 1.6rem;
  animation: enth-chip var(--d) cubic-bezier(.35, 0, .25, 1) both;
}
.enth-buehne .chip b { animation: enth-zahl var(--d) ease-out both; }
.enth-schein {
  position: absolute; inset: -12px; border-radius: 50%;
  background: radial-gradient(circle, var(--c) 0, transparent 66%);
  animation: enth-schein var(--d) ease-in both;
}
@keyframes enth-chip {
  0%   { filter: brightness(0) blur(8px); opacity: .5; transform: translateY(6px) rotate(0) scale(.72); }
  4%   { transform: translateY(1px) rotate(-16deg) scale(.76); }
  8%   { transform: translateY(6px) rotate(14deg) scale(.76); }
  12%  { transform: translateY(1px) rotate(-12deg) scale(.78); }
  16%  { transform: translateY(5px) rotate(10deg) scale(.78); }
  20%  { transform: translateY(2px) rotate(-6deg) scale(.8); }
  27%  { filter: brightness(0) blur(8px); opacity: .7; transform: translateY(3px) rotate(0) scale(.8); }
  52%  { filter: brightness(.45) saturate(1.6) blur(5px); opacity: .95; transform: scale(.9); }
  70%  { filter: brightness(.9) blur(1.5px); opacity: 1; transform: scale(1.02); }
  78%  { filter: brightness(1.15) blur(0); transform: scale(1.16); }
  84%, 100% { filter: none; opacity: 1; transform: scale(1); }
}
/* Die Zahl: Erst wenn die Zutat längst scharf zu sehen ist, springt sie auf. */
@keyframes enth-zahl {
  0%, 91% { opacity: 0; transform: scale(.3); }
  96% { opacity: 1; transform: scale(1.45); }
  100% { opacity: 1; transform: none; }
}
@keyframes enth-schein {
  0%, 30% { opacity: 0; transform: scale(.5); }
  70% { opacity: .45; transform: scale(.9); }
  100% { opacity: .8; transform: scale(1.12); }
}
.enth-text { display: grid; min-width: 0; }
.enth-text b { grid-area: 1 / 1; font-size: 1.05rem; align-self: center; }
.enth-a { animation: enth-a var(--d) ease both; }
.enth-b { animation: enth-b var(--d) ease both; }
@keyframes enth-a { 0%, 34% { opacity: 1; } 42%, 100% { opacity: 0; } }
@keyframes enth-b { 0%, 40% { opacity: 0; transform: translateY(5px); } 50%, 100% { opacity: 1; transform: none; } }
/* Solange enthüllt wird, wartet das Glas sichtbar ab. */
.tresen:has(.enthuellung) .glas-svg { filter: saturate(.7) brightness(.85); transition: filter .3s; }
@media (prefers-reduced-motion: reduce) {
  .enth-buehne .chip, .enth-buehne .chip b, .enth-schein, .enth-a, .enth-b, .letzter-zug.enthuellung { animation: none; }
}

/* ══ Runde 6: Hamburger Hafen, Lichtshow für Rock im Park, klickbare Ortskarten ══ */

/* ── Hamburg: nachts am Hafen – Elbphilharmonie, Michel, Containerbrücken, die Elbe ── */
body[data-ort="hamburg"] {
  background:
    url("/hamburg.svg") center bottom / auto clamp(210px, 42vh, 470px) repeat-x,
    radial-gradient(70px 70px at 86% 9%, rgba(255, 236, 180, .55), rgba(255, 236, 180, .12) 45%, transparent 72%),
    repeating-linear-gradient(104deg, rgba(255, 255, 255, .028) 0 1px, transparent 1px 23px),
    radial-gradient(1100px 520px at 12% -10%, rgba(90, 209, 230, .17), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(255, 107, 94, .13), transparent 60%),
    linear-gradient(180deg, #0a1623 0%, #0d1f33 62%, #13304a 100%);
  background-attachment: fixed;
}

/* ── Rock im Park: mehr Scheinwerfer, hellere Lichtquellen, Bühnennebel ── */
body[data-ort="rockimpark"] {
  background:
    radial-gradient(90px 46px at 14% 0%, rgba(214, 255, 140, .75), rgba(182, 255, 60, .25) 40%, transparent 72%),
    radial-gradient(90px 46px at 50% 0%, rgba(255, 234, 150, .7), rgba(255, 210, 63, .22) 40%, transparent 72%),
    radial-gradient(90px 46px at 86% 0%, rgba(255, 150, 200, .8), rgba(255, 46, 136, .28) 40%, transparent 72%),
    conic-gradient(from 151deg at 14% -3%, rgba(182, 255, 60, 0) 0deg, rgba(182, 255, 60, .26) 8deg, rgba(182, 255, 60, 0) 16deg, transparent 16deg),
    conic-gradient(from 196deg at 14% -3%, rgba(182, 255, 60, 0) 0deg, rgba(182, 255, 60, .16) 5deg, rgba(182, 255, 60, 0) 10deg, transparent 10deg),
    conic-gradient(from 173deg at 50% -4%, rgba(255, 210, 63, 0) 0deg, rgba(255, 210, 63, .18) 7deg, rgba(255, 210, 63, 0) 14deg, transparent 14deg),
    conic-gradient(from 141deg at 50% -4%, rgba(62, 230, 255, 0) 0deg, rgba(62, 230, 255, .12) 4deg, rgba(62, 230, 255, 0) 8deg, transparent 8deg),
    conic-gradient(from 211deg at 50% -4%, rgba(62, 230, 255, 0) 0deg, rgba(62, 230, 255, .12) 4deg, rgba(62, 230, 255, 0) 8deg, transparent 8deg),
    conic-gradient(from 193deg at 86% -3%, rgba(255, 46, 136, 0) 0deg, rgba(255, 46, 136, .3) 8deg, rgba(255, 46, 136, 0) 16deg, transparent 16deg),
    conic-gradient(from 154deg at 86% -3%, rgba(255, 46, 136, 0) 0deg, rgba(255, 46, 136, .17) 5deg, rgba(255, 46, 136, 0) 10deg, transparent 10deg),
    radial-gradient(1200px 380px at 50% 112%, rgba(255, 46, 136, .2), transparent 65%),
    radial-gradient(900px 300px at 50% 118%, rgba(255, 210, 63, .12), transparent 60%),
    #0b0b0e;
  background-attachment: fixed;
}
/* Zwei Scheinwerfer schwenken langsam über die Menge. */
body[data-ort="rockimpark"]::before {
  content: ''; position: fixed; z-index: -1; pointer-events: none;
  left: -40vw; right: -40vw; top: -6vh; height: 160vh; transform-origin: 50% 0;
  background:
    conic-gradient(from 168deg at 32% 0%, rgba(182, 255, 60, 0) 0deg, rgba(182, 255, 60, .14) 6deg, rgba(182, 255, 60, 0) 12deg, transparent 12deg),
    conic-gradient(from 180deg at 68% 0%, rgba(255, 46, 136, 0) 0deg, rgba(255, 46, 136, .16) 6deg, rgba(255, 46, 136, 0) 12deg, transparent 12deg);
  animation: scheinwerfer 9s ease-in-out infinite alternate;
}
@keyframes scheinwerfer { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }
@media (prefers-reduced-motion: reduce) { body[data-ort="rockimpark"]::before { animation: none; } }

/* ── Ortskarten: Die ganze Karte ist der Knopf (für die Spielleitung) ── */
.ortskarte.waehlbar { cursor: pointer; transition: border-color .15s, background .15s, transform .1s; }
.ortskarte.waehlbar:hover { border-color: var(--tuerkis); background: rgba(255, 255, 255, .07); }
.ortskarte.waehlbar:active { transform: scale(.995); }

/* ══ Runde 7: Rad mit Schwung – je länger gedrückt, desto wilder ══════════ */
.rad-schwung {
  display: flex; align-items: center; gap: 10px; width: min(440px, 92vw);
  font-size: .74rem; font-weight: 800; color: var(--leise); text-transform: uppercase; letter-spacing: 1px;
}
.rad-schwung-leiste {
  flex: 1; height: 16px; border-radius: 999px; overflow: hidden;
  background: rgba(255, 255, 255, .1); border: 2px solid rgba(255, 255, 255, .3);
}
.rad-schwung-fuellung {
  display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left center;
  background: linear-gradient(90deg, #3ddc97, #ffcf5a 55%, #ff4d4d);
}
.rad-overlay.voll .rad-schwung-leiste { animation: schwung-voll .28s ease-in-out infinite alternate; }
@keyframes schwung-voll { from { box-shadow: 0 0 6px #ff4d4d; } to { box-shadow: 0 0 22px #ff4d4d; } }
.rad-knopf { touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.rad-overlay.laedt .rad-knopf { transform: scale(.96); animation: none; box-shadow: 0 0 0 4px rgba(255, 255, 255, .35); }
.rad-hinweis { margin: 0; max-width: 440px; font-size: .86rem; line-height: 1.35; color: var(--leise); text-align: center; }
.rad-schwung[hidden], .rad-hinweis[hidden] { display: none; }
.rad-overlay.dreht .rad-hinweis, .rad-overlay.dreht .rad-schwung { opacity: .5; }
.rad-svg { width: min(94vw, calc(100vh - 300px), 980px); width: min(94vw, calc(100dvh - 300px), 980px); }
@media (max-width: 760px) {
  .rad-svg { width: min(96vw, calc(100vh - 320px)); width: min(96vw, calc(100dvh - 320px)); }
  .rad-hinweis { font-size: .8rem; }
}

/* ══ Runde 9: Abrechnung Posten für Posten ═══════════════════════════════ */
.bu-posten li, .bu-summe { animation: none; }
.bu-posten li.wartet, .bu-summe.wartet { visibility: hidden; }
.bu-posten li.zeigt { animation: posten-rein .35s ease, posten-glanz 1.3s ease-out; }
.bu-summe.zeigt { animation: posten-rein .4s ease; }
@keyframes posten-glanz {
  0% { background: rgba(255, 207, 90, .32); box-shadow: 0 0 0 2px rgba(255, 207, 90, .6); }
  100% { background: rgba(255, 255, 255, .04); box-shadow: 0 0 0 0 transparent; }
}
.bu-posten li.rad-posten.zeigt { animation: posten-rein .35s ease; }
.bu-karte.sofort .bu-posten li.zeigt, .bu-karte.sofort .bu-summe.zeigt { animation: none; }

/* ══ Runde 10: Ranking nach jeder Runde – vom letzten zum ersten Platz ══ */
.buehne-raster.rangfolge-an { grid-template-columns: minmax(0, 1fr); }
.buehne-raster.rangfolge-an .buehne-seite { display: none; }
.rangfolge { display: flex; flex-direction: column; gap: 12px; }
.rf-titel { margin: 0; text-align: center; font-family: var(--anzeige); font-size: clamp(1.2rem, 3vw, 1.6rem); font-weight: 900; color: var(--gold); }
.rf-liste { list-style: none; margin: 0 auto; padding: 0; width: min(720px, 100%); display: flex; flex-direction: column; gap: 8px; }
.rf-zeile {
  display: grid; grid-template-columns: 54px 54px minmax(0, 1fr) auto auto auto; gap: 12px; align-items: center;
  padding: 10px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--rand);
  font-size: 1.15rem;
}
.rf-zeile.wartet { visibility: hidden; }
.rf-zeile.zeigt { animation: rf-rein .45s cubic-bezier(.2, 1.3, .4, 1); }
@keyframes rf-rein { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
.rf-platz { font-family: var(--anzeige); font-size: 1.7rem; font-weight: 900; text-align: center; color: var(--leise); }
.rf-name { font-weight: 800; overflow-wrap: anywhere; }
.rf-runde { color: var(--leise); font-size: .9rem; white-space: nowrap; }
.rf-sterne { font-size: 1.5rem; color: var(--gold); white-space: nowrap; }
.rf-pfeil { font-size: .8rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.rf-pfeil.hoch { color: #a6f3cf; background: rgba(61, 220, 151, .16); }
.rf-pfeil.runter { color: #ffb3b3; background: rgba(255, 77, 77, .14); }
.rf-zeile.p2 { border-color: #c9d3e0; background: rgba(201, 211, 224, .1); }
.rf-zeile.p3 { border-color: #d39a62; background: rgba(211, 154, 98, .1); }
.rf-zeile.p1 { border: 2px solid var(--gold); background: rgba(255, 207, 90, .14); font-size: 1.35rem; padding: 14px 18px; }
.rf-zeile.p1 .rf-platz { font-size: 2.2rem; }
.rf-zeile.p1 .rf-sterne { font-size: 1.9rem; }
.rf-zeile.sieger.zeigt { animation: rf-sieger .8s cubic-bezier(.2, 1.4, .4, 1); box-shadow: 0 0 0 4px rgba(255, 207, 90, .25), 0 0 40px rgba(255, 207, 90, .45); }
@keyframes rf-sieger { from { opacity: 0; transform: scale(1.6); } 60% { opacity: 1; transform: scale(.97); } to { transform: none; } }
@media (max-width: 760px) {
  .rf-zeile { grid-template-columns: 36px 40px minmax(0, 1fr) auto; gap: 8px; padding: 8px 10px; font-size: 1rem; }
  .rf-zeile .avatar.gross { width: 38px; height: 38px; font-size: 1rem; }
  .rf-platz { font-size: 1.3rem; }
  .rf-sterne { font-size: 1.2rem; }
  .rf-runde { display: none; }
  .rf-pfeil { grid-column: 3; grid-row: 2; justify-self: start; }
  .rf-zeile.p1 { font-size: 1.1rem; padding: 10px 12px; }
  .rf-zeile.p1 .rf-platz { font-size: 1.7rem; }
  .rf-zeile.p1 .rf-sterne { font-size: 1.45rem; }
}

/* ══ Runde 11: Scharfe Lieferung – unübersehbar ══════════════════════════ */
.lieferung-overlay {
  position: fixed; inset: 0; z-index: 72; height: 100vh; height: 100dvh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 16px; overflow-y: auto; text-align: center; color: #fff;
  background: radial-gradient(ellipse at 50% 38%, #6b1017 0%, #2a060b 55%, #0e0306 100%);
  animation: einblenden .3s ease;
}
.lieferung-overlay.weg { animation: ausblenden .25s ease forwards; }
.lf-runde { color: #ffcf5a; font-weight: 800; letter-spacing: .5px; }
.lf-kopf h2 {
  margin: 4px 0 0; font-family: var(--anzeige); font-weight: 900; font-size: clamp(1.7rem, 6vw, 3rem); color: #fff;
  text-shadow: 0 0 12px #ff4d4d, 0 0 34px rgba(255, 77, 77, .7);
}
.lf-flamme { display: inline-block; animation: lf-flackern .9s ease-in-out infinite alternate; }
.lf-flamme:last-child { animation-delay: .45s; }
@keyframes lf-flackern { from { transform: rotate(-12deg) scale(1); } to { transform: rotate(10deg) scale(1.18); } }
.lf-buehne { position: relative; width: 200px; height: 260px; margin-top: 122px; flex: none; }
.lf-shaker { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .55)); }
.lf-shaker.wackelt { animation: lf-wackeln .55s ease; transform-origin: 50% 90%; }
@keyframes lf-wackeln {
  0%, 100% { transform: none; } 20% { transform: rotate(-7deg) translateY(4px); } 45% { transform: rotate(6deg); }
  70% { transform: rotate(-3deg); }
}
/* Fallraum über der Öffnung: Was unten herausfällt, ist im Shaker verschwunden. */
.lf-fall { position: absolute; left: -40px; right: -40px; top: -118px; height: 202px; overflow: hidden; z-index: 2; }
.lf-chip {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -20px); opacity: 0;
  animation: lf-fallen 1.25s cubic-bezier(.45, 0, .85, .55) both; animation-delay: calc(var(--i) * .9s);
}
.lf-chip .chip { width: 64px; height: 74px; font-size: 2rem; filter: drop-shadow(0 0 14px rgba(255, 77, 77, .9)); }
.lf-chip .chip b { min-width: 24px; height: 24px; font-size: .9rem; line-height: 20px; }
@keyframes lf-fallen {
  0% { opacity: 0; transform: translate(-50%, -30px) rotate(-12deg); }
  18% { opacity: 1; transform: translate(-50%, 14px) rotate(9deg); }
  32% { transform: translate(-50%, 6px) rotate(-7deg); }
  44% { transform: translate(-50%, 12px) rotate(4deg); }
  52% { opacity: 1; transform: translate(-50%, 10px) rotate(0); }
  100% { opacity: 1; transform: translate(-50%, 250px) rotate(28deg); }
}
.lf-plus {
  position: absolute; right: -54px; top: 70px; font-size: 1.8rem; font-weight: 900; color: #ffcf5a; opacity: 0;
  text-shadow: 0 0 14px rgba(255, 77, 77, .9);
}
.lieferung-overlay.gelandet .lf-plus { animation: lf-plus .6s cubic-bezier(.2, 1.5, .4, 1) forwards; }
@keyframes lf-plus { from { opacity: 0; transform: translateY(14px) scale(.4); } to { opacity: 1; transform: none; } }
.lf-text { margin: 0; font-size: clamp(1.05rem, 3.6vw, 1.3rem); max-width: 560px; }
.lf-zahl { margin: 0; font-size: 1.15rem; }
.lf-zahl b { font-size: 1.5rem; }
.lf-neu { color: #ff6b6b; display: inline-block; }
.lieferung-overlay.gelandet .lf-neu { animation: lf-plus .5s cubic-bezier(.2, 1.6, .4, 1); }
.lf-warnung { margin: 0; color: #ffb3b3; font-weight: 700; }
.lieferung-overlay:not(.gelandet) .lf-ok { visibility: hidden; }
.lf-ok { min-width: min(88vw, 340px); }
@media (max-height: 760px) {
  .lieferung-overlay { gap: 8px; }
  .lf-buehne { transform: scale(.74); transform-origin: 50% 0; margin: 92px 0 -68px; }
}
@media (prefers-reduced-motion: reduce) {
  .lf-chip { animation: none; opacity: 0; }
  .lf-flamme, .lf-shaker.wackelt { animation: none; }
}

/* Beim Mixen und im Laden: der Hinweis deutlich, mit den Chilis */
.nachschub {
  display: flex; align-items: center; gap: 12px; font-size: 1rem; font-weight: 600;
  background: linear-gradient(90deg, rgba(230, 57, 70, .3), rgba(230, 57, 70, .1)); border: 2px solid rgba(230, 57, 70, .85);
  animation: aufploppen .5s ease, nachschub-puls 1.3s ease-in-out 4;
}
@keyframes nachschub-puls { 50% { box-shadow: 0 0 0 4px rgba(230, 57, 70, .25), 0 0 26px rgba(230, 57, 70, .55); } }
.nachschub-chips { display: flex; gap: 4px; flex: none; }
.nachschub-chips .chip { width: 34px; height: 40px; font-size: 1.15rem; }
.nachschub.vorwarnung { margin: 0 0 12px; animation: none; }

/* ══ Runde 13: Der Schaum lebt ══════════════════════════════════════════════
   Außen schwappt die Krone, in der Mitte schäumt sie nach jeder neuen Zutat auf,
   innen atmet sie; jede Kuppe blubbert für sich, kleine Bläschen platzen. */
.glas-svg .schaum-schwapp { animation: schaum-schwappen 4.4s ease-in-out infinite; }
@keyframes schaum-schwappen { 0%, 100% { transform: translateX(-2.5px); } 50% { transform: translateX(2.5px); } }
.glas-svg .schaum-auf { transform-box: fill-box; transform-origin: 50% 100%; }
.glas-svg .schaum-auf.jetzt { animation: schaum-aufschaeumen 1s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes schaum-aufschaeumen { 0% { transform: scaleY(.3); } 45% { transform: scaleY(1.7); } 100% { transform: scaleY(1); } }
.glas-svg .schaum { animation-duration: 2.6s; }
@keyframes schaum-wippen { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.14); } }
.glas-svg .schaum .kuppe {
  transform-box: fill-box; transform-origin: 50% 75%;
  animation: kuppe-atmen var(--d, 2s) ease-in-out infinite; animation-delay: var(--v, 0s);
}
@keyframes kuppe-atmen { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.24) translateY(-1px); } }
.glas-svg .schaum .pore {
  fill: rgba(190, 165, 130, .5); transform-box: fill-box; transform-origin: center;
  animation: pore-platzen var(--d, 2.4s) ease-in infinite; animation-delay: var(--v, 0s);
}
@keyframes pore-platzen {
  0% { transform: scale(.2); opacity: 0; } 25% { opacity: 1; }
  80% { transform: scale(1.15); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .glas-svg .schaum-schwapp, .glas-svg .schaum-auf.jetzt, .glas-svg .schaum, .glas-svg .schaum .kuppe, .glas-svg .schaum .pore { animation: none; }
}

/* ══ Runde 14: Konten, Gruppen und Statistik ══════════════════════════════ */
.statistik-dialog { width: min(980px, calc(100vw - 32px)); }
.statistik-dialog h2 { color: var(--gold); margin-top: 0; }
.statistik-dialog h3 { margin: 1.4em 0 .5em; color: var(--gold); }
.statistik-dialog h4 { margin: 1em 0 .4em; color: var(--leise); font-size: .95rem; }
.st-form { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.st-form label { font-weight: 600; color: var(--leise); font-size: .9rem; }
.st-zeile { display: flex; gap: 8px; flex-wrap: wrap; }
.st-zeile .eingabe { flex: 1 1 220px; min-width: 0; width: auto; }
.st-code { font-size: 1.4rem; letter-spacing: 6px; text-align: center; max-width: 220px; }
.st-hinweis { padding: 10px 14px; border-radius: 12px; background: rgba(62, 230, 255, .08); border: 1px solid rgba(62, 230, 255, .35); }
.st-hinweis.ok { background: rgba(61, 220, 151, .1); border-color: rgba(61, 220, 151, .45); }
.st-fehler { padding: 10px 14px; border-radius: 12px; background: rgba(255, 77, 77, .12); border: 1px solid rgba(255, 77, 77, .5); }
.st-datenschutz { margin-top: 14px; }
.st-leer { padding: 16px; border-radius: 12px; border: 1px dashed var(--rand); color: var(--leise); }
.st-konto { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-right: 40px; margin-bottom: 10px; }
.st-konto-knoepfe { display: flex; gap: 6px; }
.st-reiter-reihe { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 4px; border-bottom: 1px solid var(--rand); padding-bottom: 8px; }
.st-reiter {
  border: 1px solid var(--rand); background: transparent; color: var(--leise); border-radius: 999px; padding: 6px 14px;
  font-weight: 700; cursor: pointer; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.st-reiter:hover { background: rgba(255, 255, 255, .06); }
.st-reiter.offen { background: var(--flaeche2); color: var(--text); border-color: var(--tuerkis); }
.st-kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-top: 12px; }
.st-kachel { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--rand); }
.st-kachel b { display: block; font-size: 1.6rem; font-family: var(--anzeige); color: var(--text); font-variant-numeric: tabular-nums; }
.st-kachel span { font-size: .78rem; color: var(--leise); text-transform: uppercase; letter-spacing: .6px; }
.st-diagramm { width: 100%; max-width: 100%; height: auto; display: block; margin-top: 6px; overflow: visible; }
.st-diagramm .st-gitter { stroke: rgba(255, 255, 255, .1); stroke-width: 1; }
.st-diagramm .st-achse { fill: var(--leise); font-size: 11px; font-variant-numeric: tabular-nums; }
.st-diagramm .st-name { fill: var(--text); font-size: 12px; font-weight: 700; }
.st-diagramm .st-rest { fill: #5b5f73; }
.st-diagramm .st-treffer { fill: transparent; }
.st-diagramm .st-treffer:hover { fill: rgba(255, 255, 255, .05); }
.st-legende { display: flex; gap: 14px; flex-wrap: wrap; font-size: .85rem; color: var(--leise); }
.st-legende span { display: inline-flex; align-items: center; gap: 6px; }
.st-legende i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.st-legende i.st-rest-farbe { background: #5b5f73; }
.st-details { margin-top: 6px; font-size: .88rem; }
.st-details summary { cursor: pointer; color: var(--leise); }
.st-tabelle-rahmen { overflow-x: auto; max-width: 100%; }
.st-tabelle { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.st-tabelle th, .st-tabelle td { padding: 7px 8px; border-bottom: 1px solid rgba(255, 255, 255, .08); text-align: left; white-space: nowrap; }
.st-tabelle th { color: var(--leise); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; }
.st-tabelle tr.st-ich td, .st-tabelle tr.st-ich th { background: rgba(255, 207, 90, .08); }
.st-ich-text { color: var(--gold); font-weight: 700; }
.st-gut { color: #a6f3cf; }
.st-schlecht { color: #ffb3b3; }
.st-matrix td { text-align: center; }
.st-leerfeld { color: var(--leise); background: rgba(255, 255, 255, .03); }
.st-orte { padding-left: 1.2em; }
.st-orte li { margin-bottom: .5em; }
.st-letzte { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.st-letzte li { padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--rand); font-size: .9rem; overflow-wrap: anywhere; }
.st-einladung { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 8px 0; font-size: .9rem; }
.st-einladung code { padding: 6px 10px; border-radius: 8px; background: var(--bg); border: 1px dashed var(--rand); color: var(--tuerkis); overflow-wrap: anywhere; }
.st-loeschen { margin-top: 26px; text-align: right; }
.konto-zeile {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-bottom: 18px; padding: 12px 16px; border-radius: var(--radius);
  background: rgba(255, 207, 90, .07); border: 1px solid rgba(255, 207, 90, .35);
}
.konto-marke { font-size: .9rem; }
.konto-hinweis { margin: 12px 0 0; font-size: .9rem; color: var(--leise); }
.konto-hinweis.ok { color: #a6f3cf; }
@media (max-width: 760px) {
  .statistik-dialog { width: calc(100vw - 16px); max-width: none; padding: 18px 14px; }
  .st-kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-kachel b { font-size: 1.3rem; }
  .st-tabelle { font-size: .85rem; }
  .st-tabelle th, .st-tabelle td { padding: 6px 6px; }
  .st-code { max-width: none; flex: 1 1 100%; }
}
/* München: Die Statistik liegt auf tiefem Blau – so behalten alle acht Linienfarben 3:1 Kontrast. */
body[data-ort="muenchen"] .statistik-dialog { background: #071f45; }

/* ══ Runde 15: Durchblick, neuer Trick am Rad ═════════════════════════════ */
.shaker-risiko { margin: 8px 0 0; font-size: .88rem; color: #a6f3cf; }
.shaker-risiko.heiss { color: #ffb3b3; font-weight: 700; }
.rad-trick {
  display: flex; align-items: center; gap: 14px; max-width: min(560px, 100%); padding: 12px 18px;
  border-radius: 16px; background: rgba(20, 10, 36, .94); border: 2px solid var(--gold);
  box-shadow: 0 0 30px rgba(255, 207, 90, .35); animation: rad-trick-rein .5s .35s cubic-bezier(.2, 1.4, .4, 1) both;
}
.rad-trick[hidden] { display: none; }
.rad-trick-emoji { font-size: 2.4rem; flex: none; }
.rad-trick-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; text-align: left; }
.rad-trick-text small { color: var(--gold); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; }
.rad-trick-text b { font-size: 1.25rem; color: #fff; }
.rad-trick-text span { font-size: .92rem; line-height: 1.35; color: var(--text); }
@keyframes rad-trick-rein { from { opacity: 0; transform: translateY(12px) scale(.9); } }
.rad-trick-text em { font-size: .82rem; color: var(--leise); font-style: normal; margin-top: 2px; }
/* Lange Ergebnisse (neuer Trick mit langem Namen) brechen um, statt über den Rand zu laufen. */
.rad-ergebnis-gross { width: max-content; max-width: calc(100vw - 32px); white-space: normal; text-align: left; }
/* Der Maßkrug braucht links Platz für den Henkel – damit er nicht kleiner wirkt, wird er breiter gezeichnet. */
.glas-svg.glas-masskrug { width: 290px; }
@media (max-width: 760px) { .glas-svg.glas-masskrug { width: min(219px, 24.6vh); } }
@media (max-width: 760px) {
  .rad-ergebnis-gross { max-width: calc(100vw - 24px); padding: 12px 18px; font-size: 1.35rem; }
  .rad-trick { padding: 10px 12px; gap: 10px; }
  .rad-trick-emoji { font-size: 1.8rem; }
  .rad-trick-text b { font-size: 1.05rem; }
  .rad-trick-text span { font-size: .84rem; }
}

/* ══ Runde 16: kein Shaker-Kasten mehr beim Mixen ═════════════════════════
   Leer (ohne Durchblick) verschwindet der Kasten ganz; die Anzahl steht am Ziehen-Knopf. */
#b-shaker:empty { display: none; }
.knopf[data-aktion="ziehen"] { position: relative; }
.noch-marke {
  position: absolute; top: -9px; right: 10px; padding: 1px 8px; border-radius: 999px;
  background: var(--flaeche); color: var(--leise); border: 1px solid var(--rand);
  font-size: .7rem; font-weight: 800; letter-spacing: .3px; line-height: 1.5; pointer-events: none;
}
.knopf:disabled .noch-marke { opacity: .8; }

/* ══ Runde 17: Das Regal im Laden – alle Krüge der Partie ═════════════════ */
.nur-schmal { display: none; }
@media (max-width: 1100px) {
  .nur-breit { display: none; }
  .nur-schmal { display: block; }
}
.kruege-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.kruege-kopf h3 { margin: 0 0 2px; }
.kruege-summe { text-align: right; line-height: 1; }
.kruege-summe b { display: block; font-family: var(--anzeige); font-size: 2rem; color: var(--gold); font-variant-numeric: tabular-nums; }
.kruege-summe span { font-size: .75rem; color: var(--leise); text-transform: uppercase; letter-spacing: .6px; }
.kruege-regal { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 6px; }
.krug-mini { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0;
  padding: 6px 4px 6px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--rand); }
.krug-runde { font-size: .72rem; font-weight: 800; color: var(--leise); letter-spacing: .5px; }
.krug-svg { width: 100%; max-width: 74px; height: auto; display: block; overflow: visible; }
.krug-mini figcaption { display: flex; flex-direction: column; align-items: center; line-height: 1.15; text-align: center; }
.krug-mini figcaption span { font-size: .72rem; color: var(--leise); white-space: nowrap; }
.krug-mini figcaption b { font-size: .92rem; font-variant-numeric: tabular-nums; }
.krug-mini.kaputt { background: rgba(255, 77, 77, .1); border-color: rgba(255, 77, 77, .45); }
.krug-mini.kaputt .krug-svg { filter: saturate(.75); }
.krug-mini.kaputt figcaption span { color: #ffb3b3; font-weight: 700; }

/* ══ Runde 18 ════════════════════════════════════════════════════════════
   Nach dem Aufdecken bleibt das Feld genau so stehen, wie es aufgeleuchtet hat. */
.letzter-zug.enthuellt {
  min-height: 76px;
  border-color: color-mix(in srgb, var(--c) 55%, var(--rand));
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 70%, transparent), 0 0 28px color-mix(in srgb, var(--c) 55%, transparent);
}
.letzter-zug.enthuellt .enth-buehne .chip,
.letzter-zug.enthuellt .enth-buehne .chip b,
.letzter-zug.enthuellt .enth-schein { animation: none; }
.letzter-zug.enthuellt .enth-schein { opacity: .8; transform: scale(1.12); }

/* München: Lieferung und Trick-Karte deckend – weiß auf Rautengrund war kaum lesbar. */
body[data-ort="muenchen"] .nachschub { background: linear-gradient(90deg, #a51d2a, #d23a44); border-color: #ffffff; color: #ffffff; }
.trick-karte.benutzt { opacity: 1; }
.trick-karte.benutzt > * { opacity: .62; }

/* Laden: Diese Zutat kann Korken bringen */
.ko-marke { color: var(--gold); font-weight: 700; white-space: nowrap; }

/* Neu im Laden */
.neuheit-overlay {
  position: fixed; inset: 0; z-index: 75; display: grid; place-items: center; padding: 16px;
  background: rgba(8, 4, 18, .72); backdrop-filter: blur(4px); overflow-y: auto;
  animation: nh-rein .3s ease;
}
.neuheit-overlay.weg { opacity: 0; transition: opacity .25s ease; }
@keyframes nh-rein { from { opacity: 0; } }
.nh-karte {
  width: min(560px, 100%); padding: 22px 22px 20px; border-radius: 22px; text-align: center;
  background: var(--flaeche); border: 2px solid var(--gold); box-shadow: 0 0 0 6px rgba(255, 207, 90, .15), 0 20px 60px rgba(0, 0, 0, .55);
  animation: nh-karte-rein .5s cubic-bezier(.2, 1.4, .4, 1);
}
@keyframes nh-karte-rein { from { transform: translateY(24px) scale(.9); opacity: 0; } }
.nh-ueber { font-size: .8rem; font-weight: 800; color: var(--gold); text-transform: uppercase; letter-spacing: .8px; }
.nh-karte h2 { margin: 6px 0 4px; font-size: clamp(1.5rem, 5vw, 2.1rem); }
.nh-unter { margin: 0 0 14px; color: var(--leise); }
.nh-liste { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; text-align: left; }
.nh-ware {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 14px; border-radius: 16px;
  background: color-mix(in srgb, var(--c) 16%, var(--bg)); border: 1px solid color-mix(in srgb, var(--c) 55%, var(--rand));
}
.nh-chip .chip { width: 64px; height: 74px; font-size: 2rem; }
.nh-text b { display: block; font-size: 1.2rem; }
.nh-text small { color: var(--leise); text-transform: uppercase; letter-spacing: .5px; font-size: .74rem; font-weight: 700; }
.nh-text p { margin: 6px 0 8px; font-size: .92rem; line-height: 1.4; }
.nh-preise { display: flex; gap: 10px; flex-wrap: wrap; font-weight: 700; font-size: .9rem; }
.nh-preise > span { display: inline-flex; align-items: center; gap: 4px; }
@media (max-width: 760px) {
  .nh-karte { padding: 18px 14px 16px; }
  .nh-chip .chip { width: 50px; height: 58px; font-size: 1.6rem; }
  .nh-ok { width: 100%; }
}

/* ══ Runde 19 ═════════════════════════════════════════════════════════════
   Krüge: alle in einer Zeile – die Kacheln werden so schmal, wie es nötig ist. */
.krug-mini { padding: 4px 2px 5px; border-radius: 10px; }
.krug-svg { max-width: 64px; }
.krug-runde { font-size: .66rem; }
.krug-mini figcaption span { font-size: .62rem; }
.krug-mini figcaption b { font-size: .8rem; white-space: nowrap; }
@media (max-width: 760px) { .kruege-regal { gap: 4px; } .krug-mini figcaption b { font-size: .72rem; } }

/* Beim Mixen: Trick schmaler, rechts daneben die Krüge der vorigen Runden */
.trick-reihe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 16px; margin-top: 16px; align-items: stretch; }
.trick-reihe:has(#b-kruege-mix:empty) { grid-template-columns: minmax(0, 1fr); }
.trick-reihe #b-kruege-mix:empty { display: none; }
.trick-reihe .trick-karte { margin-top: 0; height: 100%; grid-template-columns: 44px minmax(0, 1fr); align-content: center; }
.trick-reihe .trick-karte > div:last-child { grid-column: 2; justify-self: start; }
.trick-reihe .trick-emoji { font-size: 2rem; }
.trick-reihe .kruege-karte { padding: 12px 14px; }
.trick-reihe .kruege-summe b { font-size: 1.6rem; }
@media (max-width: 1100px) { .trick-reihe { grid-template-columns: minmax(0, 1fr); } }

/* Abstand zwischen Ereigniskachel und Glaskachel – immer, auch ohne Lieferung */
#b-gast:not(:empty) { margin-bottom: 16px; }

/* Kartenziehung: Keine Zeigerlinie mehr quer über die Karten (nur noch die Pfeile oben und
   unten), und das Fenster hat oben und unten genug Luft, damit das Leuchten der gezogenen
   Karte beim Herausspringen weich ausläuft statt an einer harten Kante zu enden. */
.ziehung-marke { background: none; box-shadow: none; z-index: 1; }
.ziehung-marke::before, .ziehung-marke::after { filter: drop-shadow(0 0 6px var(--gold)); }
.ziehung-overlay .ziehung-fenster { height: calc(var(--kb) * 1.4 + 150px); }
.ziehung-streifen { top: 75px; }
.ziehung-overlay.gestoppt .ziehung-marke { opacity: 0; transition: opacity .3s ease; }

/* ══ Runde 21 ═════════════════════════════════════════════════════════════
   Gäste-Automat: Wer hinten liegt, zieht am Hebel. Zwei Walzen laufen gegeneinander,
   zwei Karten bleiben stehen, eine wird genommen. Keine Linie über den Karten – nur
   Pfeile außen an den Walzen. */
.automat, .automat-mini { --a1: #c8102e; --a2: #5a0716; }
body[data-ort="hamburg"] :is(.automat, .automat-mini) { --a1: #1f4e79; --a2: #0b1e33; }
body[data-ort="rockimpark"] :is(.automat, .automat-mini) { --a1: #2c2c36; --a2: #0b0b0f; border-color: #ff2e88; }
body[data-ort="muenchen"] :is(.automat, .automat-mini) { --a1: #2a7fd0; --a2: #123c6b; border-color: #ffffff; }
.automat-overlay { --wh: 86px; gap: 12px; }
.automat-overlay.gross { justify-content: safe center; }
.automat-overlay.gross .ziehung-unten { flex: none; }
.automat {
  position: relative; flex: none; width: min(540px, calc(100% - 46px)); margin-right: 30px; padding: 10px 14px 16px;
  border-radius: 26px 26px 18px 18px; border: 4px solid var(--gold);
  background: linear-gradient(180deg, var(--a1), var(--a2));
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .35), 0 18px 50px rgba(0, 0, 0, .6), inset 0 2px 0 rgba(255, 255, 255, .3);
}
.automat-schild {
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 2px 0 10px;
  font-family: var(--anzeige); font-weight: 900; font-size: clamp(1.02rem, 4vw, 1.45rem); letter-spacing: 1.5px;
  color: #fff6d0; text-shadow: 0 0 10px var(--gold), 0 2px 0 rgba(0, 0, 0, .5);
}
.automat-schild .lampen {
  width: 46px; height: 10px; flex: none;
  background: radial-gradient(circle, #fff3b0 0 3px, transparent 3.5px) 0 50% / 11.5px 10px repeat-x;
  animation: lampen-blinken .9s steps(2) infinite;
}
.automat-schild .lampen:last-child { animation-delay: -.45s; }
@keyframes lampen-blinken { 50% { filter: brightness(.4); } }
.automat-walzen {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 14px;
  border-radius: 14px; background: #160910; box-shadow: inset 0 4px 14px rgba(0, 0, 0, .85);
}
/* Pfeile links und rechts auf Höhe der Gewinnreihe */
.automat-walzen::before, .automat-walzen::after {
  content: ''; position: absolute; top: 50%; margin-top: -10px; width: 0; height: 0; z-index: 2;
  border-top: 10px solid transparent; border-bottom: 10px solid transparent; filter: drop-shadow(0 0 5px var(--gold));
}
.automat-walzen::before { left: 0; border-left: 12px solid var(--gold); }
.automat-walzen::after { right: 0; border-right: 12px solid var(--gold); }
.automat.einzeln .automat-walzen { grid-template-columns: 1fr; }
.automat.einzeln .walze.hoch { display: none; }
.walze {
  position: relative; height: calc(var(--wh) * 2.35); overflow: hidden; border-radius: 10px;
  background: linear-gradient(180deg, #cfc6b4, #fffdf6 28%, #fffdf6 72%, #cfc6b4);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  transition: opacity .4s, filter .4s;
}
.walze.verworfen { opacity: .45; filter: saturate(.3); }
.walze-band { position: absolute; left: 7px; right: 7px; top: 0; display: flex; flex-direction: column; row-gap: 10px; will-change: transform; }
.walze-band.einrasten { transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.wkarte {
  flex: none; height: var(--wh); border-radius: 12px; padding: 5px 9px; overflow: hidden;
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 8px; align-items: center;
  background: linear-gradient(170deg, #fffaf0, #f3e3c6); color: #2a1a10; border: 3px solid var(--gold);
  box-shadow: 0 3px 8px rgba(0, 0, 0, .22);
}
.wkarte.ereignis { border-color: var(--tuerkis); background: linear-gradient(170deg, #f0fdff, #cfeff5); }
.wkarte-art {
  grid-column: 1 / -1; justify-self: start; font-size: .56rem; font-weight: 900; text-transform: uppercase;
  letter-spacing: 1.2px; padding: 1px 7px; border-radius: 999px; background: var(--gold); color: #2a1a00;
}
.wkarte.ereignis .wkarte-art { background: var(--tuerkis); color: #04232b; }
.wkarte-emoji { font-size: 2.1rem; line-height: 1; }
.wkarte-name {
  font-size: .9rem; line-height: 1.15; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.walze.steht .wkarte.ziel { animation: walze-treffer .6s ease forwards; }
@keyframes walze-treffer { to { box-shadow: inset 0 0 0 2px #fff, 0 0 12px 2px var(--gold); } }
body[data-ort="muenchen"] .wkarte { background: linear-gradient(170deg, #ffffff, #e6f1fc); color: #0b2f5e; border-color: #2a95dd; }

/* Der Hebel rechts am Automaten */
.automat-hebel { position: absolute; right: -32px; top: 30%; width: 26px; height: 124px; pointer-events: none; }
.hebel-lager {
  position: absolute; left: 0; bottom: 0; width: 26px; height: 30px; border-radius: 8px;
  background: linear-gradient(90deg, #5b5b5b, #d8d8d8 50%, #5b5b5b); box-shadow: 0 3px 8px rgba(0, 0, 0, .5);
}
.hebel-arm {
  position: absolute; left: 9px; bottom: 18px; width: 8px; height: 92px; border-radius: 4px;
  background: linear-gradient(90deg, #8a8a8a, #f2f2f2 50%, #8a8a8a); transform-origin: 50% 100%;
}
.hebel-kugel {
  position: absolute; left: 50%; top: -14px; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff9a9a, #d0102a 55%, #6a0010); box-shadow: 0 3px 8px rgba(0, 0, 0, .5);
}
.automat.zieht .hebel-arm { animation: hebel-ziehen .8s cubic-bezier(.4, 0, .3, 1); }
@keyframes hebel-ziehen { 0% { transform: scaleY(1); } 40% { transform: scaleY(-.55); } 100% { transform: scaleY(1); } }

/* Die zwei Karten, die stehen geblieben sind – mit vollem Text und Knopf */
.automat-angebot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: min(620px, 100%); }
.automat-angebot[hidden] { display: none; }
.automat-angebot:has(> .angebot-platz:only-child) { grid-template-columns: minmax(0, 320px); justify-content: center; }
.angebot-platz { display: flex; flex-direction: column; gap: 10px; animation: ergebnis-rein .45s cubic-bezier(.2, 1.4, .4, 1); transition: opacity .4s, filter .4s, transform .4s; }
.zkarte.angebot, .ziehung-overlay .zkarte.angebot { width: 100%; height: auto; min-height: 0; padding: 12px 12px 14px; }
.zkarte.angebot .zkarte-emoji { font-size: 2.8rem; }
.zkarte.angebot .zkarte-name { font-size: 1.08rem; }
.zkarte.angebot .zkarte-text, .ziehung-overlay .zkarte.angebot .zkarte-text {
  display: block; -webkit-line-clamp: unset; overflow: visible; font-size: .9rem; line-height: 1.35;
}
.automat-overlay.gestoppt .zkarte.angebot { opacity: 1; filter: none; }
.angebot-platz > .zkarte { flex: 1; }
.angebot-knopf:empty { display: none; }
.angebot-knopf .knopf { width: 100%; }
.angebot-platz.genommen .zkarte { animation: karte-gewinnt .6s cubic-bezier(.2, 1.4, .4, 1) forwards; }
.angebot-platz.verworfen { opacity: .38; filter: saturate(.3); transform: scale(.94); }
.automat-hinweis { margin: 0; color: var(--leise); text-align: center; font-size: 1.02rem; }
.automat-hinweis[hidden] { display: none; }
.automat-angebot.seite { margin: 16px auto 4px; text-align: left; }
@media (max-width: 520px) {
  .automat-overlay { --wh: 74px; }
  .automat { padding: 8px 10px 12px; }
  .automat-walzen { padding: 8px 12px; gap: 8px; }
  /* Am Handy: Bild über dem Namen, damit lange Namen in die schmale Walze passen */
  .wkarte { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; justify-items: center; row-gap: 1px; padding: 3px 5px; text-align: center; }
  .wkarte-art { justify-self: center; font-size: .5rem; }
  .wkarte-emoji { font-size: 1.35rem; }
  .wkarte-name { font-size: .7rem; line-height: 1.1; -webkit-line-clamp: 2; overflow-wrap: anywhere; }
  .automat-schild .lampen { width: 22px; }
  .automat-angebot { gap: 10px; }
  .zkarte.angebot, .ziehung-overlay .zkarte.angebot { padding: 9px 8px 11px; }
  .zkarte.angebot .zkarte-emoji { font-size: 2.2rem; }
  .zkarte.angebot .zkarte-name { font-size: .95rem; }
  .zkarte.angebot .zkarte-text, .ziehung-overlay .zkarte.angebot .zkarte-text { font-size: .8rem; }
}

@media (max-width: 360px) {
  .automat-schild { font-size: .95rem; gap: 6px; }
  .automat-schild .lampen { display: none; }
}

/* Der Automat auf der Seite, bevor jemand am Hebel zieht */
.automat-mini {
  position: relative; display: block; width: 236px; margin: 18px auto 10px; padding: 10px 12px 12px; cursor: pointer;
  border-radius: 20px 20px 14px 14px; border: 3px solid var(--gold); color: inherit; font: inherit;
  background: linear-gradient(180deg, var(--a1), var(--a2));
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .3), 0 12px 30px rgba(0, 0, 0, .5);
}
.automat-mini:disabled { cursor: default; }
.automat-mini-schild { display: block; font-weight: 900; color: #fff6d0; letter-spacing: 1px; margin-bottom: 8px; text-shadow: 0 0 8px var(--gold); }
.automat-mini-fenster { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 10px; background: #160910; }
.automat-mini-fenster span {
  height: 92px; display: grid; place-items: center; border-radius: 8px; border: 2px solid rgba(255, 255, 255, .85);
  font-size: 2.2rem; font-weight: 900; color: rgba(255, 255, 255, .9);
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .08) 0 8px, transparent 8px 16px),
    linear-gradient(150deg, var(--pink), #6a2c91 55%, var(--tuerkis));
}
.automat-mini-zahl { display: block; margin-top: 7px; font-size: .78rem; color: #fff6d0; opacity: .85; }
.automat-mini .automat-hebel { right: -30px; top: 22%; height: 110px; }
.automat-mini .hebel-arm { height: 78px; }
.automat-mini:not(:disabled) .hebel-kugel { animation: kugel-locken 1.6s ease-in-out infinite; }
.automat-mini:not(:disabled):hover .hebel-arm, .automat-mini:not(:disabled):focus-visible .hebel-arm { transform: scaleY(.82); transition: transform .2s; }
@keyframes kugel-locken { 0%, 100% { box-shadow: 0 3px 8px rgba(0, 0, 0, .5); } 50% { box-shadow: 0 0 0 4px rgba(255, 255, 255, .35), 0 0 18px #ff4a5e; } }
.vorsprung-zeile { margin: 14px auto 4px; max-width: 560px; padding: 8px 12px; border-radius: 10px; background: rgba(217, 169, 58, .14); border: 1px solid rgba(217, 169, 58, .5); }

/* ── Kipp-Moment für alle ──────────────────────────────────────────────── */
.kipp-meldung {
  position: fixed; left: 50%; top: 74px; z-index: 60; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px);
  padding: 10px 18px; border-radius: 999px; background: #4a0d18; border: 2px solid var(--gefahr); color: #fff;
  box-shadow: 0 0 24px rgba(255, 60, 60, .55), 0 10px 26px rgba(0, 0, 0, .5);
  animation: kipp-rein .45s cubic-bezier(.2, 1.5, .4, 1);
}
.kipp-meldung b { font-size: 1.05rem; }
.kipp-meldung.weg { animation: ausblenden .35s ease forwards; }
.kipp-avatare { display: flex; }
.kipp-avatare > * + * { margin-left: -8px; }
@keyframes kipp-rein { from { transform: translate(-50%, -30px) scale(.8); opacity: 0; } to { transform: translate(-50%, 0) scale(1); opacity: 1; } }
.mitspieler.kippt { animation: zeile-kippt 1.2s ease; }
@keyframes zeile-kippt {
  0%, 100% { transform: none; background-color: transparent; }
  10%, 30%, 50% { transform: translateX(-4px); background-color: rgba(255, 60, 60, .35); }
  20%, 40% { transform: translateX(4px); background-color: rgba(255, 60, 60, .35); }
}
.zustand-marke.limit { background: rgba(255, 80, 60, .22); color: #ffb3a6; border-color: rgba(255, 80, 60, .6); animation: limit-pulsieren 1.1s ease-in-out infinite; }
@keyframes limit-pulsieren { 50% { box-shadow: 0 0 10px rgba(255, 80, 60, .8); } }
.mitspieler.am-limit { box-shadow: inset 3px 0 0 #ff5a3c; }

/* Scheinwerfer: Mixt nur noch einer, sehen alle sein Glas groß */
.spot-karte { margin-bottom: 16px; border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 0 30px rgba(255, 207, 90, .25); }
.spot-karte.am-limit { animation: spot-heiss 1.2s ease-in-out infinite; }
@keyframes spot-heiss { 50% { box-shadow: 0 0 0 1px #ff5a3c, 0 0 34px rgba(255, 90, 60, .55); } }
.spot-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 1.1rem; margin-bottom: 8px; }
.spot-tresen { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: center; }
.spot-tresen .glas-spalte { display: flex; align-items: flex-end; gap: 8px; }
.spot-tresen .glas-svg { width: 200px; height: auto; }
.spot-tresen .glas-svg.glas-masskrug { width: 250px; }
.spot-zahlen { display: grid; gap: 8px; min-width: 200px; }
.spot-zahlen .heiss { color: #ff9b8a; }
.spot-limit { margin: 0; color: #ffb3a6; font-weight: 700; }
@media (max-width: 760px) {
  .spot-tresen .glas-svg { width: min(170px, 44vw); }
  .spot-tresen .glas-svg.glas-masskrug { width: min(210px, 52vw); }
  .kipp-meldung { top: 64px; padding: 8px 14px; }
  .kipp-meldung b { font-size: .95rem; }
}
.letzter-zug.vorsprung-hinweis { border-color: rgba(217, 169, 58, .6); background: rgba(217, 169, 58, .12); }

/* ── Auszeichnungen am Ende ────────────────────────────────────────────── */
#b-ehren:empty { display: none; }
.ehren { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.ehre {
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 14px 10px 12px;
  border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 207, 90, .35);
  animation: ergebnis-rein .5s cubic-bezier(.2, 1.4, .4, 1) both;
}
.ehre:nth-child(2) { animation-delay: .08s; } .ehre:nth-child(3) { animation-delay: .16s; }
.ehre:nth-child(4) { animation-delay: .24s; } .ehre:nth-child(5) { animation-delay: .32s; }
.ehre:nth-child(6) { animation-delay: .4s; }
.ehre-emoji { font-size: 2.2rem; line-height: 1.1; }
.ehre-titel { color: var(--gold); font-size: 1rem; }
.ehre-wer { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.ehre-info { font-size: .82rem; color: var(--leise); }
@media (max-width: 520px) { .ehren { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }

/* ══ Runde 22 ═════════════════════════════════════════════════════════════
   Tauchsieder: weißer Knopf neben Ziehen und Servieren – nur klickbar, wenn es geht. */
.knopf.sieb-knopf { background: #ffffff; color: #1c1230; border: 2px solid #ffffff; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.knopf.sieb-knopf:not(:disabled):hover { background: #f1ecff; border-color: #f1ecff; }
.knopf.sieb-knopf:disabled { background: rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .55); border-color: rgba(255, 255, 255, .25); box-shadow: none; cursor: not-allowed; }
/* Die Zahlen-Kacheln sind jetzt drei */
/* Runde 24: Beim Mixen stehen hier nur noch „Jetzt servieren“ und – wenn aktiv – die Kühlung. */
#b-zahlen.kennzahlen { display: flex; gap: 10px; }
#b-zahlen .kennzahl { flex: 1 1 0; min-width: 0; }
@media (max-width: 520px) { #b-zahlen.kennzahlen { gap: 6px; } .kennzahl { padding: 8px 8px; } }
.kennzahl.kuehl-an { border-color: rgba(142, 202, 230, .6); background: rgba(142, 202, 230, .1); }

/* Glücksrad: Wer zuschaut, wartet auf den Schwung des Gewinners */
.rad-hinweis.rad-warten { font-size: 1.02rem; color: #fff; animation: rad-warten 1.4s ease-in-out infinite; }
.rad-overlay.dreht .rad-hinweis.rad-warten, .rad-overlay.gelandet .rad-hinweis.rad-warten { animation: none; opacity: 1; }
@keyframes rad-warten { 50% { opacity: .55; } }

/* Vorsprung vom Wirt: Einschenken vor dem ersten Zug */
.vorsprung-overlay {
  position: fixed; inset: 0; z-index: 72; height: 100vh; height: 100dvh;
  display: flex; flex-direction: column; align-items: center; justify-content: safe center; gap: 10px;
  padding: 16px; overflow-y: auto; text-align: center; color: #fff;
  background: radial-gradient(ellipse at 50% 38%, #5a4410 0%, #2a1e06 55%, #0e0a03 100%);
  animation: einblenden .3s ease;
}
.vorsprung-overlay.weg { animation: ausblenden .25s ease forwards; }
.vs-runde { color: #ffcf5a; font-weight: 800; letter-spacing: .5px; }
.vs-kopf h2 {
  margin: 4px 0 0; font-family: var(--anzeige); font-weight: 900; font-size: clamp(1.6rem, 5.6vw, 2.8rem);
  text-shadow: 0 0 12px #e9b949, 0 0 34px rgba(233, 185, 73, .6);
}
.vs-buehne { position: relative; width: 250px; flex: none; padding-top: 78px; }
.vs-glas .glas-svg { width: 230px; height: auto; display: block; margin: 0 auto; }
.vs-glas .glas-svg.glas-masskrug { width: 250px; }
/* Die goldene Schicht läuft von unten voll, die Zahl im Glas kommt erst danach. */
.vorsprung-overlay .vorsprung-schicht { transform-box: fill-box; transform-origin: 50% 100%; animation: vs-fuellen 1.7s cubic-bezier(.3, .1, .3, 1) .5s both; }
@keyframes vs-fuellen { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.vs-glas .glas-svg > text:last-of-type { animation: vs-zahl .4s ease 2.2s both; }
@keyframes vs-zahl { from { opacity: 0; } to { opacity: 1; } }
.vs-flasche {
  position: absolute; left: 50%; top: 0; font-size: 3.6rem; line-height: 1; transform: translateX(-80%) rotate(-10deg);
  transform-origin: 70% 80%; animation: vs-kippen 2.4s ease both; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5));
}
@keyframes vs-kippen {
  0% { opacity: 0; transform: translateX(-80%) translateY(-14px) rotate(-10deg); }
  15% { opacity: 1; transform: translateX(-80%) rotate(-10deg); }
  25%, 80% { transform: translateX(-80%) rotate(18deg); }
  100% { opacity: .0; transform: translateX(-80%) rotate(-6deg); }
}
.vs-strahl {
  position: absolute; left: 50%; top: 58px; width: 7px; height: 150px; margin-left: -3px; border-radius: 4px;
  background: linear-gradient(180deg, #f2cf6b, #c99a2e); box-shadow: 0 0 12px rgba(242, 207, 107, .8);
  transform-origin: 50% 0; animation: vs-strahl 2.2s ease .35s both;
}
@keyframes vs-strahl {
  0% { transform: scaleY(0); opacity: 1; } 18% { transform: scaleY(1); opacity: 1; }
  80% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1) translateY(30px); opacity: 0; }
}
.vs-plus {
  position: absolute; right: -58px; top: 14px; font-size: 1.6rem; font-weight: 900; color: #ffd76a; opacity: 0;
  text-shadow: 0 0 14px rgba(233, 185, 73, .9); white-space: nowrap;
}
.vorsprung-overlay.voll .vs-plus { animation: lf-plus .6s cubic-bezier(.2, 1.5, .4, 1) forwards; }
.vs-text { margin: 0; font-size: clamp(1.02rem, 3.6vw, 1.25rem); max-width: 560px; }
.vs-feld { color: #ffd76a; }
.vs-andere { margin: 0; color: #f6e3b0; }
.vs-klein { margin: 0; font-size: .86rem; color: rgba(255, 255, 255, .7); }
.vorsprung-overlay:not(.voll) .vs-ok { visibility: hidden; }
.vs-ok { min-width: min(88vw, 340px); }
@media (max-width: 520px) {
  .vs-buehne { width: 200px; padding-top: 66px; }
  .vs-glas .glas-svg { width: 190px; }
  .vs-glas .glas-svg.glas-masskrug { width: 210px; }
  .vs-plus { right: -30px; top: 6px; font-size: 1.3rem; }
}
@media (max-height: 700px) {
  .vs-buehne { transform: scale(.8); transform-origin: 50% 0; margin-bottom: -60px; }
}
@media (prefers-reduced-motion: reduce) {
  .vorsprung-overlay .vorsprung-schicht, .vs-flasche, .vs-strahl, .vs-glas .glas-svg > text:last-of-type { animation: none; }
  .vs-strahl, .vs-flasche { display: none; }
}

/* ══ Runde 23 ═════════════════════════════════════════════════════════════ */
/* Nachbarn: eine knappe Zeile */
.nachbarn.knapp { display: block; font-size: .9rem; color: var(--leise); padding: 4px 0; }
.nachbarn.knapp b { color: #fff; }
/* Abrechnung: wer klickt */
.buehne-regie { font-size: .85rem; font-weight: 700; color: var(--gold); white-space: nowrap; }
@media (max-width: 520px) { .buehne-regie { font-size: .76rem; white-space: normal; } }
/* Startshaker: wie die scharfe Lieferung, nur freundlicher und mit vielen Zutaten */
.startshaker-overlay {
  position: fixed; inset: 0; z-index: 72; height: 100vh; height: 100dvh;
  display: flex; flex-direction: column; align-items: center; justify-content: safe center; gap: 10px;
  padding: 16px; overflow-y: auto; text-align: center; color: #fff;
  background: radial-gradient(ellipse at 50% 38%, var(--vorhang1, #2c1650) 0%, var(--vorhang2, #07030d) 100%);
  animation: einblenden .3s ease;
}
.startshaker-overlay.weg { animation: ausblenden .25s ease forwards; }
.startshaker-overlay .lf-kopf h2 { text-shadow: 0 0 12px var(--pink), 0 0 30px rgba(255, 79, 163, .5); }
.startshaker-overlay .lf-chip { animation-duration: 1.25s; animation-delay: calc(var(--i) * var(--takt, 330ms)); }
.startshaker-overlay .lf-chip .chip { filter: drop-shadow(0 0 10px rgba(255, 255, 255, .45)); }
.startshaker-overlay .lf-chip.ss-chili .chip { filter: drop-shadow(0 0 14px rgba(255, 77, 77, .95)); }
.startshaker-overlay .lf-plus { right: -96px; color: #fff; text-shadow: 0 0 12px var(--pink); }
.startshaker-overlay.gelandet .lf-plus { animation: lf-plus .6s cubic-bezier(.2, 1.5, .4, 1) forwards; }
.ss-inhalt { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; max-width: 620px; opacity: 0; }
.ss-posten {
  display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 6px; align-items: center;
  padding: 6px 10px 6px 6px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15); text-align: left;
}
.ss-posten .chip { grid-row: 1 / 3; width: 42px; height: 48px; font-size: 1.35rem; }
.ss-posten b { font-size: 1.05rem; }
.ss-posten small { font-size: .78rem; color: var(--leise); }
.ss-posten.ss-chili { border-color: rgba(255, 77, 77, .6); background: rgba(255, 77, 77, .12); }
.startshaker-overlay.fertig .ss-inhalt { animation: lf-plus .5s cubic-bezier(.2, 1.4, .4, 1) forwards; }
.ss-tipp { margin: 0; color: var(--leise); }
@media (max-width: 520px) { .startshaker-overlay .lf-plus { right: -60px; font-size: 1.2rem; } }
@media (prefers-reduced-motion: reduce) { .startshaker-overlay .lf-chip { animation: none; opacity: 0; } }

@media (max-width: 760px) {
  /* Tauchsieder am Handy über die ganze Breite unter Ziehen und Servieren – gleiche Schriftgröße */
}

/* Runde 25: Ereigniskarte beim Ziehen ohne Name und Tageszeit – der Text steht direkt unter der Marke. */
.gastkarte .gast-art + p { margin-top: 6px; font-size: 1.02rem; }

/* ══ Runde 26 ═════════════════════════════════════════════════════════════
   Beim Mixen: Das Feld mit dem Glas ist 30 % höher (Glas und Schärfe-Röhre wachsen mit),
   der Barkeeper-Trick steht darin – nur solange er einsetzbar ist. */
.tresen { grid-template-columns: 430px minmax(0, 1fr); }
#b-glas .glas-svg { width: 338px; }
#b-glas .glas-svg.glas-masskrug { width: 377px; }
#b-glas .thermo-roehre { height: 377px; }
@media (max-width: 1100px) { .tresen { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  #b-glas .glas-svg { width: min(255px, 28.6vh); }
  #b-glas .glas-svg.glas-masskrug { width: min(285px, 32vh); }
  #b-glas .thermo-roehre { height: min(278px, 31.2vh); }
  .bedienung #b-trick { order: 4; }
}
#b-trick:empty { display: none; }
.trick-kompakt {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 12px; align-items: center;
  padding: 10px 12px; border-radius: 14px; border: 1px solid rgba(255, 207, 90, .55);
  background: linear-gradient(135deg, rgba(255, 207, 90, .14), rgba(255, 79, 163, .08));
  animation: ergebnis-rein .4s cubic-bezier(.2, 1.4, .4, 1);
}
.trick-kompakt .trick-emoji { font-size: 1.9rem; line-height: 1; grid-row: 1 / 3; align-self: start; }
.trick-kompakt .trick-titel { display: block; font-size: .68rem; }
.trick-kompakt b { font-size: 1.02rem; }
.trick-kompakt p { margin: 2px 0 0; font-size: .86rem; line-height: 1.3; color: var(--leise); }
.trick-kompakt .knopf { grid-column: 2; justify-self: start; }
/* Krüge rechts unter den Kommentaren: die letzten vier */
.kruege-seite { padding: 12px 14px; }
.kruege-seite .kruege-summe b { font-size: 1.5rem; }

/* Runde 27: Im Krüge-Regal steht das Feld groß mitten im Glas, ohne Runden-Marke darüber. */
.krug-svg .krug-zahl {
  font-size: 78px; font-weight: 900; fill: #fff; stroke: #140d1f; stroke-width: 10px; paint-order: stroke;
  font-family: var(--anzeige); font-variant-numeric: tabular-nums;
}
.krug-mini.kaputt .krug-svg .krug-zahl { fill: #ffd0d0; }

/* ══ Runde 28 ═════════════════════════════════════════════════════════════ */
/* Krüge: „Erste Runde“ usw. mittig darunter */
.krug-mini figcaption .krug-runde-text { font-size: .66rem; color: var(--leise); white-space: normal; line-height: 1.15; }
.krug-mini figcaption { align-items: center; text-align: center; }
/* Rangliste: Die Zustandsmarke hat eine feste Breite – so ist die Skala des Mini-Glases in jeder Zeile gleich breit. */
.mitspieler .unten .zustand-marke {
  flex: none; width: 124px; box-sizing: border-box; text-align: center; overflow: hidden; text-overflow: ellipsis;
}
.mitspieler .unten .mini-glas { flex: 1 1 0; min-width: 0; }

/* ══ Runde 29 ═════════════════════════════════════════════════════════════ */
/* Leeres Schnapsglas statt Würfel auf „Zutat ziehen“ */
.shot-leer { width: 1.05em; height: 1.2em; vertical-align: -0.22em; margin-right: .15em; flex: none; }
/* „Deine letzten Krüge“ erst, wenn es einen Krug gibt – also ab der zweiten Runde */
#b-kruege-mix:empty { display: none; }

/* ══ Runde 31 ═════════════════════════════════════════════════════════════
   Knöpfe als 2×2-Raster: oben „Zutat ziehen“ und „Tauchsieder“, darunter „Servieren“ und daneben,
   was Servieren jetzt brächte. Alle Knöpfe gleich breit. */
.zug-zeile#b-knoepfe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; }
.zug-zeile#b-knoepfe .knopf { width: 100%; min-width: 0; justify-content: center; text-align: center; }
.knopf-platz { display: block; }
.servier-vorschau {
  display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 8px 12px; min-width: 0;
  border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--rand);
}
.servier-vorschau span { font-size: .72rem; color: var(--leise); text-transform: uppercase; letter-spacing: .8px; }
.servier-vorschau b { font-size: 1.1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#b-zahlen:empty { display: none; }
@media (max-width: 760px) {
  .servier-vorschau { padding: 6px 10px; }
  .servier-vorschau span { font-size: .64rem; }
  .servier-vorschau b { font-size: 1rem; }
}

/* ══ Runde 32 ═════════════════════════════════════════════════════════════
   Mehr Platz links im Glas-Kasten: Die Spalte ist breiter, und weil die Skala weiter vom Glas
   abrückt, wächst die Zeichenfläche mit – das Glas selbst bleibt so groß wie bisher. */
.tresen { grid-template-columns: 510px minmax(0, 1fr); }
#b-glas .glas-svg { width: 375px; }
#b-glas .glas-svg.glas-masskrug { width: 414px; }
.glasfeld .glas-spalte { gap: 18px; }
@media (max-width: 1100px) { .tresen { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  #b-glas .glas-svg { width: min(283px, 31.8vh); }
  #b-glas .glas-svg.glas-masskrug { width: min(313px, 35.2vh); }
  .glasfeld .glas-spalte { gap: 12px; }
}

/* ══ Runde 33 ═════════════════════════════════════════════════════════════ */
/* Startshaker: Was jede Zutat bewirkt – nacheinander, mit Weiter und Überspringen */
.ss-wirkung { width: min(560px, 100%); display: flex; flex-direction: column; gap: 8px; }
.ss-wirkung[hidden] { display: none; }
.ss-wk-karte {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; text-align: left;
  padding: 14px 16px; border-radius: 16px; cursor: pointer;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22);
  animation: ergebnis-rein .45s cubic-bezier(.2, 1.4, .4, 1);
}
.ss-wk-karte.ss-chili { background: rgba(255, 77, 77, .14); border-color: rgba(255, 77, 77, .6); }
.ss-wk-chips { display: flex; flex-wrap: wrap; gap: 4px; max-width: 150px; justify-content: center; }
.ss-wk-chips .chip { width: 40px; height: 46px; font-size: 1.3rem; }
.ss-wk-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ss-wk-text b { font-size: 1.15rem; }
.ss-wk-kurz { font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); }
.ss-wk-warnung { margin: 4px 0 0; color: #ffb3b3; font-weight: 700; }
.ss-wk-fuss { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.ss-wk-punkte { flex: 1; display: flex; gap: 6px; }
.ss-wk-punkte i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.ss-wk-punkte i.war { background: rgba(255, 255, 255, .6); }
.ss-wk-punkte i.an { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.startshaker-overlay:not(.fertig) .ss-inhalt { display: none; }
@media (max-width: 520px) {
  .ss-wk-karte { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 12px; }
  .ss-wk-chips { max-width: none; justify-content: flex-start; }
  .ss-wk-fuss .knopf { padding: 6px 10px; }
}
/* Kartenwahl: „Bar eröffnen“ unten auf jeder Karte, bei allen Karten auf gleicher Höhe */
.ortskarte-fuss { margin-top: auto; display: flex; flex-direction: column; gap: 8px; align-items: stretch; padding-top: 4px; }
.ortskarte-fuss .ort-haken { align-self: flex-start; }
.ortskarte-fuss .bar-eroeffnen { width: 100%; justify-content: center; }
.ss-wk-chip { display: inline-flex; flex-direction: column; align-items: center; gap: 1px; }
.ss-wk-chip i { font-style: normal; font-size: .75rem; font-weight: 800; color: var(--leise); }

/* ══ Runde 34 ═════════════════════════════════════════════════════════════ */
/* Glas auf dem Desktop 10 % kleiner (Handy bleibt) */
#b-glas .glas-svg { width: 338px; }
#b-glas .glas-svg.glas-masskrug { width: 373px; }
#b-glas .thermo-roehre { height: 339px; }
@media (max-width: 760px) {
  #b-glas .glas-svg { width: min(283px, 31.8vh); }
  #b-glas .glas-svg.glas-masskrug { width: min(313px, 35.2vh); }
  #b-glas .thermo-roehre { height: min(278px, 31.2vh); }
  /* Kühlung steht über den Knöpfen */
  .bedienung #b-zahlen { order: 2; }
}
/* Auswahl (Backstage-Blick, Probierlöffel): alle Knöpfe gleich breit und gleich hoch */
.auswahl-reihe.gleich { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.auswahl-reihe.gleich > button {
  width: 100%; min-height: 58px; margin: 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 12px; font-size: 1rem; border-radius: 14px;
}
/* Rangliste beim Mixen: nur der Balken, über die ganze Zeile; Rand zeigt serviert/zu scharf */
.mitspieler .unten.balken-zeile { grid-column: 1 / -1; }
.mitspieler .unten.balken-zeile .mini-glas { flex: 1 1 auto; height: 14px; }
.mini-glas.serviert { border-color: rgba(61, 220, 151, .75); }
.mini-glas.geplatzt { border-color: rgba(255, 90, 60, .85); background: rgba(255, 90, 60, .14); }

/* ══ Runde 35 ═════════════════════════════════════════════════════════════
   Startshaker: genau ein Bildschirm – oben der Titel, in der Mitte der Shaker (füllt den Rest und
   wird passend skaliert), unten der Textbereich mit fester Höhe und die Knopfzeile. */
.startshaker-overlay { justify-content: flex-start; overflow: hidden; gap: 10px; padding: max(14px, env(safe-area-inset-top)) 16px max(14px, env(safe-area-inset-bottom)); }
.startshaker-overlay .lf-kopf { flex: none; }
.startshaker-overlay .lf-kopf h2 { font-size: clamp(1.5rem, 5vw, 2.6rem); }
.ss-platz { flex: 1 1 0; min-height: 0; width: 100%; display: grid; place-items: center; }
.ss-rahmen { position: relative; width: 280px; height: 378px; }
.ss-innen { position: absolute; left: 0; top: 0; width: 280px; height: 378px; transform-origin: 0 0; }
.startshaker-overlay .lf-buehne { position: absolute; left: 40px; top: 118px; width: 200px; height: 260px; margin: 0; transform: none; }
.ss-zahl {
  position: absolute; left: 0; right: 0; top: 150px; text-align: center; font-size: 1.45rem; font-weight: 900; color: #1b1d22;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .7); opacity: 0; transition: opacity .4s ease;
}
.startshaker-overlay.gelandet .ss-zahl { opacity: 1; }
.ss-zahl { top: 138px; line-height: 1; }
.ss-zahl b { display: block; font-size: 2.3rem; }
.ss-zahl span { display: block; margin-top: 2px; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.startshaker-overlay.gelandet .lf-chip { animation: none; opacity: 0; }
.ss-unten { flex: none; width: min(640px, 100%); display: flex; flex-direction: column; gap: 10px; }
.ss-mitte { display: flex; flex-direction: column; justify-content: center; overflow-y: auto; overscroll-behavior: contain; }
.ss-zeile { margin: 0; font-size: clamp(1rem, 3.4vw, 1.2rem); line-height: 1.4; }
/* je Abschnitt genau ein Inhalt */
.startshaker-overlay .ss-wirkung, .startshaker-overlay .ss-ende { display: none; }
.startshaker-overlay.erklaert .ss-wirkung { display: block; width: 100%; }
.startshaker-overlay.erklaert .ss-fallen, .startshaker-overlay.fertig .ss-fallen { display: none; }
.startshaker-overlay.fertig .ss-ende { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.startshaker-overlay.fertig .ss-inhalt { display: flex; opacity: 1; animation: none; }
.startshaker-overlay.misst .ss-wk-karte { animation: none; }
.ss-wk-karte { grid-template-columns: auto minmax(0, 1fr); padding: 14px 16px; }
.ss-wk-chips { max-width: 150px; }
.ss-wk-text { font-size: 1.05rem; line-height: 1.4; }
.ss-wk-text b { font-size: 1.3rem; }
.ss-wk-kurz { font-size: .74rem; }
.ss-wk-warnung { display: block; margin: 4px 0 0; color: #ffb3b3; font-weight: 700; }
/* Knopfzeile: Zurück · Punkte · Überspringen · Weiter (bzw. Los geht's) */
.ss-fuss { display: flex; align-items: center; gap: 8px; min-height: 52px; }
.ss-fuss .knopf { padding: 12px 16px; font-size: 1.02rem; white-space: nowrap; }
.ss-fuss .ss-wk-punkte { flex: 1; justify-content: center; }
.ss-fuss .ss-weiter, .ss-fuss .lf-ok { min-width: 132px; justify-content: center; }
.startshaker-overlay .ss-zurueck, .startshaker-overlay .ss-weiter, .startshaker-overlay .lf-ok, .startshaker-overlay .ss-wk-punkte { display: none; }
.startshaker-overlay:not(.gelandet) .ss-fuss { justify-content: flex-end; }
.startshaker-overlay.erklaert .ss-zurueck, .startshaker-overlay.erklaert .ss-weiter { display: inline-flex; }
.startshaker-overlay.erklaert .ss-wk-punkte { display: flex; }
.startshaker-overlay.fertig .ss-zurueck, .startshaker-overlay.fertig .lf-ok { display: inline-flex; }
.startshaker-overlay.fertig .ss-skip { display: none; }
.startshaker-overlay .ss-skip { position: absolute; top: max(10px, env(safe-area-inset-top)); right: 12px; z-index: 2; padding: 7px 12px; font-size: .88rem; }
.startshaker-overlay.fertig .ss-fuss { justify-content: space-between; }
.ss-zurueck:disabled { visibility: hidden; }
@media (max-width: 520px) {
  .startshaker-overlay { gap: 8px; padding-left: 12px; padding-right: 12px; }
  .startshaker-overlay .lf-kopf { width: 100%; text-align: left; }
  .startshaker-overlay .lf-kopf .lf-runde { display: block; line-height: 30px; }
  .ss-wk-karte { grid-template-columns: auto minmax(0, 1fr); gap: 10px; padding: 12px; }
  .ss-wk-chips { max-width: 46px; flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; }
  .ss-wk-chips .chip { width: 36px; height: 42px; font-size: 1.15rem; }
  .ss-wk-text { font-size: 1rem; }
  .ss-wk-text b { font-size: 1.18rem; }
  .ss-fuss { gap: 6px; }
  .ss-fuss .knopf { padding: 12px 10px; font-size: .95rem; }
  .ss-fuss .ss-weiter, .ss-fuss .lf-ok { min-width: 104px; }
  .ss-inhalt { gap: 6px 8px; }
  .ss-posten { padding: 4px 8px 4px 4px; }
  .ss-posten .chip { width: 32px; height: 38px; font-size: 1.05rem; }
  .ss-posten small { display: none; }
}
/* Handy quer: Shaker links, Text rechts */
@media (orientation: landscape) and (max-height: 520px) {
  .startshaker-overlay { display: grid; grid-template-columns: 34% minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); column-gap: 14px; row-gap: 6px; justify-items: stretch; align-items: stretch; }
  .startshaker-overlay .lf-kopf { text-align: left; padding-right: 150px; }
  .startshaker-overlay .lf-kopf { grid-column: 2; grid-row: 1; }
  .ss-inhalt { gap: 6px 8px; }
  .ss-posten { padding: 3px 8px 3px 4px; }
  .ss-posten .chip { width: 30px; height: 36px; font-size: 1rem; }
  .ss-posten small { display: none; }
  .ss-zeile { font-size: .98rem; }
  .startshaker-overlay .lf-kopf h2 { font-size: 1.3rem; }
  .ss-platz { grid-column: 1; grid-row: 1 / 3; height: 100%; }
  .ss-unten { grid-column: 2; grid-row: 2; width: 100%; min-height: 0; }
  .ss-mitte { flex: 1 1 0; min-height: 0; justify-content: flex-start; }
}

/* ── Rangliste beim Mixen: Der Balken zeigt, was passiert ─────────────────
   Meilenstein (Feld 5, 10, 15 …): springt kurz komplett auf Gold um und nennt das Feld.
   Am Limit: der ganze Balken glüht. Serviert: grün. Zu scharf: rot schraffiert. */
.rang-balken {
  position: relative; flex: 1 1 auto; min-width: 0; height: 22px; border-radius: 11px; overflow: hidden; isolation: isolate;
  border: 1px solid var(--rand); background: #150e22; transition: border-color .25s, box-shadow .25s;
}
.rang-balken .mini-glas { position: absolute; inset: 0; height: auto; flex: none; border: 0; border-radius: 0; }
.rang-balken::after { content: ''; position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none; transition: opacity .25s; }
.rb-marke {
  position: absolute; right: 3px; top: 50%; transform: translateY(-50%); z-index: 2; padding: 0 9px; border-radius: 999px;
  font-size: .7rem; line-height: 16px; font-weight: 900; letter-spacing: .3px; white-space: nowrap;
}
.rang-balken.serviert { border-color: #3ddc97; box-shadow: 0 0 10px rgba(61, 220, 151, .55); }
.rang-balken.serviert::after { opacity: 1; background: linear-gradient(90deg, rgba(61, 220, 151, .5), rgba(150, 255, 120, .42)); }
.rang-balken.serviert .rb-marke { background: #3ddc97; color: #04231a; }
.rang-balken.geplatzt { border-color: #ff4d4d; box-shadow: 0 0 10px rgba(255, 77, 77, .5); }
.rang-balken.geplatzt::after { opacity: 1; background: repeating-linear-gradient(135deg, rgba(255, 77, 77, .78) 0 8px, rgba(110, 8, 18, .82) 8px 16px); }
.rang-balken.geplatzt .rb-marke { background: #ff4d4d; color: #fff; }
.rang-balken.limit { border-color: #ff8a3d; animation: rb-glut 1.2s ease-in-out infinite; animation-delay: var(--takt, 0ms); }
.rang-balken.limit::after {
  opacity: 1; background: linear-gradient(90deg, rgba(255, 45, 85, .78), rgba(255, 170, 60, .7), rgba(255, 45, 85, .78), rgba(255, 170, 60, .7), rgba(255, 45, 85, .78));
  background-size: 200% 100%; animation: rb-heiss 1.2s linear infinite; animation-delay: var(--takt, 0ms);
}
.rang-balken.limit .rb-marke { background: #fff3d6; color: #8a1500; }
@keyframes rb-heiss { to { background-position: -100% 0; } }
@keyframes rb-glut { 0%, 100% { box-shadow: 0 0 6px rgba(255, 90, 60, .5); } 50% { box-shadow: 0 0 16px rgba(255, 90, 60, .95); } }
.rb-blitz {
  position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; white-space: nowrap;
  font-size: .76rem; font-weight: 900; letter-spacing: .4px; color: #2a1a00;
  background: linear-gradient(100deg, var(--gold) 0%, #fff8d8 40%, var(--gold) 60%, #ffb347 100%); background-size: 240% 100%;
  animation: rb-blitz 1.9s ease both;
}
@keyframes rb-blitz {
  0% { opacity: 0; background-position: 100% 0; }
  6% { opacity: 1; }
  80% { opacity: 1; background-position: 0 0; }
  100% { opacity: 0; background-position: 0 0; }
}
.mitspieler.meilenstein { animation: rb-zeile 1.9s ease both; }
@keyframes rb-zeile {
  0% { box-shadow: 0 0 0 0 rgba(255, 207, 90, 0); }
  10% { box-shadow: 0 0 0 2px var(--gold), 0 0 22px rgba(255, 207, 90, .8); }
  75% { box-shadow: 0 0 0 2px var(--gold), 0 0 14px rgba(255, 207, 90, .5); }
  100% { box-shadow: 0 0 0 0 rgba(255, 207, 90, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .rang-balken.limit, .rang-balken.limit::after { animation: none; }
  .rb-blitz { animation-name: rb-blitz-ruhig; }
  @keyframes rb-blitz-ruhig { 0%, 85% { opacity: 1; } 100% { opacity: 0; } }
}

/* ── Mix-Feld auf breiten Bildschirmen: Glas mittig und so hoch wie möglich, rechts oben die
   gezogene Zutat, direkt darunter die Knöpfe, dann alles Weitere (Runde 58) ─────── */
@media (min-width: 1101px) {
  .karte.glasfeld { display: flex; flex-direction: column; }
  .glasfeld .tresen { flex: 1 1 auto; grid-template-columns: var(--glas-spalte, 510px) minmax(0, 1fr); align-items: stretch; gap: 26px; }
  .glasfeld .glas-seite { align-self: center; }
  .glasfeld.glas-fest .glas-seite { align-self: start; margin-top: var(--glas-oben, 0px); }
  .glasfeld .glas-spalte { align-items: center; justify-content: center; gap: 18px; }
  #b-glas .glas-svg, #b-glas .glas-svg.glas-masskrug { height: var(--glas-h, 364px); width: var(--glas-b, auto); flex: none; }
  #b-glas .thermo-roehre { height: calc(var(--glas-h, 364px) - 64px); }
  .glasfeld .bedienung { gap: 14px; }
  .glasfeld .bedienung #b-knoepfe { gap: 12px; }
  .glasfeld .zug-zeile#b-knoepfe .knopf.gross { min-height: 70px; font-size: 1.18rem; }
  .glasfeld .servier-vorschau { padding: 10px 16px; }
  .glasfeld .servier-vorschau span { font-size: .76rem; }
  .glasfeld .servier-vorschau b { font-size: 1.3rem; }
  .glasfeld .letzter-zug { font-size: 1.05rem; }
}
/* Leere Zeilen der Bedienung nehmen keinen Abstand weg */
#b-entscheidung:empty, #b-letzter:empty { display: none; }
/* Niedrige Bildschirme (Laptop): die rechte Spalte rückt enger zusammen, damit der Kasten klein bleibt */
@media (min-width: 1101px) and (max-height: 820px) {
  .glasfeld .bedienung { gap: 10px; }
  .glasfeld .bedienung #b-knoepfe { gap: 10px; }
  .glasfeld .zug-zeile#b-knoepfe .knopf.gross { min-height: 62px; font-size: 1.1rem; }
  .glasfeld .letzter-zug { padding: 9px 14px; font-size: 1rem; }
  /* Trickkarte flacher: Titel einzeilig, der Knopf steht neben dem Namen */
  .glasfeld .trick-kompakt { grid-template-columns: 34px minmax(0, 1fr) auto; padding: 8px 12px; gap: 2px 10px; }
  .glasfeld .trick-kompakt .trick-text { display: contents; }
  .glasfeld .trick-kompakt .trick-emoji { grid-column: 1; grid-row: 1 / 4; font-size: 1.7rem; }
  .glasfeld .trick-kompakt .trick-titel { grid-column: 2 / 4; grid-row: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .glasfeld .trick-kompakt b { grid-column: 2; grid-row: 2; align-self: center; }
  .glasfeld .trick-kompakt .knopf { grid-column: 3; grid-row: 2; justify-self: end; padding: 6px 12px; font-size: .9rem; min-height: 0; }
  .glasfeld .trick-kompakt p { grid-column: 2 / 4; grid-row: 3; margin: 0; }
  /* Kühlung als schmale Zeile */
  .glasfeld #b-zahlen .kennzahl { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 12px; }
  .glasfeld #b-zahlen .kennzahl b { font-size: 1.05rem; }
  /* Offene Auswahl: flachere Knöpfe, die Nachbarn-Zeile macht so lange Platz */
  .glasfeld .auswahl-reihe.gleich > button { min-height: 46px; padding: 5px 10px; }
  .glasfeld .bedienung:has(#b-entscheidung .entscheidung) #b-nachbarn { display: none; }
}

/* ══ Runde 35: Gäste-Automat im Las-Vegas-Stil ═══════════════════════════
   Über den ganzen Schirm: oben die leuchtende Krone, darunter das Walzenfenster im Chromrahmen,
   unten das Pult mit Anzeige und START, rechts der Hebel. Stehen die Walzen, füllen die beiden
   Karten den Schirm. */
.vegas {
  --v-gold1: #fff3b0; --v-gold2: #ffcf5a; --v-gold3: #b8860b; --v-rot1: #d6122e; --v-rot2: #4e0513;
  gap: 0; justify-content: flex-start; overflow: hidden;
  padding: max(8px, env(safe-area-inset-top)) 10px max(8px, env(safe-area-inset-bottom));
  background:
    radial-gradient(ellipse 70% 42% at 50% 0%, rgba(255, 207, 90, .3), transparent 70%),
    radial-gradient(ellipse 90% 55% at 50% 112%, rgba(214, 18, 46, .5), transparent 70%),
    repeating-conic-gradient(from 0deg at 50% 42%, rgba(255, 255, 255, .035) 0 5deg, transparent 5deg 10deg),
    #0a0408;
}
.vegas-klein { position: absolute; top: max(8px, env(safe-area-inset-top)); right: 10px; z-index: 5; padding: 6px 11px; font-size: .84rem; opacity: .85; }
.vegas.dreht .vegas-klein { display: none; }
.vegas-szene { flex: 1 1 0; min-height: 0; width: 100%; display: grid; place-items: center; animation: vegas-rein .4s cubic-bezier(.2, 1.3, .4, 1); }
@keyframes vegas-rein { from { transform: scale(.92); opacity: 0; } to { transform: none; opacity: 1; } }
.vegas.gross .vegas-szene { display: none; }
.vegas-automat {
  position: relative; height: 100%; width: min(calc(100% - 52px), 940px); margin-right: 46px;
  display: flex; flex-direction: column; filter: drop-shadow(0 18px 36px rgba(0, 0, 0, .65));
}
/* Krone: Bogen mit Leuchtschrift */
.vegas-krone {
  position: relative; flex: none; margin: 0 7%; padding: clamp(16px, 4vh, 34px) 16px clamp(6px, 1.2vh, 12px); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  border: 5px solid var(--v-gold2); border-bottom: 0; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: radial-gradient(ellipse at 50% 100%, #3a0a16, #12040a 75%);
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .55), inset 0 0 34px rgba(255, 207, 90, .22);
}
.vegas-name {
  font-family: var(--anzeige); font-weight: 900; font-size: clamp(1.25rem, 5.4vw, 2.7rem); letter-spacing: 2px; text-transform: uppercase; line-height: 1.1;
  color: #fff6d0; text-shadow: 0 0 5px #fff, 0 0 14px #ffcf5a, 0 0 30px #ff8a00, 0 0 48px #ff2d55;
  animation: vegas-neon 4.5s linear infinite;
}
.vegas-name i { font-style: normal; color: var(--v-gold2); font-size: .7em; vertical-align: .1em; }
@keyframes vegas-neon { 0%, 90%, 94%, 100% { opacity: 1; } 92% { opacity: .72; } 96% { opacity: .85; } }
.vegas-runde { font-weight: 800; font-size: clamp(.78rem, 2.4vw, 1.05rem); color: var(--v-gold2); letter-spacing: .5px; }
/* Glühbirnen: eine Reihe Punkte, die abwechselnd leuchten */
.vegas-birnen {
  position: absolute; left: 16%; right: 16%; top: clamp(6px, 1.4vh, 12px); height: 10px; pointer-events: none;
  background: radial-gradient(circle, #fffbe0 0 3px, rgba(255, 207, 90, .55) 3.5px 4.5px, transparent 5px) 0 50% / 20px 10px repeat-x;
  animation: vegas-birnen .7s steps(1) infinite;
}
.vegas-rumpf > .vegas-birnen { left: 18px; right: 18px; top: 6px; }
@keyframes vegas-birnen { 0% { background-position: 0 50%; filter: brightness(1.15); } 50% { background-position: 10px 50%; filter: brightness(.8); } }
.vegas.dreht .vegas-birnen { animation-duration: .24s; }
.vegas.gestoppt .vegas-birnen { animation-duration: .14s; }
.vegas.gestoppt .vegas-name { animation: vegas-gewinn .22s steps(2) 5; }
@keyframes vegas-gewinn { 50% { opacity: .35; } }
/* Rumpf: rot-goldenes Gehäuse */
.vegas-rumpf {
  position: relative; flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; gap: clamp(6px, 1.2vh, 12px);
  padding: 22px clamp(10px, 2vw, 22px) 0; border: 5px solid var(--v-gold2); border-radius: 22px 22px 16px 16px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .4), transparent 7%, transparent 93%, rgba(0, 0, 0, .4)),
    linear-gradient(180deg, var(--v-rot1), var(--v-rot2));
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, .35), inset 0 0 0 3px rgba(0, 0, 0, .35);
}
/* Walzenfenster im Chromrahmen */
.vegas-fenster {
  position: relative; flex: 1 1 0; min-height: 0; padding: clamp(6px, 1.2vw, 12px); border-radius: 18px;
  background: linear-gradient(145deg, #fbfbfb, #9c9c9c 28%, #ededed 52%, #7c7c7c 78%, #d6d6d6);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .55), inset 0 0 0 2px rgba(255, 255, 255, .65);
}
.vegas .automat-walzen { height: 100%; padding: 8px 18px; gap: clamp(6px, 1vw, 12px); border-radius: 11px; background: #0d0509; box-shadow: inset 0 6px 18px rgba(0, 0, 0, .95); }
.vegas .walze { height: 100%; border-radius: 9px; }
.vegas .walze-band { left: 6px; right: 6px; row-gap: 10px; }
.vegas .wkarte {
  height: var(--wh); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--wh) * .025);
  padding: 4px 8px; text-align: center; border-width: 4px; border-radius: 14px;
}
.vegas .wkarte-art { font-size: clamp(.5rem, min(calc(var(--wh) * .075), 2.9vw), .95rem); padding: 1px 9px; max-width: 100%; box-sizing: border-box; overflow: hidden; }
@media (max-width: 520px) { .vegas .wkarte-art { padding: 1px 6px; letter-spacing: .04em; } }
.vegas .wkarte-emoji { font-size: calc(var(--wh) * .4); line-height: 1.05; }
.vegas .wkarte-name { font-size: clamp(.74rem, min(calc(var(--wh) * .125), 4.1vw), 1.75rem); line-height: 1.12; }
.vegas-automat.einzeln .automat-walzen { grid-template-columns: 1fr; }
.vegas-automat.einzeln .walze.hoch { display: none; }
/* Pult: Anzeige und START */
.vegas-pult { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(8px, 1.6vw, 16px); align-items: center; padding: 2px 4px 0; }
.vegas-anzeige {
  min-height: clamp(46px, 7vh, 66px); display: flex; align-items: center; justify-content: center; text-align: center; padding: 6px 12px;
  border-radius: 10px; background: #150b02; border: 2px solid #4a360c; box-shadow: inset 0 0 14px rgba(0, 0, 0, .95);
  font-family: var(--anzeige); font-weight: 800; font-size: clamp(.92rem, 3.3vw, 1.4rem); line-height: 1.2; color: #ffd76a; text-shadow: 0 0 9px rgba(255, 176, 40, .85);
}
.vegas-tasten { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.vegas-start { padding: 0 0 8px; border: 0; background: none; cursor: pointer; font: inherit; -webkit-tap-highlight-color: transparent; }
.vegas-start span {
  display: block; min-width: clamp(108px, 24vw, 210px); padding: clamp(11px, 2vh, 20px) 16px; border-radius: 16px;
  font-family: var(--anzeige); font-weight: 900; font-size: clamp(1.15rem, 4.6vw, 1.95rem); letter-spacing: 3px; color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .35);
  background: radial-gradient(ellipse at 50% 15%, #8dffa6, #19bb4c 55%, #0a6b28);
  box-shadow: 0 8px 0 #064a1b, 0 12px 20px rgba(0, 0, 0, .55), inset 0 2px 0 rgba(255, 255, 255, .55);
  transition: transform .08s, box-shadow .08s, filter .2s;
}
.vegas-start:not(:disabled) span { animation: vegas-start 1.3s ease-in-out infinite; }
@keyframes vegas-start { 50% { box-shadow: 0 8px 0 #064a1b, 0 12px 20px rgba(0, 0, 0, .55), inset 0 2px 0 rgba(255, 255, 255, .55), 0 0 30px 6px rgba(80, 255, 130, .75); } }
.vegas-start:not(:disabled):active span, .vegas-start.gedrueckt span { transform: translateY(7px); box-shadow: 0 1px 0 #064a1b, 0 3px 8px rgba(0, 0, 0, .5), inset 0 2px 0 rgba(255, 255, 255, .4); animation: none; }
.vegas-start:disabled { cursor: default; }
.vegas-start:disabled span { filter: grayscale(.85) brightness(.6); color: rgba(255, 255, 255, .6); }
.vegas-start:focus-visible span { outline: 3px solid #fff; outline-offset: 3px; }
.vegas-hilfe { justify-content: center; white-space: nowrap; }
.vegas-hilfe[hidden] { display: none; }
/* Münzschale */
.vegas-schale {
  flex: none; height: clamp(12px, 2.6vh, 28px); margin: 0 14%; border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, #050203, #2c2c2c); border: 3px solid var(--v-gold3); border-top: 0; box-shadow: inset 0 6px 10px rgba(0, 0, 0, .9);
}
/* Hebel rechts: geht beim Start nach unten und federt zurück */
.vegas-hebel { position: absolute; right: -44px; top: 30%; width: 44px; --L: clamp(84px, 22vh, 200px); height: calc(var(--L) + 44px); pointer-events: none; }
.vh-lager { position: absolute; left: 0; bottom: 0; width: 32px; height: 46px; border-radius: 0 12px 12px 0; background: linear-gradient(90deg, #5b5b5b, #ececec 45%, #696969); box-shadow: 0 4px 10px rgba(0, 0, 0, .6); }
.vh-arm { position: absolute; left: 15px; bottom: 23px; width: 10px; height: var(--L); border-radius: 5px; background: linear-gradient(90deg, #8a8a8a, #fafafa 50%, #8a8a8a); transform-origin: 50% 100%; transition: transform .55s cubic-bezier(.3, 1.5, .5, 1); }
.vh-kugel { position: absolute; left: 2px; bottom: calc(var(--L) + 9px); width: 36px; height: 36px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffa3a3, #d6122e 55%, #6a0010); box-shadow: 0 4px 10px rgba(0, 0, 0, .6); transition: transform .55s cubic-bezier(.3, 1.5, .5, 1); }
.vegas-hebel.unten .vh-arm { transform: scaleY(-.55); transition: transform .3s cubic-bezier(.5, 0, .9, .5); }
.vegas-hebel.unten .vh-kugel { transform: translateY(calc(var(--L) * 1.55)); transition: transform .3s cubic-bezier(.5, 0, .9, .5); }

/* Die Walzen stehen: Die beiden Karten füllen den ganzen Schirm */
.vegas .vegas-karten { flex: 1 1 0; min-height: 0; width: min(1320px, 100%); display: flex; flex-direction: column; align-items: center; gap: clamp(8px, 1.6vh, 14px); animation: vegas-rein .45s cubic-bezier(.2, 1.3, .4, 1); }
.vegas .vegas-karten[hidden] { display: none; }
.vegas .vegas-karten .ziehung-kopf { flex: none; padding: 0 96px; }
.vegas .vegas-karten .ziehung-kopf h2 { font-size: clamp(1.25rem, 4.4vw, 2.3rem); }
.vegas .automat-angebot { flex: 1 1 0; min-height: 0; width: 100%; display: flex; gap: clamp(10px, 1.6vw, 20px); grid-template-columns: none; margin: 0; }
.vegas .angebot-platz { flex: 1 1 0; min-width: 0; min-height: 0; gap: 10px; animation: none; transform: none; transition: flex-grow .55s cubic-bezier(.3, 1.2, .4, 1), opacity .4s, filter .4s; }
.vegas .zkarte.angebot {
  flex: 1 1 0; min-height: 0; width: 100%; height: auto; justify-content: center; overflow: hidden;
  gap: clamp(6px, 1.8vh, 20px); padding: clamp(12px, 2.6vh, 30px) clamp(12px, 2vw, 30px); border-width: 5px; border-radius: 24px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .5), 0 14px 34px rgba(0, 0, 0, .55);
}
.vegas .zkarte.angebot .zkarte-art { font-size: clamp(.7rem, 1.7vh, 1.05rem); padding: 3px 14px; letter-spacing: 1.8px; }
.vegas .zkarte.angebot .zkarte-emoji { font-size: clamp(3rem, 16vh, 9.5rem); }
.vegas .zkarte.angebot .zkarte-name { font-size: clamp(1.3rem, 3.8vh, 2.7rem); }
.vegas .zkarte.angebot .zkarte-text { font-size: clamp(1rem, 2.6vh, 1.65rem); line-height: 1.35; max-width: 34em; }
.vegas .angebot-knopf .knopf { width: 100%; justify-content: center; padding: clamp(12px, 2vh, 18px); font-size: clamp(1.02rem, 2.2vh, 1.25rem); }
.vegas .automat-hinweis { flex: none; font-size: clamp(.95rem, 2.2vh, 1.15rem); color: #f6e3b0; }
.vegas .ziehung-los { flex: none; }
.vegas .angebot-platz.genommen { flex-grow: 2; }
.vegas .angebot-platz.genommen .zkarte { animation: none; box-shadow: 0 0 0 4px #fff, 0 0 60px var(--gold), 0 14px 34px rgba(0, 0, 0, .55); }
.vegas .angebot-platz.verworfen { flex-grow: .55; opacity: .36; filter: saturate(.3); transform: none; }
.vegas .angebot-platz.verworfen .zkarte-text { display: none; }
@media (max-width: 700px) {
  .vegas-klein span { display: none; }
  .vegas-automat { width: calc(100% - 46px); margin-right: 42px; }
  .vegas-krone { margin: 0 4%; }
  .vegas-rumpf { border-width: 4px; padding-top: 20px; }
  .vegas .automat-walzen { padding: 6px 14px; }
  .vegas .walze-band { left: 4px; right: 4px; }
  .vegas .wkarte { border-width: 3px; padding: 3px 4px; }
  .vegas-pult { grid-template-columns: minmax(0, 1fr); }
  .vegas-tasten { align-items: center; }
  .vegas-start span { min-width: min(72vw, 260px); }
  .vegas-hebel { right: -40px; }
  .vegas .vegas-karten .ziehung-kopf { padding: 0 44px; }
}
/* Hochkant am Handy: die zwei Karten untereinander, Bild links, Text rechts */
@media (max-width: 700px) and (orientation: portrait) {
  .vegas .automat-angebot { flex-direction: column; }
  .vegas .zkarte.angebot {
    display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 12px; row-gap: 4px;
    align-items: start; justify-items: start; text-align: left; align-content: center; padding: 12px 14px;
  }
  .vegas .zkarte.angebot .zkarte-emoji { grid-column: 1; grid-row: 1 / 4; align-self: center; font-size: clamp(2.6rem, 9vh, 4.6rem); }
  .vegas .zkarte.angebot .zkarte-art { grid-column: 2; }
  .vegas .zkarte.angebot .zkarte-name { grid-column: 2; font-size: clamp(1.15rem, 2.8vh, 1.6rem); }
  .vegas .zkarte.angebot .zkarte-text { grid-column: 2; font-size: clamp(.95rem, 2.1vh, 1.15rem); }
  .vegas .angebot-platz.verworfen { flex-grow: .4; }
}
/* Niedrige Schirme (Handy quer): Krone flacher */
@media (max-height: 520px) {
  .vegas-krone { padding-top: 14px; border-radius: 40px 40px 0 0; flex-direction: row; justify-content: center; gap: 12px; align-items: baseline; }
  .vegas-name { font-size: 1.2rem; }
  .vegas-schale { display: none; }
  .vegas-anzeige { min-height: 40px; }
  .vegas .zkarte.angebot .zkarte-emoji { font-size: clamp(2.2rem, 14vh, 4rem); }
}
@media (prefers-reduced-motion: reduce) {
  .vegas-birnen, .vegas-name, .vegas-start span, .vegas-szene, .vegas .vegas-karten { animation: none !important; }
  .vh-arm, .vh-kugel { transition: none; }
}

/* Eichstriche am Handy: größere, hellere Schrift – das Glas wird dort klein gezeichnet */
@media (max-width: 760px) {
  #b-glas .glas-svg { overflow: visible; }
  #b-glas .glas-svg text.eich { font-size: 12.5px; font-weight: 600; fill: #dcd0ee; transform: translateX(-1.5px); }
}

/* ══ Runde 36: Einschenken ════════════════════════════════════════════════
   Das Bauteil „Guss“ (effekte.js) zeichnet Schnapsglas, Strahl und die bewegte Oberfläche direkt
   ins Glas-Bild. Hier nur, was drumherum dazugehört. */
.glas-svg.giesst .schicht.neu { animation: none; }
.glas-svg .g-guss { pointer-events: none; }
/* Überschrittene Eichstriche blitzen auf, ein Korken-Feld macht „plopp“ */
.glas-svg text.eich.blitz { animation: eich-blitz .7s ease-out; }
@keyframes eich-blitz { 0% { fill: #fff; font-weight: 800; } 60% { fill: #ffe9a8; } 100% { font-weight: inherit; } }
.glas-svg .g-korken { transform-box: fill-box; transform-origin: 50% 50%; }
.glas-svg .g-korken.plopp { animation: korken-plopp .8s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes korken-plopp { 0% { transform: scale(1); } 30% { transform: translateY(-9px) scale(1.9) rotate(-18deg); } 100% { transform: scale(1); } }
/* Am Limit (höchstens 2 Schärfe Luft): Glasrand bleibt warm, die Schärfe-Röhre pulsiert */
.glas-svg.am-limit .g-umriss { stroke: #ffb48f; filter: drop-shadow(0 0 5px rgba(255, 90, 40, .55)); }
.thermo.limit .thermo-roehre { animation: thermo-limit 1.1s ease-in-out infinite; }
@keyframes thermo-limit {
  0%, 100% { border-color: var(--rand); box-shadow: 0 0 0 0 rgba(255, 123, 46, 0); }
  50% { border-color: #ff7b2e; box-shadow: 0 0 14px rgba(255, 90, 40, .55); }
}
/* Rangliste: Der Abschnitt, der gerade dazukam, schwappt einmal über */
.mini-glas span.rb-neu { transform-origin: 0 50%; animation: rb-schwapp .6s cubic-bezier(.2, 1.5, .4, 1) both; }
@keyframes rb-schwapp { 0% { transform: scaleX(0); } 55% { transform: scaleX(1.3); } 100% { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .glas-svg text.eich.blitz, .glas-svg .g-korken.plopp, .thermo.limit .thermo-roehre, .mini-glas span.rb-neu { animation: none; }
}

/* ══ Runde 37 ═════════════════════════════════════════════════════════════
   Schichten wabern, Schärfe-Röhre mit Ruck, Rangliste, Zuschauen, Automat mit quadratischen
   Feldern, Räder passend zum Ort, schlanke Abrechnung. */

/* ── Die Schichten im Glas wabern ───────────────────────────────────────── */
.glas-svg .welle { animation: welle var(--d, 14s) linear infinite; animation-delay: var(--v, 0s); }
.glas-svg .welle.r { animation-direction: reverse; }
@keyframes welle { to { transform: translateX(var(--l, -120px)); } }
/* Beim Einschenken zeichnet der Guss die Oberfläche selbst */
.glas-svg.giesst .g-wellen { visibility: hidden; }
.glas-svg.wellig:not(.giesst) .g-spiegel { visibility: hidden; }

/* ── Rangliste: Die Farben der Zutaten füllen den ganzen Balken ─────────── */
.mitspieler .unten.balken-zeile .rang-balken .mini-glas {
  position: absolute; inset: 0; width: auto; height: auto; flex: none; border: 0; border-radius: 0; background: transparent;
}
body[data-ort="muenchen"] .rang-balken { background-color: #062656; }

/* ── Schärfe-Röhre: Sie flimmert, je heißer es wird – und ruckt, wenn die Schärfe steigt ── */
.thermo-rahmen { position: relative; }
.thermo-glut {
  position: absolute; inset: -8px -12px; border-radius: 22px; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse at 50% 65%, rgba(255, 70, 30, .9), rgba(255, 70, 30, 0) 70%); filter: blur(9px);
}
.thermo-roehre { z-index: 0; }
.thermo-fuellung::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0) 0 9px, rgba(255, 255, 255, .22) 9px 12px, rgba(255, 255, 255, 0) 12px 21px);
  background-size: 100% 21px; opacity: calc(.12 + .88 * var(--hitze, 0));
  animation: thermo-hitze calc(2.3s - 1.6s * var(--hitze, 0)) linear infinite;
}
@keyframes thermo-hitze { to { background-position: 0 -21px; } }
.thermo-fuellung::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; pointer-events: none;
  background: linear-gradient(180deg, #fff8d2, rgba(255, 225, 130, 0)); opacity: calc(.2 + .8 * var(--hitze, 0));
}
.thermo.heiss .thermo-fuellung::after, .thermo.limit .thermo-fuellung::after, .thermo.ueber .thermo-fuellung::after { animation: thermo-kante .42s steps(3) infinite; }
@keyframes thermo-kante { 50% { opacity: .4; } }
.thermo-wert { display: inline-block; }
.thermo.limit .thermo-wert { color: #ff9b8a; }
.thermo.limit .thermo-grenze { animation: thermo-warn 1.1s ease-in-out infinite; }
@keyframes thermo-warn { 50% { background: #ff5a3c; box-shadow: 0 0 12px 2px #ff5a3c; } }
.thermo-blitz {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(0deg, rgba(255, 255, 255, .95), rgba(255, 130, 60, .7) 55%, rgba(255, 60, 60, 0));
}
.thermo-funken { position: absolute; left: 0; right: 0; top: 0; height: 0; pointer-events: none; }
.thermo-funken i {
  position: absolute; top: -2px; left: 4px; width: 3px; height: 3px; border-radius: 50%; opacity: 0;
  background: #fff6c0; box-shadow: 0 0 6px 2px #ff9a3d; --dx: -3px; --dy: -34px;
}
.thermo-funken i:nth-child(2) { left: 9px; --dx: 4px; --dy: -52px; }
.thermo-funken i:nth-child(3) { left: 14px; --dx: -2px; --dy: -44px; }
.thermo-funken i:nth-child(4) { left: 18px; --dx: 3px; --dy: -62px; }
.thermo-funken i:nth-child(5) { left: 11px; --dx: -5px; --dy: -74px; }
/* Der Ruck: ausgelöst, wenn die Chili im Glas ankommt (Klasse „steigt“ setzt der Guss) */
.thermo.steigt { animation: thermo-ruck .62s cubic-bezier(.3, .6, .4, 1); --ruck: calc(1.5px + 4.5px * var(--stoss, .5)); }
@keyframes thermo-ruck {
  0%, 100% { transform: none; }
  10% { transform: translate(calc(var(--ruck) * -1), -1px) rotate(-1.6deg); }
  24% { transform: translate(var(--ruck), 1px) rotate(1.6deg); }
  38% { transform: translate(calc(var(--ruck) * -.75), 0) rotate(-1.1deg); }
  54% { transform: translate(calc(var(--ruck) * .5), 0) rotate(.7deg); }
  72% { transform: translate(calc(var(--ruck) * -.25), 0); }
}
.thermo.steigt .thermo-glut { animation: thermo-glut .95s ease-out; }
@keyframes thermo-glut { 0% { opacity: 0; } 16% { opacity: calc(.4 + .6 * var(--stoss, .5)); } 100% { opacity: 0; } }
.thermo.steigt .thermo-blitz { animation: thermo-blitz .6s ease-out; }
@keyframes thermo-blitz { 0% { opacity: 0; } 14% { opacity: calc(.5 + .45 * var(--stoss, .5)); } 100% { opacity: 0; } }
.thermo.steigt .thermo-wert { animation: thermo-zahl .75s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes thermo-zahl { 22% { transform: scale(1.55); color: #ff5a3c; text-shadow: 0 0 14px rgba(255, 90, 60, .9); } }
.thermo.steigt .thermo-grenze { animation: thermo-grenze .75s ease-out; }
@keyframes thermo-grenze { 20% { background: #ff3b30; box-shadow: 0 0 14px 3px #ff3b30; transform: scaleY(2); } }
.thermo.steigt .thermo-funken i { animation: thermo-funke .8s ease-out both; }
.thermo.steigt .thermo-funken i:nth-child(2) { animation-delay: 70ms; }
.thermo.steigt .thermo-funken i:nth-child(3) { animation-delay: 130ms; }
.thermo.steigt .thermo-funken i:nth-child(4) { animation-delay: 190ms; }
.thermo.steigt .thermo-funken i:nth-child(5) { animation-delay: 260ms; }
@keyframes thermo-funke { 0% { opacity: 0; transform: none; } 14% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.4); } }

@media (prefers-reduced-motion: reduce) {
  .glas-svg .g-wellen { display: none; }
  .glas-svg.wellig .g-spiegel { visibility: visible; }
  .thermo-fuellung::before, .thermo-fuellung::after, .thermo.limit .thermo-grenze,
  .thermo.steigt, .thermo.steigt .thermo-glut, .thermo.steigt .thermo-blitz, .thermo.steigt .thermo-wert,
  .thermo.steigt .thermo-grenze, .thermo.steigt .thermo-funken i { animation: none; }
}
.thermo.limit.steigt .thermo-grenze { animation: thermo-grenze .75s ease-out, thermo-warn 1.1s ease-in-out .75s infinite; }

/* ── Zuschauen: Mixt nur noch einer, steht allein sein Glas da – so groß wie sonst das eigene ── */
.karte.glasfeld[hidden] { display: none; }
.spot-karte.gekippt { border-color: #ff5a3c; box-shadow: 0 0 0 1px #ff5a3c, 0 0 30px rgba(255, 90, 60, .35); }
@media (min-width: 1101px) {
  #b-spot .spot-karte { min-height: var(--spot-min, 0px); margin-bottom: 0; display: flex; flex-direction: column; }
  #b-spot .spot-kopf { font-size: 1.25rem; margin-bottom: 12px; }
  #b-spot .spot-tresen { flex: 1 1 auto; flex-wrap: nowrap; gap: 28px; align-items: center; justify-content: center; }
  #b-spot .spot-tresen .glas-spalte { align-items: center; gap: 18px; }
  #b-spot .spot-tresen .glas-svg, #b-spot .spot-tresen .glas-svg.glas-masskrug { height: var(--spot-h, 364px); width: var(--spot-b, auto); flex: none; }
  #b-spot .thermo-roehre { height: calc(var(--spot-h, 364px) - 64px); }
  #b-spot .spot-zahlen { flex: 0 1 34%; min-width: 280px; gap: 12px; }
  #b-spot .spot-zahlen .kennzahl > b { font-size: 1.5rem; display: flex; align-items: center; gap: 8px; }
  #b-spot .spot-limit { font-size: 1.05rem; }
}

/* ── Abrechnung: nur die Posten der Runde und darunter je Spalte die Summe ── */
.buehne-raster { grid-template-columns: minmax(0, 1fr); }
.bu-summe {
  display: grid; grid-template-columns: minmax(0, 1fr) 70px 64px 58px; gap: 6px; align-items: center;
  margin-top: 10px; padding: 12px 10px 2px; border-top: 2px solid var(--rand); font-weight: 900; font-size: 1.15rem;
}
.bu-summe .zahl { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--gold); }
.bu-summe .zahl.minus { color: #ff9b9b; }
@media (max-width: 760px) {
  .bu-summe { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px 14px; font-size: 1.02rem; }
  .bu-summe > span:first-child { margin-right: auto; }
  .bu-summe .zahl:empty { display: none; }
}

.bu-rechts { min-width: 0; }
.buehne-innen { width: min(880px, 100%); }

/* ── Gäste-Automat: Die Felder auf den Walzen sind immer quadratisch ───────
   Begrenzt die Höhe, wird der Automat schmaler (Klasse „schmal“, Breite --aw aus effekte.js);
   begrenzt die Breite, zeigt das Fenster mehrere Felder übereinander. */
@media (min-width: 701px) {
  .vegas-automat { width: min(calc(100% - 52px), 1100px); }
}
.vegas.schmal .vegas-automat { width: min(var(--aw, 100%), calc(100% - 52px)); }
.vegas.schmal .automat-walzen { grid-template-columns: repeat(2, minmax(0, calc(var(--wh) + 12px))); justify-content: center; }
.vegas.schmal .vegas-automat.einzeln .automat-walzen { grid-template-columns: minmax(0, calc(var(--wh) + 12px)); }
.vegas .wkarte { width: var(--wh); height: var(--wh); align-self: center; box-sizing: border-box; }
.vegas .walze {
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
}
.vegas .wkarte-name { -webkit-line-clamp: 3; max-width: 100%; overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }

/* ── Die zwei Karten zur Wahl: am großen Schirm quadratisch und zusammen etwa halb so breit wie der Schirm ── */
@media (min-width: 901px) {
  .vegas .vegas-karten { justify-content: center; --k: min(26vw, 50vh, 500px); gap: clamp(12px, 2.2vh, 22px); }
  .vegas .automat-angebot { flex: none; width: auto; justify-content: center; align-items: flex-start; gap: clamp(16px, 2vw, 30px); }
  .vegas .angebot-platz { flex: none; width: var(--k); transition: transform .5s cubic-bezier(.3, 1.2, .4, 1), opacity .4s, filter .4s; }
  .vegas .zkarte.angebot { flex: none; width: var(--k); height: var(--k); box-sizing: border-box; gap: calc(var(--k) * .028); padding: calc(var(--k) * .05); }
  .vegas .zkarte.angebot .zkarte-art { font-size: clamp(.68rem, calc(var(--k) * .032), .95rem); }
  .vegas .zkarte.angebot .zkarte-emoji { font-size: calc(var(--k) * .26); }
  .vegas .zkarte.angebot .zkarte-name { font-size: min(clamp(1.1rem, calc(var(--k) * .066), 2.1rem), calc(var(--k) * 1.28 / var(--n, 8))); }
  .vegas .zkarte.angebot .zkarte-text { font-size: clamp(.9rem, calc(var(--k) * .042), 1.3rem); }
  .vegas .angebot-platz.genommen { flex-grow: 0; transform: scale(1.06); }
  .vegas .angebot-platz.verworfen { flex-grow: 0; transform: scale(.86); }
  .vegas .angebot-platz.verworfen .zkarte-text { display: -webkit-box; }
}

/* ── Räder passend zum Ort ──────────────────────────────────────────────── */
.rad-svg.rad-platte .lampe { fill: #ff8a3d; filter: none; }
.rad-svg.rad-steuer, .rad-svg.rad-platte, .rad-svg.rad-hafen { width: min(96vw, calc(100vh - 280px), 1040px); width: min(96vw, calc(100dvh - 280px), 1040px); }

.buehne-innen { overflow-x: hidden; }

@media (max-width: 700px) {
  .vegas .wkarte { gap: 1px; }
  .vegas .wkarte-emoji { font-size: calc(var(--wh) * .3); }
  .vegas .wkarte-name { font-size: clamp(.68rem, calc(var(--wh) * .112), 1rem); line-height: 1.08; }
}

.vegas .zkarte.angebot .zkarte-name { overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; max-width: 100%; }
@media (max-width: 700px) and (orientation: portrait) {
  .vegas .zkarte.angebot .zkarte-name { font-size: min(clamp(1.15rem, 2.8vh, 1.6rem), calc((100vw - 150px) * 1.32 / var(--n, 8))); }
}

/* Zuschauen auf schmalen Schirmen: Das Glas ist so groß wie sonst das eigene */
.spot-zahlen .kennzahl > b { display: flex; align-items: center; gap: 8px; }
@media (max-width: 1100px) {
  .spot-tresen .glas-svg { width: min(283px, 31.8vh, 60vw); }
  .spot-tresen .glas-svg.glas-masskrug { width: min(313px, 35.2vh, 64vw); }
  .spot-tresen .thermo-roehre { height: min(278px, 31.2vh); }
}
@media (max-width: 760px) {
  #b-spot .glas-svg { overflow: visible; }
  #b-spot .glas-svg text.eich { font-size: 12.5px; font-weight: 600; fill: #dcd0ee; transform: translateX(-1.5px); }
  .spot-zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; min-width: 0; }
  .spot-zahlen .spot-limit { grid-column: 1 / -1; }
}

@media (min-width: 701px) {
  .vegas .wkarte-name { font-size: min(clamp(.74rem, min(calc(var(--wh) * .095), 4.1vw), 2.6rem), calc(var(--wh) * 1.38 / var(--n, 8))); }
  .vegas .wkarte-art { font-size: clamp(.5rem, min(calc(var(--wh) * .06), 2.9vw), 1.2rem); padding: 2px 12px; }
}


/* ══ Runde 38 ═════════════════════════════════════════════════════════════
   Mix-Seite: erst das Glasfenster (mit Luft für das Schnapsglas), darunter das Ereignis; rechts
   Rangliste, Gläser, Zaungäste. Das Glas zerspringt, wenn es zu scharf wird. Einkauf: „Deine Runde“
   eingeklappt, kurze Texte bei den Korken, Zutaten mit Marken statt Beinamen. */

/* ── Mix-Seite: Reihenfolge links ───────────────────────────────────────── */
.mix-spalte > #b-gast:not(:empty) { margin: 14px 0 0; }
#b-spot .spot-karte { margin-bottom: 0; }
.bedienung #b-band:empty { display: none; }
.bedienung #b-band .statusband { margin: 0; padding: 10px 14px; font-size: .98rem; }
/* Schmal (alles untereinander): Über dem Glas bleibt Luft, damit das Schnapsglas beim Einschenken
   nicht in die Kopfzeile ragt. Breit rechnet app.js den Platz aus (KOPFRAUM). */
@media (max-width: 1100px) {
  .glasfeld .glas-seite { padding-top: var(--kopf-luft, 44px); }
}

/* ── „Jetzt servieren“: Trinkgeld, Sterne und Korken stehen nebeneinander, nichts wird abgeschnitten ── */
.servier-vorschau b { display: flex; flex-wrap: nowrap; gap: 0 10px; overflow: visible; text-overflow: clip; }
.servier-vorschau b i { font-style: normal; white-space: nowrap; }
.servier-vorschau.drei b { font-size: .98rem; gap: 0 7px; }
@media (min-width: 1101px) {
  .glasfeld .servier-vorschau.drei b { font-size: 1.05rem; gap: 0 8px; }
  .glasfeld .servier-vorschau.drei { padding-left: 12px; padding-right: 10px; }
}
@media (max-width: 760px) {
  .servier-vorschau.drei b { font-size: .86rem; gap: 0 6px; }
  .servier-vorschau.drei { padding-left: 8px; padding-right: 6px; }
}

/* ── Probierlöffel: Mit der Maus über einer Zutat steht da, was sie bewirkt ── */
.auswahl-reihe { position: relative; }
.auswahl-reihe .hat-tipp { position: static; }
.hat-tipp::after {
  content: attr(data-tipp); position: absolute; left: 0; right: 0; bottom: calc(100% + 8px); z-index: 30;
  padding: 10px 13px; border-radius: 11px; background: #120a22; color: #fff; border: 1px solid var(--gold);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .6); font-size: .88rem; font-weight: 600; line-height: 1.35; text-align: left; white-space: normal;
  pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .12s, transform .12s;
}
.hat-tipp:hover::after, .hat-tipp:focus-visible::after { opacity: 1; transform: none; }
body[data-ort="muenchen"] .hat-tipp::after { background: #062656; border-color: #fff; }

/* ── Ereigniskarten: Wer selbst wählt, kann auch auf die Karte klicken ──── */
.angebot-platz.waehlbar .zkarte { cursor: pointer; transition: transform .15s, box-shadow .15s; }
.angebot-platz.waehlbar .zkarte:hover { transform: translateY(-4px); box-shadow: 0 0 0 4px #fff, 0 0 34px var(--gold), 0 14px 34px rgba(0, 0, 0, .55); }

/* ── Zu scharf: Das Glas zerspringt ─────────────────────────────────────── */
.glas-svg.zerbrochen .g-umriss { stroke: #ffc2b4; stroke-dasharray: 54 5 22 4 72 6 34 3; }
.glas-svg .g-risse { pointer-events: none; }
.glas-svg.klirrt { animation: glas-klirr .4s ease-out; }
.glas-svg.klirrt.glas-wackelt { animation: wackeln .55s ease, glas-klirr .4s ease-out; }
@keyframes glas-klirr { 0% { filter: brightness(2.6) drop-shadow(0 0 18px #fff); } 100% { filter: none; } }
@media (prefers-reduced-motion: reduce) { .glas-svg.klirrt, .glas-svg.klirrt.glas-wackelt { animation: none; } }

/* ── Einkauf: „Deine Runde“ eingeklappt – nur die Summe, Einzelheiten auf Knopfdruck ── */
.runde-klapp > summary { list-style: none; display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; cursor: pointer; }
.runde-klapp > summary::-webkit-details-marker { display: none; }
.rk-titel { font-family: var(--anzeige); font-size: 1.25rem; font-weight: 800; }
.rk-summe { display: flex; gap: 14px; margin-left: auto; font-size: 1.2rem; white-space: nowrap; }
.rk-summe b { color: var(--gold); font-variant-numeric: tabular-nums; }
.rk-knopf { pointer-events: none; white-space: nowrap; }
.runde-klapp .rk-zu, .runde-klapp[open] .rk-auf { display: none; }
.runde-klapp[open] .rk-zu { display: inline; }
.runde-klapp[open] > summary { margin-bottom: 10px; }
.runde-klapp > summary:focus-visible { outline: 2px solid var(--tuerkis); outline-offset: 4px; border-radius: 8px; }
.rk-hinweis { margin: 0 0 8px; color: var(--leise); font-weight: 700; }
@media (max-width: 520px) {
  .rk-summe { margin-left: 0; font-size: 1.05rem; gap: 10px; }
  .rk-knopf { margin-left: auto; }
}

/* ── Laden: Marken unter dem Namen der Zutat ────────────────────────────── */
.st-marke { color: #ffe27a; font-weight: 700; white-space: nowrap; }

/* Die Zeile bleibt gleich hoch, ob Korken dabei sind oder nicht */
.servier-vorschau b { line-height: 23px; }
@media (min-width: 1101px) { .glasfeld .servier-vorschau b { line-height: 27px; } }
@media (max-width: 760px) { .servier-vorschau b { line-height: 21px; } }

/* Laden: Das Schnapsglas in der Überschrift einer Zutat steht für die Sorte – ohne Zahl (die Zahlen stehen an den Kaufknöpfen) */
.ware-kopf .chip > b { display: none; }

/* Schmaler Automat (etwa mit nur einer Walze): Der Name passt in eine Zeile */
.vegas.schmal .vegas-name { font-size: min(clamp(1.25rem, 5.4vw, 2.7rem), calc(var(--aw, 900px) * .066)); }


/* ══ Runde 39 ═════════════════════════════════════════════════════════════
   Nachfragen als eigenes Fenster, Wahl der Ereigniskarte direkt im Automaten (die Karten tragen
   ihren Text schon auf den Walzen), im Glas wabert nur noch die Oberfläche. */

/* ── Nachfrage-Fenster (statt Browser-Dialog) ───────────────────────────── */
.frage {
  width: min(440px, calc(100vw - 32px)); padding: 26px 26px 22px; border-radius: 20px; text-align: center;
  border: 1px solid var(--gold); background: linear-gradient(180deg, var(--flaeche), var(--bg2)); color: var(--text);
  box-shadow: 0 0 0 1px rgba(255, 207, 90, .25), 0 30px 80px rgba(0, 0, 0, .65), 0 0 60px rgba(255, 79, 163, .18);
}
.frage::backdrop { background: rgba(8, 4, 14, .72); backdrop-filter: blur(4px); }
.frage[open] { animation: aufploppen .22s ease; }
.frage.gefahr { border-color: rgba(255, 77, 77, .75); box-shadow: 0 0 0 1px rgba(255, 77, 77, .25), 0 30px 80px rgba(0, 0, 0, .65), 0 0 60px rgba(255, 77, 77, .2); }
.frage-zeichen { font-size: 2.4rem; line-height: 1; margin-bottom: 10px; }
.frage-text { margin: 0 0 6px; font-size: 1.3rem; line-height: 1.25; }
.frage-mehr { margin: 0; color: var(--leise); line-height: 1.45; }
.frage-mehr[hidden] { display: none; }
.frage-eingabe { width: 100%; box-sizing: border-box; margin-top: 14px; text-align: center; font-size: 1.1rem; }
.frage-knoepfe { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.frage-knoepfe .knopf { flex: 1 1 140px; justify-content: center; min-height: 48px; }
.knopf.gefahr-voll { background: linear-gradient(120deg, #ff5a5a, #c81e3a); color: #fff; border-color: transparent; box-shadow: 0 6px 20px rgba(200, 30, 58, .45); }
@media (prefers-reduced-motion: reduce) { .frage[open] { animation: none; } }

/* ── Automat: Jede Walze hat ihren Platz – darin unten der Knopf, mit dem man ihre Karte nimmt ── */
.walze-platz { position: relative; min-width: 0; min-height: 0; height: 100%; }
.vegas-automat.einzeln .walze-platz.hoch { display: none; }
.walze-wahl { position: absolute; left: 10px; right: 10px; bottom: 8px; z-index: 3; display: flex; justify-content: center; }
.walze-wahl:empty { display: none; }
.walze-wahl .knopf { width: min(100%, var(--wh, 100%)); justify-content: center; white-space: nowrap; box-shadow: 0 8px 22px rgba(0, 0, 0, .65); }
.vegas .walze.waehlbar { cursor: pointer; }
.vegas .walze.waehlbar:hover .wkarte.ziel, .vegas .walze.waehlbar:focus-visible .wkarte.ziel { box-shadow: inset 0 0 0 3px #fff, 0 0 28px 5px var(--gold); }
.vegas .walze.genommen .wkarte.ziel { animation: none; box-shadow: inset 0 0 0 3px #fff, 0 0 36px 8px var(--gold); }
/* Stehen die Walzen, zählen nur noch die zwei Karten in der Mitte */
.vegas.gestoppt .wkarte:not(.ziel) { opacity: .3; }
/* Stehen die Walzen, bleibt der Platz von START frei (nichts verrutscht); nach der Wahl liegt dort „Los geht's“ */
.vegas-tasten { position: relative; }
.vegas.gestoppt .vegas-start, .vegas.gestoppt .vegas-hilfe { visibility: hidden; }
.vegas-tasten .ziehung-los { position: absolute; left: 0; right: 0; top: 0; min-width: 0; white-space: nowrap; justify-content: center; }
.vegas-tasten .ziehung-los[hidden] { display: none; }

/* Die Karten auf den Walzen tragen ihren Text – man sieht schon vor dem Start, was sie bedeuten */
.vegas .wkarte { gap: calc(var(--wh) * .018); padding: calc(var(--wh) * .04) calc(var(--wh) * .05); }
.vegas .wkarte-emoji { font-size: calc(var(--wh) * .24); }
.vegas .wkarte-name { font-size: min(clamp(.8rem, calc(var(--wh) * .08), 2.2rem), calc(var(--wh) * 1.3 / var(--n, 8))); line-height: 1.12; -webkit-line-clamp: 2; }
.vegas .wkarte-text {
  font-size: clamp(.62rem, calc(var(--wh) * .05), 1.2rem); line-height: 1.25; font-weight: 600; text-align: center; opacity: .82;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
/* Sehr niedrige Schirme (Handy quer): Für den Text ist auf den Feldern kein Platz */
@media (max-height: 520px) {
  .vegas .wkarte-text { display: none; }
  .vegas .wkarte-name { -webkit-line-clamp: 3; font-size: min(clamp(.7rem, calc(var(--wh) * .105), 1.2rem), calc(var(--wh) * 1.3 / var(--n, 8))); }
}

/* Hochkant am Handy: Die zwei Walzen stehen übereinander – so sind die Felder groß genug für ihren Text */
@media (max-width: 700px) and (orientation: portrait) {
  .vegas .automat-walzen { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .vegas-automat.einzeln .automat-walzen { grid-template-rows: minmax(0, 1fr); }
  .vegas .automat-walzen::before, .vegas .automat-walzen::after { display: none; }
  .walze-platz::before, .walze-platz::after {
    content: ''; position: absolute; top: 50%; margin-top: -9px; width: 0; height: 0; z-index: 2;
    border-top: 9px solid transparent; border-bottom: 9px solid transparent; filter: drop-shadow(0 0 5px var(--gold));
  }
  .walze-platz::before { left: -13px; border-left: 11px solid var(--gold); }
  .walze-platz::after { right: -13px; border-right: 11px solid var(--gold); }
  .vegas .wkarte-emoji { font-size: calc(var(--wh) * .24); }
  .vegas .wkarte-name { font-size: min(clamp(.8rem, calc(var(--wh) * .08), 1.4rem), calc(var(--wh) * 1.3 / var(--n, 8))); line-height: 1.12; }
  .vegas .wkarte-art { font-size: clamp(.5rem, calc(var(--wh) * .055), .8rem); }
  .walze-wahl .knopf { padding-top: 8px; padding-bottom: 8px; }
}

/* ── Glas: Nur die Oberfläche wabert; nach dem Einschenken blendet die Welle weich ein ── */
.glas-svg .g-wellen { transition: opacity .45s ease; }
.glas-svg.giesst .g-wellen { opacity: 0; transition: none; }

/* Hochkant am Handy: weniger Drumherum, damit die zwei Fenster so hoch wie möglich sind; steht ein
   Wahlknopf unter der Karte, rückt sie ein Stück nach oben und der Knopf verdeckt nichts. */
@media (max-width: 700px) and (orientation: portrait) {
  .vegas-krone { padding-top: 18px; padding-bottom: 5px; }
  .vegas-runde { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .74rem; }
  .vegas-schale { display: none; }
  .vegas-rumpf { padding-bottom: 10px; }
  .vegas-anzeige { min-height: 42px; padding: 4px 10px; font-size: .95rem; }
  .vegas-start span { padding-top: 9px; padding-bottom: 9px; font-size: 1.2rem; }
  .vegas .walze {
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 4%, #000 96%, transparent);
  }
  .walze-wahl { bottom: 4px; }
  .walze-wahl .knopf { min-height: 0; padding: 6px 12px; font-size: .92rem; }
  .vegas .wkarte-text { font-size: clamp(.62rem, calc(var(--wh) * .056), .9rem); }
}

/* Wahlknopf der Spielleitung auf der hellen Walze: dunkel hinterlegt, damit er lesbar ist */
.walze-wahl .knopf.leise { background: #1c1229; color: #fff; border-color: var(--gold); }

/* Rückt eine Karte für ihren Wahlknopf nach oben, dann weich */
.vegas .walze-band { transition: margin-top .3s ease; }
.vegas .walze-band.einrasten { transition: transform .4s cubic-bezier(.3, 1.6, .5, 1), margin-top .3s ease; }

/* Niedrige Schirme: kompakter Wahlknopf, damit er die Karte nicht verdeckt */
@media (max-height: 660px) {
  .walze-wahl { bottom: 4px; }
  .walze-wahl .knopf { min-height: 0; padding: 4px 10px; font-size: .84rem; }
}

/* Handy quer: Pult flach halten, damit das Walzenfenster seine Höhe behält */
@media (max-height: 520px) {
  .vegas.schmal .vegas-automat { min-width: min(520px, calc(100% - 52px)); }
  .vegas-start span { min-width: 104px; padding: 7px 12px; font-size: 1.05rem; letter-spacing: 2px; }
  .vegas-anzeige { min-height: 36px; padding: 4px 10px; font-size: .9rem; }
  .vegas-tasten .ziehung-los { padding-top: 7px; padding-bottom: 7px; font-size: .95rem; }
}


/* ══ Runde 40 ═════════════════════════════════════════════════════════════
   Startshaker ohne Blättern: Unter dem Shaker steht je Sorte, was sie bewirkt; ein Knopf startet.
   Einkauf: kaputte Gläser rot markiert. */
.startshaker-overlay.ss-neu .lf-kopf { width: auto; text-align: center; padding-right: 0; }
/* Der Shaker behält eine Mindesthöhe; die Liste nimmt, was sie braucht, und gibt notfalls nach */
.startshaker-overlay.ss-neu .ss-platz { min-height: 106px; }
.startshaker-overlay.ss-neu .ss-unten { flex: 0 1 auto; width: min(980px, 100%); min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ss-liste {
  flex: 0 1 auto; min-height: 0; width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 8px 10px;
  overflow-y: auto; overscroll-behavior: contain;
}
/* Passt die Liste nicht ganz auf den Schirm, rollt nur sie – unten blendet sie aus, bis man am Ende ist */
.ss-liste.rollt { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 38px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 38px), transparent); }
.ss-liste.rollt.unten { -webkit-mask-image: none; mask-image: none; }
.ss-reihe {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; text-align: left;
  padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22);
}
.ss-reihe.ss-chili { background: rgba(255, 77, 77, .14); border-color: rgba(255, 77, 77, .6); }
.ss-reihe .ss-wk-chips { max-width: none; flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; gap: 4px; }
.ss-reihe .ss-wk-chips .chip { width: 36px; height: 42px; font-size: 1.15rem; }
.ss-reihe .ss-wk-text { font-size: .98rem; line-height: 1.35; }
.ss-reihe .ss-wk-text b { font-size: 1.12rem; }
.startshaker-overlay.ss-neu .ss-fuss { flex: none; width: 100%; min-height: 0; justify-content: center; }
.startshaker-overlay.ss-neu .ss-los { min-width: min(88vw, 320px); justify-content: center; }
@media (max-width: 520px) {
  .startshaker-overlay.ss-neu { gap: 6px; }
  .startshaker-overlay.ss-neu .lf-kopf .lf-runde { line-height: 1.3; }
  .startshaker-overlay.ss-neu .lf-kopf h2 { font-size: clamp(1.05rem, 5.6vw, 1.5rem); }
  .startshaker-overlay.ss-neu .ss-unten { gap: 8px; }
  .ss-liste { gap: 5px; }
  .ss-reihe { padding: 7px 10px; gap: 10px; border-radius: 12px; }
  .ss-reihe .ss-wk-chips { flex-wrap: wrap; max-width: 70px; }
  .ss-reihe .ss-wk-chips .chip { width: 30px; height: 36px; font-size: 1rem; }
  .ss-reihe .ss-wk-text { font-size: .86rem; line-height: 1.3; gap: 1px; }
  .ss-reihe .ss-wk-text b { font-size: .98rem; }
  .ss-reihe .ss-wk-warnung { margin-top: 2px; }
}
/* Handy quer: Shaker links, Liste und Knopf rechts */
@media (orientation: landscape) and (max-height: 520px) {
  .startshaker-overlay.ss-neu .lf-kopf { text-align: left; }
  .startshaker-overlay.ss-neu .ss-platz { min-height: 0; }
  .startshaker-overlay.ss-neu .ss-unten { grid-column: 2; grid-row: 2; width: 100%; align-items: stretch; gap: 6px; }
  .ss-liste { flex: 1 1 0; grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .ss-reihe { padding: 5px 10px; gap: 10px; }
  .ss-reihe .ss-wk-chips .chip { width: 30px; height: 36px; font-size: 1rem; }
  .ss-reihe .ss-wk-text { font-size: .86rem; line-height: 1.3; gap: 1px; }
  .ss-reihe .ss-wk-text b { font-size: .98rem; }
  .startshaker-overlay.ss-neu .ss-los { padding-top: 7px; padding-bottom: 7px; }
}

/* Einkauf, „Deine Gläser“: Ein zerbrochenes Glas steht in einem roten Feld */
.krug-mini.kaputt { background: rgba(255, 60, 60, .26); border-color: #ff4d4d; box-shadow: inset 0 0 0 1px #ff4d4d, 0 0 12px rgba(255, 77, 77, .35); }
.krug-mini.kaputt figcaption span { color: #ffd0d0; }


/* ══ Runde 41 ═════════════════════════════════════════════════════════════
   Thekenbandit: Die Anzeige steht immer vertikal mittig zum START-Knopf – auch wenn darunter der
   Knopf der Spielleitung erscheint oder „Los geht's“ an die Stelle von START tritt. Dafür werden
   START, Hilfe-Knopf und „Los geht's“ direkt im Raster des Pults angeordnet (Zeile 1: Anzeige und
   START, Zeile 2 nur bei Bedarf: Hilfe-Knopf). Hochkant am Handy steht alles untereinander wie bisher. */
@media (min-width: 701px) {
  .vegas-pult { row-gap: 6px; }
  .vegas-tasten { display: contents; }
  .vegas-anzeige { grid-column: 1; grid-row: 1; }
  .vegas-start { grid-column: 2; grid-row: 1; align-self: center; }
  .vegas-hilfe { grid-column: 2; grid-row: 2; }
  /* „Los geht's“ liegt genau auf dem Platz von START und verbreitert die Spalte nicht */
  .vegas-tasten .ziehung-los { position: static; grid-column: 2; grid-row: 1; align-self: center; contain: inline-size; }
}


/* ══ Runde 42 ═════════════════════════════════════════════════════════════
   Glasbruch wie beim kleinen Glas unter „Deine Gläser“: Loch im Rand, Risse, Leck, Pfütze, Scherben –
   ohne gestrichelten Umriss und ohne grellen Blitz übers ganze Glas. Auswahl-Knöpfe: Der Name bricht
   im Knopf um (mit Trennstrich), statt über den Rand zu laufen. */
.glas-svg.zerbrochen .g-umriss { stroke: rgba(255, 255, 255, .7); stroke-dasharray: none; }
.glas-svg .g-bruchteil, .glas-svg .g-brocken { pointer-events: none; }
@keyframes glas-klirr { 0% { filter: brightness(1.3); } 100% { filter: none; } }
.auswahl-reihe.gleich > button { min-width: 0; }
.auswahl-reihe.gleich > button .chip { flex: none; }
/* Die Zutaten stehen nebeneinander, „Alle zurücklegen“ bekommt eine eigene, flachere Zeile darunter –
   so haben die Namen Platz. Reicht er trotzdem nicht, bricht der Name im Knopf um (nie darüber hinaus). */
.auswahl-reihe.gleich { display: flex; flex-wrap: wrap; }
.auswahl-reihe.gleich > button { flex: 1 1 min(150px, calc(50% - 4px)); }
.auswahl-reihe.gleich > button[data-index="-1"] { flex: 1 0 100%; min-height: 40px; padding-top: 5px; padding-bottom: 5px; }
.auswahl-reihe.gleich .aw-name { min-width: 0; text-align: left; line-height: 1.15; white-space: normal; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
/* Schmale Auswahl (Handy): Bild über dem Namen – so hat der Name die ganze Knopfbreite */
.auswahl-reihe.gleich { container-type: inline-size; }
@container (max-width: 380px) {
  .auswahl-reihe.gleich > .auswahl-knopf { flex-direction: column; gap: 2px; padding: 5px 6px; }
  .auswahl-reihe.gleich > .auswahl-knopf .chip { width: 28px; height: 33px; font-size: .9rem; }
  .auswahl-reihe.gleich > .auswahl-knopf .aw-name { text-align: center; font-size: .9rem; }
}


/* ══ Runde 43 ═════════════════════════════════════════════════════════════
   Beim Mixen: Ist die Bestellung mit dem eigenen Glas gerade erfüllt, leuchtet die Karte grün und trägt
   ein Schild „✓ Erfüllt“ (es liegt auf dem Rand und schiebt nichts zur Seite). */
.gastkarte.erfuellt {
  position: relative; border-color: #3ddc97;
  background: linear-gradient(120deg, rgba(61, 220, 151, .24), rgba(61, 220, 151, .08));
  box-shadow: 0 0 0 2px rgba(61, 220, 151, .55), 0 0 22px rgba(61, 220, 151, .35);
  animation: gast-erfuellt .6s cubic-bezier(.2, 1.4, .4, 1);
}
.gastkarte.erfuellt .gast-art.bestellung { background: #3ddc97; color: #04231a; }
.gast-erfuellt {
  position: absolute; top: -12px; right: 14px; padding: 3px 11px; border-radius: 999px;
  background: #3ddc97; color: #04231a; font-weight: 900; font-size: .82rem; letter-spacing: .3px; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .45), 0 0 14px rgba(61, 220, 151, .6);
}
@keyframes gast-erfuellt { 0% { transform: scale(.97); box-shadow: 0 0 0 3px rgba(61, 220, 151, .95), 0 0 44px rgba(61, 220, 151, .9); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .gastkarte.erfuellt { animation: none; } }

/* Thekenbandit: Die Lampen der Krone laufen am Bogen entlang – innerhalb des Rands und nur im oberen
   Teil, damit sie weder hinausragen noch an die Schrift stoßen. Sie blinken im Takt wie bisher. */
.vegas-krone > .vegas-birnen {
  left: 9px; right: 9px; top: 9px; bottom: 0; height: auto; background: none;
  border: 6px dotted #fffbe0; border-bottom: 0; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  clip-path: inset(0 0 45% 0); filter: drop-shadow(0 0 3px rgba(255, 207, 90, .95));
  animation-name: vegas-bogen;
}
@keyframes vegas-bogen { 0% { border-color: #fffbe0; } 50% { border-color: #f0b63e; } }
@media (max-height: 520px) { .vegas-krone > .vegas-birnen { border-radius: 32px 32px 0 0; border-width: 5px; } }
/* Wählt jemand eine Karte (START ist weg, „Los geht's“ noch nicht da), steht die Anzeige mittig über die ganze Breite */
@media (min-width: 701px) {
  .vegas.gestoppt:not(.gewaehlt) .vegas-anzeige { grid-column: 1 / -1; }
}
/* Desktop: Der Automat ist 30 % kleiner – die Walzenfelder bleiben quadratisch (effekte.js misst nach) */
@media (min-width: 1101px) and (min-height: 600px) {
  .vegas-automat { height: 70%; width: min(calc(70% - 36px), 770px); }
}


/* ══ Runde 44 ═════════════════════════════════════════════════════════════
   Kartenwahl in der Lobby: Karten zugeklappt; unten links „Details“, rechts „Spiel starten“. */
.ortskarte-fuss { flex-direction: row; flex-wrap: nowrap; align-items: stretch; }
.ortskarte-fuss .karte-details { flex: 0 0 auto; justify-content: center; white-space: nowrap; }
.ortskarte-fuss .bar-eroeffnen { flex: 1 1 auto; min-width: 0; width: auto; white-space: nowrap; }
@media (max-width: 520px) { .ortskarte-fuss { gap: 6px; } .ortskarte-fuss .knopf.gross { padding-left: 12px; padding-right: 12px; } }
@media (max-width: 380px) { .ortskarte-fuss .knopf.gross { padding-left: 9px; padding-right: 9px; font-size: .95rem; } .ortskarte-fuss .start-emoji { display: none; } }
.ortskarte-fuss.nur-details .karte-details { flex: 1 1 auto; }
.ortskarte-details[hidden] { display: none; }


/* ══ Runde 45 ═════════════════════════════════════════════════════════════
   Festival-Hut: silberner Cowboyhut, auf dem nacheinander kleine Funken aufblitzen. */
.hut-cowboy .funkel { transform-box: fill-box; transform-origin: center; animation: hut-funkeln 1.8s ease-in-out infinite; }
@keyframes hut-funkeln { 0%, 100% { opacity: .1; transform: scale(.4); } 50% { opacity: 1; transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .hut-cowboy .funkel { animation: none; opacity: .85; } }


/* ══ Runde 46 ═════════════════════════════════════════════════════════════
   Thekenbandit: Der Erklärtext auf den Karten ist einen Punkt größer. Tauchsieder: Während die Chili
   herauskommt, kühlt die Schärfe-Röhre sichtbar ab. */
.vegas .wkarte-text { font-size: clamp(calc(.62rem + 1pt), calc(var(--wh) * .05 + 1pt), calc(1.2rem + 1pt)); }
@media (max-width: 700px) and (orientation: portrait) {
  .vegas .wkarte-text { font-size: clamp(calc(.62rem + 1pt), calc(var(--wh) * .056 + 1pt), calc(.9rem + 1pt)); }
}
.thermo.kuehlt .thermo-fuellung { filter: hue-rotate(165deg) saturate(1.3) brightness(1.15); }
.thermo.kuehlt .thermo-rahmen { box-shadow: 0 0 18px rgba(120, 200, 255, .85); }
.glas-svg .g-sieb { pointer-events: none; }
.vegas .wkarte.lang .wkarte-emoji { font-size: calc(var(--wh) * .17); }
.vegas .wkarte.lang .wkarte-text { -webkit-line-clamp: 6; }
/* Desktop: 30 % kleiner, aber nie unter 620 px Höhe – sonst würden auf kleinen Laptop-Schirmen die
   Kartentexte zu klein und abgeschnitten */
@media (min-width: 1101px) and (min-height: 600px) {
  .vegas-automat { height: max(70%, min(100%, 620px)); }
}


/* ══ Runde 47 ═════════════════════════════════════════════════════════════
   Thekenbandit: Nach der Wahl gibt es keinen „Los geht's“-Knopf mehr – die Anzeige steht dann mittig
   über die ganze Breite, bis es nach 2 Sekunden von selbst weitergeht. */
@media (min-width: 701px) {
  .vegas.gestoppt .vegas-anzeige { grid-column: 1 / -1; }
}


/* ══ Runde 48 ═════════════════════════════════════════════════════════════
   Erfüllte Bedingung: Ringsum blitzen Sterne auf – erst alle kurz nacheinander, dann immer wieder.
   Rad: Die Gratis-Zutat steht gleich mit ihrem Bild da. */
.gast-funken { position: absolute; inset: -16px -10px; pointer-events: none; z-index: 1; }
.gast-funken i {
  position: absolute; font-style: normal; font-weight: 900; line-height: 1; color: #ffe27a; opacity: 0;
  text-shadow: 0 0 6px #fff3b0, 0 0 14px #ffcf5a, 0 0 26px rgba(255, 207, 90, .8);
  animation: gast-funke 3.2s ease-out infinite;
}
.gast-funken i:nth-child(1) { left: 1%; top: 8%; font-size: 1.25rem; animation-delay: 0s; }
.gast-funken i:nth-child(2) { left: 22%; top: -4%; font-size: .95rem; animation-delay: .14s; }
.gast-funken i:nth-child(3) { left: 48%; top: -10%; font-size: 1.15rem; animation-delay: .28s; }
.gast-funken i:nth-child(4) { left: 70%; top: -2%; font-size: .9rem; animation-delay: .42s; }
.gast-funken i:nth-child(5) { right: 1%; top: 30%; font-size: 1.3rem; animation-delay: .56s; }
.gast-funken i:nth-child(6) { right: 18%; bottom: -8%; font-size: 1rem; animation-delay: .7s; }
.gast-funken i:nth-child(7) { left: 40%; bottom: -12%; font-size: 1.2rem; animation-delay: .84s; }
.gast-funken i:nth-child(8) { left: 6%; bottom: -6%; font-size: .9rem; animation-delay: .98s; }
@keyframes gast-funke {
  0% { opacity: 0; transform: scale(.2) rotate(0deg); }
  7% { opacity: 1; transform: scale(1.35) rotate(30deg); }
  20% { opacity: 0; transform: scale(.5) rotate(80deg); }
  100% { opacity: 0; transform: scale(.2) rotate(80deg); }
}
@media (prefers-reduced-motion: reduce) { .gast-funken i { animation: none; opacity: .75; } }
.rad-zutat-chip .chip { width: 46px; height: 54px; font-size: 1.5rem; }


/* ══ Runde 49 ═════════════════════════════════════════════════════════════
   Rangliste beim Mixen: die aktuelle Feldzahl direkt rechts neben der letzten Zutat im Balken. */
.rb-zahl {
  position: absolute; top: 50%; z-index: 2; transform: translate(5px, -50%); pointer-events: none;
  font-size: .76rem; font-weight: 900; line-height: 1; color: #fff; font-variant-numeric: tabular-nums;
  text-shadow: 0 0 3px #000, 0 1px 2px #000, 0 0 6px rgba(0, 0, 0, .8);
}
.rb-zahl.innen { transform: translate(calc(-100% - 5px), -50%); }


/* ══ Runde 50 ═════════════════════════════════════════════════════════════
   Rad: Was es zu erklären gibt, steht in einem Satz direkt im aufleuchtenden Banner. */
.rad-ergebnis-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rad-ergebnis-text small { font-size: max(.95rem, .42em); font-weight: 700; line-height: 1.3; color: #f3e9ff; }
.rad-ergebnis-gross.mit-satz { max-width: min(760px, calc(100vw - 32px)); padding-top: 12px; padding-bottom: 14px; }
.rad-ergebnis-emoji .rad-zutat-chip .chip { width: 1.3em; height: 1.55em; font-size: .8em; }


/* ══ Runde 51 ═════════════════════════════════════════════════════════════
   München: modernes Rautenmuster – geschliffene Rauten in Weiß und Bayernblau (jede Raute in vier
   Facetten, hell oben links, dunkel unten rechts), feine weiße Fugen, darüber ein heller Lichtverlauf
   von oben und eine leichte Tiefe nach unten rechts. Das Band unter der Kopfzeile nimmt die Rauten auf. */
body[data-ort="muenchen"] {
  background-color: #eaf3fc;
  background-image:
    radial-gradient(1200px 620px at 50% -12%, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 70%),
    linear-gradient(118deg, rgba(255, 255, 255, .38) 0%, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0) 62%, rgba(8, 48, 106, .16) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='36'%3E%3Cpath d='M0 0 L32 0 L0 18Z' fill='%23dceaf8'/%3E%3Cpath d='M64 0 L32 0 L64 18Z' fill='%23e8f2fb'/%3E%3Cpath d='M0 36 L0 18 L32 36Z' fill='%23f2f8fd'/%3E%3Cpath d='M64 36 L64 18 L32 36Z' fill='%23ffffff'/%3E%3Cpath d='M0 18 L32 0 L32 18Z' fill='%2363b3ee'/%3E%3Cpath d='M32 0 L64 18 L32 18Z' fill='%233f9ce5'/%3E%3Cpath d='M64 18 L32 36 L32 18Z' fill='%231f74bf'/%3E%3Cpath d='M32 36 L0 18 L32 18Z' fill='%232c87d3'/%3E%3Cpath d='M32 0 L64 18 L32 36 L0 18Z' fill='none' stroke='%23ffffff' stroke-width='1.4'/%3E%3C/svg%3E");
  background-size: auto, auto, 64px 36px;
  background-attachment: fixed;
}
body[data-ort="muenchen"] .kopf {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='9'%3E%3Cpath d='M0 4.5 L8 0 L8 4.5Z' fill='%234aa8ea'/%3E%3Cpath d='M8 0 L16 4.5 L8 4.5Z' fill='%232f8fdb'/%3E%3Cpath d='M16 4.5 L8 9 L8 4.5Z' fill='%231c6fbd'/%3E%3Cpath d='M8 9 L0 4.5 L8 4.5Z' fill='%232580cc'/%3E%3C/svg%3E") left bottom / 16px 9px repeat-x,
    linear-gradient(180deg, #ffffff, #f3f8fd);
}
@media (max-width: 760px) {
  body[data-ort="muenchen"] .kopf { background-size: 12px 7px, auto; }
}


/* ══ Runde 52 ═════════════════════════════════════════════════════════════
   Einkauf am Handy: zuerst „Korken einsetzen“, dann Laden und Trick, dann „Deine Runde“ und direkt
   darunter „Deine Gläser“. */
@media (max-width: 760px) {
  .einkauf-spalte > #b-vorfuellung { order: 1; }
  .einkauf-spalte > .laden-karte { order: 2; }
  .einkauf-spalte > #b-trick { order: 3; }
  .einkauf-spalte > #b-abrechnung { order: 4; }
  .einkauf-spalte > #b-kruege-oben { order: 5; }
  .einkauf-spalte > #b-gast { order: 6; }
}


/* ══ Runde 53 ═════════════════════════════════════════════════════════════
   Einkauf am Handy: Die Kassenleiste (Trinkgeld, Korb, „Fertig“) bleibt oben stehen, während man durch
   die Zutaten des Ladens scrollt – mit deckendem Grund, damit nichts durchscheint. */
@media (max-width: 760px) {
  .laden-karte .kasse-leiste {
    position: sticky; top: env(safe-area-inset-top, 0px); z-index: 6;
    padding: 8px 12px; gap: 6px 12px;
    background: linear-gradient(rgba(255, 207, 90, .12), rgba(255, 207, 90, .12)), var(--flaeche);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .35);
  }
}


/* ══ Runde 56 ═════════════════════════════════════════════════════════════
   Kartenwahl: Ohne Untertitel und Stimmungszeile; der Name steht in einem farbigen Band oben auf der Karte. */
.ortskarte { padding-top: 0; overflow: hidden; }
.ortskarte .ortskarte-name {
  margin: 0 -18px; padding: 12px 18px; font-size: 1.3rem; line-height: 1.2;
  color: #1a0b16; background: linear-gradient(110deg, var(--gold), #ff9f43);
}
body[data-ort="muenchen"] .ortskarte .ortskarte-name { color: #08306a; background: linear-gradient(110deg, #ffffff, #cfe6fb); }
body[data-ort="rockimpark"] .ortskarte .ortskarte-name { color: #0d1a00; background: linear-gradient(110deg, #b6ff3c, #5be37d); }


/* ══ Runde 58 ═════════════════════════════════════════════════════════════
   Beim Mixen stehen „Zutat ziehen“, „Tauchsieder“ und „Servieren“ immer am selben Platz. Darüber steht nur das
   Feld mit der gezogenen Zutat – in fester Höhe und von Anfang an (auch auf dem Handy). Alles, was
   dazukommt (Statuszeile, Probierlöffel, Kühlung, Trick, Shaker-Blick, Nachbarn), erscheint darunter. */
.bedienung { --letzter-h: 90px; }
.bedienung #b-letzter { order: 1; flex: none; height: var(--letzter-h); }
.bedienung #b-knoepfe { order: 2; }
.bedienung #b-band { order: 3; }
.bedienung #b-entscheidung { order: 4; }
.bedienung #b-zahlen { order: 5; }
.bedienung #b-trick { order: 6; }
.bedienung #b-shaker { order: 7; margin-top: 0; }
.bedienung #b-nachbarn { order: 8; }
.bedienung #b-letzter .letzter-zug { display: flex; height: 100%; min-height: 0; overflow: hidden; }
/* Zu langer Text: erst etwas kleiner, dann noch kleiner und höchstens drei Zeilen */
.bedienung #b-letzter .letzter-zug.eng { font-size: .92em; line-height: 1.25; }
.bedienung #b-letzter .letzter-zug.eng .letzter-text { font-size: .84rem; line-height: 1.25; }
.bedienung #b-letzter .letzter-zug.enger { font-size: .85em; line-height: 1.2; padding-top: 6px; padding-bottom: 6px; }
.bedienung #b-letzter .letzter-zug.enger .letzter-text {
  font-size: .78rem; line-height: 1.2; margin-top: 1px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 760px) { .bedienung { --letzter-h: 86px; } }
@media (min-width: 1101px) { .glasfeld .bedienung { --letzter-h: 96px; } }
@media (min-width: 1101px) and (max-height: 820px) { .glasfeld .bedienung { --letzter-h: 88px; } }


/* ══ Runde 59 ═════════════════════════════════════════════════════════════
   Startseite: Die Kartennamen sind nur umrandet – Rahmen und Schrift in der Akzentfarbe, kein
   gefülltes Band mehr. Ausgefüllt ist dafür der Ort, der gerade aufgeklickt ist. */
.ortskarte { padding-top: 16px; }
.ortskarte .ortskarte-name {
  margin: 0; padding: 8px 14px; border-radius: 10px;
  background: transparent; color: var(--gold); border: 2px solid var(--gold);
}
body[data-ort="muenchen"] .ortskarte .ortskarte-name { background: transparent; color: #ffffff; border-color: #ffffff; }
body[data-ort="rockimpark"] .ortskarte .ortskarte-name { background: transparent; color: #b6ff3c; border-color: #b6ff3c; }
body[data-ort="junior"] .ortskarte .ortskarte-name { background: transparent; color: #7dff5a; border-color: #7dff5a; }
.ort-reiter.offen { background: var(--tuerkis); border-color: var(--tuerkis); color: #06131c; }
.ort-reiter.offen:hover { background: var(--tuerkis); filter: brightness(1.06); }
.ort-reiter.offen small { color: rgba(6, 19, 28, .8); }
