/* SmartOne Casino: Raum, Kamera, Tisch-Ebene, Figuren, Chip-Stapel, Blackjack-Tisch */

/* ---------- Raum und Kamera ---------- */
.room { background: #0b0707; }
.room::before { display: none; }
.scene { position: absolute; inset: 0; overflow: hidden; background: #0a0605; cursor: grab; touch-action: none; -webkit-user-select: none; user-select: none; }
.scene.dragging { cursor: grabbing; }
.scene > div, .scene > canvas { position: absolute; }
.sc-gl { left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; display: block; }
.sc-gl.lay-env { z-index: 1; }
.sc-gl.lay-act { z-index: 5; }
.scene > .plane { z-index: 3; }
.sc-front { inset: 0; pointer-events: none; z-index: 6; }
.sc-front > * { pointer-events: auto; }
.table-art { position: absolute; left: 0; top: 0; }

.hud { position: absolute; inset: 0; z-index: 30; pointer-events: none; }
.hud > * { pointer-events: none; }
.hud .camctl, .hud .camctl * { pointer-events: auto; }
.hud .bubble { max-width: 300px; }
.hud .round-banner { top: 250px; }
.hud .limits { position: absolute; left: 18px; bottom: 80px; font-size: 12px; color: rgba(255, 255, 255, 0.5); }

.camctl { position: absolute; right: 14px; top: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.cc-modes, .cc-pan { display: flex; border: 1px solid #7a5a22; border-radius: 10px; overflow: hidden; background: rgba(12, 8, 4, 0.82); }
.camctl button { height: 32px; padding: 0 14px; background: none; border: none; color: #d9c58f; font-weight: 700; font-size: 13px; cursor: pointer; letter-spacing: 0.5px; }
.camctl button:hover { color: var(--gold-hi); background: rgba(255, 224, 138, 0.1); }
.camctl button.on { background: linear-gradient(#f0cb68, #b88a1e); color: #2a1c00; }
.cc-pan button { padding: 0 12px; font-size: 16px; }
.cc-tip { font-size: 11px; color: rgba(240, 225, 190, 0.6); text-shadow: 0 1px 3px #000; text-align: right; max-width: 190px; }
.camctl .cs { display: none; }
.camctl.is-top .cc-pan, .camctl.is-top .cc-tip { display: none; }

/* Tischwechsel: kurzes Abblenden */
#walk-fade { position: absolute; inset: 0; z-index: 900; display: grid; place-items: center; background: radial-gradient(ellipse at center, rgba(20, 12, 6, 0.92), rgba(0, 0, 0, 0.98)); opacity: 0; pointer-events: none; transition: opacity 0.38s ease; }
#walk-fade.on { opacity: 1; }
#walk-fade span { color: #f0d690; font: italic 600 22px Georgia, serif; letter-spacing: 1px; text-shadow: 0 2px 10px #000; }

/* Getränke: Knopf im Spiel und Bestell-Tablett */
.hud .drink-btn { position: absolute; right: 14px; top: 132px; pointer-events: auto; display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px 0 10px; border-radius: 18px; border: 1px solid #b08a2e; background: rgba(14, 9, 5, 0.85); color: #ffe08a; font-weight: 700; font-size: 13px; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); z-index: 36; }
.hud .drink-btn:hover { background: rgba(60, 40, 10, 0.9); }
.hud .drink-btn.wait { opacity: 0.6; animation: drinkWait 1.4s ease-in-out infinite; }
.hud .drink-btn.sip { top: 176px; display: none; border-color: #e7c264; background: rgba(60, 38, 8, 0.9); }
.hud .drink-btn.sip.on { display: flex; }
.hud .drink-btn.smoke { top: 220px; display: none; border-color: #e7c264; background: rgba(60, 38, 8, 0.9); }
.hud .drink-btn.smoke.on { display: flex; }
@keyframes drinkWait { 50% { box-shadow: 0 0 16px rgba(255, 210, 120, 0.55); } }
.drink-tray { background: radial-gradient(ellipse at 50% 35%, #f3f4f6 0%, #c9ccd2 55%, #8f939b 100%); border-radius: 22px; padding: 14px; box-shadow: inset 0 0 0 4px #e9ebee, inset 0 0 0 6px #9da1a8, 0 8px 22px rgba(0, 0, 0, 0.5); }
.drink-note { margin: 0 0 12px; color: #2a2620; font-size: 13px; text-align: center; }
.drink-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.modal.drinks { width: 860px; }
.drink-cat { margin: 12px 2px 6px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: #6a5520; }
.drink-cat:first-child { margin-top: 0; }
/* an der Bar: dunkle Holztheke statt Silbertablett */
.drink-tray.counter { background: linear-gradient(180deg, #4a2c16 0%, #2e1a0c 60%, #23140a 100%); box-shadow: inset 0 2px 0 rgba(255, 210, 150, 0.18), inset 0 0 0 1px #6b4422, 0 8px 22px rgba(0, 0, 0, 0.5); }
.drink-tray.counter .drink-note { color: #e6d3a8; }
.drink-tray.counter .drink-cat { color: #e7c264; }
.drink-tray.counter .drink-note.ban { color: #ff9a8a; }
/* Reiter der Barkarte */
.drink-tabs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 0 0 12px; }
.drink-tabs button { height: 30px; padding: 0 13px; border-radius: 15px; border: 1px solid #6b4422; background: rgba(12, 8, 4, 0.55); color: #d9c58f; font: 700 12px/1 inherit; font-family: inherit; cursor: pointer; }
.drink-tabs button:hover { border-color: #e7c264; color: #ffe7a6; }
.drink-tabs button.on { border-color: #e7c264; background: linear-gradient(#f0cb68, #b88a1e); color: #2a1c00; }
.drink-sec[hidden] { display: none; }
.drink-sec + .drink-sec .drink-cat { margin-top: 12px; }
/* Standardkarte am Tisch: Hinweis auf die Bar */
.drink-barhint { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 10px 12px; border-radius: 12px; background: linear-gradient(#3a2414, #22140a); box-shadow: inset 0 0 0 1px #6b4422; }
.drink-barhint p { margin: 0; flex: 1; color: #e6d3a8; font-size: 12.5px; line-height: 1.4; }
.drink-gobar { flex: none; height: 36px; padding: 0 16px; border-radius: 18px; border: 1px solid #e7c264; background: linear-gradient(#f0cb68, #b88a1e); color: #2a1c00; font-weight: 700; font-size: 13px; font-family: inherit; cursor: pointer; white-space: nowrap; }
.drink-card.strong small { color: #ffb08a; }
.drink-card { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px 9px; border-radius: 14px; border: 1px solid rgba(80, 60, 20, 0.35); background: linear-gradient(#2a1d10, #120b05); color: #ffe7a6; cursor: pointer; font-family: inherit; }
.drink-card:hover { border-color: #e7c264; box-shadow: 0 0 0 2px rgba(231, 194, 100, 0.35); }
.drink-card b { font-size: 13px; }
.drink-card small { font-size: 10px; color: #b9ab86; letter-spacing: 0.5px; }
/* All-in: das ganze Guthaben setzen */
.btn.allin { border-color: #b8432e; color: #ffd2b8; background: linear-gradient(#3a140c, #200a06); }
.btn.allin:hover:not(:disabled) { border-color: #ff7a4a; color: #fff0e0; }
/* Ausschankverbot nach einer Ohnmacht: alkoholische Getränke gesperrt */
.drink-card.locked { opacity: 0.38; cursor: not-allowed; filter: grayscale(0.7); }
.drink-card.locked:hover { border-color: rgba(80, 60, 20, 0.35); box-shadow: none; }
.drink-note.ban { color: #8a1e1e; font-weight: 700; }
/* Bestellung (mehrere Getränke und Shisha auf einmal): Zähler auf der Karte, Leiste mit allem Gewählten unten */
.drink-card { position: relative; }
.drink-card.in { border-color: #e7c264; box-shadow: 0 0 0 2px rgba(231, 194, 100, 0.5); }
.drink-count { position: absolute; top: 5px; right: 6px; padding: 3px 6px; border-radius: 9px; background: linear-gradient(#f0cb68, #b88a1e); color: #2a1c00; font-size: 11.5px; font-weight: 800; line-height: 1; }
.drink-count:empty { display: none; }
.drink-cart { position: sticky; bottom: 0; z-index: 2; margin: 14px -14px -14px; padding: 10px 14px 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; background: linear-gradient(#2c1c0c, #150c04); border-top: 1px solid #8a6a22; border-radius: 0 0 22px 22px; box-shadow: 0 -8px 18px rgba(0, 0, 0, 0.45); }
.drink-cart-t { width: 100%; color: #e7c264; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; }
.drink-cart-list { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.drink-cart-empty { color: #b9ab86; font-size: 12.5px; line-height: 1.4; }
.drink-chip { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px; border-radius: 15px; border: 1px solid #8a6a22; background: rgba(12, 8, 4, 0.6); color: #ffe7a6; font-family: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.drink-chip i { font-style: normal; font-weight: 800; color: #ff9a8a; }
.drink-chip.sh { gap: 4px; padding: 0 4px 0 11px; cursor: default; }
.drink-chip.sh span { margin-right: 4px; }
.drink-dur, .drink-x { height: 24px; padding: 0 8px; border-radius: 12px; border: 1px solid #6b4422; background: transparent; color: #d9c58f; font-family: inherit; font-size: 11.5px; font-weight: 700; cursor: pointer; }
.drink-dur.on { border-color: #e7c264; background: linear-gradient(#f0cb68, #b88a1e); color: #2a1c00; }
.drink-x { color: #ff9a8a; }
.drink-send { flex: none; height: 40px; padding: 0 22px; border-radius: 20px; border: 1px solid #e7c264; background: linear-gradient(#f0cb68, #b88a1e); color: #2a1c00; font-family: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.drink-send:disabled { opacity: 0.4; cursor: default; }
/* Shisha: Rauchzeit wählen */
.shisha-time p { margin: 0 0 14px; line-height: 1.45; }
.shisha-time-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.shisha-time-btn { min-width: 150px; padding: 14px 18px; border-radius: 14px; border: 1px solid #b08a2e; background: linear-gradient(#2a1d10, #120b05); color: #ffe7a6; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; font-family: inherit; }
.shisha-time-btn:hover { border-color: #e7c264; box-shadow: 0 0 0 2px rgba(231, 194, 100, 0.35); }
.shisha-time-btn b { font-size: 20px; }
.shisha-time-btn small { font-size: 11px; color: #b9ab86; }

/* Rausch (drunk.js): Schleier am Bildrand, Übelkeit, Ohnmacht, Promille-Anzeige */
.drunk-veil { position: absolute; inset: 0; z-index: 25; pointer-events: none; }
.drunk-veil > div { position: absolute; inset: 0; opacity: 0; will-change: opacity; }
.drunk-veil .dv-vig { background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 36%, rgba(12, 5, 2, 0.55) 70%, rgba(6, 2, 1, 0.95) 100%); }
.drunk-veil .dv-sick { background: radial-gradient(ellipse at center, rgba(120, 150, 30, 0.12) 25%, rgba(70, 105, 15, 0.6) 100%); mix-blend-mode: multiply; }
#drunk-black { position: absolute; inset: 0; z-index: 95; display: grid; place-items: center; background: #000; opacity: 0; pointer-events: none; }
#drunk-black.block { pointer-events: auto; }
#drunk-black p { margin: 0; padding: 0 40px; max-width: 760px; text-align: center; color: #e6dcc4; font: italic 600 24px/1.4 Georgia, serif; opacity: 0; transition: opacity 0.7s ease; }
#drunk-black p.on { opacity: 1; }
.drunk-lid { position: absolute; left: 0; right: 0; height: 51%; z-index: 96; background: #000; pointer-events: none; transform: scaleY(0); }
.drunk-lid.top { top: 0; transform-origin: top; border-radius: 0 0 50% 50% / 0 0 18% 18%; }
.drunk-lid.bot { bottom: 0; transform-origin: bottom; border-radius: 50% 50% 0 0 / 18% 18% 0 0; }
.hud .drunk-badge { position: absolute; right: 14px; top: 266px; display: none; align-items: baseline; gap: 7px; height: 28px; padding: 0 12px; border-radius: 14px; background: rgba(12, 8, 4, 0.82); border: 1px solid #7a5a22; color: #d9c58f; font-size: 12px; white-space: nowrap; line-height: 28px; }
.hud .drunk-badge.on { display: flex; }
.hud .drunk-badge b { color: #ffd76a; font-size: 14px; }
.hud .drunk-badge.hi { border-color: #b4462e; }
.hud .drunk-badge.hi b { color: #ff9a6a; }
.float-text.miss { font-size: 22px; color: #ffc0a8; }

/* Laufen durch den Saal (walk.js) */
.hud .walk-btn { position: absolute; right: 14px; top: 304px; pointer-events: auto; display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px 0 10px; border-radius: 17px; border: 1px solid #7a5a22; background: rgba(12, 8, 4, 0.82); color: #d9c58f; font-weight: 700; font-size: 13px; cursor: pointer; }
.hud .walk-btn:hover { color: var(--gold-hi); background: rgba(60, 40, 10, 0.9); }
/* Joystick (Handy, Tablet): nur beim Laufen, nicht im Sitzen in der Lounge */
.hud .walk-stick { position: absolute; left: 14px; bottom: 64px; width: 132px; height: 132px; border-radius: 50%; display: none; pointer-events: auto; touch-action: none; z-index: 40; background: radial-gradient(circle, rgba(255, 224, 138, 0.1) 0%, rgba(12, 8, 4, 0.55) 70%); border: 2px solid rgba(231, 194, 100, 0.55); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), inset 0 0 18px rgba(0, 0, 0, 0.5); }
.walk-stick .ws-knob { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #f6db8c, #b88a1e 70%, #7a5a14); box-shadow: 0 3px 10px rgba(0, 0, 0, 0.6); pointer-events: none; }
.touch .view.walking:not(.lounging):not(.atbar):not(.atslot) .hud .walk-stick { display: block; }
/* Spielautomat (slots.js): Bedienfeld unten, darüber bleibt der Automat im Bild */
.view.walking.atslot .hud .walk-hud { display: none; }
/* am Automaten: die Menütaste unten links würde ins Bedienfeld ragen (Aufstehen geht über das Bedienfeld) */
.slot-open [title="Menü und Spielwahl"] { visibility: hidden; }
.slot-panel { --sp-accent: #b88a1e; position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); width: min(440px, calc(100% - 24px)); padding: 12px 14px 12px; border-radius: 18px; pointer-events: auto; z-index: 45;
  background: linear-gradient(180deg, rgba(28, 16, 8, 0.95), rgba(10, 6, 3, 0.96)); border: 1px solid #7a5a22; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 220, 140, 0.08), inset 0 3px 0 var(--sp-accent); color: #ead9a8; }
.slot-panel .sp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.slot-panel .sp-head b { font-family: Georgia, serif; font-size: 17px; letter-spacing: 1.5px; color: #ffe7a6; }
.slot-panel .sp-head span { font-size: 11.5px; color: #b9a571; }
.slot-panel .sp-reels { display: block; width: 100%; height: 170px; border-radius: 10px; background: #1a120a; box-shadow: inset 0 0 0 2px #5a4018; }
.slot-panel .sp-win { min-height: 22px; margin: 6px 0 4px; text-align: center; font-weight: 800; font-size: 15px; color: #ffd65a; text-shadow: 0 0 10px rgba(255, 200, 60, 0.45); }
.slot-panel.bigwon .sp-win { font-size: 18px; animation: spWin 0.5s ease-in-out 4 alternate; }
.slot-panel.won .sp-reels, .slot-panel.bigwon .sp-reels { box-shadow: inset 0 0 0 2px #ffd65a, 0 0 18px rgba(255, 200, 60, 0.35); }
@keyframes spWin { from { transform: scale(1); } to { transform: scale(1.08); } }
.slot-panel .sp-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.slot-panel .sp-bal { font-size: 13px; color: #b9a571; white-space: nowrap; }
.slot-panel .sp-bal b { color: #ffe7a6; font-size: 15px; }
.slot-panel .sp-bets { display: flex; gap: 6px; }
.slot-panel button { font-family: inherit; cursor: pointer; }
.slot-panel .sp-bet { height: 32px; min-width: 52px; padding: 0 8px; border-radius: 16px; border: 1px solid #6b4422; background: rgba(12, 8, 4, 0.7); color: #d9c58f; font-weight: 700; font-size: 13px; }
.slot-panel .sp-bet.on { border-color: #e7c264; background: linear-gradient(#f0cb68, #b88a1e); color: #2a1c00; }
.slot-panel .sp-bet:disabled { opacity: 0.55; cursor: default; }
.slot-panel .sp-small { height: 36px; padding: 0 12px; border-radius: 18px; border: 1px solid #6b4422; background: rgba(12, 8, 4, 0.7); color: #d9c58f; font-weight: 700; font-size: 12.5px; white-space: nowrap; }
.slot-panel .sp-spin { flex: 1; height: 46px; border-radius: 23px; border: 1px solid #ff8a6a; background: radial-gradient(circle at 50% 30%, #ff6a4a, #b8201a 70%); color: #fff6e8; font-weight: 900; font-size: 16px; letter-spacing: 1px; box-shadow: 0 4px 14px rgba(200, 30, 20, 0.45); }
.slot-panel .sp-spin:disabled { filter: grayscale(0.5) brightness(0.8); cursor: default; }
.slot-panel .sp-auto.on { border-color: #ffd65a; color: #1a1006; background: linear-gradient(#ffe08a, #d9a83a); box-shadow: 0 0 12px rgba(255, 210, 90, 0.55); }
.sp-paytable p { margin: 0 0 10px; font-size: 13px; line-height: 1.4; }
.sp-paytable .sp-pt-row { display: flex; align-items: center; gap: 12px; padding: 4px 6px; border-bottom: 1px solid rgba(255, 220, 140, 0.12); }
.sp-paytable .sp-pt-sym { width: 132px; height: 44px; background: #fffdf6; border-radius: 6px; }
.sp-paytable .sp-pt-row span { flex: 1; font-size: 13px; }
.sp-paytable .sp-pt-row b { font-size: 15px; color: #ffd65a; }
.sp-paytable .sp-pt-note { margin-top: 10px; font-size: 12px; opacity: 0.8; }
.touch .hud .walk-hud { left: auto; right: 10px; bottom: 10px; transform: none; align-items: flex-end; }
.touch .walk-row { flex-direction: column; align-items: flex-end; gap: 8px; }
.touch .walk-hud button { height: 44px; font-size: 14px; }
.touch .walk-tip { white-space: normal; max-width: 210px; text-align: right; }
.touch .view.walking .hud .drunk-badge { top: 52px; bottom: auto; }
.hud .walk-hud { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 8px; }
.walk-row { display: flex; gap: 10px; }
.walk-hud button { pointer-events: auto; height: 38px; padding: 0 18px; border-radius: 19px; border: 1px solid #7a5a22; background: rgba(12, 8, 4, 0.86); color: #d9c58f; font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; }
.walk-hud button:hover { color: var(--gold-hi); background: rgba(60, 40, 10, 0.92); }
.walk-hud .walk-sit { display: none; border-color: #e7c264; background: linear-gradient(#f0cb68, #b88a1e); color: #2a1c00; }
.walk-hud .walk-sit.on { display: block; }
.walk-hud .walk-smoke, .walk-hud .walk-up, .walk-hud .walk-order, .walk-hud .walk-drink, .walk-hud .walk-sip { display: none; }
.view.lounging .walk-hud .walk-smoke, .view.lounging .walk-hud .walk-up, .view.lounging .walk-hud .walk-order, .view.lounging .walk-hud .walk-sip { display: block; }
.view.atbar .walk-hud .walk-order, .view.atbar .walk-hud .walk-drink, .view.atbar .walk-hud .walk-up { display: block; }
.view.lounging .walk-hud .walk-sit, .view.atbar .walk-hud .walk-sit { display: none; }
.walk-hud .walk-smoke, .walk-hud .walk-order { border-color: #e7c264; background: linear-gradient(#f0cb68, #b88a1e); color: #2a1c00; }
.walk-hud .walk-drink.dim { opacity: 0.45; }
.walk-tip { font-size: 12px; color: rgba(240, 225, 190, 0.75); text-shadow: 0 1px 3px #000; white-space: nowrap; }
.view.walking .hud .walk-hud { display: flex; }
.view.walking .hud .walk-btn, .view.walking .hud .drink-btn, .view.walking .hud .limits, .view.walking .camctl .cc-pan, .view.walking .camctl [data-m="top"] { display: none; }
.view .bar { transition: opacity 0.3s ease; }
.view.walking .bar { opacity: 0; pointer-events: none; }

/* Roulette: gefallene Zahl als Viereck vor dem Spieler */
.hud .rl-pop { position: absolute; left: 50%; bottom: 84px; width: 116px; height: 116px; transform: translate(-50%, 0); display: none; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 16px; border: 3px solid #e7c264; box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.55), inset 0 0 0 4px rgba(0, 0, 0, 0.25), inset 0 0 0 6px rgba(255, 224, 138, 0.35), 0 14px 34px rgba(0, 0, 0, 0.7), 0 0 38px rgba(255, 210, 120, 0.35); color: #fff; text-align: center; z-index: 34; }
.hud .rl-pop.on { display: flex; }
.hud .rl-pop b { font: 800 54px/1 Georgia, 'Times New Roman', serif; text-shadow: 0 3px 8px rgba(0, 0, 0, 0.6); }
.hud .rl-pop span { font-size: 10.5px; font-weight: 700; letter-spacing: 0.4px; color: rgba(255, 246, 220, 0.92); padding: 0 6px; line-height: 1.25; }
.hud .rl-pop.red { background: radial-gradient(circle at 35% 25%, #e0414c, #a4141f 60%, #6c0a12); }
.hud .rl-pop.black { background: radial-gradient(circle at 35% 25%, #4a4c55, #1b1c22 60%, #08090b); }
.hud .rl-pop.green { background: radial-gradient(circle at 35% 25%, #2cc174, #0b7b3e 60%, #054624); }

/* ---------- Figuren ---------- */

.ss { position: absolute; left: -85px; bottom: 0; width: 170px; text-align: center; }
.ss .avatar { margin: 0 auto; }
.ss-plate { position: relative; margin: -16px auto 0; width: 150px; padding: 3px 8px 5px; background: linear-gradient(#2b1f10, #130d06); border: 1px solid #8a6a22; border-radius: 10px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6); }
.ss-plate b { display: block; font-size: 15px; color: #f1ead7; font-weight: 600; }
.ss-bank { display: block; font-size: 16px; font-weight: 700; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.ss.hero .ss-plate { margin: 0 auto; border-color: var(--gold-hi); background: linear-gradient(#3a2d10, #1a1206); }
.ss.hero .ss-bank { font-size: 13px; color: #cdbb8a; font-weight: 600; }
.ss.acting .avatar { box-shadow: 0 0 0 4px rgba(255, 224, 138, 0.9), 0 0 30px 8px rgba(255, 224, 138, 0.55); }

/* ---------- Chip-Stapel am Tisch ---------- */
.bank { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.bank-col { position: absolute; background: none; border: none; padding: 0; cursor: pointer; border-radius: 50%; transition: transform 0.12s, filter 0.12s; }
.bank-col .chip { position: absolute; }
.bank-col:hover:not(.empty) { transform: translateY(-8px); filter: brightness(1.15); }
.bank-col.sel .chip:last-of-type { box-shadow: 0 0 0 3px var(--gold-hi), 0 0 18px 4px rgba(255, 224, 138, 0.7); }
.bank-col.empty { opacity: 0.25; cursor: default; }
.bank-col.off { cursor: default; }
.bank-n { position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); font-size: 20px; font-weight: 800; color: #f6ecc8; text-shadow: 0 2px 4px #000; white-space: nowrap; pointer-events: none; }

/* ---------- Blackjack-Tisch ---------- */
.table-art { position: absolute; left: 0; top: 0; }
.bj-tray { position: absolute; width: 270px; height: 62px; transform: translate(-50%, -50%); display: flex; gap: 14px; justify-content: center; align-items: flex-end; padding: 0 16px 12px; background: linear-gradient(#2e2e32, #101012); border-radius: 8px 8px 16px 16px; border: 3px solid #8b94a0; box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6), inset 0 2px 0 rgba(255, 255, 255, 0.25); }
.tray-col { position: relative; width: 30px; height: 30px; }
.tray-col .chip { position: absolute; left: 0; }
.bj-discard { position: absolute; width: 150px; height: 84px; transform: translate(-50%, -50%); border: 3px dashed rgba(255, 255, 255, 0.18); border-radius: 12px; }
.bj-shoe { position: absolute; width: 190px; height: 100px; transform: translate(-50%, -50%); background: linear-gradient(#2d2d31, #0d0d0f); border: 3px solid #8b94a0; border-radius: 12px 12px 24px 24px; box-shadow: 0 10px 18px rgba(0, 0, 0, 0.6), inset 0 2px 0 rgba(255, 255, 255, 0.2); }
.shoe-cards { position: absolute; left: 14px; top: 20px; height: 60px; width: 86px; background: repeating-linear-gradient(90deg, #fff 0 3px, #cfc9b8 3px 5px); border-radius: 3px; border-left: 6px solid #8e1a2c; transition: width 0.4s; }
.shoe-count { position: absolute; right: 16px; top: 12px; font-size: 24px; color: var(--gold); font-weight: 700; }
.bj-dealer-row { z-index: 9; }
.bj-ins-spot { position: absolute; left: 900px; top: 640px; width: 0; height: 0; z-index: 8; }
.bj-seats { position: absolute; inset: 0; z-index: 10; pointer-events: none; }
.bj-seat { position: absolute; width: 0; height: 0; }
.bj-hand { position: absolute; left: 0; top: 0; width: 0; height: 0; transition: left 0.45s ease; }
.bj-hand .cardrow { left: 0; top: -125px; }
.bj-seat .hand-badge { top: -272px; font-size: 47px; line-height: 1.12; padding: 5px 28px; border-width: 2px; border-radius: 34px; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7); }
.bj-seat:not(.hero) .hand-badge { top: -218px; font-size: 34px; padding: 4px 20px; }
.bj-seat .hand-badge.bj, .bj-seat .hand-badge.bust, .bj-seat .hand-badge.result { font-size: 32px; }
.bj-seat:not(.hero) .hand-badge.bj, .bj-seat:not(.hero) .hand-badge.bust, .bj-seat:not(.hero) .hand-badge.result { font-size: 25px; }
.bj-seat:not(.hero) .bj-hand .cardrow { top: -105px; }
.bet-spot { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.spot-stack { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.bj-hand.active .hand-badge.on { box-shadow: 0 0 22px rgba(255, 224, 138, 0.9); }
.bj-hand.active::after { content: ""; position: absolute; left: -62px; top: -62px; width: 124px; height: 124px; border-radius: 50%; border: 4px solid var(--gold-hi); box-shadow: 0 0 36px rgba(255, 224, 138, 0.85); pointer-events: none; }
.hand-badge.bj-dbadge { font-size: 39px; line-height: 1.12; padding: 5px 24px; top: 402px; border-width: 2px; border-radius: 34px; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7); transform: translate(0, 0) scale(0.8); transform-origin: 0 50%; }
.hand-badge.bj-dbadge.on { transform: translate(0, 0) scale(1); }
.hand-badge.bj-dbadge.bj, .hand-badge.bj-dbadge.bust { font-size: 30px; }
.plane .hand-badge { white-space: nowrap; }
.bar .hint { color: #b5a273; font-style: italic; font-size: 13px; }
/* sieben Chips im Rack: auf schmaleren Fenstern ist für den Hinweis kein Platz mehr */
@media (max-width: 1320px) { .bar .hint { display: none; } }
.bank-host { position: absolute; width: 0; height: 0; z-index: 12; }

/* ---------- Poker-Tisch ---------- */
.pk-room.training { --rail-a: #1b2c38; --rail-b: #37506a; --felt-a: #1f7894; --felt-b: #134a62; --felt-c: #0a2c3f; }
.pk-room.official { --rail-a: #14070a; --rail-b: #3c1018; --felt-a: #1f9a5e; --felt-b: #12744a; --felt-c: #0a4a2d; }
.pk-holes, .pk-bets { position: absolute; inset: 0; pointer-events: none; }
.pk-holes { z-index: 14; }
.pk-bets { z-index: 9; }
.pk-hole { z-index: 14; }
.pk-bet { position: absolute; width: 0; height: 0; }
.bet-lbl { position: absolute; left: 0; top: 36px; transform: translateX(-50%); font-size: 26px; font-weight: 700; background: rgba(0, 0, 0, 0.62); padding: 2px 16px; border-radius: 16px; white-space: nowrap; color: #fff; }
.pk-board { z-index: 8; }
.pk-pot { position: absolute; width: 0; z-index: 8; }
.pk-pot-chips { position: absolute; left: -170px; top: 26px; width: 0; height: 0; }
.pk-pot-label { position: absolute; left: 0; top: -10px; transform: translateX(-50%); background: rgba(0, 0, 0, 0.55); padding: 6px 28px; border-radius: 30px; font-size: 32px; white-space: nowrap; border: 2px solid rgba(255, 224, 138, 0.4); }
.pk-pot-label b { color: var(--gold-hi); }
.pk-dbtn { position: absolute; width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #e6dfc8); color: #222; font-weight: 800; display: none; place-items: center; transform: translate(-50%, -50%); z-index: 15; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.55); border: 3px solid var(--gold); transition: left 0.7s ease, top 0.7s ease; font-size: 30px; }
.pk-dbtn.on { display: grid; }
.pk-room .ss .plate { width: 160px; margin-top: -18px; }
.pk-room .ss.hero .plate { margin: 0 auto; width: 180px; border-color: var(--gold-hi); }
.pk-room .ss.hero .st { font-size: 20px; }
.ss.folded .avatar, .ss.folded .plate { opacity: 0.45; }
.ss.active .avatar, .ss.active .plate { box-shadow: 0 0 0 4px rgba(255, 224, 138, 0.9), 0 0 30px 6px rgba(255, 224, 138, 0.6); }
.ss.allin .plate { border-color: #ff5a5a; }
.ss.thinking .think { display: flex; }
.hud .pk-log { left: 14px; top: 12px; }
.hud .pk-handname { position: absolute; left: 50%; bottom: 82px; transform: translateX(-50%); }
.hud .pk-mark { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); font-size: 11px; letter-spacing: 4px; white-space: nowrap; color: rgba(255, 255, 255, 0.5); text-shadow: 0 1px 3px #000; }
.pk-room.training .pk-mark { color: rgba(127, 230, 255, 0.8); }
.pk-room.official .pk-mark { color: rgba(240, 214, 140, 0.85); }
.hud .mode-banner { top: 200px; }

/* Online-Tisch: violette Akzente, Zeitbalken für den Zug, Knopf zum Aufstehen, echte Mitspieler mit grünem Punkt */
.pk-room.online .pk-mark { color: rgba(205, 180, 255, 0.9); }
.pk-room.online .seg button.on { background: linear-gradient(#d9c2ff, #7c55c9); color: #170833; }
.pk-center { position: relative; }
.pk-clock { position: absolute; left: 12%; right: 12%; top: 3px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.08); overflow: hidden; opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.pk-clock.on { opacity: 1; }
.pk-clock i { display: block; height: 100%; background: #b5a273; transform-origin: left center; }
.pk-clock.mine i { background: linear-gradient(90deg, #ff5a5a, #f0cb68 45%); }
.pk-wait { align-items: center; }
.pk-leave { display: none; margin-left: 18px; font-style: normal; }
.pk-room.online .pk-leave { display: inline-flex; }
.ss.real .nm::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #3dff82; box-shadow: 0 0 6px #3dff82; vertical-align: 1px; }
.ss.away .plate { opacity: 0.5; }
.ss.away .nm::after { content: " (weg)"; color: #b5a273; }
/* Blackjack online: Umschalter Allein/Online unter dem Einsatz, Zeitbalken über der Leiste, Mitspieler mit grünem Punkt */
.bj-seg { margin-top: 6px; }
.bj-seg button { height: 26px; padding: 0 10px; font-size: 12px; }
.bj-bar .bar-mid { position: relative; }
.ss.player .ss-plate b::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #3dff82; box-shadow: 0 0 6px #3dff82; vertical-align: 1px; }
.ss.away .ss-plate { opacity: 0.5; }
/* Roulette online: Zeitbalken, Hinweis über den Chips, Einsätze der Mitspieler halb durchsichtig */
.rl-bar .bar-mid { position: relative; }
.rl-wait { display: none; position: absolute; left: 0; right: 0; top: -2px; justify-content: center; color: #b5a273; font-style: italic; font-size: 13px; pointer-events: none; }
.rl-wait.on { display: flex; }
.rl-board .chip-holder.other { opacity: 0.72; filter: saturate(0.8); pointer-events: none; }

/* ---------- Roulette-Tisch ---------- */
.plane .rl-board { position: absolute; transform-origin: 0 0; z-index: 8; width: 740px; height: 270px; }
.plane .rl-wheel-wrap { position: absolute; width: 800px; height: 700px; z-index: 10; pointer-events: none; }
.hud .rl-side { left: 14px; top: 12px; width: auto; height: auto; display: flex; gap: 18px; align-items: flex-start; background: rgba(10, 6, 3, 0.62); padding: 8px 14px 10px; border-radius: 12px; border: 1px solid rgba(138, 106, 34, 0.6); }
.hud .rl-hist { max-width: 300px; }
.hud .rl-result { min-width: 130px; }
.plane .rl-tip { font-size: 15px; }


/* Bots sind 3D-Figuren: nur das Namensschild bleibt als Etikett am Sitz */
.ss.bot .ss-plate, .pk-room .ss:not(.hero) .plate { margin: 0 auto; }
.ss.acting .ss-plate, .ss.active .plate { box-shadow: 0 0 0 3px rgba(255, 224, 138, 0.9), 0 0 24px 6px rgba(255, 224, 138, 0.5); }
.avatar-stub { display: none; }

/* Eine einzelne Hand des Spielers: die Summe steht groß links neben den Karten (oben ist kein Platz, dort liegen die Karten der Dealerin) */
.bj-seat.hero .bj-hand:only-child .hand-badge { left: -82px; top: -166px; font-size: 57px; transform: translate(-100%, 0) scale(0.8); transform-origin: 100% 50%; }
.bj-seat.hero .bj-hand:only-child .hand-badge.on { transform: translate(-100%, 0) scale(1); }
.bj-seat.hero .bj-hand:only-child .hand-badge.bj, .bj-seat.hero .bj-hand:only-child .hand-badge.bust, .bj-seat.hero .bj-hand:only-child .hand-badge.result { font-size: 39px; }

/* Zurufe aus dem Saal (life.js): kleine Sprechblase über der Figur, folgt ihr in der Ansicht */
.sc-front > .callout { position: absolute; left: 0; top: 0; z-index: 30; pointer-events: none; padding: 4px 9px 5px; border-radius: 11px; background: rgba(14, 10, 8, 0.78); border: 1px solid rgba(217, 176, 74, 0.6); color: #f6e4b0; font: 600 12px/1.25 system-ui, -apple-system, 'Segoe UI', sans-serif; white-space: nowrap; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45); will-change: transform, opacity; }
.sc-front > .callout.chat { white-space: normal; max-width: 260px; text-align: center; background: rgba(250, 246, 236, 0.95); color: #1a140c; border-color: rgba(61, 255, 130, 0.9); font-weight: 600; }
.sc-front > .callout.chat::after { background: rgba(250, 246, 236, 0.95); border-color: rgba(61, 255, 130, 0.9); }
.sc-front > .callout::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 9px; height: 9px; transform: translateX(-50%) rotate(45deg); background: rgba(14, 10, 8, 0.78); border-right: 1px solid rgba(217, 176, 74, 0.6); border-bottom: 1px solid rgba(217, 176, 74, 0.6); }
