/* ===== Casino: dunkler Saal, grüner Filz, Gold – nur dieses eine Erscheinungsbild ===== */
:root {
  color-scheme: dark;
  --ground: #050E0A;
  --ground-2: #0C2217;
  --surface: #0E1D16;
  --surface-2: #15291F;
  --surface-3: #1E3A2C;
  --line: rgba(224, 196, 128, .17);
  --line-2: rgba(224, 196, 128, .36);
  --ink: #F4EFE1;
  --ink-2: #C1CBC0;
  --ink-3: #8C9C92;
  --gold: #D9B45E;
  --gold-hi: #F6DF9C;
  --gold-lo: #A67D2E;
  --gold-ink: #221603;
  --felt: #0F6A45;
  --felt-hi: #188C5B;
  --felt-lo: #06422A;
  --felt-line: rgba(247, 236, 204, .62);
  --num-red: #C9352C;
  --num-black: #121614;
  --num-green: #13945A;
  --ok: #4CD597;
  --ok-bg: rgba(76, 213, 151, .13);
  --ok-ink: #03170C;
  --warn: #F4BC60;
  --warn-bg: rgba(244, 188, 96, .14);
  --bad: #FF8F84;
  --bad-bg: rgba(255, 110, 98, .16);
  --chip-blue: #2E6FC0;
  --chip-purple: #7446B4;
  --chip-gold: #D9A21B;
  --chip-brown: #A5521F;
  --focus: #F6DF9C;
  --shadow: 0 12px 32px rgba(0, 0, 0, .38);
  --radius: 18px;
  --f-body: "Atkinson Hyperlegible", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-num: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-display: var(--f-num);
  --f-deco: "Cinzel", "Iowan Old Style", Palatino, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  height: 100%;
  overflow: hidden;
  background: var(--ground);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overscroll-behavior: none;
  touch-action: manipulation;
}
html.android { touch-action: pan-x pan-y; }   /* v361: auf Android kein Fingerzoom, wischen bleibt (js/start.js setzt die Klasse) – iPhone/iPad sperren ihn über gesturestart */
body {
  height: 100%;
  overflow: hidden;
  margin: 0;
  background: radial-gradient(ellipse 90% 75% at 50% 30%, var(--ground-2) 0%, var(--ground) 72%);
  background-color: var(--ground);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  overscroll-behavior: none;
}
input { -webkit-user-select: text; user-select: text; }
html:fullscreen, html:-webkit-full-screen { background: var(--ground); overscroll-behavior: none; }
button { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ===== Kopfzeile: Marke · Historie · Verbindung und Vollbild ===== */
.top {
  flex: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "brand hist tools";
  align-items: center;
  gap: 10px 18px;
  min-height: 52px;
}
.brand { grid-area: brand; display: flex; align-items: center; gap: 12px; min-width: 0; }
.wheel {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--gold) 0 15%, transparent 16%),
    radial-gradient(circle, transparent 0 54%, rgba(0, 0, 0, .35) 55% 58%, transparent 59%),
    conic-gradient(from -4.865deg, var(--num-green) 0 9.73deg, transparent 0),
    repeating-conic-gradient(from 4.865deg, var(--num-red) 0 9.73deg, var(--num-black) 0 19.46deg);
  box-shadow: 0 0 0 2.5px var(--gold), 0 0 0 5px rgba(217, 180, 94, .18), 0 4px 10px rgba(0, 0, 0, .5);
}
h1 {
  margin: 0;
  font-family: var(--f-deco);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .6);
  white-space: nowrap;
}
.top > .hist { grid-area: hist; justify-self: center; }
.top-tools { grid-area: tools; display: flex; align-items: center; gap: 10px; }
.net {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .32);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: .95rem;
  font-weight: 700;
  white-space: nowrap;
}
.ndot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--ink-3); }
.net[data-state="ok"] { color: var(--ok); }
.net[data-state="ok"] .ndot { background: var(--ok); box-shadow: 0 0 0 3px rgba(76, 213, 151, .2); }
.net[data-state="warn"] { color: var(--warn); border-color: rgba(244, 188, 96, .45); }
.net[data-state="warn"] .ndot { background: var(--warn); }
.net[data-state="bad"] { color: var(--bad); border-color: rgba(255, 143, 132, .45); }
.net[data-state="bad"] .ndot { background: var(--bad); }

/* Hinweise schweben über dem Spiel und verschieben nichts */
.toasts {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 70px + var(--fst));
  left: 50%;
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: min(680px, calc(100% - 32px));
  transform: translateX(-50%);
  pointer-events: none;
}
.banner, .warnline {
  margin: 0;
  padding: 10px 16px;
  border-radius: 14px;
  background: #2A2110;
  border: 1px solid rgba(244, 188, 96, .45);
  color: var(--warn);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
  box-shadow: var(--shadow);
  pointer-events: auto;
  animation: toastIn .25s ease-out both;
}
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ===== Letzte Zahlen (gemeinsame Ergebnis-Historie, neueste links) ===== */
.hist {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 16px;
  background: rgba(0, 0, 0, .34);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.hist-ico { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hist-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; min-width: 0; }
.hn {
  flex: 0 1 auto;
  width: 32px;
  min-width: 0;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #FFFFFF;
  font-family: var(--f-num);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.hn[data-c="red"] { background: var(--num-red); }
.hn[data-c="black"] { background: var(--num-black); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.hn[data-c="green"] { background: var(--num-green); }
.hn.new { width: 38px; height: 38px; margin: 0 5px 0 3px; font-size: 1.12rem; box-shadow: 0 0 0 2px var(--ground), 0 0 0 4px var(--gold); }
.hn.pop { animation: histIn .5s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes histIn { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* ===== Raster: links der Tisch, rechts Konto, Spieler und „Bereit“ – alles auf einem Bildschirm ===== */
.grid {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(300px, calc(var(--lw) * .29), 410px);
  grid-template-rows: minmax(0, 1fr);
  grid-template-areas: "main players";
  gap: 12px;
  align-items: stretch;
}
.grid.seated { grid-template-areas: "main you" "main players" "main slip"; grid-template-rows: auto minmax(0, 1fr) auto; }
.area-you { grid-area: you; }
.area-main { grid-area: main; display: flex; flex-direction: column; gap: 12px; min-width: 0; min-height: 0; }
.grid:not(.seated) > .area-main { justify-content: flex-start; padding-top: calc(var(--lh) * .03); }
.grid.seated > .area-main > .board { flex: 1 1 auto; min-height: 0; }
.area-slip { grid-area: slip; }
.area-players { grid-area: players; min-width: 0; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0) 45%), var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card h2 { margin: 0; font-family: var(--f-deco); font-weight: 700; font-size: 1.3rem; letter-spacing: .1em; color: var(--gold); line-height: 1.15; }
.card p { margin: 0; }

/* ===== Knöpfe ===== */
.btn {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 56px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  transition: transform .1s ease, filter .15s ease, background-color .15s ease, opacity .15s ease;
}
.btn:active { transform: scale(.97); }
.btn.primary {
  background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 52%, var(--gold-lo) 100%);
  color: var(--gold-ink);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(0, 0, 0, .18);
}
.btn.primary:active { filter: brightness(.92); }
.btn.ghost { background: rgba(255, 255, 255, .03); color: var(--ink); border-color: var(--line-2); }
.btn.ghost:active { background: var(--surface-3); }
.btn.danger { background: #B8352C; color: #FFFFFF; }
.btn.small { min-height: 50px; font-size: 1.02rem; padding: 6px 12px; }
.btn.tiny { min-height: 44px; padding: 4px 14px; font-size: .95rem; color: var(--ink-2); }
.btn.big {
  min-height: 74px;
  border-radius: 18px;
  font-family: var(--f-deco);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  overflow: hidden;
}
.btn.big.primary:not(:disabled)::after {
  content: "";
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: 0;
  width: 34%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .5), rgba(255, 255, 255, 0));
  transform: translateX(-160%) skewX(-18deg);
  animation: sheen 3.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sheen { 0%, 55% { transform: translateX(-160%) skewX(-18deg); } 100% { transform: translateX(420%) skewX(-18deg); } }
.btn.inline { width: auto; }
.btn:disabled { opacity: .42; cursor: default; transform: none; filter: saturate(.6); }
.btn:focus-visible, .chip:focus-visible, .tc:focus-visible, .spot:focus-visible, .key:focus-visible, .grant-p:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.err, .info {
  margin: 0;
  padding: 9px 13px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
}
.err { background: var(--bad-bg); color: var(--bad); border: 1px solid rgba(255, 143, 132, .35); }
.info { background: rgba(255, 255, 255, .05); color: var(--ink-2); border: 1px solid var(--line); }
.hint { color: var(--ink-2); font-size: 1rem; }
.note { margin: 0; padding: 14px; border: 1px dashed var(--line-2); border-radius: 14px; color: var(--ink-3); text-align: center; font-size: 1rem; }

/* ===== Anmelden: Name, Passwort und großer Ziffernblock ===== */
label { font-weight: 700; font-size: .98rem; color: var(--ink-2); }
input[type="text"], input[type="password"], input[type="email"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-height: 62px;
  padding: 10px 16px;
  font: inherit;
  font-size: 1.45rem;
  color: var(--ink);
  background: rgba(0, 0, 0, .34);
  border: 2px solid var(--line-2);
  border-radius: 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input[type="text"]::placeholder, input[type="password"]::placeholder, input[type="email"]::placeholder { color: var(--ink-3); }
input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, input.pin.active { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(217, 180, 94, .2); }
input[type="text"][aria-invalid="true"], input[type="password"][aria-invalid="true"], input[type="email"][aria-invalid="true"] { border-color: var(--bad); }
input.pin {
  -webkit-text-security: disc;
  text-align: center;
  letter-spacing: .55em;
  text-indent: .55em;
  font-size: 1.8rem;
  font-variant-numeric: tabular-nums;
}
input.pin::placeholder { letter-spacing: .02em; text-indent: 0; font-size: 1.05rem; }
.join { width: min(100%, 560px); align-self: center; gap: 16px; padding: 22px 24px; border-color: var(--line-2); }
html.login #removedCard { width: min(100%, 560px); align-self: center; }   /* v407: „Nicht mehr am Tisch“ mittig wie die Anmeldung, ohne Chat */
/* Anmelden: nur die Anmeldung – keine Spielerliste, keine Knöpfe oben, keine Leiste am Handy, keine Ansage */
html.login .area-players, html.login .top-tools, html.login .pbar, html.login #annList { display: none !important; }
html.login .grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main"; }
.join-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; align-items: start; }
.join-fields { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.field, .pin-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pin-row { display: flex; gap: 12px; }
.pin-field { flex: 1 1 0; }
.acct-hint { margin: 0; font-weight: 700; font-size: .95rem; color: var(--ink-2); }
/* v243: Altershinweis und Datenschutz unter „Anmelden“ */
.join-legal { margin: 0; color: var(--ink-3); font-size: .85rem; line-height: 1.35; text-align: center; text-wrap: balance; }
.join-legal a { color: var(--gold-hi); }
.acct-hint[data-s="new"] { color: var(--gold-hi); }
.keypad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.key {
  -webkit-appearance: none;
  appearance: none;
  min-height: 66px;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0)), var(--surface-2);
  color: var(--ink);
  font-family: var(--f-num);
  font-weight: 800;
  font-size: 1.75rem;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform .08s ease, background-color .12s ease;
}
.key:active { transform: scale(.94); background: var(--surface-3); }
.key.key-fn { font-family: var(--f-body); font-size: 1.25rem; color: var(--gold-hi); }

/* ===== Du: Guthaben und Einsatz immer im Blick ===== */
.you { gap: 10px; padding: 12px 14px; }
.you-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.you-name { flex: 1 1 auto; min-width: 0; margin: 0; font-family: var(--f-num); font-weight: 800; font-size: 1.3rem; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.you-status { flex: none; display: flex; align-items: center; color: var(--ok); }
.you-status[data-state="warn"] { color: var(--warn); }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.beat { animation: beat .9s ease-out; }
@keyframes beat { 0% { box-shadow: 0 0 0 0 currentColor; } 100% { box-shadow: 0 0 0 10px transparent; } }
.wallet { display: flex; flex-direction: column; gap: 6px; }
.wal {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 6px 14px;
  min-height: 48px;
  border-radius: 14px;
  background: rgba(0, 0, 0, .32);
  border: 1px solid var(--line);
}
.wal-label { font-family: var(--f-deco); font-weight: 700; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.balance, .stake-num { margin-left: auto; font-family: var(--f-num); font-weight: 800; line-height: 1.05; font-variant-numeric: tabular-nums; white-space: nowrap; }
.balance { font-size: 1.9rem; color: var(--gold-hi); }
.stake-num { font-size: 1.6rem; color: var(--ink); }
.wal { flex-wrap: wrap; row-gap: 2px; }                   /* sehr große Beträge: lieber umbrechen als überlaufen */
.wal.long .balance { font-size: 1.5rem; }
.wal.xlong .balance { font-size: 1.2rem; }
.wal.long .stake-num { font-size: 1.3rem; }
.wal.xlong .stake-num { font-size: 1.1rem; }
.wal.xlong .wal-label { letter-spacing: .08em; }
.wal.xlong .wal-free { font-size: .8rem; }
.wal-free { font-size: .9rem; font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.net-badge {
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: var(--ink-2);
  font-weight: 700;
  font-size: .92rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.net-badge[data-s="up"] { background: var(--ok-bg); color: var(--ok); }
.net-badge[data-s="down"] { background: var(--bad-bg); color: var(--bad); }
.confirm { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 14px; background: var(--bad-bg); border: 1px solid rgba(255, 143, 132, .35); }
.confirm p { color: var(--bad); font-weight: 700; }
.confirm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pdot {
  display: inline-block;
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cc, var(--ink-3));
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--cc, var(--ink-3));
}
.pdot.big { width: 18px; height: 18px; }

/* ===== Tisch-Karte: Runde, Filz, Kesselstrecke, Chips ===== */
/* Kopf, Filz (wächst mit der Höhe), Kesselstrecke, Chips */
.board { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; }
.round-head { flex: none; display: flex; align-items: center; gap: 10px 12px; min-width: 0; }
.round-head h2 { font-size: 1.1rem; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
/* v444 (UNBEGRENZT.md §5.1, Vorschau uebergabe/tische-vorschau/): Tischwahl oben rechts – sichtbar die kurze Angabe, darüber unsichtbar die Auswahl des Systems
   (16 px, sonst zoomt iOS beim Antippen) */
.tab-pick { position: relative; margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 14px; border-radius: 999px;
  border: 1.5px solid var(--gold-lo, #8a6a2a); background: rgba(10, 16, 12, .72); color: var(--ink, #f4efe1); font-family: var(--f-body); font-weight: 700; font-size: .82rem;
  line-height: 1.2; white-space: nowrap; cursor: pointer; }
.tab-pick[hidden] { display: none; }
.tab-pick b { color: var(--gold, #e2b14a); font-weight: 800; }
.tab-pick i { font-style: normal; opacity: .75; font-size: .72rem; }
.tab-pick select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; cursor: pointer; }
.tab-pick select:disabled { cursor: default; }
html.tablet #bjReadyBtn[data-lang="1"] { font-size: .9em; letter-spacing: .06em; }   /* „Platz an Tisch 2“ in einer Zeile */
#list .more-row { justify-content: center; color: var(--mute, #a9b3ad); font-size: .9em; padding: 8px 0; min-height: 0; }   /* v444: „+ N weitere“ */
.phase {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--ok-bg);
  border: 1px solid rgba(76, 213, 151, .35);
  color: var(--ok);
  font-size: .95rem;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transition: background-color .2s ease, color .2s ease;
}
.phase[data-p="closed"] { background: var(--bad-bg); border-color: rgba(255, 143, 132, .4); color: var(--bad); }
.phase[data-p="rolling"] { background: var(--warn-bg); border-color: rgba(244, 188, 96, .4); color: var(--warn); }
.result {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 0 auto;
  padding: 4px 14px 4px 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .32);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-weight: 700;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.result:not(:has(.num)) { padding-left: 14px; }
.result[data-s="up"] { color: var(--ok); border-color: rgba(76, 213, 151, .35); }
.result[data-s="down"] { color: var(--bad); border-color: rgba(255, 143, 132, .35); }
.num {
  display: inline-grid;
  place-items: center;
  min-width: 1.9em;
  height: 1.9em;
  padding: 0 .3em;
  border-radius: 999px;
  color: #FFFFFF;
  font-family: var(--f-num);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  vertical-align: middle;
}
.num.red { background: var(--num-red); }
.num.black { background: var(--num-black); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.num.green { background: var(--num-green); }

/* Klassischer Tisch: 0 links, drei Zahlenreihen, Colonnes rechts, darunter Dutzende und einfache Chancen */
.table-wrap { flex: 1 1 0; min-height: 160px; display: flex; align-items: center; container-type: size; }
.table {
  --rowh: min(90px, calc((100cqh - 20px) / 4.74));
  --chip: clamp(28px, calc(var(--lw) * .03), 40px);
  --tline: var(--felt-line);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 12fr) minmax(0, 1fr);
  grid-template-rows: 3fr .84fr .9fr;
  grid-template-areas: "zero nums cols" ". dozens ." ". evens .";
  width: 100%;
  height: 100%;
  max-height: calc(90px * 4.74 + 20px);
  min-width: 0;
  padding: 9px 9px 11px;
  border-radius: 22px;
  background: radial-gradient(ellipse 95% 85% at 50% 28%, var(--felt-hi) 0%, var(--felt) 46%, var(--felt-lo) 100%);
  box-shadow: inset 0 0 0 3px var(--gold), inset 0 0 0 6px rgba(0, 0, 0, .35), inset 0 0 44px rgba(0, 0, 0, .38), 0 14px 30px rgba(0, 0, 0, .45);
}
.t-zero { grid-area: zero; display: grid; }
.t-nums { grid-area: nums; position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); }
.t-cols { grid-area: cols; display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); }
.t-dozens { grid-area: dozens; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.t-evens { grid-area: evens; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tc {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  align-self: stretch;
  justify-self: stretch;
  width: 100%;
  height: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--tline);
  color: #FFFFFF;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.tc .cn { transition: transform .14s ease; }
.tc.num { font-family: var(--f-num); font-size: clamp(1.15rem, calc(var(--lw) * .018), 1.65rem); font-variant-numeric: tabular-nums; text-shadow: 0 1px 2px rgba(0, 0, 0, .45); }
.tc.num.red { background-color: var(--num-red); }
.tc.num.black { background-color: var(--num-black); }
.tc.zero { border-radius: 50% 0 0 50% / 18% 0 0 18%; background-color: var(--num-green); font-size: clamp(1.4rem, calc(var(--lw) * .021), 1.9rem); }
.tc.col { gap: 1px; font-family: var(--f-num); font-size: 1.1rem; color: var(--gold-hi); }
.tc.out { font-size: clamp(.95rem, calc(var(--lw) * .014), 1.2rem); letter-spacing: .02em; }
.tc .sub { font-size: .8rem; font-weight: 700; opacity: .8; }
.t-dozens .tc { padding-top: 14px; }
.diamond { display: inline-block; vertical-align: middle; width: 24px; height: 24px; border-radius: 4px; transform: rotate(45deg); box-shadow: 0 0 0 2px var(--tline); }
.diamond.red { background: var(--num-red); }
.diamond.black { background: var(--num-black); }
.tc:active { background-image: linear-gradient(rgba(255, 255, 255, .22), rgba(255, 255, 255, .22)); }
.tc.hit { box-shadow: inset 0 0 0 1px var(--tline), inset 0 0 0 5px var(--gold); }
.tc.cover { box-shadow: inset 0 0 0 1px var(--tline), inset 0 0 0 4px #FFFFFF; filter: brightness(1.18); }
/* Tippflächen zwischen den Zahlen: auf Linien und Kreuzungen, unsichtbar bis ein Chip darauf liegt */
.spot {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  left: calc(var(--x) * 100% / 12);
  top: calc(var(--y) * 100% / 3);
  width: calc(var(--w) * 100% / 12);
  height: calc(var(--h) * 100% / 3);
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  z-index: 2;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.spot.cross { z-index: 3; }
.spot.cross::before { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .7); box-shadow: 0 0 0 2px rgba(0, 0, 0, .25); }
.spot.has::before, .spot.any::before { display: none; }
.spot:active { background: rgba(255, 255, 255, .38); }
/* Chips am Tisch – in der Farbe des Spielers; die der anderen liegen dahinter, leicht nach oben links versetzt */
.amt, .oamt {
  display: grid;
  place-items: center;
  width: var(--chip);
  height: var(--chip);
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, .85);
  background: radial-gradient(circle, var(--cc, #7A837E) 0 54%, rgba(255, 255, 255, .95) 55% 61%, var(--cc, #7A837E) 62%);
  box-shadow: 0 0 0 1.5px var(--cc, #7A837E), 0 3px 7px rgba(0, 0, 0, .5);
  color: #FFFFFF;
  font-family: var(--f-body);
  font-size: calc(var(--chip) * .34);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.amt.light, .oamt.light { color: #1A1D1C; }
.amt[data-u], .oamt[data-u] { grid-auto-flow: column; justify-content: center; align-content: center; align-items: baseline; }
.amt[data-u]::after, .oamt[data-u]::after { content: attr(data-u); font-size: .62em; margin-left: .5px; }
.amt.long, .oamt.long { font-size: calc(var(--chip) * .29); letter-spacing: -.03em; }
.amt { z-index: 2; }
.ostack { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.oamt { position: absolute; left: 50%; top: 50%; transform: translate(calc(-50% - var(--off, 0px)), calc(-50% - var(--off, 0px))); }
.tc .amt { position: absolute; left: 50%; top: 72%; transform: translate(-50%, -50%); }
.tc .oamt { top: 72%; }
.spot .amt { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.tc.num.has .cn, .tc.col.has .cn, .tc.num.any .cn, .tc.col.any .cn { transform: translateY(calc(var(--rowh) * -.22)); }
.tc.zero .amt, .tc.zero .oamt { top: 62%; }
.tc.zero.has .cn, .tc.zero.any .cn { transform: translateY(calc(var(--rowh) * -.3)); }
.t-dozens .tc .amt { left: auto; right: 6px; top: 50%; transform: translateY(-50%); }
.t-dozens .tc .oamt { left: auto; right: 6px; top: 50%; transform: translate(calc(0px - var(--off, 0px)), calc(-50% - var(--off, 0px))); }
.t-evens .tc .amt, .t-evens .tc .oamt { top: 70%; }
.t-evens .tc.has .cn, .t-evens .tc.any .cn { transform: translateY(calc(var(--rowh) * -.2)); }
.t-evens .tc.has .diamond, .t-evens .tc.any .diamond { width: 16px; height: 16px; }
.tc:disabled, .spot:disabled { cursor: default; }
.board[data-frozen="true"] .table-wrap, .board[data-frozen="true"] .track-bar { opacity: .82; }
.pop { animation: pop .28s ease-out; }
@keyframes pop { 0% { scale: .5; } 70% { scale: 1.06; } 100% { scale: 1; } }

/* Kesselstrecke: Zahlen in der Reihenfolge des Kessels, innen die Ansagen */
.track-bar { flex: none; display: flex; align-items: center; }
.track-wrap { flex: 1 1 auto; min-width: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.track { display: block; width: 100%; height: auto; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .4)); }
.track .rt-bg { stroke: rgba(247, 236, 204, .72); stroke-width: 2; }
.track .rt-bg.red { fill: var(--num-red); }
.track .rt-bg.black { fill: var(--num-black); }
.track .rt-bg.green { fill: var(--num-green); }
.track .rt-zone path, .track .rt-zone rect { fill: var(--felt); stroke: rgba(247, 236, 204, .72); stroke-width: 2; }
.track .rt-zone.zero rect { fill: var(--felt-hi); }
.track text { fill: #FFFFFF; font-family: var(--f-num); font-weight: 800; font-size: 28px; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.track .rt-zone text { font-family: var(--f-deco); font-weight: 700; font-size: 25px; letter-spacing: .12em; fill: var(--gold-hi); }
.track .rt-cell, .track .rt-zone { cursor: pointer; }
.track .rt-cell:active .rt-bg, .track .rt-zone:active path, .track .rt-zone:active rect { filter: brightness(1.45); }
.track .rt-cell.hit .rt-bg { stroke: var(--gold); stroke-width: 7; }
.track.off { opacity: .6; pointer-events: none; }

/* Chipwert: echte Casino-Chips, der gewählte hebt sich golden ab */
.rail { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; }
.chip-bar { display: flex; align-items: center; }
.bj-chip-bar { flex: none; }                                         /* Blackjack: Chips immer in einer Reihe – lieber bricht der Hinweis rechts um */
.bj-chip-bar .chip-row { flex-wrap: nowrap; }
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; padding: 8px 4px 2px; }
.chip {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  width: 60px;
  height: 60px;
  padding: 0;
  border-radius: 50%;
  border: 3px dashed rgba(255, 255, 255, .8);
  background: radial-gradient(circle, var(--c) 0 52%, rgba(255, 255, 255, .92) 53% 58%, var(--c) 59%);
  box-shadow: 0 0 0 2px var(--c), 0 5px 12px rgba(0, 0, 0, .5);
  color: #FFFFFF;
  font-family: var(--f-num);
  font-size: 1.05rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform .2s cubic-bezier(.2, .9, .3, 1.3), opacity .15s ease;
}
/* v272 (Wunsch des Besitzers: „Der Auswahlkreis um den Chip ist unnötig“): kein goldener Ring mehr um den gewählten Chip – er ist nur angehoben */
.chip[aria-pressed="true"] { transform: translateY(-6px); }
.chip:active { transform: scale(.92); }
.chip:disabled { opacity: .3; cursor: default; transform: none; }
.chip.c10 { --c: var(--chip-blue); }
.chip.c50 { --c: var(--num-red); }
.chip.c100 { --c: #1B1F1D; }
.chip.c500 { --c: var(--chip-purple); }
.chip.c1000 { --c: var(--chip-gold); color: #1A1D1C; }
.chip.c5000 { --c: var(--chip-brown); }
.chip small { font-size: .62em; font-weight: 800; margin-left: 1px; }
.board-foot { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; min-width: 0; margin-left: auto; text-align: right; }
.place-info { margin: 0; font-weight: 700; font-size: 1rem; color: var(--gold-hi); }
.save-state { margin: 0; font-weight: 700; font-size: .95rem; color: var(--ink-3); }
.save-state[data-s="ok"] { color: var(--ok); }
.save-state[data-s="bad"] { color: var(--bad); }
.save-state[data-s="lock"] { color: var(--warn); }
.board > #betError { position: absolute; left: 50%; bottom: 96px; z-index: 6; transform: translateX(-50%); max-width: 80%; box-shadow: var(--shadow); background: #3A1714; animation: toastIn .2s ease-out both; }

/* ===== Einsätze, Aktionen und „Bereit“ ===== */
.area-slip { min-height: 0; gap: 10px; padding: 12px 14px; }
.bet-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#slipCard > .bet-tools { grid-template-columns: minmax(0, 1fr); }   /* v409: Roulette nur noch „Verdoppeln“ (kein „Wiederholen“, Rückgängig/Einsatz weg an den Chips) */
.spin-bar { display: flex; flex-direction: column; gap: 8px; }
.ready-done {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 8px 10px 8px 14px;
  border: 2px solid var(--ok);
  border-radius: 18px;
  background: var(--ok-bg);
  color: var(--ok);
  animation: readyIn .3s ease-out both;
}
@keyframes readyIn { from { transform: scale(.96); opacity: .4; } to { transform: none; opacity: 1; } }
.ready-done .btn { margin-left: auto; flex: none; min-height: 50px; }
.ready-check { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ok); color: var(--ok-ink); font-size: 1.35rem; font-weight: 800; }
.ready-text { display: flex; flex-direction: column; min-width: 0; }
.ready-title { font-family: var(--f-deco); font-weight: 700; font-size: 1.2rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.1; }
.ready-sub { font-weight: 700; font-size: .95rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ready-sum { margin: 0; text-align: center; font-weight: 700; font-size: 1rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ready-sum:empty { display: none; }
.ready-sum[data-all="true"] { color: var(--ok); }
.warnline#betNote { background: #2A2110; }

/* ===== Spielerliste ===== */
.players {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.players-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.players-head h2 { margin: 0; font-family: var(--f-deco); font-weight: 700; font-size: .95rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.count { font-size: .95rem; font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.row {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 10px;
  min-height: 62px;
  padding: 8px 10px 8px 12px;
  background: var(--surface-2);
  border: 1px solid transparent;
  border-radius: 14px;
  transition: box-shadow .25s ease, background-color .25s ease;
}
.row.me { border-color: var(--line-2); }
.row.ready { box-shadow: inset 4px 0 0 var(--ok); }
.row.warn { background: #2A2110; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--cc, var(--surface-3)); color: #FFFFFF; font-family: var(--f-num); font-weight: 800; font-size: 1.1rem; box-shadow: 0 0 0 2px rgba(255, 255, 255, .12); }
.avatar.light { color: #1A1D1C; }
.who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.line1 { display: flex; align-items: center; gap: 6px 8px; min-width: 0; }
.row > .ready-badge { justify-self: end; }
/* v456 „Im Casino“: der Name bleibt bis etwa elf Zeichen ganz (längere mit …), ein langer Ort („schaut Höher oder Tiefer zu“) bricht nur um, wenn es sonst eng wird –
   ausgeglichen auf zwei Zeilen. Kurze Namen und kurze Orte stehen wie bisher in einer Zeile */
.list.casino > .row { grid-template-columns: auto minmax(min-content, 1fr) auto; }
.list.casino > .row .pname { flex: none; max-width: 6.5em; }
.list.casino > .row > .ready-badge { white-space: normal; text-align: center; line-height: 1.15; text-wrap: balance; }
.pname { font-size: 1.1rem; font-weight: 700; line-height: 1.2; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip-tag { flex: none; padding: 1px 8px; border-radius: 999px; background: rgba(217, 180, 94, .18); color: var(--gold-hi); font-size: .78rem; font-weight: 700; }
.line2 { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 6px; color: var(--ink-2); font-size: .86rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.line2 .bal { color: var(--gold-hi); }
.stake-badge { padding: 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--ink); }
.detail { color: var(--warn); font-size: .9rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.ready-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--ink-3);
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.ready-badge[data-s="yes"] { background: var(--ok); border-color: transparent; color: var(--ok-ink); }
.pill { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-size: .88rem; font-weight: 700; white-space: nowrap; }
.row:not(.warn) .stext { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.row.warn .pill { padding: 2px 8px; border-radius: 999px; background: var(--warn-bg); color: var(--warn); }
.sdot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.bar { position: absolute; left: 12px; right: 12px; bottom: 5px; height: 4px; border-radius: 2px; background: rgba(244, 188, 96, .2); overflow: hidden; }
.bar-fill { display: block; height: 100%; width: 100%; background: var(--warn); transition: width 1s linear; }
.warnline#tamperNote { box-shadow: none; animation: none; }

/* Admin: Kontenliste und Schnellwahl */
.grant-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.grant-presets .btn { flex: 1 1 0; }

/* ===== Hochformat: bitte drehen ===== */
.rotate { display: none; }
@media (orientation: landscape) {
  html.phone .rotate { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; padding: 24px; background: radial-gradient(ellipse 90% 70% at 50% 40%, var(--ground-2), var(--ground) 75%); text-align: center; }
  html.phone .rotate-ico { width: 124px; height: 84px; border: 4px solid var(--gold); border-radius: 16px; box-shadow: inset 0 0 0 6px rgba(217, 180, 94, .12); animation: turn 2.6s ease-in-out infinite; }
  html.phone .rotate p { margin: 0; font-family: var(--f-deco); font-weight: 700; font-size: 1.35rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
}
@media (orientation: portrait) and (any-pointer: coarse) {
  html.tablet .rotate {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    padding: 24px;
    background: radial-gradient(ellipse 90% 70% at 50% 40%, var(--ground-2), var(--ground) 75%);
    text-align: center;
  }
  html.tablet .rotate-ico { width: 84px; height: 124px; border: 4px solid var(--gold); border-radius: 16px; box-shadow: inset 0 0 0 6px rgba(217, 180, 94, .12); animation: turn 2.6s ease-in-out infinite; }
  html.tablet .rotate p { margin: 0; font-family: var(--f-deco); font-weight: 700; font-size: 1.35rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
}
@keyframes turn { 0%, 25% { transform: rotate(0deg); } 60%, 100% { transform: rotate(-90deg); } }

/* ===== Tisch: Unterzeile (1–18, 19–36) weicht dem Chip ===== */
.t-evens .tc .sub { font-size: .75rem; }
.t-evens .tc.has .sub, .t-evens .tc.any .sub { display: none; }
/* Colonnes: „1ère“ groß, darunter „Colonne“ – die Unterzeile weicht dem Chip */
.tc.col .cn { font-size: 1.15rem; line-height: 1; }
.tc.col .sub { font-family: var(--f-body); font-size: .72rem; font-weight: 700; letter-spacing: 0; opacity: .9; }
.tc.col.has .sub, .tc.col.any .sub { display: none; }

/* ===== Statistik zur Historie: wie oft kam was – in Prozent, mit Strich für den Erwartungswert ===== */
.hist:active { background: rgba(217, 180, 94, .12); }
.hist.on { border-color: var(--gold); }
.stats { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.stats-head { display: flex; align-items: center; gap: 10px; }
.stats-head h2 { margin: 0; font-family: var(--f-deco); font-weight: 700; font-size: .95rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.stats-head .count { margin-right: auto; }
.stats-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.stats.modal {
  position: fixed;
  z-index: 60;
  left: 50%;
  top: calc(50% + var(--fst) / 2);
  width: min(780px, calc(100% - 64px));
  max-height: calc(100% - 64px - var(--fst));
  margin: 0;
  padding: 18px 22px;
  overflow-y: auto;
  transform: translate(-50%, -50%);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .65);
  animation: statsIn .2s ease-out both;
}
@keyframes statsIn { from { opacity: 0; } to { opacity: 1; } }
.stats.modal .stats-body { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 26px; }
.stats-back { position: fixed; inset: 0; z-index: 59; background: rgba(0, 0, 0, .55); }
.st-group { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.st-title { margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.st-row { display: grid; grid-template-columns: 112px minmax(0, 1fr) 84px; align-items: center; gap: 10px; min-height: 26px; }
.st-name { font-weight: 700; font-size: .95rem; color: var(--ink); white-space: nowrap; }
.st-bar { position: relative; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .07); }
.st-fill { position: absolute; left: 0; top: 0; bottom: 0; min-width: 2px; border-radius: 5px; background: var(--gold); transition: width .4s ease; }
.st-row[data-k="red"] .st-fill { background: var(--num-red); }
.st-row[data-k="black"] .st-fill { background: #1B1F1D; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.st-row[data-k="zero"] .st-fill { background: var(--num-green); }
.st-exp, .st-tick { width: 2px; border-radius: 1px; background: var(--ink-2); }
.st-exp { position: absolute; top: -4px; bottom: -4px; margin-left: -1px; opacity: .7; }
.st-val { text-align: right; font-family: var(--f-num); font-weight: 800; font-size: 1rem; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.st-val small { margin-left: 4px; font-family: var(--f-body); font-weight: 700; font-size: .8rem; color: var(--ink-3); }
.st-nums { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.st-num { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.st-num .num { min-width: 1.9em; height: 1.9em; font-size: .9rem; }
.st-note { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .8rem; color: var(--ink-3); }
.st-tick { display: inline-block; height: 14px; opacity: .7; }

/* ===== Hinweis beim Betreten: auf die Zahlen tippen für die Statistik ===== */

/* ===== Zuschauer: Statistik als breite Tafel unter dem Tisch (statt der Kesselstrecke) ===== */
.board.watch .track-bar { display: none; }
.stats-slot:empty { display: none; }
.stats-slot { flex: none; }
.stats.wide { margin: 0; padding: 12px 16px 12px; border: 1px solid var(--line); border-radius: 16px; background: rgba(0, 0, 0, .3); gap: 10px; }
.stats.wide .stats-body { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 24px; }
.stats.wide .st-note { display: none; }
.st-empty { margin: 0; color: var(--ink-3); font-weight: 700; }
.sw-group { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.sw-labels { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.sw-lab { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.sw-lab:not(:first-child):not(:last-child) { align-items: center; text-align: center; }
.sw-lab:last-child:not(:first-child) { align-items: flex-end; text-align: right; }
.sw-lab small { font-size: .78rem; font-weight: 700; color: var(--ink-3); white-space: nowrap; }
.sw-lab b { font-family: var(--f-num); font-weight: 800; font-size: 1.2rem; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sw-bar { display: flex; gap: 2px; height: 14px; border-radius: 7px; overflow: hidden; background: rgba(255, 255, 255, .06); }
.sw-seg { flex: none; height: 100%; background: var(--gold); }
.sw-seg[data-k="red"] { background: var(--num-red); }
.sw-seg[data-k="black"] { background: #1B1F1D; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.sw-seg[data-k="zero"] { background: var(--num-green); }
.sw-seg[data-k="odd"], .sw-seg[data-k="high"], .sw-seg[data-k="d2"], .sw-seg[data-k="c2"] { background: #F1DDA4; }
.sw-seg[data-k="d3"], .sw-seg[data-k="c3"] { background: #A67D2E; }
.sw-nums { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.sw-nums .st-num { font-size: .85rem; }
.sw-nums .num { min-width: 1.7em; height: 1.7em; font-size: .85rem; }

/* ===== Bühne: das ganze Spiel hat eine feste Grundgröße (mind. 1180 × 720) und wird passend auf den Bildschirm
   skaliert – auf dem kleinen iPad kleiner, auf dem großen und am Fernseher größer, es passt immer alles ===== */
:root { --s: 1; --lw: 100vw; --lh: 100vh; --fst: 0px; --fsb: 0px; }
.app {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--lw);
  height: var(--lh);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-block: calc(10px + var(--fst)) calc(12px + var(--fsb));
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
  transform: translateY(var(--vvy, 0px)) scale(var(--s));            /* --vvy: Handy-Anmeldung beim Tippen (js/start.js) */
  transform-origin: 0 0;
  background: radial-gradient(ellipse 90% 75% at 50% 30%, var(--ground-2) 0%, var(--ground) 72%), var(--ground);
}

/* ===== Vollbild ist im Spiel Pflicht: ohne Vollbild nur dieser Bildschirm ===== */
.fs-gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px;
  text-align: center;
  background: radial-gradient(ellipse 80% 70% at 50% 40%, var(--ground-2), var(--ground) 75%), var(--ground);
  animation: toastIn .25s ease-out both;
}
.fs-gate .wheel { width: 96px; height: 96px; box-shadow: 0 0 0 4px var(--gold), 0 0 0 11px rgba(217, 180, 94, .16), 0 12px 32px rgba(0, 0, 0, .6); }
.fs-gate .btn { width: min(460px, 80%); }
.fs-gate-note { margin: 0; color: var(--ink-2); font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .bj-felt.collect .bj-spot .amt, .bj-felt.sweep .pc, .bj-hand-box.nat .bj-burst { opacity: 0; }
  .bj-felt.pay .bj-spot .bj-pay { opacity: 1; transform: translate(16px, -12px); }
}

/* ===== Kessel-Liste: kleine Marken, worauf jeder gesetzt hat; ab dem Liegen der Kugel sofort Gewinn/Verlust ===== */
.kv-who { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.kv-nline { display: flex; align-items: center; gap: 6px; min-width: 0; }
.kv-nline .kv-name { flex: 0 1 auto; }
.kv-crown { flex: none; width: 18px; height: 18px; fill: #e0bc62; }
.kv-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.kv-tag {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 24px; height: 22px; padding: 0 7px; border-radius: 11px;
  background: rgba(255, 255, 255, .13); color: #fff;
  font-size: .74rem; font-weight: 800; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums;
  transition: opacity .25s ease;
}
.kv-tag.n { width: 22px; min-width: 22px; padding: 0; border-radius: 50%; font-family: var(--f-num); }
.kv-tag.n.red { background: #b8211c; }
.kv-tag.n.black { background: #1c1c1e; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.kv-tag.n.green { background: #13843f; }
.kv-tag .dia { display: block; width: 9px; height: 9px; border-radius: 1px; transform: rotate(45deg); }
.kv-tag .dia.red { background: #e0352d; }
.kv-tag .dia.black { background: #0b0b0c; box-shadow: 0 0 0 1px rgba(255, 255, 255, .6); }
.kv-tag.more { min-width: 0; padding: 0 2px; background: transparent; color: #bfe0cc; }
.kv-tags.done .kv-tag { opacity: .38; }
.kv-tags.done .kv-tag.win, .kv-tags.done .kv-tag.more { opacity: 1; }
.kv-tags.done .kv-tag.win { box-shadow: 0 0 0 2px #e0bc62; }
.kv-row[data-s="up"] { background: rgba(134, 239, 172, .14); }
.kv-row[data-s="down"] { background: rgba(252, 165, 165, .1); }
.kv-row.me[data-s="up"] { background: rgba(134, 239, 172, .22); }
.kv-row.me[data-s="down"] { background: rgba(252, 165, 165, .16); }
.kv-row[data-s="up"] .kv-net, .kv-row[data-s="down"] .kv-net { font-size: 1.35rem; }

/* ===== Chips ziehen: schwebender Chip über dem Finger, Zielfeld leuchtet ===== */
#chipPick .chip, #bjChips .chip { touch-action: none; }
.chip.drag-ghost { position: fixed; z-index: 70; margin: 0; pointer-events: none; transition: none; transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 0 0 2px var(--c), 0 16px 30px rgba(0, 0, 0, .6); }
#fieldPanel .tc.drop { box-shadow: inset 0 0 0 1px var(--tline), inset 0 0 0 5px #FFFFFF; filter: brightness(1.25); }
#fieldPanel .spot.drop { background: rgba(255, 255, 255, .5); }
.track .rt-cell.near .rt-bg { stroke: #FFFFFF; stroke-width: 4; filter: brightness(1.25); }
.track .rt-cell.drop .rt-bg { stroke: #FFFFFF; stroke-width: 7; filter: brightness(1.4); }
.track .rt-zone.drop path, .track .rt-zone.drop rect { stroke: #FFFFFF; stroke-width: 5; filter: brightness(1.45); }
body.dragging { -webkit-user-select: none; user-select: none; }

/* ===== Admin: Konto löschen (mit Rückfrage) ===== */
.admin-whorow { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.admin-whorow .admin-who { flex: 1 1 auto; min-width: 0; }
.admin-whorow .btn { flex: 1 1 0; min-width: 0; padding-inline: 8px; white-space: nowrap; }   /* v329 (Wunsch des Besitzers vom 9.11.2026: „Mach die button auf einer höhe in reihe, konto löschen als letzten der drei“): gleich breit in einer Reihe */
.btn.del { color: #fca5a5; border-color: rgba(252, 165, 165, .45); }
.btn.del-yes { background: #b8211c; color: #fff; border: none; }

/* ===== Listen scrollen für sich, ohne die Seite mitzuziehen ===== */
.kv-panel, .stats.modal { overscroll-behavior: contain; }

/* ===== Vollbild auf dem iPad: oben links liegt Safaris Schließen-Knopf – Marke daneben ===== */
html:fullscreen .brand { margin-left: 96px; }
html:-webkit-full-screen .brand { margin-left: 96px; }
/* Am Handy (Android, am Tisch Pflicht) gibt es den Knopf nicht: Logo bleibt links – eingerückt lag es über der Guthaben-Pille (bis v405). Je Regel eine Schreibweise. */
html.phone:fullscreen .brand { margin-left: 0; }
html.phone:-webkit-full-screen .brand { margin-left: 0; }

/* ===== Admin: Guthaben jedes Kontos festlegen ===== */
.admin { width: min(100%, 980px); align-self: center; gap: 14px; padding: 18px 20px; border-color: var(--line-2); }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 310px); gap: 20px; align-items: start; }
.grant-left { display: flex; flex-direction: column; gap: 10px; min-width: 0; }   /* v328: Auswahl, Name und Knöpfe links, Betrag rechts */
.admin-set { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.admin-who { margin: 0; font-weight: 700; font-size: 1.05rem; color: var(--ink-2); }
.admin-who b { color: var(--gold-hi); }
#grantAmount { text-align: right; font-family: var(--f-num); font-weight: 800; font-size: 1.7rem; caret-color: transparent; }
.admin .keypad .key { min-height: 58px; }

/* ===== Zuschauer: nur Tisch, Spieler und Kessel – ohne Chips und Knöpfe ===== */
.board.watch .rail, .board.watch #betError { display: none !important; }
.board.watch .track.off { opacity: 1; }
.grid.watching > .area-main { justify-content: flex-start; padding-top: 0; }
.grid.watching > .area-main > .board { flex: 1 1 auto; min-height: 0; }

/* ===== Kessel: Spin und Ergebnis über dem Tisch ===== */
.kv-ov {
  position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center; gap: clamp(16px, calc(var(--lw) * .03), 44px);
  padding: max(12px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  /* v210/v211 am Handy, seit v277 überall (Bild des Besitzers vom iPad: „da ist unten so ein schwarzer Balken“): iOS lässt die Home-Bildschirm-App manchmal über dem
     unteren Bildschirmrand enden und malt darunter die Grundfarbe der Seite (--ground, in beiden Bildern genau #050E0A gemessen – am iPad 32 Punkte; iOS malt diesen
     Streifen nicht neu). Darum läuft der Hintergrund des Kessels unten sanft in genau diese Farbe aus */
  background:
    linear-gradient(180deg, rgba(5, 14, 10, 0) 74%, var(--ground) 100%),
    radial-gradient(ellipse 60% 75% at 34% 50%, rgba(255, 244, 214, .10), rgba(255, 244, 214, 0) 70%),
    radial-gradient(ellipse 90% 90% at 40% 50%, #136240 0%, #0b3b27 52%, #04160e 100%);
  color: #fff;
  overflow: hidden;
  touch-action: none;
  -webkit-user-select: none; user-select: none;
  animation: kvIn .35s ease-out both;
}
@keyframes kvIn { from { opacity: 0; } to { opacity: 1; } }
.kv-box { --kvs: min(calc(var(--lh) * .86), calc(var(--lw) * .6)); position: relative; flex: none; width: var(--kvs); height: var(--kvs); }

.kv-box canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; }
.kv-box::before {
  content: ""; position: absolute; left: .75%; top: .75%; right: .75%; bottom: .75%;
  border-radius: 50%; pointer-events: none;
  box-shadow: 0 calc(var(--kvs) * .015) calc(var(--kvs) * .04) rgba(0, 0, 0, .6);
}
.kv-rotor { will-change: transform; }
.kv-panel {
  flex: 0 1 390px; min-width: 250px; max-height: 100%;
  display: flex; flex-direction: column; gap: 14px;
  padding: 22px 22px 18px;
  border-radius: 26px;
  background: rgba(3, 20, 12, .55);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  overflow-y: auto; touch-action: pan-y;
}
.kv-round { margin: 0; font-family: var(--f-deco); font-size: .95rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.kv-state { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, calc(var(--lw) * .027), 2.3rem); line-height: 1.08; color: #f6e3a8; }
.kv-big { display: flex; align-items: center; gap: 18px; }
.kv-num {
  flex: none; width: 108px; height: 108px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 800; font-size: 3.5rem; line-height: 1; font-variant-numeric: tabular-nums;
  color: #fff; background: #1c1c1e;
  box-shadow: 0 0 0 4px #e0bc62, 0 0 0 9px rgba(224, 188, 98, .22), 0 14px 34px rgba(0, 0, 0, .5), inset 0 -10px 18px rgba(0, 0, 0, .35), inset 0 8px 14px rgba(255, 255, 255, .14);
  animation: kvPop .55s cubic-bezier(.2, 1.5, .4, 1) both;
}
.kv-num[data-c="red"] { background: #b8211c; }
.kv-num[data-c="green"] { background: #13843f; }
@keyframes kvPop { from { transform: scale(.35); opacity: 0; } to { transform: none; opacity: 1; } }
.kv-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kv-col { font-family: var(--f-display); font-weight: 800; font-size: 2rem; line-height: 1.05; }
.kv-sub { font-size: .98rem; color: #bfe0cc; }
.kv-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.kv-row { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); }
.kv-row.me { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(246, 227, 168, .5); }
.kv-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--cc, #8a8f98); box-shadow: 0 0 0 2px rgba(255, 255, 255, .22); }
.kv-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; font-size: 1.05rem; }
.kv-val { flex: none; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.kv-net { font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.kv-row[data-s="up"] .kv-net { color: #86efac; }
.kv-row[data-s="down"] .kv-net { color: #fca5a5; }
.kv-bal { font-size: .85rem; color: #bfe0cc; font-variant-numeric: tabular-nums; }
.kv-hint { margin: 0; font-size: 1rem; color: #d9eadf; }
.btn.kv-close { flex: none; min-height: 56px; background: linear-gradient(#f6de98, #d8b156); color: #231804; border: none; box-shadow: 0 8px 22px rgba(0, 0, 0, .35); }
.btn.kv-close:active { transform: scale(.98); }
.kv-bar { flex: none; height: 4px; border-radius: 2px; background: #f6e3a8; opacity: .7; transform-origin: left center; }

/* ===== Spielauswahl nach dem Anmelden ===== */
.lobby { width: min(100%, 900px); align-self: center; gap: 18px; padding: 22px 24px; border-color: var(--line-2); }
.lobby-head { display: flex; align-items: center; gap: 14px; }
.lobby-hello { flex: 1 1 auto; min-width: 0; margin: 0; font-family: var(--f-num); font-weight: 800; font-size: 1.5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .lobby-bal { display: flex; align-items: center; gap: 12px; margin: 0; padding: 6px 14px; min-height: 48px; border-radius: 14px; background: rgba(0, 0, 0, .32); border: 1px solid var(--line); }
.lobby-bal .balance { font-size: 1.5rem; }
.lobby-games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.game-tile {
  -webkit-appearance: none;
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 340px;
  padding: 22px 18px 20px;
  border: 0;
  border-radius: 22px;
  background: radial-gradient(ellipse 95% 85% at 50% 28%, var(--felt-hi) 0%, var(--felt) 46%, var(--felt-lo) 100%);
  box-shadow: inset 0 0 0 3px var(--gold), inset 0 0 0 6px rgba(0, 0, 0, .35), inset 0 0 44px rgba(0, 0, 0, .38), 0 14px 30px rgba(0, 0, 0, .45);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform .12s ease, filter .15s ease;
}
.game-tile:active { transform: scale(.98); filter: brightness(1.08); }
.game-tile:disabled { opacity: .55; cursor: default; transform: none; }
.game-tile:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.gt-art { display: grid; place-items: center; height: 170px; }
.gt-name { font-family: var(--f-deco); font-weight: 700; font-size: 1.75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); text-shadow: 0 2px 4px rgba(0, 0, 0, .5); }
.gt-sub { font-weight: 700; font-size: 1rem; color: var(--ink-2); text-align: center; text-wrap: balance; }
.gt-count { margin-top: auto; padding: 5px 14px; border-radius: 999px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line-2); font-weight: 700; font-size: .95rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.gt-count[data-live="true"] { color: var(--ok); border-color: rgba(76, 213, 151, .45); }
.game-tile[hidden] { display: none; }

/* ===== Spielkarten ===== */
.pc {
  --cw: 54px;
  position: relative;
  display: block;
  flex: none;
  width: var(--cw);
  height: calc(var(--cw) * 1.4);
  border-radius: calc(var(--cw) * .11);
  background: linear-gradient(160deg, #FFFDF6, #EFE9D8);
  box-shadow: 0 3px 8px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(0, 0, 0, .14);
  color: #17191A;
  font-family: var(--f-num);
  font-weight: 800;
  line-height: 1;
}
.pc.red { color: #BE261E; }
.pc-r { position: absolute; left: 9%; top: 6%; font-size: calc(var(--cw) * .34); letter-spacing: -.04em; }
.pc-s { position: absolute; left: 10%; top: 33%; font-size: calc(var(--cw) * .26); }
.pc-c { position: absolute; right: 9%; bottom: 7%; font-size: calc(var(--cw) * .6); }
/* Rückseite (beim Austeilen sichtbar, bis sich die Karte umdreht) */
.pc::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(45deg, #9E2222 0 3px, #7A1616 3px 6px); box-shadow: inset 0 0 0 3px #F4EEDD; opacity: 0; pointer-events: none; }
.pc.deal { animation: dealIn .95s cubic-bezier(.22, .7, .2, 1) both; }
.pc.deal::after { animation: backOff .95s linear both; animation-delay: inherit; }
@keyframes dealIn {
  0% { opacity: 0; transform: translate(var(--fx, 0px), var(--fy, -90px)) rotate(-24deg) scale(.75); }
  8% { opacity: 1; }
  62% { transform: translate(0, 0) rotate(0deg) scale(1.04); }
  78% { transform: scale(.04, 1.04); }
  100% { opacity: 1; transform: none; }
}
@keyframes backOff { 0%, 77% { opacity: 1; } 79%, 100% { opacity: 0; } }

/* ===== Blackjack-Tisch: Dealer oben, Plätze entlang des Bogens ===== */
.bj-felt {
  position: relative;
  flex: 1 1 0;
  min-height: 300px;
  border-radius: 26px 26px 50% 50% / 26px 26px 30% 30%;
  background: radial-gradient(ellipse 90% 80% at 50% 18%, var(--felt-hi) 0%, var(--felt) 50%, var(--felt-lo) 100%);
  box-shadow: inset 0 0 0 3px var(--gold), inset 0 0 0 6px rgba(0, 0, 0, .35), inset 0 0 50px rgba(0, 0, 0, .4), 0 14px 30px rgba(0, 0, 0, .45);
  overflow: hidden;
}
.bj-arc { position: absolute; left: 10%; top: 25%; width: 80%; height: auto; overflow: visible; pointer-events: none; }
.bj-arc-big { font-family: var(--f-deco); font-weight: 700; font-size: 25px; letter-spacing: .22em; fill: var(--gold); text-transform: uppercase; }
.bj-arc-small { font-family: var(--f-body); font-weight: 700; font-size: 18px; letter-spacing: .08em; fill: rgba(247, 236, 204, .72); }
.bj-dealer { position: absolute; left: 50%; top: calc(4% + 18px); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bj-label { font-family: var(--f-deco); font-weight: 700; font-size: .78rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.bj-hand { display: flex; align-items: flex-end; min-height: calc(var(--cw, 54px) * 1.4); }
.bj-hand .pc + .pc { margin-left: calc(var(--cw) * -.56); }
.bj-val { min-width: 34px; padding: 3px 9px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #FFFFFF; font-family: var(--f-num); font-weight: 800; font-size: .95rem; text-align: center; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bj-val[data-s="bust"] { background: var(--bad); color: #2A0907; }
.bj-val[data-s="bj"] { background: var(--gold); color: var(--gold-ink); }
.bj-val[data-s="up"] { background: var(--ok); color: var(--ok-ink); }
.bj-val[data-s="down"] { background: var(--bad); color: #2A0907; }
.bj-val[data-s="zero"] { background: rgba(247, 236, 204, .85); color: #17191A; }
.bj-val { transform: translateZ(0); -webkit-backface-visibility: hidden; backface-visibility: hidden; }   /* v225: eigene Ebene – Safari schnitt die Kapsel sonst manchmal eckig ab */
.bj-seats { position: absolute; inset: 0; pointer-events: none; }
/* Kartengröße je Bereich: die Hand (und ihre Mindesthöhe) richtet sich nach denselben Karten */
.bj-seats { --cw: 46px; }
.bj-dealer { --cw: 54px; }
.bj-seats .pc, .bj-dealer .pc { --cw: inherit; }
.bj-seat { position: absolute; width: 0; height: 0; }
.bj-seat.split { --cw: 38px; }
.bj-seat.split3 { --cw: 30px; }
.bj-seat.split3 .bj-hands { gap: 4px; }
.bj-spot { position: absolute; left: 0; top: 0; width: 58px; height: 58px; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--felt-line); background: rgba(0, 0, 0, .12); }
.bj-spot .amt { --chip: 42px; }
.bj-seat.turn .bj-spot { border-color: var(--gold-hi); box-shadow: 0 0 0 4px rgba(246, 223, 156, .3), 0 0 24px rgba(246, 223, 156, .55); }
/* v138: Haken als Linien-Symbol (wie .ico) statt Schriftzeichen */
.bj-seat.ready .bj-spot::after { content: ""; position: absolute; right: -9px; top: -9px; width: 24px; height: 24px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2303170C' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.3 4.3L19 7.2'/%3E%3C/svg%3E") center / 15px 15px no-repeat; }
.bj-name { position: absolute; left: 0; top: 36px; transform: translateX(-50%); max-width: 112px; padding: 3px 10px; border-radius: 999px; background: rgba(0, 0, 0, .5); font-weight: 700; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bj-seat.me .bj-name { background: var(--gold); color: var(--gold-ink); }
.bj-timer { position: absolute; left: 0; top: 66px; width: 80px; height: 4px; transform: translateX(-50%); border-radius: 2px; background: rgba(0, 0, 0, .45); overflow: hidden; }
.bj-timer i { display: block; height: 100%; background: var(--gold-hi); transition: width 1s linear; }
.bj-hands { position: absolute; left: 0; bottom: 38px; transform: translateX(-50%); display: flex; gap: 8px; align-items: flex-end; }
.bj-hand-box { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.bj-hand-box.active .pc { box-shadow: 0 0 0 2px var(--gold-hi), 0 3px 8px rgba(0, 0, 0, .45); }

/* ===== Blackjack: Einsatz, „Bereit“ und Züge in der rechten Spalte ===== */
.bj-betting, .bj-playing { display: flex; flex-direction: column; gap: 10px; }
.bj-tools { grid-template-columns: minmax(0, 1fr); }                  /* v408: nur noch „Aufstehen“ (Rückgängig/Einsatz weg an den Chips, kein „Wie zuletzt“) */
.bj-tools .btn { font-size: .95rem; padding: 6px 8px; }
.card .bj-hint { margin: 0; text-align: center; font-weight: 700; font-size: .95rem; color: var(--ink-2); }
.card .bj-turn { margin: 0; text-align: center; font-family: var(--f-deco); font-weight: 700; font-size: 1.2rem; letter-spacing: .1em; color: var(--gold-hi); }
.bj-turn small { display: block; margin-top: 6px; font-family: var(--f-body); font-size: .95rem; letter-spacing: 0; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.bj-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bj-act { min-height: 66px; font-size: 1.2rem; }
.bj-clock { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bj-clock span { display: block; height: 100%; background: var(--gold); transition: width 1s linear; }
.bj-clock[data-warn="true"] span { background: var(--warn); }

/* ===== Blackjack: Ausstattung des Tisches – Chip-Ablage des Dealers, Kartenschlitten, Ablage, Einsatzfelder ===== */
.bj-back { display: block; width: 44px; height: 62px; border-radius: 5px; background: repeating-linear-gradient(45deg, #9E2222 0 3px, #7A1616 3px 6px); box-shadow: inset 0 0 0 3px #F4EEDD, inset 0 0 0 4px rgba(0, 0, 0, .25), 0 2px 6px rgba(0, 0, 0, .5); }
.bj-rack { position: absolute; left: 50%; top: 0; transform: translateX(-50%); display: flex; gap: 3px; padding: 3px 10px 6px; border-radius: 0 0 14px 14px; background: linear-gradient(#22180F, #0F0A06); box-shadow: inset 0 -2px 0 rgba(217, 180, 94, .7), 0 4px 10px rgba(0, 0, 0, .45); pointer-events: none; }
.bj-rack i { width: 20px; height: 14px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--c) 0 2px, rgba(0, 0, 0, .35) 2px 3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.bj-rack i:nth-child(1) { --c: var(--chip-brown); }
.bj-rack i:nth-child(2) { --c: var(--chip-gold); }
.bj-rack i:nth-child(3) { --c: var(--chip-purple); }
.bj-rack i:nth-child(4) { --c: #3A403C; }
.bj-rack i:nth-child(5), .bj-rack i:nth-child(8) { --c: var(--num-red); }
.bj-rack i:nth-child(6), .bj-rack i:nth-child(7) { --c: var(--chip-blue); }
.bj-shoe { position: absolute; right: 5%; top: 5%; width: 76px; height: 56px; border-radius: 8px 8px 16px 8px; background: linear-gradient(160deg, #3A2616, #150D07); box-shadow: inset 0 0 0 2px rgba(217, 180, 94, .6), 0 6px 14px rgba(0, 0, 0, .5); transform: rotate(-8deg); pointer-events: none; }
.bj-shoe .bj-back { position: absolute; left: -16px; top: -3px; transform: rotate(-14deg) scale(.9); }
.bj-discard { position: absolute; left: 5%; top: 6%; width: 44px; height: 62px; pointer-events: none; }
.bj-deco { position: absolute; inset: 0; pointer-events: none; }
.bj-deco span { position: absolute; width: 58px; height: 58px; transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid rgba(247, 236, 204, .16); }
.bj-arc-line { stroke: var(--gold); stroke-width: 2; opacity: .45; }

/* ===== Blackjack: Bewegung – Chips, wer dran ist, Blackjack, überkauft, Auszahlen und Abräumen ===== */
.bj-spot .amt.pop { animation: chipPop .38s cubic-bezier(.2, 1.3, .4, 1) both; }
@keyframes chipPop { from { opacity: 0; transform: translateY(46px) scale(.5); } to { opacity: 1; transform: none; } }
.bj-seat.turn .bj-spot { animation: turnPulse 1.3s ease-in-out infinite; }
@keyframes turnPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(246, 223, 156, .3), 0 0 18px rgba(246, 223, 156, .45); }
  50% { box-shadow: 0 0 0 8px rgba(246, 223, 156, .15), 0 0 36px rgba(246, 223, 156, .85); }
}
.bj-felt.drop .bj-seat.me .bj-spot { border-color: var(--gold-hi); background: rgba(246, 223, 156, .2); transform: translate(-50%, -50%) scale(1.18); transition: transform .15s ease; }
.bj-burst { display: none; position: absolute; left: 50%; bottom: 100%; padding: 4px 12px; border-radius: 999px; background: linear-gradient(135deg, #FFE9A8, var(--gold)); color: var(--gold-ink); font-family: var(--f-deco); font-weight: 700; font-size: .95rem; letter-spacing: .08em; white-space: nowrap; box-shadow: 0 0 24px rgba(246, 223, 156, .8); pointer-events: none; z-index: 3; }
.bj-hand-box.nat .bj-burst { display: block; animation: burst 2.2s ease-out both; }
@keyframes burst {
  0% { opacity: 0; transform: translate(-50%, 10px) scale(.4); }
  15% { opacity: 1; transform: translate(-50%, -6px) scale(1.15); }
  30% { transform: translate(-50%, -4px) scale(1); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -20px); }
}
.bj-hand-box.bust .bj-hand, .bj-dealer.bust .bj-hand { opacity: .55; filter: saturate(.4); animation: bustShake .45s ease-in-out; }
@keyframes bustShake { 0%, 100% { transform: none; } 20% { transform: translateX(-6px) rotate(-2deg); } 40% { transform: translateX(5px) rotate(2deg); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
.bj-seat[data-r="win"] .bj-spot, .bj-seat[data-r="bj"] .bj-spot { border-color: var(--ok); box-shadow: 0 0 0 4px rgba(76, 213, 151, .25), 0 0 26px rgba(76, 213, 151, .55); }
.bj-seat[data-r="lose"] .bj-hand { opacity: .6; transition: opacity .4s; }
.bj-spot .bj-pay { position: absolute; left: 50%; top: 50%; margin: calc(var(--chip) / -2) 0 0 calc(var(--chip) / -2); opacity: 0; }
.bj-felt.pay .bj-spot .bj-pay { animation: payIn .55s cubic-bezier(.3, .8, .3, 1) forwards; }
@keyframes payIn { from { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.6); } to { opacity: 1; transform: translate(16px, -12px); } }
.bj-felt.collect .bj-seat[data-r="lose"] .bj-spot .amt { animation: toDealer .6s ease-in forwards; }
.bj-felt.collect .bj-seat[data-r="win"] .bj-spot .amt, .bj-felt.collect .bj-seat[data-r="bj"] .bj-spot .amt, .bj-felt.collect .bj-seat[data-r="push"] .bj-spot .amt { animation: toPlayer .6s ease-in forwards; }
.bj-felt.collect .bj-seat[data-r] .bj-spot .amt.bj-pay { animation: payOut .6s ease-in forwards; }
@keyframes toDealer { to { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.5); } }
@keyframes toPlayer { to { opacity: 0; transform: translate(0, 110px) scale(.8); } }
@keyframes payOut { from { opacity: 1; transform: translate(16px, -12px); } to { opacity: 0; transform: translate(16px, 98px) scale(.8); } }
.bj-felt.sweep .bj-hand .pc { animation: sweepOut .5s ease-in forwards !important; }
@keyframes sweepOut { to { opacity: 0; transform: translate(var(--sx), var(--sy)) rotate(-35deg) scale(.6); } }
.bj-felt.sweep .bj-val, .bj-felt.sweep .bj-burst { opacity: 0; transition: opacity .3s; }

/* Zuschauen: zwei Tische zur Wahl; beim Blackjack ohne Chip-Leiste */
body.watching #bjCard .rail { display: none; }

/* ===== Blackjack: Ergebnis groß in der Mitte, Beträge steigen von den Plätzen auf ===== */
.bj-banner { position: absolute; left: 50%; top: 41%; z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 260px; padding: 16px 34px 14px; border-radius: 22px; background: radial-gradient(ellipse at 50% 0%, rgba(40, 32, 14, .92), rgba(8, 12, 10, .9)); box-shadow: 0 0 0 2px var(--bc), 0 0 40px var(--bg), 0 18px 40px rgba(0, 0, 0, .55); text-align: center; pointer-events: none; animation: bannerIn 3s cubic-bezier(.2, .9, .3, 1) forwards; --bc: var(--gold); --bg: rgba(246, 223, 156, .45); }
.bj-banner b { font-family: var(--f-deco); font-weight: 700; font-size: 2.1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); text-shadow: 0 0 18px rgba(246, 223, 156, .7); }
.bj-banner em { font-style: normal; font-family: var(--f-num); font-weight: 800; font-size: 2.4rem; line-height: 1.1; color: #FFFFFF; font-variant-numeric: tabular-nums; }
.bj-banner span { font-weight: 700; font-size: .95rem; color: var(--ink-2); }
.bj-banner[data-s="win"] { --bc: var(--ok); --bg: rgba(76, 213, 151, .5); }
.bj-banner[data-s="win"] em { color: var(--ok); text-shadow: 0 0 20px rgba(76, 213, 151, .6); }
.bj-banner[data-s="bj"] { --bc: var(--gold-hi); --bg: rgba(246, 223, 156, .75); }
.bj-banner[data-s="bj"] b { font-size: 2.6rem; }
.bj-banner[data-s="bj"] em { color: var(--gold-hi); }
.bj-banner[data-s="lose"] { --bc: var(--bad); --bg: rgba(255, 143, 132, .35); animation-name: bannerLose; }
.bj-banner[data-s="lose"] b { color: #FFB4AB; text-shadow: none; }
.bj-banner[data-s="lose"] em { color: var(--bad); }
.bj-banner[data-s="push"] { --bc: rgba(247, 236, 204, .6); --bg: rgba(247, 236, 204, .2); }
.bj-banner[data-s="push"] b { color: var(--ink); text-shadow: none; }
.bj-banner[data-s="push"] em { font-size: 1.4rem; color: var(--ink-2); }
@keyframes bannerIn {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.3) rotate(-4deg); }
  14% { opacity: 1; transform: translate(-50%, -50%) scale(1.12) rotate(1deg); }
  24% { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
  82% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -62%) scale(.96); }
}
@keyframes bannerLose {
  0% { opacity: 0; transform: translate(-50%, -90%); }
  14% { opacity: 1; transform: translate(-50%, -46%); }
  19% { transform: translate(calc(-50% - 8px), -50%); }
  24% { transform: translate(calc(-50% + 6px), -50%); }
  29% { transform: translate(calc(-50% - 3px), -50%); }
  34%, 82% { opacity: 1; transform: translate(-50%, -50%); }
  100% { opacity: 0; transform: translate(-50%, -40%); }
}
.bjb-sparks { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.bjb-sparks i { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .85); background: var(--gold); opacity: 0; }
.bjb-sparks i:nth-child(3n+1) { background: var(--ok); }
.bjb-sparks i:nth-child(3n+2) { background: var(--chip-blue); }
.bj-banner[data-s="win"] .bjb-sparks i, .bj-banner[data-s="bj"] .bjb-sparks i { animation: spark 1.3s cubic-bezier(.15, .7, .3, 1) .15s forwards; }
.bj-banner[data-s="bj"] .bjb-sparks i { animation-duration: 1.7s; }
@keyframes spark {
  0% { opacity: 1; transform: rotate(var(--a)) translateX(20px) scale(.6); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--a)) translateX(calc(var(--d) + 60px)) translateY(40px) scale(1); }
}
.bj-felt::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(160, 20, 12, .45)); opacity: 0; pointer-events: none; z-index: 5; }
.bj-felt.lost::before { animation: lostGlow 1.6s ease-out forwards; }
@keyframes lostGlow { 0% { opacity: 0; } 20% { opacity: 1; } 100% { opacity: 0; } }
.bj-float { display: none; position: absolute; left: 0; top: -14px; z-index: 4; font-family: var(--f-num); font-weight: 800; font-size: 1.35rem; white-space: nowrap; text-shadow: 0 2px 6px rgba(0, 0, 0, .8); pointer-events: none; }
.bj-seat[data-r] .bj-float { display: block; animation: floatUp 2.6s ease-out forwards; }
.bj-seat[data-r=""] .bj-float { display: none; }
.bj-seat[data-r="win"] .bj-float, .bj-seat[data-r="bj"] .bj-float { color: var(--ok); }
.bj-seat[data-r="bj"] .bj-float { color: var(--gold-hi); font-size: 1.6rem; }
.bj-seat[data-r="lose"] .bj-float { color: var(--bad); }
.bj-seat[data-r="push"] .bj-float { color: var(--ink); }
@keyframes floatUp {
  0% { opacity: 0; transform: translate(-50%, 10px) scale(.6); }
  15% { opacity: 1; transform: translate(-50%, -18px) scale(1.15); }
  25% { transform: translate(-50%, -24px) scale(1); }
  75% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -110px) scale(1); }
}
/* Guthaben ändert sich: kurz grün bzw. rot, leicht vergrößert */
.wal.up .balance { animation: balUp 1.4s ease-out; }
.wal.down .balance { animation: balDown 1.4s ease-out; }
@keyframes balUp { 0% { color: var(--ok); transform: scale(1.12); text-shadow: 0 0 16px rgba(76, 213, 151, .7); } 100% { transform: none; } }
@keyframes balDown { 0% { color: var(--bad); transform: scale(1.06); } 100% { transform: none; } }

/* ===== Blackjack: Versicherung ===== */
.bj-arc-ins { font-family: var(--f-deco); font-weight: 700; font-size: 15px; letter-spacing: .16em; fill: rgba(217, 180, 94, .75); text-transform: uppercase; }
.bj-act.bj-insure { border-color: var(--gold); color: var(--gold-hi); }
.bj-act.wide { grid-column: 1 / -1; }
/* Aufgegeben: Karten blass, Wert durchgestrichen wirkt wie ein Häkchen weg */
.bj-hand-box.surr .bj-hand { opacity: .5; filter: saturate(.35); transition: opacity .4s, filter .4s; }
.bj-ins { position: absolute; left: 34px; top: -30px; padding: 2px 8px; border-radius: 999px; background: rgba(217, 180, 94, .9); color: var(--gold-ink); font-weight: 800; font-size: .72rem; white-space: nowrap; animation: toastIn .3s ease-out both; }

/* ===================================================================================================================
   Handy (html.phone): nur hochkant – eine Spalte, Roulette-Tisch senkrecht, Spielerliste zum Aufklappen
   =================================================================================================================== */
html.phone .app { gap: 8px; padding-block: calc(8px + var(--fst)) calc(10px + var(--fsb)); padding-left: max(10px, env(safe-area-inset-left)); padding-right: max(10px, env(safe-area-inset-right)); }
html.phone .top { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "brand tools"; min-height: 40px; gap: 6px 10px; }
html.phone .top > .hist { display: none; }
html.phone h1 { font-size: 1rem; letter-spacing: .16em; }
html.phone .top .wheel { width: 28px; height: 28px; }
html.phone .top-tools { justify-self: end; gap: 6px; }
html.phone .top-tools .btn.tiny { padding: 6px 10px; font-size: .85rem; }
html.phone .net { padding: 6px 10px; }
html.phone #netText { display: none; }
html.phone .grid,
html.phone .grid.seated,
html.phone .grid.watching { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; grid-template-areas: "main" "players"; gap: 8px; }
html.phone .grid.seated { grid-template-rows: minmax(0, 1fr) auto auto; grid-template-areas: "main" "slip" "players"; }
html.phone .grid:not(.seated) > .area-main { padding-top: 0; }
html.phone .card { padding: 10px 12px; gap: 8px; border-radius: 18px; }

/* Untere Leiste: Am Tisch (klappt die Spielerliste über dem Spiel auf) · Rangliste · Regeln */
html.phone .area-players { display: flex; flex-direction: column; gap: 8px; padding: 3px; overflow: visible; }
html.phone .area-players > :not(.pbar):not(.stats) { display: none; }
/* Handy: „Am Tisch“ öffnet die Spielerliste als eigenes Fenster über dem Spiel – wie Rangliste und Regeln */
.players-pop { display: none; }
html.phone .players-pop:not([hidden]) {
  position: fixed; z-index: 87; left: max(10px, env(safe-area-inset-left)); right: max(10px, env(safe-area-inset-right));
  bottom: calc(66px + var(--fsb)); max-height: calc(100% - 76px - var(--fst) - var(--fsb));
  display: flex; flex-direction: column; gap: 8px; padding: 12px 10px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .65), 0 0 0 1px rgba(217, 180, 94, .25);
  animation: statsIn .2s ease-out both;
}
html.phone .players-pop .players-head { padding: 0 4px; }
html.phone .players-pop .list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }

/* Eigene Karte: nur das Guthaben, oben in der Kopfzeile neben dem Rad (Name, Abmelden: in der Spielauswahl) */
html.phone.seated h1 { display: none; }
/* v415 (Besitzer: „bei jedem Spiel das oben links das Logo nicht richtig mittig“): die Pille (36 px) mittig in der Kopfzeile (44 px) wie Logo, Zuschauer, Punkt und Home –
   bis v414 oben bündig, 4 px zu hoch, das Logo daneben wirkte verrutscht */
html.phone .you { position: absolute; top: calc(12px + var(--fst)); left: calc(max(10px, env(safe-area-inset-left)) + 38px); z-index: 20; padding: 0; gap: 0; border: 0; background: none; box-shadow: none; }
html.phone .you-head, html.phone .wallet > .wal:nth-child(2), html.phone #leaveConfirm { display: none; }
html.phone .wallet { display: block; }
html.phone .wal { min-height: 36px; padding: 2px 12px; gap: 6px; }
html.phone .wal-label { font-size: .62rem; letter-spacing: .1em; }
html.phone .balance { font-size: 1.25rem; }
html.phone .wal.long .balance { font-size: 1.1rem; }
html.phone .wal.xlong .balance { font-size: .95rem; }

/* Einsatz-Leiste: Werkzeuge als Symbole links, „Bereit“ (mit Einsatz) daneben – eine Zeile */
/* Unterer Bereich: oben eine Reihe gleich breiter Textknöpfe, darunter „Bereit“ über die ganze Breite (Rest am Dateiende) */
html.phone #slipCard > .bet-tools, html.phone .bj-betting > .bet-tools { flex: none; display: flex; gap: 6px; }
html.phone .bet-tools .btn { flex: 1 1 0; min-width: 0; width: auto; height: 40px; min-height: 40px; padding: 0 4px; font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.phone .bj-hint { display: none; }
html.phone .btn.big { min-height: 46px; font-size: 1rem; letter-spacing: .1em; }
html.phone .ready-done { min-height: 46px; gap: 8px; padding: 4px 6px 4px 8px; }
html.phone .ready-check { width: 28px; height: 28px; font-size: 1rem; }
html.phone .ready-title { font-size: .92rem; letter-spacing: .08em; }
html.phone .ready-sub { font-size: .8rem; white-space: nowrap; }
html.phone .ready-done .btn { min-height: 36px; padding: 0 10px; font-size: .82rem; }
html.phone .ready-sum { font-size: .8rem; margin: 0; }
html.phone .spin-bar { gap: 4px; }
/* Blackjack-Züge in einer Reihe */
html.phone .bj-playing { gap: 6px; }
/* Züge: gleich breite Knöpfe; Versichern in der zweiten Reihe geht über die ganze Breite */
html.phone .bj-actions { display: flex; flex-wrap: wrap; gap: 3px 6px; }
html.phone .bj-act { flex: 1 1 0; min-width: 0; height: 44px; min-height: 44px; font-size: .84rem; padding: 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.phone .bj-act + .bj-act { margin: 0; }
html.phone .bj-act.bj-insure { grid-column: auto; }
html.phone .bj-break { display: block; flex: 0 0 100%; height: 0; }
html.phone .card .bj-turn { font-size: .92rem; height: 20px; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.phone .bj-turn small { display: inline; margin: 0 0 0 6px; font-size: .78rem; }

/* Roulette: Kopf, Chips, Kesselstrecke */
html.phone .board { padding: 8px 10px; gap: 6px; }
html.phone .round-head h2 { font-size: .95rem; }
html.phone .round-head .phase { padding: 4px 10px; font-size: .85rem; }
html.phone .stats-slot { display: none; }
/* Kesselstrecke senkrecht rechts neben dem Tisch (so hoch wie der Tisch, ein Viertel so breit) */
html.phone #roundCard { container-type: size; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-areas: "head head" "table track" "rail rail"; column-gap: 6px; }
html.phone #roundCard > .round-head { grid-area: head; }
html.phone #roundCard > .table-wrap { grid-area: table; min-height: 0; }
html.phone #roundCard > .track-bar { grid-area: track; width: calc((100cqh - 112px) / 4); height: 100%; align-items: stretch; }
html.phone #roundCard > .rail { grid-area: rail; }
html.phone .track-wrap { height: 100%; overflow: visible; display: flex; align-items: center; }
html.phone .track { width: 100%; height: auto; max-height: 100%; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .4)); }
html.phone .track text { font-size: 30px; }
html.phone .track .rt-zone text { font-size: 27px; }
/* Historie in der Rundenzeile (statt „Runde …“ und Ergebnis – das neueste steht vorne) */
html.phone #roundTitle, html.phone #roundMsg { display: none; }
html.phone .round-head { gap: 6px; }
html.phone .round-head .hist { flex: 1 1 auto; min-width: 0; padding: 3px 6px; gap: 5px; overflow: hidden; }
html.phone .round-head .hist-ico { width: 16px; height: 16px; }
html.phone .round-head .hist-list { overflow: hidden; gap: 3px; }
html.phone .round-head .hn { width: 26px; height: 26px; flex: none; font-size: .82rem; }
html.phone .round-head .hn.new { width: 30px; height: 30px; margin: 0 3px 0 2px; font-size: .95rem; }
html.phone .stats.modal .stats-body { grid-template-columns: minmax(0, 1fr); gap: 10px; }
html.phone .board-foot { display: none; }
html.phone .chip-row { gap: 8px; padding: 6px 2px 2px; flex-wrap: nowrap; }
html.phone .chip { width: 46px; height: 46px; font-size: .9rem; }
html.phone .bj-felt { min-height: 180px; }
html.phone .lobby-games { grid-auto-rows: auto; align-content: start; }
html.phone .game-tile { min-height: 0; }
html.phone .rail { justify-content: center; }

/* Roulette-Tisch senkrecht: 0 oben, darunter 12 Reihen (1 2 3 … 34 35 36), links Dutzende und einfache Chancen, unten Kolonnen */
html.phone .table {
  --chip: 24px;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 2.9fr);
  grid-template-rows: minmax(0, .9fr) minmax(0, 12fr) minmax(0, 1.05fr);
  grid-template-areas: ". . zero" "evens dozens nums" ". . cols";
  max-height: none;
  padding: 8px;
}
html.phone .t-nums { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(12, minmax(0, 1fr)); }
html.phone .t-zero { display: grid; }
html.phone .tc.zero { border-radius: 50% 50% 0 0 / 100% 100% 0 0; font-size: 1.2rem; }
html.phone .t-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); }
html.phone .t-cols > :nth-child(1) { grid-column: 3; grid-row: 1; }
html.phone .t-cols > :nth-child(2) { grid-column: 2; grid-row: 1; }
html.phone .t-cols > :nth-child(3) { grid-column: 1; grid-row: 1; }
html.phone .t-dozens { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(3, minmax(0, 1fr)); }
html.phone .t-evens { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(6, minmax(0, 1fr)); }
html.phone .tc.num { font-size: 1.05rem; }
html.phone .tc.out { font-size: .72rem; letter-spacing: 0; padding: 0 2px; text-align: center; }
html.phone .tc.out .sub { font-size: .66rem; }
html.phone .tc.col .cn { font-size: .85rem; }
html.phone .tc.col .sub { font-size: .6rem; }
html.phone .spot { left: calc((3 - var(--y)) * 100% / 3); top: calc(var(--x) * 100% / 12); width: calc(var(--h) * 100% / 3); height: calc(var(--w) * 100% / 12); }
/* Chip rechts neben der Zahl (Zellen sind breit und flach) */
html.phone .t-nums .tc .amt, html.phone .t-zero .tc .amt, html.phone .t-cols .tc .amt { left: 76%; top: 50%; }
html.phone .tc.num.has .cn, html.phone .tc.num.any .cn, html.phone .tc.zero.has .cn, html.phone .tc.zero.any .cn,
html.phone .tc.col.has .cn, html.phone .tc.col.any .cn { transform: translateX(-12px); }
html.phone .t-dozens .tc .amt { right: auto; left: 50%; top: 78%; transform: translate(-50%, -50%); }
html.phone .t-evens .tc.has .cn, html.phone .t-evens .tc.any .cn { transform: translateY(-9px); }

/* Blackjack: kleinere Karten und Felder, Knöpfe flacher */
html.phone .bj-seats { --cw: 38px; }
html.phone .bj-seat.split { --cw: 30px; }
html.phone .bj-seat.split3 { --cw: 24px; }
html.phone .bj-dealer { --cw: 44px; }
html.phone .bj-spot, html.phone .bj-deco span { width: 44px; height: 44px; }
html.phone .bj-spot .amt { --chip: 34px; }
html.phone .bj-name { top: 28px; font-size: .78rem; padding: 2px 8px; max-width: 80px; }
html.phone .bj-timer { top: 52px; width: 60px; }
html.phone .bj-hands { bottom: 30px; }
html.phone .bj-val { font-size: .8rem; padding: 2px 7px; }
html.phone .bj-shoe { width: 56px; height: 42px; }
html.phone .bj-shoe .bj-back, html.phone .bj-discard .bj-back, html.phone .bj-discard { width: 32px; height: 45px; }
html.phone .bj-rack i { width: 13px; height: 11px; }
html.phone .bj-banner { min-width: 220px; padding: 12px 20px 10px; }
html.phone .bj-banner b { font-size: 1.5rem; }
html.phone .bj-banner em { font-size: 1.7rem; }
html.phone .bj-banner span { font-size: .8rem; }
html.phone .bj-float { font-size: 1.05rem; }
html.phone .bj-ins { left: 26px; top: -24px; }

/* Anmelden, Spielauswahl, Admin: untereinander */
html.phone .join { width: 100%; padding: 14px; }
html.phone .join-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
html.phone .key { min-height: 48px; }
html.phone .lobby-games { grid-template-columns: minmax(0, 1fr); gap: 10px; }
html.phone .game-tile { padding: 12px; gap: 4px; }
html.phone .gt-art { height: 104px; }
html.phone .bj-arc { top: 30%; }
html.phone .gt-name { font-size: 1.3rem; }
html.phone .lobby-head { flex-wrap: wrap; }
html.phone .admin { width: 100%; padding: 12px; gap: 10px; }
html.phone .admin-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
html.phone .admin .key { min-height: 44px; }
html.phone #grantAmount { font-size: 1.3rem; min-height: 48px; }

/* Kessel: Rad oben, Ergebnis darunter */
html.phone .kv-ov { flex-direction: column; justify-content: flex-start; gap: 12px; padding-top: max(16px, env(safe-area-inset-top)); transition: padding-top .5s ease; }   /* v209: kvCenter rückt Kessel und Feld in die Mitte */
/* v210/v211 (Bilder des Besitzers: „unten eine unschöne harte Kante“): unten in die Grundfarbe auslaufen – seit v277 für alle Geräte in .kv-ov oben */
html.phone .kv-box { --kvs: min(calc(var(--lw) * .86), calc(var(--lh) * .46)); }
html.phone .kv-panel { flex: 0 1 auto; width: 100%; min-width: 0; padding: 14px 16px; }   /* v208 (Bild des Besitzers): so hoch wie der Inhalt, nicht bis unten (scrollt, wenn er nicht passt) */
html.phone .stats.modal { max-width: calc(var(--lw) - 24px); }
/* Handy: Statistik kompakt (passt ohne Scrollen), Admin ohne Spielerleiste */
html.phone .stats.modal { padding: 10px 14px 12px; gap: 6px; }
html.phone .stats.modal .stats-body { gap: 6px; }
html.phone .st-group { gap: 2px; }
html.phone .st-title { font-size: .7rem; }
html.phone .st-row { grid-template-columns: 92px minmax(0, 1fr) 76px; gap: 8px; min-height: 20px; }
html.phone .st-name { font-size: .85rem; }
html.phone .st-val { font-size: .88rem; }
html.phone .st-nums { gap: 4px 10px; }
html.phone .st-nums .num { width: 24px; height: 24px; font-size: .75rem; }
/* Handy, Admin-Bereich: die untere Leiste bleibt (seit Seite v131 – „Chat“ ist überall erreichbar); der Bereich darüber scrollt wie bisher */
html.phone .admin .key { min-height: 40px; }

/* Admin: Gerät des Kontos */
.admin-devrow { display: flex; align-items: center; gap: 8px; min-width: 0; }
.admin-dev { flex: 1 1 auto; min-width: 0; margin: 0; font-size: .85rem; font-weight: 700; color: var(--ink-3); }
.hint[data-s="blocked"], #acctHint[data-s="blocked"] { color: var(--warn); }

/* ===================================================================================================================
   Extras: Regeln, Rangliste (Fenster), Karten im Schuh, untere Leiste am Handy
   =================================================================================================================== */
.icon-btn { -webkit-appearance: none; appearance: none; flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .32); color: var(--gold-hi); font: 800 1.2rem/1 var(--f-num); cursor: pointer; touch-action: manipulation; transition: transform .1s ease, background-color .15s ease; }
.icon-btn:active { transform: scale(.94); background: var(--surface-3); }
.icon-btn[hidden] { display: none; }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn[aria-expanded="true"] { background: var(--surface-3); border-color: var(--gold); }

.sheet-back { position: fixed; inset: 0; z-index: 86; background: rgba(0, 0, 0, .62); animation: statsIn .2s ease-out both; }
.sheet {
  position: fixed; z-index: 87; left: 50%; top: calc(50% + var(--fst) / 2);
  width: min(940px, calc(100% - 48px)); max-height: calc(100% - 48px - var(--fst));
  display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 20px 24px;
  transform: translate(-50%, -50%);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .65), 0 0 0 1px rgba(217, 180, 94, .25);
  animation: statsIn .2s ease-out both;
}
.sheet[hidden] { display: none; }
.sheet.rank { width: min(720px, calc(100% - 48px)); }
.sheet-head { flex: none; display: flex; align-items: center; gap: 14px; }
.sheet-head h2 { margin: 0; font-family: var(--f-deco); font-weight: 700; font-size: 1.05rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.sheet-head .btn { width: auto; margin-left: auto; }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, .32); border: 1px solid var(--line); min-width: 0; }
.seg button { -webkit-appearance: none; appearance: none; min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font: 700 .95rem/1 var(--f-body); white-space: nowrap; cursor: pointer; }
.seg button[aria-selected="true"] { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--gold-ink); }
.seg button:disabled { opacity: .45; cursor: default; }                /* v454: z. B. Poker „Gegeneinander“ im Geistmodus */
.sheet-note { flex: none; margin: 0; color: var(--ink-3); font-size: .85rem; }
/* Regeln: Hinweis „Nur Spielgeld“ über allen Reitern */
.help-play { flex: none; margin: 0; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(217, 180, 94, .08); color: var(--ink-2); font-size: .9rem; line-height: 1.35; }
.help-play b { color: var(--gold-hi); }
html.phone .help-play { padding: 6px 9px; border-radius: 10px; font-size: .74rem; line-height: 1.3; }
/* v246: zugeklappt nur die erste Zeile (Spielgeld, ab 18), „Mehr“ öffnet den Rest */
.help-play > summary { display: block; list-style: none; cursor: pointer; }
.help-play > summary::-webkit-details-marker { display: none; }
.help-play > summary::marker { content: ''; }
.help-more::after { content: 'Mehr'; color: var(--gold-hi); text-decoration: underline; white-space: nowrap; }
.help-play[open] .help-more::after { content: 'Weniger'; }
.help-play > p { margin: 6px 0 0; }
.help-page[hidden] { display: none; }
.help-page { display: flex; flex-direction: column; gap: 12px; min-height: 0; overflow-y: auto; }
/* v374 (Wunsch des Besitzers vom 14.11.2026, Entwurf C: „Nimm das“, „Bau es für jedes Gerät so“): statt zehn Reitern (am Handy 4 + 4 + 2) auf jedem Gerät eine Zeile
   unter dem Titel – Symbol und Name des Spiels, rechts „Spiel wählen“ mit Pfeilen; die unsichtbare <select> liegt darüber und öffnet die Auswahl des Systems
   (iPhone: iOS-Auswahl). 16 px Schrift in der Auswahl, damit iOS beim Antippen nicht zoomt. */
.sheet.help .sheet-head { flex-wrap: wrap; }
.help-pick { order: 3; position: relative; flex: 1 0 100%; display: flex; align-items: center; gap: 10px; min-width: 0; height: 48px; padding: 0 12px 0 14px;
  border-radius: 14px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .30); cursor: pointer; }
.help-pick-ico { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--gold-hi); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.help-pick-ico .f { fill: var(--gold-hi); stroke: none; }
.help-pick-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--gold-hi); font: 700 1.02rem/1.15 var(--f-body); }
.help-pick-k { flex: none; margin-left: auto; color: var(--ink-2); font: 700 .78rem/1 var(--f-body); opacity: .8; }
.help-pick-chev { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* v454 (Bild des Besitzers vom iPad: „Systemmenü öffnet sich an der falschen Stelle“): iOS hängt sein Menü mittig an die Auswahl – über der ganzen Leiste kam es in der Mitte.
   Die unsichtbare Auswahl liegt darum nur rechts über „Spiel wählen ⌃⌄“ (so breit wie das Menü), das Menü öffnet dort rechtsbündig; ein Tipp links öffnet sie über js/extras.js */
.help-pick select { position: absolute; top: 0; right: 0; bottom: 0; left: auto; width: min(100%, 240px); height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; font-size: 16px; cursor: pointer; -webkit-appearance: none; appearance: none; }
.help-pick:has(select:focus-visible) { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
@media (hover: hover) { .help-pick:hover { border-color: var(--gold); } }
.help-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 22px; align-items: start; }
.help-cols.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.help-text h3 { margin: 0 0 4px; font-size: 1rem; color: var(--gold-hi); }
.help-text h3:not(:first-child) { margin-top: 14px; }
.help-text p { margin: 0; color: var(--ink-2); font-size: .98rem; line-height: 1.4; }
.help-text b { color: var(--ink); }
.help-pay { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .95rem; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.help-pay th { padding: 8px 12px; text-align: left; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); background: rgba(0, 0, 0, .25); }
.help-pay td { padding: 8px 12px; border-top: 1px solid var(--line); color: var(--ink-2); line-height: 1.3; vertical-align: top; }
.help-pay td:first-child { color: var(--ink); font-weight: 700; }
.help-pay td:last-child { font-family: var(--f-num); font-weight: 800; color: var(--gold-hi); white-space: nowrap; }
.sheet.help .help-page[data-t="b"] .help-pay td:last-child { font-family: var(--f-body); font-weight: 400; color: var(--ink-2); white-space: normal; }

.rk-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; min-height: 0; overflow-y: auto; }
.rk-row { flex: none; display: grid; grid-template-columns: 34px auto minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 58px; padding: 6px 14px 6px 8px; border-radius: 14px; background: var(--surface-2); border: 1px solid transparent; }
.rk-row.me { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 180, 94, .12); }
.rk-pos { text-align: center; font-family: var(--f-num); font-weight: 800; font-size: 1.1rem; color: var(--ink-3); }
.rk-row .avatar { width: 38px; height: 38px; font-size: 1rem; }
.rk-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rk-who b { font-size: 1.08rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk-who em { font-style: normal; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: rgba(217, 180, 94, .18); color: var(--gold-hi); font-size: .75rem; vertical-align: 2px; }
.rk-who small { color: var(--ink-3); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk-val { font-family: var(--f-num); font-weight: 800; font-size: 1.2rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rk-val[data-s="up"] { color: var(--ok); }
.rk-val[data-s="down"] { color: var(--bad); }
.rk-val[data-s="zero"] { color: var(--ink-3); }
.rk-empty { padding: 16px; color: var(--ink-3); text-align: center; }
.lobby-links { align-self: center; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.lobby-rank, .lobby-stat { width: auto; min-width: 220px; }
.lobby-rank[hidden], .lobby-stat[hidden] { display: none; }
.lobby-support { width: auto; min-width: 0; padding: 8px 22px; }
.lobby-support[hidden] { display: none; }   /* royal-round r10: nur mit PayPal-Link der Leitung */   /* nur das PayPal-Zeichen; erst ein Hinweis (#supportDlg) */
.pp-mark { display: block; width: 28px; height: 28px; }
.pp-mark.big { width: 44px; height: 44px; }
.help-play a, .link-btn { color: var(--gold-hi); }
.link-btn { -webkit-appearance: none; appearance: none; display: inline; margin: 0; padding: 0; border: 0; background: none; font: inherit; text-decoration: underline; cursor: pointer; }
/* Handy: Statistik und Unterstützen in einer Zeile – die Spielauswahl passt ohne Scrollen auf den Bildschirm */
html.phone .lobby-links { flex-wrap: nowrap; align-self: stretch; gap: 8px; }
html.phone .lobby-stat { flex: 1 1 0; min-width: 0; width: auto; min-height: 46px; padding: 6px 8px; font-size: .95rem; white-space: nowrap; }
html.phone .lobby-support { flex: 0 0 auto; min-height: 46px; padding: 6px 20px; }
/* Hinweis vor PayPal: freiwillig, echtes Geld, keine Vorteile im Spiel */
.sup-dlg[hidden] { display: none; }
.sup-dlg { position: fixed; inset: 0; z-index: 95; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(0, 0, 0, .62); animation: statsIn .2s ease-out both; }
.sup-card { display: flex; flex-direction: column; align-items: center; gap: 12px; width: min(420px, 100%); padding: 22px 20px 16px; text-align: center;
  border-radius: 18px; background: var(--surface); border: 1px solid var(--gold); box-shadow: 0 24px 60px rgba(0, 0, 0, .65); }
.sup-card h2 { margin: 0; font-family: var(--f-deco); font-weight: 700; font-size: 1.05rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.sup-card p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.4; }
.sup-card .sup-note { font-size: .85rem; color: var(--ink-3); }
.sup-card .btn { width: 100%; min-height: 48px; }
.sup-go { text-decoration: none; }

/* Handy */
html.phone .sheet { width: calc(100% - 20px); max-height: calc(100% - 20px - var(--fst)); padding: 14px 14px 12px; gap: 10px; }
html.phone .sheet-head { flex-wrap: wrap; gap: 8px 10px; }
html.phone .sheet-head .seg { order: 3; width: 100%; }
html.phone .seg button { flex: 1 1 0; padding: 0 6px; font-size: .82rem; min-height: 34px; }
html.phone .help-cols, html.phone .help-cols.two { grid-template-columns: minmax(0, 1fr); gap: 12px; }
html.phone .help-text h3:not(:first-child) { margin-top: 8px; }
html.phone .help-text p, html.phone .help-pay { font-size: .84rem; }
html.phone .help-pay th, html.phone .help-pay td { padding: 5px 8px; }
html.phone .rk-row { grid-template-columns: 26px auto minmax(0, 1fr) auto; gap: 8px; min-height: 50px; padding: 4px 10px 4px 4px; }
html.phone .rk-row .avatar { width: 30px; height: 30px; font-size: .85rem; }
html.phone .rk-who b { font-size: .95rem; }
html.phone .rk-who small { font-size: .72rem; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
html.phone .rk-val { font-size: 1rem; }

/* Untere Leiste am Handy */
.pbar { display: none; }
html.phone .pbar { order: 9; flex: none; display: flex; gap: 2px; }
.pb { -webkit-appearance: none; appearance: none; position: relative; flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; padding: 0 6px; border: 0; border-radius: 13px; background: none; color: var(--ink-2); font: 700 .86rem/1 var(--f-body); white-space: nowrap; cursor: pointer; touch-action: manipulation; transition: background-color .15s ease, color .15s ease; }
.pb[hidden] { display: none; }
.pb + .pb::before { content: ""; position: absolute; left: -2px; top: 11px; bottom: 11px; width: 1px; background: var(--line); }
.pb svg { flex: none; width: 19px; height: 19px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pb:active { background: var(--surface-3); }
.pb[aria-expanded="true"], .pb[aria-pressed="true"] { background: rgba(217, 180, 94, .16); color: var(--gold-hi); }
.pb[aria-expanded="true"]::before, .pb[aria-pressed="true"]::before, .pb[aria-expanded="true"] + .pb::before, .pb[aria-pressed="true"] + .pb::before { display: none; }
.pb-t { overflow: hidden; text-overflow: ellipsis; }
.pb-n { flex: none; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font: 800 .74rem/20px var(--f-num); text-align: center; }
html.phone .top-tools .icon-btn, html.phone .lobby-rank { display: none; }
/* Die Leiste bleibt über den Fenstern bedienbar (wie eine Tab-Leiste): Regeln und Rangliste öffnen sich darüber */
html.phone .area-players { position: relative; z-index: 88; }
.list-back { position: fixed; inset: 0; z-index: 86; background: rgba(0, 0, 0, .62); animation: statsIn .2s ease-out both; }   /* wie hinter der Rangliste */
html.phone .sheet { top: auto; bottom: calc(66px + var(--fsb)); transform: translateX(-50%); max-height: calc(100% - 76px - var(--fst) - var(--fsb)); }
html.phone .sheet.help { gap: 8px; padding: 12px 12px 10px; }
html.phone .help-page { gap: 8px; }
html.phone .help-cols, html.phone .help-cols.two { gap: 8px; }
html.phone .help-text h3 { font-size: .9rem; margin-bottom: 2px; }
html.phone .help-text h3:not(:first-child) { margin-top: 6px; }
html.phone .help-text p, html.phone .help-pay { font-size: .78rem; line-height: 1.32; }
html.phone .help-pay th { padding: 4px 7px; font-size: .68rem; }
html.phone .help-pay td { padding: 4px 7px; }
html.phone .sheet-note { font-size: .74rem; }

/* Spielerliste: Zeilen nie stauchen – lieber scrollt die Liste */
.list > .row { flex: none; }
/* Handy: solange der Kessel läuft, keine untere Leiste */
html.phone.kv-open .area-players, html.phone.kv-open .list-back, html.phone.kv-open .players-pop { visibility: hidden; }
/* Lebenszeichen in der Spielerliste: dezenter Puls mit Abstand zum Namen */
.line1 .pill { margin-left: 3px; }
.row .sdot.beat { animation: beatSoft .9s ease-out; }
@keyframes beatSoft { 0% { box-shadow: 0 0 0 0 rgba(76, 213, 151, .5); } 100% { box-shadow: 0 0 0 5px rgba(76, 213, 151, 0); } }
/* Handy: Platz der Leiste fest reserviert – klappt die Spielerliste auf, verrutscht darüber nichts */
html.phone { --pbar-h: 48px; }
html.phone .area-players { height: var(--pbar-h); }
html.phone .grid, html.phone .grid.watching { grid-template-rows: minmax(0, 1fr) var(--pbar-h); }
html.phone .grid.seated { grid-template-rows: minmax(0, 1fr) auto var(--pbar-h); }
html.phone #pbPlayers { flex-grow: 1.35; }
/* Handy: „Bereit“-Knopf und „Bereit“-Feld gleich hoch und einzeilig – sonst skaliert der Tisch darüber bei jedem Wechsel */
html.phone #readyBtn, html.phone #bjReadyBtn, html.phone #slipCard .ready-done, html.phone .bj-betting > .ready-done { height: 50px; min-height: 50px; }
html.phone #readyBtn, html.phone #bjReadyBtn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .92rem; letter-spacing: .06em; padding: 0 10px; }
html.phone .ready-sum { min-height: 1.35em; }
html.phone .ready-sum:empty { display: block; }   /* Handy: Zeile bleibt auch leer stehen (z. B. während der Kessel läuft) */
/* Handy: der Bereich unter dem Tisch hat in jedem Zustand dieselbe Höhe – sonst skaliert der Tisch beim „Bereit“ um.
   Zeile „x von y bereit“: immer genau eine Zeile; Hinweise und Fehler schweben über dem Bereich statt ihn zu vergrößern */
html.phone #slipCard, html.phone #bjSlip { position: relative; }
html.phone .ready-sum { height: 1.35em; line-height: 1.35em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.phone #slipCard .err, html.phone #slipCard > .warnline, html.phone #bjSlip .err {
  position: absolute; left: 10px; right: 10px; bottom: calc(100% + 6px); z-index: 30; margin: 0; box-shadow: var(--shadow);
}
html.phone #slipCard .err, html.phone #bjSlip .err { background: #3A1714; }
html.phone #slipCard > .warnline { background: #2A2110; }
html.phone .ready-text { flex: 1 1 auto; min-width: 0; overflow: hidden; }
html.phone .ready-title { letter-spacing: .05em; }
html.phone .ready-done { gap: 6px; padding: 4px 5px 4px 6px; }
html.phone .ready-check { width: 22px; height: 22px; font-size: .8rem; }
html.phone .ready-title { font-size: .86rem; letter-spacing: .04em; }
html.phone .ready-done .btn { padding: 0 8px; font-size: .78rem; min-height: 34px; }

/* ===== Handy: unterer Bereich beider Spiele – immer Textknöpfe, symmetrisch, in jeder Phase dieselbe Höhe ===== */
.bj-break { display: none; }
html.phone { --slip-h: 154px; }
html.phone #slipCard, html.phone #bjSlip { height: var(--slip-h); display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 10px 12px; }
html.phone .bj-betting, html.phone #slipCard > .spin-bar, html.phone .bj-playing { display: flex; flex-direction: column; gap: 6px; }
html.phone .bj-betting[hidden], html.phone .bj-playing[hidden] { display: none; }
html.phone #readyBtn, html.phone #bjReadyBtn { width: 100%; font-size: 1rem; letter-spacing: .1em; }
html.phone .ready-done { gap: 10px; padding: 4px 6px 4px 12px; }
html.phone .ready-check { width: 28px; height: 28px; font-size: 1rem; }
html.phone .ready-title { font-size: .95rem; letter-spacing: .1em; }
html.phone .ready-done .btn { padding: 0 14px; font-size: .85rem; min-height: 38px; }
/* Kopfzeile über dem Tisch mit fester Höhe: die erste Zahl der Historie (Roulette) und das Ergebnis (Blackjack) verschieben den Tisch nicht */
html.phone #roundCard > .round-head { height: 38px; }
html.phone #bjCard .round-head { height: 32px; }

/* ===== Blackjack: Schuh und Ablage als Kartenstapel (statt der Zahl) ===== */
/* Im Schuh: die Kanten der Karten – der Stapel wird mit den ausgeteilten Karten kürzer; die oberste schnippt beim Austeilen heraus */
.bj-shoe-stack { position: absolute; right: 7px; top: 8px; bottom: 8px; width: calc((100% - 20px) * var(--fill, 1)); border-radius: 2px 4px 4px 2px;
  background: repeating-linear-gradient(90deg, #F4EEDD 0 1px, #BDB193 1px 2px); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3), 0 0 6px rgba(0, 0, 0, .4); transition: width .8s ease; }
.bj-shoe.flick .bj-back { animation: shoeFlick .34s ease-out; }
@keyframes shoeFlick { 45% { transform: rotate(-24deg) scale(.9) translate(-9px, 3px); } }
/* Ablage: jede abgeräumte Karte landet leicht verrutscht obenauf – der Stapel wächst; leer bleibt der Platz markiert */
.bj-discard { --step: 1.2px; top: calc(6% + 34px); }
.bj-discard::before { content: ''; position: absolute; inset: -3px; border-radius: 8px; border: 1.5px dashed rgba(247, 236, 204, .22); }
.bj-discard .bj-back { position: absolute; inset: 0; width: auto; height: auto;
  transform: translate(calc(var(--dx) * 1px), calc(var(--i) * var(--step) * -1)) rotate(calc(var(--r) * 1deg)); }
.bj-discard .bj-back.in { animation: discIn .42s cubic-bezier(.2, .8, .3, 1) both; }
@keyframes discIn { from { opacity: 0; transform: translate(calc(var(--dx) * 1px + 60px), calc(var(--i) * var(--step) * -1 + 70px)) rotate(calc(var(--r) * 1deg + 50deg)) scale(1.15); } }
html.phone .bj-discard { --step: .9px; top: calc(6% + 26px); }
html.phone .bj-shoe-stack { right: 5px; top: 6px; bottom: 6px; width: calc((100% - 15px) * var(--fill, 1)); }
@media (prefers-reduced-motion: reduce) { .bj-shoe.flick .bj-back, .bj-discard .bj-back.in { animation: none; } }

/* ===== Logo oben links je Spiel: Kessel (Roulette), Ass und König (Blackjack), Jeton (Casino) ===== */
.logo { position: relative; container-type: size; }
.logo[data-g="b"] { background: none; box-shadow: none; border-radius: 0; }
.logo[data-g="b"]::before, .logo[data-g="b"]::after { content: 'A\A\2660'; white-space: pre; position: absolute; top: 6%; width: 56%; height: 80%; box-sizing: border-box;
  padding: 7% 0 0 9%; border-radius: 3px; background: #FBF7EC; color: #15110E; font: 800 30cqh/1 var(--f-num); letter-spacing: 0;
  box-shadow: 0 0 0 1px rgba(217, 180, 94, .75), 0 3px 6px rgba(0, 0, 0, .5); }
.logo[data-g="b"]::before { left: 0; transform: rotate(-12deg); }
.logo[data-g="b"]::after { content: 'K\A\2665'; left: 42%; color: var(--num-red); transform: rotate(10deg); }
.logo[data-g="c"] { background:
    radial-gradient(circle, var(--gold) 0 13%, #9E1B1B 14% 36%, #F4EEDD 37% 41%, #9E1B1B 42% 63%, transparent 64%),
    repeating-conic-gradient(from 11.25deg, #F4EEDD 0 22.5deg, #9E1B1B 0 45deg); }
/* ===== Admin (iPad): die Karte passt immer in den Bildschirm – bei wenig Höhe gibt der Ziffernblock Platz ab ===== */
html:not(.phone) .admin { flex: 0 1 auto; max-height: 100%; min-height: 0; }
html:not(.phone) .admin-grid { flex: 1 1 auto; min-height: 0; grid-template-rows: minmax(0, 1fr); align-items: stretch; }
html:not(.phone) .admin-set { min-height: 0; }
html:not(.phone) .admin-set > * { flex: none; }
html:not(.phone) .admin-set { gap: 8px; }
html:not(.phone) .admin-set > .keypad { flex: 0 1 auto; gap: 8px; grid-template-rows: repeat(4, minmax(36px, 58px)); min-height: calc(4 * 36px + 3 * 8px); }
html:not(.phone) .admin .keypad .key { min-height: 0; }
html:not(.phone) .admin #grantAmount { min-height: 0; height: 50px; padding-top: 0; padding-bottom: 0; }
html:not(.phone) .admin #grantBtn { min-height: 54px; }
html:not(.phone) .admin .grant-presets .btn { min-height: 40px; }

/* ===== Rangliste: Art (Guthaben, größter Gewinn, größter Verlust) und darunter der Zeitraum ===== */
.sheet.rank .sheet-head { flex-wrap: wrap; }
.rk-period { order: 3; width: 100%; }
.rk-period button:disabled { opacity: .35; }
html:not(.phone) .rk-period { width: auto; margin-left: auto; }

/* ===== Bonus: Glücksrad, Aufgaben, Lotterie, Woche (js/bonus-anzeige.js) ===== */
.icon-btn { position: relative; }
.ib-dot { position: absolute; top: 3px; right: 3px; width: 11px; height: 11px; border-radius: 50%; background: var(--bad); box-shadow: 0 0 0 2px var(--ground); animation: dotPulse 1.6s ease-in-out infinite; }
.pb .ib-dot { top: 6px; right: calc(50% - 32px); }
@keyframes dotPulse { 50% { transform: scale(1.25); } }
/* Leiste in der Spielauswahl */
.lobby-bonus { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lb-tile {
  -webkit-appearance: none; appearance: none; position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto;
  align-items: center; column-gap: 10px; min-height: 66px; padding: 8px 14px; border-radius: 16px; border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, .32); color: var(--ink); font: inherit; text-align: left; cursor: pointer; touch-action: manipulation;
  transition: transform .12s ease, background-color .15s ease;
}
.lb-tile:active { transform: scale(.97); background: var(--surface-3); }
.lb-ico { grid-row: 1 / 3; font-size: 1.7rem; line-height: 1; }
.lb-name { font-weight: 800; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-sub { font-family: var(--f-num); font-weight: 700; font-size: .86rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-tile.ready { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 180, 94, .16), 0 0 22px rgba(246, 223, 156, .18); }
.lb-tile.ready .lb-sub { color: var(--gold-hi); }
.lb-tile.ready .lb-ico { animation: radWobble 2.4s ease-in-out infinite; }
@keyframes radWobble { 0%, 70%, 100% { transform: none; } 80% { transform: rotate(-14deg); } 90% { transform: rotate(10deg); } }
/* Happy Hour oben und Meldungen */
.hh-pill { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--gold-ink); font: 800 .92rem/1 var(--f-num); white-space: nowrap;
  box-shadow: 0 0 18px rgba(246, 223, 156, .35); animation: hhGlow 2s ease-in-out infinite; }
.hh-pill span:last-child { font-variant-numeric: tabular-nums; }
@keyframes hhGlow { 50% { box-shadow: 0 0 26px rgba(246, 223, 156, .6); } }
/* Fenster */
.sheet.bonus { width: min(880px, calc(100% - 48px)); }
.bn-page[hidden] { display: none; }
.bn-page { display: flex; flex-direction: column; gap: 12px; min-height: 0; overflow-y: auto; }
.bn-h { margin: 0; font-size: 1rem; color: var(--gold-hi); }
.bn-text { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.4; }
.bn-muted { margin: 0; color: var(--ink-3); font-size: .88rem; line-height: 1.35; }
.bn-muted:empty { display: none; }
/* Glücksrad */
.rad-wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: center; padding: 8px 4px 4px; }
.rad-box { position: relative; width: 330px; height: 330px; margin: 16px 10px 6px; }
.rad-disc { position: absolute; inset: 0; border-radius: 50%; will-change: transform;
  box-shadow: 0 0 0 7px var(--gold-lo), 0 0 0 9px var(--gold), 0 0 0 16px rgba(217, 180, 94, .14), 0 20px 44px rgba(0, 0, 0, .6); }
.rad { display: block; width: 100%; height: 100%; }
.rad path { stroke: rgba(246, 223, 156, .55); stroke-width: .7; }
.rad text { font: 800 11px/1 var(--f-num); text-anchor: middle; dominant-baseline: central; }
.rad text.big { font-size: 13px; }
.rad-rim { fill: none; stroke: var(--gold); stroke-width: 2.4; }
.rad-pin { fill: var(--gold-hi); }
.rad-hub { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #2A3A31, #0B1611 70%); box-shadow: 0 0 0 4px var(--gold), 0 6px 14px rgba(0, 0, 0, .55); }
.rad-hub::after { content: "€"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold-hi); font: 800 1.6rem/1 var(--f-num); }
.rad-ptr { position: absolute; left: 50%; top: -22px; width: 0; height: 0; margin-left: -17px; border-left: 17px solid transparent; border-right: 17px solid transparent;
  border-top: 34px solid var(--gold-hi); filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .55)); }
.rad-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rad-side .seg { align-self: flex-start; }
.rad-side .btn.big { min-height: 64px; font-size: 1.25rem; }
.rad-win { margin: 0; font: 800 2.2rem/1.1 var(--f-num); color: var(--ok); animation: pop .5s ease-out both; }
.rad-win[data-s="none"] { color: var(--ink-3); font-size: 1.5rem; }
/* v367: Tagesrad mit Einsatz – Einsatz über zwei Walzen (Vorlage des Besitzers: Auswahl wie beim Wecker des iPhones): Euro und Cent, einrastend, Mitte hervorgehoben.
   Oben und unten so viel Luft, dass jede Zeile in die Mitte kann (scrollTop = Wert × Zeilenhöhe, bonus-anzeige.js rtColTo) */
.rt-stake { display: flex; flex-direction: column; }
.rt-pick { --rt-h: 36px; --rt-n: 5; position: relative; display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; max-width: 340px;
  height: calc(var(--rt-h) * var(--rt-n)); user-select: none; -webkit-user-select: none; }
.rt-pick::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: var(--rt-h); transform: translateY(-50%); border-radius: 10px;
  background: rgba(246, 223, 156, .09); border: 1px solid rgba(217, 180, 94, .42); pointer-events: none; }
.rt-col { position: relative; width: 54px; height: 100%; box-sizing: border-box; padding: calc(var(--rt-h) * (var(--rt-n) - 1) / 2) 0; overflow-x: hidden; overflow-y: scroll;
  scroll-snap-type: y mandatory; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: none; scrollbar-width: none; outline: none; }
.rt-col::-webkit-scrollbar { display: none; }
.rt-col:focus-visible { box-shadow: 0 0 0 2px var(--gold); border-radius: 8px; }
.rt-it { display: flex; align-items: center; justify-content: center; height: var(--rt-h); scroll-snap-align: center; color: var(--ink); font: 700 1.35rem/1 var(--f-num);
  cursor: pointer; }
.rt-sep, .rt-cur { position: relative; color: var(--ink); font: 700 1.35rem/1 var(--f-num); }
.rt-cur { margin-left: 6px; }
.rt-pick.off { opacity: .45; pointer-events: none; }
/* Aufgaben und Abzeichen */
.task-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.task { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px 16px; border-radius: 14px;
  background: var(--surface-2); border: 1px solid transparent; }
.task.done { background: var(--ok-bg); border-color: rgba(76, 213, 151, .45); }
.task-ico { font-size: 1.6rem; line-height: 1; }
.task-txt { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.task-txt b { font-size: 1.02rem; }
.task-bar { display: block; height: 8px; border-radius: 999px; background: rgba(0, 0, 0, .38); overflow: hidden; }
.task-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); transition: width .4s ease; }
.task.done .task-bar i { background: var(--ok); }
.task-side { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; white-space: nowrap; }
.task-pay { font: 800 1.1rem/1 var(--f-num); color: var(--gold-hi); }
.task-n { font-size: .85rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.task.done .task-n { color: var(--ok); font-weight: 700; }
.task.get { background: linear-gradient(180deg, rgba(217, 180, 94, .16), var(--surface-2)); border-color: var(--gold); }
.task.get .task-bar i { background: linear-gradient(90deg, var(--gold), var(--gold-hi)); }
.task-txt b small { font-weight: 600; font-size: .8em; color: var(--ink-3); }
.btn.task-get { min-height: 38px; padding: 4px 16px; font-size: .95rem; animation: taskGlow 1.8s ease-in-out infinite; }
@keyframes taskGlow { 50% { box-shadow: 0 0 0 4px rgba(246, 223, 156, .32), 0 0 16px rgba(246, 223, 156, .35); } }
.btn.task-get:disabled { animation: none; }
.seg button { position: relative; }
.seg .tab-dot { top: 2px; right: 2px; width: 9px; height: 9px; }
.win-get { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.win-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px;
  border: 1px solid var(--gold); background: linear-gradient(180deg, rgba(217, 180, 94, .16), var(--surface-2)); }
.win-ico { font-size: 1.8rem; line-height: 1; }
.win-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.win-txt b { font-size: 1.05rem; }
.win-txt small { font-size: .82rem; color: var(--ink-3); }
/* Monatspass (v35) über den Aufgaben */
.pass-box[hidden] { display: none; }
.pass-box { display: flex; flex-direction: column; gap: 6px; }
.pass-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px 16px; border-radius: 14px;
  border: 1px solid var(--gold); background: linear-gradient(180deg, rgba(217, 180, 94, .16), var(--surface-2)); }
.pass-row.ok { border-color: rgba(76, 213, 151, .45); background: var(--ok-bg); }
.pass-ico { font-size: 1.6rem; line-height: 1; }
.pass-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pass-txt b { font-size: 1rem; }
.pass-txt small { font-size: .8rem; color: var(--ink-3); }
.task.locked { opacity: .6; }
.pass-dlg[hidden] { display: none; }
.pass-dlg { position: absolute; inset: 0; z-index: 6; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(0, 0, 0, .6); border-radius: inherit; }
.pass-card { display: flex; flex-direction: column; gap: 10px; width: min(460px, 100%); padding: 16px 18px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--gold); box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
.pass-h { font-size: 1.1rem; }
.pass-sub { font-size: .8rem; color: var(--ink-3); }
.pass-opt { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--surface-2); }
.pass-opt .btn { min-height: 40px; padding: 4px 18px; }
.pass-cancel { align-self: center; }
.btn.pass-open { min-height: 40px; padding: 4px 16px; font-size: .95rem; white-space: nowrap; }
html.phone .btn.pass-open { grid-column: 1 / -1; }
html.phone .pass-row { grid-template-columns: auto minmax(0, 1fr); gap: 10px; padding: 8px 10px; }
/* Lotterie und Woche */
.los-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 16px; align-items: stretch; }
.los-pot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 16px; border-radius: 18px; text-align: center;
  background: radial-gradient(ellipse 95% 85% at 50% 28%, var(--felt-hi) 0%, var(--felt) 46%, var(--felt-lo) 100%);
  box-shadow: inset 0 0 0 3px var(--gold), inset 0 0 0 6px rgba(0, 0, 0, .35), inset 0 0 44px rgba(0, 0, 0, .38); }
.los-pot b { font: 800 2.4rem/1 var(--f-num); color: var(--gold-hi); text-shadow: 0 2px 4px rgba(0, 0, 0, .5); }
.los-pot .bn-muted { color: var(--ink-2); }
.los-mine { display: flex; flex-direction: column; justify-content: center; gap: 10px; min-width: 0; }
.los-wahl { display: flex; align-items: center; justify-content: center; gap: 18px; }   /* v413: Betrag über die Walzen, daneben groß die Chance danach */
.los-wahl > div { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.rt-pick.los-pick { --rt-n: 3; width: 170px; max-width: 170px; }
.los-chance { min-width: 120px; }
.los-chance b { font: 800 2.6rem/1 var(--f-num); color: var(--gold-hi); text-shadow: 0 2px 4px rgba(0, 0, 0, .5); }
.los-hint { text-align: center; }
.bn-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.bn-row { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 6px 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid transparent; }
.bn-row.me { border-color: var(--gold); }
.bn-pos { flex: none; width: 28px; text-align: center; font: 800 1.05rem/1 var(--f-num); color: var(--ink-3); }
.bn-name { flex: 1 1 auto; min-width: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bn-name em { font-style: normal; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: rgba(217, 180, 94, .18); color: var(--gold-hi); font-size: .75rem; }
.bn-sub { flex: none; color: var(--ink-3); font-size: .85rem; font-variant-numeric: tabular-nums; }
.bn-val { flex: none; font: 800 1.08rem/1 var(--f-num); font-variant-numeric: tabular-nums; color: var(--ink); }
.bn-val[data-s="up"] { color: var(--ok); }
.bn-val[data-s="down"] { color: var(--bad); }
.bn-val[data-s="zero"] { color: var(--ink-3); }
.rk-badges { margin-left: 4px; font-size: .9rem; letter-spacing: 1px; }
.rk-badges i { font-style: normal; }
/* Handy */
html.phone .lobby-bonus { gap: 6px; }
html.phone .lb-tile { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; justify-items: center; row-gap: 2px; min-height: 0; padding: 7px 4px; text-align: center; border-radius: 13px; }
html.phone .lb-ico { grid-row: auto; font-size: 1.25rem; }
html.phone .lb-name { font-size: .78rem; }
html.phone .lb-sub { font-size: .68rem; max-width: 100%; }
html.phone .hh-pill { height: 30px; padding: 0 10px; font-size: .78rem; gap: 5px; }
html.phone .hh-pill b { display: none; }
html.phone .sheet.bonus { gap: 10px; }
html.phone .rad-wrap { grid-template-columns: minmax(0, 1fr); gap: 10px; justify-items: center; padding: 0; }
html.phone .rad-box { width: 214px; height: 214px; margin: 20px 0 2px; }
html.phone .rad-hub { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
html.phone .rad-hub::after { font-size: 1.2rem; }
html.phone .rad-ptr { top: -18px; margin-left: -13px; border-left-width: 13px; border-right-width: 13px; border-top-width: 26px; }
html.phone .rad-side { width: 100%; gap: 8px; text-align: center; }
html.phone .rad-side .seg { align-self: stretch; }
html.phone .rad-side .btn.big { min-height: 52px; font-size: 1.1rem; }
html.phone .rad-win { font-size: 1.7rem; }
html.phone .rt-pick { --rt-h: 28px; --rt-n: 3; max-width: none; }   /* v369: am Handy drei Zeilen – der Knopf passt auch mit den Rändern der App (Bild des Besitzers) */
html.phone .rt-it, html.phone .rt-sep, html.phone .rt-cur { font-size: 1.2rem; }
html.phone .bn-page.rt .rad-box { width: 176px; height: 176px; margin: 16px 0 0; }   /* v367: Tagesrad mit Einsatz – Rad etwas kleiner, Beträge und Knopf ohne Scrollen */
@media (max-height: 740px) { html.phone .bn-page.rt .rad-box { width: 150px; height: 150px; margin: 14px 0 0; } }
html.phone .bn-text { font-size: .9rem; }
html.phone .bn-muted { font-size: .8rem; }
html.phone .task { gap: 10px; padding: 8px 10px; }
html.phone .task-ico { font-size: 1.25rem; }
html.phone .task-txt b { font-size: .88rem; }
html.phone .task-pay { font-size: .95rem; }
html.phone .task-n { font-size: .75rem; }
html.phone .btn.task-get { min-height: 36px; padding: 2px 12px; font-size: .85rem; }
html.phone .win-row { gap: 10px; padding: 10px 12px; }
html.phone .win-ico { font-size: 1.4rem; }
html.phone .win-txt b { font-size: .9rem; }
html.phone .los-top { grid-template-columns: minmax(0, 1fr); gap: 10px; }
html.phone .los-pot { flex-direction: row; flex-wrap: wrap; padding: 10px 12px; gap: 4px 12px; }
html.phone .los-pot b { font-size: 1.7rem; }
html.phone .bn-row { min-height: 40px; padding: 4px 12px; gap: 8px; }
html.phone .bn-val { font-size: .95rem; }
html.phone .admin-head { flex-wrap: wrap; }
html.phone .admin-head h2 { flex: 1 1 auto; }                            /* v262 (Bild des Besitzers): „Zurück“ oben rechts neben „Admin“, die Reiter darunter */
/* v263 (Bild des Besitzers vom iPad: „der Zurück-Button soll auf die rechte Seite“): am iPad eine Zeile – „Admin“, die Reiter (werden sie zu breit, lassen sie sich wischen),
   „Zurück“ ganz rechts; am Handy bleibt „Zurück“ oben rechts neben „Admin“ */
.admin-head #adminBackBtn { order: 3; margin-left: auto; }
html.phone .admin-head #adminBackBtn { order: 1; }
html:not(.phone) .admin-head { flex-wrap: nowrap; }
html:not(.phone) .admin-head h2 { flex: none; }
html:not(.phone) .admin-head .admin-tabs { flex: 0 1 auto; min-width: 0; }
html.phone .pb svg { display: none; }                                      /* vier Knöpfe: nur Text, damit nichts abgeschnitten wird */
html.phone .pb { flex: 1 1 auto; font-size: .84rem; gap: 5px; padding: 0 3px; }   /* Breite nach Inhalt: fünf Knöpfe (mit Chat) passen ohne „Am Tis…“ */
html.phone .pb .ib-dot { top: 5px; right: 4px; }
/* Punkt bei „Bonus“ hochgestellt rechts neben dem Wort (seit v133): im Fluss, aber ohne eigene Breite (Ränder heben Lücke und Breite auf),
   Platz dafür hält der rechte Innenabstand frei – so verschiebt sich nichts, wenn der Punkt erscheint */
html.phone #pbBonus { padding-right: 12px; }   /* v223: 1 px mehr Luft hinter dem Punkt (320-px-Handy, viele ungelesene Nachrichten) */
html.phone #pbBonus .ib-dot { position: relative; top: -5px; right: auto; flex: none; width: 8px; height: 8px; margin: 0 -9px 0 -4px; box-shadow: 0 0 0 1.5px var(--ground); }   /* v223: 1 px näher ans Wort – bei vielen ungelesenen Chat-Nachrichten berührte der Punkt fast den Nachbarn (tests/bonus/bonuspunkt.js) */
/* Aufgaben: Tag und Woche nebeneinander (Handy: untereinander) */
.task-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.task-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.task-cols .task { gap: 10px; padding: 8px 12px; }
.task-cols .task-txt b { font-size: .95rem; }
html.phone .task-cols { grid-template-columns: minmax(0, 1fr); gap: 10px; }
/* Spielauswahl: passt immer auf den Bildschirm (auch im vollen Safari-Fenster, wo die Bühne schmaler ist als auf claude.ai) */
.grid:not(.seated) > .area-main:has(#lobbyCard:not([hidden])) { padding-top: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }   /* oben bündig mit „Im Casino“; zu hoch: schieben statt abschneiden */
.lobby { gap: 12px; padding-block: 16px; }
.lobby .game-tile { min-height: 0; padding-block: 18px 16px; }
.lobby .gt-art { height: 128px; }
html.phone .lobby .gt-art { height: 104px; }
/* Handy: Name, Guthaben und „Abmelden“ in einer Zeile – „Guthaben“ klein über dem Betrag */
html.phone .lobby-head { flex-wrap: nowrap; gap: 8px; }
html.phone .lobby-hello { font-size: 1.25rem; }
html.phone .card .lobby-bal { flex: none; flex-direction: column; align-items: flex-end; justify-content: center; gap: 1px; min-height: 42px; padding: 4px 10px; border-radius: 12px; }
html.phone .lobby-bal .wal-label { font-size: .56rem; }
html.phone .lobby-bal .balance { font-size: 1.15rem; line-height: 1.1; }
html.phone #lobbyLeaveBtn { flex: none; min-height: 42px; padding: 4px 10px; font-size: .85rem; }
/* Spielauswahl: unter jedem Spiel „Zuschauen“ (Handy: klein oben rechts in der Kachel – kein Platz darunter) */
.gt-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.gt-col > .game-tile { flex: 1 1 auto; }
.gt-col:has(> .game-tile[hidden]) { display: none; }
.gt-watch { align-self: stretch; min-height: 38px; padding: 4px 18px; font-size: .92rem; }
html.phone .gt-col { position: relative; gap: 0; }
html.phone .gt-watch { position: absolute; top: 8px; right: 8px; left: auto; width: auto; z-index: 1; min-height: 36px; padding: 4px 14px; font-size: .86rem; border-radius: 999px; background: rgba(0, 0, 0, .45); }
/* Home-Bildschirm-App: der sichere Rand oben steckt schon in --fst */
html.standalone .toasts { top: calc(70px + var(--fst)); }

/* ===== Admin: Reiter „Übersicht“ – System- und Spieldaten ===== */
.admin-head .admin-tabs { flex: none; }
.admin-head h2 { margin-right: 4px; }
/* fünf Reiter (mit Ansage und Turnier): Reiter in eine eigene Zeile */
.admin-head { flex-wrap: wrap; row-gap: 12px; }
.admin-head .admin-tabs { order: 2; }
.admin-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; max-height: calc(var(--lh) * .7); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding-right: 4px; }
.ai-col { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ai-col h3 { margin: 0 0 2px; font-family: var(--f-display); font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-hi); }
.ai-list { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.ai-sub { margin: 10px 0 2px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3, var(--ink-2)); }
.ai-row { display: grid; grid-template-columns: minmax(110px, 38%) minmax(0, 1fr); gap: 10px; padding: 6px 10px; border-radius: 10px; background: rgba(0, 0, 0, .22); }
.ai-row dt { margin: 0; color: var(--ink-2); font-size: .9rem; }
.ai-row dd { margin: 0; color: var(--ink); font-size: .92rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ai-row[data-s="ok"] dd { color: var(--ok); }
.ai-row[data-s="warn"] { background: rgba(214, 120, 40, .16); }
.ai-row[data-s="warn"] dd { color: #f2b27a; }
.ai-stamp { grid-column: 1 / -1; margin: 0; font-size: .8rem; color: var(--ink-2); }
html.phone .admin-info { grid-template-columns: minmax(0, 1fr); max-height: none; }
html.phone .admin-head .admin-tabs { order: 2; flex: 1 1 100%; }
html.phone .ai-row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
.ai-row dd small { display: block; margin-top: 2px; font-size: .8rem; color: var(--ink-2); }
/* v425: Einstellungen der Leitung in Admin → Übersicht – Wert rechts, daneben „Ändern“; Fenster mit Walzen (js/einstellungen.js) */
.cfg-row dd { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.cfg-v { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.cfg-v b { font-weight: 700; }
.cfg-btn { flex: none; width: auto; min-height: 34px; padding: 4px 12px; font-size: .85rem; }
#cfgNote.bad { color: var(--bad); font-weight: 700; }   /* r16: Fehler beim Übernehmen stehen im Fenster */
/* royal-round r22: Werkszustand per Knopf (js/werkszustand.js) – Liste im Fenster kompakt (passt am iPhone ganz ins Bild), ein Fehler steht rot im Fenster */
.wsz-list .ai-row.ov-row { min-height: 0; padding: 7px 12px; }
#wszNote.bad { color: var(--bad); font-weight: 700; }
.nk-cfg { margin-top: 6px; }                                          /* royal-round r12/r14: Schalter kb und ap im Reiter „Konten“ (wie „Sag mir Bescheid“) */
.nk-sw .pf-swt b { color: var(--ink); font-weight: 700; font-size: .92rem; }
.nk-sw .pf-swt small { font-size: .8rem; font-weight: 400; color: var(--ink-2); }
.nk-sw .pf-swt small.bad { color: var(--bad); }
.nk-sw:has(input:disabled) { cursor: default; }
/* v432 (Besitzer am 21.11.2026: „Die Übersichtsseite sieht auf iPad nicht so ordentlich aus“): Admin → Übersicht – jede Karte gleich gebaut und gleich hoch: links der Name in
   einer Zeile, darunter klein, wofür der Wert gilt und ab wann; rechts der Wert und „Ändern“, alles auf einer Mittellinie (iPad zwei Spalten, Handy eine) – js/admin-uebersicht.js ovRow */
.ai-row.ov-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; min-height: 58px; padding: 8px 12px; }
html.phone .ai-row.ov-row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; }
.ov-row dt { display: flex; flex-direction: column; gap: 2px; min-width: 0; color: var(--ink); }
.ov-row dt b { font-weight: 700; font-size: .95rem; line-height: 1.2; }
.ov-row dt small { font-size: .76rem; line-height: 1.3; color: var(--ink-3, var(--ink-2)); }
.ov-row dd { display: flex; align-items: center; justify-content: flex-end; gap: 10px; overflow-wrap: normal; }
.ov-v { font-weight: 700; font-size: 1rem; white-space: nowrap; text-align: right; }
/* royal-round r20: in den Einstellungen hat der Name Vorrang – ein langer Wert („ohne Obergrenze“) bricht in der halben Breite am iPad bzw. am schmalen Handy um, statt den Namen abzuschneiden */
.ai-row.ov-row.cfg-row, html.phone .ai-row.ov-row.cfg-row { grid-template-columns: minmax(min-content, 1fr) auto; }
.cfg-row .ov-v { white-space: normal; line-height: 1.15; }
#aiGame, #aiCfg { align-items: stretch; }                             /* Karten einer Reihe gleich hoch */
.ai-wide .ai-list > .ov-full, .ai-wide .ai-list > .ov-note { grid-column: 1 / -1; }   /* Startguthaben, Wochenbonus, Grundstock über die ganze Breite: Angaben in einer Zeile, Betrag und Knopf bündig mit der rechten Spalte */
.ov-note { margin: -4px 0 2px; font-size: .78rem; line-height: 1.3; color: var(--ink-3, var(--ink-2)); }
.cfg-pick .rt-col { width: 64px; }

/* ===== Blackjack: Name und (Handy, Zuschauen) Kontostand darunter ===== */
.bj-name .bj-nm { display: block; overflow: hidden; text-overflow: ellipsis; }
.bj-name .bj-bal { display: block; font-size: .72rem; font-weight: 700; color: var(--gold-hi); font-variant-numeric: tabular-nums; line-height: 1.15; }
.bj-seat.wb .bj-name { padding: 2px 8px 3px; border-radius: 10px; text-align: center; }
html.phone .bj-seat.wb .bj-timer { top: 66px; }

/* ===== Admin: zu hoch für den Bildschirm – schieben statt abschneiden; am Handy alle Konten zeigen ===== */
.grid:not(.seated) > .area-main:has(#adminCard:not([hidden])) { overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
/* v246 (Bild des Besitzers vom iPad: „die großen Panels sind nicht bündig“): Spielauswahl und Admin-Bereich füllen die Mitte – oben und unten bündig mit
   „Im Casino“ (vorher endete die Spielauswahl früher, der Admin-Bereich begann 3 % tiefer); ist der Inhalt höher, schiebt die Mitte wie bisher.
   v247 (Bild des Besitzers: „so langgezogen sieht das auch nicht gut aus“ – v246 gab den freien Platz den Bildern der Kacheln): die Kacheln behalten ihre Größe,
   der freie Platz verteilt sich gleichmäßig unter Kopf, Kacheln und Bonus-Reihe (Auto-Ränder; „Spiel wählen“ bleibt direkt über den Kacheln) */
html:not(.phone) .grid:not(.seated) > .area-main:has(#adminCard:not([hidden])) { padding-top: 0; }
html:not(.phone) .grid:not(.seated) > .area-main > #lobbyCard,
html:not(.phone) .grid:not(.seated) > .area-main > #adminCard { flex: 1 0 auto; }
html:not(.phone) #lobbyCard > .lobby-head,
html:not(.phone) #lobbyCard > .lobby-games,
html:not(.phone) #lobbyCard > .lobby-bonus { margin-bottom: auto; }
/* Handy: Dealer-Summe nicht unter den Karten – sonst stößt sie an die Summen der Spielerhände. Seit Seite v224 (Bild des Besitzers: „gefällt mir nicht, wie es neben
   den Karten steht“) über den Karten an der Stelle von „Dealer“ – wie die Summe der eigenen Hand über deren Karten; „Dealer“ tritt so lange zurück (bis v223 rechts daneben) */
html.phone .bj-dealer .bj-val { position: absolute; left: 50%; top: .47rem; margin: 0; transform: translate(-50%, -50%) translateZ(0); z-index: 2; }
html.phone .bj-dealer:has(> .bj-val:not([hidden])) > .bj-label { visibility: hidden; }
/* Handy am Platz: der Filz ist niedrig, die Summen der Hände liegen auf dem Schriftzug – solange Karten liegen, tritt er zurück */
html.phone.seated .bj-arc { transition: opacity .4s ease; }
html.phone.seated .bj-felt.dealt .bj-arc { opacity: .28; }
html.phone.typing .rotate { display: none !important; }
/* Chat mit offener Tastatur: die ganze untere Leiste weg (samt ihrem Kasten – nur die Knöpfe auszublenden ließ einen leeren
   Kasten über dem Eingabefeld stehen), das Chat-Fenster liegt zur Sicherheit darüber */
html.phone.chat-kb .area-players { visibility: hidden; }
html.phone.chat-kb .chat-box { z-index: 89; }
/* Handy: Blackjack-Regeln ohne Scrollen – schmalere Zug-Spalte, damit die Erklärungen seltener umbrechen */
html.phone .help-page[data-t="b"] .help-pay td:first-child { width: 27%; }
html.phone .help-page[data-t="b"] .help-pay td { line-height: 1.24; }
/* Handy: Überschrift der Regel-Abschnitte vorn in der Zeile („Ziel  Näher an 21 …“) – spart je eine Zeile */
html.phone .help-text h3 { float: left; clear: left; margin: 0 .4em 0 0; font-size: .8rem; line-height: 1.03rem; }
html.phone .help-text h3:not(:first-child) { margin-top: 0; }
html.phone .help-text p { line-height: 1.03rem; }
html.phone .help-text p:not(:last-child) { margin-bottom: 6px; }
.bj-seat.me .bj-bal { color: var(--gold-ink); }
/* Admin, Reiter „Aktivität“: links Gesamt und die Konten, rechts die Einzelheiten */
.admin-akt { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 10px; height: calc(var(--lh) * .68); min-height: 0; }
.ak-pick { display: flex; align-items: center; gap: 10px; }
select { touch-action: manipulation; -webkit-user-select: auto; user-select: auto; }   /* v329: ohne Wartezeit auf einen zweiten Tipp */
.ak-pick span { color: var(--ink-2); font-weight: 700; }
.ak-pick select { flex: 0 1 320px; min-width: 0; min-height: 44px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .35); color: var(--gold-hi); font: inherit; font-weight: 700; }   /* v327: Auswahl des Systems */
.ak-main { min-width: 0; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding-right: 4px; }
.ak-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; align-items: start; }
.ak-row { cursor: pointer; }
.ak-row:hover, .ak-row:focus-visible { outline: 1px solid var(--gold); }
html.phone .admin-akt { grid-template-rows: auto; height: auto; gap: 10px; }
html.phone .ak-pick select { flex: 1 1 auto; }
html.phone .ak-main { overflow: visible; }
html.phone .ak-cols { grid-template-columns: minmax(0, 1fr); }
/* Aktivität: Diagramme (Säulen je Tag, Zeitstrahl, Uhrzeit, Ergebnis) – feine Linien, Werte im Hinweis und in der Tabelle */
.ak-charts { position: relative; flex: none; }
.ak-chart-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ak-chart { margin: 0; min-width: 0; padding: 10px 12px 8px; border-radius: 12px; background: rgba(0, 0, 0, .22); touch-action: pan-y; }   /* v344: waagerecht wischen liest die Grafik, senkrecht schiebt die Seite */
.ak-chart.wide { grid-column: 1 / -1; }
.ak-chart figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-bottom: 4px; }
.ak-chart figcaption b { color: var(--ink); font-size: .95rem; }
.ak-chart figcaption span { color: var(--ink-2); font-size: .8rem; }
.ak-leg { display: flex; flex-wrap: wrap; gap: 3px 12px; margin: 0 0 4px; font-size: .8rem; color: var(--ink-2); }
.ak-leg i { display: inline-block; width: 10px; height: 10px; margin-right: 5px; border-radius: 2px; vertical-align: -1px; }
.ak-svg { display: block; max-width: 100%; overflow: visible; font-family: var(--f-body); }
.ak-grid { stroke: rgba(255, 255, 255, .07); stroke-width: 1; }
.ak-grid.base { stroke: rgba(255, 255, 255, .2); }
.ak-ax { fill: var(--ink-3); font-size: 10.5px; font-variant-numeric: tabular-nums; }
.ak-ax.now { fill: var(--ink-2); font-weight: 700; }
.ak-val { fill: var(--ink); font-size: 11px; font-weight: 700; }
.ak-lab { fill: var(--ink-2); font-size: 11px; }
.ak-now { stroke: var(--gold); stroke-width: 1.5; }
.ak-hit { fill: transparent; cursor: pointer; outline: none; }
.ak-hit.on, .ak-hit:focus-visible { fill: rgba(255, 255, 255, .07); }
.ak-tip { position: absolute; z-index: 5; pointer-events: none; display: flex; flex-direction: column; gap: 3px; min-width: 130px; max-width: 250px; padding: 8px 10px; border-radius: 10px; background: #08120D; border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: .82rem; }
.ak-tip[hidden] { display: none; }
html.phone .ak-ax { font-size: 11.5px; }
html.phone .ak-val, html.phone .ak-lab { font-size: 12px; }
html.phone .ak-tip { font-size: .9rem; max-width: 92%; }
html.phone .ak-tip b { font-size: .84rem; }
.ak-tip b { color: var(--ink-2); font-size: .78rem; font-weight: 700; }
.ak-tr { display: flex; align-items: center; gap: 7px; }
.ak-tr i { flex: none; width: 12px; height: 2px; border-radius: 1px; }
.ak-tr strong { color: var(--ink); font-weight: 700; }
.ak-tr em { font-style: normal; color: var(--ink-2); }
.ak-empty { margin: 14px 0; color: var(--ink-3); font-size: .85rem; }
/* royal-round r15: Ergebnis des Casinos im gewählten Zeitraum, über den Balken von „Ergebnis je Spieler“ */
.ak-haus { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 6px 0 8px; padding: 8px 12px; border-radius: 10px; background: rgba(0, 0, 0, .22); }
.ak-haus span { color: var(--ink); font-weight: 700; font-size: .92rem; }
.ak-haus b { font-size: 1.02rem; font-variant-numeric: tabular-nums; }
html.phone .ak-chart-body { grid-template-columns: minmax(0, 1fr); }
.ak-sec { grid-column: 1 / -1; margin: 6px 0 -4px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-hi); }
/* Handy, Glücksrad/Rettungsrad: alles ohne Scrollen sichtbar (auch der Hinweis aufs zweite Rad unter dem Knopf) */
html.phone .rad-box { width: 196px; height: 196px; margin: 18px 0 0; }
html.phone .rad-side .bn-h { margin: 0; }
html.phone .rad-side .bn-text { margin: 0; font-size: .86rem; line-height: 1.3; }
html.phone .rad-side .bn-muted { margin: 0; }
/* Kessel-Liste: rechts höchstens gut die Hälfte – Name und Felder links bleiben lesbar (Happy Hour: Zuschlag in eigener Zeile) */
.kv-val { max-width: 58%; text-align: right; }
.kv-hh { color: #f6df9c; }
/* Handy: Kopfzeile wird eng (js/anzeige.js fitTop) – Stufe 1: „Home“ nur als Symbol, 2: Happy Hour und Verbindung
   schmaler, 3: Spielname bzw. Ergebnis der letzten Runde ausblenden. Verbindung als runder Punkt so hoch wie die Happy Hour */
html.phone .net { min-height: 30px; height: 30px; padding: 0 9px; }
html.phone.tf1 #switchBtn .home-t { display: none; }                  /* eng: „Home“ nur als Haus */
html.phone.tf1 #switchBtn { padding: 0 10px; }
html.phone.tf2 .top-tools { gap: 4px; }
html.phone.tf2 .hh-pill { padding: 0 8px; gap: 3px; }
html.phone.tf2 .net { padding: 0 7px; }
html.phone.tf3 .top h1 { display: none; }
html.phone.tf3 .you .wal-label { display: none; }                      /* nur der Betrag (sonst reicht er z. B. mit Turnier und Happy Hour in die Pillen) */
/* 4: lange Beträge (ohne Grenze, ab 1.000 €) mit Turnier und Happy Hour – Betrag kleiner, Pillen enger; 5: dazu ohne Verbindungspunkt
   (eine Störung meldet der Hinweis oben) und der Betrag noch etwas kleiner */
html.phone.tf4 .top-tools { gap: 3px; }
html.phone.tf4 .hh-pill { padding: 0 6px; gap: 2px; }
html.phone.tf4 .you .wal { padding: 2px 7px 2px 8px; }
html.phone.tf4 .you .wal .balance { font-size: .95rem; }
html.phone.tf5 .top-tools .net { display: none; }
html.phone.tf5 .you .wal .balance { font-size: .85rem; }
/* Lange Historie: Zahlen nie stauchen oder halb abschneiden – was nicht mehr in die Zeile passt (die ältesten, rechts), rutscht
   in eine unsichtbare zweite Zeile. Innenabstand, damit der goldene Ring der neuesten Zahl nicht mit abgeschnitten wird. */
.hist-list { flex-wrap: wrap; align-content: flex-start; row-gap: 40px; height: 50px; padding: 6px; margin: -6px; overflow: hidden; }
.hn { flex: none; }
html.phone .round-head .hist-list { height: 42px; row-gap: 40px; }
/* Handy: „1ère / 2ème / 3ème Colonne“ unten am Tisch immer ganz lesbar – Zeile mindestens so hoch wie die zwei Zeilen Text */
html.phone .table { grid-template-rows: minmax(0, .9fr) minmax(0, 12fr) minmax(26px, 1.05fr); }
html.phone .tc.col { line-height: 1.05; }
/* Neue Version (js/anzeige.js renderUpdate): Hinweis oben, solange die eigene Runde noch läuft – danach sperrt ein Fenster
   über dem ganzen Spiel, bis neu gestartet ist */
.upd-bar { margin: 0; padding: 10px 16px; border-radius: 14px; background: #12261C; border: 1px solid var(--gold); color: var(--gold-hi);
  font-weight: 700; font-size: 1rem; text-align: center; box-shadow: var(--shadow); pointer-events: auto; animation: toastIn .25s ease-out both; }
.upd-wall { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(4, 10, 7, .82); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: statsIn .2s ease-out both; }
.upd-card { display: flex; flex-direction: column; align-items: center; gap: 12px; width: min(440px, 100%); padding: 26px 24px 22px; border-radius: 22px;
  background: var(--surface, #12261C); border: 1px solid var(--gold); box-shadow: var(--shadow); text-align: center; }
.upd-ico { font-size: 2.2rem; line-height: 1; color: var(--gold); }
.upd-card h2 { margin: 0; font-family: var(--f-deco); font-size: 1.3rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.upd-card .upd-text { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.4; }
.upd-card .btn { width: 100%; }
.upd-small { margin: 0; color: var(--ink-3); font-size: .85rem; }
html.phone .upd-bar { font-size: .88rem; padding: 8px 12px; }
/* Admin · Guthaben-Verlauf: Zeitraum umschalten */
.ak-seg { display: inline-flex; gap: 2px; margin: 0 0 6px; padding: 2px; border-radius: 999px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line); }
.ak-seg button { min-height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font: 700 .8rem/1 var(--f-body); cursor: pointer; }
.ak-seg button[aria-pressed="true"] { background: var(--gold); color: var(--gold-ink); }
html.phone .ak-seg button { min-height: 40px; padding: 0 14px; }   /* Handy: die Bühne ist verkleinert – sonst nur ~24 px hoch */
/* v343 (Bild des Besitzers vom 11.11.2026: „Diese Graphen sind irgendwie viel zu unübersichtlich“, Entwürfe A und C): Guthaben groß, festes Lesefeld statt schwebendem Kasten
   (mit Linie und Punkt), Rauten für Guthaben der Casino-Leitung, Spielerliste mit kleinem Verlauf. Veränderung (.ak-delta) und höchster/tiefster Stand (.ak-minis) seit v344 weg */
.ak-kpi { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 2px 0 8px; }
.ak-kpi strong { font: 700 1.8rem/1.1 var(--f-num); color: var(--gold-hi); }
/* v344: feste Höhe (eine Zeile, darunter höchstens zwei) – beim Wischen wechselt der Text bei jeder Stufe, die Grafik darunter darf dabei nicht springen */
.ak-read { height: calc(3.2rem + 15px); overflow: hidden; margin: 2px 0 6px; padding: 6px 10px; border-radius: 10px; background: rgba(217, 180, 94, .08); border: 1px solid rgba(217, 180, 94, .22); color: var(--ink-2); font-size: .84rem; }
.ak-read .r1, .ak-read .r2 { display: block; }
.ak-read .r1 { line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ak-read b { color: var(--ink); }
.ak-read .r2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 1px; color: var(--ink-3); font-size: .78rem; line-height: 1.3; }
.ak-read .r2:empty { display: none; }
.ak-read ~ .ak-svg .ak-hit.on { fill: transparent; }                  /* die Stelle zeigt die Linie mit Punkt */
.ak-guide line { stroke: var(--gold-hi); stroke-width: 1; stroke-dasharray: 3 3; }
.ak-guide circle { fill: var(--gold-hi); stroke: #0E1D16; stroke-width: 2; }
.ak-dia { fill: var(--gold); stroke: #0E1D16; stroke-width: 1.5; }
.ak-leg2 { margin: 4px 0 0; color: var(--ink-3); font-size: .76rem; }
.ak-leg2 i { display: inline-block; width: 8px; height: 8px; margin: 0 7px 0 2px; background: var(--gold); transform: rotate(45deg); }
.ak-prows { display: flex; flex-direction: column; }
.ak-prow { display: grid; grid-template-columns: 8px minmax(0, 96px) minmax(0, 1fr) 76px 10px; align-items: center; gap: 8px; min-height: 44px; border-top: 1px solid rgba(255, 255, 255, .06); cursor: pointer; }
.ak-prow:first-child { border-top: 0; }
.ak-prow:hover, .ak-prow:focus-visible { outline: none; background: rgba(255, 255, 255, .04); }
.ak-pdot { width: 8px; height: 8px; border-radius: 50%; }
.ak-pnm { overflow: hidden; color: var(--ink); font-weight: 700; font-size: .92rem; white-space: nowrap; text-overflow: ellipsis; }
.ak-spark { display: block; max-width: 100%; }
.ak-pval { text-align: right; line-height: 1.15; }
.ak-pval b { display: block; color: var(--ink); font: 700 .95rem/1.15 var(--f-num); }
.ak-pval em { color: var(--ink-3); font-style: normal; font-weight: 700; font-size: .76rem; }
.ak-pval em.up { color: var(--ok); }
.ak-pval em.down { color: var(--bad); }
.ak-pchev { color: var(--ink-3); }
.ak-more { display: block; width: 100%; margin-top: 4px; padding: 10px 0 2px; border: 0; border-top: 1px solid rgba(255, 255, 255, .06); background: none; color: var(--gold-hi); font: 700 .86rem/1.2 var(--f-body); cursor: pointer; }
/* „Home“ oben rechts (im Spiel und beim Zuschauen) */
.home-btn { display: inline-flex; align-items: center; gap: 7px; }
.home-btn svg { flex: none; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Handy, Blackjack: Ergebniszeile „Du verlierst …“ wie beim Roulette ausblenden – das Ergebnis steht groß im Banner, und
   neben „Runde …“ und „Runde vorbei“ ist kein Platz (lief rechts aus dem Bild). Lange Namen („… ist dran“) kürzen statt überlaufen */
html.phone #bjMsg { display: none; }
html.phone .bj-board .round-head .phase { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* ===== Meine Statistik (js/meine-statistik.js): Kennzahlen und Guthaben-Verlauf wie im Admin-Bereich ===== */
.sheet.mystat { width: min(880px, calc(100% - 48px)); }
.rk-mine { flex: none; align-self: center; width: auto; }
.rk-mine[hidden] { display: none; }
.ms-body { min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.ms-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ms-tile { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, .22); }
.ms-k { color: var(--ink-3); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ms-v { color: var(--ink); font-size: 1.3rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ms-v[data-s="up"] { color: var(--ok); }
.ms-v[data-s="down"] { color: var(--bad); }
.ms-tile small { color: var(--ink-2); font-size: .78rem; }
html.phone .ms-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
html.phone .ms-tile { padding: 8px 10px; }
html.phone .ms-v { font-size: 1.1rem; }
/* Seite v234: Ergebnis je Spiel (Statistik-Archiv) – je Spiel eine Zeile, rechts das Ergebnis */
.ms-games { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.ms-games li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 7px 2px; border-top: 1px solid var(--line); }
.ms-games li:first-child { border-top: 0; }
.ms-games b { grid-column: 1; color: var(--ink); font-size: .95rem; }
.ms-games small { grid-column: 1; color: var(--ink-2); font-size: .78rem; overflow-wrap: anywhere; }
.ms-games em { grid-column: 2; grid-row: 1 / span 2; font-style: normal; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
.ms-games em[data-s="up"] { color: var(--ok); }
.ms-games em[data-s="down"] { color: var(--bad); }
.ms-games li.sum { border-top: 1px solid var(--line-2); }
.ms-games li.sum b { color: var(--gold-hi); }

/* ===== Ansagen der Casino-Leitung (js/ansage.js): schmale Zeilen oben, Admin-Reiter „Ansage“ ===== */
.ann-list { display: flex; flex-direction: column; gap: 6px; width: 100%; align-items: center; pointer-events: none; }
.ann-list[hidden] { display: none; }
.ann-bar { display: flex; align-items: center; gap: 10px; max-width: 100%; margin: 0; padding: 7px 7px 7px 14px; border-radius: 14px; background: #12261C;
  border: 1px solid var(--gold); color: var(--ink); font-size: .98rem; box-shadow: var(--shadow); pointer-events: auto; animation: toastIn .25s ease-out both; }
.ann-ico { flex: none; }
.ann-txt { flex: 1; min-width: 0; color: var(--gold-hi); font-weight: 700; overflow-wrap: anywhere; }
.ann-x { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); font: inherit; font-size: .85rem; cursor: pointer; }
/* Als Zeile in der Kopfzeile (js/ansage.js): Handy eigene Reihe über die ganze Breite, iPad in der Mitte (wo sonst die Zahlen stehen) */
.top > .ann-list.line { position: relative; grid-area: hist; justify-self: stretch; min-width: 0; pointer-events: auto; }
.ann-list.line > .ann-bar { cursor: pointer; animation: none; box-shadow: none; }
.ann-list.line > .ann-bar .ann-txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.phone .top .ann-list { grid-area: auto; grid-column: 1 / -1; align-items: stretch; }
html.phone .ann-bar { gap: 8px; width: 100%; padding: 3px 3px 3px 10px; border-radius: 12px; font-size: .84rem; box-shadow: none; animation: none; }
html.phone .ann-x { width: 28px; height: 28px; }
.ann-x { position: relative; }
.ann-x::after { content: ''; position: absolute; inset: -9px; }   /* v327: größere Fläche zum Wegtippen, ohne dass sich etwas verschiebt */
.admin-whorow { flex-wrap: wrap; }
html.phone .admin-whorow .btn { font-size: .76rem; letter-spacing: 0; padding-inline: 3px; }
.admin-whorow .admin-who { flex: 1 1 100%; }   /* v327: Name und Betrag in einer eigenen Zeile, die Knöpfe darunter */
.ann-more { flex: none; padding: 1px 7px; border-radius: 999px; background: rgba(217, 180, 94, .2); color: var(--gold-hi); font-size: .74rem; font-weight: 800; }
/* Aufgeklappt: alle Ansagen ganz, über der Zeile und dem Inhalt darunter – im Aufbau bleibt es eine Zeile */
.ann-pop { position: absolute; z-index: 60; top: 0; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px; margin: -6px;
  border-radius: 18px; background: rgba(8, 18, 13, .94); box-shadow: 0 14px 36px rgba(0, 0, 0, .6); }
html.phone .ann-pop { align-items: stretch; border-radius: 16px; }
.ann-pop .ann-bar { cursor: pointer; animation: none; box-shadow: none; }
html.phone .ann-pop .ann-bar { padding-block: 5px; }
.admin-ann { display: flex; flex-direction: column; gap: 10px; width: min(680px, 100%); }
.admin-ann[hidden] { display: none; }
/* royal-round r11: Admin → PayPal – Name mit @ davor und Speichern daneben, Schalter für den Knopf (nur mit gültigem Namen), darunter die PayPal-App nachgezeichnet
   (hell wie die App, persönliche Zeilen als graue Balken; markiert: 1 Konto, 2 Einstellungen, 3 PayPal.me) */
.pp-feld { display: flex; gap: 8px; align-items: stretch; }
.pp-in { position: relative; flex: 1 1 auto; min-width: 0; display: flex; }
.pp-in input { flex: 1 1 auto; min-width: 0; width: 100%; min-height: 52px; padding-left: 37px; font-size: 1.3rem; }
.pp-at { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--ink-2); font-size: 1.3rem; pointer-events: none; }
.pp-feld .btn { flex: none; width: auto; min-width: 8.6em; padding: 0 16px; white-space: nowrap; }   /* r12: Platz für „Gespeichert“, ohne dass das Feld springt */
.pp-switch .pf-swt { color: var(--ink); font-weight: 700; font-size: .92rem; }
.pp-switch .pf-swt small { font-weight: 400; font-size: .8rem; color: var(--ink-2); }
.pp-switch:has(input:disabled) { cursor: default; }
.pp-switch input:disabled ~ .pf-sw { opacity: .35; }
.ppb-n { display: inline-grid; place-items: center; width: 1.4em; height: 1.4em; border-radius: 50%; background: var(--gold); color: #1B1406; font-size: .78em; font-weight: 800; vertical-align: .08em; }
.pp-bild { align-self: center; box-sizing: border-box; width: min(100%, 340px); display: flex; flex-direction: column; gap: 6px; padding: 10px 10px 9px; border-radius: 16px;
  background: #FFFFFF; color: #111111; font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; font-size: 11.5px; line-height: 1.25; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.ppb-tabs, .ppb-nav { display: flex; justify-content: space-between; align-items: center; color: #555B63; }
.ppb-tabs span, .ppb-nav span { padding: 4px 7px; border-radius: 999px; white-space: nowrap; }
.ppb-on { background: #EBEEF1; color: #111111; font-weight: 700; }
.ppb-h { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.ppb-card { display: flex; flex-direction: column; padding: 2px 10px; border-radius: 10px; background: #F1F3F5; }
.ppb-row { display: flex; flex-direction: column; gap: 3px; padding: 5px 0; border-bottom: 1px solid #DDE1E5; }
.ppb-row:last-child { border-bottom: 0; }
.ppb-row b { font-weight: 500; }
.ppb-row span { color: #5F6670; }
.ppb-bar { display: block; width: 44%; height: 8px; border-radius: 4px; background: #D3D8DD; }
.ppb-bar.ppb-lang { width: 62%; }
.ppb-nav { padding: 3px; border: 1px solid #E3E6EA; border-radius: 999px; }
.ppb-mark { position: relative; box-shadow: 0 0 0 2px var(--gold); }
.ppb-row.ppb-mark { margin: 2px -6px 3px; padding: 5px 6px; border-radius: 7px; background: #FFF6DE; }
.ppb-mark::after { content: attr(data-n); position: absolute; top: -8px; right: -8px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); color: #1B1406; font-size: 10px; font-weight: 800; line-height: 1; }
.admin-ann h3 { margin: 0; color: var(--gold); font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; }
.ann-active { display: flex; flex-direction: column; gap: 6px; }
.ann-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(0, 0, 0, .22); }
.ann-row p { flex: 1; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.ann-row b { color: var(--ink); overflow-wrap: anywhere; }
.ann-row small { color: var(--ink-2); font-size: .8rem; }
.ann-now { margin: 0; color: var(--ink-2); }
.ann-lab { margin: 4px 0 0; color: var(--ink-2); font-size: .85rem; font-weight: 700; }
#annInput { width: 100%; resize: none; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .25); color: var(--ink); font: inherit; font-size: 1rem; }
.ann-count { margin: -4px 0 0; color: var(--ink-3); font-size: .78rem; text-align: right; }
/* v355 (Bild des Besitzers vom iPhone, 12.11.2026: „Mach diese Felder auch zur Ios Auswahl“): Empfänger, Spieler und Dauer als Auswahl des Systems (.ak-pick wie Aktivität und Guthaben), die Felder untereinander bündig */
.ann-pick[hidden] { display: none; }
/* v357 (Wunsch des Besitzers vom 12.11.2026): Warte-Bildschirm neuer Konten und Reiter „Konten“ (bis v444 „Neue Konten“, js/bestaetigung.js) */
.ww-card { align-items: center; text-align: center; gap: 12px; padding-top: 26px; padding-bottom: 22px; }
.ww-card[hidden] { display: none; }
.ww-card .wheel.logo { width: 84px; height: 84px; margin-bottom: 2px; }
.ww-card h2 { margin: 0; }
.ww-hi { margin: 0; font-size: 1.12rem; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.ww-text { margin: 0; color: var(--ink-2); line-height: 1.45; max-width: 26em; }
.ww-small { margin: 0; color: var(--ink-3); font-size: .85rem; }
.ww-state { margin: 4px 0 2px; display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(246, 223, 156, .42); background: rgba(217, 180, 94, .08); color: var(--gold-hi); font-weight: 700; font-size: .92rem; }
.ww-state::before { content: ''; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px rgba(246, 223, 156, .7); }
.admin-neu .nk-list { display: flex; flex-direction: column; gap: 8px; }
/* v445: Konten in der Kette gegen die Auslegung (js/bestaetigung.js KONTO_AUSLEGUNG) – eine Zeile mit dünnem Balken */
.nk-stats { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; }   /* jede Karte so hoch wie ihr Inhalt (Erklärung aufgeklappt) */              /* v447: Konten und online – am iPad nebeneinander, am Handy untereinander */
.nk-count { flex: 1 1 230px; min-width: 0; display: flex; flex-direction: column; gap: 7px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .22); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.nk-count[aria-expanded="true"] { border-color: rgba(246, 223, 156, .42); }
.nk-num { display: flex; align-items: center; gap: 8px; }
.nk-num .nk-i { margin: 0 0 0 auto; width: 18px; height: 18px; color: var(--ink-3); }
.nk-info { margin: 0; color: var(--ink-3); font-size: .8rem; line-height: 1.4; }
.nk-info[hidden] { display: none; }
/* v448: Benachrichtigung im Reiter „Konten“ – derselbe Schalter wie im Profil, als Karte wie die Zahlen darüber */
.nk-hn { display: flex; flex-direction: column; gap: 6px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .22); }
.nk-hn .pf-hint { font-size: .8rem; }
.nk-num { margin: 0; color: var(--ink-2); font-weight: 700; font-variant-numeric: tabular-nums; min-width: 0; }
.nk-num b { color: var(--gold-hi); font-size: 1.15rem; }
.nk-bar { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.nk-bar i { display: block; height: 100%; min-width: 4px; border-radius: 3px; background: var(--gold); }
.nk-row { align-items: center; }
.nk-btns { display: flex; gap: 8px; flex: none; }
.nk-btns .btn { width: auto; min-width: 6.4em; }
.nk-btns .btn.primary { color: var(--gold-ink); }
.btn.ghost.nk-del { color: var(--bad); }
.nk-ask { border: 1px solid rgba(255, 120, 110, .35); }
html.phone .nk-row { flex-wrap: wrap; }
html.phone .nk-row > p { flex: 1 1 100%; }
html.phone .nk-btns { flex: 1 1 100%; }
html.phone .nk-btns .btn { flex: 1 1 0; }
html.phone .admin-head .admin-tabs { gap: 2px; }                     /* sechs Reiter: am iPhone (WebKit) gemessen 34 Punkte zu breit, so passen sie in jeder Handygröße */
html.phone .admin-head .admin-tabs > button { padding: 0 4px; font-size: .76rem; }
html.phone.android .admin-head .admin-tabs > button { padding: 0 2px; font-size: .72rem; }   /* v445: Chrome auf Android setzt die Schrift breiter – gemessen 30 px zu breit (mit „Neu“ bis v444 9 px), so passen alle sechs; iPhone und iPad unverändert */
.admin-tabs button { position: relative; }
.ann-pick span { flex: 0 0 auto; min-width: 6.2em; }
.ann-pick select { flex: 1 1 auto; max-width: 320px; }                /* v454: höchstens so breit wie in Aktivität – iOS hängt sein Menü mittig an das Feld, so bleibt es beim Pfeil */
.ann-note { margin: 0; color: var(--ink-3); font-size: .8rem; }

/* ===== Zuschauer am Tisch (js/zuschauer.js): kleines Auge mit Anzahl, Antippen zeigt die Namen ===== */
.watch-pill { position: relative; display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, .25); color: var(--ink-2); font: inherit; font-size: .9rem; cursor: pointer; white-space: nowrap; }
.watch-pill[hidden] { display: none; }
.watch-pill b { color: var(--ink); font-variant-numeric: tabular-nums; }
/* Namen als kleine Sprechblase darunter – die Kopfzeile verschiebt sich nicht */
.watch-names { display: none; position: absolute; z-index: 60; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); width: max-content; max-width: min(240px, 70vw);
  padding: 6px 11px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 10px 28px rgba(0, 0, 0, .55);
  color: var(--ink); font-size: .82rem; line-height: 1.35; white-space: normal; text-align: center; }
.watch-pill.open .watch-names { display: block; }
html.phone .watch-pill { height: 30px; padding: 0 9px; font-size: .82rem; }

/* ===== Casino-Chat (js/chat.js): iPad in der Spielauswahl und im Admin-Bereich rechts unter „Im Casino“ angedockt, an den Tischen,
   am Automaten und bei der Bundesliga über der rechten Spalte (Knopf oben, das Spiel bleibt bedienbar), am Handy wie ein Fenster ===== */
.chat-box { position: fixed; z-index: 70; right: 16px; top: calc(76px + var(--fst)); bottom: 16px; width: min(380px, calc(100% - 32px)); display: flex; flex-direction: column; gap: 10px;
  padding: 14px 14px 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 24px 60px rgba(0, 0, 0, .6), 0 0 0 1px rgba(217, 180, 94, .2); animation: statsIn .2s ease-out both; }
.chat-box[hidden] { display: none; }
.chat-head { flex: none; display: flex; align-items: baseline; gap: 10px; }
.chat-head h2 { margin: 0; font-family: var(--f-deco); font-weight: 700; font-size: 1rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.chat-sub { color: var(--ink-3); font-size: .8rem; }
.chat-head .btn { width: auto; margin-left: auto; }
.chat-list { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; list-style: none; margin: 0; padding: 2px; display: flex; flex-direction: column; gap: 8px; }
.chat-list > :first-child { margin-top: auto; }                            /* wenige Nachrichten: unten am Eingabefeld, wie in jedem Chat */
/* Nachricht: andere links mit Anfangsbuchstaben in ihrer Farbe, eigene rechts („Du“) */
.cm { flex: none; align-self: flex-start; max-width: 92%; display: flex; align-items: flex-end; gap: 7px; }
.cm.me { align-self: flex-end; max-width: 86%; }
.cm-av { flex: none; width: 26px; height: 26px; font-size: .78rem; box-shadow: none; }
.cm-b { min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 6px 11px 7px; border-radius: 14px 14px 14px 4px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); }
.cm.me .cm-b { border-radius: 14px 14px 4px 14px; background: rgba(217, 180, 94, .14); border-color: rgba(217, 180, 94, .35); }
.cm-h { display: flex; align-items: baseline; gap: 8px; font-size: .78rem; }
.cm-h b { color: var(--gold-hi); }
/* Schild an Nachrichten der Casino-Leitung (nur echte: Konto und Schlüssel der Leitung) – ein ähnlicher Name bekommt es nie */
.cm-boss { flex: none; align-self: center; padding: 1px 6px; border-radius: 999px; background: rgba(217, 180, 94, .2); border: 1px solid rgba(217, 180, 94, .55);
  color: var(--gold-hi); font-size: .64rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; line-height: 1.3; white-space: nowrap; }
.chat-toast .cm-boss { display: inline-block; margin-right: 6px; vertical-align: 1px; }
.cm-h time { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.cm-t { color: var(--ink); font-size: .95rem; line-height: 1.35; overflow-wrap: anywhere; }
.cm-del { margin-left: auto; padding: 0 4px; border: 0; background: none; color: var(--ink-3); font: inherit; cursor: pointer; }
.cm-day { flex: none; align-self: center; color: var(--ink-3); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cm-empty { align-self: center; margin: auto 0; color: var(--ink-3); font-size: .9rem; text-align: center; }
.chat-form { flex: none; display: flex; gap: 8px; }
.chat-form[hidden] { display: none; }
.chat-form input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .3); color: var(--ink); font: inherit; font-size: 1rem; }
.chat-form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 2px rgba(217, 180, 94, .25); }
.chat-form .btn { width: auto; }
/* v264: Hinweis zum Geistmodus über dem Eingabefeld (darf umbrechen) und kleiner Geist hinter Namen (Im Casino, Tische; js/profil.js pfGhostIco) */
.chat-ghost { flex: none; display: flex; align-items: flex-start; gap: 6px; margin: 0; font-size: .82rem; line-height: 1.3; color: var(--ink-2); }
.chat-ghost[hidden] { display: none; }
.chat-ghost > .ico { flex: none; width: 1.2em; height: 1.2em; margin-top: 0; color: #E6F0EA; }
.nm-ghost { font-style: normal; white-space: nowrap; margin-left: .3em; color: #E6F0EA; }
.nm-ghost > .ico { width: 1.1em; height: 1.1em; margin: 0; vertical-align: -.18em; }
.chat-note { flex: none; margin: 0; color: var(--ink-3); font-size: .82rem; }
.chat-note[hidden] { display: none; }
.area-players { position: relative; }
.area-players.chatting { overflow: hidden; }
html:not(.phone) .chat-box { position: absolute; inset: 0; z-index: 6; width: auto; padding: 12px; border-radius: inherit; box-shadow: none; animation: none; }
html:not(.phone) .sa-slip { position: relative; }                          /* Bundesliga: das Fenster liegt über dem Wettschein */
html.phone .chat-box { z-index: 87; left: 10px; right: 10px; width: auto; top: auto; bottom: calc(66px + var(--fsb)); height: min(70%, 520px); padding: 12px 12px 10px; }
/* Angedockt: feste Fläche unten in „Im Casino“ – die Spielerliste darüber scrollt für sich, die Seite verschiebt sich nie */
html:not(.phone) .area-players.chat-dock { overflow: hidden; }
html:not(.phone) .area-players.chat-dock > * { flex: none; }
html:not(.phone) .area-players.chat-dock > .list { flex: 0 1 auto; min-height: 62px; max-height: 42%; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }   /* viele im Casino: höchstens etwa vier Zeilen, der Rest gehört dem Chat */
html:not(.phone) .chat-box.dock { position: relative; inset: auto; z-index: auto; flex: 1 1 0; min-height: 250px; margin: 2px -14px -12px; padding: 12px 14px;
  border: 0; border-top: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); background: rgba(0, 0, 0, .16); }
.chat-box.dock .chat-head h2 { font-size: .95rem; }
.chat-box.dock #chatClose { display: none; }
/* Ungelesene: Zahl über dem Knopf (verschiebt nichts) */
.ib-n { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--bad); color: #2B0906;
  font: 800 .74rem/20px var(--f-num); text-align: center; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 2px var(--ground); pointer-events: none; }
.ib-n.pop { animation: ibPop .4s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes ibPop { from { transform: scale(.3); } to { transform: none; } }
.pb .ib-n { position: static; flex: none; min-width: 20px; height: 20px; padding: 0 6px; font-size: .74rem; line-height: 20px; box-shadow: none; }   /* Handy-Leiste: Kapsel hinter „Chat“ wie bei „Im Casino“ (bis „9+“) – ohne Zahl kein leerer Platz */
/* Vorschau einer neuen Nachricht (4 s, antippen öffnet den Chat): iPad oben rechts unter dem Chat-Knopf, Handy oben über der Kopfzeile */
.chat-toast { position: fixed; z-index: 48; top: calc(66px + var(--fst)); right: max(16px, env(safe-area-inset-right)); width: min(360px, calc(100% - 32px));
  display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px 14px 9px 10px; border-radius: 14px; border: 1px solid var(--gold); background: #12261C;
  color: var(--ink); font: inherit; font-size: .95rem; line-height: 1.3; text-align: left; box-shadow: var(--shadow); cursor: pointer; -webkit-appearance: none; appearance: none; touch-action: manipulation; }
.chat-toast[hidden] { display: none; }
.chat-toast.in { animation: toastIn .25s ease-out both; }
.chat-toast .cm-av { width: 30px; height: 30px; font-size: .85rem; }
.ct-t { flex: 1 1 auto; min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.ct-t b { color: var(--gold-hi); }
.ct-n { flex: none; padding: 1px 7px; border-radius: 999px; background: rgba(217, 180, 94, .18); color: var(--gold-hi); font-size: .78rem; font-weight: 800; }
html.phone .chat-toast { z-index: 85; top: calc(6px + var(--fst)); left: max(10px, env(safe-area-inset-left)); right: max(10px, env(safe-area-inset-right)); width: auto;
  gap: 8px; padding: 6px 12px 6px 7px; font-size: .88rem; }
html.phone .chat-toast .ct-t { -webkit-line-clamp: 1; white-space: nowrap; text-overflow: ellipsis; display: block; }
html.phone.kv-open .chat-toast, html.phone.chat-kb .chat-toast { visibility: hidden; }

/* ===== Turnier (js/turnier.js): Anzeige oben wie die Happy Hour ===== */

/* ===================================================================================================================
   Bundesliga-Wetten (js/sport-anzeige.js): Kachel, Wettseite, Wettschein (iPad rechts, Handy als Fenster), Meine Wetten
   =================================================================================================================== */
/* Fußball: weißer Ball mit schwarzen Fünfecken – im Logo oben links, auf der Kachel und im leeren Wettschein */
.ball, .logo[data-g="f"] {
  background:
    radial-gradient(circle at 50% -5%, #1B201D 0 19%, transparent 20%),
    radial-gradient(circle at 102% 36%, #1B201D 0 19%, transparent 20%),
    radial-gradient(circle at 83% 99%, #1B201D 0 19%, transparent 20%),
    radial-gradient(circle at 17% 99%, #1B201D 0 19%, transparent 20%),
    radial-gradient(circle at -2% 36%, #1B201D 0 19%, transparent 20%),
    radial-gradient(circle at 36% 30%, #FFFFFF 0, #F1ECDD 46%, #BDB59E 100%);
}
.ball { position: relative; display: block; flex: none; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset -3px -4px 9px rgba(0, 0, 0, .3), 0 5px 12px rgba(0, 0, 0, .5); }
.ball::before, .logo[data-g="f"]::before { content: ""; position: absolute; left: 31%; top: 31%; width: 38%; height: 38%; background: #1B201D;
  clip-path: polygon(50% 0, 100% 38%, 81% 100%, 19% 100%, 0 38%); }
.logo[data-g="f"] { box-shadow: inset -2px -3px 6px rgba(0, 0, 0, .28), 0 0 0 2.5px var(--gold), 0 0 0 5px rgba(217, 180, 94, .18), 0 4px 10px rgba(0, 0, 0, .5); }

/* Zeile „Meine Wetten“ der Bundesliga-Kachel: Zahl der offenen Scheine */
.gt-mine .pb-n { margin-left: 2px; }
.gt-mine .pb-n:not([hidden]) { display: inline-block; }

/* ---------- Seite: links Spiele bzw. Meine Wetten, rechts der Wettschein (eigenes Raster, ohne Spielerliste) ---------- */
.grid.betting { grid-template-areas: "main slip"; grid-template-rows: minmax(0, 1fr); }
html:not(.phone) .grid.betting > .area-players { display: none; }
.grid.betting > .area-main { padding-top: 0; }
.grid.betting > .area-main > .sa-board { flex: 1 1 auto; min-height: 0; }
.sa-board { gap: 10px; }
.sa-head { flex-wrap: nowrap; }
.sa-head h2 { flex: none; }
.sa-tabs { flex: none; }
.sa-stand { flex: 1 1 auto; min-width: 0; margin-left: auto; text-align: right; color: var(--ink-3); font-size: .85rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.sa-stand[data-s="warn"] { color: var(--warn); }
.sa-back { flex: none; }
.sa-tn { flex: none; display: inline-block; min-width: 20px; height: 20px; margin-left: 6px; padding: 0 6px; border-radius: 999px; background: rgba(217, 180, 94, .22); color: var(--gold-hi); font: 800 .74rem/20px var(--f-num); text-align: center; vertical-align: 1px; }
.seg button[aria-selected="true"] .sa-tn { background: rgba(34, 22, 3, .18); color: var(--gold-ink); }
.sa-page { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 8px; }
.sa-page[hidden] { display: none; }
.sa-mdrow { flex: none; display: flex; align-items: center; gap: 10px; min-width: 0; }
.sa-mds { flex: 0 1 auto; overflow-x: auto; scrollbar-width: none; }
.sa-mds::-webkit-scrollbar { display: none; }
.sa-mds button { display: inline-flex; align-items: center; gap: 6px; }
.sa-ldot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(76, 213, 151, .22); animation: saLive 1.6s ease-in-out infinite; }
.sa-live { flex: none; display: inline-flex; align-items: center; gap: 7px; margin-left: auto; padding: 5px 12px; border-radius: 999px; background: var(--ok-bg); border: 1px solid rgba(76, 213, 151, .35); color: var(--ok); font-size: .88rem; font-weight: 700; white-space: nowrap; }
.sa-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: saLive 1.6s ease-in-out infinite; }
@keyframes saLive { 50% { opacity: .35; } }
.sa-note { flex: none; margin: 0; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--ink-2); font-weight: 700; font-size: .92rem; }
.sa-note[data-s="warn"] { background: var(--warn-bg); border-color: rgba(244, 188, 96, .4); color: var(--warn); }
.sa-warn { flex: none; margin: 0; padding: 8px 12px; border-radius: 12px; background: var(--warn-bg); border: 1px solid rgba(244, 188, 96, .4); color: var(--warn); font-weight: 700; font-size: .92rem; line-height: 1.3; }
/* Spiele: nach Tag, je Spiel eine Zeile; die Liste scrollt für sich */
.sa-list, .sa-bets { list-style: none; flex: 1 1 auto; min-height: 0; margin: 0; padding: 0 4px 4px 0; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.sa-day { flex: none; margin: 6px 0 0; padding: 0 4px; font-family: var(--f-deco); font-weight: 700; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.sa-day:first-child { margin-top: 0; }
.sa-m { flex: none; position: relative; display: grid; grid-template-columns: 70px minmax(0, 1fr) auto 46px; grid-template-areas: "t teams odds more" "mk mk mk mk" "diff diff diff diff";
  align-items: center; column-gap: 12px; padding: 8px 10px 8px 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid transparent; transition: border-color .2s ease, background-color .2s ease; }
.sa-m.picked { border-color: var(--line-2); }
.sa-m.live { box-shadow: inset 4px 0 0 var(--ok); }
.sa-m.fin { background: rgba(21, 41, 31, .55); }
.sa-t { grid-area: t; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.sa-time { font-family: var(--f-num); font-weight: 800; font-size: 1.05rem; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1; }
.sa-tag { padding: 2px 7px; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; line-height: 1.3; }
.sa-tag:empty { display: none; }
.sa-tag[data-s="live"] { background: var(--ok); color: var(--ok-ink); animation: saLive 1.6s ease-in-out infinite; }
.sa-tag[data-s="fin"] { background: rgba(255, 255, 255, .08); color: var(--ink-2); }
.sa-tag[data-s="lock"] { background: var(--bad-bg); color: var(--bad); }
.sa-teams { grid-area: teams; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sa-tm { display: flex; align-items: center; gap: 9px; min-width: 0; margin: 0; }
.sa-lg { flex: none; display: grid; place-items: center; width: 26px; height: 26px; }
.sa-badge { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-3); box-shadow: 0 0 0 1.5px var(--line-2); color: var(--gold-hi); font: 800 .56rem/1 var(--f-num); letter-spacing: -.02em; }
.sa-nm { flex: 1 1 auto; min-width: 0; font-weight: 700; font-size: 1.02rem; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sa-sc { flex: none; min-width: 26px; padding: 1px 6px; border-radius: 7px; background: rgba(0, 0, 0, .4); text-align: center; font-family: var(--f-num); font-weight: 800; font-size: 1.02rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.sa-m.live .sa-sc { color: var(--ok); }
.sa-odds { grid-area: odds; display: flex; align-items: center; gap: 6px; }
.sa-later { padding: 6px 12px; border-radius: 12px; border: 1px dashed var(--line-2); color: var(--ink-3); font-size: .88rem; font-weight: 700; white-space: nowrap; }
.sa-odd {
  -webkit-appearance: none; appearance: none; position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: 76px; min-height: 52px; padding: 4px 6px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .3); color: var(--ink);
  font: inherit; cursor: pointer; touch-action: manipulation; transition: transform .1s ease, background-color .15s ease, border-color .15s ease;
}
.sa-odd small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: .74rem; font-weight: 700; color: var(--ink-3); line-height: 1; white-space: nowrap; }
.sa-odd b { font-family: var(--f-num); font-weight: 800; font-size: 1.12rem; color: var(--gold-hi); font-variant-numeric: tabular-nums; line-height: 1.05; }
.sa-odd b:empty { display: none; }
.sa-odd:active { transform: scale(.95); background: var(--surface-3); }
.sa-odd[aria-pressed="true"] { border-color: transparent; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); box-shadow: 0 4px 12px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .5); }
.sa-odd[aria-pressed="true"] small, .sa-odd[aria-pressed="true"] b { color: var(--gold-ink); }
.sa-odd:disabled { cursor: default; transform: none; }
.sa-odd:disabled:not([aria-pressed="true"]) { opacity: .45; }
.sa-m.live .sa-odd:disabled, .sa-m.fin .sa-odd:disabled { opacity: .55; min-height: 34px; }
.sa-odd.hit { opacity: 1 !important; border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold), 0 0 14px rgba(246, 223, 156, .35); }
.sa-odd.hit small { color: var(--gold-hi); }
.sa-odd.lead { opacity: 1 !important; border-color: rgba(76, 213, 151, .7); }
.sa-odd.lead small { color: var(--ok); }
.sa-more { grid-area: more; -webkit-appearance: none; appearance: none; position: relative; justify-self: end; width: 44px; height: 44px; padding: 0 0 2px; border-radius: 50%; border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, .25); color: var(--gold-hi); font: 800 1.5rem/1 var(--f-num); cursor: pointer; touch-action: manipulation; }   /* nur „+“ bzw. „−“ (ab v134) */
.sa-more[aria-expanded="true"] { background: var(--surface-3); border-color: var(--gold); }
.sa-more.has::after { content: ""; position: absolute; top: 1px; right: 1px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px var(--surface-2); }
.sa-more:active { transform: scale(.94); }
/* Aufgeklappt: Reiter-Leiste (ab v51) und je Reiter ein Feld; „Kombi“ wie bisher drei Gruppen nebeneinander */
.sa-mk { grid-area: mk; display: flex; flex-direction: column; gap: 10px; min-width: 0; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.sa-subs { flex: none; align-self: flex-start; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.sa-subs::-webkit-scrollbar { display: none; }
.sa-subs button { flex: none; display: inline-flex; align-items: center; gap: 6px; }
.sa-pane { display: grid; gap: 10px 18px; min-width: 0; }
.sa-pk { grid-template-columns: 1.5fr 1fr 1fr; gap: 10px; }
.sa-ptore, .sa-pend { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; }
.sa-pht { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: start; }
.sa-pend .sa-bw { grid-row: span 2; }
.sa-pn { margin: 0; font-size: .74rem; line-height: 1.3; color: var(--ink-3); }   /* was der Markt bedeutet (wie .sa-mgx) */
.sa-lad { display: grid; grid-template-columns: 40px repeat(2, minmax(0, 1fr)); gap: 5px 6px; align-items: center; max-width: 440px; }
.sa-lk { font-family: var(--f-num); font-weight: 800; font-size: .95rem; color: var(--ink-2); text-align: center; font-variant-numeric: tabular-nums; }
.sa-grid { display: grid; gap: 5px; max-width: 440px; }
.sa-g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sa-g3 { grid-template-columns: auto repeat(3, minmax(0, 1fr)); align-items: center; }
.sa-gk { padding: 0 2px; font-size: .7rem; font-weight: 700; color: var(--ink-3); text-align: center; white-space: nowrap; }
.sa-lad .sa-odd, .sa-grid .sa-odd { width: auto; min-width: 0; min-height: 46px; }
.sa-gh { display: flex; align-items: baseline; gap: 6px; max-width: 440px; margin: 0; font-weight: 700; font-size: .9rem; color: var(--ink-2); }
.sa-gh span { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sa-gh span:first-child { text-align: right; }
.sa-gh i { flex: none; font-style: normal; color: var(--ink-3); }
.sa-ptj { grid-template-columns: minmax(0, 1fr); }
.sa-tjcols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sa-tjc { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.sa-tjc > .sa-mgt { overflow: hidden; text-overflow: ellipsis; }
.sa-tjl { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.sa-odd.sa-pl { width: 100%; flex-direction: row; justify-content: space-between; gap: 8px; min-height: 42px; padding: 4px 10px 4px 12px; }
.sa-odd.sa-pl small { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: .88rem; color: var(--ink); text-align: left; line-height: 1.2; }
.sa-odd.sa-pl b { flex: none; }
.sa-all { -webkit-appearance: none; appearance: none; align-self: flex-start; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px dashed var(--line-2); background: none; color: var(--gold-hi);
  font: 700 .86rem/1 var(--f-body); cursor: pointer; touch-action: manipulation; }
.sa-tjn { margin: 0; padding: 6px 0; color: var(--ink-3); font-size: .85rem; font-weight: 700; }
/* Einmaliger Hinweis auf die neuen Wetten (über der Liste) */
/* Hinweis „Tipp ersetzt“ (seit Seite v138): Zeichen | Überschrift | Rückgängig, darunter „Neu“ und „Vorher“ in zwei festen Spalten.
   Ein Raster statt verschachtelter Flex-Zeilen – so stimmt die Höhe auch in Safari, und der Hinweis schiebt die Tipps sauber nach unten */
.sa-rep { flex: none; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "i h x" "l l l"; align-items: center; gap: 6px 10px;
  padding: 8px 9px 9px 12px; border-radius: 14px; border: 1px solid rgba(217, 180, 94, .6); color: var(--ink); line-height: 1.3;
  background: linear-gradient(180deg, rgba(217, 180, 94, .13), rgba(217, 180, 94, .04)), var(--surface-3); animation: toastIn .2s ease-out both; }
.sa-rep-i { grid-area: i; display: block; width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sa-rep-h { grid-area: h; min-width: 0; display: flex; flex-direction: column; gap: 1px; margin: 0; }
.sa-rep-h b { font-family: var(--f-deco); font-weight: 700; font-size: .84rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); line-height: 1.2; }
.sa-rep-h span { color: var(--ink-3); font-size: .76rem; font-weight: 700; line-height: 1.2; }
.sa-rep .btn { grid-area: x; width: auto; min-height: 38px; padding: 4px 12px; font-size: .88rem; white-space: nowrap; }
.sa-rep-l { grid-area: l; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 3px 12px; margin: 0; padding: 7px 0 0 2px; border-top: 1px solid var(--line); }
.sa-rep-l dt { color: var(--ink-3); font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.sa-rep-l dt:first-of-type { color: var(--gold); }
.sa-rep-l dd { margin: 0; min-width: 0; color: var(--ink); font-size: .9rem; font-weight: 700; overflow-wrap: break-word; }
.sa-rep-l dd:last-of-type { color: var(--ink-3); font-weight: 600; }
.sa-rep:not([hidden]) + .sa-legs { min-height: 50px; }                   /* solange der Hinweis steht: Platz für ihn statt für eine zweite Tipp-Zeile */
.sa-mg { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.sa-mgt { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.sa-mgb { display: flex; gap: 6px; }
.sa-mgb .sa-odd { flex: 1 1 0; width: auto; min-width: 0; }
.sa-mgx { margin: 0; font-size: .74rem; line-height: 1.3; color: var(--ink-3); }   /* was der Markt bedeutet */
.sa-mkx { grid-column: 1 / -1; margin: 2px 0 0; padding: 7px 10px; border-radius: 10px; background: rgba(0, 0, 0, .22); font-size: .8rem; line-height: 1.35; color: var(--ink-2); }
.sa-diff { grid-area: diff; margin: 6px 0 0; padding: 6px 10px; border-radius: 10px; background: var(--warn-bg); color: var(--warn); font-size: .85rem; font-weight: 700; }
.sa-odd:focus-visible, .sa-more:focus-visible, .sa-lx:focus-visible, .sa-picks button:focus-visible, .sa-bar:focus-visible, .sa-board .seg button:focus-visible, .sa-all:focus-visible,
.gt-mine:focus-visible, .sa-done .btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
#saStake:focus-visible { outline: none; }

/* ---------- Wettschein ---------- */
.sa-slip { display: flex; flex-direction: column; gap: 10px; min-height: 0; padding: 12px 14px; overflow: hidden; }
.sa-slip-head { flex: none; display: flex; align-items: center; gap: 4px; min-height: 36px; }
.sa-slip-head h2 { font-size: 1.05rem; letter-spacing: .16em; text-transform: uppercase; }
.sa-slip-head .btn { margin-left: auto; min-height: 36px; padding: 2px 12px; font-size: .88rem; }
.sa-slip-head .btn + .btn { margin-left: 6px; }
.sa-slip .wal { flex: none; }
.sa-kind { flex: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 0; padding: 0 2px; color: var(--ink-2); font-size: .9rem; font-weight: 700; }
#saKindT { font-family: var(--f-deco); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }
#saKindN:empty { display: none; }
#saKindN::before { content: "· "; }
.sa-kq { margin-left: auto; color: var(--ink-3); font-size: .85rem; }
.sa-kq b { margin-left: 4px; font-family: var(--f-num); font-weight: 800; font-size: 1.3rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.sa-kind small { flex: 1 1 100%; margin-top: -2px; color: var(--warn); font-size: .8rem; font-weight: 700; }
.sa-legs { list-style: none; flex: 0 1 auto; min-height: 104px; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  overflow-anchor: none; }                                                  /* wird die Liste kürzer (Hinweis „Tipp ersetzt“), bleibt die erste Zeile ganz oben */
.sa-legs:empty { display: none; }
/* weitere Tipps darunter: weicher unterer Rand statt hart angeschnittener Zeile (js: saLegsFade) */
.sa-legs.fd { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 22px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 22px), transparent); }
.sa-leg { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) auto 36px; align-items: center; gap: 8px; padding: 5px 6px 5px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid transparent; animation: saLegIn .22s ease-out both; }
@keyframes saLegIn { from { opacity: 0; transform: translateX(12px); } }
.sa-leg.chg { border-color: rgba(244, 188, 96, .6); background: linear-gradient(90deg, rgba(244, 188, 96, .12), var(--surface-2) 70%); }
.sa-leg.off { border-color: rgba(255, 143, 132, .45); }
.sa-leg.off .sa-lq b { color: var(--ink-3); text-decoration: line-through; }
.sa-lt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sa-lp { font-size: .98rem; line-height: 1.2; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }   /* Kombi im Spiel: bis zwei Zeilen */
.sa-lm { font-size: .78rem; font-weight: 700; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sa-lf { font-size: .78rem; font-weight: 700; color: var(--bad); }
.sa-lf[data-s="warn"] { color: var(--warn); }
.sa-lq { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.05; }
.sa-lq b { font-family: var(--f-num); font-weight: 800; font-size: 1.12rem; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.sa-lq s { font-family: var(--f-num); font-weight: 700; font-size: .8rem; color: var(--ink-3); }
.sa-leg.chg .sa-lq b { color: var(--warn); }
.sa-lx { -webkit-appearance: none; appearance: none; width: 36px; height: 36px; padding: 0; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .25); color: var(--ink-2); font: 700 1.2rem/1 var(--f-body); cursor: pointer; touch-action: manipulation; }
.sa-lx:active { background: var(--surface-3); }
.sa-lx:disabled { opacity: .4; cursor: default; }
.sa-empty { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 18px 12px; border: 1px dashed var(--line-2); border-radius: 14px; text-align: center; }
.sa-empty p { display: flex; flex-direction: column; gap: 4px; margin: 0; color: var(--ink-3); font-size: .95rem; line-height: 1.35; }
.sa-empty b { color: var(--ink-2); font-size: 1.05rem; }
.sa-eball { width: 58px; height: 58px; opacity: .9; }
.sa-sum { flex: none; display: flex; flex-direction: column; gap: 8px; }
.sa-line { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0 2px; }
.sa-line .balance { font-size: 1.6rem; }
.sa-winl { padding: 6px 14px; min-height: 48px; border-radius: 14px; background: rgba(0, 0, 0, .32); border: 1px solid var(--line); }
.sa-stake { display: flex; flex-direction: column; gap: 6px; padding: 0 2px; }
.sa-picks { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }   /* v145: bis 20 € */
.sa-picks button { -webkit-appearance: none; appearance: none; min-height: 40px; padding: 0 2px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .28); color: var(--ink);
  font: 800 .9rem/1 var(--f-num); white-space: nowrap; cursor: pointer; touch-action: manipulation; font-variant-numeric: tabular-nums; }
.sa-picks button[aria-pressed="true"] { border-color: transparent; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--gold-ink); }
.sa-picks button:active { transform: scale(.95); }
.sa-picks button:disabled { opacity: .4; cursor: default; transform: none; }
.sa-inrow { position: relative; }
.sa-inrow .wal-label { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.sa-inrow input[type="text"] { min-height: 46px; padding: 6px 38px 6px 100px; text-align: right; font-family: var(--f-num); font-weight: 800; font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.sa-inrow input[aria-invalid="true"] { border-color: var(--bad); }
.sa-eur { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font: 800 1.15rem/1 var(--f-num); pointer-events: none; }
.sa-free { margin: 0; padding: 0 2px; color: var(--ink-3); font-size: .82rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.sa-msg { flex: none; margin: 0; padding: 8px 12px; border-radius: 12px; background: var(--warn-bg); border: 1px solid rgba(244, 188, 96, .4); color: var(--warn); font-weight: 700; font-size: .9rem; line-height: 1.3; }
.sa-msg[data-s="chg"] { background: rgba(244, 188, 96, .2); }
.sa-slip .err { flex: none; font-size: .92rem; }
.btn.sa-place { flex: none; min-height: 58px; font-size: 1.12rem; letter-spacing: .12em; }
.btn.sa-place[data-act="accept"] { background: linear-gradient(180deg, #FFE3A6, var(--warn) 55%, #C98A2A); }
.sa-done { flex: none; display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border: 2px solid var(--ok); border-radius: 16px; background: var(--ok-bg); color: var(--ink-2); font-size: .9rem; line-height: 1.3; animation: readyIn .3s ease-out both; }
.sa-done > b { color: var(--ok); font-family: var(--f-deco); font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; }
.sa-done .btn { min-height: 42px; margin-top: 4px; font-size: .95rem; }
.sa-dst:empty { display: none; }
.sa-dst i { margin-right: 4px; font-style: normal; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
/* gerade abgegeben, aber nicht (bzw. noch nicht) angenommen: rot bzw. gelb statt grün */
.sa-done[data-s="bad"] { border-color: rgba(255, 143, 132, .7); background: var(--bad-bg); }
.sa-done[data-s="bad"] > b, .sa-done[data-s="bad"] .sa-dst { color: var(--bad); }
.sa-done[data-s="warn"] { border-color: rgba(244, 188, 96, .7); background: var(--warn-bg); }
.sa-done[data-s="warn"] > b, .sa-done[data-s="warn"] .sa-dst { color: var(--warn); }
.sa-done[data-s="bad"] .sa-dst, .sa-done[data-s="warn"] .sa-dst { font-weight: 700; }
.sa-close { display: none; }

/* ---------- Meine Wetten ---------- */
.sa-bet { flex: none; display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 10px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid transparent; }
.sa-bet[data-s="won"] { border-color: rgba(76, 213, 151, .45); background: linear-gradient(180deg, rgba(76, 213, 151, .1), var(--surface-2) 60%); }
.sa-bet[data-s="lost"] { opacity: .82; }
.sa-bet[data-s="rej"] { border-color: rgba(255, 143, 132, .3); }
.sa-bh { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sa-bk { min-width: 0; font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sa-st { flex: none; padding: 2px 9px; border-radius: 999px; font-size: .78rem; font-weight: 800; white-space: nowrap; background: rgba(255, 255, 255, .07); color: var(--ink-2); }
.sa-st[data-s="ok"] { background: var(--ok-bg); color: var(--ok); }
.sa-st[data-s="warn"] { background: var(--warn-bg); color: var(--warn); }
.sa-st[data-s="bad"] { background: var(--bad-bg); color: var(--bad); }
.sa-bv { margin-left: auto; flex: none; font-family: var(--f-num); font-weight: 800; font-size: 1.15rem; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sa-bv[data-s="up"] { color: var(--ok); }
.sa-bv[data-s="down"] { color: var(--bad); }
.sa-bv[data-s="zero"] { color: var(--ink-3); }
.sa-bv[data-s="open"] { color: var(--gold-hi); }
.sa-bsub { margin: 0; color: var(--ink-3); font-size: .82rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.sa-bl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.sa-bg { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto 44px; align-items: center; gap: 8px; min-height: 36px; padding: 3px 8px 3px 4px; border-radius: 10px; background: rgba(0, 0, 0, .2); }
.sa-bi { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-2); color: var(--ink-3); font: 800 .78rem/1 var(--f-num); font-style: normal; }
.sa-bg[data-s="win"] .sa-bi { border-color: transparent; background: var(--ok); color: var(--ok-ink); font-size: .9rem; }
.sa-bg[data-s="lost"] .sa-bi { border-color: transparent; background: var(--bad); color: #2A0907; font-size: .9rem; }
.sa-bg[data-s="void"] .sa-bi { border-color: transparent; background: rgba(247, 236, 204, .85); color: #17191A; font-size: .58rem; letter-spacing: -.03em; }
.sa-bg[data-s="live"] .sa-bi { border-color: var(--ok); color: var(--ok); animation: saLive 1.6s ease-in-out infinite; }
.sa-bg[data-s="wait"] .sa-bi { border-color: var(--warn); color: var(--warn); }
.sa-bt { display: flex; flex-direction: column; min-width: 0; }
.sa-bt b { font-size: .92rem; line-height: 1.2; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }   /* lange Tipps: bis zwei Zeilen */
.sa-bt small { font-size: .76rem; font-weight: 700; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sa-bg[data-s="lost"] .sa-bt b { color: var(--ink-2); text-decoration: line-through; text-decoration-color: rgba(255, 143, 132, .7); }
.sa-bq { font-family: var(--f-num); font-weight: 800; font-size: .95rem; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.sa-bs { justify-self: end; font-family: var(--f-num); font-weight: 800; font-size: .95rem; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sa-bs:empty { display: none; }
.sa-bs.live { color: var(--ok); }
.sa-bn { margin: 0; padding: 5px 10px; border-radius: 10px; font-size: .82rem; font-weight: 700; line-height: 1.35; background: rgba(255, 255, 255, .05); color: var(--ink-2); }
.sa-bn[data-s="warn"] { background: var(--warn-bg); color: var(--warn); }
.sa-bn[data-s="bad"] { background: var(--bad-bg); color: var(--bad); }
/* kleine Überschrift vor dem Satz (Grund, Spiel beendet, Gezählt …) – statt „Nicht angenommen: …“ doppelt zum Schild */
.sa-bn > b { margin-right: 4px; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
/* Gezählt: Teile nebeneinander (Bezeichnung leise, Wert deutlich) statt mit Punkten und Doppelpunkten aneinandergereiht */
.sa-bz { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: 8px; }
.sa-bz > b { margin-right: 0; }
.sa-zl { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; min-width: 0; }
.sa-zm { color: var(--ink); }
.sa-zp { min-width: 0; color: var(--ink); }
.sa-zp i { margin-right: 2px; font-style: normal; font-weight: 600; color: var(--ink-3); }
.sa-bets + .sa-note { flex: none; }

/* Regeln: zweite Spalte mit Text (wie bei Blackjack), darunter Grenzen und „nur Spielgeld“ */
.sa-help-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sheet.help .help-page[data-t="w"] .help-pay td:last-child { font-family: var(--f-body); font-weight: 400; color: var(--ink-2); white-space: normal; }
.sheet.help .help-page[data-t="w"] .help-pay td:first-child { white-space: nowrap; }
/* Meine Statistik: Bundesliga-Wetten in einer Zeile */
.ms-sw { flex: none; margin: 0; padding: 8px 12px; border-radius: 12px; background: rgba(0, 0, 0, .22); color: var(--ink-2); font-size: .88rem; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Handy mit Ansage oben (eine Zeile, js/ansage.js): die Bilder der Kacheln etwas kleiner – so bleibt in der Spielauswahl auch auf kleinen
   Bildschirmen Luft (Seite v131: ohne das blieben 3 px) */

html.phone { --sabar-h: 54px; }
html.phone .grid.betting { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) var(--sabar-h) var(--pbar-h); grid-template-areas: "main" "bar" "players"; }
html.phone .sa-board { padding: 8px 10px; gap: 8px; }
html.phone .sa-head { gap: 8px; }
html.phone .sa-head h2, html.phone .sa-back { display: none; }
html.phone .sa-tabs { flex: 1 1 auto; }
html.phone .sa-tabs button { flex: 1 1 auto; min-height: 40px; }   /* Tippflächen ≥ 40 px: auch bei 320 px Breite (Bühne ~81 %) noch ≥ 32 px */
html.phone .sa-stand { flex: 0 1 auto; max-width: 34%; font-size: .72rem; white-space: normal; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
html.phone .sa-mdrow { gap: 6px; }
html.phone .sa-mds button { flex: none; padding: 0 10px; min-height: 40px; }
html.phone .sa-live { display: none; }                                  /* Handy: der Punkt am Spieltag und LIVE je Spiel genügen */
html.phone .sa-note, html.phone .sa-warn { padding: 6px 10px; font-size: .8rem; }
html.phone .sa-list, html.phone .sa-bets { gap: 5px; padding-right: 0; }
html.phone .sa-m { grid-template-columns: minmax(0, 1fr) auto 34px; grid-template-areas: "t t t" "teams odds more" "mk mk mk" "diff diff diff"; column-gap: 7px; row-gap: 4px; padding: 6px 6px 7px 9px; border-radius: 12px; }
html.phone .sa-t { flex-direction: row; align-items: center; gap: 6px; }
html.phone .sa-time { font-size: .8rem; color: var(--ink-2); }
html.phone .sa-tag { font-size: .64rem; padding: 1px 6px; }
html.phone .sa-tm { gap: 6px; }
html.phone .sa-lg, html.phone .sa-badge { width: 20px; height: 20px; }
html.phone .sa-badge { font-size: .46rem; }
html.phone .sa-nm { font-size: .9rem; }
html.phone .sa-sc { min-width: 22px; padding: 0 4px; font-size: .9rem; }
html.phone .sa-odds { gap: 4px; }
html.phone .sa-odd { width: 50px; min-height: 46px; padding: 3px 2px; border-radius: 10px; }
html.phone .sa-odd small { font-size: .66rem; }
html.phone .sa-odd b { font-size: .98rem; }
html.phone .sa-later { padding: 4px 8px; font-size: .74rem; white-space: normal; max-width: 158px; text-align: center; }
html.phone .sa-more { width: 34px; height: 34px; font-size: 1.35rem; }
html.phone .sa-more::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; }   /* Tippfläche 42 px, ohne den Teamnamen Platz zu nehmen */
html.phone .sa-mk { gap: 8px; margin-top: 4px; padding-top: 6px; }
html.phone .sa-pane { grid-template-columns: minmax(0, 1fr); gap: 8px; }
html.phone .sa-pend .sa-bw { grid-row: auto; }
html.phone .sa-subs { align-self: stretch; }
html.phone .sa-subs button { flex: none; min-width: 40px; min-height: 40px; padding: 0 6px; font-size: .78rem; }
html.phone .sa-bx.sa-bw, html.phone .sa-bx.sa-bc { flex-direction: column; align-items: stretch; flex-wrap: nowrap; }
html.phone .sa-bx.sa-bw > .sa-mgt, html.phone .sa-bx.sa-bc > .sa-mgt { flex: none; }
html.phone .sa-pn { flex: 1 0 100%; font-size: .68rem; }
html.phone .sa-lad, html.phone .sa-grid, html.phone .sa-gh { max-width: none; }
html.phone .sa-lad .sa-odd, html.phone .sa-grid .sa-odd { width: auto; min-height: 42px; }
html.phone .sa-odd.sa-pl { width: 100%; min-height: 40px; padding: 3px 8px 3px 10px; }
html.phone .sa-odd.sa-pl small { font-size: .8rem; }
html.phone .sa-tjcols { gap: 6px; }
html.phone .sa-tjc > .sa-mgt { flex: none; white-space: nowrap; }
html.phone .sa-tjn { font-size: .76rem; }
html.phone .sa-all { min-height: 40px; }
html.phone .sa-rep .btn { min-height: 40px; padding: 2px 12px; font-size: .84rem; }
html.phone .sa-rep { position: absolute; z-index: 6; left: 8px; right: 8px; bottom: 8px; gap: 6px 9px; padding: 8px 8px 9px 11px; box-shadow: var(--shadow); }   /* über der Leiste „Wettschein“ */
html.phone .sa-rep-h b { font-size: .78rem; letter-spacing: .12em; }
html.phone .sa-rep-h span { font-size: .7rem; }
html.phone .sa-rep-l { gap: 3px 10px; padding-top: 6px; }
html.phone .sa-rep-l dd { font-size: .84rem; }
html.phone .sa-mg { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
html.phone .sa-mgx { flex: 1 0 100%; font-size: .68rem; }
html.phone .sa-mkx { font-size: .72rem; padding: 6px 8px; }
html.phone .sa-mgt { flex: 0 0 74px; font-size: .62rem; letter-spacing: .04em; white-space: normal; line-height: 1.15; }
html.phone .sa-mgb { flex: 1 1 auto; gap: 4px; }
html.phone .sa-mgb .sa-odd { min-height: 40px; }
html.phone .sa-diff { font-size: .76rem; }
html.phone .sa-bet { padding: 8px 9px 8px 10px; gap: 5px; }
html.phone .sa-bk { font-size: .9rem; }
html.phone .sa-st { font-size: .7rem; padding: 2px 7px; }
html.phone .sa-bv { font-size: 1rem; }
html.phone .sa-bsub { font-size: .74rem; }
html.phone .sa-bg { grid-template-columns: 24px minmax(0, 1fr) auto auto; gap: 6px; padding: 3px 6px 3px 3px; }
html.phone .sa-bi { width: 22px; height: 22px; font-size: .7rem; }
html.phone .sa-bt b { font-size: .82rem; }
html.phone .sa-bt small { font-size: .68rem; }
html.phone .sa-bq, html.phone .sa-bs { font-size: .85rem; }
html.phone .sa-bn { font-size: .74rem; padding: 4px 8px; }
html.phone .sa-bn > b { font-size: .62rem; }
html.phone .sa-zl { column-gap: 12px; }
/* Leiste „Wettschein“ über der unteren Leiste – öffnet den Wettschein als Fenster */
.sa-bar { display: none; }
html.phone .sa-bar:not([hidden]) {
  grid-area: bar; -webkit-appearance: none; appearance: none; position: relative; display: flex; align-items: center; gap: 8px; min-width: 0; height: var(--sabar-h); padding: 0 14px;
  border-radius: 16px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0)), var(--surface); color: var(--ink);
  box-shadow: var(--shadow); font: inherit; text-align: left; cursor: pointer; touch-action: manipulation;
}
html.phone .sa-bar.has { border-color: var(--gold); background: linear-gradient(180deg, rgba(217, 180, 94, .2), rgba(217, 180, 94, .06)), var(--surface); }
html.phone .sa-bar:active { transform: scale(.98); }
.sa-bar-t { flex: none; font-family: var(--f-deco); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.sa-bar .sa-tn { margin-left: 0; background: var(--gold); color: var(--gold-ink); }
.sa-bar-s { flex: 1 1 auto; min-width: 0; color: var(--ink-2); font-size: .84rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.sa-bar-w { flex: none; font-family: var(--f-num); font-weight: 800; font-size: 1.1rem; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.sa-bar-w:empty { display: none; }
.sa-bar::after { content: ""; flex: none; width: 8px; height: 8px; margin-left: 2px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); transform: translateY(2px) rotate(45deg); }
.sa-bar[aria-expanded="true"]::after { transform: translateY(-2px) rotate(225deg); }
/* Wettschein am Handy: Fenster über der unteren Leiste (wie Regeln und Rangliste) */
html.phone .sa-slip { position: fixed; z-index: 87; left: 10px; right: 10px; top: auto; bottom: calc(66px + var(--fsb)); max-height: calc(100% - 76px - var(--fst) - var(--fsb));
  padding: 12px 12px 12px; gap: 8px; border-color: var(--line-2); box-shadow: 0 30px 80px rgba(0, 0, 0, .65), 0 0 0 1px rgba(217, 180, 94, .25); animation: statsIn .2s ease-out both; }
html.phone .sa-close { display: inline-flex; }
html.phone .sa-slip-head h2 { font-size: .95rem; letter-spacing: .12em; }
html.phone .sa-slip-head .btn { min-height: 40px; padding: 2px 10px; font-size: .82rem; }
html.phone .sa-slip .wal { min-height: 40px; padding: 2px 12px; }
html.phone .sa-slip .wal .balance { font-size: 1.3rem; }
html.phone .sa-leg { grid-template-columns: minmax(0, 1fr) auto 40px; padding: 5px 5px 5px 10px; gap: 6px; }
html.phone .sa-lp { font-size: .88rem; }
html.phone .sa-lm, html.phone .sa-lf { font-size: .7rem; }
html.phone .sa-lq b { font-size: 1rem; }
html.phone .sa-lx { width: 40px; height: 40px; }
html.phone .sa-empty { flex: none; flex-direction: row; gap: 12px; padding: 12px; text-align: left; }
html.phone .sa-eball { width: 40px; height: 40px; }
html.phone .sa-empty p { font-size: .82rem; }
html.phone .sa-kq b { font-size: 1.12rem; }
html.phone .sa-picks button { min-height: 40px; font-size: .78rem; padding: 0; }
html.phone .sa-inrow input[type="text"] { min-height: 42px; font-size: 1.15rem; }
html.phone .sa-winl { min-height: 42px; padding: 2px 12px; }
html.phone .sa-line .balance { font-size: 1.3rem; }
html.phone .btn.sa-place { min-height: 50px; font-size: .98rem; letter-spacing: .1em; }
html.phone .sa-msg, html.phone .sa-slip .err { padding: 6px 10px; font-size: .8rem; }
html.phone .sa-free { font-size: .74rem; }
html.phone .sa-done { padding: 8px 10px; font-size: .8rem; }
@media (prefers-reduced-motion: reduce) { .sa-ldot, .sa-live::before, .sa-tag[data-s="live"], .sa-bg[data-s="live"] .sa-bi { animation: none; } }

/* ===================================================================================================================
   Spielautomat (js/automat-anzeige.js, ab Runden v49): Kachel, Logo, Automat mit drei Walzen, Einsatz, Gewinnplan
   =================================================================================================================== */
/* Logo oben links: rote 7 */
.logo[data-g="a"] { background: radial-gradient(circle at 50% 35%, #3A1D14, #120806 72%); }
.logo[data-g="a"]::before { content: "7"; position: absolute; inset: 0; display: grid; place-items: center; padding-top: 4%; font: 800 76cqh/1 var(--f-num); color: #F04A3E;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .6), 0 0 7px rgba(240, 74, 62, .55); }
/* Einsatz-Chip 0,20 € */

/* ---------- Automat: Gehäuse aus Filz und Gold, oben die Leuchtschrift, in der Mitte drei Walzen hinter Glas, unten die Anzeige ----------
   --sym: Höhe einer Reihe – passt sich dem Platz an (iPad: daneben der Gewinnplan, Handy: volle Breite); die Walzen laufen in Bühnen-Pixeln */
.am-board { gap: 10px; }
.am-cab { --am-side: 0px; position: relative; flex: 1 1 0; min-height: 0; container-type: size; display: flex; align-items: center; justify-content: center; gap: 26px; }
html:not(.phone) .am-cab { --am-side: 262px; }
.am-mach { --sym: clamp(40px, min(calc((100cqh - 6px) / 4.46), calc((100cqw - var(--am-side) - 6px) / 4.04)), 140px); position: relative; flex: none; display: flex; align-items: center; }
.am-body { position: relative; display: flex; flex-direction: column; gap: calc(var(--sym) * .1); padding: calc(var(--sym) * .14); border-radius: calc(var(--sym) * .26);
  background: radial-gradient(ellipse 95% 70% at 50% 16%, var(--felt-hi) 0%, var(--felt) 48%, var(--felt-lo) 100%);
  box-shadow: inset 0 0 0 3px var(--gold), inset 0 0 0 6px rgba(0, 0, 0, .35), inset 0 0 44px rgba(0, 0, 0, .38), 0 18px 36px rgba(0, 0, 0, .5); transition: box-shadow .4s ease; }
.am-cab.jack .am-body { box-shadow: inset 0 0 0 3px var(--gold-hi), inset 0 0 0 6px rgba(0, 0, 0, .35), inset 0 0 44px rgba(0, 0, 0, .38), 0 0 44px rgba(246, 223, 156, .55), 0 18px 36px rgba(0, 0, 0, .5); }
/* Leuchtschrift mit Lauflichtern */
.am-top { position: relative; display: flex; align-items: center; justify-content: center; gap: calc(var(--sym) * .12); height: calc(var(--sym) * .44); padding: 0 calc(var(--sym) * .14);
  border-radius: calc(var(--sym) * .14); background: linear-gradient(180deg, #2C100B, #110503); box-shadow: inset 0 0 0 2px var(--gold), 0 2px 6px rgba(0, 0, 0, .45); overflow: hidden; }
.am-top::before, .am-top::after { content: ""; position: absolute; left: 6px; right: 6px; height: 4px; background: radial-gradient(circle, #FFE9A8 0 40%, rgba(255, 233, 168, 0) 62%) 0 0 / 12px 4px repeat-x; opacity: .85; }
.am-top::before { top: 3px; }
.am-top::after { bottom: 3px; }
.am-777 { display: flex; gap: 1px; }
.am-777 b { font-family: var(--f-num); font-weight: 800; font-size: calc(var(--sym) * .3); line-height: 1; color: #FF4B3E; text-shadow: 0 0 6px rgba(255, 75, 62, .75); }
.am-top-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-family: var(--f-deco); font-weight: 700; font-size: max(10px, calc(var(--sym) * .14)); letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-hi); white-space: nowrap; text-shadow: 0 0 6px rgba(246, 223, 156, .45); }
/* Fenster mit drei Walzen (je drei Reihen sichtbar), goldene Gewinnlinie über die mittlere Reihe */
.am-win { position: relative; display: grid; grid-template-columns: repeat(3, calc(var(--sym) * 1.04)); gap: calc(var(--sym) * .06); padding: calc(var(--sym) * .08);
  border-radius: calc(var(--sym) * .14); background: rgba(0, 0, 0, .55); box-shadow: inset 0 0 0 2px var(--gold-lo), 0 0 0 3px rgba(217, 180, 94, .22), inset 0 6px 14px rgba(0, 0, 0, .6); }
.am-reel { position: relative; height: calc(var(--sym) * 3); overflow: hidden; border-radius: calc(var(--sym) * .08);
  background: linear-gradient(180deg, #8E8775 0%, #E9E2D0 16%, #FBF7EC 50%, #E9E2D0 84%, #8E8775 100%); transition: box-shadow .3s ease; }
.am-reel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .52) 0%, rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, 0) 76%, rgba(0, 0, 0, .52) 100%);
  box-shadow: inset 3px 0 5px rgba(0, 0, 0, .3), inset -3px 0 5px rgba(0, 0, 0, .3); }
.am-reel.tease { box-shadow: 0 0 0 2px var(--gold-hi), 0 0 22px rgba(246, 223, 156, .85); }
/* Seite v148: jede Walze zeichnet ihre Reihen auf ein Canvas (js/automat-anzeige.js amDraw) – füllt die Walze, der Schatten (::after) liegt darüber */
.am-cv { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.am-blank { display: block; width: 44%; height: calc(var(--sym) * .07); min-height: 4px; border-radius: 99px; background: rgba(120, 104, 70, .2);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .18), 0 1px 0 rgba(255, 255, 255, .6); }   /* Leerfeld: sichtbar gewollt, kein Symbol */
.am-line { position: absolute; z-index: 2; left: calc(var(--sym) * .02); right: calc(var(--sym) * .02); top: 50%; height: 3px; margin-top: -1.5px; pointer-events: none;
  background: linear-gradient(90deg, rgba(246, 223, 156, .2), var(--gold-hi) 8%, var(--gold-hi) 92%, rgba(246, 223, 156, .2)); box-shadow: 0 0 8px rgba(246, 223, 156, .75); opacity: .85; }
.am-line::before, .am-line::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: calc(var(--sym) * -.1); border: calc(var(--sym) * .1) solid transparent; }
.am-line::before { left: calc(var(--sym) * -.16); border-left-color: var(--gold-hi); }
.am-line::after { right: calc(var(--sym) * -.16); border-right-color: var(--gold-hi); }
.am-win::before { content: ""; position: absolute; z-index: 1; left: calc(var(--sym) * .05); right: calc(var(--sym) * .05); top: 50%; height: calc(var(--sym) * 1.02);
  margin-top: calc(var(--sym) * -.51); border-radius: calc(var(--sym) * .1); pointer-events: none; box-shadow: inset 0 0 0 2px rgba(246, 223, 156, 0); transition: box-shadow .3s ease; }
.am-win.hit::before { box-shadow: inset 0 0 0 3px var(--gold-hi), 0 0 26px rgba(246, 223, 156, .6); animation: amHit 1s ease-in-out 3; }
.am-win.hit .am-line { opacity: 1; }
@keyframes amHit { 50% { box-shadow: inset 0 0 0 3px #FFFFFF, 0 0 42px rgba(246, 223, 156, .95); } }
/* Symbole: rote 7, BAR als dunkle Plakette, Glocke, Traube, Zitrone, Kirsche (gezeichnet), leer */
.am-s7 { font-family: var(--f-num); font-weight: 800; font-size: calc(var(--sym, 30px) * .74); line-height: 1; color: #E2342A; letter-spacing: -.02em;
  -webkit-text-stroke: calc(var(--sym, 30px) * .014) #7A0E08; text-shadow: 0 2px 0 rgba(122, 14, 8, .3), 0 0 10px rgba(255, 210, 120, .35); }
.am-sbar { display: grid; place-items: center; width: calc(var(--sym, 30px) * .82); height: calc(var(--sym, 30px) * .36); border-radius: calc(var(--sym, 30px) * .06);
  background: linear-gradient(180deg, #2E3330, #0B0D0C); box-shadow: inset 0 0 0 2px var(--gold), 0 2px 4px rgba(0, 0, 0, .35); color: #FFFFFF;
  font-family: var(--f-num); font-weight: 800; font-size: calc(var(--sym, 30px) * .22); line-height: 1; letter-spacing: .08em; }
/* Glocke, Traube, Zitrone, Kirsche: gezeichnet (js/automat-anzeige.js AM_SYM_SVG, seit Seite v138 statt Emojis) */
/* Anzeige unten: Einsatz und Gewinn in Leuchtziffern */
.am-lcd { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(var(--sym) * .08); }
.am-lcd span { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; min-width: 0; padding: calc(var(--sym) * .05) calc(var(--sym) * .1);
  border-radius: calc(var(--sym) * .08); background: #080B09; box-shadow: inset 0 0 0 1px rgba(217, 180, 94, .45), inset 0 2px 6px rgba(0, 0, 0, .8); }
.am-lcd small { flex: none; font-family: var(--f-deco); font-weight: 700; font-size: max(10px, calc(var(--sym) * .1)); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.am-lcd b { min-width: 0; overflow: hidden; font-family: var(--f-num); font-weight: 800; font-size: max(13px, calc(var(--sym) * .17)); line-height: 1.15; color: #FFB547;
  text-shadow: 0 0 6px rgba(255, 181, 71, .55); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Hebel rechts am Gehäuse (Antippen dreht wie der Knopf) */
.am-lever { -webkit-appearance: none; appearance: none; position: relative; flex: none; align-self: center; width: calc(var(--sym) * .34); height: calc(var(--sym) * 1.7);
  margin: calc(var(--sym) * -1.2) 0 0 -3px; padding: 0; border: 0; background: none; cursor: pointer; touch-action: manipulation; }
.am-lever::before { content: ""; position: absolute; left: 0; bottom: 0; width: calc(var(--sym) * .2); height: calc(var(--sym) * .46); border-radius: 0 9px 9px 0;
  background: linear-gradient(90deg, #6B5226, var(--gold), #6B5226); box-shadow: 0 3px 6px rgba(0, 0, 0, .5); }
.am-lever i { position: absolute; left: calc(var(--sym) * .065); bottom: calc(var(--sym) * .23); width: calc(var(--sym) * .07); height: calc(var(--sym) * 1.22); border-radius: 4px;
  background: linear-gradient(90deg, #8D8D8D, #F2F2F2 45%, #9A9A9A); transform-origin: 50% 100%; box-shadow: 0 2px 4px rgba(0, 0, 0, .4); }
.am-lever i::before { content: ""; position: absolute; left: 50%; top: calc(var(--sym) * -.2); width: calc(var(--sym) * .3); height: calc(var(--sym) * .3); margin-left: calc(var(--sym) * -.15);
  border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FF9A8C, var(--num-red) 55%, #6E1510); box-shadow: 0 3px 6px rgba(0, 0, 0, .5); }
.am-lever.pull i { animation: amPull .55s ease-in-out; }
.am-lever:disabled { cursor: default; }
.am-lever.off { opacity: .45; filter: grayscale(.85); }                 /* gesperrt wie der Knopf „Drehen“ */
@keyframes amPull { 0% { transform: none; } 40% { transform: scaleY(-.42); } 100% { transform: none; } }
/* Gewinn groß über den Walzen (wie beim Blackjack), mittig auf dem Automaten */
.am-banner { top: 50%; }
/* iPad: Gewinnplan rechts neben dem Automaten – Beträge zum gewählten Einsatz, die getroffene Zeile leuchtet */
.am-pay { flex: none; width: 236px; font-size: .9rem; }
.am-pay th { padding: 7px 10px; }
.am-pay th:last-child { text-align: right; }
.am-pay td { padding: 5px 10px; vertical-align: middle; transition: background-color .3s ease; }
.help-pay.am-pay td:last-child { text-align: right; line-height: 1.1; }
.am-pay td:last-child b { display: block; font-size: 1rem; }
.am-pay td:last-child small { display: block; font-family: var(--f-body); font-weight: 700; font-size: .72rem; color: var(--ink-3); }
.am-pay tr.hit td { background: rgba(217, 180, 94, .2); }
.am-pay tr.hit td:first-child { box-shadow: inset 3px 0 0 var(--gold-hi); }
/* Symbole im Gewinnplan (Automat und Regeln) – klein, auf hellem Grund wie auf der Walze */
.am-ps { display: inline-flex; align-items: center; gap: 3px; vertical-align: middle; }
.am-ps i { --sym: 26px; display: inline-grid; place-items: center; min-width: var(--sym); height: var(--sym); padding: 0 1px; border-radius: 6px; font-style: normal;
  background: linear-gradient(180deg, #CFC8B4, #FBF7EC 30%, #FBF7EC 70%, #CFC8B4); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); }
.am-ps .am-sbar { width: auto; height: auto; padding: 3px 4px; font-size: 9px; box-shadow: inset 0 0 0 1px var(--gold); }
.am-ps i.am-pany { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-3); font-weight: 700; }
/* Bedienung (iPad rechts, Handy unten): Hinweis, „Drehen“, letzter Dreh */
.am-slip { gap: 10px; }
.card .am-hint { margin: 0; text-align: center; font-weight: 700; font-size: .95rem; color: var(--ink-2); }
.card .am-hint[data-s="warn"] { color: var(--warn); }
#amSpinBtn { white-space: nowrap; }
#amSpinBtn.long { font-size: 1.15rem; letter-spacing: .12em; }
#amSpinBtn.lim { opacity: .55; filter: saturate(.6); }                   /* Tageslimit: antippbar (Hinweis statt Dreh), sieht gesperrt aus */
/* Regeln, Reiter „Automat“ */
.am-help-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.am-help-pay td { vertical-align: middle; }
.am-help-pay td:first-child small { margin-left: 8px; font-weight: 400; font-size: .85rem; color: var(--ink-2); }
/* Meine Statistik: sieben Kacheln – die Summe über die ganze Breite */
.ms-tile.wide { grid-column: 1 / -1; }
.ms-tile.wide2 { grid-column: span 2; }                                /* v256: drei Spalten, zwei frei – die Summe füllt sie */
/* Bewegung nur, wenn erwünscht */
@media (prefers-reduced-motion: no-preference) {
  
  .am-top::before, .am-top::after { animation: amBulbs 1.4s steps(2) infinite; }
  .am-top::after { animation-direction: reverse; }
  .am-cab.spin .am-top::before, .am-cab.spin .am-top::after { animation-duration: .36s; }
  .am-cab.jack .am-top::before, .am-cab.jack .am-top::after { animation-duration: .2s; }
}
@keyframes amBulbs { to { background-position: 12px 0; } }
@media (prefers-reduced-motion: reduce) { .am-lever.pull i, .am-win.hit::before { animation: none; } }

/* ---------- Handy: Automat über die volle Breite, Bedienung fest 154 px über der unteren Leiste ---------- */
html.phone .am-pay { display: none; }
html.phone .am-board { gap: 6px; }
html.phone #automatCard .round-head { height: 32px; }
html.phone #amMsg { display: none; }                                    /* das Ergebnis steht im Banner und in der Anzeige des Automaten */
html.phone .am-board .round-head .phase { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
html.phone .am-cab { gap: 0; }
html.phone #automatSlip { position: relative; height: var(--slip-h); justify-content: center; gap: 6px; padding: 10px 12px; }
html.phone #amSpinBtn, html.phone #amSpinBtn.long { height: 50px; min-height: 50px; padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 1rem; letter-spacing: .1em; }
html.phone .card .am-hint { display: flex; align-items: center; justify-content: center; height: 2.5em; overflow: hidden; font-size: .8rem; line-height: 1.25em; }
/* Zeile unter dem Knopf: zwei Zeilen Platz („Ergebnis unklar …“, „Dauert länger …“), eine Zeile steht mittig – nichts verrutscht */
html.phone #amSum { display: flex; align-items: center; justify-content: center; height: 2.5em; line-height: 1.25em; white-space: normal; overflow: hidden; }
/* Fehler: an der Stelle dieser Zeile, kompakt – überdeckt weder Chips noch Knopf */
html.phone #automatSlip .err { display: flex; align-items: center; justify-content: center; min-height: 2rem; margin: 0; padding: 2px 8px; border-radius: 9px;
  text-align: center; font-size: .75rem; line-height: 1.2; }
html.phone #automatSlip:has(#amError:not([hidden])) #amSum { display: none; }
/* Seite v145: Chips legen dazu – „Rückgängig“ und „Einsatz weg“ wie beim Blackjack; auf dem Handy statt des Hinweises (der Grund steht dann neben den Chips) */
html.phone .card .am-hint { display: none; }
html.phone #automatSlip > .bet-tools, html.phone #pokerSlip > .bet-tools { flex: none; display: flex; gap: 6px; }
html.phone .am-help-pay td:first-child small { margin-left: 6px; font-size: .7rem; }
html.phone .am-ps i { --sym: 21px; border-radius: 5px; }
html.phone .am-help-pay td { padding-block: 3px; }
html.phone .am-ps .am-sbar { font-size: 8px; padding: 2px 3px; }

/* ===================================================================================================================
   Spielautomat – Automatik (Seite v138, js/automat-anzeige.js): „Auto“ neben „Drehen“, Auswahl 10 / 25 / 50 / 100 über dem Knopf,
   während der Automatik wird „Drehen“ zum roten „Stopp (n übrig)“ (Handy: über die ganze Breite, „Auto“ ist dann weg)
   =================================================================================================================== */
.am-go { position: relative; flex: none; display: flex; align-items: stretch; gap: 8px; min-width: 0; }
.am-go > #amSpinBtn { flex: 1 1 0; width: auto; min-width: 0; }
.btn.am-auto { flex: none; flex-direction: column; gap: 3px; width: 78px; min-height: 0; padding: 6px 4px; border-radius: 18px; border-color: rgba(217, 180, 94, .55);
  background: linear-gradient(180deg, rgba(217, 180, 94, .13), rgba(217, 180, 94, .03)); color: var(--gold-hi);
  font-family: var(--f-deco); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.am-auto svg { flex: none; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.am-auto-t { line-height: 1; padding-left: .14em; }                     /* Sperrung ausgleichen: mittig unter dem Zeichen */
.btn.am-auto:active { background: rgba(217, 180, 94, .2); }
.btn.am-auto[aria-expanded="true"] { border-color: var(--gold); background: rgba(217, 180, 94, .22); box-shadow: 0 0 0 3px rgba(217, 180, 94, .18); }
/* „Stopp (n übrig)“: rot mit Goldrand, Stopp-Zeichen vorne, kein Glanzstreifen – nicht zu verwechseln mit „Drehen“ */
#amSpinBtn.am-stop { background: linear-gradient(180deg, #E0594B 0%, #B3302A 52%, #7A1913 100%); color: #FFF6E8; text-shadow: 0 1px 1px rgba(0, 0, 0, .45);
  box-shadow: inset 0 0 0 2px rgba(246, 223, 156, .85), inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 22px rgba(0, 0, 0, .45); }
#amSpinBtn.am-stop::after { content: none; }
#amSpinBtn.am-stop::before { content: ""; flex: none; width: .6em; height: .6em; border-radius: 2px; background: currentColor; box-shadow: 0 1px 1px rgba(0, 0, 0, .35); }
.card .am-hint[data-s="auto"] { color: var(--gold-hi); }
/* iPad/Computer: Zeile unter dem Knopf mit Platz für zwei Zeilen (Ende der Automatik, „Ergebnis unklar …“) – die Bedienung springt nicht */
html:not(.phone) #amSum { display: flex; align-items: center; justify-content: center; min-height: 2.5em; line-height: 1.25em; }
/* Auswahl über „Auto“ (rechts bündig, Spitze zeigt auf den Knopf) */
.am-auto-menu { position: absolute; z-index: 40; right: 0; bottom: calc(100% + 12px); display: flex; flex-direction: column; gap: 10px; width: 300px; max-width: 86vw;
  padding: 14px 14px 10px; border-radius: 16px; border: 1px solid var(--line-2); text-align: left;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0) 55%), var(--surface-2); box-shadow: 0 18px 40px rgba(0, 0, 0, .62), 0 0 0 1px rgba(0, 0, 0, .45); }
.am-auto-menu::after { content: ""; position: absolute; right: 33px; bottom: -7px; width: 12px; height: 12px; transform: rotate(45deg);
  background: var(--surface-2); border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.card .am-auto-h { font-family: var(--f-deco); font-weight: 700; font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); line-height: 1.15; }
.card .am-auto-e { margin-top: -6px; font-size: .85rem; color: var(--ink-2); }
.am-auto-n { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.am-auto-n button { -webkit-appearance: none; appearance: none; min-height: 52px; padding: 0; border: 1px solid rgba(217, 180, 94, .5); border-radius: 12px; cursor: pointer;
  background: radial-gradient(ellipse 90% 80% at 50% 25%, rgba(217, 180, 94, .18), rgba(0, 0, 0, .22)); color: var(--gold-hi); touch-action: manipulation;
  font-family: var(--f-num); font-weight: 800; font-size: 1.3rem; font-variant-numeric: tabular-nums; transition: transform .1s ease, background-color .15s ease, border-color .15s ease; }
.am-auto-n button:hover { border-color: var(--gold); background-color: rgba(217, 180, 94, .16); }
.am-auto-n button:active { transform: scale(.96); }
.am-auto-n button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.am-auto-big { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: .9rem; font-weight: 700; color: var(--ink); line-height: 1.25; cursor: pointer; }
.am-auto-big input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--gold); cursor: pointer; }
.am-auto-big small { font-weight: 400; color: var(--ink-3); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  #amSpinBtn.am-stop { animation: amStopGlow 1.8s ease-in-out infinite; }
  .am-auto-menu:not([hidden]) { animation: amMenuIn .16s ease-out both; }
}
@keyframes amStopGlow { 50% { box-shadow: inset 0 0 0 2px var(--gold-hi), inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 22px rgba(0, 0, 0, .45), 0 0 0 5px rgba(224, 89, 75, .25); } }
@keyframes amMenuIn { from { opacity: 0; transform: translateY(6px); } }
/* Handy: „Auto“ schmal in derselben Zeile wie „Drehen“ (50 px hoch), die Auswahl über die ganze Breite der Bedienung */
html.phone .am-go { gap: 6px; }
html.phone .btn.am-auto { width: 66px; height: 50px; min-height: 50px; padding: 4px 2px; gap: 2px; border-radius: 14px; font-size: .66rem; }
html.phone .am-auto svg { width: 20px; height: 20px; }
html.phone .am-auto-menu { left: 0; right: 0; width: auto; max-width: none; bottom: calc(100% + 10px); padding: 12px 12px 8px; gap: 8px; }
html.phone .am-auto-menu::after { right: 27px; }
html.phone .am-auto-n button { min-height: 50px; }
html.phone .am-auto-big { min-height: 36px; font-size: .85rem; }

/* ---------- v135 (DAUERBETRIEB.md §4.7, §7.1, §7.7): Admin – Uhr-Hinweis, mehrere Konten löschen, Übersicht „Dauerbetrieb“ ---------- */
.admin-clock { margin: 0; padding: 6px 12px; border-radius: 10px; background: rgba(214, 120, 40, .16); color: #f2b27a; font-size: .85rem; font-weight: 700; }
.ai-wide { grid-column: 1 / -1; }
.ai-wide .ai-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; align-items: start; }
.ai-wide .ai-list > .ai-sub, .ai-wide .ai-list > .ai-full { grid-column: 1 / -1; }
.ai-row[data-s="bad"] { background: rgba(200, 40, 40, .2); }
.ai-row[data-s="bad"] dd { color: #ff8a7a; }
.ai-row[data-s="info"] dd { color: var(--ink-3); }
.ai-row .ai-btn { margin-top: 6px; min-height: 32px; padding: 2px 12px; font-size: .8rem; }
html.phone .ai-wide .ai-list { grid-template-columns: minmax(0, 1fr); }
.ai-wide .ai-row.ai-full { grid-template-columns: minmax(110px, calc((100% - 24px) * .19)) minmax(0, 1fr); }   /* Werte bündig mit der linken Spalte */
html.phone .ai-wide .ai-row.ai-full { grid-template-columns: minmax(0, 1fr); }

/* ---------- Seite v138: Linien-Symbole statt Emojis (js/anzeige.js icoSvg) – Strich in Gold wie die Knöpfe oben rechts ---------- */
.ico { display: inline-block; flex: none; width: 1.15em; height: 1.15em; margin-right: .3em; vertical-align: -.2em; color: var(--gold-hi); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.btn > .ico, .watch-pill > .ico, .hh-pill > .ico, .ann-bar > .ico { margin-right: 0; }
.watch-pill > .ico, .hh-pill > .ico { width: 18px; height: 18px; vertical-align: 0; }
.hh-pill > .ico { color: inherit; stroke-width: 2; }                 /* auf Gold: dunkler Strich wie die Schrift */
html.phone .watch-pill > .ico, html.phone .hh-pill > .ico { width: 15px; height: 15px; }
.gt-watch > .ico { width: 1.1em; height: 1.1em; vertical-align: 0; }
svg.lb-ico, svg.task-ico, svg.win-ico, svg.pass-ico { width: 1em; height: 1em; margin: 0; vertical-align: middle; stroke-width: 1.6; }
.lb-tile.ready svg.lb-ico { transform-origin: 50% 55%; }
.ann-bar > .ann-ico { width: 1.25em; height: 1.25em; }
.ready-check > .ico { width: 60%; height: 60%; margin: 0; vertical-align: 0; color: var(--ok-ink); stroke-width: 2.8; }
.task-n > .ico { width: 1.05em; height: 1.05em; margin-right: .25em; vertical-align: -.17em; }
.task.done .task-n > .ico { color: var(--ok); stroke-width: 2.4; }
.task-n > .ico[data-ico="lock"] { color: var(--ink-3); }
.gt-count > .ico { width: 1.1em; height: 1.1em; margin: 0 .2em 0 0; vertical-align: -.22em; color: currentColor; }
.lb-sub > .ico { width: 1em; height: 1em; margin-right: .2em; vertical-align: -.14em; color: currentColor; }
.pos-ico { width: 1.15em; height: 1.15em; margin: 0; vertical-align: -.2em; }
.nm-badge { font-style: normal; white-space: nowrap; }
.nm-badge + .nm-badge { margin-left: 2px; }
.nm-badge > .ico { width: .95em; height: .95em; margin: 0; vertical-align: -.1em; }
.rk-badges { letter-spacing: 0; }
.kv-hh > .ico, .result > .ico { width: 1em; height: 1em; margin: 0 .2em 0 .1em; vertical-align: -.13em; }
/* Plätze 1–3 der Rangliste: Medaille mit Zahl statt Emoji */
.rk-medal { display: inline-grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: 50%; font: 800 .82em/1 var(--f-num); font-style: normal; color: var(--gold-ink);
  background: radial-gradient(circle at 35% 30%, #FFF4CF, var(--gold) 55%, var(--gold-lo)); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35), 0 1px 3px rgba(0, 0, 0, .4); }
.rk-medal.m2 { background: radial-gradient(circle at 35% 30%, #FFFFFF, #C9CFD3 55%, #8A9399); }
.rk-medal.m3 { background: radial-gradient(circle at 35% 30%, #FBD9B8, #C98A55 55%, #8C5528); }
/* Seite v138 (Zusammenführung): Haken und Kreuz in „Meine Wetten“ (Stand je Tipp) und „Wette platziert“ – Linien-Symbole in der Farbe
   des Schilds statt der Zeichen ✓/✗ */
.sa-bi > .ico { width: 15px; height: 15px; margin: 0; vertical-align: 0; color: currentColor; stroke-width: 2.8; }
html.phone .sa-bi > .ico { width: 13px; height: 13px; }
.sa-done > b > .ico { width: 1.05em; height: 1.05em; margin-right: .35em; vertical-align: -.17em; color: currentColor; stroke-width: 2.4; }
/* Seite v138: technische Nachweise am Spielautomaten („Gezogen und unterschrieben“, „Vom Server unterschrieben“, „Gebucht“) setzt
   js/automat-anzeige.js nicht mehr (leer); Prüfung und Buchung laufen unverändert weiter. Warten, „Verfallen“ (lock/bad) bleiben sichtbar.
   Die Zeile behält ihre Höhe, damit „Einsatz … je Dreh“ daneben nicht bei jedem Dreh (auch in der Automatik) springt. */
#amSave { min-height: 1.35em; }

/* Walzen-Symbole als Zeichen (wie bis v137, Wunsch des Besitzers) */
.am-emo { font-size: calc(var(--sym, 30px) * .6); line-height: 1; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .25)); }

/* Seite v142: kleine Zeilen unter den Spielen nie breiter als die Kachel (js/automat-anzeige.js fitTilePills verkleinert notfalls) */
.lobby .gt-count { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }




/* ===================================================================================================================
   Pokertisch (Seite v150, Runden v55, js/pokertisch-anzeige.js, POKER2.md): zwei Tische, die der Server führt – „Gegen den Dealer“ und
   „Gegeneinander“. Bühne mit Filz und Goldrand wie beim Blackjack; darauf der ovale Tisch mit Holz- und Goldrand in leichter 3D-Neigung
   (Kamera .pt-cam: beim Öffnen von oben in die Spielansicht, beim eigenen Zug näher heran, beim Aufdecken zur Mitte). Plätze rundherum (du
   unten), leer als blasser Kreis „Frei“ wie beim Blackjack; in der Mitte Dealer (Tisch A), Pot und Tischkarten. Karten wie beim Blackjack
   (.pc): sie fliegen langsam vom Dealer an ihren Platz (ptIn, ptDeal) und drehen sich weich um (ptFlip).
   =================================================================================================================== */
.pt-board { --cw: 48px; }
.pt-head { flex-wrap: nowrap; min-width: 0; }
.pt-head h2 { flex: none; }
.pt-tabs { flex: 0 1 auto; min-width: 0; }
.pt-tabs button { white-space: nowrap; }
.pt-head .phase { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-stage { position: relative; flex: 1 1 0; min-height: 330px; border-radius: 26px; overflow: hidden; perspective: 1400px;
  background: radial-gradient(ellipse 90% 80% at 50% 18%, var(--felt-hi) 0%, var(--felt) 50%, var(--felt-lo) 100%);
  box-shadow: inset 0 0 0 3px var(--gold), inset 0 0 0 6px rgba(0, 0, 0, .35), inset 0 0 50px rgba(0, 0, 0, .4), 0 14px 30px rgba(0, 0, 0, .45); }
.pt-cam { position: absolute; inset: 0; transform-origin: 50% 62%; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); }
.pt-cam[data-cam="me"] { transform: translateY(-2.5%) scale(1.04); }
.pt-cam[data-cam="mid"] { transform: translateY(1%) scale(1.03); }
/* v278 (Bild des Besitzers vom iPad eines Spielers: „warum wird das so verbugt auf einem iPad angezeigt, nicht alle“): manche iPads malten die Schatten des gekippten
   Tischs (box-shadow an einem Element mit rotateX) als Rechteck – ein brauner Kasten mit Goldrand um den ovalen Filz. Seitdem kein box-shadow mehr am gekippten Tisch:
   der Rand sind zwei Ovale mit Rahmen und Fläche hinter dem Filz (::before außen, ::after innen – dieselben Maße wie die Schatten bis v277), der Filz ist .pt-ring
   (die helle Linie darin ::before), der Schatten unter dem Tisch und am Rand des Filzes sind Verläufe. Flächen, Rahmen und Verläufe malen alle iPads richtig. */
.pt-table { position: absolute; left: 8%; right: 8%; top: 12%; bottom: 12%; border-radius: 50%; transform: rotateX(15deg); transform-origin: 50% 55%; }
.pt-table::before, .pt-table::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; }
.pt-table::before { inset: -14px; border: 2px solid var(--gold-lo); background: #4B2B14; }
.pt-table::after { inset: -8px; border: 2px solid var(--gold); background: #6E4122; }
.pt-ring { position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0) 82%, rgba(0, 0, 0, .04) 92%, rgba(0, 0, 0, .12) 100%), radial-gradient(ellipse at 50% 36%, #23A770 0%, var(--felt-hi) 42%, var(--felt) 100%); }
.pt-ring::before { content: ""; position: absolute; inset: 8% 6%; border-radius: 50%; border: 2px solid rgba(246, 223, 156, .32); }
.pt-ring::after { content: ""; position: absolute; z-index: -2; left: -40px; right: -40px; top: -14px; bottom: -66px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .45) 72%, rgba(0, 0, 0, 0) 100%); }
.pt-brand { position: absolute; left: 50%; top: 27%; transform: translate(-50%, -50%); font-family: var(--f-deco); font-weight: 700; font-size: 1.15rem; letter-spacing: .3em;
  text-transform: uppercase; color: rgba(246, 223, 156, .34); white-space: nowrap; }
.pt-board[data-tab="A"] .pt-brand { top: 70%; }
.pt-stage.has-board .pt-brand, .pt-stage.brand-hit .pt-brand { opacity: 0; }   /* v185: auch, wenn ein Platz den Schriftzug berührt (Bild vom iPad) */
.pt-brand { transition: opacity .6s ease; }
.pt-stage.enter .pt-table { animation: ptCam 1.6s cubic-bezier(.2, .8, .2, 1) both; }
.pt-stage.enter .pt-seats, .pt-stage.enter .pt-mid { animation: ptFade .9s ease-out .6s both; }
@keyframes ptCam { from { transform: rotateX(32deg) scale(.96); opacity: .4; } to { transform: rotateX(15deg) scale(1); opacity: 1; } }   /* v164: sanfter (vorher 58° und 82 %) */
@keyframes ptFade { from { opacity: 0; } to { opacity: 1; } }
.pt-stage.lost::before { content: ""; position: absolute; inset: 0; z-index: 4; border-radius: inherit; background: radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(160, 20, 12, .45));
  pointer-events: none; animation: lostGlow 1.6s ease-out forwards; }
/* Mitte: Dealer (A), Pot, Tischkarten */
.pt-mid { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pt-board[data-tab="B"] .pt-mid { top: 48%; }
.pt-dealer { display: flex; flex-direction: column; align-items: center; gap: 4px; --cw: 44px; }
.pt-dealer[hidden] { display: none; }
.pt-dlab { font-family: var(--f-deco); font-weight: 700; font-size: .76rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.pt-cards { display: flex; align-items: center; gap: 6px; min-height: calc(var(--cw) * 1.4); }
.pt-cards .pc { --cw: inherit; }
.pt-boardc { --cw: 50px; gap: 7px; }
.pt-slot { display: block; flex: none; width: var(--cw); height: calc(var(--cw) * 1.4); border-radius: calc(var(--cw) * .11); border: 2px dashed rgba(225, 228, 226, .42);   /* v175: grau gestrichelt, etwas deutlicher */ background: rgba(0, 0, 0, .07); }
.pt-val { padding: 1px 9px; border-radius: 999px; background: rgba(0, 0, 0, .5); color: #FFFFFF; font-style: normal; font-weight: 800; font-size: .76rem; white-space: nowrap; }
.pt-val[hidden] { display: none; }
.pt-pot { display: inline-flex; align-items: baseline; gap: 6px; padding: 3px 12px; border-radius: 999px; background: rgba(0, 0, 0, .42); color: rgba(247, 236, 204, .85);
  font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pt-pot b { font-family: var(--f-num); font-weight: 800; font-size: .98rem; letter-spacing: 0; text-transform: none; color: #FFFFFF; font-variant-numeric: tabular-nums; }
.pt-pot[hidden] { display: none; }
.pt-pot.pop b { animation: chipPop .5s cubic-bezier(.2, 1.3, .4, 1) both; }
/* Plätze */
.pt-seats { position: absolute; inset: 0; pointer-events: none; }
.pt-seat { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 4px; --cw: 32px; }
.pt-seat.me { --cw: 46px; }
.pt-hole { display: flex; min-height: calc(var(--cw) * 1.4); }
.pt-hole .pc { --cw: inherit; }
.pt-hole .pc + .pc { margin-left: calc(var(--cw) * -.3); }
.pt-seat.me .pt-hole .pc + .pc { margin-left: 4px; }
.pt-plate { -webkit-appearance: none; appearance: none; position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 7px;
  align-items: center; min-width: 118px; max-width: 156px; padding: 4px 12px 4px 4px; border: 0; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #FFFFFF; text-align: left;
  font: inherit; box-shadow: 0 3px 10px rgba(0, 0, 0, .35); pointer-events: auto; transition: box-shadow .3s ease, background .3s ease; }
.pt-av { grid-row: 1 / span 2; position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--cc, #3A7D5C); color: #FFFFFF;
  font-weight: 800; font-size: .9rem; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25); }
.pt-nm { font-weight: 800; font-size: .84rem; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-amt { font-family: var(--f-num); font-weight: 700; font-size: .76rem; line-height: 1.15; color: rgba(247, 236, 204, .85); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pt-seat.me .pt-plate { background: var(--gold); color: var(--gold-ink); }
.pt-seat.me .pt-amt { color: var(--gold-ink); }
.pt-seat.empty .pt-hole { visibility: hidden; }
.pt-seat.empty .pt-plate { display: grid; place-items: center; grid-template-columns: none; min-width: 0; width: 62px; height: 62px; padding: 0; border-radius: 50%; background: rgba(0, 0, 0, .08);
  border: 2px dashed rgba(247, 236, 204, .34); box-shadow: none; color: rgba(247, 236, 204, .62); font-family: var(--f-deco); font-weight: 700; font-size: .62rem; letter-spacing: .12em;
  text-transform: uppercase; cursor: pointer; }
.pt-seat.empty .pt-av, .pt-seat.empty .pt-amt { display: none; }
.pt-seat.empty .pt-nm { font-weight: 700; font-size: inherit; }
.pt-seat.empty .pt-plate:hover, .pt-seat.empty .pt-plate:focus-visible { border-color: var(--gold-hi); color: var(--gold-hi); background: rgba(246, 223, 156, .12); }
.pt-seat.empty.locked .pt-plate { cursor: default; border-color: rgba(247, 236, 204, .2); color: rgba(247, 236, 204, .4); background: rgba(0, 0, 0, .05); }
.pt-seat.turn .pt-plate { box-shadow: 0 0 0 2px var(--gold-hi), 0 0 18px rgba(246, 223, 156, .6); }
.pt-seat.turn .pt-av::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; background: conic-gradient(var(--gold-hi) calc(var(--left, 1) * 360deg), rgba(255, 255, 255, .14) 0);
  -webkit-mask: radial-gradient(circle, transparent 60%, #000 62%); mask: radial-gradient(circle, transparent 60%, #000 62%); }
.pt-seat.fold .pt-hole, .pt-seat.out .pt-plate { opacity: .45; }
.pt-seat.win .pt-plate { box-shadow: 0 0 0 2px var(--ok), 0 0 22px rgba(76, 213, 151, .6); }
.pt-tag { position: absolute; left: 50%; top: 50%; z-index: 3; transform: translate(calc(-50% + var(--px, 0px)), calc(-50% + var(--py, -60px))); padding: 1px 8px; border-radius: 999px; background: rgba(247, 236, 204, .92); color: #17191A;
  font-size: .68rem; font-weight: 800; white-space: nowrap; }
.pt-tag[hidden] { display: none; }
.pt-tag[data-s="win"] { background: var(--ok); color: var(--ok-ink); }
.pt-tag[data-s="bad"] { background: var(--bad); color: #2A0907; }
/* Einsatz vor dem Platz (zur Mitte hin) und Dealer-Knopf (Tisch B) */
.pt-bet { position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(calc(-50% + var(--px, 0px)), calc(-50% + var(--py, 0px))); display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px 2px 3px; border-radius: 999px; background: rgba(0, 0, 0, .45); color: #FFFFFF; font-family: var(--f-num); font-weight: 800; font-size: .76rem; white-space: nowrap; }
.pt-bet[hidden] { display: none; }
.pt-bet i { display: block; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle, #FFFFFF 0 22%, var(--chip-blue) 26% 62%, #FFFFFF 64% 70%, var(--chip-blue) 72%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .4); }
.pt-bet.pop b { animation: chipPop .5s cubic-bezier(.2, 1.3, .4, 1) both; }
.pt-dbtn { position: absolute; left: -12px; bottom: 4px; z-index: 2; display: grid; place-items: center;
  width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; color: #17191A; font-weight: 800; font-size: .7rem; box-shadow: 0 2px 4px rgba(0, 0, 0, .45); }
.pt-dbtn[hidden] { display: none; }
/* Karten: Rückseite rot mit hellem Rand; fliegen und drehen */
.pt-board .pc::after { background: radial-gradient(ellipse at 50% 40%, #D23A33, #8F1C18 70%); box-shadow: inset 0 0 0 3px #F4EEDD, inset 0 0 0 4px rgba(0, 0, 0, .18); }
.pt-board .pc.down::after { opacity: 1; animation: none; }
.pt-board .pc.down > span { visibility: hidden; }
.pt-board .pc.pt-in { animation: ptIn 1s cubic-bezier(.22, .75, .25, 1) both; }
.pt-board .pc.pt-deal { animation: ptDeal 1.6s cubic-bezier(.22, .75, .25, 1) both; }
.pt-board .pc.pt-deal::after { animation: ptBackOff 1.6s linear both; animation-delay: inherit; }
.pt-board .pc.pt-flip { animation: ptFlip .8s ease-in-out both; }
.pt-board .pc.pt-flip::after { animation: ptFlipBack .8s linear both; animation-delay: inherit; }
@keyframes ptIn { 0% { opacity: 0; transform: translate(var(--fx, 0px), var(--fy, -120px)) scale(var(--fs, .7)); } 1% { opacity: 1; transform: translate(var(--fx, 0px), var(--fy, -120px)) scale(var(--fs, .7)); } 100% { opacity: 1; transform: none; } }
@keyframes ptDeal { 0% { opacity: 0; transform: translate(var(--fx, 0px), var(--fy, -120px)) scale(var(--fs, .7)); } 1% { opacity: 1; transform: translate(var(--fx, 0px), var(--fy, -120px)) scale(var(--fs, .7)); }
  62% { transform: none; } 74%, 78% { transform: scaleX(.03); } 100% { opacity: 1; transform: none; } }
@keyframes ptBackOff { 0%, 75% { opacity: 1; } 77%, 100% { opacity: 0; } }
@keyframes ptFlip { 0% { transform: scaleX(1); } 45%, 55% { transform: scaleX(.03); } 100% { transform: scaleX(1); } }
@keyframes ptFlipBack { 0%, 49% { opacity: 1; } 51%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .pt-stage.enter .pt-table, .pt-stage.enter .pt-seats, .pt-stage.enter .pt-mid, .pt-board .pc.pt-in, .pt-board .pc.pt-deal, .pt-board .pc.pt-flip { animation: none; }
  .pt-board .pc.pt-deal::after, .pt-board .pc.pt-flip::after { opacity: 0; animation: none; }
  .pt-cam { transition: none; }
}
/* Bedienung */
.pt-slip { display: flex; flex-direction: column; gap: 10px; }
.pt-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pt-acts[hidden] { display: none; }
.pt-acts .bj-act { min-height: 56px; font-size: 1.05rem; padding-inline: 6px; }
.pt-acts .bj-act[hidden] { display: none; }
.pt-clock[data-low="true"] span { background: var(--warn); }
.pt-leave { align-self: stretch; font-size: .95rem; padding: 6px 8px; }   /* v410 („Mach das wie bei Blackjack“): eigene Zeile über dem großen Knopf, ganze Breite wie .bj-tools */
.pt-leave[hidden] { display: none; }
.card .pt-hint { min-height: 2.4em; }
/* Handy: Tisch hochkant (hohes Oval), Plätze rundherum schmaler, kleinere Karten */
html.phone .pt-head { gap: 6px; }
html.phone .pt-head h2, html.phone .pt-head .phase { display: none; }
html.phone .pt-tabs { flex: 1 1 auto; display: flex; }
html.phone .pt-tabs button { flex: 1 1 0; min-width: 0; padding-inline: 6px; font-size: .8rem; overflow: hidden; text-overflow: ellipsis; }
html.phone .pt-dbtn { width: 16px; height: 16px; font-size: .58rem; left: -8px; }
html.phone .pt-stage { min-height: 0; border-radius: 18px; }
html.phone .pt-table { left: 6%; right: 6%; top: 10%; bottom: 10%; transform: rotateX(9deg); }
html.phone .pt-stage.enter .pt-table { animation-name: ptCamPhone; }
@keyframes ptCamPhone { from { transform: rotateX(24deg) scale(.97); opacity: .4; } to { transform: rotateX(9deg) scale(1); opacity: 1; } }   /* v164: sanfter (vorher 50° und 84 %) */
html.phone .pt-brand { font-size: .82rem; letter-spacing: .2em; }
html.phone .pt-dealer { --cw: 34px; }
html.phone .pt-boardc { --cw: 38px; gap: 4px; }
html.phone .pt-seat { --cw: 24px; gap: 2px; }
html.phone .pt-seat.me { --cw: 40px; }
html.phone .pt-plate { min-width: 84px; max-width: 104px; padding: 3px 8px 3px 3px; column-gap: 5px; }
html.phone .pt-av { width: 24px; height: 24px; font-size: .72rem; }
html.phone .pt-nm { font-size: .7rem; }
html.phone .pt-amt { font-size: .64rem; }
html.phone .pt-seat.empty .pt-plate { width: 46px; height: 46px; font-size: .5rem; }
html.phone .pt-bet { font-size: .66rem; padding: 1px 6px 1px 2px; }
html.phone .pt-bet i { width: 12px; height: 12px; }
html.phone .pt-acts { gap: 6px; }
html.phone .pt-acts .bj-act { min-height: 44px; font-size: .9rem; }
html.phone #pokerSlip { gap: 6px; padding: 10px 12px; }

/* ===================================================================================================================
   Poker-Schule (Seite v151, js/pokerschule-anzeige.js, POKERSCHULE.md): Bühne im Filz des Pokertischs (Bilder, Übungstisch mit Bots,
   Übersicht), rechts bzw. unten der Trainer mit Sprechblase, Antworten und Knöpfen. Übungstisch = dieselben Klassen wie der echte Tisch (.pt-*).
   =================================================================================================================== */
.ps-head { flex-wrap: nowrap; min-width: 0; gap: 10px; }
.ps-head h2 { flex: none; }
.ps-prog { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.ps-chap { font-weight: 700; font-size: .92rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-bar { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.ps-bar b { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); transition: width .6s ease; }
.ps-head .btn[hidden] { display: none; }
.ps-head .btn[aria-pressed="true"] { border-color: var(--gold); color: var(--gold-hi); }
.ps-stage { position: relative; flex: 1 1 0; min-height: 330px; border-radius: 26px; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: radial-gradient(ellipse 90% 80% at 50% 18%, var(--felt-hi) 0%, var(--felt) 50%, var(--felt-lo) 100%);
  box-shadow: inset 0 0 0 3px var(--gold), inset 0 0 0 6px rgba(0, 0, 0, .35), inset 0 0 50px rgba(0, 0, 0, .4), 0 14px 30px rgba(0, 0, 0, .45); }
.ps-stage > .ps-table { position: absolute; inset: 0; min-height: 0; border-radius: inherit; box-shadow: none; background: transparent; }
.ps-stage > .ps-table[hidden], .ps-vis[hidden], .ps-map[hidden], .ps-rail[hidden] { display: none; }
.ps-practice { position: absolute; left: 16px; top: 14px; z-index: 3; padding: 3px 10px; border-radius: 999px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line-2);
  font-family: var(--f-deco); font-weight: 700; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-hi); }
.ps-vis { min-height: 100%; display: flex; align-items: center; justify-content: center; padding: 22px 18px; box-sizing: border-box; }
.ps-v { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 100%; animation: psIn .5s ease-out both; }
@keyframes psIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ps-board .pc.ps-pop { animation: psPop .55s cubic-bezier(.22, .75, .25, 1) both; }
@keyframes psPop { from { opacity: 0; transform: translateY(18px) scale(.9); } to { opacity: 1; transform: none; } }
.ps-board .pc.ps-dim { filter: brightness(.42) saturate(.35); transition: filter .4s ease; }
.ps-cards { flex-wrap: wrap; justify-content: center; gap: 8px; }
.ps-cards.big { --cw: 64px; }
.ps-row { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ps-lab { font-family: var(--f-deco); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }
.ps-sub { font-size: .88rem; font-weight: 700; color: rgba(247, 236, 204, .78); }
.ps-big { margin: 0; font-family: var(--f-deco); font-weight: 700; font-size: 1.9rem; letter-spacing: .12em; color: var(--gold-hi); text-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.ps-note { margin: 0; max-width: 34em; text-align: center; font-size: .92rem; font-weight: 700; color: rgba(247, 236, 204, .8); }
.ps-note.top { margin-bottom: -10px; }
.ps-result { margin: 0; padding: 6px 16px; border-radius: 999px; background: rgba(0, 0, 0, .3); font-weight: 800; color: var(--gold-hi); animation: psIn .5s ease-out .8s both; }
/* Fächer */
.ps-fan { --cw: 70px; gap: 0; flex-wrap: nowrap; }
.ps-fan .pc { margin: 0 -10px; transform-origin: 50% 120%; }
.ps-fan .pc:nth-child(1) { rotate: -16deg; } .ps-fan .pc:nth-child(2) { rotate: -8deg; translate: 0 -6px; } .ps-fan .pc:nth-child(3) { translate: 0 -9px; }
.ps-fan .pc:nth-child(4) { rotate: 8deg; translate: 0 -6px; } .ps-fan .pc:nth-child(5) { rotate: 16deg; }
.ps-fan.wide { --cw: 54px; }
.ps-fan.wide .pc:nth-child(n) { rotate: calc((var(--k, 0) * 1deg)); translate: none; }
.ps-fan.wide .pc:nth-child(1) { --k: -21; } .ps-fan.wide .pc:nth-child(2) { --k: -15; } .ps-fan.wide .pc:nth-child(3) { --k: -9; } .ps-fan.wide .pc:nth-child(4) { --k: -3; }
.ps-fan.wide .pc:nth-child(5) { --k: 3; } .ps-fan.wide .pc:nth-child(6) { --k: 9; } .ps-fan.wide .pc:nth-child(7) { --k: 15; } .ps-fan.wide .pc:nth-child(8) { --k: 21; }
/* Farben und Werte */
.ps-suits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ps-suit { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 16px; border-radius: 16px; background: #FBF7EC; color: #15130F;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35); animation: psPop .5s ease-out both; }
.ps-suit b { font-size: 2.6rem; line-height: 1; }
.ps-suit span { font-weight: 800; }
.ps-suit small { font-size: .78rem; color: #6B6559; }
.ps-suit.red b { color: #C9352C; }
.ps-ranks { --cw: 42px; gap: 5px; max-width: 640px; }
.ps-arrow { display: flex; align-items: center; gap: 10px; width: min(560px, 90%); font-weight: 800; color: var(--gold-hi); }
.ps-arrow i { flex: 1 1 auto; height: 4px; border-radius: 2px; background: linear-gradient(90deg, rgba(246, 223, 156, .2), var(--gold-hi)); position: relative; }
.ps-arrow i::after { content: ""; position: absolute; right: -2px; top: 50%; width: 10px; height: 10px; border-top: 4px solid var(--gold-hi); border-right: 4px solid var(--gold-hi); transform: translateY(-50%) rotate(45deg); }
.ps-pick { display: flex; gap: 34px; }
.ps-dealopp { display: flex; gap: 40px; }
.ps-dealopp .ps-cards { --cw: 38px; }
/* Rangfolge */
.ps-ladder { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; width: min(520px, 100%); }
.ps-ladder li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 5px 10px; border-radius: 10px; background: rgba(0, 0, 0, .22);
  animation: psIn .4s ease-out both; }
.ps-ladder li > b { font-family: var(--f-num); font-weight: 800; color: var(--gold); text-align: right; }
.ps-ladder li > span { font-weight: 800; color: var(--ink); }
.ps-ladder li em { font-style: normal; display: flex; gap: 2px; }
.ps-ladder li.on { background: rgba(246, 223, 156, .2); box-shadow: inset 0 0 0 2px var(--gold-hi); }
.ps-mc { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 3px; border-radius: 4px; background: #FBF7EC; color: #15130F; font-weight: 800; font-size: .74rem; }
.ps-mc.red { color: #C9352C; }
/* kleine Tische */
.ps-v-twotables { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 26px; }
.ps-tt { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.ps-tt b { font-family: var(--f-deco); font-size: 1.05rem; letter-spacing: .06em; color: var(--gold-hi); }
.ps-tt span { font-size: .88rem; font-weight: 700; color: rgba(247, 236, 204, .8); }
.ps-mt { position: relative; width: 230px; height: 150px; }
.ps-mt.big { width: min(440px, 88vw); height: 250px; }
.ps-oval { position: absolute; inset: 14% 6%; border-radius: 50%; background: radial-gradient(ellipse at 50% 36%, #23A770 0%, var(--felt-hi) 42%, var(--felt) 100%);
  box-shadow: 0 0 0 5px #6E4122, 0 0 0 7px var(--gold), 0 10px 22px rgba(0, 0, 0, .45); }
.ps-ms { position: absolute; transform: translate(-50%, -50%); padding: 3px 10px; border-radius: 999px; background: #213A2D; border: 1px solid var(--line-2); font-weight: 800; font-size: .78rem; color: var(--ink); white-space: nowrap; }
.ps-ms.me { background: var(--gold); color: var(--gold-ink); }
.ps-mdl, .ps-mmid { position: absolute; left: 50%; transform: translate(-50%, -50%); font-family: var(--f-deco); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); white-space: nowrap; }
.ps-mdl { top: 22%; padding: 2px 10px; border-radius: 999px; background: rgba(0, 0, 0, .35); }
.ps-mmid { top: 50%; color: rgba(246, 223, 156, .7); }
.ps-mtag { position: absolute; transform: translate(-50%, -50%); padding: 2px 8px; border-radius: 999px; background: var(--gold-hi); color: var(--gold-ink); font-weight: 800; font-size: .72rem; white-space: nowrap; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
/* Abläufe, Listen, Tabellen */
.ps-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; width: min(640px, 100%); }
.ps-flow li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; border-radius: 14px; background: rgba(0, 0, 0, .25); text-align: center; animation: psIn .4s ease-out both; }
.ps-flow li b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .1); font-family: var(--f-num); font-weight: 800; }
.ps-flow li span { font-weight: 800; font-size: .9rem; color: var(--ink-2); }
.ps-flow li.on { background: rgba(246, 223, 156, .2); box-shadow: inset 0 0 0 2px var(--gold-hi); }
.ps-flow li.on b { background: var(--gold); color: var(--gold-ink); }
.ps-flow li.on span { color: var(--ink); }
.ps-flow li.done { opacity: .6; }
.ps-list { display: flex; flex-direction: column; gap: 8px; width: min(560px, 100%); }
.ps-li { display: grid; grid-template-columns: minmax(0, 1fr) fit-content(58%); align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(0, 0, 0, .25); animation: psIn .4s ease-out both; }
.ps-li b { font-weight: 800; color: var(--ink); }
.ps-li span { font-weight: 700; color: var(--gold-hi); text-align: right; }
.ps-li.win { box-shadow: inset 4px 0 0 var(--ok); } .ps-li.push { box-shadow: inset 4px 0 0 var(--gold); } .ps-li.lose { box-shadow: inset 4px 0 0 var(--bad); }
.ps-li.check { grid-template-columns: auto minmax(0, 1fr); } .ps-li.check b { color: var(--ok); } .ps-li.check span { text-align: left; color: var(--ink); }
.ps-li.act b { color: var(--gold-hi); } .ps-li.act span { color: var(--ink-2); }
.ps-diff { border-collapse: separate; border-spacing: 0 5px; width: min(640px, 100%); font-size: .9rem; }
.ps-diff tr { animation: psIn .4s ease-out both; }
.ps-diff td, .ps-diff th { padding: 8px 10px; background: rgba(0, 0, 0, .25); text-align: left; vertical-align: top; }
.ps-diff th { font-weight: 800; color: var(--gold-hi); border-radius: 10px 0 0 10px; }
.ps-diff td:last-child { border-radius: 0 10px 10px 0; }
.ps-diff tr.h td { background: transparent; font-family: var(--f-deco); font-weight: 700; letter-spacing: .06em; color: var(--gold-hi); }
.ps-rule { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: min(640px, 100%); }
.ps-ruler { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px; border-radius: 14px; background: rgba(0, 0, 0, .22); box-shadow: inset 0 0 0 2px rgba(76, 213, 151, .5); }
.ps-ruler.no { box-shadow: inset 0 0 0 2px rgba(255, 143, 132, .55); }
.ps-ruler b { font-weight: 800; font-size: .88rem; color: var(--ink); }
.ps-rulec { display: flex; gap: 10px; --cw: 34px; }
.ps-rulec { gap: 14px; }   /* v198: Hand und Flop beschriftet (statt goldenem Rand um die eigenen Karten) */
.ps-rulg { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.ps-rulg small { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(247, 236, 204, .72); }
.ps-two2 { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.ps-way { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 16px; background: rgba(0, 0, 0, .25); font-weight: 800; animation: psIn .5s ease-out both; }
.ps-way b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); font-family: var(--f-num); }
.ps-stackv { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ps-stack { position: relative; width: 70px; height: 120px; }
.ps-stack .chip { position: absolute; left: 0; bottom: calc(var(--i) * 12px); width: 70px; height: 70px; transform: scaleY(.45); animation: psPop .4s ease-out both; animation-delay: calc(var(--i) * 90ms); }
.ps-side { display: flex; flex-direction: column; gap: 8px; width: min(520px, 100%); }
.ps-sbar { display: grid; grid-template-columns: 84px minmax(0, 1fr) 90px; align-items: center; gap: 10px; font-weight: 800; font-size: .88rem; }
.ps-sbar i { display: block; height: 18px; width: var(--w); border-radius: 6px; background: #3E8EDB; position: relative; overflow: hidden; }
.ps-sbar i em { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: var(--gold); }
.ps-side .pm { color: var(--gold-hi); } .ps-side .ps2 { color: #7FB8F0; }
.ps-chlist { margin: 0; padding-left: 1.4em; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 28px; font-weight: 800; color: var(--ink); }
/* Urkunde, Übersicht (die Prüfung samt Ergebnisliste gibt es seit Seite v278 nicht mehr) */
.ps-cert { padding: 22px 26px; border-radius: 22px; background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 2px var(--gold), inset 0 0 0 6px rgba(0, 0, 0, .2); }
.ps-certname { margin: 0; font-family: var(--f-deco); font-weight: 700; font-size: 1.5rem; color: var(--ink); }
.ps-map { position: absolute; inset: 0; overflow: auto; padding: 18px; display: flex; align-items: center; justify-content: center; }
.ps-chmap { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; width: min(520px, 100%); }
.ps-chb { -webkit-appearance: none; appearance: none; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; padding: 10px 14px;
  border-radius: 14px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .28); color: var(--ink); font: inherit; font-weight: 800; text-align: left; cursor: pointer; animation: psIn .4s ease-out both; }
.ps-chb b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .1); font-family: var(--f-num); }
.ps-chb em { font-style: normal; font-size: .8rem; color: var(--ink-3); }
.ps-chb.done b { background: var(--ok); color: var(--ok-ink); } .ps-chb.done em { color: var(--ok); }
.ps-chb.now { box-shadow: inset 0 0 0 2px var(--gold-hi); } .ps-chb.now b { background: var(--gold); color: var(--gold-ink); } .ps-chb.now em { color: var(--gold-hi); }
.ps-chb:disabled { opacity: .45; cursor: default; }
/* Übungstisch: Bots */
.pt-seat.bot .pt-av::before { content: "BOT"; position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%); padding: 0 3px; border-radius: 4px; background: #15130F; color: var(--gold-hi);
  font-size: .5rem; font-weight: 800; letter-spacing: .06em; line-height: 1.4; }
.ps-rail .chip-row { flex-wrap: nowrap; }
/* Trainer */
.ps-slip { display: flex; flex-direction: column; gap: 10px; }
.ps-coach { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: start; }
.ps-av { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, var(--felt-hi), var(--felt-lo)); box-shadow: 0 0 0 2px var(--gold); }
.ps-av svg { width: 36px; height: 36px; fill: none; stroke: var(--gold-hi); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ps-av svg circle:first-child { stroke: none; }
.ps-bubble { position: relative; padding: 10px 14px; border-radius: 4px 16px 16px 16px; background: var(--surface-3); border: 1px solid var(--line-2); min-width: 0; }
.ps-title { display: block; margin-bottom: 4px; font-family: var(--f-deco); font-weight: 700; font-size: 1rem; letter-spacing: .04em; color: var(--gold-hi); }
.ps-text { font-size: 1rem; line-height: 1.45; color: var(--ink); max-height: min(46vh, 380px); overflow-y: auto; -webkit-overflow-scrolling: touch; animation: psIn .35s ease-out both; }
.ps-text p { margin: 0 0 7px; }
.ps-text p:last-child { margin-bottom: 0; }
.ps-text b { color: var(--gold-hi); }
.ps-answers { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.ps-answers[hidden] { display: none; }
.ps-ans { min-height: 48px; padding: 8px 10px; font-weight: 800; white-space: normal; line-height: 1.25; }
.ps-ans[data-s="good"] { background: var(--ok-bg); border-color: var(--ok); color: var(--ok); opacity: 1; }
.ps-ans[data-s="bad"] { background: var(--bad-bg); border-color: var(--bad); color: var(--bad); }
.ps-ans[data-s="off"] { opacity: .45; }
.ps-fb { padding: 8px 12px; border-radius: 12px; font-weight: 700; font-size: .95rem; line-height: 1.4; animation: psIn .3s ease-out both; }
.ps-fb[data-s="good"] { background: var(--ok-bg); color: var(--ok); } .ps-fb[data-s="bad"] { background: var(--bad-bg); color: var(--bad); }
.ps-fb[hidden] { display: none; }
.ps-nav { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 10px; }
.ps-nav .btn[hidden] { display: none; }
.ps-nav { margin-top: auto; }
.ps-nav .btn.big { font-size: 1.08rem; letter-spacing: .06em; white-space: nowrap; padding-inline: 10px; }
/* iPad/Computer: in der Schule rechts nur Konto und Trainer (keine Liste „Im Casino“) – der Trainer bekommt die ganze Höhe */
html:not(.phone) .grid.seated.ps-on { grid-template-areas: "main you" "main slip"; grid-template-rows: auto minmax(0, 1fr); }
html:not(.phone) .grid.ps-on > .area-players { display: none; }
html:not(.phone) .ps-slip { overflow: hidden; }
html:not(.phone) .ps-coach { flex: 0 1 auto; min-height: 0; }
html:not(.phone) .ps-coach { grid-template-rows: minmax(0, 1fr); overflow: hidden; }
html:not(.phone) .ps-bubble { max-height: 100%; display: flex; flex-direction: column; overflow: hidden; }
html:not(.phone) .ps-text { flex: 1 1 auto; min-height: 0; max-height: none; overflow-y: auto; }   /* v154: der Text scrollt, die Blase nicht (Hinweis „mehr“) */
.ps-nav:has(> .btn[hidden]) { grid-template-columns: minmax(0, 1fr); }
.ps-again { align-self: center; min-height: 36px; padding-inline: 18px; }
.ps-again[hidden], .pt-school[hidden] { display: none; }
.pt-school { align-self: center; min-height: 34px; padding-inline: 16px; }
@media (prefers-reduced-motion: reduce) {
  .ps-v, .ps-board .pc.ps-pop, .ps-ladder li, .ps-flow li, .ps-li, .ps-chb, .ps-text, .ps-fb, .ps-suit, .ps-diff tr { animation: none; }
}
/* Handy */
html.phone .ps-head h2 { display: none; }
html.phone .ps-chap { font-size: .8rem; }
html.phone .ps-stage { min-height: 0; border-radius: 18px; }
html.phone .ps-vis { padding: 14px 10px; }
html.phone .ps-v { gap: 10px; }
html.phone .ps-big { font-size: 1.4rem; }
html.phone .ps-note { font-size: .8rem; }
html.phone .ps-fan { --cw: 46px; }
html.phone .ps-fan.wide { --cw: 34px; }
html.phone .ps-cards.big { --cw: 46px; }
html.phone .ps-ranks { --cw: 30px; gap: 3px; }
html.phone .ps-suits { gap: 6px; }
html.phone .ps-suit { padding: 8px 6px; }
html.phone .ps-suit b { font-size: 1.8rem; }
html.phone .ps-ladder li { padding: 3px 8px; gap: 6px; }
html.phone .ps-ladder li span { font-size: .82rem; }
html.phone .ps-mc { min-width: 20px; height: 18px; font-size: .62rem; }
html.phone .ps-mt { width: 150px; height: 104px; }
html.phone .ps-mt.big { height: 190px; }
html.phone .ps-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
html.phone .ps-flow li { padding: 8px 6px; }
html.phone .ps-diff { font-size: .74rem; }
html.phone .ps-diff td, html.phone .ps-diff th { padding: 3px 6px; line-height: 1.25; }
html.phone .ps-diff { border-spacing: 0 2px; }   /* v220: flacher – bei den Fragen in Kapitel 7 wurde die Tabelle sonst sehr klein */
html.phone .ps-rule { grid-template-columns: minmax(0, 1fr); gap: 6px; }
html.phone .ps-rulec { --cw: 26px; }
html.phone .ps-rulec { gap: 8px; }
html.phone .ps-rulg small { font-size: .58rem; }
html.phone .ps-pick { gap: 16px; }
html.phone .ps-dealopp { gap: 16px; }
html.phone .ps-dealopp .ps-cards { --cw: 26px; }
html.phone .ps-chlist { grid-template-columns: minmax(0, 1fr); }
html.phone .ps-slip { gap: 6px; padding: 10px 12px; }
html.phone .ps-coach { grid-template-columns: 34px minmax(0, 1fr); gap: 8px; }
html.phone .ps-av { width: 34px; height: 34px; }
html.phone .ps-av svg { width: 28px; height: 28px; }
html.phone .ps-text { font-size: .9rem; max-height: var(--pstx, 30vh); }   /* v217: --pstx kürzt den Text zugunsten des Bildes (psFitVis) */
html.phone .ps-answers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
html.phone .ps-ans { min-height: 38px; padding: 4px 8px; font-size: .82rem; line-height: 1.2; }
/* v220 (Bild des Besitzers vom Handy: „sieht noch bisschen schlecht aus“ – Frage nach falscher Antwort, die Bühne scrollte): Kopf-Knöpfe einzeilig und flacher
   („Zum Tisch“ brach um), Hinweis und Antworten kompakter – mehr Platz für das Bild (psFitVis verkleinert notfalls bis PS_VIS_FLOOR_PHONE statt zu scrollen) */
html.phone .ps-head .btn.tiny { min-height: 34px; padding: 4px 10px; font-size: .8rem; white-space: nowrap; }
html.phone .ps-fb { padding: 6px 10px; font-size: .84rem; line-height: 1.3; }
html.phone .ps-practice { left: 10px; top: 8px; font-size: .6rem; }

/* Admin → Poker-Schule (Seite v151) */
.psa-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-height: 46vh; overflow-y: auto; }
.psa-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
.psa-list li b { font-weight: 800; }
.psa-list li span { color: var(--ink-3); font-weight: 700; }
.psa-list li.ok span { color: var(--ok); }

/* Seite v153: zwei kleine Tische nebeneinander (auch am Handy), Beschriftung im Tisch kleiner */
.ps-v-twotables .ps-tt { flex: 1 1 0; min-width: 0; max-width: 260px; }
.ps-tt span { text-wrap: balance; }
html.phone .ps-v-twotables { flex-wrap: nowrap; gap: 10px; }
html.phone .ps-tt b { font-size: .86rem; }
html.phone .ps-tt span { font-size: .74rem; }
html.phone .ps-mt:not(.big) { width: 100%; max-width: 160px; height: 110px; }
html.phone .ps-mt:not(.big) .ps-ms { padding: 1px 6px; font-size: .62rem; }
html.phone .ps-mt:not(.big) .ps-mdl, html.phone .ps-mt:not(.big) .ps-mmid { font-size: .54rem; letter-spacing: .08em; }
html.phone .ps-mt:not(.big) .ps-mdl { top: 24%; padding: 1px 6px; }
html.phone .ps-mt.big { width: min(340px, 86vw); height: 180px; }

/* ---------- Seite v154: Poker-Schule – Zeilen am Handy untereinander, Hinweis „Nach unten wischen“ (psMoreCheck) ---------- */
.ps-li span { overflow-wrap: anywhere; }
html.phone .ps-v-outcomes .ps-li, html.phone .ps-li.act { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 8px 12px; }
html.phone .ps-v-outcomes .ps-li span, html.phone .ps-li.act span { text-align: left; font-size: .88rem; }
html.phone .ps-li { font-size: .9rem; }
.ps-more { position: absolute; left: 50%; z-index: 5; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px 7px 11px; border-radius: 999px; border: 1px solid var(--gold);
  background: rgba(10, 30, 20, .92); color: var(--gold-hi); font: inherit; font-weight: 800; font-size: .86rem; box-shadow: 0 6px 18px rgba(0, 0, 0, .5); cursor: pointer;
  transform: translateX(-50%); animation: psMore 1.6s ease-in-out infinite; }
.ps-more[hidden] { display: none; }
.ps-more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes psMore { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(4px); } }
.ps-more.small { left: auto; right: 10px; bottom: 6px; padding: 4px 10px 4px 7px; font-size: .76rem; transform: none; animation-name: psMoreS; }
@keyframes psMoreS { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
.ps-fade { position: absolute; left: 3px; right: 3px; z-index: 4; height: 54px; border-radius: 0 0 24px 24px; pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 66, 42, 0), rgba(6, 66, 42, .92)); }
.ps-fade[hidden] { display: none; }
.ps-bubble .ps-fade { left: 0; right: 0; bottom: 0; height: 40px; border-radius: 0 0 16px 16px; background: linear-gradient(180deg, rgba(30, 58, 44, 0), rgba(30, 58, 44, .96)); }
@media (prefers-reduced-motion: reduce) { .ps-more, .ps-more.small { animation: none; } }
.ps-more { white-space: nowrap; }

/* ---------- Seite v155: Pokertisch und Übungstisch – Positionen (Wunsch des Besitzers) ----------
   Ohne Karten steht das Schild („Bereit“) direkt über dem Namensschild; der eigene Einsatz liegt links neben dem eigenen Namensschild (nicht mitten
   im Tisch über den Tischkarten); am Handy vor dem Geben weder Schriftzug noch leere Kartenplätze in der Mitte (Tisch A). */
html.phone .pt-board[data-tab="A"] .pt-brand { display: none; }
.pt-stage:not(.has-board):not(.has-hand) .pt-boardc .pt-slot { visibility: hidden; }   /* v175: in der Hand von Anfang an zu sehen (Wunsch des Besitzers); v185: auch am iPad zwischen den Händen weg (lagen unter „Nächste Hand“) */
/* v155, Runde 2: Schriftzug am Handy aus (beide Tische); Übungshand am Handy: Text fest vier Zeilen, Knöpfe in festem Bereich – der Tisch bleibt gleich groß */
html.phone .pt-brand { display: none; }
.ps-ctrl { display: flex; flex-direction: column; gap: 10px; }
html.phone .ps-slip.hand .ps-ctrl { flex: none; flex-flow: row wrap; align-items: stretch; gap: 6px 10px; }
/* v159: Knöpfe der Übungshand am Handy in Reihen; am Ende einer freien Hand „Noch eine Hand“ links neben „Weiter“ (statt „Zurück“) – eine Reihe */
html.phone .ps-slip.hand .ps-ctrl > * { flex: 1 1 100%; min-width: 0; }
html.phone .ps-slip.hand .ps-ctrl > .ps-nav { order: 2; margin-top: 0; }
html.phone .ps-slip.hand .ps-ctrl > .ps-again { order: 1; flex: 1 1 0; align-self: stretch; min-height: 50px; padding-inline: 8px; white-space: normal; line-height: 1.2; }
html.phone .ps-slip.hand .ps-ctrl:has(> .ps-again:not([hidden])) > .ps-nav { flex: 2 1 0; }
/* v155, Runde 3: am Handy skalieren Karten, Dealer und Plätze mit der Höhe des Tisches (--k aus ptLayout/psLayout, 0,62 … 1) */
html.phone .pt-stage .pt-dealer { --cw: calc(34px * var(--k, 1)); gap: calc(4px * var(--k, 1)); }
html.phone .pt-stage .pt-boardc { --cw: calc(38px * var(--k, 1)); }
html.phone .pt-stage .pt-seat { --cw: calc(24px * var(--k, 1)); }
html.phone .pt-stage .pt-seat.me { --cw: calc(40px * var(--k, 1)); }
html.phone .pt-stage .pt-mid { gap: calc(8px * var(--k, 1)); }
/* v156: Einsätze vor den Plätzen (ptBetPlace) – die Chips gleiten an ihre Stelle */
.pt-bet { transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
/* ---------- Seite v157: Poker-Schule am Handy – Trainer-Text in der Übungshand größer (Wunsch des Besitzers) ----------
   Der Trainer-Bereich ist in der Hand fest hoch (der Tisch springt nicht): Text je nach Bildschirm 4 Zeilen (niedrig) bis 6 Zeilen (iPhone 15 und größer,
   --pst) plus Platz für die Knöpfe (--psr: A eine Reihe, B zwei). Sind weniger Knöpfe zu sehen (Bots am Zug), bekommt der Text den Platz. „mehr“ steht oben
   in der Blase (verdeckt keinen Text) und klappt den Text auf (psTextOpen, seit v160 an seinem Platz – der Tisch wird kleiner); „weniger“ klappt zu. */
html.phone .ps-slip.hand { --pst: clamp(5.22rem, calc(84px + (var(--lh) - var(--fst) - var(--fsb) - 700px) * .57), 7.83rem); --psr: 50px;
  min-height: calc(var(--pst) + var(--psr) + 71px); }   /* v159: Mindesthöhe – braucht der Bereich mehr (Knöpfe, große Schrift), wächst er; der Text läuft nie aus der Blase */
html.phone .ps-slip.hand .ps-coach { flex: 1 1 0; min-height: calc(3.9rem + 34px); align-items: start; grid-template-rows: minmax(0, 1fr); position: relative; }
html.phone .ps-slip.hand .ps-bubble { display: flex; flex-direction: column; min-height: 0; max-height: 100%; overflow: hidden; }
html.phone .ps-slip.hand .ps-text { flex: 0 1 auto; min-height: 0; height: auto; max-height: none; }
/* v218 (Bild des Besitzers): die Blase ist so hoch wie ihr Text (höchstens der ganze Bereich, dann „mehr“) – vorher füllte sie ohne Knöpfe (Geben, Aufdecken,
   Bots am Zug) den ganzen Bereich und blieb fast leer. Der Bereich selbst bleibt gleich hoch (der Tisch springt nicht: der Kasten wächst nie mit dem Text, flex-basis 0); Mindesthöhe jetzt am Kasten statt am Text */
html.phone .ps-slip.hand .ps-title { flex: none; font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.phone .ps-slip.hand .ps-more.small { top: 7px; bottom: auto; right: 8px; }
html.phone .ps-slip.hand .ps-bubble:has(> .ps-more:not([hidden])) .ps-title { padding-right: 96px; }
.ps-more svg { transition: transform .25s ease; }
.ps-more.open svg { transform: rotate(180deg); }
/* v160: aufgeklappt schiebt sich der Trainer-Kasten so weit über den Tisch, wie der Text braucht (--lift, --sliph aus psTextOpen; höchstens bis zur Tisch-Oberkante);
   im Raster bleibt sein Platz gleich – der Tisch darunter ändert sich nicht. Der Text bekommt die ganze Höhe */
html.phone .ps-slip.hand.big { position: relative; z-index: 30; margin-top: calc(-1 * var(--lift, 0px)); min-height: var(--sliph, auto);
  box-shadow: 0 -12px 30px rgba(0, 0, 0, .55); animation: psLift .22s ease-out both; }
html.phone .ps-slip.hand.big .ps-bubble { border-color: var(--gold); }
html.phone .ps-slip.hand.big .ps-text { animation: none; }
@keyframes psLift { from { opacity: .6; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html.phone .ps-slip.hand.big { animation: none; } }
/* ---------- Seite v161: Übungstisch mit Chips am Handy (Wunsch des Besitzers: Gegeneinander und kleines Handy sauber) ----------
   Gemessen: A braucht mit Karten ~250 px Tisch, B ~230 px – mit Chips blieben am kleinen Handy 158 px. Jetzt: „Rückgängig“/„Einsatz weg“ rund neben den Chips
   (keine eigene Reihe), Zug-Knöpfe an B in einer Reihe (zweizeilig, psActLbl; Platz wie A: --psr 50px), leere Knopfreihe ohne Abstand, mit Chips eine Zeile
   Text weniger (--pst) – der Rest mit „mehr“. */
html.phone .ps-slip .ps-ctrl > .pt-tools { display: none; }
html.phone .ps-rail .chip-bar { gap: 6px; }
html.phone .ps-rail .chip-row { gap: 6px; padding: 4px 0 2px; }
html.phone .ps-rail .chip { width: 42px; height: 42px; font-size: .84rem; }
html.phone .ps-rail .ps-tool { flex: none; width: 40px; height: 40px; min-height: 40px; margin-top: 2px; padding: 0; border-radius: 50%; display: grid; place-items: center; }
html.phone .ps-rail .ps-tool svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
html.phone .ps-slip.hand-b .pt-acts { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
html.phone .ps-slip.hand-b .pt-acts .bj-act { min-height: 48px; padding: 3px 4px; font-size: .86rem; line-height: 1.15;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; white-space: normal; }
html.phone .ps-slip.hand-b .pt-acts .bj-act > span, html.phone .ps-slip.hand-b .pt-acts .bj-act > small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.phone .ps-slip.hand-b .pt-acts .bj-act > small { margin-top: 2px; font-size: .74rem; font-weight: 700; opacity: .85; }
html.phone .ps-slip.hand .ps-nav:not(:has(> .btn:not([hidden]))) { display: none; }
html.phone .ps-slip.hand.chips { --pst: clamp(3.9rem, calc(63px + (var(--lh) - var(--fst) - var(--fsb) - 700px) * .57), 6.53rem); }
html.phone .pt-dealer .pt-val { max-width: 11em; white-space: normal; text-align: center; line-height: 1.2; }   /* v161: lange Werte („Höchste Karte: König“) brechen um */
/* ---------- Seite v162: Pokertisch und Übungstisch – Schilder, Einsätze, freie Plätze (Wunsch des Besitzers: „viele Sachen sehen noch unüberlegt aus“) ----------
   Schilder und Einsätze legt ptBetPlace frei (--px/--py). Freie Plätze: in der Schule nie (dort setzt sich niemand hin), am Handy klein und blass, sobald man selbst sitzt
   (dann sind sie gesperrt – sie zeigen nur noch, wo jemand dazukommen kann). */
.ps-table .pt-seat.empty { display: none; }
html.phone .pt-seat.empty.locked .pt-plate { width: 26px; height: 26px; border-width: 1.5px; font-size: 0; opacity: .5; }   /* gesperrt: nur ein kleiner blasser Kreis */
/* Echter Tisch am Handy: „Rückgängig“/„Einsatz weg“ rund neben den Chips, „Aufstehen“ links neben „Bereit“ (eine Reihe), leere Statuszeile weg; „Poker-Schule“
   klein oben rechts neben den Reitern (alle Geräte) – vorher fünf Reihen unter dem Tisch, der Tisch hatte am kleinen Handy nur 188 px */
html.phone #pokerSlip > #ptTools { display: none; }
/* v405: die runden Knöpfe auf jedem Gerät (Wunsch des Besitzers: „alles soll einheitlich sein überall in jedem Spiel“) – am iPad passend zu den 60-px-Chips etwas größer */
.rail .pt-tool { flex: none; width: 50px; height: 50px; min-height: 50px; margin-top: 2px; padding: 0; border-radius: 50%; display: grid; place-items: center; }
.rail .pt-tool svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rail .chip-bar:has(.pt-tool) { gap: 8px; }
html.phone .rail .pt-tool { width: 40px; height: 40px; min-height: 40px; }
html.phone .rail .pt-tool svg { width: 20px; height: 20px; }
html.phone .rail .chip-bar:has(.pt-tool) { gap: 6px; }
html.phone .rail .chip-bar:has(.pt-tool) .chip-row { gap: 6px; padding: 4px 0 2px; }
html.phone .rail .chip-bar:has(.pt-tool) .chip { width: 42px; height: 42px; font-size: .84rem; }
html.phone #pokerSlip { flex-flow: row wrap; align-content: flex-start; }
html.phone #pokerSlip > * { flex: 1 1 100%; min-width: 0; }
html.phone #pokerSlip > #ptLeaveBtn { order: 1; flex: 1 1 100%; align-self: stretch; height: 40px; min-height: 40px; margin: 0; padding: 0 4px; font-size: .8rem; }   /* v410: wie „Aufstehen“ am Blackjack */
html.phone #pokerSlip > #ptMainBtn { order: 2; flex: 1 1 100%; }
html.phone #pokerSlip > #ptActs, html.phone #pokerSlip > #ptClock, html.phone #pokerSlip > #ptSum, html.phone #pokerSlip > #ptError { order: 3; }
html.phone #ptSum:empty { display: none; }
.pt-head .pt-school { flex: none; width: auto; align-self: center; min-height: 0; height: 34px; margin-left: auto; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; }
.pt-head .pt-school svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html.phone .pt-head .pt-school { width: 38px; height: 34px; margin-left: 0; padding: 0; }   /* am Handy nur das Zeichen – die Reiter behalten ihren ganzen Namen */
html.phone .pt-head .pt-school span { display: none; }
html.phone .pt-head .pt-school svg { width: 20px; height: 20px; }
html.phone .pt-tag:has(> b) { padding: 1px 7px 2px; border-radius: 8px; text-align: center; line-height: 1.15; }
html.phone .pt-tag > span, html.phone .pt-tag > b { display: block; }
html.phone .pt-tag > b { font-size: .92em; }
.ps-mt.big .ps-oval { inset: 14% 13%; }   /* v162: großes Bild-Tischchen schmaler – Namen und Marken bleiben im Bild */
html.phone .pt-dbtn { bottom: 20px; left: -9px; }   /* Dealer-Knopf oben links am Namensschild – unten sitzt bei Bots das Zeichen „BOT“ */
/* ---------- Seite v163: Übergang zwischen den Händen und der gewählte Einsatz auf dem Tisch (Wunsch des Besitzers) ----------
   Nach dem Ergebnis räumt der Tisch ab (.sweep: Karten gleiten zur Mitte und verblassen, Schilder und Pot verblassen), danach „Nächste Hand“ in der Mitte.
   Das mit den Chips gewählte Ante liegt gestrichelt vor dem eigenen Platz (.pend), nach „Bereit“ fest. */
.pt-stage.sweep .pt-hole, .pt-stage.sweep .pt-boardc, .pt-stage.sweep .pt-dealer .pt-cards { animation: ptSweep .65s ease-in forwards; }
.pt-stage.sweep .pt-tag, .pt-stage.sweep .pt-val, .pt-stage.sweep .pt-pot { animation: ptSweepOut .5s ease-in forwards; }
@keyframes ptSweep { to { opacity: 0; transform: translateY(-18px) scale(.82); } }
@keyframes ptSweepOut { to { opacity: 0; } }
.pt-next { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 18px 8px; border-radius: 14px; background: rgba(0, 0, 0, .3);
  border: 1px solid rgba(246, 223, 156, .35); text-align: center; animation: ptNextIn .5s ease-out both; }
.pt-next[hidden] { display: none; }
.pt-next b { font-family: var(--f-deco); font-weight: 700; font-size: .95rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); }
.pt-next small { font-weight: 700; font-size: .8rem; color: var(--ink-2); }
@keyframes ptNextIn { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
html.phone .pt-next { padding: 5px 12px 6px; border-radius: 12px; }
html.phone .pt-next b { font-size: .78rem; letter-spacing: .12em; }
html.phone .pt-next small { font-size: .7rem; }
.pt-bet.pend { background: rgba(0, 0, 0, .22); outline: 1.5px dashed rgba(246, 223, 156, .85); outline-offset: 1px; }
@media (prefers-reduced-motion: reduce) { .pt-stage.sweep .pt-hole, .pt-stage.sweep .pt-boardc, .pt-stage.sweep .pt-dealer .pt-cards, .pt-stage.sweep .pt-tag,
  .pt-stage.sweep .pt-val, .pt-stage.sweep .pt-pot { animation: none; opacity: 0; } .pt-next { animation: none; } }
/* ---------- Seite v164: Pokertisch (Wünsche des Besitzers) ----------
   Eigenes Blatt über den Karten (.pt-hand, gelegt von ptBetPlace); Plätze gleiten bei einer neuen Tischhöhe (.glide); obere Leiste am Handy in Lobby und Spiel
   gleich hoch (vorher 4 px Sprung durch den Knopf „Home“). */
.pt-hand { position: absolute; left: 50%; top: 50%; z-index: 3; transform: translate(calc(-50% + var(--px, 0px)), calc(-50% + var(--py, -80px)));
  display: flex; flex-direction: column; align-items: center; padding: 2px 10px 3px; border-radius: 10px; background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  color: var(--gold-ink); line-height: 1.1; white-space: nowrap; box-shadow: 0 3px 10px rgba(0, 0, 0, .4); animation: ptHandIn .4s ease-out both; pointer-events: none; }
.pt-hand[hidden] { display: none; }
.pt-hand small { font-size: .6rem; font-weight: 700; opacity: .8; }
.pt-hand b { font-size: .8rem; font-weight: 800; }
@keyframes ptHandIn { from { opacity: 0; } to { opacity: 1; } }
html.phone .pt-hand { padding: 1px 8px 2px; border-radius: 8px; }
html.phone .pt-hand small { font-size: .52rem; }
html.phone .pt-hand b { font-size: .68rem; }
.pt-stage.glide .pt-seat { transition: left .45s ease, top .45s ease; }
html.phone .top { min-height: 44px; }
@media (prefers-reduced-motion: reduce) { .pt-stage.glide .pt-seat { transition: none; } .pt-hand { animation: none; } }
/* v258 (Wunsch des Besitzers: „zeige unten links auch wie wenn man selbst spielt was die spieler haben“): wer die Hand nicht spielt, sieht unten links je Spieler
   dasselbe Schild wie die Spieler über ihrem eigenen Blatt (.pt-hand), mit Namen (ptWHandSet) – eins in zwei Zeilen, mehrere übereinander je in einer Zeile */
.pt-whand { position: absolute; left: 8px; bottom: 6px; z-index: 3; display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 4px; pointer-events: none; }
.pt-whand[hidden], .pt-whand > span[hidden] { display: none; }
.pt-whand > span { display: flex; flex-direction: column; align-items: center; padding: 2px 10px 3px; border-radius: 10px; background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  color: var(--gold-ink); line-height: 1.1; white-space: nowrap; box-shadow: 0 3px 10px rgba(0, 0, 0, .4); animation: ptHandIn .4s ease-out both; }
.pt-whand small { font-size: .6rem; font-weight: 700; opacity: .8; }
.pt-whand small i { font-style: normal; display: inline-block; max-width: 8em; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
.pt-whand b { font-size: .8rem; font-weight: 800; }
.pt-whand.many > span { flex-direction: row; align-items: baseline; gap: 5px; }
html.phone .pt-whand { gap: 3px; }
html.phone .pt-whand > span { padding: 1px 8px 2px; border-radius: 8px; }
html.phone .pt-whand small { font-size: .52rem; }
html.phone .pt-whand small i { max-width: 6.5em; }
html.phone .pt-whand b { font-size: .68rem; }
.pt-stage.sweep .pt-whand:not([hidden]) { animation: ptSweepOut .2s ease-in forwards; }
@media (prefers-reduced-motion: reduce) { .pt-whand > span { animation: none; } }
.bet-tools:empty { display: none; }   /* v164: am Handy stehen „Rückgängig“/„Einsatz weg“ an den Chips – eine leere Reihe fällt weg */
/* v165 (Wunsch des Besitzers: Design einheitlicher, „beim Blackjack steht das Namensschild kompakter da“): Namensschild am Pokertisch wie am Blackjack-Tisch –
   zwei Zeilen mittig (Name bzw. „Du“, darunter der Betrag in Gold), ohne Kreis mit Buchstaben. Am Zug: Zeitbalken unter dem Schild statt Ring; Bots: „BOT“ unten (wie bisher) */
.pt-seat:not(.empty) .pt-plate { display: block; min-width: 0; max-width: 130px; padding: 3px 12px 4px; border-radius: 10px; background: rgba(0, 0, 0, .5); text-align: center; }
.pt-seat.me:not(.empty) .pt-plate { background: var(--gold); }
.pt-seat:not(.empty) .pt-av { display: none; }
.pt-seat:not(.empty) .pt-nm { display: block; font-weight: 700; font-size: .9rem; line-height: 1.2; }
.pt-seat:not(.empty) .pt-amt { display: block; font-family: inherit; font-size: .72rem; font-weight: 700; line-height: 1.15; color: var(--gold-hi); }
.pt-seat.me:not(.empty) .pt-amt { color: var(--gold-ink); }
.pt-seat.turn:not(.empty) .pt-plate::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 72%; height: 3px; transform: translateX(-50%); border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-hi) calc(var(--left, 1) * 100%), rgba(0, 0, 0, .5) 0); }
.pt-seat.bot .pt-plate::before { content: "BOT"; position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%); z-index: 1; padding: 0 3px; border-radius: 4px; background: #15130F; color: var(--gold-hi);
  font-size: .5rem; font-weight: 800; letter-spacing: .06em; line-height: 1.15; }   /* flach: liegt nur im unteren Rand, nicht auf dem Betrag */
.pt-seat.bot.turn .pt-plate::after { display: none; }   /* Bots ziehen gleich – das Leuchten reicht */
html.phone .pt-seat:not(.empty) .pt-plate { min-width: 0; max-width: 84px; padding: 2px 8px 3px; }
html.phone .pt-seat:not(.empty) .pt-nm { font-size: .78rem; }
html.phone .pt-seat:not(.empty) .pt-amt { font-size: .72rem; }
/* v166 (Wünsche des Besitzers): Kartenstapel oben rechts in der Ecke wie der Schlitten am Blackjack-Tisch – jede Karte fliegt nacheinander von ihm an ihren Platz
   (vorher aus dem Nichts); er liegt außerhalb der Kamera. Der Hinweis „Nächste Hand“/„Es geht los“ liegt über den Tischkarten und verschiebt die Mitte nicht mehr;
   das eigene Blatt („Du hast …“) steht fest unten links in der Ecke;
   freie Plätze am Blackjack-Tisch wie am Pokertisch (gestrichelter, blasser Kreis; am Handy klein) */
.pt-deck { --dw: 40px; position: absolute; right: 22px; top: 18px; z-index: 1; width: var(--dw); height: calc(var(--dw) * 1.4); pointer-events: none; transform: rotate(8deg); }
.pt-deck i { position: absolute; inset: 0; border-radius: calc(var(--dw) * .11); background: radial-gradient(ellipse at 50% 40%, #D23A33, #8F1C18 70%);
  box-shadow: inset 0 0 0 3px #F4EEDD, inset 0 0 0 4px rgba(0, 0, 0, .18), 0 2px 5px rgba(0, 0, 0, .4); }
.pt-deck i:nth-child(1) { transform: translate(-3px, 3px); }
.pt-deck i:nth-child(2) { transform: translate(-1.5px, 1.5px); }
html.phone .pt-deck { --dw: 26px; right: 14px; top: 12px; }
html.phone .pt-deck i { box-shadow: inset 0 0 0 2px #F4EEDD, inset 0 0 0 3px rgba(0, 0, 0, .18), 0 2px 4px rgba(0, 0, 0, .4); }
.pt-next { position: absolute; left: 50%; bottom: 0; z-index: 2; white-space: nowrap; translate: -50% 0; }
.bj-deco span { border: 2px dashed rgba(247, 236, 204, .2); background: rgba(0, 0, 0, .05); }
.bj-deco span.taken { display: none; }
html.phone .bj-deco span { width: 26px; height: 26px; border-width: 1.5px; opacity: .5; }
/* v167 (Wünsche des Besitzers): Ergebnis – Gewinn und Verlust gleich deutlich (Schild am Platz leuchtet grün bzw. rot und federt, das Ergebnis-Schild springt auf);
   gewinnende Kombination: ihre Karten heben sich gold leuchtend ab, die übrigen werden dunkler */
.pt-seat.win .pt-plate, .pt-seat.lose .pt-plate { animation: ptResult 1.1s cubic-bezier(.3, 1.4, .5, 1) both; }
.pt-seat.win .pt-tag:not([hidden]), .pt-seat.lose .pt-tag:not([hidden]) { animation: ptTagPop .6s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes ptResult { 0% { scale: 1; } 30% { scale: 1.16; } 60% { scale: .97; } 100% { scale: 1; } }
@keyframes ptTagPop { 0% { scale: .3; opacity: 0; } 60% { scale: 1.2; opacity: 1; } 100% { scale: 1; opacity: 1; } }
.pt-board .pc { transition: translate .35s ease, filter .35s ease, box-shadow .35s ease; }
.pt-board .pc.hl { translate: 0 -5px; box-shadow: 0 0 0 2px var(--gold-hi), 0 0 16px rgba(246, 223, 156, .85), 0 4px 10px rgba(0, 0, 0, .45); }
.pt-stage.marked .pc:not(.hl) { filter: brightness(.55) saturate(.7); }
@media (prefers-reduced-motion: reduce) { .pt-seat.win .pt-plate, .pt-seat.lose .pt-plate, .pt-seat.win .pt-tag, .pt-seat.lose .pt-tag { animation: none; } .pt-board .pc { transition: none; } }
/* v168 (Wünsche des Besitzers): keine roten/grünen Ränder am Namensschild (es federt nur); keine Kamera – auch beim Öffnen nur einblenden;
   gewinnt der Dealer, steht seine Kombination gold unter ihm */
.pt-seat.win .pt-plate { box-shadow: 0 3px 10px rgba(0, 0, 0, .35); }
.pt-stage.enter .pt-table, html.phone .pt-stage.enter .pt-table { animation: ptFade .7s ease-out both; }
.pt-val.win { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--gold-ink); box-shadow: 0 0 14px rgba(246, 223, 156, .55); }
/* v168 (Wunsch des Besitzers: „UI-Größe wechselt zwischendurch“): Knopfbereich am Handy in jedem Spielstand gleich hoch – die Zeile für die Uhr und eine
   Textzeile bleiben immer stehen (Uhr unsichtbar, Text sonst mit dem Hinweis), an „Gegeneinander“ alle Züge in einer Reihe (zweizeilig); so ändert der Tisch seine Größe nicht */
html.phone #pokerSlip > #ptSum:empty { display: block; }
html.phone #pokerSlip > #ptMainBtn, html.phone #pokerSlip .pt-acts .bj-act { min-height: 46px; }
html.phone #pokerSlip .pt-acts { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
html.phone #pokerSlip .pt-acts .bj-act { padding: 3px 4px; line-height: 1.15; }
html.phone #pokerSlip .pt-acts .bj-act > span, html.phone #pokerSlip .pt-acts .bj-act > small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.phone #pokerSlip .pt-acts .bj-act > small { margin-top: 2px; font-size: .74rem; font-weight: 700; opacity: .85; }
/* v169 (Hinweis des Besitzers: „Die Sachen verrutschen manchmal zur Seite“): der Wert des Dealers hat einen festen Platz unter seinen Karten. Vorher wuchs die
   Mitte beim Aufdecken um bis zu zwei Zeilen, die Tischkarten rutschten nach unten, und Einsatz bzw. Ergebnis-Schild sprangen neben das Namensschild. Die Mitte sitzt an A dafür höher */
.pt-board[data-tab="A"] .pt-mid { top: 42%; }
.pt-board[data-tab="A"] .pt-dealer { position: relative; padding-bottom: 26px; }
.pt-board[data-tab="A"] .pt-dealer .pt-val { position: absolute; left: 50%; top: calc(100% - 24px); transform: translateX(-50%); width: max-content; }
html.phone .pt-board[data-tab="A"] .pt-dealer { padding-bottom: 36px; }
html.phone .pt-board[data-tab="A"] .pt-dealer .pt-val { top: calc(100% - 34px); }
/* v170: beim Abräumen verschwinden Ergebnis-Schild und Blatt gleich (vorher hatte die Sprung-Animation des Ergebnisses Vorrang, das Schild blieb bis zum Schluss);
   Admin → Poker-Schule am Handy: die Reiterleiste ist selbst wischbar (sie war breiter als der Bildschirm – beim Antippen von „Poker-Schule“ schob der Browser
   den ganzen Bereich zur Seite), die Liste ohne eigene Scroll-Box; je Konto „Zurücksetzen“ */
.pt-stage.sweep .pt-seat .pt-tag:not([hidden]), .pt-stage.sweep .pt-seat .pt-hand:not([hidden]) { animation: ptSweepOut .2s ease-in forwards; }
html.phone .admin-head .admin-tabs { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; justify-content: flex-start; }
html.phone .admin-head .admin-tabs::-webkit-scrollbar { display: none; }
html.phone .admin-head .admin-tabs > button { flex: none; }
/* royal-round r7 (Besitzer am 25.11.2026 mit Bild vom iPhone: „Größe der Reiter oben anpassen“): am Handy über die ganze Leiste verteilt; nie schmaler als die Schrift
   (reicht der Platz auf sehr schmalen Handys nicht, scrollt die Leiste wie bisher). Seit r10 wieder sechs Reiter (mit „PayPal“) – Schrift und Abstand wie bis r6
   (.76rem, Android .72rem, oben): mit der größeren Schrift aus r7 (.82rem) war die Leiste am iPhone 29 px zu breit */
html.phone .admin-head .admin-tabs > button { flex: 1 1 auto; }
.psa-list { max-height: none; overflow: visible; }
.psa-list li { flex-wrap: wrap; align-items: center; }
.psa-list li > span { margin-left: auto; }
/* v171: Admin „Bots“ (BOTS.md) */
/* v172 (Wünsche des Besitzers vom 23.10.2026): Zug-Knöpfe an „Gegeneinander“ am Handy wirklich zweizeilig (vorher nebeneinander abgeschnitten: „Er… auf…“);
   der Pot behält ohne Pot seinen Platz (die Mitte springt nicht); an A steht der Wert des Dealers nach dem Aufdecken im Pot-Schild direkt unter ihm
   (keine eigene Zeile mehr, die Mitte ist am Handy niedriger); die Karten des Dealers heben sich beim Markieren nicht in den Schriftzug „Dealer“ */
html.phone #pokerSlip .pt-acts .bj-act { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; white-space: normal; font-size: .84rem; }
html.phone #pokerSlip .pt-acts .bj-act > span, html.phone #pokerSlip .pt-acts .bj-act > small { max-width: 100%; }
html.phone #pokerSlip .pt-acts .bj-act > small { font-size: .72rem; }
.pt-pot.off { visibility: hidden; }
.pt-board[data-tab="A"] .pt-dealer, html.phone .pt-board[data-tab="A"] .pt-dealer { padding-bottom: 0; }
.pt-pot.val b { font-family: inherit; font-size: .86rem; letter-spacing: 0; }
.pt-pot.win { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--gold-ink); box-shadow: 0 0 14px rgba(246, 223, 156, .55); }
.pt-pot.win b { color: var(--gold-ink); }
.pt-dealer .pc.hl { translate: none; }
/* v173 (Wünsche des Besitzers): Einsatz fest über den Karten, dazwischen der Zug (ptBetPlace); am Handy der Wert des Dealers im Pot-Schild einzeilig */
.pt-pot.val b { white-space: nowrap; }
html.phone .pt-pot.val small { display: none; }
html.phone .pt-pot.val b { font-size: .8rem; }
html.phone .pt-board[data-tab="A"] .pt-mid { top: 40%; }   /* v173: Mitte an A etwas höher – mein Einsatz über den Karten bleibt frei von den Tischkarten */
html.phone .pt-deck { --dw: 22px; right: 10px; top: 8px; }   /* v173: kleiner Kartenstapel – oben rechts steht ein Platz mit seinem Einsatz */
html.phone .pt-pot.val.sub { flex-direction: column; align-items: center; gap: 0; padding: 1px 10px 2px; line-height: 1.1; }   /* v173: Zusatz klein in der zweiten Zeile */
html.phone .pt-pot.val.sub small { display: block; order: 2; font-size: .58rem; letter-spacing: .04em; }
.pt-tag { transition: transform .45s cubic-bezier(.2, .8, .2, 1); }   /* v174: Schild rutscht wie der Einsatz hoch, wenn die Karten zum Spieler fliegen */
@media (prefers-reduced-motion: reduce) { .pt-tag, .pt-bet { transition: none; } }
/* v182: Ausweg „Im Browser öffnen“, wenn auf dem iPhone keine PayPal-App aufgeht */
.sup-card .sup-web-row { font-size: .88rem; color: var(--ink-2); }
.sup-card .sup-web { color: var(--gold-hi); font-weight: 700; }
/* v185 (Bilder des Besitzers vom iPad): Admin-Reiter mit langen Listen scrollen im Kasten – Poker-Schule und Bots ragten unten heraus, die Reiter rutschten unter den Kopf */
html:not(.phone) .admin-ann { flex: 0 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding-right: 4px; }
html:not(.phone) .admin-ann > * { flex-shrink: 0; }
/* v190: Freunde werben (WERBUNG.md, js/werbung.js) */
.wb-ask { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--gold); background: rgba(217, 180, 94, .12); }
.wb-ask[hidden], .wb-pick[hidden], .wb-me[hidden], .wb-msg[hidden] { display: none; }
.wb-btns, .wb-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.wb-row select { flex: 1 1 160px; max-width: 320px; min-height: 44px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .35); color: var(--ink); font: inherit; }
.wb-me { margin: 0; padding: 10px 14px; border-radius: 12px; background: rgba(0, 0, 0, .28); font-weight: 600; }
.wb-pick { display: flex; flex-direction: column; gap: 8px; }
.wb-share { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.wb-qr { flex: none; width: 168px; height: 168px; padding: 8px; border-radius: 14px; background: #fff; }
.wb-qr svg { display: block; width: 100%; height: 100%; }
.wb-side { flex: 1 1 200px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.wb-msg { margin: 0; word-break: break-all; }
.wb-steps { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 6px; line-height: 1.4; }
.wb-h { margin: 6px 0 0; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.wb-li { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.wb-li span { color: var(--ink-2, rgba(247, 236, 204, .75)); font-variant-numeric: tabular-nums; }
.wb-li.done span { color: #7fd6a3; }
.wb-app { align-self: flex-start; width: auto; }
.wb-app[hidden] { display: none; }
.wb-app .ico, .lobby-app .ico { width: 1.15em; height: 1.15em; vertical-align: -.2em; }
.la-app { margin-left: 4px; }
html.phone .wb-qr { width: 150px; height: 150px; }
html.phone .wb-share { justify-content: center; }   /* v204 (Bild des Besitzers): QR-Code am Handy mittig (steht in eigener Zeile) */
html.phone .lobby-app .la-app { display: none; }
/* v241: Transfer – Spielgeld schicken und anfordern (js/ueberweisung.js) */
.tf-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.tf-form select, .tf-amt input { min-height: 44px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .35); color: var(--ink); font: inherit; }
.tf-form select { flex: 1 1 180px; min-width: 0; max-width: 320px; }   /* v454: höchstens 320 px – das Menü von iOS mittig am Feld bleibt beim Pfeil */
/* v444: Suche nach Namen über der Auswahl (erst ab TF_FIND_AB Konten) – 16 px, sonst zoomt iOS */
.tf-find { flex: 1 1 100%; min-width: 0; min-height: 44px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .35); color: var(--ink); font: inherit; font-size: 16px; }
.tf-find[hidden] { display: none; }
.tf-amt { flex: 1 1 150px; display: flex; align-items: center; gap: 8px; min-width: 0; }
.tf-amt input { flex: 1 1 auto; min-width: 0; width: 100%; font-variant-numeric: tabular-nums; font-size: 16px; }
.tf-amt b { color: var(--gold); }
.tf-form .wb-btns { flex: 1 1 100%; }
.tf-form .wb-btns .btn { flex: 1 1 140px; min-width: 0; white-space: normal; line-height: 1.15; }   /* lange Beträge („1.234,56 € anfordern“) brechen um statt abgeschnitten */
.tf-hint { margin: 0; }
.tf-in[hidden], #tfMineH[hidden], #tfMine[hidden] { display: none; }
.tf-in { display: flex; flex-direction: column; gap: 8px; }
.tf-ask { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--gold); background: rgba(217, 180, 94, .12); }
.tf-ask p { margin: 0; } .tf-ask small { color: var(--ink-3); margin-left: 4px; } .tf-ask .tf-low { margin: 0; }
.tf-toast { cursor: pointer; }
.gk-toast { cursor: pointer; }                                        /* v302: „… auf einem anderen Gerät im Spiel“ – Antippen schließt */
/* v424 (Bild des Besitzers: „Sorge dafür, dass man nicht scrollen muss.“): unter der Statusleiste und über der Home-Leiste, die Karte mittig (margin: auto statt Raster – passt
   sie nicht, bleibt ihr Anfang sichtbar); alles in der Karte in em, damit instFit (js/werbung.js) sie gleichmäßig verkleinern kann */
.inst { position: fixed; inset: 0; z-index: 99998; display: flex; flex-direction: column; padding: max(10px, env(safe-area-inset-top, 0px)) max(10px, env(safe-area-inset-right, 0px)) max(10px, env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px)); background: #0b1510; color: #f3ecd9; overflow-y: auto; }
.inst-card { margin: auto; width: min(440px, 100%); display: flex; flex-direction: column; gap: .75em; padding: 1.2em 1.1em; border-radius: 20px; background: #13241b; border: 1px solid rgba(217, 180, 94, .45); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.inst-logo { align-self: center; width: 3.4em; height: 3.4em; border-radius: .95em; }
.inst h2 { margin: 0; font-family: var(--f-deco); color: #e7c873; letter-spacing: .06em; text-align: center; font-size: 1.3em; line-height: 1.22; }
.inst-lead, .inst-note { margin: 0; line-height: 1.4; }
.inst-note { font-size: .88em; opacity: .8; }
.inst-steps { margin: 0; padding-left: 1.4em; display: flex; flex-direction: column; gap: .45em; line-height: 1.4; }
.inst-i { display: inline-block; width: 1.3em; height: 1.3em; vertical-align: -.3em; fill: none; stroke: #8ec5ff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.inst-steps circle { fill: #8ec5ff; stroke: none; }
.inst-ok { align-self: stretch; }
.inst .btn.inst-ok { min-height: 2.9em; padding: .45em 1em; font-size: 1.1em; }
.inst-qr { align-self: center; width: 10.5em; padding: .6em; border-radius: 14px; background: #fff; line-height: 0; }   /* v229: am Computer – zum Öffnen am Handy */
.inst-qr svg { width: 100%; height: auto; display: block; }

.lobby-app { width: auto; min-width: 0; padding: 8px 18px; }
.lobby-app[hidden] { display: none; }
html.phone .lobby-app { flex: 0 0 auto; min-height: 46px; padding: 6px 14px; }
html.phone #bonusTabs { overflow-x: auto; scrollbar-width: none; }   /* v190: fünf (mit Turnier sechs) Reiter – lieber schieben als abschneiden */
html.phone #bonusTabs::-webkit-scrollbar { display: none; }
html.phone #bonusTabs button { flex: 1 0 auto; padding: 0 1px; font-size: .67rem; letter-spacing: 0; }   /* v241: sechs Reiter (mit Transfer) – sonst schiebt sich die Leiste, der gewählte ins Bild */
.inst-steps[hidden] { display: none; }
.inst-os { align-self: stretch; }
.inst-os button { flex: 1 1 0; min-height: 2.25em; font-size: .9em; }

/* ---------- Seite v194: Poker-Schule am iPad/Tablet (Bilder des Besitzers) ----------
   Trainer-Zeichen: der goldene Ring (box-shadow) lag außerhalb des abschneidenden Trainer-Bereichs – Platz dafür lassen.
   Knöpfe immer unten an derselben Stelle: der freie Platz bleibt zwischen Text/Antworten und Knöpfen; „Noch eine Übungshand“ über „Weiter“;
   ohne „Zurück“ (erster Schritt, Prüfung) bleibt sein Platz frei, damit „Weiter“ nicht breiter wird. Bilder in der Mitte: psFitVis (v196: scale statt zoom). */
html:not(.phone) .ps-coach { padding: 3px 0 3px 3px; }
html:not(.phone) .ps-vis { padding: 24px 6%; }   /* Rand für psFitVis: so weit darf ein vergrößertes Bild reichen */
html:not(.phone) .ps-chlist li { white-space: nowrap; }
html:not(.phone) .ps-ranks { max-width: calc(7 * (var(--cw) + 5px)); }   /* v196: die 13 Werte in zwei Reihen (7 + 6) – so werden sie am Tablet groß genug */   /* Kapitelnamen nicht mitten im Namen umbrechen (psFitVis hält die Breite ein) */
html:not(.phone) .ps-ctrl { margin-top: auto; }
/* v199 (Bild des Besitzers: „nach Antwort rutscht es fehlerhaft hoch“): mit Antworten und Rückmeldung wurde die Sprechblase bis auf den Titel zusammengedrückt
   (Frage weg, Trainer-Zeichen unten abgeschnitten). Jetzt: lange Antworten untereinander, Rückmeldung etwas kleiner, der Trainer nie kleiner als sein Zeichen –
   reicht der Platz trotzdem nicht, scrollt der Bereich rechts (statt etwas abzuschneiden). */
html:not(.phone) .ps-slip { overflow-y: auto; }
html:not(.phone) .ps-coach { min-height: 58px; flex-shrink: 1; }
html:not(.phone) .ps-answers.long { grid-template-columns: minmax(0, 1fr); gap: 6px; }
html:not(.phone) .ps-answers.long .ps-ans { min-height: 42px; padding: 6px 12px; }
html:not(.phone) .ps-fb { padding: 7px 11px; font-size: .9rem; line-height: 1.35; }
html:not(.phone) .ps-mc { min-width: 32px; height: 26px; font-size: .9rem; }   /* v199: Mini-Karten der Rangliste am Tablet lesbar (vorher 10–12 px; kleine iPads verkleinern die ganze Bühne) */
html:not(.phone) .ps-answers.tight .ps-ans[data-s="off"] { display: none; }   /* v201: knapp – nach der richtigen Antwort nur noch sie */
/* v199 (Bild des Besitzers: „die Sachen in der Mitte ein bisschen nach unten, dass das nicht so verdeckt ist“): am Tablet an „Gegeneinander“ Pot und
   Tischkarten tiefer (der obere Platz verdeckte sie fast); Kartenstapel etwas kleiner in der Ecke (berührte am iPad mini den Einsatz rechts oben). Echter Tisch und Schule gleich. */
html:not(.phone) .pt-board[data-tab="B"] .pt-mid { top: 53%; }
html:not(.phone) .pt-board[data-tab="B"] .pt-brand { top: 70%; }   /* v204 (Bild des Besitzers: der obere mittlere Platz saß auf dem Schriftzug): unten wie an A; berührt ihn ein Platz, verschwindet er (ptBrandFree) */
html:not(.phone) .pt-deck { --dw: 32px; right: 14px; top: 12px; }
html:not(.phone) .ps-ctrl > .ps-nav { order: 1; }
html:not(.phone) .ps-nav:has(> #psNextBtn:not([hidden])) { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
html:not(.phone) .ps-nav > #psNextBtn { grid-column: 2; }   /* [hidden] gilt mit !important – „Weiter“ bleibt deshalb fest in der rechten Spalte */
/* Seite v205 hatte hier den Bonus-Hinweis „Nach unten scrollen“ – seit v225 nur noch in der Poker-Schule (Wunsch des Besitzers) */
/* v206 (Bild des Besitzers: Knopf „Anleitung“ wirkte fehlplatziert): unter dem Absatz in eigener Zeile; seit v246 (Bild des Besitzers: „Der Nur-als-App-Bereich
   sieht auch nicht schön aus“) kein großer Knopf mehr, sondern ein Link am Ende des Absatzes */
.help-text .help-app { font-weight: 700; }
/* v213 (Bild des Besitzers): Zugangscode in der Anleitung markierbar (Gedrückthalten) und mit Knopf „Kopieren“ */
.inst-cv { -webkit-user-select: all; user-select: all; -webkit-touch-callout: default; }
/* v214 (Bild des Besitzers: „sieht noch unschön aus“): eigener Kasten – Frage darüber, Code und „Kopieren“ in einer Reihe, gleich hoch */
.inst-code { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(217, 180, 94, .28); }
.inst-code p { margin: 0; font-size: .88rem; line-height: 1.4; opacity: .8; }
.inst-crow { display: flex; align-items: stretch; gap: 8px; }
.inst-cv { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 12px; border-radius: 10px;
  background: rgba(255, 255, 255, .07); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.02rem; font-weight: 700; letter-spacing: .02em; color: #f3ecd9; white-space: nowrap; overflow: hidden; }   /* v215: nie umbrechen – wbInstallOpen verkleinert die Schrift, bis er passt */
.inst-copy { flex: none; width: auto; min-height: 42px; padding: 0 14px; }

/* ---------- Quizmaster (Seite v250, QUIZMASTER.md): Kachel, Saal, Duell, Ergebnis ---------- */

.qm-head { display: flex; align-items: center; gap: 10px; }
.qm-test { padding: 2px 10px; border-radius: 999px; border: 1px solid var(--warn); color: var(--warn); font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.qm-err { margin: 0; color: var(--bad); font-size: .9rem; }

.qm-duel { display: flex; flex-direction: column; gap: 10px; }
.qm-top { display: flex; align-items: center; justify-content: center; gap: 14px; font-weight: 700; color: var(--ink-2); }
.qm-score { font-family: var(--f-num); font-size: 1.6rem; color: var(--gold-hi); }
.qm-meta { margin: 0; text-align: center; color: var(--ink-3); font-size: .86rem; }
.qm-timer { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.qm-timer i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: 0 50%; will-change: transform;
  background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); }   /* v251: gleitet per transform (qmBarRun) – nie mehr Breite je Sekunde */
.qm-timer[data-ph="zeigen"] i, .qm-timer[data-ph="ende"] i { background: var(--ink-3); }
.qm-stage { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.qm-big { text-align: center; font-family: var(--f-num); font-size: 4rem; font-weight: 800; color: var(--gold-hi); }
.qm-note { margin: 0; text-align: center; color: var(--ink-3); font-size: .9rem; }
.qm-ask { margin: 6px 0 0; text-align: center; font-family: var(--f-deco); font-size: 1.15rem; letter-spacing: .06em; color: var(--gold); }
.qm-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.qm-cat { padding: 12px 10px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink); font-weight: 700; font-size: 1rem; cursor: pointer; }
.qm-cat:hover:not(:disabled) { border-color: var(--gold); }
.qm-cat-l { margin: 0; text-align: center; color: var(--gold); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.qm-q { margin: 0; text-align: center; font-size: 1.25rem; font-weight: 700; line-height: 1.3; color: var(--ink); text-wrap: balance; }
.qm-ans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.qm-a { position: relative; display: flex; align-items: center; justify-content: center; min-height: 58px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line-2);
  background: var(--surface-2); color: var(--ink); font-weight: 700; font-size: 1.02rem; text-align: center; line-height: 1.2; }
button.qm-a { cursor: pointer; }
button.qm-a:hover:not(:disabled) { border-color: var(--gold); }
button.qm-a:disabled { opacity: .7; cursor: default; }
.qm-a.mine { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(217, 180, 94, .4); opacity: 1 !important; }
.qm-a.right { border-color: var(--ok); background: var(--ok-bg); color: var(--ok); }
.qm-a.wrong { border-color: var(--bad); background: var(--bad-bg); color: var(--bad); }
.qm-op { position: absolute; top: -9px; right: 8px; padding: 1px 8px; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--line-2); color: var(--ink-2);
  font-style: normal; font-size: .72rem; font-weight: 700; }
.qm-end { display: flex; flex-direction: column; gap: 10px; }
.qm-res { margin: 4px 0 0; text-align: center; font-family: var(--f-deco); font-size: 1.6rem; letter-spacing: .06em; color: var(--gold); }
.qm-res b { font-family: var(--f-num); margin-left: 8px; }
.qm-res[data-s="up"] b { color: var(--ok); }
.qm-res[data-s="down"] b { color: var(--bad); }
.qm-endb { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.qm-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.qm-rows li { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); font-size: .88rem; }
.qm-rq { display: flex; flex-direction: column; gap: 1px; }
.qm-rq small, .qm-ra small { color: var(--ink-3); }
.qm-ra { display: flex; flex-direction: column; gap: 1px; }
.qm-gr { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
.qm-ok { color: var(--ok); }
html.phone .qm-rows li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
html.phone .qm-rows li .qm-mb, html.phone .qm-gr { justify-self: start; justify-content: flex-start; }
html.phone .qm-q { font-size: 1.1rem; }
html.phone .qm-a { min-height: 52px; font-size: .96rem; }
html.phone .qm-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Quizmaster, Seite v251 (Bilder des Besitzers: „sieht so leer aus“, Abstände der Knöpfe, „Logo in der Lobby sieht nicht so schön aus“) ----------
   Duell: Fortschritt je Frage, größer. */


/* Saal seit v422 wie der Schnellzieher (Besitzer: „Bei Quizmaster soll das auch so aussehen“): Spielfeld .ws-frame mit .sz-st, darunter Einsatz, Guthaben, Chips und der
   große Knopf – am iPad rechts unten in #qmSlip (qmPlace). Das Duell mit dem Ergebnis (zehn Fragen) darf die Mitte schieben, Abstände der Karte im Duell wie bis v421. */
html:not(.phone) #qmCard .ra-panel { display: none; }
.grid.seated > .area-main:has(> #qmCard:not([hidden]) > #qmDuel:not([hidden])) { overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.grid.seated > .area-main > #qmCard:has(> #qmDuel:not([hidden])) { flex: 1 0 auto; gap: 16px; padding: 18px 20px; }
html.phone .grid.seated > .area-main > #qmCard:has(> #qmDuel:not([hidden])) { gap: 12px; padding: 12px; }
.sz-dots.qm-ten { gap: 3px; }                                        /* zehn Fragen statt zwei Punkte */
.sz-dots.qm-ten i { width: 8px; height: 8px; border-width: 1.5px; }
.qm-ico { width: 1.3em; height: 1.3em; margin-right: 0; vertical-align: -.25em; }
.qm-cat span { min-width: 0; overflow-wrap: break-word; }   /* „Allgemein-wissen“ bricht an der Trennstelle */

/* Duell */
.qm-duel { flex: 1 1 auto; gap: 14px; }
.qm-top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; }
.qm-pn { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.qm-pn.op { align-items: flex-end; }
.qm-pn b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.05rem; color: var(--ink); }
.qm-dots { list-style: none; margin: 0; padding: 0; display: flex; gap: 5px; }
.qm-dots li { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.qm-dots li.ok { background: var(--ok); }
.qm-dots li.no { background: var(--bad); opacity: .85; }
.qm-dots li.now { background: transparent; box-shadow: inset 0 0 0 2px var(--gold-hi); }
.qm-score { font-size: 2.1rem; }
.qm-stage { flex: 1 1 auto; justify-content: center; gap: 16px; min-height: 280px; padding-block: 8px; }
.qm-cat-l { font-size: .86rem; }
.qm-cat-l .qm-ico { margin-right: 6px; }
.qm-q { font-size: 1.5rem; line-height: 1.35; }
.qm-ans { gap: 12px; }
.qm-a { min-height: 76px; font-size: 1.12rem; }
.qm-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.qm-cat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px 10px; }
.qm-cat .qm-ico { width: 30px; height: 30px; }
.qm-big { font-size: 5rem; }
html.phone .qm-top { gap: 10px; }
html.phone .qm-dots { gap: 3px; }
html.phone .qm-dots li { width: 8px; height: 8px; }
html.phone .qm-score { font-size: 1.7rem; }
html.phone .qm-stage { min-height: 0; gap: 12px; }
html.phone .qm-q { font-size: 1.22rem; }
html.phone .qm-a { min-height: 64px; font-size: 1rem; }
html.phone .qm-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
html.phone .qm-cat { flex-direction: row; justify-content: flex-start; padding: 12px; }
html.phone .qm-cat .qm-ico { width: 24px; height: 24px; }

/* v251: acht Reiter im Admin-Bereich (mit „Wetten“) – am iPad etwas schmaler, damit alle in eine Zeile passen; reicht es nicht, schiebt die Leiste (wie am Handy) statt abzuschneiden */
html:not(.phone) .admin-head .admin-tabs { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
html:not(.phone) .admin-head .admin-tabs::-webkit-scrollbar { display: none; }
html:not(.phone) .admin-head .admin-tabs > button { flex: none; padding: 0 9px; font-size: .9rem; }
/* Regeln am Tablet und Computer: Abstand im Kopf (v252; seit v374 steht dort statt der Reiter die Auswahl .help-pick) */
html:not(.phone) .sheet.help .sheet-head { gap: 10px; }
html:not(.phone) .sheet.help .sheet-head .btn { flex: none; }

/* Seite v252 (Bild des Besitzers: „die Kachel-Designs sehen noch ein wenig leblos aus“): ruhige Bewegung in den Bildern der Spiele (Block v265); das
   Licht, das über die Kacheln strich, entfiel mit dem Spielrad (v379). */
@keyframes gtSpin { to { transform: rotate(360deg); } }


/* ---------- Seite v255 (Wunsch des Besitzers: „wieso ist manchmal etwas gold umrandet, mach das weg“) ----------
   Am Touchscreen bleibt :hover nach dem Tippen an der Stelle des Fingers hängen – der goldene Rand stand dann auf der nächsten Antwort. Hover nur mit Maus;
   die eigene Antwort hell statt gold. */
@media (hover: none) {
  button.qm-a:hover:not(:disabled), .qm-cat:hover:not(:disabled) { border-color: var(--line-2); }
}
.qm-a.mine { border-color: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }

/* ===== v259 (Wünsche des Besitzers vom 1.11.2026): Happy-Hour-Balken, Lobby zum Wischen mit Shop, Profil, schillernde Namen, Kartenskins ===== */
/* Happy Hour nach Umsatz (Runden-Form v65): Balken neben „Spiel wählen“ – gleiche Zeilenhöhe, damit die Spielauswahl nie scrollt */
.lobby-h2 { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.lobby-h2 > h2 { margin: 0; flex: none; }
.hh-bar { display: flex; align-items: center; gap: 8px; flex: 0 1 300px; min-width: 0; padding: 3px 10px; border-radius: 999px; background: rgba(0, 0, 0, .32);
  border: 1px solid var(--line); font-size: .8rem; line-height: 1.2; color: var(--ink-2); white-space: nowrap; }
.hh-bar[hidden] { display: none; }
.hh-bar .ico { flex: none; width: 16px; height: 16px; color: var(--gold); }
.hb-l { flex: none; font-weight: 800; color: var(--gold); }
.hb-track { position: relative; flex: 1 1 auto; min-width: 36px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.hb-track i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); transition: width .6s ease; }
.hb-t { flex: none; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.hh-bar.run { border-color: var(--gold); box-shadow: 0 0 12px rgba(217, 180, 94, .35); }
.hh-bar.run .hb-track i { background: linear-gradient(90deg, #FFD86B, #FFF3C4, #FFD86B); background-size: 200% 100%; }
html.phone .hh-bar { flex-basis: 210px; gap: 6px; padding: 2px 8px; font-size: .72rem; }
html.phone .hb-l { display: none; }
/* v270 (Bild des Besitzers vom 2.11.2026: „Das i bei Happy Hour ist verrutscht“): am Handy ist der Balken schmal – bei „1,80 € / 500 €“ stand der Fortschritt schon auf seiner
   Mindestbreite (36 px), und das Info-Zeichen ragte über den Rand. Der Fortschritt darf jetzt ganz schrumpfen, die Abstände sind etwas kleiner: Betrag und „i“ bleiben immer
   im Balken, auch bei 499,99 € (tests/bonus/oben-hinweis.js misst es an iPhone, iPhone SE und iPad). */
html.phone .hh-bar { gap: 5px; padding-right: 7px; }
html.phone .hb-track { min-width: 0; }
/* Bild des Shops (v260, Besitzer: „Das Shop-Logo … sieht billig aus“): ein Fächer aus drei Karten mit echten Skins (Pfau, Pharao, Jackpot), Krone darüber */
.gt-bag { position: relative; display: block; width: calc(var(--gtq, 112px) * 1.1); height: var(--gtq, 112px); }
.gt-bag .sb-fan { position: absolute; left: 50%; bottom: 3%; }
.gt-bag .sb-c { position: absolute; left: 0; bottom: 0; transform-origin: 50% 100%; }
.gt-bag .sb-c .pc { --cw: calc(var(--gtq, 112px) * .44); position: absolute; left: calc(var(--gtq, 112px) * -.22); bottom: 0; box-shadow: 0 6px 14px rgba(0, 0, 0, .55); }
.gt-bag .c1 { transform: rotate(-22deg) translateX(calc(var(--gtq, 112px) * -.05)); }
.gt-bag .c2 { transform: rotate(22deg) translateX(calc(var(--gtq, 112px) * .05)); }
.gt-bag .c3 { z-index: 1; transform: translateY(calc(var(--gtq, 112px) * -.06)); }
.gt-bag .sb-crown { position: absolute; left: 50%; top: 2%; z-index: 2; width: calc(var(--gtq, 112px) * .32); height: auto; transform: translateX(-50%) rotate(-7deg);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .6)); }
.gt-bag .pc.down::after, .shop-cards .pc.down::after, .pf-item .pc.down::after { opacity: 1; animation: none; }
.gt-bag .pc.down > span, .shop-cards .pc.down > span, .pf-item .pc.down > span { visibility: hidden; }
.gt-bag .sb-sp { position: absolute; z-index: 3; width: 10px; height: 10px; background: var(--gold-hi); opacity: 0;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.gt-bag .s1 { left: 8%; top: 26%; }
.gt-bag .s2 { right: 6%; top: 16%; width: 7px; height: 7px; }
.gt-bag .s3 { left: 16%; bottom: 12%; width: 8px; height: 8px; }
.gt-bag .s4 { right: 12%; bottom: 20%; width: 6px; height: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .gt-bag .sb-sp { animation: sbTwinkle 2.4s ease-in-out infinite; }
  .gt-bag .s2 { animation-delay: .6s; }
  .gt-bag .s3 { animation-delay: 1.2s; }
  .gt-bag .s4 { animation-delay: 1.8s; }
  .hh-bar.run .hb-track i { animation: nfRun 2s linear infinite; }
}
@keyframes sbTwinkle { 0%, 100% { opacity: 0; transform: scale(.4); } 45% { opacity: 1; transform: scale(1); } 60% { opacity: .7; transform: scale(.8); } }
/* Namen mit Effekt (Shop, .nf-<Nummer>) – v260: jeder Stil ein eigener Effekt statt nur eines Farbverlaufs. Glanzstreif (Smaragd, Gold, Eis, Chrom, Hologramm), Neonröhre,
   die ab und zu flackert, Flammen, Sterne, die durch die Buchstaben ziehen (Galaxie), Sonnenuntergang mit Streifen (Synthwave), Störsignal (Glitch).
   Schatten bei Schrift mit Hintergrund-Ausschnitt nur über filter (text-shadow läge über dem Verlauf) */
.nf { -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; background-repeat: no-repeat;
  --nf-shine: linear-gradient(105deg, transparent 0 38%, rgba(255, 255, 255, .95) 47%, transparent 56% 100%); }
.nf-n01 { background-image: var(--nf-shine), linear-gradient(180deg, #A8FFD0 0%, #2FD682 42%, #0B8A47 58%, #74F2AE 100%); background-size: 260% 100%, 100% 100%; background-position: 160% 0, 0 0;
  filter: drop-shadow(0 0 3px rgba(47, 214, 130, .5)); }
.nf-n02 { background-image: var(--nf-shine), linear-gradient(180deg, #FFF8D6 0%, #F7D36E 36%, #BC8622 52%, #EBC25E 72%, #FFF2BE 100%); background-size: 260% 100%, 100% 100%; background-position: 160% 0, 0 0;
  filter: drop-shadow(0 1px 0 #8A6214) drop-shadow(0 1px 0 #5E4008) drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }
.nf-n03 { color: #FFE9F6; -webkit-text-fill-color: #FFE9F6; text-shadow: 0 0 1px #FFFFFF, 0 0 4px #FF4FB8, 0 0 9px #FF2EA6, 0 0 16px #FF2EA6; }
.nf-n04 { background-image: linear-gradient(0deg, #FF2200 0%, #FF6A00 30%, #FFC300 62%, #FFF7C2 100%); background-size: 100% 180%; background-position: 0 100%;
  filter: drop-shadow(0 0 3px rgba(255, 96, 0, .85)) drop-shadow(0 -2px 5px rgba(255, 170, 0, .45)); }
.nf-n05 { background-image: var(--nf-shine), linear-gradient(180deg, #FFFFFF 0%, #D4F4FF 38%, #6CCBFF 58%, #EAF9FF 100%); background-size: 260% 100%, 100% 100%; background-position: 160% 0, 0 0;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, .9)) drop-shadow(0 0 5px rgba(108, 203, 255, .75)); }
.nf-n06 { background-image: var(--nf-shine), repeating-linear-gradient(115deg, rgba(255, 255, 255, .42) 0 1.5px, transparent 1.5px 5px),
  linear-gradient(100deg, #FF9BE0, #9BB8FF, #8BFFE0, #FFF39B, #FF9BE0, #9BB8FF, #8BFFE0); background-size: 260% 100%, auto, 300% 100%; background-repeat: no-repeat, repeat, repeat;
  background-position: 160% 0, 0 0, 0 0; filter: drop-shadow(0 0 2px rgba(255, 255, 255, .55)); }
.nf-n07 { background-image: radial-gradient(circle at 30% 40%, #FFFFFF 0 .8px, transparent 1.4px), radial-gradient(circle at 70% 70%, #FFFFFF 0 .6px, transparent 1.1px),
  radial-gradient(circle at 55% 20%, #FFE6FF 0 .7px, transparent 1.2px), linear-gradient(115deg, #3A1C8C 0%, #8E3BDD 28%, #E355B5 52%, #4F7BFF 76%, #2A1466 100%);
  background-size: 11px 11px, 17px 17px, 23px 23px, 300% 100%; background-repeat: repeat; filter: drop-shadow(0 0 3px rgba(170, 120, 255, .9)) drop-shadow(0 0 7px rgba(227, 85, 181, .45)); }
.nf-n08 { background-image: var(--nf-shine), linear-gradient(180deg, #FFFFFF 0%, #E3EBF6 28%, #96A7BF 47%, #27303F 50%, #5E7393 53%, #C9D7EA 76%, #FFFFFF 100%); background-size: 260% 100%, 100% 100%;
  background-position: 160% 0, 0 0; filter: drop-shadow(0 1px 0 #10161F) drop-shadow(0 0 3px rgba(130, 190, 255, .55)); }
.nf-n09 { background-image: repeating-linear-gradient(180deg, transparent 0 2px, rgba(40, 0, 70, .5) 2px 3px), linear-gradient(180deg, #FFF06A 0%, #FFA640 32%, #FF3F8E 62%, #9B3DFF 100%);
  background-size: 100% 45%, 100% 100%; background-position: 0 100%, 0 0; filter: drop-shadow(2px 2px 0 rgba(57, 230, 255, .85)) drop-shadow(0 0 5px rgba(255, 63, 142, .55)); }
.nf-n10 { color: #F5F7FF; -webkit-text-fill-color: #F5F7FF; text-shadow: 1.5px 0 rgba(255, 43, 214, .9), -1.5px 0 rgba(43, 240, 255, .9); }
@media (prefers-reduced-motion: no-preference) {
  .nf-n01, .nf-n02, .nf-n05, .nf-n08 { animation: nfShine 4.5s ease-in-out infinite; }
  .nf-n03 { animation: nfFlick 6s steps(1, end) infinite; }
  .nf-n04 { animation: nfFire 1.3s ease-in-out infinite alternate; }
  .nf-n06 { animation: nfHolo 5s linear infinite; }
  .nf-n07 { animation: nfGalaxy 14s linear infinite; }
  .nf-n10 { animation: nfGlitch 3.2s steps(1, end) infinite; }
}
@keyframes nfRun { from { background-position: 0 0; } to { background-position: 200% 0; } }
@keyframes nfShine { 0%, 60% { background-position: 160% 0, 0 0; } 100% { background-position: -60% 0, 0 0; } }
@keyframes nfFlick { 0%, 6%, 8.5%, 10%, 63%, 65%, 100% { opacity: 1; } 7%, 9%, 64% { opacity: .35; } }
@keyframes nfFire { from { background-position: 0 100%; } to { background-position: 0 0; } }
@keyframes nfHolo { 0% { background-position: 160% 0, 0 0, 0 0; } 70% { background-position: 160% 0, 0 0, 210% 0; } 100% { background-position: -60% 0, 0 0, 300% 0; } }
@keyframes nfGalaxy { from { background-position: 0 0, 0 0, 0 0, 0 0; } to { background-position: 44px 22px, -34px 17px, 23px -46px, 300% 0; } }
@keyframes nfGlitch { 0%, 84%, 100% { text-shadow: 1.5px 0 rgba(255, 43, 214, .9), -1.5px 0 rgba(43, 240, 255, .9); } 86% { text-shadow: -3px 1px rgba(255, 43, 214, .95), 3px -1px rgba(43, 240, 255, .95); }
  88% { text-shadow: 4px -1px rgba(255, 43, 214, .95), -2px 1px rgba(43, 240, 255, .95); } 90% { text-shadow: -1px 0 rgba(255, 43, 214, .9), 1px 0 rgba(43, 240, 255, .9); }
  92% { text-shadow: 2.5px 1px rgba(255, 43, 214, .95), -3.5px -1px rgba(43, 240, 255, .95); } }
/* Kartenskins (Shop, data-sk am Kasten der Karten eines Spielers) – v260: die 36 Designs des Besitzers („Benutze diese Designs“) – Rückseite img/sk/kNN.jpg (::after),
   Vorderseite img/sk/kNN-v.jpg mit Medaillon und Wasserzeichen (seit v418 in img/sk2 mit 400 × 560 statt 200 × 280 – Besitzer vom iPad: „Kartenskin ist unscharf“) („Denk dran, auch eine passende Vorderseite zu machen“). Erzeugt mit werkzeuge/skins/zuschnitt.js
   (Regeln aus werkzeuge/skins/skins.css). Ein Bild nie unter altem Namen ändern (Zwischenspeicher der Geräte) */
[data-sk="k01"] .pc { background: url(img/sk2/k01-v.jpg) center / 100% 100% no-repeat, #F3F5EC; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k01"] .pc::after { background: url(img/sk2/k01.jpg) center / 100% 100% no-repeat, #286234; box-shadow: none; }
[data-sk="k12"] .pc { background: url(img/sk2/k12-v.jpg) center / 100% 100% no-repeat, #F3F2EE; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k12"] .pc::after { background: url(img/sk2/k12.jpg) center / 100% 100% no-repeat, #2A3B57; box-shadow: none; }
[data-sk="k02"] .pc { background: url(img/sk2/k02-v.jpg) center / 100% 100% no-repeat, #F8F2EB; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k02"] .pc::after { background: url(img/sk2/k02.jpg) center / 100% 100% no-repeat, #832B20; box-shadow: none; }
[data-sk="k13"] .pc { background: url(img/sk2/k13-v.jpg) center / 100% 100% no-repeat, #F5F1EE; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k13"] .pc::after { background: url(img/sk2/k13.jpg) center / 100% 100% no-repeat, #422863; box-shadow: none; }
[data-sk="k14"] .pc { background: url(img/sk2/k14-v.jpg) center / 100% 100% no-repeat, #FEF9F3; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k14"] .pc::after { background: url(img/sk2/k14.jpg) center / 100% 100% no-repeat, #E6AFB4; box-shadow: none; }
[data-sk="k06"] .pc { background: url(img/sk2/k06-v.jpg) center / 100% 100% no-repeat, #F6F3EB; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k06"] .pc::after { background: url(img/sk2/k06.jpg) center / 100% 100% no-repeat, #5F4D2D; box-shadow: none; }
[data-sk="k04"] .pc { background: url(img/sk2/k04-v.jpg) center / 100% 100% no-repeat, #F4F6F0; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k04"] .pc::after { background: url(img/sk2/k04.jpg) center / 100% 100% no-repeat, #32767B; box-shadow: none; }
[data-sk="k15"] .pc { background: url(img/sk2/k15-v.jpg) center / 100% 100% no-repeat, #F3F3EB; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k15"] .pc::after { background: url(img/sk2/k15.jpg) center / 100% 100% no-repeat, #1F4B29; box-shadow: none; }
[data-sk="k16"] .pc { background: url(img/sk2/k16-v.jpg) center / 100% 100% no-repeat, #F5F4EE; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k16"] .pc::after { background: url(img/sk2/k16.jpg) center / 100% 100% no-repeat, #465065; box-shadow: none; }
[data-sk="k05"] .pc { background: url(img/sk2/k05-v.jpg) center / 100% 100% no-repeat, #F6F4EC; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k05"] .pc::after { background: url(img/sk2/k05.jpg) center / 100% 100% no-repeat, #545F31; box-shadow: none; }
[data-sk="k17"] .pc { background: url(img/sk2/k17-v.jpg) center / 100% 100% no-repeat, #F6F3ED; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k17"] .pc::after { background: url(img/sk2/k17.jpg) center / 100% 100% no-repeat, #534C41; box-shadow: none; }
[data-sk="k18"] .pc { background: url(img/sk2/k18-v.jpg) center / 100% 100% no-repeat, #F6F2EF; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k18"] .pc::after { background: url(img/sk2/k18.jpg) center / 100% 100% no-repeat, #58316C; box-shadow: none; }
[data-sk="k03"] .pc { background: url(img/sk2/k03-v.jpg) center / 100% 100% no-repeat, #F5F0EA; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k03"] .pc::after { background: url(img/sk2/k03.jpg) center / 100% 100% no-repeat, #4D0C0C; box-shadow: none; }
[data-sk="k19"] .pc { background: url(img/sk2/k19-v.jpg) center / 100% 100% no-repeat, #F2F3F0; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k19"] .pc::after { background: url(img/sk2/k19.jpg) center / 100% 100% no-repeat, #16497C; box-shadow: none; }
[data-sk="k20"] .pc { background: url(img/sk2/k20-v.jpg) center / 100% 100% no-repeat, #FDFBF3; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k20"] .pc::after { background: url(img/sk2/k20.jpg) center / 100% 100% no-repeat, #D8CDBF; box-shadow: none; }
[data-sk="k21"] .pc { background: url(img/sk2/k21-v.jpg) center / 100% 100% no-repeat, #F3F4EC; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k21"] .pc::after { background: url(img/sk2/k21.jpg) center / 100% 100% no-repeat, #2A4F36; box-shadow: none; }
[data-sk="k22"] .pc { background: url(img/sk2/k22-v.jpg) center / 100% 100% no-repeat, #F4F5F1; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k22"] .pc::after { background: url(img/sk2/k22.jpg) center / 100% 100% no-repeat, #3B6A8E; box-shadow: none; }
[data-sk="k23"] .pc { background: url(img/sk2/k23-v.jpg) center / 100% 100% no-repeat, #FBF4EB; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k23"] .pc::after { background: url(img/sk2/k23.jpg) center / 100% 100% no-repeat, #B3511E; box-shadow: none; }
[data-sk="k24"] .pc { background: url(img/sk2/k24-v.jpg) center / 100% 100% no-repeat, #F5F3EC; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k24"] .pc::after { background: url(img/sk2/k24.jpg) center / 100% 100% no-repeat, #4B4131; box-shadow: none; }
[data-sk="k25"] .pc { background: url(img/sk2/k25-v.jpg) center / 100% 100% no-repeat, #F3F3EB; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k25"] .pc::after { background: url(img/sk2/k25.jpg) center / 100% 100% no-repeat, #2A4726; box-shadow: none; }
[data-sk="k26"] .pc { background: url(img/sk2/k26-v.jpg) center / 100% 100% no-repeat, #F6F2F1; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k26"] .pc::after { background: url(img/sk2/k26.jpg) center / 100% 100% no-repeat, #572C8F; box-shadow: none; }
[data-sk="k27"] .pc { background: url(img/sk2/k27-v.jpg) center / 100% 100% no-repeat, #F3F7F1; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k27"] .pc::after { background: url(img/sk2/k27.jpg) center / 100% 100% no-repeat, #2A868C; box-shadow: none; }
[data-sk="k28"] .pc { background: url(img/sk2/k28-v.jpg) center / 100% 100% no-repeat, #F5F3EC; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k28"] .pc::after { background: url(img/sk2/k28.jpg) center / 100% 100% no-repeat, #453D35; box-shadow: none; }
[data-sk="k29"] .pc { background: url(img/sk2/k29-v.jpg) center / 100% 100% no-repeat, #FDF9F0; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k29"] .pc::after { background: url(img/sk2/k29.jpg) center / 100% 100% no-repeat, #D7B27B; box-shadow: none; }
[data-sk="k30"] .pc { background: url(img/sk2/k30-v.jpg) center / 100% 100% no-repeat, #F4F1EE; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k30"] .pc::after { background: url(img/sk2/k30.jpg) center / 100% 100% no-repeat, #391C64; box-shadow: none; }
[data-sk="k31"] .pc { background: url(img/sk2/k31-v.jpg) center / 100% 100% no-repeat, #F4F3EB; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k31"] .pc::after { background: url(img/sk2/k31.jpg) center / 100% 100% no-repeat, #2D4723; box-shadow: none; }
[data-sk="k32"] .pc { background: url(img/sk2/k32-v.jpg) center / 100% 100% no-repeat, #F7F2EB; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k32"] .pc::after { background: url(img/sk2/k32.jpg) center / 100% 100% no-repeat, #64321F; box-shadow: none; }
[data-sk="k33"] .pc { background: url(img/sk2/k33-v.jpg) center / 100% 100% no-repeat, #F2F3EE; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k33"] .pc::after { background: url(img/sk2/k33.jpg) center / 100% 100% no-repeat, #14415F; box-shadow: none; }
[data-sk="k34"] .pc { background: url(img/sk2/k34-v.jpg) center / 100% 100% no-repeat, #F3F3EB; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k34"] .pc::after { background: url(img/sk2/k34.jpg) center / 100% 100% no-repeat, #2A3D2C; box-shadow: none; }
[data-sk="k35"] .pc { background: url(img/sk2/k35-v.jpg) center / 100% 100% no-repeat, #F6F3EB; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k35"] .pc::after { background: url(img/sk2/k35.jpg) center / 100% 100% no-repeat, #554529; box-shadow: none; }
[data-sk="k36"] .pc { background: url(img/sk2/k36-v.jpg) center / 100% 100% no-repeat, #F6F3ED; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k36"] .pc::after { background: url(img/sk2/k36.jpg) center / 100% 100% no-repeat, #524951; box-shadow: none; }
[data-sk="k37"] .pc { background: url(img/sk2/k37-v.jpg) center / 100% 100% no-repeat, #F4F4EB; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k37"] .pc::after { background: url(img/sk2/k37.jpg) center / 100% 100% no-repeat, #334E27; box-shadow: none; }
[data-sk="k38"] .pc { background: url(img/sk2/k38-v.jpg) center / 100% 100% no-repeat, #FBF9F2; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k38"] .pc::after { background: url(img/sk2/k38.jpg) center / 100% 100% no-repeat, #ADB4AC; box-shadow: none; }
[data-sk="k39"] .pc { background: url(img/sk2/k39-v.jpg) center / 100% 100% no-repeat, #F4F2EB; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k39"] .pc::after { background: url(img/sk2/k39.jpg) center / 100% 100% no-repeat, #342F27; box-shadow: none; }
[data-sk="k40"] .pc { background: url(img/sk2/k40-v.jpg) center / 100% 100% no-repeat, #FBF4ED; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k40"] .pc::after { background: url(img/sk2/k40.jpg) center / 100% 100% no-repeat, #B15B51; box-shadow: none; }
[data-sk="k41"] .pc { background: url(img/sk2/k41-v.jpg) center / 100% 100% no-repeat, #F2F5F0; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[data-sk="k41"] .pc::after { background: url(img/sk2/k41.jpg) center / 100% 100% no-repeat, #196D79; box-shadow: none; }
/* Profil und Shop (Fenster wie Rangliste und Bonus) */
.sheet.pf-sheet { width: min(560px, calc(100% - 48px)); }
.pf-body { display: flex; flex-direction: column; gap: 14px; min-height: 0; overflow-y: auto; }
.pf-sec { display: flex; flex-direction: column; gap: 8px; }
.pf-sec h3 { margin: 0; font-size: .95rem; letter-spacing: .06em; color: var(--gold); }
.pf-lab { font-weight: 700; color: var(--ink-2); }
.pf-input { flex: 1 1 auto; min-width: 0; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .32); color: var(--ink); font: inherit; font-size: 1.05rem; }
.pf-hint { margin: 0; font-size: .82rem; color: var(--ink-3); }
.pf-hint[data-s="bad"] { color: var(--bad); }
.pf-switch { position: relative; display: flex; align-items: center; gap: 12px; cursor: pointer; }
.pf-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pf-sw { position: relative; flex: none; width: 46px; height: 26px; border-radius: 13px; background: rgba(255, 255, 255, .18); transition: background .2s; }
.pf-sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; transition: transform .2s; }
/* „~“ statt „+“: seit v262 steht der Schalter hinter dem Text (rechts) – mit „+“ zeigte er „an“ nie (v263, Meldung des Besitzers: „Geistmodus-Schalter lässt sich nicht umlegen“) */
.pf-switch input:checked ~ .pf-sw { background: var(--gold); }
.pf-switch input:checked ~ .pf-sw::after { transform: translateX(20px); }
.pf-switch input:focus-visible ~ .pf-sw { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.pf-swt { display: flex; flex-direction: column; gap: 2px; }
.pf-items { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-item { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 96px; max-width: 160px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(0, 0, 0, .25); color: var(--ink); font: inherit; cursor: pointer; }
.pf-item.on { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.pf-item:disabled { opacity: .6; cursor: default; }
.pf-it-name { font-size: .8rem; color: var(--ink-2); }
.pf-item .shop-pv { min-height: 40px; font-size: 1.05rem; }
.pf-msg { margin: 0; font-size: .88rem; color: var(--ok); }
.pf-msg[data-s="bad"] { color: var(--bad); }
.pf-msg[hidden] { display: none; }
.sheet.shop { width: min(820px, calc(100% - 48px)); }
.shop-bal { margin: 0; font-size: .9rem; color: var(--ink-2); }
/* Shop – v260 (Besitzer: „Die Designs zum Kaufen sehen billig aus“): Karten mit Bühne (Lichtkegel, Sockel) und Seltenheit nach Preis – Gewöhnlich 0,50 €, Selten 1 €,
   Episch 2–3 €, Mythisch 5 €, Legendär 10 € (shopTier in js/profil.js; v262 getauscht, Wunsch des Besitzers – die Farben gehen mit: Legendär gold, Mythisch schillernd);
   die beiden obersten mit Glanz über der Bühne, Gekauftes mit Haken oben rechts */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); grid-auto-rows: max-content; align-content: start; gap: 12px; min-height: 0; overflow-y: auto; padding: 2px 2px 6px; }   /* Zeilen in voller Höhe – das Raster scrollt (vorher wurden sie im Fenster auf die Mindesthöhe gestaucht) */
.shop-item { --tc: #A9C2B4; --tg: rgba(169, 194, 180, .28); position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 0 0 12px; border-radius: 16px;
  border: 1px solid var(--tg); background: linear-gradient(180deg, #0F1E17, #0A140F); box-shadow: 0 10px 22px rgba(0, 0, 0, .35); text-align: center; overflow: hidden; }
.shop-item[data-tier="2"] { --tc: #79B8FF; --tg: rgba(121, 184, 255, .42); }
.shop-item[data-tier="3"] { --tc: #C597FF; --tg: rgba(197, 151, 255, .45); }
.shop-item[data-tier="4"] { --tc: #FF8FD6; --tg: rgba(255, 143, 214, .5); }
.shop-item[data-tier="5"] { --tc: #FFC766; --tg: rgba(255, 199, 102, .5); box-shadow: 0 10px 24px rgba(0, 0, 0, .35), 0 0 18px rgba(255, 199, 102, .18); }
.shop-item.owned { border-color: var(--gold); }
.shop-item > * { flex: none; }
.si-stage { position: relative; display: grid; place-items: center; height: 136px; overflow: hidden; border-bottom: 1px solid var(--tg);
  background: radial-gradient(55% 60% at 50% 104%, var(--tg), transparent 75%), radial-gradient(90% 70% at 50% -12%, rgba(255, 255, 255, .1), transparent 70%), linear-gradient(180deg, #07100C, #040906); }
.si-stage::before { content: ""; position: absolute; left: 24%; right: 24%; bottom: 9px; height: 12px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .65), transparent); }
.si-tier { position: absolute; left: 8px; top: 8px; z-index: 2; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--tg); background: rgba(0, 0, 0, .55); color: var(--tc);
  font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.shop-item[data-tier="4"] .si-tier { border: 0; background: linear-gradient(90deg, #FF8FD6, #A9B8FF, #8BFFE0); color: #1B0B24; }
.shop-item[data-tier="5"] .si-tier { border: 0; background: linear-gradient(90deg, #FFE08A, #E3A93A); color: #2A1A02; }
.si-own { position: absolute; right: 8px; top: 8px; z-index: 2; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); }
.si-own .ico { width: 14px; height: 14px; }
.shop-item[data-tier="4"] .si-stage::after, .shop-item[data-tier="5"] .si-stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .16) 50%, transparent 65%) no-repeat; background-size: 250% 100%; background-position: 160% 0; }
@media (prefers-reduced-motion: no-preference) {
  .shop-item[data-tier="4"] .si-stage::after, .shop-item[data-tier="5"] .si-stage::after { animation: siShine 5s ease-in-out infinite; }
  .shop-item[data-tier="5"] .si-stage::after { animation-delay: -2.5s; }
}
@keyframes siShine { 0%, 55% { background-position: 160% 0; } 100% { background-position: -60% 0; } }
.shop-pv { position: relative; display: flex; align-items: center; justify-content: center; max-width: 100%; padding: 0 10px; overflow: hidden; font-family: var(--f-deco); font-weight: 800;
  font-size: 1.25rem; white-space: nowrap; text-overflow: ellipsis; }
.si-stage .shop-pv.nf { display: block; font-size: 1.7rem; line-height: 1.3; }
.shop-cards { display: flex; align-items: flex-end; justify-content: center; }
.shop-cards .pc { --cw: 38px; }
.shop-cards .pc + .pc { margin-left: -12px; transform: rotate(8deg); }
.si-stage .shop-cards .pc { --cw: 62px; }
.si-stage .shop-cards .pc:first-child { transform: rotate(-9deg) translateY(2px); }
.si-stage .shop-cards .pc + .pc { margin-left: -18px; transform: rotate(9deg) translateY(4px); }
.shop-name { margin: 4px 10px 0; font-family: var(--f-deco); font-size: 1.02rem; letter-spacing: .05em; color: var(--ink); }
.shop-sub { margin: 0 10px; min-height: 2.5em; font-size: .76rem; line-height: 1.25; color: var(--ink-3); }
.shop-buy { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: auto; min-height: 40px; margin: 2px 12px 0; border-radius: 999px; font-weight: 800; }
.shop-buy.ghost { border: 1px solid rgba(217, 180, 94, .6); background: linear-gradient(180deg, rgba(217, 180, 94, .2), rgba(217, 180, 94, .05)); color: var(--gold-hi); }
.shop-own { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 40px; font-size: .85rem; font-weight: 700; color: var(--gold); }
.shop-own .ico { width: 16px; height: 16px; }
.shop-foot { display: flex; align-items: center; gap: 12px; }
.shop-foot .btn { width: auto; flex: none; }
html.phone .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html.phone .shop-foot { flex-direction: column; align-items: stretch; }
/* v260/v379 (Besitzer: „Achte darauf, dass in der Lobby nicht so viele hässliche Lücken sind“): das Spielrad füllt den freien Platz zwischen „Spiel wählen“ und der
   Bonus-Reihe, keine Auto-Ränder */
#lobbyCard:has(> #lobbyGames.gt-rad) > .lobby-head, #lobbyCard:has(> #lobbyGames.gt-rad) > .lobby-games, #lobbyCard:has(> #lobbyGames.gt-rad) > .lobby-bonus { margin-bottom: 0; }
html.phone .grid:not(.seated) > .area-main > #lobbyCard:has(> #lobbyGames.gt-rad) { flex: 1 0 auto; }
/* v260 (Besitzer: „Der Name soll dann dauerhaft richtig geändert werden … nur einmal pro Monat … zweimal zum Bestätigen eingeben“): Profil mit zwei Feldern */
.pf-input:disabled { opacity: .55; }
.shop-foot .sheet-note { flex: 1 1 auto; min-width: 0; }
/* ===== v261 (Wünsche des Besitzers vom 1.11.2026) ===== */
/* Lobby: „Profil“ statt „Abmelden“ (Testphase: die Casino-Leitung; abmelden im Profil), auch der Gruß öffnet das Profil */
.lobby-me { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.lobby-me .ico { width: 16px; height: 16px; }
.lobby-me[hidden] { display: none; }
.lobby-hello.pf-on { cursor: pointer; }
/* Profil: Fenster zum Umbenennen (#pfRenDlg), ein Satz zum Shop statt „Zum Shop“, „Abmelden“ unten (v262 unten neu gestaltet) */
.pf-ren-dlg .sup-card { align-items: stretch; text-align: left; gap: 8px; }
.pf-ren-dlg .sup-card h2 { margin-bottom: 4px; text-align: center; }
.pf-ren-dlg .pf-input { width: 100%; }
.pf-ren-dlg .pf-hint { margin: 2px 0 4px; }
/* ===== v262 (Wünsche des Besitzers vom 1.11.2026) ===== */
/* Profil symmetrisch (Bild des Besitzers: „Mach das irgendwie symmetrisch“): Abschnitte als Kästen mit der Überschrift in der Mitte, der Name groß in der Mitte (mit seinem
   Effekt), Kacheln für Namen und Kartenskins gleich groß und mittig (drei je Reihe), Geistmodus mit dem Schalter rechts, Ton-Regler für Musik und Effekte (js/ton.js),
   „Abmelden“ in der Mitte mit roter Schrift („Abmelden-Knopf soll in roter Schrift sein“, „soll nicht langgezogen sein“) */
.pf-card { gap: 10px; padding: 12px 14px 14px; border-radius: 16px; border: 1px solid var(--line); background: rgba(0, 0, 0, .2); }
.pf-sec h3 { text-align: center; }
.pf-me { align-items: center; text-align: center; }
.pf-big { display: block; max-width: 100%; overflow-wrap: anywhere; font-size: 1.6rem; line-height: 1.25; color: var(--ink); }
.pf-big.nf { font-family: var(--f-deco); font-weight: 800; }
.pf-me .btn { width: auto; }
.pf-switch, .pf-hn-row { justify-content: space-between; }
.pf-hn-row { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.pf-hn-row .btn { flex: none; width: auto; color: var(--gold-ink); }
/* v373 (Video des Besitzers vom 14.11.2026: „Das auf und zu klappen sieht nicht gut aus“): „Auch bei neuen Nachrichten im Chat.“ klappt weich auf und zu statt zu springen –
   Höhe, Deckkraft und der Abstand der Karte (gap 10 px) gleiten; zu: nicht zu sehen, nicht antippbar (hinweis.js hnRender) */
.pf-fold { display: grid; grid-template-rows: 1fr; opacity: 1; transition: grid-template-rows .32s ease, opacity .26s ease, margin-top .32s ease; }   /* Höhe 0 ↔ eigene Höhe, ohne Messen */
.pf-fold > * { min-height: 0; overflow: hidden; padding: 4px; margin: -4px; }   /* 4 px innen: der Fokusring des Schalters (2 + 2 px) wird nicht abgeschnitten */
.pf-fold.zu { grid-template-rows: 0fr; opacity: 0; margin-top: -10px; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .pf-fold { transition: none; } }
.pf-swt { flex: 1 1 auto; min-width: 0; font-size: .86rem; line-height: 1.35; color: var(--ink-2); }
.pf-items { justify-content: center; }
.pf-item { flex: 0 0 calc((100% - 16px) / 3); width: calc((100% - 16px) / 3); min-width: 0; max-width: 150px; justify-content: center; padding: 8px 4px; }
.pf-item .shop-pv { height: 56px; min-height: 0; }
.pf-item .shop-pv.nf { padding: 0 2px; font-size: 1rem; }
.pf-it-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-vol { display: grid; grid-template-columns: 66px minmax(0, 1fr) 54px; align-items: center; gap: 10px; font-weight: 700; color: var(--ink-2); }
.pf-vol output { display: flex; justify-content: flex-end; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink); }
.pf-vol .pf-mute { width: 22px; height: 22px; color: var(--ink-2); }
.pf-vol input[type="range"] { --p: 100%; -webkit-appearance: none; appearance: none; width: 100%; height: 30px; margin: 0; background: transparent; cursor: pointer; touch-action: pan-y; }
.pf-vol input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--gold) var(--p), rgba(255, 255, 255, .16) var(--p)); }
.pf-vol input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; border: 2px solid var(--gold); background: #FFF6DC;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .45); }
.pf-vol input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .16); }
.pf-vol input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--gold); }
.pf-vol input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--gold); background: #FFF6DC; }
.pf-vol input[type="range"]:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; border-radius: 8px; }
.pf-msg, .pf-shopnote { text-align: center; }
.btn.ghost.pf-logout { align-self: center; width: auto; flex: none; color: var(--bad); }   /* Wunsch des Besitzers: „soll nicht langgezogen sein, nur halt rote Schrift“ */
/* v389: Auszeit (js/auszeit.js; Vorschau vom 15.11.2026, Entscheidungen des Besitzers: „Gar nicht, mit walzen, längste 12 Monate“) – im Profil neben „Abmelden“,
   Fenster mit zwei Walzen wie beim Tagesrad (Zahl, Einheit), Bestätigung mit rotem Knopf, Karte während der Auszeit wie das Warten neuer Konten */
.pf-ende { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; align-self: center; }
.pf-ende .btn { flex: none; width: auto; }
.btn.ghost.az-knopf { color: var(--ink-2); }
.sup-card .az-zeit { font: 700 1.02rem/1.35 var(--f-num); color: var(--gold-hi); }
.az-liste { margin: 0; padding: 0 0 0 1.15em; text-align: left; color: var(--ink-2); font-size: .92rem; line-height: 1.45; }
.az-liste li + li { margin-top: 5px; }
.az-liste b { color: var(--ink); }
.rt-pick.az-pick { margin: 2px auto; }
.rt-pick.az-pick .rt-col.az-zahl { width: 64px; }
.rt-pick.az-pick .rt-col.az-einheit { width: 128px; }
.rt-pick.az-pick .rt-col.az-zahl .rt-it { justify-content: flex-end; padding-right: 10px; }
.rt-pick.az-pick .rt-col.az-einheit .rt-it { justify-content: flex-start; padding-left: 10px; font: 600 1.2rem/1 var(--f-body); }
.az-btns { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.sup-card .az-err { color: var(--bad); font-weight: 600; }
.ww-card .az-rest { margin: 0; color: var(--ink-2); font: 600 1rem/1.3 var(--f-num); }
/* Shop: Preisknopf bzw. „Gekauft“ immer unten in der Karte – in einer Reihe auf gleicher Höhe (Bild des Besitzers: „Unterschiedliche Höhe hier“) */
.shop-buy, .shop-own { margin-top: auto; }
/* Happy-Hour-Balken: antippen öffnet die Erklärung (#hhDlg) – kleines Info-Zeichen am Ende */
.hh-bar { cursor: pointer; }
.hh-bar .hb-i { flex: none; width: 15px; height: 15px; color: var(--ink-3); }
.hh-bar:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
/* v280 (Bild des Besitzers vom iPhone, 2.11.2026: „Mach den happy Balken irgendwie größer“ – von drei Entwürfen „Nimm Entwurf B“): der Balken hat eine eigene Zeile
   unter „Spiel wählen“ über die ganze Breite, ist höher und zeigt auch am Handy „Happy Hour“ und einen dicken Fortschritt (am iPhone waren es bis v279 wenige Pixel neben
   dem Betrag). Die Spielkacheln werden dafür etwas kleiner (das Spielrad misst den freien Platz, seit v379), die Lobby scrollt weiter nie. Am Handy darf der Fortschritt wie seit v270
   schrumpfen, damit Betrag und „i“ auch am iPhone SE bei 499,99 € im Balken bleiben (tests/bonus/oben-hinweis.js). */
.lobby-h2 { flex-wrap: wrap; row-gap: 8px; }
.hh-bar { flex: 1 1 100%; height: 34px; padding: 0 12px; gap: 10px; font-size: .92rem; }
.hh-bar .ico { width: 18px; height: 18px; }
.hh-bar .hb-i { width: 17px; height: 17px; }
.hb-track { height: 12px; border-radius: 6px; min-width: 60px; }
html.phone .hh-bar { height: 32px; padding: 0 10px; gap: 8px; font-size: .86rem; }
html.phone .hb-l { display: inline; }
html.phone .hb-track { min-width: 0; }
/* ===== v265 (Wunsch des Besitzers: „Mach die Spiellogos detaillierter“, Entwurf angenommen) ===== */
/* Spiellogos als Bilder (img/spiele/, erzeugt von werkzeuge/logos/logos.js); Roulette aus Kessel und Drehteil übereinander (gleiche Zelle), das Drehteil dreht langsam
   (vom Grafikchip bewegt); in den Bildern selbst blinken nur Lichter und tickt die Stoppuhr in Schritten. Alles aus bei „Bewegung reduzieren“. Größe im Spielrad: Block v379. */
@media (prefers-reduced-motion: no-preference) {
  #lobbyGames.gt-rad .gt-rotor { animation: gtSpin 46s linear infinite; }
}
/* chips:start – erzeugt von werkzeuge/chips/chips.js, nicht von Hand ändern */
/* ===== v271 (Wunsch des Besitzers vom 2.11.2026: „bring erstmal nur die Chips in den Shop, Design nochmal angepasst“ – Designs nach seinem Bild) =====
   Chip-Designs (Shop, js/profil.js): Bilder img/ch/1/<Code>-<Wert>.svg und -f.svg (Fläche ohne Wert), erzeugt von werkzeuge/chips/chips.js. Die eigenen Chips – die Leisten an
   allen Tischen – nach data-ch am Dokument; die Einsätze am Tisch (Roulette, Blackjack, Poker) nach data-ch am Chip des Spielers: die Fläche des Designs mit dem Betrag
   darüber, der Ring bleibt in der Spielerfarbe (--cc), damit man sieht, wessen Einsatz es ist. Nur [data-ch^="k"] – leer heißt Standard. */
html[data-ch^="k"] .chip-row > .chip, html[data-ch^="k"] .chip.drag-ghost { background: var(--ch-i) center / 100% 100% no-repeat; border: 0; box-shadow: 0 5px 12px rgba(0, 0, 0, .5); color: transparent; text-shadow: none; }
/* v272 (Bild des Besitzers: „Beim aufs Feld ziehen wird der Skin nicht angezeigt“): der gezogene Chip ist eine Kopie außerhalb der Leiste (js/einsaetze.js) – auch er im Design */
html[data-ch^="k"] .chip.drag-ghost { box-shadow: 0 16px 30px rgba(0, 0, 0, .6); }
.amt[data-ch^="k"], .oamt[data-ch^="k"] { background: var(--ch-f) center / 100% 100% no-repeat; border: 0; color: var(--ch-t, #FFFFFF); text-shadow: var(--ch-s, none);
  box-shadow: 0 0 0 1.5px var(--cc, #7A837E), 0 3px 7px rgba(0, 0, 0, .5); }
.pt-bet[data-ch^="k"] i { background: var(--ch-f) center / 100% 100% no-repeat; }
/* Vorschau in Shop und Profil: fünf Chips (10 ct … 10 €) leicht im Bogen, ohne Design die Standard-Chips */
.cp-row { display: flex; align-items: center; justify-content: center; }
.cp-row > i { position: relative; flex: none; width: 22px; height: 22px; margin-left: -5px; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .85);
  background: radial-gradient(circle, var(--c) 0 52%, rgba(255, 255, 255, .92) 53% 58%, var(--c) 59%); box-shadow: 0 3px 6px rgba(0, 0, 0, .45); }
.cp-row > i:first-child { margin-left: 0; }
.cp-row > i:nth-child(1), .cp-row > i:nth-child(5) { transform: translateY(3px); }
.cp-row > i:nth-child(2), .cp-row > i:nth-child(4) { transform: translateY(-1px); z-index: 1; }
.cp-row > i:nth-child(3) { transform: translateY(-3px); z-index: 2; }
.cp-row > .c10 { --c: var(--chip-blue); } .cp-row > .c50 { --c: var(--num-red); } .cp-row > .c100 { --c: #1B1F1D; } .cp-row > .c500 { --c: var(--chip-purple); } .cp-row > .c1000 { --c: var(--chip-gold); }
.cp-row[data-ch^="k"] > i { border: 0; background: var(--ch-i) center / 100% 100% no-repeat; }
/* v272 (Bild des Besitzers: „Manche Chips sind oben auf den Bildern abgeschnitten“): .shop-pv schneidet ab (overflow) und war genau so hoch wie ein Chip – die Chips im Bogen
   standen über. Jetzt mit Luft oben und unten und ohne Abschneiden. */
.shop-pv.cp-row { overflow: visible; padding-top: 6px; padding-bottom: 6px; }
.si-stage .cp-row > i { width: 42px; height: 42px; margin-left: -10px; }
html.phone .si-stage .cp-row > i { width: 36px; height: 36px; margin-left: -9px; }
.si-stage .cp-row > i:first-child { margin-left: 0; }
[data-ch="k51"] { --ch-f: url(img/ch/1/k51-f.svg); --ch-t: #FFFFFF; --ch-s: 0 1px 2px rgba(0, 0, 0, .6); }
html[data-ch="k51"] .chip-row > .chip.c10, html[data-ch="k51"] .chip.drag-ghost.c10, .cp-row[data-ch="k51"] > .c10 { --ch-i: url(img/ch/1/k51-10.svg); }
html[data-ch="k51"] .chip-row > .chip.c50, html[data-ch="k51"] .chip.drag-ghost.c50, .cp-row[data-ch="k51"] > .c50 { --ch-i: url(img/ch/1/k51-50.svg); }
html[data-ch="k51"] .chip-row > .chip.c100, html[data-ch="k51"] .chip.drag-ghost.c100, .cp-row[data-ch="k51"] > .c100 { --ch-i: url(img/ch/1/k51-100.svg); }
html[data-ch="k51"] .chip-row > .chip.c500, html[data-ch="k51"] .chip.drag-ghost.c500, .cp-row[data-ch="k51"] > .c500 { --ch-i: url(img/ch/1/k51-500.svg); }
html[data-ch="k51"] .chip-row > .chip.c1000, html[data-ch="k51"] .chip.drag-ghost.c1000, .cp-row[data-ch="k51"] > .c1000 { --ch-i: url(img/ch/1/k51-1000.svg); }
[data-ch="k52"] { --ch-f: url(img/ch/1/k52-f.svg); --ch-t: #1E6B4E; --ch-s: 0 1px 0 rgba(255, 255, 255, .45); }
html[data-ch="k52"] .chip-row > .chip.c10, html[data-ch="k52"] .chip.drag-ghost.c10, .cp-row[data-ch="k52"] > .c10 { --ch-i: url(img/ch/1/k52-10.svg); }
html[data-ch="k52"] .chip-row > .chip.c50, html[data-ch="k52"] .chip.drag-ghost.c50, .cp-row[data-ch="k52"] > .c50 { --ch-i: url(img/ch/1/k52-50.svg); }
html[data-ch="k52"] .chip-row > .chip.c100, html[data-ch="k52"] .chip.drag-ghost.c100, .cp-row[data-ch="k52"] > .c100 { --ch-i: url(img/ch/1/k52-100.svg); }
html[data-ch="k52"] .chip-row > .chip.c500, html[data-ch="k52"] .chip.drag-ghost.c500, .cp-row[data-ch="k52"] > .c500 { --ch-i: url(img/ch/1/k52-500.svg); }
html[data-ch="k52"] .chip-row > .chip.c1000, html[data-ch="k52"] .chip.drag-ghost.c1000, .cp-row[data-ch="k52"] > .c1000 { --ch-i: url(img/ch/1/k52-1000.svg); }
[data-ch="k53"] { --ch-f: url(img/ch/1/k53-f.svg); --ch-t: #1A1D1C; --ch-s: 0 1px 0 rgba(255, 255, 255, .45); }
html[data-ch="k53"] .chip-row > .chip.c10, html[data-ch="k53"] .chip.drag-ghost.c10, .cp-row[data-ch="k53"] > .c10 { --ch-i: url(img/ch/1/k53-10.svg); }
html[data-ch="k53"] .chip-row > .chip.c50, html[data-ch="k53"] .chip.drag-ghost.c50, .cp-row[data-ch="k53"] > .c50 { --ch-i: url(img/ch/1/k53-50.svg); }
html[data-ch="k53"] .chip-row > .chip.c100, html[data-ch="k53"] .chip.drag-ghost.c100, .cp-row[data-ch="k53"] > .c100 { --ch-i: url(img/ch/1/k53-100.svg); }
html[data-ch="k53"] .chip-row > .chip.c500, html[data-ch="k53"] .chip.drag-ghost.c500, .cp-row[data-ch="k53"] > .c500 { --ch-i: url(img/ch/1/k53-500.svg); }
html[data-ch="k53"] .chip-row > .chip.c1000, html[data-ch="k53"] .chip.drag-ghost.c1000, .cp-row[data-ch="k53"] > .c1000 { --ch-i: url(img/ch/1/k53-1000.svg); }
[data-ch="k54"] { --ch-f: url(img/ch/1/k54-f.svg); --ch-t: #FFFFFF; --ch-s: 0 1px 2px rgba(0, 0, 0, .6); }
html[data-ch="k54"] .chip-row > .chip.c10, html[data-ch="k54"] .chip.drag-ghost.c10, .cp-row[data-ch="k54"] > .c10 { --ch-i: url(img/ch/1/k54-10.svg); }
html[data-ch="k54"] .chip-row > .chip.c50, html[data-ch="k54"] .chip.drag-ghost.c50, .cp-row[data-ch="k54"] > .c50 { --ch-i: url(img/ch/1/k54-50.svg); }
html[data-ch="k54"] .chip-row > .chip.c100, html[data-ch="k54"] .chip.drag-ghost.c100, .cp-row[data-ch="k54"] > .c100 { --ch-i: url(img/ch/1/k54-100.svg); }
html[data-ch="k54"] .chip-row > .chip.c500, html[data-ch="k54"] .chip.drag-ghost.c500, .cp-row[data-ch="k54"] > .c500 { --ch-i: url(img/ch/1/k54-500.svg); }
html[data-ch="k54"] .chip-row > .chip.c1000, html[data-ch="k54"] .chip.drag-ghost.c1000, .cp-row[data-ch="k54"] > .c1000 { --ch-i: url(img/ch/1/k54-1000.svg); }
[data-ch="k55"] { --ch-f: url(img/ch/1/k55-f.svg); --ch-t: #FFF1D6; --ch-s: 0 1px 2px rgba(0, 0, 0, .6); }
html[data-ch="k55"] .chip-row > .chip.c10, html[data-ch="k55"] .chip.drag-ghost.c10, .cp-row[data-ch="k55"] > .c10 { --ch-i: url(img/ch/1/k55-10.svg); }
html[data-ch="k55"] .chip-row > .chip.c50, html[data-ch="k55"] .chip.drag-ghost.c50, .cp-row[data-ch="k55"] > .c50 { --ch-i: url(img/ch/1/k55-50.svg); }
html[data-ch="k55"] .chip-row > .chip.c100, html[data-ch="k55"] .chip.drag-ghost.c100, .cp-row[data-ch="k55"] > .c100 { --ch-i: url(img/ch/1/k55-100.svg); }
html[data-ch="k55"] .chip-row > .chip.c500, html[data-ch="k55"] .chip.drag-ghost.c500, .cp-row[data-ch="k55"] > .c500 { --ch-i: url(img/ch/1/k55-500.svg); }
html[data-ch="k55"] .chip-row > .chip.c1000, html[data-ch="k55"] .chip.drag-ghost.c1000, .cp-row[data-ch="k55"] > .c1000 { --ch-i: url(img/ch/1/k55-1000.svg); }
[data-ch="k56"] { --ch-f: url(img/ch/1/k56-f.svg); --ch-t: #F4F4F4; --ch-s: 0 1px 2px rgba(0, 0, 0, .6); }
html[data-ch="k56"] .chip-row > .chip.c10, html[data-ch="k56"] .chip.drag-ghost.c10, .cp-row[data-ch="k56"] > .c10 { --ch-i: url(img/ch/1/k56-10.svg); }
html[data-ch="k56"] .chip-row > .chip.c50, html[data-ch="k56"] .chip.drag-ghost.c50, .cp-row[data-ch="k56"] > .c50 { --ch-i: url(img/ch/1/k56-50.svg); }
html[data-ch="k56"] .chip-row > .chip.c100, html[data-ch="k56"] .chip.drag-ghost.c100, .cp-row[data-ch="k56"] > .c100 { --ch-i: url(img/ch/1/k56-100.svg); }
html[data-ch="k56"] .chip-row > .chip.c500, html[data-ch="k56"] .chip.drag-ghost.c500, .cp-row[data-ch="k56"] > .c500 { --ch-i: url(img/ch/1/k56-500.svg); }
html[data-ch="k56"] .chip-row > .chip.c1000, html[data-ch="k56"] .chip.drag-ghost.c1000, .cp-row[data-ch="k56"] > .c1000 { --ch-i: url(img/ch/1/k56-1000.svg); }
[data-ch="k57"] { --ch-f: url(img/ch/1/k57-f.svg); --ch-t: #16212C; --ch-s: 0 1px 0 rgba(255, 255, 255, .45); }
html[data-ch="k57"] .chip-row > .chip.c10, html[data-ch="k57"] .chip.drag-ghost.c10, .cp-row[data-ch="k57"] > .c10 { --ch-i: url(img/ch/1/k57-10.svg); }
html[data-ch="k57"] .chip-row > .chip.c50, html[data-ch="k57"] .chip.drag-ghost.c50, .cp-row[data-ch="k57"] > .c50 { --ch-i: url(img/ch/1/k57-50.svg); }
html[data-ch="k57"] .chip-row > .chip.c100, html[data-ch="k57"] .chip.drag-ghost.c100, .cp-row[data-ch="k57"] > .c100 { --ch-i: url(img/ch/1/k57-100.svg); }
html[data-ch="k57"] .chip-row > .chip.c500, html[data-ch="k57"] .chip.drag-ghost.c500, .cp-row[data-ch="k57"] > .c500 { --ch-i: url(img/ch/1/k57-500.svg); }
html[data-ch="k57"] .chip-row > .chip.c1000, html[data-ch="k57"] .chip.drag-ghost.c1000, .cp-row[data-ch="k57"] > .c1000 { --ch-i: url(img/ch/1/k57-1000.svg); }
[data-ch="k58"] { --ch-f: url(img/ch/1/k58-f.svg); --ch-t: #FFFFFF; --ch-s: 0 1px 2px rgba(0, 0, 0, .6); }
html[data-ch="k58"] .chip-row > .chip.c10, html[data-ch="k58"] .chip.drag-ghost.c10, .cp-row[data-ch="k58"] > .c10 { --ch-i: url(img/ch/1/k58-10.svg); }
html[data-ch="k58"] .chip-row > .chip.c50, html[data-ch="k58"] .chip.drag-ghost.c50, .cp-row[data-ch="k58"] > .c50 { --ch-i: url(img/ch/1/k58-50.svg); }
html[data-ch="k58"] .chip-row > .chip.c100, html[data-ch="k58"] .chip.drag-ghost.c100, .cp-row[data-ch="k58"] > .c100 { --ch-i: url(img/ch/1/k58-100.svg); }
html[data-ch="k58"] .chip-row > .chip.c500, html[data-ch="k58"] .chip.drag-ghost.c500, .cp-row[data-ch="k58"] > .c500 { --ch-i: url(img/ch/1/k58-500.svg); }
html[data-ch="k58"] .chip-row > .chip.c1000, html[data-ch="k58"] .chip.drag-ghost.c1000, .cp-row[data-ch="k58"] > .c1000 { --ch-i: url(img/ch/1/k58-1000.svg); }
[data-ch="k59"] { --ch-f: url(img/ch/1/k59-f.svg); --ch-t: #F1CF6E; --ch-s: 0 1px 2px rgba(0, 0, 0, .6); }
html[data-ch="k59"] .chip-row > .chip.c10, html[data-ch="k59"] .chip.drag-ghost.c10, .cp-row[data-ch="k59"] > .c10 { --ch-i: url(img/ch/1/k59-10.svg); }
html[data-ch="k59"] .chip-row > .chip.c50, html[data-ch="k59"] .chip.drag-ghost.c50, .cp-row[data-ch="k59"] > .c50 { --ch-i: url(img/ch/1/k59-50.svg); }
html[data-ch="k59"] .chip-row > .chip.c100, html[data-ch="k59"] .chip.drag-ghost.c100, .cp-row[data-ch="k59"] > .c100 { --ch-i: url(img/ch/1/k59-100.svg); }
html[data-ch="k59"] .chip-row > .chip.c500, html[data-ch="k59"] .chip.drag-ghost.c500, .cp-row[data-ch="k59"] > .c500 { --ch-i: url(img/ch/1/k59-500.svg); }
html[data-ch="k59"] .chip-row > .chip.c1000, html[data-ch="k59"] .chip.drag-ghost.c1000, .cp-row[data-ch="k59"] > .c1000 { --ch-i: url(img/ch/1/k59-1000.svg); }
[data-ch="k60"] { --ch-f: url(img/ch/1/k60-f.svg); --ch-t: #F7C35A; --ch-s: 0 1px 2px rgba(0, 0, 0, .6); }
html[data-ch="k60"] .chip-row > .chip.c10, html[data-ch="k60"] .chip.drag-ghost.c10, .cp-row[data-ch="k60"] > .c10 { --ch-i: url(img/ch/1/k60-10.svg); }
html[data-ch="k60"] .chip-row > .chip.c50, html[data-ch="k60"] .chip.drag-ghost.c50, .cp-row[data-ch="k60"] > .c50 { --ch-i: url(img/ch/1/k60-50.svg); }
html[data-ch="k60"] .chip-row > .chip.c100, html[data-ch="k60"] .chip.drag-ghost.c100, .cp-row[data-ch="k60"] > .c100 { --ch-i: url(img/ch/1/k60-100.svg); }
html[data-ch="k60"] .chip-row > .chip.c500, html[data-ch="k60"] .chip.drag-ghost.c500, .cp-row[data-ch="k60"] > .c500 { --ch-i: url(img/ch/1/k60-500.svg); }
html[data-ch="k60"] .chip-row > .chip.c1000, html[data-ch="k60"] .chip.drag-ghost.c1000, .cp-row[data-ch="k60"] > .c1000 { --ch-i: url(img/ch/1/k60-1000.svg); }
[data-ch="k61"] { --ch-f: url(img/ch/1/k61-f.svg); --ch-t: #FFFFFF; --ch-s: 0 1px 2px rgba(0, 0, 0, .6); }
html[data-ch="k61"] .chip-row > .chip.c10, html[data-ch="k61"] .chip.drag-ghost.c10, .cp-row[data-ch="k61"] > .c10 { --ch-i: url(img/ch/1/k61-10.svg); }
html[data-ch="k61"] .chip-row > .chip.c50, html[data-ch="k61"] .chip.drag-ghost.c50, .cp-row[data-ch="k61"] > .c50 { --ch-i: url(img/ch/1/k61-50.svg); }
html[data-ch="k61"] .chip-row > .chip.c100, html[data-ch="k61"] .chip.drag-ghost.c100, .cp-row[data-ch="k61"] > .c100 { --ch-i: url(img/ch/1/k61-100.svg); }
html[data-ch="k61"] .chip-row > .chip.c500, html[data-ch="k61"] .chip.drag-ghost.c500, .cp-row[data-ch="k61"] > .c500 { --ch-i: url(img/ch/1/k61-500.svg); }
html[data-ch="k61"] .chip-row > .chip.c1000, html[data-ch="k61"] .chip.drag-ghost.c1000, .cp-row[data-ch="k61"] > .c1000 { --ch-i: url(img/ch/1/k61-1000.svg); }
[data-ch="k62"] { --ch-f: url(img/ch/1/k62-f.svg); --ch-t: #5A3A08; --ch-s: 0 1px 0 rgba(255, 255, 255, .45); }
html[data-ch="k62"] .chip-row > .chip.c10, html[data-ch="k62"] .chip.drag-ghost.c10, .cp-row[data-ch="k62"] > .c10 { --ch-i: url(img/ch/1/k62-10.svg); }
html[data-ch="k62"] .chip-row > .chip.c50, html[data-ch="k62"] .chip.drag-ghost.c50, .cp-row[data-ch="k62"] > .c50 { --ch-i: url(img/ch/1/k62-50.svg); }
html[data-ch="k62"] .chip-row > .chip.c100, html[data-ch="k62"] .chip.drag-ghost.c100, .cp-row[data-ch="k62"] > .c100 { --ch-i: url(img/ch/1/k62-100.svg); }
html[data-ch="k62"] .chip-row > .chip.c500, html[data-ch="k62"] .chip.drag-ghost.c500, .cp-row[data-ch="k62"] > .c500 { --ch-i: url(img/ch/1/k62-500.svg); }
html[data-ch="k62"] .chip-row > .chip.c1000, html[data-ch="k62"] .chip.drag-ghost.c1000, .cp-row[data-ch="k62"] > .c1000 { --ch-i: url(img/ch/1/k62-1000.svg); }
/* chips:end */

/* ---------- Rakete (Seite v282, RAKETE.md §3.4 – Entwurf A „Nachthimmel“; Testphase nur für die Casino-Leitung) ---------- */
.logo[data-g="x"] { background: radial-gradient(circle at 35% 30%, #2A3B80, #0B1030 72%); }
.logo[data-g="x"]::before { content: ""; position: absolute; inset: 10%; background: url(img/spiele/rakete-icon-5.svg) center / contain no-repeat; }
.ra-board { display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.ra-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; row-gap: 6px; }
.ra-head h2 { margin: 0; }
.ra-hist { flex: 1 1 100%; min-width: 0; height: 22px; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 5px; overflow: hidden; }   /* v284: nur ganze Werte – der Rest bricht in eine verborgene zweite Zeile um */
.ra-hist span { flex: none; height: 22px; display: inline-flex; align-items: center; padding: 0 8px; border-radius: 10px; font: 700 .76rem var(--f-num); color: var(--ink-2);
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.ra-hist span[data-c="lo"] { color: var(--bad); }
.ra-hist span[data-c="hi"] { color: var(--ok); }
.ra-hist span[data-c="top"] { color: var(--gold-hi); border-color: var(--line-2); }
.ra-main { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 8px; }
.ra-frame { position: relative; flex: 1 1 auto; min-width: 0; min-height: 170px; padding: 5px; border-radius: 18px; box-shadow: 0 10px 24px rgba(0, 0, 0, .45);
  background: linear-gradient(160deg, var(--gold-hi), var(--gold-lo) 45%, var(--gold) 70%, var(--gold-lo)); }
/* Zeichenfläche liegt über dem Rahmen – ihre Pixelgröße (je Bild neu gesetzt) wirkt nie auf die Anordnung zurück (WebKit maß sonst jedes Bild anders) */
.ra-cv { position: absolute; left: 5px; top: 5px; width: calc(100% - 10px); height: calc(100% - 10px); display: block; border-radius: 14px; background: #0B1030; touch-action: manipulation; }
.ra-panel { display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.ra-info { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ra-box { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; padding: 7px 11px; border-radius: 10px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line); }
.ra-box small { font: 700 .66rem var(--f-deco); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.ra-box b { font: 700 1.02rem var(--f-num); color: var(--gold-hi); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }   /* v308: gleich breite Ziffern (raFit misst je Länge) */
.ra-box b[data-s="up"] { color: var(--ok); }
.ra-box b[data-s="down"] { color: var(--bad); }
/* v308 (Besitzer: „Pass auf dass der Auszahlungstext reinpasst“): Betrag zu breit (am Handy mit Happy-Hour-Symbol) – der Kasten rückt zusammen, den Rest macht
   raFit (js/rakete-anzeige.js) mit kleinerer Schrift des Betrags */
.ra-box.ra-tight { gap: 4px; padding-left: 8px; padding-right: 8px; }
.ra-box.ra-tight small { letter-spacing: .02em; }
.ra-box.ra-tight b > .ico { width: 1em; height: 1em; margin-right: .12em; }
.ra-go small { white-space: nowrap; }                                /* v308: Symbol und Betrag im Knopf nie getrennt */
.ra-go.ra-tight { gap: 6px; letter-spacing: .03em; }                 /* v308: Zeile zu lang – raFitGo, nötigenfalls kleinere Schrift */
.ra-rail { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.ra-rail .chip-bar { justify-content: center; }
.ra-tools .btn { flex: 1 1 0; }
.ra-rail .chip[disabled] { opacity: .35; }
.ra-tools { display: flex; justify-content: center; gap: 8px; }
.ra-tools:empty { display: none; }
.ra-act { display: flex; gap: 8px; }
.ra-go { flex: 1; min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 10px; font: 700 1.08rem var(--f-deco); letter-spacing: .08em; text-transform: uppercase; }
.ra-go small { font: 700 .92em var(--f-deco); letter-spacing: .03em; text-transform: none; font-variant-numeric: lining-nums tabular-nums; }   /* v284: Betrag in der Schrift der Beschriftung (Besitzer: „die schrift art vom geldbetrag … sieht komisch aus“) */
/* „Einsetzen“ und „Aussteigen“ golden wie „Bereit“ und „Drehen“ (btn primary) – v282 war „Einsetzen“ mintgrün (Besitzer: „Button hat irgendwie eine andere Farbe“) */
/* v283 (Besitzer: „Der dabei knopf sieht auch komisch aus, halte das im casino stil“): Dabei, Ausgestiegen, Explodiert und Warten wie die Umriss-Knöpfe (btn ghost) –
   Betrag golden, Gewinn grün, Verlust rot; v282 hatten sie eigene Grau-, Grün- und Rottöne */
.ra-go[data-k="in"], .ra-go[data-k="wait"], .ra-go[data-k="out"], .ra-go[data-k="lost"] { background: rgba(255, 255, 255, .03); border-color: var(--line-2); color: var(--ink);
  box-shadow: none; opacity: 1; filter: none; }
.ra-go[data-k="wait"] { color: var(--ink-2); }
.ra-go[data-k="in"] small { color: var(--gold-hi); }
.ra-go[data-k="out"] small { color: var(--ok); }
.ra-go[data-k="lost"] small { color: var(--bad); }
@media (prefers-reduced-motion: no-preference) {
  .ra-go[data-k="raus"]:not([disabled]) { animation: raPuls 1s ease-in-out infinite; }
  @keyframes raPuls { 50% { box-shadow: 0 0 0 4px rgba(246, 223, 156, .35), 0 6px 16px rgba(0, 0, 0, .4); } }
}
.ra-auto { flex: none; width: 76px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, .28); color: var(--ink-2); font: inherit; cursor: pointer; }
.ra-auto small { font: 700 .66rem var(--f-deco); letter-spacing: .1em; text-transform: uppercase; }
.ra-auto b { font: 700 .95rem var(--f-num); color: var(--gold-hi); }
.ra-auto.on { border-color: var(--gold); box-shadow: inset 0 0 0 1px rgba(246, 223, 156, .3); }   /* v283: Gold statt Grün (Grün und Rot nur für Gewinn und Verlust) */
.ra-auto.on b { color: var(--gold-hi); }
.ra-auto[disabled] { opacity: .55; cursor: default; }
.ra-autopick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ra-autopick button { height: 34px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .28); color: var(--ink); font: 700 .9rem var(--f-num); cursor: pointer; }
.ra-autopick button.sel { border-color: var(--gold); color: var(--gold-hi); box-shadow: inset 0 0 0 1px var(--gold); }
.ra-msg { margin: 0; text-align: center; }
.ra-who-box { min-height: 0; overflow: hidden; }
.ra-who-box h3 { margin: 0 0 4px; font: 700 .76rem var(--f-deco); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.ra-who { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; font-size: .84rem; color: var(--ink-2); }
.ra-who li { display: flex; justify-content: space-between; gap: 8px; min-width: 0; }
.ra-who li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ra-who li b { white-space: nowrap; }
.ra-who li small { color: var(--ink-3); }
.ra-who li[data-s="ok"] b { color: var(--ok); }
.ra-who li[data-s="bad"] b { color: var(--bad); }
.ra-who li[data-s="fly"] b { color: var(--gold-hi); }
.ra-who .ra-none { color: var(--ink-3); }
/* breit (iPad, Computer): Bühne links, Bedienung rechts */
html:not(.phone) .ra-main { flex-direction: row; }
html:not(.phone) .ra-panel { flex: none; width: 300px; }
html:not(.phone) .ra-who-box { flex: 1 1 auto; }
/* Handy: Mitflieger knapp, höchstens sieben Explosionspunkte */
html.phone .ra-who-box { display: none; }   /* v284 (Wunsch des Besitzers): Mitflieger am Handy nur über die Leiste unten (Spielerliste) */
html.phone .ra-go { min-height: 50px; font-size: 1rem; }
/* v283 (Bilder des Besitzers vom iPad: „macht das mehr wie ein Blackjack“, „ui verbugt“): am iPad und Computer Bühne über die ganze Karte, darunter Chips und Hinweis,
   rechts unten die Bedienung (raSlip, js/rakete-anzeige.js raPlace), rechts die Mitflieger in der Liste; nichts läuft mehr aus der Karte (min-width 0) */
html:not(.phone) #raCard .ra-panel { display: none; }
html:not(.phone) #raCard > .ra-rail { flex: none; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px 16px; }
html:not(.phone) #raCard > .ra-rail .chip-bar { justify-content: flex-start; }
.ra-foot { display: flex; justify-content: flex-end; min-width: 0; }
html.phone .ra-foot { display: none; }
.ra-slip { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ra-slip[hidden] { display: none; }
.ra-slip .ra-tools { display: flex; gap: 8px; }
.ra-slip .ra-tools:empty { display: none; }                         /* v405: „Rückgängig“/„Einsatz weg“ stehen jetzt an den Chips – die leere Reihe fällt weg (sonst ein Abstand zu viel) */
.ra-slip .ra-tools > * { flex: 1 1 0; min-width: 0; }
.ra-slip .ra-auto { width: auto; min-height: 50px; }
.ra-slip .ra-tools .btn { white-space: nowrap; font-size: .9rem; padding: 4px 6px; }   /* „Einsatz weg“ in einer Zeile (Bild des Besitzers) */
.ra-slip .ra-go { flex: none; width: 100%; min-width: 0; min-height: 64px; font-size: 1.25rem; letter-spacing: .12em; }
.ra-slip .ra-box b { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* v284 (Bild des Besitzers: „unten rechts fehlt Einsatzanzeige“): Einsatz und Auszahlung nebeneinander, Beschriftung über dem Betrag – nichts abgeschnitten */
.ra-slip .ra-box { flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; padding: 8px 12px; }
.ra-slip .ra-box b { font-size: 1.15rem; }
/* v283 (Bild des Besitzers vom iPhone: „mach das Feld der Rakete, wenn sie startet, größer, so dass man besser sehen kann“): am Handy steht der Knopf immer unten,
   im Flug (ra-fly: Flug und Explosion) fallen Chips, Mitflieger und Hinweis weg – die Bühne wächst um ihren Platz, der Knopf bleibt, wo er ist */
html.phone .ra-panel > .ra-autopick { order: 8; }
html.phone .ra-panel > .ra-act { order: 9; }
html.phone #raCard.ra-fly .ra-rail, html.phone #raCard.ra-fly .ra-who-box, html.phone #raCard.ra-fly .ra-autopick { display: none; }

/* ---------- Pferderennen (Seite v292, PFERDERENNEN.md §3.4): wie die Rakete gebaut – Bühne, darunter (Handy) bzw. rechts unten (iPad, rnSlip) der Wettschein ---------- */
.logo[data-g="h"] { background: radial-gradient(circle at 35% 30%, #CFE8F6, #3F8FD8 72%); }   /* v311: Tag (Himmel); nachts html.rn-nacht – rnLogoUi */
html.rn-nacht .logo[data-g="h"] { background: radial-gradient(circle at 35% 30%, #2A3B80, #0B1030 72%); }
.logo[data-g="h"]::before { content: ""; position: absolute; inset: 8%; background: url(img/spiele/rennen-icon-7.svg) center / contain no-repeat; }
.rn-board { display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.rn-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; row-gap: 6px; }
.rn-head h2 { margin: 0; }
.rn-main { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 8px; }
.rn-frame { position: relative; flex: 1 1 auto; min-width: 0; min-height: 150px; padding: 5px; border-radius: 18px; box-shadow: 0 10px 24px rgba(0, 0, 0, .45);
  background: linear-gradient(160deg, var(--gold-hi), var(--gold-lo) 45%, var(--gold) 70%, var(--gold-lo)); }
.rn-cv { position: absolute; left: 5px; top: 5px; width: calc(100% - 10px); height: calc(100% - 10px); display: block; border-radius: 14px; background: #0F3A26; touch-action: pan-y; }   /* v302: waagerecht wischen = umgucken (Sattel) */
.rn-panel { display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.rn-horses { display: flex; flex-direction: column; gap: 5px; }
.rn-h { display: grid; grid-template-columns: 26px minmax(0, 1fr) 70px 70px; gap: 7px; align-items: center; }
.rn-no { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font: 700 .9rem var(--f-num); border: 1px solid rgba(0, 0, 0, .3); }
.rn-nm { min-width: 0; font: 700 .92rem var(--f-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.15; }
.rn-nm small { display: block; min-height: .8rem; font-size: .7rem; color: var(--ink-3); font-weight: 700; }
.rn-od { position: relative; height: 36px; padding: 0; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .28); color: var(--gold-hi); display: flex;
  flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; cursor: pointer; font: inherit; }
.rn-od small { font: 700 .56rem var(--f-deco); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.rn-od b { font: 700 .96rem var(--f-num); }
/* v298 (Bild des Besitzers: das Schild deckte „SIEG/PLATZ“ halb zu): der Einsatz steht an der Stelle der Beschriftung */
.rn-od.on small { visibility: hidden; }
html.phone .rn-od i { top: 1px; padding: 0 4px; font-size: .54rem; line-height: 1.12; border-width: 1px; }   /* v299: am Handy (Knöpfe 32 px) kleiner – berührte die Quote */
@media (min-height: 700px) { html.phone #rnCard .rn-od { height: 36px; } }   /* v299 (Bilder des Besitzers vom iPhone: „5,00 €“ über „1,75“): wo Platz ist, Knöpfe 36 px – Schild und Quote übereinander */
.rn-od i { position: absolute; top: 2px; left: 50%; right: auto; transform: translateX(-50%); white-space: nowrap; padding: 0 5px; border-radius: 11px; font: 700 .64rem/1.35 var(--f-num); font-style: normal; color: #FFFFFF; background: #7446B4;
  border: 2px dashed rgba(255, 255, 255, .85); }
.rn-od i:empty { display: none; }
.rn-od.on { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.rn-od.win { border-color: var(--ok); box-shadow: inset 0 0 0 1px var(--ok); }
.rn-od.win b { color: var(--ok); }
.rn-od.lost { opacity: .45; }
.rn-od[disabled] { cursor: default; }
.rn-rail { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.rn-rail .chip-bar { justify-content: center; }
.rn-rail .chip[disabled] { opacity: .35; }
.rn-go[data-k="run"] { background: rgba(255, 255, 255, .03); border-color: var(--line-2); color: var(--ink); box-shadow: none; opacity: 1; filter: none; }
.rn-go[data-k="run"] small { color: var(--gold-hi); }
.rn-note { margin: 0; text-align: center; font-size: .8rem; font-weight: 700; color: var(--ink-2); }
html.phone .rn-go { min-height: 50px; font-size: 1rem; }
/* Handy: im Rennen die Bühne groß, ohne Chips (die Liste zeigt die Plätze) */
html.phone #rnCard.rn-run .rn-rail { display: none; }
/* v293 (Bild des Besitzers vom iPhone 16 Pro als Home-Bildschirm-App: „Ui verbugt“ – „Wetten“ und der Hinweis lagen unter dem Rand der Karte, die Chips auf dem Rand, über
   der Bühne eine leere Zeile): die Bühne nimmt nur den Platz, der neben Liste, Chips und Knopf frei bleibt (110–260 px, im Rennen bis 340 px). Bis v292 fest
   clamp(150px, 27vh, 230px) bzw. clamp(210px, 40vh, 340px) – vh zählt die Ränder der App (Statusleiste, Home-Leiste) mit, im Browser-Test ohne Ränder passte es noch.
   Letzte Sieger in der Kopfzeile (ohne Sieger keine leere Zeile), Pferde etwas enger, kein Hinweis unter dem Knopf (die Regeln stehen unter „Regeln“, die eigenen
   Wetten an den Quoten). Prüfen: tests/rennen/groessen.js [webkit] – stellt die Ränder der App nach */
html.phone #rnCard .rn-frame { flex: 1 1 0; height: auto; min-height: 110px; max-height: 260px; }
html.phone #rnCard.rn-run .rn-frame { max-height: 340px; }
html.phone #rnCard .rn-panel { flex: none; }
html.phone #rnCard .rn-horses { gap: 4px; }
html.phone #rnCard .rn-od { height: 32px; }
html.phone #rnCard .rn-note { display: none; }
/* iPad und Computer: Bühne über die Karte, darunter die Pferde mit den Quoten und die Chips; rechts unten Werkzeuge und Knopf (rnPlace) */
html:not(.phone) #rnCard .rn-panel { display: none; }
html:not(.phone) #rnCard > .rn-rail { flex: none; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px 16px; }
html:not(.phone) #rnCard > .rn-rail .chip-bar { justify-content: flex-start; }
/* v296 (Bilder des Besitzers vom iPad als App, 1180×820: der Wettschein schob sich über „Mitwetter“, unten lief Text aus der Karte): rechte Spalte – „Mitwetter“
   behält mindestens 110 px, der Wettschein nimmt den Rest und rollt notfalls in sich.
   v297 (Bilder des Besitzers: „Das sieht alles ein bisschen noch zu gequetscht aus“ – die Quoten-Knöpfe nur 29 px, „SIEG/PLATZ“ am Rand): die Pferde mit den Quoten stehen
   unter der Bühne (quer zwei Spalten à drei Pferde, hochkant eine), wieder mit großen Knöpfen; rechts nur Werkzeuge, Knopf, Hinweis und „Mitwetter“ mit viel Platz */
html:not(.phone) .grid.seated:has(#rnSlip:not([hidden])) { grid-template-rows: auto minmax(110px, 1fr) minmax(0, auto); }
html:not(.phone) .rn-slip { overflow-y: auto; overscroll-behavior: contain; }
html:not(.phone) #rnCard .rn-horses { flex: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px 18px; }
@media (min-width: 1000px) {
  html:not(.phone) #rnCard .rn-horses { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); grid-auto-flow: column; }
}
html:not(.phone) #rnCard .rn-h { grid-template-columns: 30px minmax(0, 1fr) 80px 80px; gap: 8px; }
html:not(.phone) #rnCard .rn-no { width: 30px; height: 30px; font-size: .95rem; }
html:not(.phone) #rnCard .rn-od { height: 42px; }
html:not(.phone) #rnCard .rn-od small { font-size: .6rem; }
html:not(.phone) #rnCard .rn-od b { font-size: 1.04rem; }
.rn-slip .ra-go { min-height: 56px; font-size: 1.2rem; }
.rn-slip .ra-tools .btn { min-height: 44px; }
.rn-slip .ra-msg { white-space: normal; font-size: .82rem; }
.rn-slip .rn-note { font-size: .78rem; line-height: 1.35; }
/* v294: Umschalter „Im Sattel“ / „Übersicht“ unten rechts auf der Bühne (nur mit eigenem Wettschein im gezeigten Rennen; „Du reitest …“ steht unten links) */
.rn-sicht { position: absolute; right: 14px; bottom: 14px; z-index: 2; min-height: 30px; padding: 4px 13px; border-radius: 999px; border: 1px solid rgba(246, 223, 156, .6);
  background: rgba(8, 14, 12, .72); color: var(--gold-hi); font: 700 .78rem var(--f-body); cursor: pointer; }
html.phone .rn-sicht { right: 10px; bottom: 10px; min-height: 26px; padding: 3px 10px; font-size: .72rem; }
/* v300: im Sattel das Pferd wechseln (Wunsch des Besitzers: „Mach möglich dass man während des Ritts auf unterschiedliche Pferde wechseln kann“) – unten links auf der Bühne,
   Pfeile nach Startnummer; das gerittene Pferd in der Liste mit goldenem Ring (antippen wechselt auch) */
.rn-ride { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: flex; align-items: center; gap: 7px; max-width: calc(100% - 150px); padding: 3px; border-radius: 999px;
  background: rgba(8, 14, 12, .72); }
.rn-ride-b { flex: none; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border-radius: 50%; border: 1px solid rgba(246, 223, 156, .6);
  background: rgba(246, 223, 156, .1); color: var(--gold-hi); cursor: pointer; }
.rn-ride-b svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.rn-ride-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.rn-ride-t small { font: 700 .54rem var(--f-deco); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-hi); }
#rnRideT { display: flex; align-items: center; gap: 5px; min-width: 0; font: 700 .8rem var(--f-body); color: #fff; white-space: nowrap; }
#rnRideT > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.rn-ride-no { flex: none; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 3px; font: 800 .62rem/1 var(--f-num); }
html.phone .rn-ride { left: 10px; bottom: 10px; gap: 6px; max-width: calc(100% - 120px); }
html.phone .rn-ride-b { width: 28px; height: 28px; }
html.phone .rn-ride-b svg { width: 13px; height: 13px; }
html.phone #rnRideT { font-size: .74rem; }
.rn-h.ride .rn-no { box-shadow: 0 0 0 2px var(--gold-hi); }
.rn-h.ride .rn-nm { color: var(--gold-hi); }

/* ===== v331 (Bild des Besitzers vom iPhone, 9.11.2026: „Achte darauf dass man nicht scrollen kann und muss“): Admin → Guthaben passt immer auf den Bildschirm. Der Ziffernblock gibt Platz ab, sonst steht alles fest;
   Hinweis zum Gerät und Meldungen teilen sich am Handy eine Stelle mit fester Höhe (start.js), damit nichts springt. Nur mit dem seltenen Hinweis zur falschen Uhr oder einer Ansage (eine Zeile mehr oben) darf es schieben, wenn es dann auf einem kleinen Handy wirklich nicht passt. Test: tests/ui/admin-guthaben.js ===== */
html:not(:has(#annList:not([hidden]))) .grid:not(.seated) > .area-main:has(#adminCard:not([hidden]) > #adminGrid:not([hidden])):not(:has(#adminClock:not([hidden]))) { overflow-y: hidden; }
html.phone .admin { padding-block: 10px; gap: 8px; }
html.phone .admin-head { row-gap: 6px; }
html.phone .admin-head #adminBackBtn { min-height: 36px; padding-block: 2px; }
html.phone .admin:has(> #adminGrid:not([hidden])) { flex: 1 1 auto; min-height: 0; }
html.phone .admin-grid { flex: 1 1 auto; min-height: 0; grid-template-rows: auto minmax(0, 1fr); align-items: stretch; gap: 6px; }
html.phone .grant-left { gap: 6px; }
html.phone .grant-left .ak-pick select { min-height: 40px; padding-block: 4px; }
html.phone .admin-whorow { min-height: 66px; align-content: flex-start; gap: 6px 8px; }
html.phone .admin-whorow .btn { min-height: 36px; padding-block: 2px; }
html.phone .admin-devrow { display: block; height: 36px; overflow: hidden; }
html.phone .admin-devrow > p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; font-size: .85rem; line-height: 18px; }
html.phone .admin-devrow > .info { color: var(--gold-hi); }
html.phone .admin-set { min-height: 0; gap: 6px; }
html.phone .admin-set > * { flex: none; }
html.phone .admin-set > .keypad { flex: 1 1 0; min-height: calc(4 * 30px + 3 * 6px); gap: 6px; grid-template-rows: repeat(4, minmax(0, 1fr)); }
html.phone .admin .keypad .key { min-height: 0; }
html.phone #grantAmount { min-height: 0; height: 44px; padding-block: 0; }
html.phone .admin .grant-presets .btn { min-height: 38px; padding-block: 2px; }

/* ---------- Plinko (Seite v335, PLINKO.md §2, Entwurf B „Nachthimmel“; Testphase nur für die Casino-Leitung und das Testkonto) ---------- */
.logo[data-g="o"] { background: radial-gradient(circle at 35% 30%, #2A3B80, #0B1030 72%); }
.logo[data-g="o"]::before { content: ""; position: absolute; inset: 10%; background: url(img/spiele/plinko-icon-1.svg) center / contain no-repeat; }
.pl-board { display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.pl-frame { position: relative; flex: 1 1 auto; min-width: 0; min-height: 200px; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, #060A1E 0, #101A44 62%, #2A1B56 100%); border: 1.5px solid rgba(143, 190, 255, .45);
  box-shadow: inset 0 0 46px rgba(0, 0, 0, .5), 0 10px 26px rgba(0, 0, 0, .55); }
.pl-cv { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; touch-action: manipulation; }
.pl-seg button { flex: 1 1 0; min-width: 0; }
html:not(.phone) #plCard .ra-panel { display: none; }
html:not(.phone) #plCard > .ra-rail { flex: none; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px 16px; }
html:not(.phone) #plCard > .ra-rail .chip-bar { justify-content: flex-start; }
#plSlip .ra-go { font-size: 1.02rem; letter-spacing: .06em; }
#plGo { white-space: nowrap; }                                        /* v411: eine Zeile – passt sie nicht (iPad 310 px mit 10,00 €), rückt plFitGo zusammen (ra-tight) */
/* v336 (Wünsche des Besitzers vom 9.11.2026): Sternentopf oben links (keine große Anzeige in der Mitte), Meldung als rote Kapsel unten auf dem Brett, Rahmen leuchtet bzw. bebt bei großen Treffern,
   Kugelregen (Knopf gedrückt halten – kein Markieren, kein Menü), zu wenig Guthaben: Einsatz rot, Knopf ausgegraut mit „Zu wenig Guthaben“ */
.pl-pot { position: absolute; left: 8px; top: 8px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 5px 9px 6px 8px; border-radius: 11px; pointer-events: none;
  background: linear-gradient(180deg, rgba(44, 32, 96, .94), rgba(18, 13, 50, .94)); border: 1px solid rgba(255, 209, 102, .6); box-shadow: 0 0 18px rgba(255, 209, 102, .28), 0 6px 14px rgba(0, 0, 0, .45);
  transition: box-shadow .25s ease, border-color .25s ease; }
.pl-pot[hidden] { display: none; }
.pl-pot small { display: inline-flex; align-items: center; gap: 4px; font: 700 .5rem var(--f-deco); letter-spacing: .09em; text-transform: uppercase; color: #FFE7A8; white-space: nowrap; }
.pl-pot small svg { width: 10px; height: 10px; fill: #FFD166; }
.pl-pot b { font: 700 1.12rem var(--f-num); color: #FFD166; text-shadow: 0 0 10px rgba(255, 209, 102, .55); padding-left: 1px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pl-pot.hot { border-color: rgba(255, 224, 150, .95); box-shadow: 0 0 0 2px rgba(255, 209, 102, .5), 0 0 30px rgba(255, 209, 102, .75), 0 6px 14px rgba(0, 0, 0, .45); }
html.phone .pl-pot { left: 6px; top: 6px; padding: 4px 8px 5px 7px; }
html.phone .pl-pot b { font-size: 1rem; }
.pl-msg { position: absolute; left: 50%; bottom: 52px; z-index: 3; transform: translateX(-50%); max-width: calc(100% - 24px); width: max-content; margin: 0; padding: 6px 14px; border-radius: 999px; text-align: center;
  background: rgba(46, 10, 18, .94); border: 1px solid rgba(255, 107, 107, .6); color: #FFE1E1; font-size: .86rem; line-height: 1.25; box-shadow: 0 6px 18px rgba(0, 0, 0, .5); pointer-events: none; }
.pl-msg[hidden] { display: none; }
.rn-frame .rn-msg { bottom: 56px; }                                   /* v403: Meldungen im Pferderennen als Kapsel auf der Bühne wie bei Plinko – über „Du reitest“ und „Übersicht“ */
.rn-od.full:not(.on) { opacity: .45; }                                /* v403: hier passt der Chip nicht mehr hin (je Wette bis 5 €, zusammen bis 10 €) – ausgegraut statt Hinweis */
.pl-frame.pl-glut { box-shadow: inset 0 0 46px rgba(0, 0, 0, .5), 0 0 0 2px rgba(255, 170, 70, .75), 0 0 26px rgba(255, 150, 50, .6), 0 10px 26px rgba(0, 0, 0, .55); transition: box-shadow .2s ease; }
@media (prefers-reduced-motion: no-preference) {
  .pl-frame.pl-beben { animation: plBeben .45s cubic-bezier(.36, .07, .19, .97) both; }
  @keyframes plBeben { 10%, 90% { transform: translate(-1px, 0); } 20%, 80% { transform: translate(2px, 1px); } 30%, 50%, 70% { transform: translate(-3px, -1px); } 40%, 60% { transform: translate(3px, 1px); } }
}
#plGo { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; touch-action: none; }
#plGo.pl-regen { box-shadow: inset 0 3px 10px rgba(0, 0, 0, .3), 0 0 0 3px rgba(255, 209, 102, .45), 0 0 22px rgba(255, 209, 102, .5); }
/* v335: das Happy-Hour-Symbol oben öffnet eine kurze Erklärung (#hhDlg) */
.hh-pill { cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

/* v347 (Wünsche des Besitzers vom 11.11.2026: „Manchmal lädt der Reiter Aktivität ziemlich lange, kannst du eine Lade Animation hinzufügen bis wirklich alles fertig geladen ist“, „Am Besten überall
   bei allen Sachen im Casino eine Ladeanimation die etwas länger brauchen wie app start etc“; von drei Entwürfen: „Mach entwurf a allerdings ein wenig detaillierter und mit aktiver Bewegung“):
   Lade-Zeichen ist der Roulettekessel der Lobby (img/spiele/roulette-5.svg) mit dem Drehteil ohne Kugel (roulette-rotor-leer-5.svg) – das Drehteil dreht rechtsherum, die Kugel läuft
   schnell linksherum auf der Bahn und hüpft dabei leicht, dahinter glimmt ein goldener Schein. Kein Filter am Bild (WebKit malt Gefiltertes unscharf), nur transform und opacity.
   Klein (in Knöpfen): das Rad des Logos (.wheel) dreht sich. */
.ld { position: relative; display: inline-block; flex: none; width: 112px; height: 112px; }
.ld::before { content: ''; position: absolute; inset: -16%; border-radius: 50%; background: radial-gradient(circle, rgba(217, 180, 94, .34) 0%, rgba(217, 180, 94, .12) 42%, transparent 68%); animation: ldGlow 2.2s ease-in-out infinite; }
.ld > img { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-user-drag: none; user-select: none; }
.ld > .ld-r { animation: ldTurn 3.4s linear infinite; }
.ld > .ld-b { position: absolute; inset: 0; animation: ldTurn 1.1s linear infinite reverse; }
.ld > .ld-b::after { content: ''; position: absolute; left: 48%; top: 5.75%; width: 4%; height: 4%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFFFFF 0%, #E6E6E6 60%, #9A9A9A 100%); box-shadow: 0 1px 1.5px rgba(0, 0, 0, .55); animation: ldHop .28s ease-in-out infinite alternate; }
.ld.ld-l { width: 136px; height: 136px; }
.ld.ld-m { width: 84px; height: 84px; }
@keyframes ldTurn { to { transform: rotate(360deg); } }
@keyframes ldHop { from { transform: translateY(0); } to { transform: translateY(45%); } }
@keyframes ldGlow { 0%, 100% { opacity: .55; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.04); } }
.ld-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 46px 12px 40px; text-align: center; }
.ld-t { margin: 0; color: var(--ink-2); font-size: .95rem; }
.ld-u { margin: -10px 0 0; color: var(--ink-3); font-size: .8rem; }
@media (prefers-reduced-motion: reduce) {
  .ld > .ld-r { animation-duration: 14s; }
  .ld > .ld-b, .ld > .ld-b::after, .ld::before { animation: none; }
}
/* v347: Start der App – bis die Lobby (bzw. Anmeldung, Tisch, Spiel) wirklich steht (bootCheck in anzeige.js; höchstens BOOT_MAX_MS, dann wie bisher). Unter der Anleitung
   „Auf den Home-Bildschirm“ (.inst), über allem anderen; Klicks gehen durch (wie bisher – nichts wird gesperrt). Unten endet die Fläche in --ground (iOS malt den Streifen darunter) */
.boot-ld { position: fixed; inset: 0; z-index: 9000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 0 16px 6vh;
  background: radial-gradient(ellipse 90% 70% at 50% 40%, var(--ground-2) 0%, var(--ground) 72%); pointer-events: none; transition: opacity .35s ease, visibility 0s linear .35s; }
.boot-ld.weg { opacity: 0; visibility: hidden; }
.boot-n { margin: 0; font-family: var(--f-deco); font-weight: 700; font-size: 1.6rem; line-height: 1; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); text-shadow: 0 1px 0 rgba(0, 0, 0, .6); }
.boot-ld .ld-t { font-size: 1rem; }
html.phone .boot-ld .ld { width: 124px; height: 124px; }
/* v347: Admin → Aktivität und Übersicht, Meine Statistik, Spielplan: der Inhalt erst, wenn alles geladen ist – bis dahin das Lade-Zeichen */
.ak-main > .ld-box { flex: 1 1 auto; min-height: 260px; }

/* ===== Seite v352/v353: Spielfeld und Knöpfe aus der Werkstatt (die Werkstatt selbst seit v440 gelöscht) – heute Schnellzieher und Quizmaster ===== */
/* seit v431 keine Einblendung .wst-float mehr (Werkstatt, Schnellzieher): Ergebnisse im großen Knopf bzw. im Band */
/* Entwürfe ohne Zeichenfläche (js/ew-*.js): der Schnellzieher (bis v422 in der Werkstatt, seit v423 sein Spielfeld); die Schatzwand bis v428 (seit v429 eigenes Spiel, .wa-*) */
.ew-dom { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 10px; gap: 8px; }
html.phone .ew-dom { padding: 8px; gap: 6px; }
/* v420 Schnellzieher (SCHNELLZIEHER.md, js/ew-schnellzieher.js): Variante B – oben der Gegner, unten du, quer über die Mitte ein breites Band (Besitzer: „mache nirgendwo Kreise
   in die Mitte“, „B bauen“); das ganze Feld nimmt den Tipp an */
.ws-frame > .sz-st { position: absolute; inset: 5px; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; padding: 10px;
  background: radial-gradient(90% 70% at 50% 45%, rgba(31, 107, 82, .55), transparent 72%), linear-gradient(180deg, #0D2A20, #081812); touch-action: manipulation; cursor: pointer; }
html.phone .ws-frame > .sz-st { padding: 8px; gap: 6px; }
.sz-side { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 14px; background: rgba(4, 12, 9, .55); border: 1px solid var(--line); min-height: 54px; }
.sz-side.me { border-color: rgba(217, 180, 94, .38); }
.sz-av { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 800 17px/1 var(--f-num); color: #fff; background: var(--c, #2E6FC0);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .14), 0 2px 6px rgba(0, 0, 0, .4); }
.sz-side.empty .sz-av { background: transparent; box-shadow: none; border: 2px dashed rgba(246, 223, 156, .5); color: var(--gold-hi); }
.sz-name { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.sz-name b { font-weight: 700; font-size: .98rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sz-name small { font-size: .76rem; color: rgba(244, 239, 225, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sz-dots { flex: none; display: flex; gap: 5px; }
.sz-dots i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(217, 180, 94, .55); }
.sz-dots i.on { background: var(--gold); border-color: var(--gold-hi); box-shadow: 0 0 8px rgba(246, 223, 156, .65); }
.sz-t { flex: none; min-width: 64px; text-align: right; font: 700 .95rem/1 var(--f-num); color: rgba(244, 239, 225, .5); }
.sz-t.ok { color: var(--ok); }
.sz-t.bad { color: var(--bad); }
.sz-here { flex: none; display: flex; align-items: center; }
.sz-here .sz-av { width: 26px; height: 26px; font-size: 12px; margin-left: -7px; }
.sz-here .sz-av:first-child { margin-left: 0; }
.sz-mid { flex: 1 1 auto; min-height: 0; position: relative; display: flex; align-items: center; justify-content: center; }
.sz-sig { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 16px 12px;
  border-radius: 14px; background: rgba(4, 12, 9, .62); border: 1px solid var(--line); }
.sz-sig b { font-family: var(--f-deco); font-weight: 700; font-size: 2rem; line-height: 1.05; letter-spacing: .03em; color: var(--gold-hi); }
.sz-sig b.big { font-family: var(--f-num); font-size: 3rem; letter-spacing: 0; }
.sz-sig small { max-width: 290px; font-size: .84rem; line-height: 1.3; color: rgba(244, 239, 225, .74); }
.sz-sig small .sz-net { font-style: normal; font-family: var(--f-num); font-weight: 700; font-size: 1rem; }   /* v431: der Betrag im Band statt mitten im Bild */
.sz-sig small .sz-net[data-s="up"] { color: var(--ok); }
.sz-sig small .sz-net[data-s="down"] { color: var(--bad); }
.sz-bar { display: block; width: 180px; height: 6px; margin-top: 4px; border-radius: 3px; background: rgba(76, 213, 151, .16); overflow: hidden; }
.sz-bar[hidden] { display: none; }
.sz-bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--ok); }
.sz-mid.wait .sz-sig { background: linear-gradient(180deg, #45160F, #230906); border-color: rgba(255, 143, 132, .55); }
.sz-mid.wait .sz-sig b { color: #FFC2BA; }
.sz-mid.go .sz-sig { background: linear-gradient(180deg, #FFE99B, #F3BD3B 70%, #D99A18); border-color: #FFF4C9; box-shadow: 0 0 36px rgba(255, 206, 80, .55); }
.sz-mid.go .sz-sig b { color: #2A1600; font-size: 3.6rem; }
.sz-mid.go .sz-sig small { color: #3A2400; }
.sz-mid.hit .sz-sig { background: linear-gradient(180deg, #11402D, #072117); border-color: rgba(76, 213, 151, .6); }
.sz-mid.hit .sz-sig b { color: var(--ok); }
.sz-mid.miss .sz-sig { background: linear-gradient(180deg, #45160F, #230906); border-color: rgba(255, 143, 132, .6); }
.sz-mid.miss .sz-sig b { color: var(--bad); }
.sz-mid.end .sz-sig { border-color: rgba(246, 223, 156, .6); box-shadow: 0 0 26px rgba(246, 223, 156, .25); }
.sz-mid.none .sz-sig { border-style: dashed; }
/* v353: Spielfeld .ws-frame und Knöpfe .ws-acts, am iPad rechts unten .ws-slip (Schnellzieher und Quizmaster) */
.ws-frame { background: #050B10; overflow: hidden; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.ws-frame > canvas { position: absolute; inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); display: block; border-radius: 14px; touch-action: none; }
.ws-frame > .ew-dom { inset: 5px; border-radius: 14px; overflow: hidden; }
.ws-acts { display: flex; gap: 8px; }
.ws-acts .ws-go { flex: 1 1 0; min-width: 0; }
.ws-acts .ws-alt { flex: 0 1 auto; min-width: 0; width: auto; min-height: 54px; padding: 6px 14px; font-size: 1rem; white-space: nowrap; }
html.phone .ws-acts .ws-alt { min-height: 50px; font-size: .92rem; padding: 4px 10px; }
.ws-slip .ws-acts { flex-wrap: wrap; }
.ws-slip .ws-acts .ws-go { flex: 1 1 100%; min-height: 64px; font-size: 1.2rem; }
.ws-slip .ws-acts .ws-alt { flex: 1 1 100%; }

/* ===== Seite v379: Lobby als Spielrad (js/lobby-rad.js) – Wunsch des Besitzers vom 14.11.2026 („Bei der Lobby werden es immer mehr Spiele … nervig bis zum Ende
   durchzuwischen“; Entwurf „Spielrad modern“ angenommen). Die Kacheln als Glas-Karten auf einem Rad: vorn groß das gewählte Spiel mit feiner Goldlinie (.on), die
   anderen kleiner und dunkler (.gt-dim: eine Schicht, kein Filter), ganz hinten leicht unscharf (.far); Leuchtfarbe je Spiel (--gtc), das Licht dahinter in der Farbe
   des vorderen Spiels (.gt-amb, --ac), Boden mit Spur und Spiegelung. Lage und Größe jeder Karte setzt lgrDraw (translate/scale, nur 2D; Unterkante auf der
   Ellipse); eigene Ebenen (will-change) nur vom Aufsetzen des Fingers bis kurz nach dem Einrasten (.turning) – in Ruhe zeichnet WebKit die Karten wieder in voller
   Schärfe. Seit v380 ändern sich beim Drehen je Bild nur Lage und Deckkraft von .gt-dim (vorher auch --dim und z-index: WebKit zeichnete jedes Bild alle Karten neu,
   „Verbugt, es lässt sich nur richtig schlecht wischen“). Keine Filter auf den Bildern (SVG wird in WebKit sonst unscharf). Name, Untertitel, Zeile und Zusatzknopf
   stehen unter dem Rad (#lobbyInfo). ===== */
#lobbyGames.gt-rad { position: relative; display: block; flex: 1 1 0; min-height: 140px; isolation: isolate; touch-action: none; -webkit-user-select: none;
  user-select: none; -webkit-touch-callout: none; }   /* eigene Ebene: sonst lägen die Karten (z-index je Tiefe) über Fenstern wie den Regeln; 140 px: kleine Handys scrollen nicht;
  touch-action none (v380): der Browser übernimmt kein Wischen auf dem Rad (schräges Wischen dreht) – ist die Lobby zu hoch, schiebt js/lobby-rad.js sie selbst */
#lobbyGames.gt-rad > .gt-amb, #lobbyGames.gt-rad > .gt-floor, #lobbyGames.gt-rad > .gt-track { position: absolute; pointer-events: none; }
#lobbyGames.gt-rad > .gt-amb { inset: 0; background: radial-gradient(closest-side at 50% var(--ay, 55%), rgba(var(--ac, 217, 180, 94), .46),
  rgba(var(--ac, 217, 180, 94), .16) 55%, rgba(var(--ac, 217, 180, 94), 0) 100%); }
#lobbyGames.gt-rad > .gt-floor { border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .42), rgba(0, 0, 0, .18) 70%, rgba(0, 0, 0, 0)); }
#lobbyGames.gt-rad > .gt-track { border-radius: 50%; border: 1px solid rgba(255, 255, 255, .10); }
#lobbyGames.gt-rad > .gt-col { position: absolute; left: 0; top: 0; display: block; width: var(--rw, 150px); height: var(--rh, 208px);
  margin: calc(var(--rh, 208px) * -1) 0 0 calc(var(--rw, 150px) / -2); transform-origin: 50% 100%; gap: 0; }
#lobbyGames.gt-rad.turning > .gt-col { will-change: transform; }
/* v426 (Besitzer: „Die walzen laufen überall im gesamten Spiel etwas abgehakt“): liegt ein abgedunkelter Bogen über der Lobby (Bonus mit Tagesrad und Lotterie, Profil mit
   Auszeit, Regeln …), kostete das Spielrad darunter jedes Bild – vor allem Spiegelung und Unschärfe der Karten (WebKit, iPhone-Größe: Walzen 3 Bilder je Sekunde, in Ruhe 2).
   Handy: der Bogen deckt das Spielrad ganz ab – es wird nicht gezeichnet (33 bzw. 58). iPad und Computer: die Karten schauen neben dem Bogen heraus – sie bleiben, nur
   ohne Spiegelung, Unschärfe und Schatten (unter der Abdunklung nicht zu sehen; iPad-Größe 19–20 statt 2 bzw. 40 statt 1). Die Klasse kommt 0,25 s nach dem Öffnen
   (renderSheets in extras.js) und geht beim Schließen sofort. */
html.bogen-auf #lobbyGames.gt-rad > .gt-col > .game-tile { -webkit-box-reflect: none; box-shadow: none; filter: none; }
html.phone.bogen-auf #lobbyGames { visibility: hidden; }
#lobbyGames.gt-rad.turning .gt-dim, #lobbyGames.gt-rad.turning > .gt-amb2 { will-change: opacity; }   /* v381: Licht dahinter blendet über (.gt-amb2) */
#lobbyGames.gt-rad > .gt-col:has(> .game-tile[hidden]) { display: none; }
#lobbyGames.gt-rad > .gt-col > :not(.game-tile) { display: none !important; }   /* Zuschauen, Regeln … – als Abbild unter dem Rad (#lobbyInfoB) */
#lobbyGames.gt-rad .game-tile { position: absolute; inset: 0; display: block; min-height: 0; padding: 0; gap: 0; border-radius: calc(var(--rw, 150px) * .13);
  background: radial-gradient(120% 75% at 50% 34%, rgba(var(--gtc, 217, 180, 94), .42), rgba(var(--gtc, 217, 180, 94), 0) 66%),
    linear-gradient(170deg, #1D2A24 0%, #0C1310 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .11), inset 0 1px 0 rgba(255, 255, 255, .16), 0 16px 30px rgba(0, 0, 0, .55);
  -webkit-box-reflect: below 3px linear-gradient(to bottom, transparent 72%, rgba(255, 255, 255, .15)); -webkit-tap-highlight-color: transparent; }
#lobbyGames.gt-rad .game-tile::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, 0) 38%); }
#lobbyGames.gt-rad .gt-dim { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: #050907; opacity: 0; }   /* Abdunkeln nach der Tiefe (lgrPrep legt es an) */
/* v454: ausgegraute Karte (z. B. Quizmaster im Geistmodus) ohne Durchsicht – mit Deckkraft .55 schienen im Rad die Karten dahinter durch; eine dunkle Schicht, kein Filter */
#lobbyGames.gt-rad .game-tile:disabled { opacity: 1; cursor: default; }
#lobbyGames.gt-rad .game-tile:disabled::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: rgba(5, 9, 7, .55); }
#lobbyGames.gt-rad > .gt-col.far > .game-tile { filter: blur(1px); }
#lobbyGames.gt-rad > .gt-col.on > .game-tile { box-shadow: inset 0 0 0 1.5px rgba(255, 220, 140, .95), 0 0 0 1px rgba(255, 220, 140, .22),
  0 0 30px rgba(var(--gtc, 217, 180, 94), .55), 0 18px 36px rgba(0, 0, 0, .6); }
#lobbyGames.gt-rad .game-tile:active { transform: scale(.97); filter: none; }
#lobbyGames.gt-rad.drag .game-tile:active { transform: none; }   /* beim Wischen bleibt die Karte unter dem Finger, wie sie ist */
#lobbyGames.gt-rad .gt-art { --gtq: calc(var(--rw, 150px) * .56); position: absolute; left: 4%; top: 6%; width: 92%; height: 86%; display: grid; place-items: center; }   /* v381 (Besitzer: „Die Icons auf dem Handy sind mir auch bisschen zu klein“): 92 × 86 statt 78 × 74 % der Karte */
#lobbyGames.gt-rad .gt-art > img { grid-area: 1 / 1; display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain;
  pointer-events: none; -webkit-user-drag: none; user-select: none; }
/* v385 (Bild des Besitzers vom iPhone: „Die beiden Icons sind noch zu klein“, auf die Vorschau: „Die größeren Icons passen“): der Shop ist keine Bilddatei
   (Kartenfächer, Größe über --gtq) – jetzt so groß wie die übrigen Kachelbilder: gezeichnet 79 statt 54 % der Kartenbreite (Bilder 71–91 %) */
#lobbyGames.gt-rad .gt-art > .gt-bag { --gtq: calc(var(--rw, 150px) * .82); }
#lobbyGames.gt-rad .gt-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }   /* nur für Vorlese-Programme */
#lobbyGames.gt-rad .gt-sub, #lobbyGames.gt-rad .gt-count { display: none; }
/* Leuchtfarbe je Spiel (R, G, B) */
#pickRoulette { --gtc: 226, 70, 56; }
#pickBlackjack { --gtc: 46, 178, 104; }
#pickRakete { --gtc: 84, 124, 255; }
#pickPlinko { --gtc: 156, 100, 255; }
#pickRennen { --gtc: 240, 170, 64; }
#pickPoker { --gtc: 232, 58, 92; }
#pickAutomat { --gtc: 255, 146, 44; }
#pickQuiz { --gtc: 44, 180, 240; }
#pickSchnell { --gtc: 250, 214, 52; }                                  /* v423: Schnellzieher – gelb wie „ZIEH!“ */
#pickBuli { --gtc: 128, 210, 72; }
#pickShop { --gtc: 210, 156, 255; }
/* unter dem Rad: Name, Untertitel, Zeile und Zusatzknopf des vorderen Spiels */
.gt-info { flex: none; display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; text-align: center; }
.gt-info[hidden], .gt-info-s[hidden], .gt-info .gt-count[hidden], .gt-info-b[hidden] { display: none; }
.gt-info-n { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--f-deco); font-weight: 700; font-size: 1.42rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); text-shadow: 0 2px 4px rgba(0, 0, 0, .5); line-height: 1.15; }
html.phone .gt-info-n { font-size: 1.3rem; }
.gt-info-s { max-width: 100%; font-weight: 700; font-size: .95rem; line-height: 1.25; color: var(--ink-2); text-wrap: balance; }
.gt-info-r { display: flex; align-items: center; justify-content: center; gap: 10px; max-width: 100%; min-height: 36px; margin-top: 5px; }
.gt-info .gt-count { margin-top: 0; min-width: 0; }
.btn.gt-info-b { flex: none; width: auto; min-height: 36px; padding: 4px 16px; border-radius: 999px; font-size: .92rem; }
.gt-info-b > .ico { width: 1.1em; height: 1.1em; margin-right: .35em; vertical-align: -.2em; }
/* v381 (Besitzer: „auf dem iPad sieht es bisschen klein aus“ – auf seinem iPad bekam das Rad nur etwa 220 px Höhe): am Tablet Name und Untertitel links neben Zeile
   und Knopf (46 statt 91 px hoch), die Spiegelung kürzer (lobby-rad.js reserviert 14 statt 22 % der Kartenhöhe) – die Höhe bekommt das Rad. Der Happy-Hour-Balken
   behält seine eigene Zeile (v280, Entwurf B des Besitzers). */
html:not(.phone) .gt-info { display: grid; grid-template-columns: auto auto; grid-template-areas: "n r" "s r"; column-gap: 26px; row-gap: 2px; justify-content: center;
  align-items: center; text-align: left; }
html:not(.phone) .gt-info:not(:has(> .gt-info-r > :not([hidden]))) { column-gap: 0; }   /* ohne Zeile und Knopf (Shop): Name mittig */
html:not(.phone) .gt-info-n { grid-area: n; justify-self: start; }
html:not(.phone) .gt-info-s { grid-area: s; justify-self: start; }
html:not(.phone) .gt-info-r { grid-area: r; margin-top: 0; }
html:not(.phone) #lobbyGames.gt-rad .game-tile { -webkit-box-reflect: below 3px linear-gradient(to bottom, transparent 86%, rgba(255, 255, 255, .15)); }

/* ===== v405 (HOEHERTIEFER.md §3, Entwurf A „Tisch“ – Wünsche des Besitzers vom 16.11.2026: „Nimm Entwurf A. Behebe alle Fehler.“): Höher oder Tiefer – Bühne mit Karten wie
   an Blackjack und Poker (.pc, eigener Kartenskin über data-sk), Stapel oben rechts, Leiter oben links, groß der Multiplikator, Zeitbalken unten; zwei Wahlknöpfe mit Pfeil,
   Multiplikator und Chance (umbrechen nie heraus), Überspringen rund mit Zähler, großer Knopf. Neue Karten fliegen vom Stapel und drehen sich um (nur 2D). ===== */
/* v415 (Bild des Besitzers vom iPhone: „außerdem fehlt es oben links im Spiel“, Entwurf A): eigenes Zeichen oben links – Karte mit Pik und den Pfeilen auf grünem Filz
   (vorher fiel data-g="k" auf das Roulette-Rad von .wheel zurück); Bild aus werkzeuge/logos/logos.js wie bei Rakete, Pferderennen und Plinko */
.logo[data-g="k"] { background: radial-gradient(circle at 35% 30%, #2B8A68, #0A2A20 72%); }
.logo[data-g="k"]::before { content: ""; position: absolute; inset: 8%; background: url(img/spiele/hoehertiefer-icon-2.svg) center / contain no-repeat; }
/* v422 (Besitzer: „Bei Quizmaster fehlt oben links das logo“ – bis v421 fiel der Quizmaster auf den Jeton des Casinos zurück): eigenes Zeichen wie Rakete, Plinko und Höher
   oder Tiefer – Karte mit „?“ und Stoppuhr aus seinem Lobby-Bild (werkzeuge/logos/logos.js) auf Blau (seine Farbe im Spielrad, 44/180/240). */
.logo[data-g="q"] { background: radial-gradient(circle at 35% 30%, #1E7FB0, #072235 72%); }
.logo[data-g="q"]::before { content: ""; position: absolute; inset: 7%; background: url(img/spiele/quiz-icon-5.svg) center / contain no-repeat; }
/* v423: Schnellzieher für alle – eigenes Zeichen (werkzeuge/logos/logos.js, schnellzieher-icon) auf dunklem Grund; Bildschirm wie die Werkstatt, am iPad rechts unten (szSlip) */
.logo[data-g="d"] { background: radial-gradient(circle at 35% 30%, #3A3415, #0E0D06 72%); }
.logo[data-g="d"]::before { content: ""; position: absolute; inset: 6%; background: url(img/spiele/schnellzieher-icon-1.svg) center / contain no-repeat; }
html:not(.phone) #szCard .ra-panel { display: none; }
.ht-frame { background: #050B10; overflow: hidden; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.ht-stage { position: absolute; inset: 5px; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; padding: 10px;
  background: radial-gradient(90% 70% at 50% 45%, rgba(31, 107, 82, .55), transparent 72%), linear-gradient(180deg, #0D2A20, #081812); }
/* v405: oben links der Verlauf dieser Runde, oben rechts der Stapel (Besitzer: „Kartendeck oben rechts und aktueller verlauf links“) – Größen setzt renderHoeher (--lw, --dw) */
.ht-top { flex: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; min-height: calc(var(--dw, 46px) * 1.4 + 8px); }
.ht-lad { position: relative; flex: 1 1 auto; min-width: 0; height: calc(var(--lw, 38px) * 1.4 + 10px); }
.ht-li { position: absolute; top: 0; left: 0; transition: left .35s ease; }
.ht-li .pc { --cw: var(--lw, 38px); }
.ht-ar { position: absolute; right: -7px; bottom: -6px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #0b1a14; box-shadow: 0 0 0 1.5px currentColor; }
.ht-ar svg { width: 14px; height: 14px; fill: currentColor; }
.ht-ar.up { color: var(--ok); }
.ht-ar.dn { color: var(--bad); }
.ht-ar.eq, .ht-act .htc svg.eq { color: var(--gold-hi); }                /* v407: „Gleich“ an den Rändern */
.ht-mid { position: relative; flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; }
.ht-slot { display: flex; align-items: center; justify-content: center; }
.ht-deck { position: relative; flex: none; width: calc(var(--dw, 46px) + 8px); height: calc(var(--dw, 46px) * 1.4 + 8px); }
.ht-deck .pc { --cw: var(--dw, 46px); position: absolute; top: 0; right: 0; }
.ht-deck .pc:nth-child(1) { transform: translate(-6px, 6px); }
.ht-deck .pc:nth-child(2) { transform: translate(-3px, 3px); }
.ht-stage .pc.down::after { opacity: 1; animation: none; }
.ht-stage .pc.down > span { visibility: hidden; }
.ht-stage .pc.big { box-shadow: 0 12px 28px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(0, 0, 0, .14); }
.ht-stage .pc.big.ok { box-shadow: 0 0 0 3px var(--ok), 0 12px 28px rgba(0, 0, 0, .55); }
.ht-stage .pc.big.bad { box-shadow: 0 0 0 3px var(--bad), 0 12px 28px rgba(0, 0, 0, .55); }
.ht-stage .pc.mini { box-shadow: 0 2px 5px rgba(0, 0, 0, .45); }
.ht-stage .pc.ht-flip { animation: htDeal .8s cubic-bezier(.22, .7, .2, 1) both; will-change: transform; }
.ht-stage .pc.ht-flip::after { opacity: 1; animation: htBack .8s linear both; }
@keyframes htDeal { 0% { transform: translate(var(--fx, 130px), var(--fy, -120px)) scale(.35); } 50% { transform: scaleX(.03); } 100% { transform: none; } }   /* vom Stapel oben rechts (--fx, --fy aus renderHoeher) */
@keyframes htBack { 0%, 49% { opacity: 1; } 51%, 100% { opacity: 0; } }
.ht-x { min-height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; }
.ht-x b { font-family: var(--f-num); font-size: 2.3rem; line-height: 1; color: var(--gold-hi); }
.ht-x small { font-family: var(--f-num); font-size: .95rem; color: rgba(244, 239, 225, .85); }
.ht-x small[data-s="ok"] { color: var(--ok); }
.ht-x small[data-s="bad"] { color: var(--bad); }
.ht-time { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(0, 0, 0, .35); }
.ht-time i { display: block; width: 100%; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; will-change: transform; }   /* v407 */
.ht-time.low i { background: var(--bad); }
.ht-frame .ht-msg { bottom: 64px; }
.ht-act { display: flex; flex-direction: column; gap: 8px; }
.ht-r { display: flex; gap: 8px; }
.ht-r > button { min-width: 0; }
.ht-act .htc { flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 58px; padding: 5px 8px; white-space: normal; }
.ht-act .htc svg { flex: none; width: 22px; height: 22px; fill: currentColor; }
.ht-act .htc.up svg { color: var(--ok); }
.ht-act .htc.dn svg { color: var(--bad); }
.ht-act .htc span { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; line-height: 1.15; }
.ht-act .htc b { font-size: .88rem; font-weight: 700; white-space: nowrap; }
.ht-act .htc small { font-family: var(--f-num); font-size: .9rem; font-weight: 700; color: var(--gold-hi); white-space: nowrap; }
.ht-act .htc.sel { opacity: 1; border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold), 0 0 14px rgba(217, 180, 94, .35); }
.ht-act .ht-go { flex: 1 1 auto; min-height: 54px; }
.ht-act .btn { transition: transform .1s ease; }                     /* v407: ohne Übergang von Filter und Deckkraft beim Sperren (gemessen: das teuerste Neuzeichnen) */
#pickHoeher { --gtc: 46, 196, 150; }
html:not(.phone) #htCard .ra-panel { display: none; }
.ht-slip .ht-act .ht-r { flex-direction: column; }                         /* am iPad rechts unten: die Wahlknöpfe untereinander (die Spalte ist schmal) */
.ht-slip .ht-act .htc { flex: none; width: 100%; }                 /* am iPad wie Rakete und Plinko: Bedienung rechts unten (htSlip), die Bühne nimmt die ganze Karte */

/* ---------- Schatzwand (Seite v429, SCHATZWAND.md §3; Entwurf vom 19.11.2026 – Besitzer: „Verbessere design und alles von Schwatzwand passe an andere Spiele an“): eine Wand
   für alle im Aufbau von Plinko – Bühne in Bronze, oben das Band (Runde, Zustand, Zeit, Balken), 40 Felder (am Handy 5 × 8, sonst 8 × 5), darunter was in der Wand ist.
   Gewählte Felder mit Goldrand und „DU“, die anderen mit ihrem Zeichen; aufgedeckt je Wert eine Farbe, der Schatz (10×) in Gold. Umklappen nur 2D (scaleX). ---------- */
.logo[data-g="s"] { background: radial-gradient(circle at 35% 30%, #7A5A2E, #24160A 72%); }
.logo[data-g="s"]::before { content: ""; position: absolute; inset: 9%; background: url(img/spiele/schatzwand-icon-1.svg) center / contain no-repeat; }
#pickWand { --gtc: 232, 180, 76; }
.wa-frame { background: radial-gradient(130% 90% at 50% 0%, #3B2915 0%, #1F150B 58%, #140D07 100%); border-color: rgba(217, 180, 94, .42);
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.wa-stage { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; box-sizing: border-box; }
.wa-band { flex: none; position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 30px; padding: 0 12px; border-radius: 10px;
  background: rgba(10, 6, 3, .42); border: 1px solid rgba(217, 180, 94, .22); font: 700 .86rem var(--f-num); color: var(--ink-2); }
.wa-band b { font-weight: 700; color: rgba(244, 239, 225, .62); white-space: nowrap; }
.wa-band span { color: #F2D27E; letter-spacing: .02em; white-space: nowrap; }
.wa-band i { font-style: normal; text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.wa-band em { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #B8862F, #F2D27E); }
.wa-band em.low { background: linear-gradient(90deg, #C8432F, #F07A5A); }
.wa-grid { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-template-rows: repeat(5, minmax(0, 1fr)); gap: 6px; }
html.phone .wa-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: repeat(8, minmax(0, 1fr)); gap: 5px; }
.wa-t { position: relative; min-width: 0; min-height: 0; margin: 0; padding: 0; border-radius: 10px; border: 1px solid rgba(217, 180, 94, .30); display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #4C3721 0%, #2C1D0F 100%); box-shadow: inset 0 1px 0 rgba(255, 236, 190, .12), inset 0 -2px 0 rgba(0, 0, 0, .35), 0 2px 4px rgba(0, 0, 0, .35);
  font: 800 1.02rem var(--f-num); color: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.wa-t.fix { cursor: default; }
/* vergeben (seit v430 je Feld nur ein Spieler): dunkler, ohne Glanz, das Zeichen des Spielers bleibt hell – nicht antippbar */
.wa-t.taken { background: linear-gradient(160deg, #36271A 0%, #1F150B 100%); border-color: rgba(217, 180, 94, .14); box-shadow: inset 0 1px 0 rgba(255, 236, 190, .05), inset 0 -2px 0 rgba(0, 0, 0, .35); }
.wa-t.taken::before { opacity: .2; }
.wa-t:not(.fix):not(.open):active { background: linear-gradient(160deg, #5A4129 0%, #33220F 100%); }
.wa-t::before { content: ""; width: 26%; aspect-ratio: 1; max-width: 18px; transform: rotate(45deg); border-radius: 3px; background: linear-gradient(135deg, #F6DF9C, #A97B2C); opacity: .55; }
.wa-t .wa-v { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.wa-t .wa-v:empty { display: none; }
.wa-t.sel { border: 2px solid rgba(242, 210, 126, .8); box-shadow: 0 0 0 2px rgba(242, 210, 126, .14), inset 0 1px 0 rgba(255, 236, 190, .16); }
.wa-t.sel::before { opacity: .85; }
.wa-t.me { border: 2px solid #F2D27E; box-shadow: 0 0 0 3px rgba(242, 210, 126, .22), 0 0 18px rgba(242, 210, 126, .34), inset 0 1px 0 rgba(255, 236, 190, .2); }
.wa-t.me::before { opacity: 1; }
html.phone .wa-t.me:not(.open)::before { width: 20%; margin-bottom: 9px; }   /* am Handy etwas kleiner und höher – sonst überdeckt sie das „DU“ */
.wa-avs { position: absolute; inset: 0; pointer-events: none; }
.wa-avs i { position: absolute; top: -6px; right: -6px; z-index: 2; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font: 800 .66rem var(--f-num);
  font-style: normal; color: #FFFFFF; border: 2px solid #1F150B; }
.wa-avs i + i { right: 12px; }
.wa-avs i + i + i { right: 30px; }
.wa-avs i.more { background: #3A2A18; font-size: .56rem; }
.wa-avs b { position: absolute; bottom: 3px; left: 0; right: 0; text-align: center; font: 800 .58rem var(--f-num); letter-spacing: .08em; color: #F2D27E; }
.wa-t.open::before { display: none; }
.wa-t.open[data-v="0"] { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .07); color: rgba(244, 239, 225, .28); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .5); }
.wa-t.open[data-v="50"] { background: linear-gradient(160deg, #3D4D63, #26313F); border-color: rgba(150, 180, 220, .35); color: #C9D8EE; }
.wa-t.open[data-v="100"] { background: linear-gradient(160deg, #5C5444, #3A342A); border-color: rgba(240, 225, 190, .35); color: #F1E6CC; }
.wa-t.open[data-v="150"] { background: linear-gradient(160deg, #1E7A5E, #0F4A38); border-color: rgba(120, 230, 180, .45); color: #E5FFF4; }
.wa-t.open[data-v="200"] { background: linear-gradient(160deg, #C9781E, #8A4C0E); border-color: rgba(255, 200, 120, .5); color: #FFF4E2; }
.wa-t.open[data-v="300"], .wa-t.open[data-v="400"] { background: linear-gradient(160deg, #E0573F, #9C2C1C); border-color: rgba(255, 170, 150, .55); color: #FFF0EC; }
.wa-t.open[data-v="1000"] { background: linear-gradient(160deg, #FBE7A6, #C99A3E); border-color: #FFF3CF; color: #3A2408; box-shadow: 0 0 22px rgba(251, 231, 166, .55), inset 0 1px 0 #FFF8E0; }
/* seit v430 (Form 2, flacher): 1,2× in gedecktem Grün zwischen 1× und 1,5×, 5× rot wie 3× und 4×; das höchste Feld jeder Wand golden (wa-gold, nach den Werten – gewinnt; nie „top“: das ist die Kopfleiste) */
.wa-t.open[data-v="500"] { background: linear-gradient(160deg, #E0573F, #9C2C1C); border-color: rgba(255, 170, 150, .55); color: #FFF0EC; }
.wa-t.open[data-v="120"] { background: linear-gradient(160deg, #4E7352, #2F4A33); border-color: rgba(170, 225, 170, .4); color: #EAF7E7; }
.wa-t.open.wa-gold { background: linear-gradient(160deg, #FBE7A6, #C99A3E); border-color: #FFF3CF; color: #3A2408; box-shadow: 0 0 22px rgba(251, 231, 166, .55), inset 0 1px 0 #FFF8E0; }
.wa-t.open.me { border: 2px solid #F2D27E; box-shadow: 0 0 0 3px rgba(242, 210, 126, .32), 0 0 22px rgba(242, 210, 126, .45); }
.wa-t.flip { animation: waFlip .28s ease-out both; }
@keyframes waFlip { 0% { transform: scaleX(.05); } 100% { transform: scaleX(1); } }
/* seit v431 keine Einblendung über dem eigenen Feld (Besitzer: keine Einblendungen mitten im Bild) – das Ergebnis steht im großen Knopf */
@media (prefers-reduced-motion: reduce) { .wa-t.flip { animation: none; } }
.wa-legend { flex: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.wa-legend span { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 7px; border-radius: 7px; font: 800 .74rem var(--f-num); color: #FFFFFF; white-space: nowrap; }
.wa-legend span small { font-weight: 700; opacity: .75; }
html.phone .wa-legend { gap: 3px; }
html.phone .wa-legend span { gap: 3px; padding: 0 5px; font-size: .7rem; }   /* am Handy in einer Zeile */
.wa-legend span[data-v="1000"] { background: #D9A845; color: #3A2408; }
.wa-legend span[data-v="400"], .wa-legend span[data-v="300"] { background: #C8432F; }
.wa-legend span[data-v="200"] { background: #B0661A; }
.wa-legend span[data-v="150"] { background: #187055; }
.wa-legend span[data-v="100"] { background: #5C5444; }
.wa-legend span[data-v="50"] { background: #3D4D63; }
.wa-legend span[data-v="0"] { background: rgba(255, 255, 255, .08); color: rgba(244, 239, 225, .6); }
.wa-legend span[data-v="500"] { background: #C8432F; }
.wa-legend span[data-v="120"] { background: #4E7352; }
.wa-legend span.wa-gold { background: #D9A845; color: #3A2408; }
.wa-frame .wa-msg { bottom: 40px; }                                    /* Meldung als Kapsel über der Zeile „In der Wand“ (wie Plinko) */
html:not(.phone) #waCard .ra-panel { display: none; }
html:not(.phone) #waCard > .ra-rail { flex: none; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px 16px; }
html:not(.phone) #waCard > .ra-rail .chip-bar { justify-content: flex-start; }
#waSlip .ra-go { font-size: 1.02rem; letter-spacing: .06em; }
#waGo { white-space: nowrap; }                                        /* eine Zeile – passt sie nicht, rückt waFitGo zusammen (ra-tight) */

/* ---------- Heißer Ballon (Seite v432, BALLON.md §3; Konzept D vom 21.11.2026): ein Ballon für 2 bis 6 Spieler auf einer Zeichenfläche (Himmel, Ballon, Schnur zum Halter),
   darüber oben das Band und unten die Plätze im Bogen; das Ergebnis als Schild am Platz und im großen Knopf (keine Einblendung in der Mitte). Zeichen oben links: der Ballon. ---------- */
.logo[data-g="n"] { background: radial-gradient(circle at 35% 30%, #3A2468, #120C26 72%); }
.logo[data-g="n"]::before { content: ""; position: absolute; inset: 8%; background: url(img/spiele/heisser-ballon-icon-1.svg) center / contain no-repeat; }
#pickBallon { --gtc: 238, 90, 52; }
/* v433: der Himmel als Verlauf hinter der Zeichenfläche (vorher jedes Bild neu gemalt) – nachts, weiche Wolken, unten ein warmes Leuchten, wo die Plätze sitzen */
.hb-frame { background: radial-gradient(21% 5.5% at 24% 18%, rgba(255, 255, 255, .085), rgba(255, 255, 255, 0) 72%), radial-gradient(12% 4.5% at 34% 16%, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 72%),
  radial-gradient(17% 4.5% at 78% 31%, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 72%), radial-gradient(10% 3.5% at 70% 29.5%, rgba(255, 255, 255, .055), rgba(255, 255, 255, 0) 72%),
  radial-gradient(14% 3.5% at 38% 47%, rgba(255, 255, 255, .045), rgba(255, 255, 255, 0) 72%),
  radial-gradient(130% 55% at 50% 106%, rgba(255, 120, 72, .30), rgba(255, 96, 64, .09) 48%, rgba(255, 96, 64, 0) 72%),
  linear-gradient(180deg, #0A1230 0%, #1A1441 56%, #37193D 100%); border-color: rgba(255, 140, 90, .38); -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: manipulation; }
.hb-stage { position: absolute; inset: 0; overflow: hidden; }
/* v433: am iPad wie die Schatzwand – die rechte Spalte der Karte ist leer (Knöpfe rechts unten in hbSlip), die Chips laufen unter der Bühne; ohne diese Regeln war die Bühne nur halb so breit */
html:not(.phone) #hbCard .ra-panel { display: none; }
html:not(.phone) #hbCard > .ra-rail { flex: none; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px 16px; }
html:not(.phone) #hbCard > .ra-rail .chip-bar { justify-content: flex-start; }
.hb-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hb-band { position: absolute; left: 50%; top: 10px; z-index: 2; transform: translateX(-50%); max-width: calc(100% - 20px); box-sizing: border-box; padding: 5px 14px; border-radius: 999px;
  background: rgba(4, 12, 9, .62); border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: .8rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-band.gold { background: linear-gradient(180deg, #FFE99B, #F3BD3B 70%, #D99A18); color: #2A1600; border-color: #FFF4C9; box-shadow: 0 0 18px rgba(255, 206, 80, .45); }
.hb-band.bad { background: linear-gradient(180deg, #45160F, #230906); color: #FFC2BA; border-color: rgba(255, 143, 132, .55); }
.hb-band.ok { background: linear-gradient(180deg, #11402D, #072117); color: var(--ok); border-color: rgba(76, 213, 151, .6); }
.hb-seats { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hb-seat { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.hb-seat .sz-av { width: 40px; height: 40px; }
.hb-seat.small .sz-av { width: 34px; height: 34px; font-size: 15px; }
.hb-seat b { max-width: 100%; font-weight: 700; font-size: .8rem; line-height: 1.15; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-seat small { max-width: 100%; font-family: var(--f-num); font-weight: 600; font-size: .68rem; line-height: 1.1; color: rgba(244, 239, 225, .62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-seat small.gold { color: #FFD24A; }
.hb-seat small.ok { color: var(--ok); }
.hb-seat small.bad { color: var(--bad); }
.hb-seat.me .sz-av { box-shadow: 0 0 0 2px var(--gold-hi), 0 2px 6px rgba(0, 0, 0, .4); }
.hb-seat.hold .sz-av { box-shadow: 0 0 0 3px #FFD24A, 0 0 18px rgba(255, 210, 74, .75); }
.hb-seat.empty .sz-av { background: transparent; box-shadow: none; border: 2px dashed rgba(246, 223, 156, .55); color: var(--gold-hi); }
.hb-tag { padding: 1px 8px; border-radius: 999px; font-family: var(--f-num); font-weight: 800; font-size: .74rem; line-height: 1.45; white-space: nowrap; }
.hb-tag.up { background: var(--ok); color: var(--ok-ink); }
.hb-tag.down { background: var(--bad); color: #2A0907; }
.hb-tag.zero { background: rgba(247, 236, 204, .85); color: #1C1408; }
.hb-tag.none { visibility: hidden; }
.hb-act { display: flex; gap: 8px; }
.hb-act .ra-go { flex: 1 1 auto; min-width: 0; white-space: nowrap; }   /* v432: „Alle raus“ in einer Zeile – ist sie zu lang, verkleinert hbFitGo die Schrift */
.hb-alt { flex: 0 0 auto; max-width: 46%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-alt[hidden] { display: none; }
.hb-slip .hb-act { flex-direction: column; }
.hb-slip .hb-alt { max-width: none; }
/* v433 (Besitzer: „Es soll nur Pumpen auf dem Knopf stehen sonst nichts, und nimm irgendeine passendere Farbe“): „Pumpen“ in Roulette-Rot – die Farbe des Ballons am Anfang,
   neben dem goldenen „Alle raus“ die Farben des Casinos; nur für den, der den Ballon hat. Das Tippen auf den Ballon pumpt weiter mit. */
.hb-pump { flex: 0 0 auto; width: auto; padding-left: 16px; padding-right: 16px; white-space: nowrap; color: #FFF6F0; border-color: rgba(255, 186, 168, .5);
  background: linear-gradient(180deg, #DE4B3E 0%, #C2332A 55%, #96221B 100%); box-shadow: 0 6px 16px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .26), inset 0 -2px 0 rgba(0, 0, 0, .2); }
.hb-pump:active { filter: brightness(1.12); }
.hb-pump[hidden] { display: none; }
.hb-slip .hb-pump { width: 100%; }
/* am Handy drei Knöpfe in einer Reihe: „Alle raus“ etwas breiter als „Weiter“; passt eine Zeile nicht, rückt der Wert bzw. der Name darunter (hbFitGo, hb-two) */
#hbCard .hb-act.hb-three .ra-go { flex: 1.25 1 0; }
#hbCard .hb-act.hb-three .hb-alt { flex: 1 1 0; max-width: none; }
#hbCard .hb-act.hb-three .btn { padding-left: 10px; padding-right: 10px; }
.hb-act .hb-two { flex-direction: column; gap: 0; line-height: 1.12; }
.hb-act .hb-two small { display: block; }
.hb-alt small { font: inherit; letter-spacing: inherit; }

/* ---------- Seite v439: Turmbau und Zielwurf (GESCHICK.md; js/geschick-anzeige.js, js/turmbau-anzeige.js, js/zielwurf-anzeige.js) – Aufbau wie der Heiße Ballon. Himmel bzw.
   Hintergrund als Verlauf hinter der Zeichenfläche (kostet je Bild nichts); unten die Plätze, beim Turm in der laufenden Runde rechts die Bahnen der anderen. Zeichen oben links je Spiel. ---------- */
.logo[data-g="t"] { background: radial-gradient(circle at 35% 30%, #24406A, #0A1330 72%); }
.logo[data-g="t"]::before { content: ""; position: absolute; inset: 10%; background: url(img/spiele/turmbau-icon-1.svg) center / contain no-repeat; }
.logo[data-g="i"] { background: radial-gradient(circle at 35% 30%, #2A3C5C, #0A1020 72%); }
.logo[data-g="i"]::before { content: ""; position: absolute; inset: 8%; background: url(img/spiele/zielwurf-icon-1.svg) center / contain no-repeat; }
#pickTurmbau { --gtc: 63, 168, 143; }
#pickZielwurf { --gtc: 47, 127, 209; }
.gk-frame { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: manipulation; }
.tu-frame { background: radial-gradient(130% 55% at 50% 106%, rgba(243, 189, 59, .2), rgba(243, 189, 59, 0) 72%), linear-gradient(180deg, #0A1330 0%, #1B2E5A 62%, #2D4A78 100%);
  border-color: rgba(120, 200, 180, .38); }
.zi-frame { background: radial-gradient(75% 60% at 50% 42%, #22324D, #0A1020); border-color: rgba(120, 170, 230, .38); }
.gk-stage { position: absolute; inset: 0; overflow: hidden; }
.gk-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
html:not(.phone) #tuCard .ra-panel, html:not(.phone) #ziCard .ra-panel { display: none; }
html:not(.phone) #tuCard > .ra-rail, html:not(.phone) #ziCard > .ra-rail { flex: none; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px 16px; }
html:not(.phone) #tuCard > .ra-rail .chip-bar, html:not(.phone) #ziCard > .ra-rail .chip-bar { justify-content: flex-start; }
.gk-act { display: flex; gap: 8px; }
.gk-act .ra-go { flex: 1 1 auto; min-width: 0; white-space: nowrap; }
.gk-slip .gk-act { flex-direction: column; }
/* Bahnen der anderen beim Turm: Zeichen, Name (wenn Platz ist) und „baut“ / „raus“, am Ende das Ergebnis */
.gk-lane { position: absolute; bottom: 6px; z-index: 2; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; pointer-events: none; }
.gk-lane .sz-av { width: 26px; height: 26px; font-size: 12px; }
.gk-lane.narrow .sz-av { width: 22px; height: 22px; font-size: 11px; }
.gk-lane b { max-width: 100%; font-weight: 700; font-size: .68rem; line-height: 1.1; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gk-lane small { max-width: 100%; font-family: var(--f-num); font-weight: 700; font-size: .66rem; line-height: 1.1; color: rgba(244, 239, 225, .62); white-space: nowrap; overflow: hidden; }
.gk-lane small.bad { color: var(--bad); }
.gk-lane small.ok { color: var(--ok); }
.gk-lane .hb-tag { font-size: .62rem; padding: 0 5px; }
/* v443: schmale Bahnen (5 und 6 Spieler am Handy) – stoßen die Beschriftungen aneinander, nur die Zeichen; wer raus ist, blass; am Ende nur der Betrag des Siegers (tuSeatFit) */
.gk-seats.tight .gk-lane small, .gk-seats.tight .gk-lane .hb-tag { display: none; }
.gk-seats.tight .gk-lane.win .hb-tag { display: inline-block; }
.gk-seats.tight .gk-lane { bottom: 12px; }
.gk-seats.tight .gk-lane.out .sz-av { opacity: .45; }
.hb-seat.win .sz-av { box-shadow: 0 0 0 3px var(--ok), 0 0 16px rgba(76, 213, 151, .6); }
/* Wind beim Zielwurf oben links: Pfeil in Windrichtung, Stärke */
.zi-wind { position: absolute; left: 10px; top: 46px; z-index: 2; display: flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: rgba(4, 12, 9, .62);
  border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: .78rem; line-height: 1.2; pointer-events: none; }
.zi-wind[hidden] { display: none; }
.zi-wind svg { width: 16px; height: 16px; }
.zi-wind b { font-family: var(--f-num); font-weight: 800; }

/* royal-round (ANMELDUNG.md §6): Anmelden per E-Mail-Link – Karte #rrCard (js/anmelden.js) */
.rr-card .rr-st[hidden] { display: none !important; }
.rr-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.rr-card .rr-text { margin: 2px 0 12px; color: var(--ink); line-height: 1.45; text-align: center; }
.rr-card .rr-text b { color: var(--gold); font-weight: 700; }
.rr-card .rr-st > .btn.primary.big, .rr-card .rr-st > form > .btn.primary.big { margin-top: 14px; }   /* r5: „Willkommen zurück“ mit eigenem Formular in der Karte */
.rr-card .rr-st > .err, .rr-card .rr-st > form > .err { margin-top: 14px; }   /* r3 (Besitzer: „Die rote Meldung ist irgendwie zu nah dran“): Abstand zum Feld wie zum Knopf darunter */
.rr-card .rt-pick.rr-geb { --rt-n: 3; margin: 2px auto 0; max-width: none; }
.rr-card .rt-col.rr-tag { width: 56px; }
.rr-card .rt-col.rr-mon { width: 132px; }
.rr-card .rt-col.rr-mon .rt-it { font: 600 1.15rem/1 var(--f-body); }
.rr-card .rt-col.rr-jahr { width: 80px; }
.rr-card .rr-geb-l { display: block; margin-bottom: 4px; }
.rr-card .rr-small { display: block; margin: 12px auto 0; }
.rr-ok { display: block; width: 54px; height: 54px; margin: 4px auto 10px; }
.rr-ok circle { fill: none; stroke: var(--ok); stroke-width: 2.5; }
.rr-ok path { fill: none; stroke: var(--ok); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pf-nr { display: block; margin: 2px 0 6px; font: 700 .82rem/1.2 var(--f-num); letter-spacing: .03em; color: rgba(244, 239, 225, .62); }
.rr-land .rr-btns { margin-top: 14px; }
.rr-btns a.btn { display: flex; align-items: center; justify-content: center; text-decoration: none; }
/* ===== royal-round r24 (SPRACHE.md): Sprache im Profil und Schriftgröße des Geräts ===== */
/* Profil → Sprache: Auswahl des Systems über die ganze Breite (höchstens 320 px, 16 px – sonst zoomt iOS beim Antippen) */
.pf-lang { justify-content: center; }
.pf-lang select { flex: 1 1 auto; max-width: 320px; font-size: 16px; text-align: center; }
/* Texte folgen der Textgröße des Geräts (--tf aus js/sprache.js, 0,9 bis 1,2): zoom in den Blättern und Fenstern – Breite bleibt, Inhalt wächst und scrollt; Spielfelder,
   Lobby-Rad, die Leisten oben und unten und Fenster mit Walzen bleiben gleich (bei 135 % schnitt die untere Leiste ab, der Roulettetisch überlappte – Entwurf r24) */
:root { --tf: 1; }
.pf-body, .help-page, .rk-list, .bn-page, .ms-body, .shop-grid, .chat-list, .sup-card:not(:has(.rt-pick)) { zoom: var(--tf); }
/* royal-round r26: Postfach für die Anmelde-Mail (js/postfach.js) – Passwort verdeckt ohne Passwortfeld (sonst bietet iOS gespeicherte bzw. neue Passwörter an), Fehler rot */
.pm-geheim { -webkit-text-security: disc; }
#pmNote.bad { color: var(--bad); font-weight: 700; }
.pm-hilfe { font-size: .8rem; }
.nk-pm .pf-swt small { overflow-wrap: anywhere; }
/* r31 (Entwurf A, „Mach A“): eigenes Postfach in zwei Schritten – Adresse fest, „Zoho öffnen“, App-Passwort einfügen; „Anderes Postfach verwenden“ als Textlink */
#pmDlg .pm-teil { display: flex; flex-direction: column; gap: 8px; }
#pmDlg .pm-teil[hidden] { display: none; }
.pm-adr { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .22); color: var(--ink); font-weight: 700;
  text-align: center; overflow-wrap: anywhere; }
.pm-schritt { display: flex; align-items: center; gap: 10px; margin-top: 4px; color: var(--ink-2); font-weight: 700; font-size: .95rem; text-align: left; }
.pm-nr { flex: 0 0 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .85rem;
  background: var(--gold); color: var(--gold-ink); }
#pmDlg .pm-hilfe { margin-top: -2px; }
#pmDlg a.btn { text-decoration: none; }                                /* r32: „Zoho öffnen“ ohne Unterstrich wie im Entwurf */
.pm-link { -webkit-appearance: none; appearance: none; background: none; border: 0; padding: 6px 0 2px; margin: 0 auto; font: inherit; font-size: .85rem;
  color: var(--ink-3); text-decoration: underline; cursor: pointer; }
.pm-link[hidden] { display: none; }
