/* ══════════════════════════════════════════════════════════════════════════
   Barfieber — Oberfläche. Nachtbar: tiefes Aubergine, Neon in Pink und Türkis,
   warmes Gold für Trinkgeld und Ruhm. 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)); }
.logo-text {
  font-family: var(--anzeige); font-size: 1.6rem; font-weight: 800; font-style: italic;
  letter-spacing: .5px; color: #fff;
  text-shadow: 0 0 6px var(--pink), 0 0 18px rgba(255, 79, 163, .7);
}
.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; }
.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 {
  font-size: clamp(2.4rem, 5vw, 4rem); font-style: italic; font-weight: 900; margin-bottom: 8px;
  text-shadow: 0 0 10px var(--pink), 0 0 34px rgba(255, 79, 163, .55);
}
.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: 6px; font-weight: 800; font-size: 1.3rem; text-align: center; }
.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: 3.4rem; font-weight: 900; letter-spacing: 12px;
  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(3, 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(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.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); 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: 50;
  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; }
