/* =====================================================================
   ROYAL NEON CASINO – Spiel-spezifische Styles
   ===================================================================== */

/* ---------- Allgemein ---------- */
.pulse { animation: btnPulse 1s ease-in-out infinite; }
@keyframes btnPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,209,102,.7), 0 8px 26px rgba(245,165,36,.35); } 50% { box-shadow: 0 0 0 10px rgba(255,209,102,0), 0 8px 26px rgba(245,165,36,.35); } }
body.ws-offline .site-header::after { content: "Keine Live-Verbindung – wird aufgebaut …"; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); background: var(--red); color: #fff; padding: 4px 14px; border-radius: 0 0 10px 10px; font-size: .8rem; font-weight: 700; }
.table-message { min-height: 22px; font-size: .9rem; color: #e5defc; margin-bottom: 14px; }
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(0,0,0,.65); backdrop-filter: blur(6px); animation: fadeIn .2s; }
.modal-card { width: min(420px, 92vw); padding: 28px; animation: zoomIn .35s cubic-bezier(.2,1.5,.4,1); }
.buyin-value { font-size: 2.2rem; text-align: center; margin: 10px 0; }
input[type=range] { accent-color: var(--gold); }

/* ---------- Profil ---------- */
.profile-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.bonus-box { margin-left: auto; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: rgba(0,0,0,.3); border: 1px solid var(--border); }
.bonus-box.ready { border-color: rgba(255,209,102,.6); box-shadow: var(--glow-gold); }
.bonus-gift { width: 64px; height: 64px; }
.bonus-box > div { min-width: 0; }
#bonus-btn { flex-shrink: 0; }
@media (max-width: 760px) {
    .bonus-box { margin-left: 0; width: 100%; padding: 12px; gap: 10px; }
    .bonus-gift { width: 48px; height: 48px; flex-shrink: 0; }
    .bonus-box #bonus-btn { margin-left: auto; padding: 10px 14px; }
    #profile-cols .table td:nth-child(5) { min-width: 140px; }
}
.bonus-box.ready .bonus-gift { animation: wobble 1s ease-in-out infinite; }
.look-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.look-opt { width: 54px; height: 54px; border-radius: 14px; border: 2px solid var(--border); background: radial-gradient(circle at 50% 25%, #fff, #b9b1db); cursor: pointer; transition: .15s; padding: 0; overflow: hidden; }
.look-opt img { width: 100%; height: 100%; display: block; }
.look-opt:hover { transform: scale(1.1); }
.look-opt.active { border-color: var(--gold); box-shadow: var(--glow-gold); }
.look-opt.color { width: 34px; height: 34px; border-radius: 50%; background: none; }
@media (max-width: 900px) { #profile-cols { grid-template-columns: minmax(0, 1fr) !important; } }

/* ---------- Tisch-Lobby ---------- */
.table-lobby { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.table-card { border-radius: 20px; overflow: hidden; background: var(--panel); border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .3s cubic-bezier(.2,1.3,.4,1), box-shadow .3s; }
.table-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0,0,0,.5), 0 0 30px rgba(46,229,157,.25); }
.tc-felt { height: 150px; position: relative; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 30%, #1a8a57, var(--felt) 55%, var(--felt-2)); border-bottom: 4px solid #6b3a12; }
.table-card.poker .tc-felt { background: radial-gradient(ellipse at 50% 30%, #4b2a8a, #2a1658 55%, #160b33); }
.tc-art { width: 78%; filter: drop-shadow(0 10px 16px rgba(0,0,0,.5)); transition: transform .4s cubic-bezier(.2,1.4,.4,1); }
.table-card:hover .tc-art { transform: scale(1.06) translateY(-4px); }
.tc-seats { position: absolute; bottom: 12px; display: flex; gap: 8px; }
.tc-seats i { width: 16px; height: 16px; border-radius: 50%; background: rgba(0,0,0,.4); border: 2px solid rgba(255,255,255,.3); }
.tc-seats i.taken { background: var(--gold); border-color: #fff; box-shadow: var(--glow-gold); }
.tc-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.tc-body h3 { margin: 0; font-family: var(--font-display); font-size: 1.05rem; }
.tc-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: .85rem; }
.tc-meta b { color: var(--text); }

/* ---------- Slots ---------- */
.slots-stage { gap: 18px; background: radial-gradient(ellipse at 50% 0%, rgba(236,72,153,.25), transparent 60%), var(--panel); }
.slot-machine { width: 100%; max-width: 760px; padding: 18px 22px; border-radius: 26px; position: relative;
    background: linear-gradient(180deg, #3a1060, #1d0836 60%, #12041f); border: 3px solid #f5a524;
    box-shadow: 0 0 0 6px #2a0b45, 0 0 40px rgba(255,61,154,.4), inset 0 0 40px rgba(0,0,0,.6); }
.slot-machine.winning { animation: machineGlow .6s ease-in-out infinite alternate; }
@keyframes machineGlow { to { box-shadow: 0 0 0 6px #2a0b45, 0 0 80px rgba(255,209,102,.8), inset 0 0 40px rgba(0,0,0,.6); } }
.slot-lights { display: flex; justify-content: space-between; padding: 0 6px; }
.slot-lights i { width: 12px; height: 12px; border-radius: 50%; background: #ffd166; box-shadow: 0 0 10px #ffd166; animation: bulb 1.2s infinite; }
.slot-lights i:nth-child(even) { animation-delay: .6s; }
.slot-machine.winning .slot-lights i { animation-duration: .25s; }
@keyframes bulb { 0%,100% { opacity: 1; } 50% { opacity: .2; box-shadow: none; } }
.slot-title { text-align: center; font-family: var(--font-display); font-weight: 900; font-size: 1.8rem; letter-spacing: 6px; margin: 10px 0 14px; color: #fff; text-shadow: 0 0 12px var(--pink), 0 0 30px var(--pink); }
.slot-title span { color: var(--gold); text-shadow: 0 0 12px var(--gold), 0 0 30px var(--gold-2); }
.slot-window { position: relative; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: inset 0 0 30px rgba(0,0,0,.5); }
.reels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; background: #1a0b2e; }
.reel { --cell: clamp(70px, 9vw, 110px); height: calc(var(--cell) * 3); overflow: hidden; position: relative;
    background: linear-gradient(180deg, #d9d4e8, #ffffff 20%, #ffffff 80%, #d9d4e8); }
.reel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 18%, transparent 82%, rgba(0,0,0,.35)); }
.reel.bump { animation: reelBump .25s; }
@keyframes reelBump { 40% { transform: translateY(6px); } }
.strip { will-change: transform; }
.strip.blur .sym img { filter: blur(2.5px) brightness(1.05); }
.sym { height: var(--cell); display: grid; place-items: center; position: relative; }
.sym img { width: 88%; height: 88%; transition: transform .2s; filter: drop-shadow(0 4px 4px rgba(0,0,0,.25)); user-select: none; }
.sym.win { z-index: 2; }
.sym.win img { animation: symWin .7s ease-in-out infinite alternate; }
.sym.win::before { content: ""; position: absolute; inset: 4px; border-radius: 14px; border: 3px solid var(--gold); box-shadow: inset 0 0 20px rgba(255,209,102,.6), 0 0 6px var(--gold); }
@keyframes symWin { to { transform: scale(1.12); } }
.paylines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
.paylines polyline { fill: none; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; opacity: .35; filter: drop-shadow(0 0 4px currentColor); vector-effect: non-scaling-stroke; }
.paylines polyline.focus { opacity: 1; stroke-width: 7; }
.line-info { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%) translateY(20px); opacity: 0; z-index: 4; padding: 6px 14px; border-radius: 999px; background: rgba(10,4,24,.9); color: var(--gold); font-weight: 800; font-size: .9rem; transition: .25s; white-space: nowrap; }
.line-info.show { opacity: 1; transform: translateX(-50%); }
.slot-display { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; margin: 14px 0 10px; }
.slot-display > div { background: #0a0314; border: 2px solid #3d1466; border-radius: 12px; padding: 8px 12px; text-align: center; }
.slot-display small { display: block; font-size: .65rem; letter-spacing: 2px; color: var(--muted); }
.slot-display b { font-family: var(--font-display); font-size: 1.3rem; color: #ff5a5a; text-shadow: 0 0 10px rgba(255,90,90,.8); }
.slot-display > div:first-child b { color: var(--green); text-shadow: 0 0 10px rgba(46,229,157,.8); }
.paytable-grid { width: 100%; max-width: 760px; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.pt-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(0,0,0,.3); border: 1px solid var(--border); }
.pt-sym { width: 42px; height: 42px; flex-shrink: 0; }
.pt-pay { font-size: .72rem; line-height: 1.35; color: var(--muted); }
.pt-pay b { color: var(--gold); }
.spin-btn { font-size: 1.2rem; padding: 18px; }

/* ---------- Plinko ---------- */
.plinko-stage { padding: 16px; background: radial-gradient(ellipse at 50% 0%, rgba(244,63,94,.18), transparent 60%), var(--panel); }
.plinko-wrap { width: 100%; max-width: 820px; display: flex; flex-direction: column; align-items: center; }
.plinko-wrap canvas { display: block; }
.plinko-buckets { display: flex; justify-content: space-between; gap: 3px; margin-top: -4px; }
.bucket { flex-shrink: 0; height: 34px; border-radius: 8px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: #1a0a00;
    background: var(--bc); box-shadow: 0 5px 0 color-mix(in srgb, var(--bc) 55%, #000), 0 0 14px color-mix(in srgb, var(--bc) 50%, transparent); }
.bucket.hit { animation: bucketHit .45s cubic-bezier(.2,1.6,.4,1); }
@keyframes bucketHit { 30% { transform: translateY(8px); box-shadow: 0 0 0 color-mix(in srgb, var(--bc) 55%, #000), 0 0 30px var(--bc); filter: brightness(1.4); } }

/* ---------- Mines ---------- */
.mines-stage { background: radial-gradient(ellipse at 50% 50%, rgba(16,185,129,.15), transparent 70%), var(--panel); }
.mines-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; width: min(560px, 100%); }
.tile { aspect-ratio: 1; border-radius: 14px; border: 0; cursor: pointer; position: relative; font-size: clamp(1.6rem, 4.5vw, 2.8rem);
    background: linear-gradient(160deg, #3b3170, #2a2152); box-shadow: 0 6px 0 #18122f, inset 0 1px 0 rgba(255,255,255,.15); transition: transform .15s, background .2s; }
.mines-grid.active .tile:not(.gem):not(.mine):hover { transform: translateY(-4px); background: linear-gradient(160deg, #5546a0, #3a2e72); box-shadow: 0 10px 0 #18122f, 0 0 20px rgba(139,92,246,.5); }
.mines-grid:not(.active) .tile { cursor: default; }
.tile .face { display: grid; place-items: center; width: 64%; height: 64%; }
.tile .face img { width: 100%; height: 100%; filter: drop-shadow(0 4px 6px rgba(0,0,0,.45)); }
.tile.loading { animation: tileWait .5s infinite alternate; }
@keyframes tileWait { to { filter: brightness(1.5); } }
.tile.gem { background: linear-gradient(160deg, #0f766e, #064e3b); box-shadow: 0 2px 0 #022c22, 0 0 24px rgba(46,229,157,.45); transform: translateY(4px); }
.tile.mine { background: linear-gradient(160deg, #7f1d1d, #450a0a); box-shadow: 0 2px 0 #2a0505; transform: translateY(4px); }
.tile.pop .face { animation: gemPop .5s cubic-bezier(.2,1.8,.4,1); }
@keyframes gemPop { from { transform: scale(0) rotate(-40deg); } }
.tile.boom { animation: boom .6s; z-index: 2; box-shadow: 0 0 0 4px var(--red), 0 0 40px var(--red); }
@keyframes boom { 0% { transform: scale(1); } 30% { transform: scale(1.3); } 100% { transform: scale(1) translateY(4px); } }
.tile.dim { opacity: .45; }

/* ---------- Dice ---------- */
.dice-stage { gap: 36px; background: radial-gradient(ellipse at 50% 30%, rgba(59,130,246,.2), transparent 60%), var(--panel); }
.dice-result { font-family: var(--font-display); font-size: clamp(3rem, 9vw, 6rem); font-weight: 900; transition: color .3s; }
.dice-result.win { color: var(--green); text-shadow: 0 0 30px rgba(46,229,157,.7); }
.dice-result.lose { color: var(--red); text-shadow: 0 0 30px rgba(255,77,109,.6); }
.dice-slider-wrap { width: min(760px, 100%); padding: 22px 26px 10px; border-radius: 22px; background: rgba(0,0,0,.35); border: 1px solid var(--border); }
.dice-track { position: relative; height: 16px; border-radius: 10px; background: #1b1530; }
.dice-fill { position: absolute; top: 0; bottom: 0; border-radius: 10px; }
.dice-fill.win { background: linear-gradient(90deg, #12b981, #2ee59d); box-shadow: 0 0 14px rgba(46,229,157,.6); }
.dice-fill.lose { background: linear-gradient(90deg, #e11d48, #ff4d6d); }
.dice-track input[type=range] { position: absolute; inset: -10px 0; width: 100%; height: 36px; margin: 0; background: transparent; appearance: none; -webkit-appearance: none; cursor: pointer; }
.dice-track input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #fff, #c9c3e6); border: 3px solid var(--purple); box-shadow: 0 4px 12px rgba(0,0,0,.5); }
.dice-track input[type=range]::-moz-range-thumb { width: 30px; height: 30px; border-radius: 10px; background: #fff; border: 3px solid var(--purple); }
/* Blase verschiebt sich mit der Position (0 % → rechts vom Punkt, 100 % → links), damit sie am Rand nie abgeschnitten wird */
.dice-marker { position: absolute; top: -58px; left: 50%; width: 0; opacity: 0; transition: opacity .2s; pointer-events: none; }
.dice-marker.show { opacity: 1; }
.dice-marker span { display: inline-block; white-space: nowrap; transform: translateX(calc(var(--p, 50) * -1%)); padding: 6px 10px; border-radius: 10px; background: #fff; color: #111; font-family: var(--font-display); font-weight: 800; font-size: .9rem; position: relative; }
.dice-marker span::after { content: ""; position: absolute; left: clamp(10px, calc(var(--p, 50) * 1%), calc(100% - 10px)); bottom: -7px; margin-left: -7px; border: 7px solid transparent; border-top-color: #fff; border-bottom: 0; }
.dice-marker.win span { background: var(--green); } .dice-marker.win span::after { border-top-color: var(--green); }
.dice-marker.lose span { background: var(--red); color: #fff; } .dice-marker.lose span::after { border-top-color: var(--red); }
.dice-scale { display: flex; justify-content: space-between; margin-top: 14px; color: var(--muted); font-family: var(--font-display); font-size: .75rem; }
.dice-inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: min(760px, 100%); }
@media (max-width: 640px) { .dice-inputs { grid-template-columns: 1fr; } }

/* ---------- Limbo ---------- */
.limbo-stage { background: radial-gradient(circle at 50% 50%, rgba(168,85,247,.25), transparent 60%), var(--panel); }
.limbo-rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.limbo-rings i { position: absolute; border-radius: 50%; border: 2px solid rgba(168,85,247,.25); animation: ring 3s linear infinite; }
.limbo-rings i:nth-child(1) { width: 200px; height: 200px; }
.limbo-rings i:nth-child(2) { width: 340px; height: 340px; animation-delay: -1s; }
.limbo-rings i:nth-child(3) { width: 480px; height: 480px; animation-delay: -2s; }
.limbo-stage.rolling .limbo-rings i { animation-duration: .6s; border-color: rgba(255,209,102,.4); }
@keyframes ring { 0% { transform: scale(.6); opacity: 0; } 50% { opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.limbo-number { font-family: var(--font-display); font-weight: 900; font-size: clamp(3.5rem, 12vw, 8rem); position: relative; z-index: 2; }
.limbo-number.rolling { color: #fff; }
.limbo-number.win { color: var(--green); text-shadow: 0 0 40px rgba(46,229,157,.8); animation: zoomIn .4s cubic-bezier(.2,1.8,.4,1); }
.limbo-number.lose { color: var(--red); text-shadow: 0 0 40px rgba(255,77,109,.6); }
.limbo-target { position: relative; z-index: 2; color: var(--muted); font-size: 1.1rem; margin-top: 8px; }

/* ---------- Hi-Lo ---------- */
.hilo-main { display: flex; align-items: center; gap: clamp(14px, 4vw, 50px); position: relative; z-index: 1; }
.hilo-card-slot { min-width: 150px; min-height: 213px; display: grid; place-items: center; }
.hilo-btn { width: clamp(110px, 16vw, 170px); padding: 20px 12px; border-radius: 20px; border: 2px solid; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff; transition: transform .15s, box-shadow .2s; font-family: inherit; }
.hilo-btn .arrow { font-size: 2rem; }
.hilo-btn b { font-size: 1rem; }
.hilo-btn small { font-size: .78rem; opacity: .85; font-family: var(--font-display); }
.hilo-btn.hi { background: linear-gradient(160deg, rgba(46,229,157,.35), rgba(15,174,110,.2)); border-color: var(--green); }
.hilo-btn.lo { background: linear-gradient(160deg, rgba(255,77,109,.35), rgba(217,38,72,.2)); border-color: var(--red); }
.hilo-btn:not(:disabled):hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 0 30px currentColor; }
.hilo-btn:disabled { opacity: .35; cursor: not-allowed; }
.hilo-history { display: flex; gap: 6px; margin-top: 24px; max-width: 100%; overflow-x: auto; padding: 14px 8px 18px; position: relative; z-index: 1; }
.hilo-history .pcard[data-mark="win"] .pcard-face.front img { filter: drop-shadow(0 0 1.5px #2ee59d) drop-shadow(0 0 1.5px #2ee59d); }
.hilo-history .pcard[data-mark="lose"] .pcard-face.front img { filter: drop-shadow(0 0 1.5px #ff4d6d) drop-shadow(0 0 1.5px #ff4d6d); }
.hilo-history .pcard[data-mark="skip"] { opacity: .5; }

/* ---------- Keno ---------- */
.keno-stage { gap: 22px; }
.keno-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; width: min(720px, 100%); }
.keno-cell { aspect-ratio: 1; border-radius: 14px; border: 0; cursor: pointer; font-family: var(--font-display); font-weight: 800; font-size: clamp(.9rem, 2vw, 1.25rem); color: #d7d0f5;
    background: linear-gradient(160deg, #2e2660, #221b48); box-shadow: 0 5px 0 #130f2a; transition: transform .12s, background .2s; position: relative; }
.keno-cell:hover { transform: translateY(-3px); }
.keno-cell.picked { background: linear-gradient(160deg, #a855f7, #7c3aed); color: #fff; box-shadow: 0 5px 0 #4c1d95, 0 0 18px rgba(168,85,247,.5); }
.keno-cell.drawn.miss { background: linear-gradient(160deg, #3f1d2c, #2a1320); color: #ff8fa3; animation: gemPop .35s; }
.keno-cell.drawn.hit { background: linear-gradient(160deg, #ffd166, #f5a524); color: #2a1700; box-shadow: 0 5px 0 #8a5a00, 0 0 26px rgba(255,209,102,.8); animation: gemPop .4s cubic-bezier(.2,1.8,.4,1); }
.keno-cell.drawn.hit::after { content: ""; position: absolute; top: -9px; right: -7px; width: 22px; height: 22px; background: url(/img/slots/6.svg) center / contain no-repeat; filter: drop-shadow(0 2px 3px rgba(0,0,0,.5)); }
.keno-pays { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; width: min(720px, 100%); }
.keno-pay { flex: 1; min-width: 56px; padding: 8px 4px; border-radius: 10px; text-align: center; background: rgba(0,0,0,.35); border: 1px solid var(--border); transition: .2s; }
.keno-pay b { display: block; font-family: var(--font-display); font-size: .85rem; }
.keno-pay small { color: var(--muted); font-size: .7rem; }
.keno-pay.active { border-color: var(--gold); background: rgba(255,209,102,.15); transform: translateY(-4px); box-shadow: var(--glow-gold); }

/* ---------- Glücksrad ---------- */
.wheel-stage { background: radial-gradient(circle at 50% 50%, rgba(251,146,60,.2), transparent 60%), var(--panel); }
.wheel-wrap { position: relative; width: min(520px, 90vw); aspect-ratio: 1; }
.wheel-wrap canvas { width: 100%; height: 100%; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); }
.wheel-pointer { position: absolute; top: -14px; left: 50%; margin-left: -18px; width: 36px; height: 44px; z-index: 3; background: linear-gradient(180deg, #fff, var(--gold)); clip-path: polygon(50% 100%, 0 0, 100% 0); filter: drop-shadow(0 0 8px var(--gold)); transform-origin: 50% 0; }
.wheel-pointer.flick { animation: flick .12s; }
@keyframes flick { 50% { transform: rotate(-14deg); } }
.wheel-hub { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center;
    background: #1a1030; border: 4px solid var(--gold); font-family: var(--font-display); font-weight: 900; font-size: clamp(1rem, 3vw, 1.6rem); color: #fff; box-shadow: 0 0 30px rgba(255,209,102,.5); transition: background .3s; }
.wheel-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.wl-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: rgba(0,0,0,.3); border: 1px solid var(--border); font-size: .85rem; transition: .2s; }
.wl-item i { width: 14px; height: 14px; border-radius: 4px; }
.wl-item small { margin-left: auto; color: var(--muted); }
.wl-item.active { border-color: var(--gold); box-shadow: var(--glow-gold); transform: scale(1.04); }

/* ---------- Video Poker ---------- */
.vp-stage { gap: 26px; background: radial-gradient(ellipse at 50% 30%, rgba(132,204,22,.15), transparent 60%), #0a1f14; }
.vp-paytable { width: min(560px, 100%); border-collapse: collapse; font-family: var(--font-display); font-size: .85rem; background: #0a0060; border: 3px solid var(--gold); border-radius: 12px; overflow: hidden; }
.vp-paytable td { padding: 6px 14px; color: #ffe27a; border-bottom: 1px solid rgba(255,209,102,.15); }
.vp-paytable td:last-child { text-align: right; }
.vp-paytable tr.active td { background: var(--gold); color: #1a0e00; animation: flashWin 1s; }
.vp-hand { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; padding-bottom: 20px; }
.vp-hand.selectable .pcard { cursor: pointer; }
.vp-hand.selectable .pcard:hover { transform: translateY(-8px); }
.vp-result { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; min-height: 34px; }
.vp-result.win { color: var(--green); text-shadow: 0 0 20px rgba(46,229,157,.6); }
.vp-result.lose { color: var(--muted); }

/* ---------- Coinflip ---------- */
.coin-stage { justify-content: flex-start; gap: 10px; background: radial-gradient(circle at 50% 20%, rgba(250,204,21,.18), transparent 50%), var(--panel); }
.coin-arena { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 6vw, 70px); min-height: 230px; width: 100%; perspective: 1000px; }
.duelist { width: 130px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; transition: .4s; }
.duelist:empty { visibility: hidden; }
.duelist.winner { transform: scale(1.12); }
.duelist.winner .avatar { box-shadow: 0 0 30px var(--gold); border-color: var(--gold); }
.duelist.loser { opacity: .4; filter: grayscale(.7); }
.coin3d { width: 170px; height: 170px; position: relative; transform-style: preserve-3d; transition: transform 2s cubic-bezier(.2,.8,.25,1); }
.coin3d.flipping { animation: coinUp 2s cubic-bezier(.3,0,.3,1); }
@keyframes coinUp { 50% { translate: 0 -70px; scale: 1.15; } }
.coin3d .side { position: absolute; inset: 0; border-radius: 50%; backface-visibility: hidden; -webkit-backface-visibility: hidden;
    background: url(/img/art/coin-heads.svg) center / contain no-repeat; filter: drop-shadow(0 14px 24px rgba(0,0,0,.55)); }
.coin3d .side.tails { transform: rotateY(180deg); background-image: url(/img/art/coin-tails.svg); }
.coin-caption { font-family: var(--font-display); font-size: 1.1rem; min-height: 28px; text-align: center; }
.duels { width: 100%; max-width: 760px; }
.duel-list { display: flex; flex-direction: column; gap: 8px; }
.duel-row { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--border); animation: tickIn .35s; flex-wrap: wrap; }
.duel-row .duel-amt { margin-left: auto; font-weight: 800; }
.duel-row.done { font-size: .88rem; }

/* ---------- Crash ---------- */
.crash-stage { padding: 0; min-height: 600px; background: radial-gradient(ellipse at 20% 100%, rgba(14,165,233,.25), transparent 60%), linear-gradient(180deg, #070b1d, #0b1230); }
.crash-stage canvas { position: absolute; inset: 0; }
.crash-stage.crashed { background: radial-gradient(ellipse at 50% 50%, rgba(255,77,109,.2), transparent 60%), linear-gradient(180deg, #1a0710, #0b1230); }
.crash-overlay { position: relative; z-index: 2; text-align: center; pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.crash-multi { font-family: var(--font-display); font-weight: 900; font-size: clamp(3.5rem, 11vw, 7.5rem); color: #fff; text-shadow: 0 0 30px rgba(255,255,255,.4); }
.crash-stage.running .crash-multi { color: var(--green); text-shadow: 0 0 40px rgba(46,229,157,.6); }
.crash-stage.crashed .crash-multi { color: var(--red); text-shadow: 0 0 40px rgba(255,77,109,.7); animation: shake .5s; }
.crash-status { font-size: 1.05rem; color: #cfd8ff; font-weight: 600; }
.crash-timer { width: 260px; }
.crash-action { font-size: 1.15rem; padding: 18px; }

/* ---------- Roulette ---------- */
.roulette-stage { justify-content: flex-start; gap: 18px; background: radial-gradient(ellipse at 50% 40%, #13744a, var(--felt) 45%, var(--felt-2)); }
.roulette-top { display: flex; justify-content: center; width: 100%; }
.wheel-box { position: relative; width: min(360px, 80vw); aspect-ratio: 1; }
.wheel-box canvas { width: 100%; height: 100%; filter: drop-shadow(0 18px 30px rgba(0,0,0,.6)); }
.roulette-result { position: absolute; right: -14px; top: 6px; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 2rem; font-weight: 900; border: 4px solid var(--gold); transform: scale(0); transition: transform .5s cubic-bezier(.2,1.8,.4,1); box-shadow: 0 0 30px rgba(255,209,102,.6); }
.roulette-result.show { transform: scale(1); }
.roulette-result.red { background: #c8102e; } .roulette-result.black { background: #141414; } .roulette-result.green { background: #0f9d58; }
.roulette-board-wrap { width: 100%; overflow-x: auto; padding-bottom: 6px; }
.roulette-board { display: grid; grid-template-columns: 54px repeat(12, minmax(40px, 1fr)) 54px; grid-template-rows: repeat(3, 52px) 44px 44px; gap: 3px; min-width: 720px; padding: 10px; border: 3px solid #e8c766; border-radius: 14px; background: rgba(0,0,0,.15); transition: opacity .3s; }
.roulette-board.closed { opacity: .75; }
.roulette-board.closed .rcell { cursor: not-allowed; }
.rcell { position: relative; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 6px; font-family: var(--font-display); font-weight: 800; font-size: .95rem; color: #fff; cursor: pointer; user-select: none; transition: filter .15s, box-shadow .2s; }
.rcell.red { background: #c8102e; } .rcell.black { background: #161616; } .rcell.green { background: #0f9d58; }
.rcell.outside { background: rgba(0,0,0,.2); font-size: .78rem; letter-spacing: .5px; }
.rcell.red-diamond { color: #ff1f3d; font-size: 1.5rem; } .rcell.black-diamond { color: #000; font-size: 1.5rem; text-shadow: 0 0 2px #fff; }
.rcell:hover, .rcell.hl { filter: brightness(1.35); box-shadow: inset 0 0 0 2px rgba(255,255,255,.8); }
.rcell.winner { animation: rWin .8s ease-in-out infinite alternate; z-index: 2; }
@keyframes rWin { to { box-shadow: 0 0 0 3px var(--gold), 0 0 26px var(--gold); filter: brightness(1.5); } }
.rcell .chip-stack { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.rcell .chip-stack .amt { font-size: .55rem; }
.rcell .others { position: absolute; top: 2px; right: 3px; font-size: .55rem; font-family: var(--font); background: rgba(139,92,246,.9); padding: 0 4px; border-radius: 6px; font-weight: 800; }
.pill.rnum { min-width: 32px; text-align: center; color: #fff; border: 0; }
.pill.rnum.red { background: #c8102e; } .pill.rnum.black { background: #222; } .pill.rnum.green { background: #0f9d58; }

/* ---------- Baccarat ---------- */
.bac-stage { justify-content: space-between; gap: 18px; }
.bac-hands { display: flex; align-items: flex-start; justify-content: center; gap: clamp(14px, 4vw, 50px); width: 100%; position: relative; z-index: 1; flex-wrap: wrap; }
.bac-hand { flex: 1; max-width: 340px; min-height: 190px; padding: 14px; border-radius: 18px; border: 2px dashed rgba(255,255,255,.25); text-align: center; transition: .3s; }
.bac-hand.player { border-color: rgba(59,130,246,.6); }
.bac-hand.banker { border-color: rgba(239,68,68,.6); }
.bac-hand.won { border-style: solid; box-shadow: 0 0 40px rgba(255,209,102,.5); border-color: var(--gold); }
.bac-label { font-family: var(--font-display); letter-spacing: 3px; margin-bottom: 12px; display: flex; justify-content: center; align-items: center; gap: 10px; }
.bac-hand.player .bac-label { color: #93c5fd; } .bac-hand.banker .bac-label { color: #fca5a5; }
.bac-total { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; font-size: 1.1rem; border: 2px solid currentColor; }
.bac-vs { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold); align-self: center; }
.bac-winner { font-family: var(--font-display); font-size: 1.6rem; font-weight: 900; min-height: 40px; opacity: 0; transform: scale(.5); transition: .4s cubic-bezier(.2,1.6,.4,1); position: relative; z-index: 1; }
.bac-winner.show { opacity: 1; transform: none; }
.bac-winner.player { color: #60a5fa; text-shadow: 0 0 20px #3b82f6; } .bac-winner.banker { color: #f87171; text-shadow: 0 0 20px #ef4444; } .bac-winner.tie { color: var(--green); text-shadow: 0 0 20px var(--green); }
.bac-spots { display: grid; grid-template-columns: 1fr 1.6fr 1fr 1.6fr 1fr; gap: 10px; width: 100%; position: relative; z-index: 1; }
.bac-spots.closed { opacity: .8; }
.bac-spot { position: relative; min-height: 110px; border-radius: 16px; border: 2px solid rgba(255,255,255,.5); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 14px; cursor: pointer; transition: .2s; background: rgba(0,0,0,.18); }
.bac-spot:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); }
.bac-spot b { font-family: var(--font-display); letter-spacing: 1.5px; font-size: .95rem; }
.bac-spot small { color: rgba(255,255,255,.7); font-size: .75rem; }
.bac-spot.player { border-color: #60a5fa; } .bac-spot.player b { color: #93c5fd; }
.bac-spot.banker { border-color: #f87171; } .bac-spot.banker b { color: #fca5a5; }
.bac-spot.tie { border-color: var(--green); } .bac-spot.tie b { color: var(--green); }
.bac-spot.pair b { font-size: .75rem; }
.bac-spot.winner { box-shadow: 0 0 0 3px var(--gold), 0 0 30px rgba(255,209,102,.6); }
.bac-spot .chip-stack { position: static; margin-top: 6px; }
.bac-spot .others { position: absolute; bottom: 6px; font-size: .7rem; color: #ddd6fe; }
.bead-road { display: grid; grid-template-rows: repeat(6, 22px); grid-auto-flow: column; grid-auto-columns: 22px; gap: 3px; overflow-x: auto; padding: 6px; border-radius: 10px; background: #fff; }
.bead { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .65rem; font-weight: 800; color: #fff; }
.bead.P { background: #2563eb; } .bead.B { background: #dc2626; } .bead.T { background: #16a34a; }
.bead-pill.P { color: #93c5fd; border-color: #2563eb; } .bead-pill.B { color: #fca5a5; border-color: #dc2626; } .bead-pill.T { color: var(--green); border-color: #16a34a; }
@media (max-width: 760px) { .bac-spots { grid-template-columns: 1fr 1fr; } .bac-spot.tie { grid-column: span 2; } }

/* ---------- Blackjack ---------- */
.bj-stage { padding: 0; min-height: 640px; background: #3b1d0b; border: 0; }
.bj-stage.my-turn { box-shadow: 0 0 0 3px var(--gold), 0 0 40px rgba(255,209,102,.4), var(--shadow); }
.bj-table { position: absolute; inset: 14px; border-radius: 30px 30px 50% 50% / 30px 30px 40% 40%; overflow: hidden;
    background: radial-gradient(ellipse at 50% 15%, #1a8a57, var(--felt) 45%, var(--felt-2) 100%); border: 10px solid #6b3a12; box-shadow: inset 0 0 60px rgba(0,0,0,.6), 0 0 0 3px #a8692b; }
.bj-table::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 4px 4px; }
.bj-shoe { position: absolute; top: 18px; right: 30px; width: 56px; height: 76px; }
.bj-shoe i { position: absolute; inset: 0; border-radius: 6px; border: 2px solid #fff; background: repeating-linear-gradient(45deg, #5b1aa8 0 5px, #3d0f78 5px 10px); box-shadow: 0 4px 10px rgba(0,0,0,.5); }
.bj-shoe i:nth-child(2) { transform: translate(3px, 3px); } .bj-shoe i:nth-child(3) { transform: translate(6px, 6px); }
.bj-dealer { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); text-align: center; z-index: 2; }
.bj-dealer-label { font-family: var(--font-display); font-size: .75rem; letter-spacing: 3px; color: rgba(255,255,255,.7); margin-bottom: 8px; display: flex; gap: 8px; justify-content: center; align-items: center; }
.bj-dealer .cards-row { min-height: 100px; }
.bj-value { display: inline-block; min-width: 30px; padding: 3px 9px; border-radius: 999px; background: rgba(0,0,0,.7); color: #fff; font-family: var(--font-display); font-size: .78rem; font-weight: 800; border: 2px solid rgba(255,255,255,.35); }
.bj-value:empty { display: none; }
.bj-value.bust { background: var(--red); border-color: #fff; }
.bj-value.bj { background: var(--gold); color: #1a0e00; border-color: #fff; }
.bj-arc-text { position: absolute; top: 175px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-family: var(--font-display); font-size: .72rem; letter-spacing: 3px; color: rgba(255,209,102,.6); border-top: 2px solid rgba(255,209,102,.35); border-bottom: 2px solid rgba(255,209,102,.35); padding: 6px 20px; border-radius: 50%; }
.bj-seats { position: absolute; left: 0; right: 0; bottom: 22px; height: 360px; }
.bj-seat { position: absolute; width: 160px; display: flex; flex-direction: column; align-items: center; gap: 8px; transform: translateX(-50%); }
.bj-seat:nth-child(1) { left: 12%; bottom: 120px; } .bj-seat:nth-child(2) { left: 30%; bottom: 40px; } .bj-seat:nth-child(3) { left: 50%; bottom: 10px; }
.bj-seat:nth-child(4) { left: 70%; bottom: 40px; } .bj-seat:nth-child(5) { left: 88%; bottom: 120px; }
.bj-hands { display: flex; gap: 10px; min-height: 92px; align-items: flex-end; }
.bj-hand { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px; border-radius: 10px; transition: .2s; }
.bj-hand.active-hand { box-shadow: 0 0 0 2px var(--gold); background: rgba(255,209,102,.1); }
.bj-hand .cards-fan .pcard + .pcard { margin-left: -38px; }
.bj-result { position: absolute; top: -16px; left: 50%; transform: translateX(-50%) scale(0); white-space: nowrap; padding: 3px 10px; border-radius: 12px; font-family: var(--font-display); font-size: .68rem; font-weight: 900; z-index: 5; transition: transform .35s cubic-bezier(.2,1.8,.4,1);
    display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.bj-result small { font-family: var(--font); font-size: 1.05em; font-weight: 800; }
.bj-result.show { transform: translateX(-50%) scale(1); }
.bj-result.win { background: var(--green); color: #032417; } .bj-result.blackjack { background: var(--gold); color: #1a0e00; box-shadow: var(--glow-gold); }
.bj-result.push { background: #64748b; color: #fff; } .bj-result.lose, .bj-result.bust { background: var(--red); color: #fff; }
.bj-bet-spot { width: 66px; height: 66px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.4); display: grid; place-items: center; transition: .2s; }
.bj-seat.me .bj-bet-spot { border-color: var(--gold); cursor: pointer; }
.bj-seat.me .bj-bet-spot:hover { background: rgba(255,209,102,.12); box-shadow: 0 0 20px rgba(255,209,102,.4); }
.bj-seat.empty .bj-bet-spot { opacity: .35; }
.bj-player { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 64px; }
.bj-avatar-wrap, .p-avatar { position: relative; width: 48px; height: 48px; display: grid; place-items: center; }
.bj-avatar-wrap .avatar, .p-avatar .avatar { width: 40px; height: 40px; font-size: 1.2rem; }
.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.ring circle { fill: none; stroke: var(--gold); stroke-width: 3; stroke-dasharray: 126; stroke-dashoffset: 126; opacity: 0; transition: stroke .3s; }
.bj-seat.active .ring circle, .p-seat.acting .ring circle { opacity: 1; filter: drop-shadow(0 0 4px var(--gold)); }
.bj-name { font-weight: 700; font-size: .82rem; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bj-seat.me .bj-name { color: var(--gold); }
.bj-status { font-size: .72rem; color: var(--green); font-weight: 700; min-height: 14px; }
.bj-seat.active .bj-player { animation: bob 1.4s ease-in-out infinite; }
.bj-seat.leaving { opacity: .5; }
.bj-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.bj-actions .btn { padding: 16px 8px; }
@media (max-width: 900px) {
    .bj-stage { min-height: 720px; }
    .bj-seat { width: 110px; } .bj-seat .pcard { --w: 46px !important; }
    .bj-seat:nth-child(1) { left: 12%; bottom: 200px; } .bj-seat:nth-child(5) { left: 88%; bottom: 200px; }
    .bj-arc-text { display: none; }
}

@media (max-width: 760px) {
    .bj-stage { min-height: 560px; }
    /* Flachere Rundung + kein Abschneiden: Randplätze liegen sonst in der Tischkurve */
    .bj-table { inset: 8px; border-width: 6px; border-radius: 24px 24px 30% 30% / 24px 24px 9% 9%; overflow: visible; }
    .bj-shoe { transform: scale(.7); right: 10px; top: 10px; }
    .bj-seats { --fan-max: 60px; height: auto; bottom: 18px; left: 4px; right: 4px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; align-items: end; }
    .bj-seat, .bj-seat:nth-child(n) { position: static; transform: none; width: auto; min-width: 0; left: auto; bottom: auto; gap: 6px; }
    .bj-seat .pcard { --w: 38px !important; }
    /* Hände untereinander und auf Spaltenbreite – Karten rücken zusammen, je mehr es werden */
    .bj-hands { position: relative; z-index: 3; align-self: stretch; flex-direction: column; align-items: stretch; gap: 4px; min-height: 80px; justify-content: flex-end; }
    .bj-hands:has(.bj-hand + .bj-hand) { gap: 14px; }
    .bj-hand { padding: 2px 0; }
    .bj-hand .cards-fan .pcard + .pcard { margin-left: calc(var(--w) * -1 + min(14px, (var(--fan-max) - var(--w)) / max(1, var(--n, 2) - 1))); }
    .bj-hands:has(.bj-hand + .bj-hand) .pcard { --w: 30px !important; }
    .bj-hands:has(.bj-hand + .bj-hand) .bj-value { font-size: .6rem; padding: 1px 5px; }
    .bj-result { top: -14px; left: 0; right: 0; margin: 0 auto; width: max-content; max-width: 100%; transform: scale(0);
        padding: 2px 5px; border-radius: 7px; font-family: var(--font); font-size: .56rem; letter-spacing: 0; }
    .bj-result.show { transform: scale(1); }
    .bj-result small { font-size: 1em; }
    .bj-bet-spot { width: 46px; height: 46px; }
    .bj-player { max-width: 100%; }
    .bj-player .btn { font-size: .62rem; padding: 4px 5px; white-space: normal; line-height: 1.15; max-width: 100%; }
    .bj-name { font-size: .7rem; max-width: 100%; }
    .bj-status { font-size: .6rem; max-width: 100%; overflow-wrap: anywhere; text-align: center; }
}
@media (max-width: 380px) {
    .bj-seats { --fan-max: 54px; }
    .bj-seat .pcard { --w: 34px !important; }
}

/* ---------- Poker ---------- */
.poker-stage { padding: 20px; min-height: 720px; justify-content: flex-start; background: radial-gradient(ellipse at 50% 50%, rgba(109,40,217,.25), transparent 70%), #0d0820; }
.poker-table { position: relative; width: 100%; max-width: 1080px; height: 600px; margin: 30px auto 0; }
.poker-felt { position: absolute; inset: 70px 90px; border-radius: 999px; background: radial-gradient(ellipse at 50% 40%, #1a8a57, var(--felt) 50%, var(--felt-2));
    border: 14px solid #4a2410; box-shadow: 0 0 0 4px #a8692b, inset 0 0 70px rgba(0,0,0,.65), 0 30px 60px rgba(0,0,0,.6); display: grid; place-items: center; }
.poker-logo { position: absolute; top: 22%; font-family: var(--font-display); font-weight: 900; letter-spacing: 8px; color: rgba(255,255,255,.08); font-size: 1.6rem; }
.poker-center { display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 2; }
.poker-pot { padding: 6px 16px; border-radius: 999px; background: rgba(0,0,0,.55); border: 1px solid rgba(255,209,102,.5); font-family: var(--font-display); font-size: .9rem; }
.poker-pot b { color: var(--gold); }
.poker-board { min-height: 100px; gap: 6px; }
.poker-message { font-size: .85rem; color: #e5defc; text-align: center; max-width: 440px; min-height: 20px; text-shadow: 0 2px 4px rgba(0,0,0,.8); }
.poker-seats { position: absolute; inset: 0; pointer-events: none; }
.p-seat { position: absolute; width: 170px; display: flex; flex-direction: column; align-items: center; gap: 4px; transform: translate(-50%, -50%); pointer-events: auto; transition: left .5s, top .5s; }
.p-seat.pos-0 { left: 50%; top: 90%; } .p-seat.pos-1 { left: 11%; top: 72%; } .p-seat.pos-2 { left: 11%; top: 24%; }
.p-seat.pos-3 { left: 50%; top: 8%; } .p-seat.pos-4 { left: 89%; top: 24%; } .p-seat.pos-5 { left: 89%; top: 72%; }
.p-cards { min-height: 40px; gap: 3px; }
.p-box { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(10,6,24,.92); border: 2px solid var(--border-strong); box-shadow: 0 8px 20px rgba(0,0,0,.5); min-width: 150px; }
.p-seat.empty .p-box { justify-content: center; padding: 10px 14px; background: rgba(10,6,24,.6); border-style: dashed; }
.p-info { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.p-name { font-size: .82rem; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-stack { font-size: .78rem; color: var(--gold); }
.p-seat.me .p-box { border-color: var(--gold); }
.p-seat.acting .p-box { border-color: var(--gold); box-shadow: 0 0 24px rgba(255,209,102,.6); }
.p-seat.folded .p-box { opacity: .5; }
.p-seat.winner .p-box { border-color: var(--green); box-shadow: 0 0 30px rgba(46,229,157,.7); animation: wobble 1s ease-in-out 2; }
.p-seat.allin .p-box::after { content: "ALL-IN"; position: absolute; transform: translate(80px, -24px); font-size: .6rem; font-weight: 900; background: var(--red); padding: 2px 6px; border-radius: 6px; }
.p-action { position: absolute; top: -12px; right: -6px; padding: 3px 9px; border-radius: 999px; font-size: .7rem; font-weight: 800; background: #fff; color: #111; opacity: 0; transform: scale(.6); transition: .25s cubic-bezier(.2,1.6,.4,1); white-space: nowrap; z-index: 4; }
.p-action.show { opacity: 1; transform: none; }
.p-action.fold { background: #64748b; color: #fff; } .p-action.raise { background: var(--gold); }
.p-bet { position: absolute; min-height: 10px; }
.p-seat.pos-0 .p-bet { top: -10px; right: -38px; } .p-seat.pos-3 .p-bet { bottom: -62px; }
.p-seat.pos-1 .p-bet, .p-seat.pos-2 .p-bet { right: -60px; top: 40%; } .p-seat.pos-4 .p-bet, .p-seat.pos-5 .p-bet { left: -60px; top: 40%; }
.p-dealer { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: #111; font-weight: 900; font-size: .75rem; display: none; place-items: center; box-shadow: 0 3px 8px rgba(0,0,0,.5); left: -8px; bottom: 6px; }
.p-seat.dealer-btn .p-dealer { display: grid; }
.p-win { position: absolute; bottom: -24px; font-family: var(--font-display); font-weight: 900; color: var(--green); text-shadow: 0 0 12px rgba(46,229,157,.9); font-size: 1rem; }
.poker-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; padding: 14px 18px; border-radius: 18px; background: rgba(10,6,24,.9); border: 1px solid rgba(255,209,102,.4); box-shadow: 0 0 30px rgba(255,209,102,.2); animation: tickIn .3s; }
.pa-info { width: 100%; text-align: center; color: var(--gold); font-weight: 700; font-size: .9rem; }
.pa-info:empty { display: none; }
.pa-raise { display: flex; flex-direction: column; gap: 6px; min-width: 240px; }
.pa-presets { display: flex; gap: 6px; }
.pa-presets .btn { flex: 1; }
#raise-input { padding: 8px 10px; }
.poker-myhand-bar { text-align: center; color: var(--gold); font-weight: 700; margin-top: 10px; min-height: 22px; }
@media (max-width: 900px) {
    .poker-table { height: 520px; }
    .poker-felt { inset: 70px 30px; }
    .p-seat { width: 120px; } .p-box { min-width: 0; padding-right: 8px; } .p-name { max-width: 60px; }
    .p-seat.pos-1, .p-seat.pos-2 { left: 14%; } .p-seat.pos-4, .p-seat.pos-5 { left: 86%; }
    .poker-board .pcard { --w: 46px !important; }
}


/* ---------- Grafik-Feinschliff ---------- */
.tc-felt { height: 170px; }
.hilo-btn .arrow .i { width: 34px; height: 34px; }
.bj-status { color: var(--green); }
.duel-row .sym-inline, .pill .sym-inline { width: 1.5em; height: 1.5em; }
.pill .i { width: 13px; height: 13px; vertical-align: -2px; }
.seg button .sym-inline { width: 1.3em; height: 1.3em; vertical-align: -.3em; }
.keno-pay small .sym-inline { width: 13px; height: 13px; vertical-align: -2px; }
.line-info .sym-inline { width: 1.5em; height: 1.5em; vertical-align: -.4em; }
.bac-spot .others .i { width: 12px; height: 12px; vertical-align: -2px; }
.pa-info .i, .poker-myhand-bar .i { color: var(--gold); }

/* Spielflächen, die ihren Inhalt bewusst beschneiden (Canvas, Ringe, Filzform) */
.limbo-stage, .crash-stage, .bj-stage { overflow: hidden; }

/* =====================================================================
   Slot: Aktionen, Bonus-Shop und Bonus-Modus
   ===================================================================== */
.slot-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.bonus-buy-btn { background: linear-gradient(135deg, #b13cff, #ff3d9a 55%, #ffb020); color: #fff; border-color: rgba(255,200,255,.6);
    box-shadow: 0 8px 26px rgba(255,61,154,.4); animation: buyGlow 2.4s ease-in-out infinite; font-family: var(--font-display); letter-spacing: 1px; }
@keyframes buyGlow { 50% { box-shadow: 0 8px 34px rgba(255,61,154,.75), 0 0 0 3px rgba(255,209,102,.35); } }
.slot-options { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; margin: 12px 0 10px; }
.slot-options label.field { margin-bottom: 0; }
.slot-options .seg { height: 46px; }
.paytable-box { width: 100%; max-width: 760px; }
.paytable-box summary { cursor: pointer; color: var(--muted); font-weight: 700; font-size: .85rem; padding: 6px 2px; list-style: none; display: flex; align-items: center; gap: 8px; }
.paytable-box summary::-webkit-details-marker { display: none; }
.paytable-box[open] summary { color: var(--text); margin-bottom: 8px; }

.shop-card { width: min(900px, 94vw); max-height: 92vh; overflow-y: auto; padding: 22px; }
.shop-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 12px; }
.shop-item { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, #2a1656, #160b30);
    border: 1px solid var(--border-strong); transition: transform .2s, box-shadow .2s; }
.shop-item:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.5), 0 0 26px rgba(255,61,154,.35); }
.shop-art { height: 116px; display: grid; place-items: center; position: relative;
    background: radial-gradient(circle at 50% 60%, rgba(255,209,102,.35), transparent 65%), linear-gradient(160deg, #4a1590, #1d0836); }
.shop-art img { height: 86px; filter: drop-shadow(0 8px 14px rgba(0,0,0,.5)); animation: heroFloat 4s ease-in-out infinite; }
.shop-art.art-sticky { background: radial-gradient(circle at 50% 60%, rgba(255,61,154,.45), transparent 65%), linear-gradient(160deg, #5b1aa8, #2a0640); }
.shop-art.art-wildstorm { background: radial-gradient(circle at 50% 50%, rgba(62,240,255,.45), transparent 65%), linear-gradient(160deg, #1e1b4b, #070318); }
.shop-art.art-golden { background: radial-gradient(circle at 50% 60%, rgba(255,209,102,.55), transparent 65%), linear-gradient(160deg, #6b3a00, #2a1200); }
.shop-art.art-coinrush { background: radial-gradient(circle at 50% 60%, rgba(255,176,32,.5), transparent 65%), linear-gradient(160deg, #713f12, #2a1200); }
.shop-body { padding: 10px 12px 4px; flex: 1; }
.shop-body h3 { margin: 0 0 4px; font-family: var(--font-display); font-size: .88rem; letter-spacing: .5px; }
.shop-body p { margin: 0; font-size: .74rem; color: var(--muted); line-height: 1.4; }
.shop-buy { margin: 8px 10px 12px; display: flex; flex-direction: column; gap: 0; padding: 8px; }
.shop-x { font-family: var(--font-display); font-size: 1.05rem; }
.shop-price { font-size: .74rem; opacity: .85; }
.shop-item.too-expensive { opacity: .5; }
.shop-item.too-expensive .shop-buy { filter: grayscale(.8); cursor: not-allowed; }

.feature-bar { display: none; align-items: center; justify-content: space-between; gap: 10px; margin: -4px 0 10px; padding: 8px 14px; border-radius: 12px;
    background: linear-gradient(90deg, rgba(255,61,154,.28), rgba(139,92,246,.28)); border: 1px solid rgba(255,209,102,.5);
    font-family: var(--font-display); font-size: .8rem; flex-wrap: wrap; }
.slot-machine.in-feature .feature-bar { display: flex; animation: pop .3s; }
.fb-title { color: var(--gold); letter-spacing: 2px; font-weight: 900; }
.fb-count { color: #e5defc; }
.fb-multi { padding: 3px 10px; border-radius: 999px; background: var(--gold); color: #2a1700; font-weight: 900; }
.fb-multi.pop { animation: multiPop .55s cubic-bezier(.2,1.8,.4,1); }
@keyframes multiPop { 40% { transform: scale(1.7); box-shadow: 0 0 26px var(--gold); } }
.fb-total b { color: var(--green); }
.slot-machine.in-feature { border-color: #ff3d9a; box-shadow: 0 0 0 6px #2a0b45, 0 0 60px rgba(255,61,154,.65), inset 0 0 40px rgba(0,0,0,.6); }
.slot-machine.feat-golden { border-color: var(--gold); box-shadow: 0 0 0 6px #3a2400, 0 0 70px rgba(255,209,102,.75), inset 0 0 40px rgba(0,0,0,.6); }
.slot-machine.feat-wildstorm { border-color: var(--cyan); box-shadow: 0 0 0 6px #062a3a, 0 0 70px rgba(62,240,255,.6), inset 0 0 40px rgba(0,0,0,.6); }
.slot-machine.feat-coinrush { border-color: #ffb020; box-shadow: 0 0 0 6px #3a2000, 0 0 70px rgba(255,176,32,.7), inset 0 0 40px rgba(0,0,0,.6); }

.sym.sticky::after { content: ""; position: absolute; inset: 3px; border-radius: 12px; border: 3px solid #ff3d9a;
    box-shadow: inset 0 0 16px rgba(255,61,154,.6); animation: stickyPulse 1s ease-in-out infinite alternate; pointer-events: none; }
@keyframes stickyPulse { to { box-shadow: inset 0 0 28px rgba(255,61,154,.95); } }
.reel.storm { animation: stormFlash .9s; }
@keyframes stormFlash { 0%, 30%, 60% { filter: brightness(2.2) saturate(1.5); } 15%, 45%, 100% { filter: none; } }
.reel .bolt { position: absolute; left: 50%; top: -6%; height: 112%; transform: translateX(-50%); z-index: 6; pointer-events: none; animation: boltIn .9s ease-out forwards; }
@keyframes boltIn { 0% { opacity: 0; transform: translateX(-50%) scaleY(.2); } 10% { opacity: 1; transform: translateX(-50%) scaleY(1); } 70% { opacity: 1; } 100% { opacity: 0; } }
.reel.wild-reel { box-shadow: inset 0 0 0 3px var(--cyan), inset 0 0 30px rgba(62,240,255,.7); }

.feature-overlay { position: absolute; inset: 0; z-index: 20; display: none; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; border-radius: 24px; background: radial-gradient(circle, rgba(40,10,70,.84), rgba(10,4,24,.94)); pointer-events: none; padding: 10px; }
.feature-overlay.show { display: flex; animation: fadeIn .25s; }
.fo-kicker { font-family: var(--font-display); letter-spacing: 4px; color: var(--pink); font-size: .85rem; }
.fo-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.8rem, 6vw, 3.6rem); line-height: 1.15; padding: 4px 10px;
    background: linear-gradient(180deg, #fff6c9 10%, var(--gold) 45%, var(--gold-2) 70%, #b86e00); -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 0 18px rgba(255,209,102,.7)); animation: zoomIn .5s cubic-bezier(.2,1.6,.4,1), wobble 1.2s ease-in-out .5s infinite; }
.fo-title.small { font-size: clamp(1.4rem, 5vw, 2.6rem); }
.fo-sub { color: #e5defc; margin-top: 8px; font-size: .95rem; padding: 0 16px; }
.feature-overlay.wildstorm .fo-title { background-image: linear-gradient(180deg, #fff, #9ff7ff 50%, #3ef0ff); filter: drop-shadow(0 0 18px rgba(62,240,255,.8)); }
.feature-overlay.sticky .fo-title { background-image: linear-gradient(180deg, #fff, #ff9ad5 50%, #ff3d9a); filter: drop-shadow(0 0 18px rgba(255,61,154,.8)); }
.feature-overlay.grand { background: radial-gradient(circle, rgba(120,60,0,.9), rgba(20,8,0,.96)); }
.feature-overlay.outro.big .fo-title { font-size: clamp(2.2rem, 8vw, 4.4rem); }

.gw-window { position: relative; width: min(560px, 92%); height: 110px; margin-top: 14px; overflow: hidden; border-radius: 14px; border: 3px solid var(--gold);
    background: #12062b; box-shadow: 0 0 40px rgba(255,209,102,.5), inset 0 0 30px rgba(0,0,0,.7); }
.gw-track { display: flex; height: 100%; will-change: transform; }
.gw-tile { flex: 0 0 96px; height: 100%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; font-size: 1.5rem;
    border-right: 2px solid rgba(255,255,255,.08); color: #b9b1db; }
.gw-tile.v5 { color: var(--cyan); } .gw-tile.v10 { color: var(--green); }
.gw-tile.v25 { color: var(--pink); background: rgba(255,61,154,.14); } .gw-tile.v50 { color: var(--gold); background: rgba(255,209,102,.16); }
.gw-tile.v100 { color: #fff; background: linear-gradient(160deg, #ff3d9a, #ffb020); }
.gw-tile.hit { animation: gwHit .5s ease-in-out infinite alternate; }
@keyframes gwHit { to { transform: scale(1.12); filter: brightness(1.5); } }
.gw-marker { position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; background: var(--gold); box-shadow: 0 0 14px var(--gold); z-index: 2; }

.coin-board { position: absolute; inset: 0; z-index: 5; display: none; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(3, 1fr);
    gap: 4px; padding: 4px; background: radial-gradient(circle at 50% 40%, #3a1d00, #120700); }
.coin-board.show { display: grid; animation: fadeIn .3s; }
.cb-cell { border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,209,102,.15); display: grid; place-items: center; position: relative; }
.coin-board.respin .cb-cell:not(.coin) { animation: cbSpin .35s linear infinite; }
@keyframes cbSpin { 50% { background: rgba(255,209,102,.2); } }
.cb-cell.coin { background: url(/img/art/coin-heads.svg) center / 80% no-repeat; animation: coinPop .45s cubic-bezier(.2,1.8,.4,1); }
.cb-cell.coin span { font-family: var(--font-display); font-weight: 900; font-size: clamp(.58rem, 2.1vw, .95rem); color: #fff; text-align: center; line-height: 1.05;
    text-shadow: 0 2px 4px #000; background: rgba(0,0,0,.5); padding: 3px 6px; border-radius: 8px; }
.cb-cell.coin small { display: block; font-size: .72em; color: var(--gold); letter-spacing: 1px; }
.cb-cell.big span { color: var(--green); }
.cb-cell.mini { filter: drop-shadow(0 0 10px var(--cyan)); } .cb-cell.mini small { color: var(--cyan); }
.cb-cell.major { filter: drop-shadow(0 0 14px #ff3d9a); } .cb-cell.major small { color: #ff7ac0; }
.cb-cell.collect { animation: collect .5s ease-out forwards; }
@keyframes coinPop { from { transform: scale(0) rotate(-140deg); } }
@keyframes collect { 50% { transform: scale(1.2); filter: brightness(1.7); } to { transform: scale(.92); opacity: .6; } }

/* =====================================================================
   Mobile je Spiel (Bühne passt in die verfügbare Höhe)
   ===================================================================== */
@media (max-width: 760px) {
    /* Slots */
    body.game-page .slots-stage { justify-content: center; gap: 8px; }
    body.game-page .slot-machine { padding: 8px 8px 6px; border-radius: 18px; border-width: 2px; box-shadow: 0 0 0 3px #2a0b45, 0 0 24px rgba(255,61,154,.4), inset 0 0 30px rgba(0,0,0,.6); }
    body.game-page .reel { --cell: min(calc((100vw - 64px) / 5), calc((100dvh - 440px) / 3), 96px); }
    body.game-page .reels { gap: 3px; }
    body.game-page .slot-title { font-size: 1rem; letter-spacing: 3px; margin: 2px 0 6px; }
    body.game-page .slot-lights i { width: 7px; height: 7px; }
    body.game-page .slot-lights i:nth-child(n+13) { display: none; }
    body.game-page .slot-display { margin: 6px 0 2px; gap: 5px; }
    body.game-page .slot-display > div { padding: 3px 6px; border-radius: 8px; }
    body.game-page .slot-display small { font-size: .52rem; letter-spacing: 1px; }
    body.game-page .slot-display b { font-size: .9rem; }
    body.game-page .paytable-box { display: none; }
    body.game-page .slot-options { margin: 6px 0 0; }
    body.game-page .slot-options .seg { height: 40px; }
    body.game-page .feature-bar { font-size: .62rem; padding: 5px 8px; gap: 6px; margin: 0 0 6px; }
    body.game-page .line-info { font-size: .72rem; bottom: 6px; }
    body.game-page .gw-window { height: 84px; }
    body.game-page .gw-tile { font-size: 1.15rem; }
    .shop-card { padding: 14px; }
    .shop-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .shop-art { height: 82px; } .shop-art img { height: 62px; }
    .shop-body p { font-size: .68rem; }

    /* Plinko (Canvas-Höhe setzt plinko.js) */
    body.game-page .plinko-stage { padding: 6px; justify-content: center; }
    /* Mines */
    body.game-page .mines-grid { width: min(100%, calc(100dvh - 430px)); gap: 6px; }
    body.game-page .tile { border-radius: 10px; }
    /* Dice */
    body.game-page .dice-stage { gap: 12px; justify-content: center; }
    body.game-page .dice-result { font-size: 3rem; }
    body.game-page .dice-slider-wrap { padding: 16px 14px 6px; }
    body.game-page .dice-inputs { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    body.game-page .dice-inputs .input, body.game-page .dice-inputs .btn { padding: 8px 6px; font-size: .82rem; }
    /* Limbo */
    body.game-page .limbo-number { font-size: 3.6rem; }
    /* Hi-Lo */
    body.game-page .hilo-main { gap: 10px; }
    body.game-page .hilo-card-slot { min-width: 96px; min-height: 134px; }
    body.game-page .hilo-card-slot .pcard { --w: 96px !important; }
    body.game-page .hilo-btn { width: 92px; padding: 10px 4px; border-radius: 14px; }
    body.game-page .hilo-btn .arrow .i { width: 24px; height: 24px; }
    body.game-page .hilo-btn b { font-size: .78rem; }
    body.game-page .hilo-btn small { font-size: .58rem; }
    body.game-page #skip { margin-top: 8px !important; padding: 8px 14px; }
    body.game-page .hilo-history { margin-top: 6px; padding: 8px 4px 10px; }
    body.game-page .hilo-history .pcard { --w: 32px !important; }
    /* Keno */
    body.game-page .keno-stage { gap: 10px; justify-content: center; }
    body.game-page .keno-grid { gap: 5px; }
    body.game-page .keno-cell { border-radius: 9px; font-size: .82rem; box-shadow: 0 3px 0 #130f2a; }
    body.game-page .keno-pays { gap: 3px; flex-wrap: nowrap; }
    body.game-page .keno-pay { min-width: 0; padding: 4px 1px; }
    body.game-page .keno-pay b { font-size: .58rem; }
    body.game-page .keno-pay small { font-size: .55rem; }
    /* Glücksrad */
    body.game-page .wheel-stage { justify-content: center; }
    body.game-page .wheel-wrap { width: min(86vw, calc(100dvh - 400px)); }
    body.game-page .wheel-pointer { width: 26px; height: 32px; margin-left: -13px; top: -10px; }
    /* Video Poker */
    body.game-page .vp-stage { gap: 10px; justify-content: center; }
    body.game-page .vp-paytable { font-size: .6rem; border-width: 2px; }
    body.game-page .vp-paytable td { padding: 2px 8px; }
    body.game-page .vp-hand { gap: 5px; padding-bottom: 22px; flex-wrap: nowrap; }
    body.game-page .vp-hand .pcard { --w: calc((100vw - 74px) / 5) !important; }
    body.game-page .pcard.held::after { font-size: .55rem; padding: 2px 6px; bottom: -20px; }
    body.game-page .vp-result { font-size: .95rem; min-height: 22px; }
    /* Coinflip */
    body.game-page .coin-stage { justify-content: flex-start; gap: 4px; }
    body.game-page .coin-arena { min-height: 150px; gap: 12px; }
    body.game-page .coin3d { width: 110px; height: 110px; }
    body.game-page .duelist { width: 74px; font-size: .75rem; }
    body.game-page .duelist .avatar.lg { width: 44px; height: 44px; }
    body.game-page .coin-caption { font-size: .85rem; }
    body.game-page .duels .section-title { font-size: .72rem; margin: 8px 0 6px !important; }
    body.game-page .duel-row { padding: 6px 8px; gap: 6px; font-size: .78rem; }
    /* Crash */
    body.game-page .crash-stage { min-height: 0; }
    body.game-page .crash-multi { font-size: 3.2rem; }
    body.game-page .crash-status { font-size: .85rem; }
    body.game-page .crash-timer { width: 180px; }
    /* Baccarat */
    body.game-page .bac-stage { gap: 8px; justify-content: space-between; }
    body.game-page .bac-hands { gap: 6px; flex-wrap: nowrap; }
    body.game-page .bac-hand { min-height: 0; padding: 6px; border-radius: 12px; }
    body.game-page .bac-hand .pcard { --w: 46px !important; }
    body.game-page .bac-hand .cards-row { gap: 3px; min-height: 64px; }
    body.game-page .bac-label { font-size: .62rem; letter-spacing: 1.5px; margin-bottom: 6px; gap: 6px; }
    body.game-page .bac-total { width: 26px; height: 26px; font-size: .8rem; }
    body.game-page .bac-vs { font-size: .8rem; }
    body.game-page .bac-winner { font-size: 1rem; min-height: 22px; }
    body.game-page .bac-spots { grid-template-columns: repeat(5, 1fr); gap: 4px; }
    body.game-page .bac-spot, body.game-page .bac-spot.tie { grid-column: auto; min-height: 66px; padding-top: 6px; border-radius: 10px; }
    body.game-page .bac-spot b { font-size: .56rem; letter-spacing: 0; }
    body.game-page .bac-spot small { font-size: .55rem; }
    body.game-page .bac-spot .others { font-size: .52rem; bottom: 2px; }
    /* Blackjack */
    body.game-page .bj-stage { min-height: 0; }
    body.game-page .bj-table { inset: 6px; }
    body.game-page .bj-dealer { top: 10px; }
    body.game-page .bj-dealer .cards-row { min-height: 66px; }
    body.game-page .bj-dealer .pcard { --w: 46px !important; }
    /* Dealer-Karten gefächert: bleiben in der Tischmitte, auch bei 6–7 Karten */
    body.game-page .bj-dealer .cards-row { gap: 0; }
    body.game-page .bj-dealer .cards-row .pcard + .pcard { margin-left: -16px; }
    body.game-page .bj-seats { bottom: 10px; }
    body.game-page .bj-actions .btn { padding: 12px 6px; }
    /* Roulette: Einsatzphase zeigt das Tableau, Drehphase den Kessel */
    body.game-page .roulette-stage { justify-content: center; gap: 6px; padding: 8px; }
    body.game-page .roulette-stage.m-betting .roulette-top { display: none; }
    body.game-page .roulette-stage.m-spinning .roulette-board-wrap { display: none; }
    body.game-page .wheel-box { width: min(78vw, calc(100dvh - 380px)); }
    body.game-page .roulette-result { right: 0; top: 0; width: 56px; height: 56px; font-size: 1.5rem; }
    body.game-page .roulette-board-wrap { overflow: visible; flex: 1 1 auto; min-height: 0; display: flex; }
    body.game-page .roulette-board.vertical { min-width: 0; width: 100%; height: 100%; padding: 6px; gap: 2px;
        grid-template-columns: 30px 34px repeat(3, 1fr); grid-template-rows: repeat(14, minmax(18px, 1fr)); }
    body.game-page .roulette-board.vertical .rcell { font-size: .78rem; border-radius: 4px; }
    body.game-page .roulette-board.vertical .rcell.outside { font-size: .58rem; letter-spacing: 0; }
    body.game-page .roulette-board.vertical .rcell.vtext span.lbl { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
    body.game-page .roulette-board.vertical .rcell.red-diamond, body.game-page .roulette-board.vertical .rcell.black-diamond { font-size: 1rem; }
    body.game-page .roulette-board.vertical .chip-stack { transform: translate(-50%, -50%) scale(.8); }
    body.game-page .roulette-board.vertical .chip-stack .chip ~ .chip { display: none; }
    body.game-page .roulette-board.vertical .others { font-size: .5rem; top: 1px; right: 1px; }
    /* Poker im Hochformat */
    body.game-page .poker-stage { flex: 1 1 auto; min-height: 0; padding: 6px; overflow: hidden; justify-content: flex-start; }
    body.game-page .poker-table { flex: 1 1 auto; height: auto; min-height: 0; margin: 0; max-width: none; width: 100%; }
    body.game-page .poker-felt { inset: 58px 30px 74px; border-width: 8px; border-radius: 140px; }
    body.game-page .poker-logo { font-size: .9rem; letter-spacing: 4px; top: 16%; }
    body.game-page .poker-pot { font-size: .72rem; padding: 4px 10px; }
    body.game-page .poker-board { min-height: 0; gap: 3px; }
    body.game-page .poker-board .pcard { --w: calc((100vw - 150px) / 5) !important; }
    body.game-page .poker-message { font-size: .7rem; max-width: 210px; }
    body.game-page .p-seat { width: 96px; }
    body.game-page .p-seat.pos-0 { left: 50%; top: 91%; } body.game-page .p-seat.pos-1 { left: 13%; top: 70%; }
    body.game-page .p-seat.pos-2 { left: 13%; top: 31%; } body.game-page .p-seat.pos-3 { left: 50%; top: 9%; }
    body.game-page .p-seat.pos-4 { left: 87%; top: 31%; } body.game-page .p-seat.pos-5 { left: 87%; top: 70%; }
    body.game-page .p-box { min-width: 0; padding: 3px 7px 3px 3px; gap: 4px; }
    body.game-page .p-avatar { width: 34px; height: 34px; }
    body.game-page .p-avatar .avatar { width: 28px; height: 28px; }
    body.game-page .p-name { font-size: .64rem; max-width: 50px; }
    body.game-page .p-stack { font-size: .6rem; }
    body.game-page .p-seat .pcard { --w: 28px !important; }
    body.game-page .p-seat.me .pcard { --w: 44px !important; }
    body.game-page .p-action { font-size: .55rem; padding: 2px 6px; }
    /* Plätze am rechten Rand: Aktions-Badge & Dealer-Button zur Tischmitte hin */
    body.game-page .p-seat.pos-4 .p-action, body.game-page .p-seat.pos-5 .p-action { right: auto; left: -6px; }
    body.game-page .p-seat.pos-1 .p-dealer, body.game-page .p-seat.pos-2 .p-dealer { left: auto; right: -8px; }
    body.game-page .p-dealer { width: 20px; height: 20px; font-size: .6rem; }
    body.game-page .p-seat.pos-1 .p-bet, body.game-page .p-seat.pos-2 .p-bet { right: -26px; }
    body.game-page .p-seat.pos-4 .p-bet, body.game-page .p-seat.pos-5 .p-bet { left: -26px; }
    body.game-page .p-seat.pos-0 .p-bet { right: -24px; top: -6px; }
    body.game-page .p-win { font-size: .75rem; bottom: -18px; white-space: nowrap; }
    /* eigener Platz unten: Gewinn rechts neben die Box, sonst überdeckt er die Hand-Anzeige */
    body.game-page .p-seat.pos-0 .p-win { left: 100%; margin-left: 4px; bottom: 12px; }
    body.game-page .poker-actions { flex: 0 0 auto; margin-top: 4px; padding: 8px; gap: 6px; border-radius: 12px; }
    body.game-page .poker-actions .btn-lg { padding: 10px 8px; font-size: .85rem; flex: 1; }
    body.game-page .pa-raise { min-width: 0; flex: 1 1 100%; order: 3; }
    body.game-page #raise-btn { order: 4; }
    body.game-page .poker-myhand-bar { margin-top: 4px; min-height: 0; font-size: .8rem; }
}

/* Handy: kleinere Münzflug-Höhe, damit die Münze im Bild bleibt; Bonus-Button im Kontostand ausblenden */
@keyframes coinUpSmall { 50% { translate: 0 -30px; scale: 1.1; } }
@media (max-width: 760px) {
    body.game-page .coin3d.flipping { animation-name: coinUpSmall; }
    .balance-pill a.btn-mini { display: none; }
}
@media (max-width: 760px) {
    body.game-page .crash-stage, body.game-page .bj-stage, body.game-page .limbo-stage { overflow: hidden; }
}
.slot-actions .btn { padding-left: 10px; padding-right: 10px; white-space: nowrap; }
.slot-actions { grid-template-columns: 1fr 1fr; }
.tc-felt { align-items: start; }
.tc-art { width: 66%; margin-top: 2px; }

/* Niedrige Handy-Bildschirme (z. B. iPhone SE): Blackjack-Tisch verdichten */
@media (max-width: 760px) and (max-height: 720px) {
    body.game-page .bj-dealer { top: 6px; }
    body.game-page .bj-dealer-label { margin-bottom: 4px; }
    body.game-page .bj-dealer .pcard { --w: 40px !important; }
    body.game-page .bj-dealer .cards-row { min-height: 56px; }
    body.game-page .bj-seats { bottom: 6px; }
    body.game-page .bj-seat { gap: 4px; }
    body.game-page .bj-bet-spot { width: 40px; height: 40px; }
    body.game-page .bj-player { min-height: 0; }
    body.game-page .bj-avatar-wrap { width: 40px; height: 40px; }
    body.game-page .bj-avatar-wrap .avatar { width: 34px; height: 34px; }
}

/* =====================================================================
   Chicken Road
   ===================================================================== */
.chicken-stage { padding: 0; overflow: hidden; min-height: 560px; justify-content: flex-start; align-items: stretch;
    background: #2a2c33; --lane: 104px; --curb: 130px; --cover: 74px; --chick: 82px; }
.cr-world { position: absolute; top: 0; bottom: 0; left: 0; display: flex; transition: transform .5s cubic-bezier(.3,.9,.3,1); }
.cr-curb { flex: 0 0 var(--curb); position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    background: linear-gradient(90deg, transparent calc(100% - 10px), #cbd5e1 calc(100% - 10px)),
        repeating-linear-gradient(0deg, #8d939e 0 2px, #a3aab5 2px 44px), #a3aab5; }
.cr-curb.start { background: linear-gradient(90deg, #2f7d32 0 26%, transparent 26%), linear-gradient(90deg, transparent calc(100% - 10px), #cbd5e1 calc(100% - 10px)),
        repeating-linear-gradient(0deg, #8d939e 0 2px, #a3aab5 2px 44px); }
.cr-curb.goal { background: linear-gradient(90deg, #cbd5e1 0 10px, transparent 10px), linear-gradient(90deg, transparent 74%, #2f7d32 74%),
        repeating-linear-gradient(0deg, #b9963c 0 2px, #d6b45a 2px 44px); }
.cr-sign { position: absolute; top: 14%; left: 50%; transform: translateX(-50%); white-space: nowrap; font-family: var(--font-display); font-weight: 900; font-size: .8rem; letter-spacing: 2px; padding: 6px 10px; border-radius: 8px;
    background: #0b0718; color: #fff; border: 2px solid rgba(255,255,255,.4); box-shadow: 0 6px 14px rgba(0,0,0,.4); }
.cr-sign.gold { color: var(--gold); border-color: var(--gold); }
.cr-egg { position: absolute; top: 24%; left: 50%; transform: translateX(-50%); }
.cr-egg img { width: 58px; filter: drop-shadow(0 0 16px rgba(255,209,102,.8)); animation: bob 2.4s ease-in-out infinite; }
.cr-lane { flex: 0 0 var(--lane); position: relative; overflow: hidden;
    background: linear-gradient(90deg, rgba(255,255,255,.03), transparent 30%, transparent 70%, rgba(0,0,0,.12)), #34363e; }
.cr-lane::before { content: ""; position: absolute; left: -2px; top: 0; bottom: 0; width: 4px; z-index: 1;
    background: repeating-linear-gradient(180deg, rgba(255,255,255,.6) 0 28px, transparent 28px 56px); }
.cr-lane:first-of-type::before, .cr-curb.goal::before { background: #e5e7eb; }
.cr-curb.goal::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.cr-cover { position: absolute; left: 50%; top: 50%; width: var(--cover); height: var(--cover); transform: translate(-50%, -50%); border-radius: 50%; z-index: 1;
    display: grid; place-items: center; text-align: center; transition: .3s;
    background: repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 3px, transparent 3px 9px), radial-gradient(circle, #5d626d, #3c3f47 70%);
    border: 4px solid #4d525c; box-shadow: inset 0 0 0 5px rgba(0,0,0,.22), 0 5px 12px rgba(0,0,0,.45); }
.cr-cover b { font-family: var(--font-display); font-size: .78rem; font-weight: 800; color: #fff; text-shadow: 0 1px 2px #000; padding: 0 4px; }
.cr-lane.next .cr-cover { border-color: var(--gold); animation: crGlow 1.4s ease-in-out infinite; }
@keyframes crGlow { 0%, 100% { box-shadow: 0 0 0 3px rgba(255,209,102,.3), 0 0 14px rgba(255,209,102,.35); } 50% { box-shadow: 0 0 0 6px rgba(255,209,102,.45), 0 0 30px rgba(255,209,102,.7); } }
.cr-lane.safe .cr-cover { background: radial-gradient(circle at 35% 30%, #fff6c9, #ffd166 45%, #e0a106); border-color: #fff3c4; }
.cr-lane.safe .cr-cover b { color: #3b2300; text-shadow: none; }
.cr-lane.pop .cr-cover { animation: crPop .45s cubic-bezier(.2,1.8,.4,1); }
@keyframes crPop { from { transform: translate(-50%, -50%) scale(.3); } }
.cr-barrier { position: absolute; left: 8px; right: 8px; top: 9%; height: 24px; border-radius: 6px; z-index: 2; opacity: 0;
    background: repeating-linear-gradient(45deg, #ef4444 0 10px, #fff 10px 20px); border: 2px solid #7f1d1d;
    box-shadow: 0 6px 10px rgba(0,0,0,.45); transform: translateY(-160%) scaleY(.4); transition: .4s cubic-bezier(.2,1.6,.4,1); }
.cr-lane.safe .cr-barrier { opacity: 1; transform: none; }
.cr-car { position: absolute; left: 50%; width: calc(var(--lane) * .56); margin-left: calc(var(--lane) * -.28); top: -140px; z-index: 3;
    animation: crDrive linear forwards; }
.cr-car svg { width: 100%; height: auto; display: block; }
@keyframes crDrive { from { top: -140px; } to { top: calc(100% + 30px); } }
.cr-chicken { position: absolute; top: 50%; width: var(--chick); z-index: 6; transform: translate(-50%, -64%); pointer-events: none; user-select: none;
    transition: left .38s cubic-bezier(.3,.8,.4,1), transform .2s; }
.cr-chicken img { display: block; width: 100%; height: auto; position: relative; }
.cr-chicken-shadow { position: absolute; left: 12%; right: 12%; bottom: -2%; height: 12%; border-radius: 50%; background: rgba(0,0,0,.45); }
.cr-chicken.hop { animation: crHop .38s ease-out; }
@keyframes crHop { 45% { translate: 0 -34px; } 100% { translate: 0 0; } }
.cr-chicken.happy { animation: crHappy .6s ease-in-out infinite; }
@keyframes crHappy { 50% { translate: 0 -16px; } }
.cr-chicken.dead { transform: translate(-50%, -18%) scale(1.25, .32); }
.cr-chicken.dead img { filter: sepia(1) saturate(2.6) hue-rotate(-18deg) brightness(.7); }
.cr-feather { position: absolute; top: 48%; width: 10px; height: 18px; margin-left: -5px; z-index: 5; background: #fff; border-radius: 50% 50% 50% 50% / 65% 65% 35% 35%;
    box-shadow: inset -2px 0 0 #ddd6c8; animation: crFeather 1.5s ease-out forwards; pointer-events: none; }
@keyframes crFeather { to { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); opacity: 0; } }
.cr-splat { position: absolute; top: 50%; width: 110px; height: 46px; margin: -10px 0 0 -55px; z-index: 1; border-radius: 50%;
    background: radial-gradient(ellipse, rgba(255,255,255,.55), rgba(255,255,255,.15) 45%, transparent 70%); }
.cr-hud { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 6; pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cr-hud-multi { font-family: var(--font-display); font-weight: 900; font-size: 2rem; color: #fff; padding: 4px 16px; border-radius: 14px;
    background: rgba(8,5,20,.75); border: 2px solid var(--gold); text-shadow: 0 0 14px rgba(255,209,102,.7); }
.cr-hud-multi.won { color: var(--green); border-color: var(--green); }
.cr-hud-multi.lost { color: var(--red); border-color: var(--red); text-decoration: line-through; }
.cr-hud-sub { font-size: .78rem; font-weight: 700; color: #e5defc; background: rgba(8,5,20,.7); padding: 3px 10px; border-radius: 999px; }
.cr-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cr-actions .btn { padding-left: 8px; padding-right: 8px; white-space: nowrap; }
.cr-actions .kbd { display: none; }
.cr-modes button { font-size: .82rem; }
@media (max-width: 760px) {
    .chicken-stage { --lane: 84px; --curb: 78px; --cover: 58px; --chick: 64px; }
    .cr-cover b { font-size: .66rem; }
    .cr-hud-multi { font-size: 1.5rem; }
    .cr-sign { font-size: .62rem; letter-spacing: 1px; padding: 4px 6px; }
    .cr-egg img { width: 40px; }
    body.game-page .chicken-stage { padding: 0; overflow: hidden; }
    body.game-page .cr-actions .btn { padding: 12px 8px; font-size: .95rem; }
    body.game-page .cr-actions .kbd { display: none; }
}

/* =====================================================================
   Ludo-Rauswurf (Mensch ärgere dich nicht)
   ===================================================================== */
.ludo-stage { min-height: 600px; padding: 12px; container-type: size;
    background: radial-gradient(ellipse at 50% 40%, rgba(225,29,72,.18), transparent 60%), radial-gradient(ellipse at 50% 100%, rgba(37,99,235,.2), transparent 60%), #0d0820; }
.ludo-board { position: relative; width: min(100cqw - 24px, 100cqh - 24px, 680px); aspect-ratio: 1; border-radius: 4%;
    background: radial-gradient(circle at 50% 50%, #fffaf0, #f4e6c4 70%, #e9d29d); border: 10px solid #8a5a2b;
    box-shadow: 0 0 0 3px #d9a75c, 0 26px 60px rgba(0,0,0,.6), inset 0 0 40px rgba(120,70,20,.25); }
.lq { position: absolute; width: 36.36%; height: 36.36%; border-radius: 12%; }
.q-red { background: rgba(225,29,72,.16); box-shadow: inset 0 0 0 3px rgba(225,29,72,.55); }
.q-blue { background: rgba(37,99,235,.16); box-shadow: inset 0 0 0 3px rgba(37,99,235,.55); }
.q-green { background: rgba(22,163,74,.16); box-shadow: inset 0 0 0 3px rgba(22,163,74,.55); }
.q-yellow { background: rgba(234,179,8,.2); box-shadow: inset 0 0 0 3px rgba(202,138,4,.6); }
.lf { position: absolute; width: 9.0909%; height: 9.0909%; display: grid; place-items: center; }
.lf::before { content: ""; width: 80%; height: 80%; border-radius: 50%; background: #fffdf7; border: 2px solid #4a3a26; box-shadow: inset 0 -3px 0 rgba(0,0,0,.12); box-sizing: border-box; }
.lf.s-red::before, .lf.h-red::before { background: #f43f5e; border-color: #881337; }
.lf.s-blue::before, .lf.h-blue::before { background: #3b82f6; border-color: #1e3a8a; }
.lf.s-green::before, .lf.h-green::before { background: #22c55e; border-color: #14532d; }
.lf.s-yellow::before, .lf.h-yellow::before { background: #facc15; border-color: #854d0e; }
.lf.house::before { opacity: .55; }
.lf.house.h-red::before { opacity: .9; }
.lf.base::before { background: rgba(255,255,255,.7); border-style: dashed; }
.lf em { position: absolute; font-style: normal; font-size: .55rem; font-weight: 800; color: rgba(0,0,0,.35); }
.lf.base.b-red::before { border-color: #be123c; } .lf.base.b-blue::before { border-color: #1d4ed8; }
.lf.base.b-green::before { border-color: #15803d; } .lf.base.b-yellow::before { border-color: #a16207; }
.lcenter { position: absolute; left: 45.45%; top: 45.45%; width: 9.09%; height: 9.09%; display: grid; place-items: center; }
.lcenter img { width: 85%; filter: drop-shadow(0 3px 4px rgba(0,0,0,.35)); }
.lp { position: absolute; width: 7.4%; z-index: 5; transform: translate(calc(-50% + var(--ox, 0%)), -76%); pointer-events: none;
    transition: left .09s linear, top .09s linear, filter .2s; }
.lp svg { width: 100%; display: block; overflow: visible; }
.p-red { --pc: #fb7185; --pd: #9f1239; z-index: 6; }
.p-blue { --pc: #60a5fa; --pd: #1e3a8a; } .p-green { --pc: #4ade80; --pd: #14532d; } .p-yellow { --pc: #fde047; --pd: #a16207; }
.lp.moving { z-index: 8; }
.lp.fly { z-index: 9; transition: left .55s cubic-bezier(.3,.9,.3,1), top .55s cubic-bezier(.3,.9,.3,1); }
.lp.danger { animation: lpDanger .8s ease-in-out infinite; }
@keyframes lpDanger { 0%, 100% { filter: drop-shadow(0 0 3px #ff1744); } 50% { filter: drop-shadow(0 0 9px #ff1744) drop-shadow(0 0 3px #ff1744); } }
.lp.prey { filter: drop-shadow(0 0 6px #ffd166) drop-shadow(0 0 2px #ffd166); }
.ludo-board.lost .p-red { opacity: .55; filter: grayscale(.6); }
.ld { position: absolute; width: 10.5%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 20%; background: linear-gradient(145deg, #fff, #e8e2d6);
    display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); padding: 1.6%; box-sizing: border-box; opacity: .45; transition: opacity .2s, box-shadow .2s;
    box-shadow: 0 6px 12px rgba(0,0,0,.35), inset 0 -3px 0 rgba(0,0,0,.12); }
.ld span { border-radius: 50%; margin: 16%; }
.ld span.on { background: #1a1026; }
.ld.active { opacity: 1; }
.d-red.active { box-shadow: 0 0 0 3px #e11d48, 0 6px 14px rgba(0,0,0,.4); } .d-blue.active { box-shadow: 0 0 0 3px #2563eb, 0 6px 14px rgba(0,0,0,.4); }
.d-green.active { box-shadow: 0 0 0 3px #16a34a, 0 6px 14px rgba(0,0,0,.4); } .d-yellow.active { box-shadow: 0 0 0 3px #ca8a04, 0 6px 14px rgba(0,0,0,.4); }
.ld.rolling { animation: ldRoll .42s linear; }
@keyframes ldRoll { 25% { transform: translate(-40%, -62%) rotate(100deg) scale(1.12); } 50% { transform: translate(-58%, -45%) rotate(190deg) scale(1.05); }
    75% { transform: translate(-45%, -58%) rotate(290deg) scale(1.1); } 100% { transform: translate(-50%, -50%) rotate(360deg); } }
.ludo-toast { position: absolute; left: 50%; top: 50%; z-index: 20; transform: translate(-50%, -50%) scale(.6); opacity: 0; pointer-events: none; white-space: nowrap;
    font-family: var(--font-display); font-weight: 900; font-size: clamp(1.3rem, 5vw, 2.4rem); padding: 10px 22px; border-radius: 16px;
    background: rgba(8,5,20,.88); transition: .25s cubic-bezier(.2,1.6,.4,1); }
.ludo-toast.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.ludo-toast.gold { color: var(--gold); border: 2px solid var(--gold); box-shadow: var(--glow-gold); }
.ludo-toast.red { color: var(--red); border: 2px solid var(--red); box-shadow: 0 0 30px rgba(255,77,109,.6); }
@media (max-width: 760px) {
    body.game-page .ludo-stage { padding: 6px; overflow: hidden; }
    .ludo-board { width: min(100cqw - 8px, 100cqh - 8px); border-width: 6px; }
    .lf::before { border-width: 1.5px; }
    body.game-page .cr-actions .btn { padding: 12px 8px; }
}

/* =====================================================================
   Royal Derby (Live-Pferderennen)
   ===================================================================== */
.derby-stage { padding: 0; overflow: hidden; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; min-height: 660px; background: #0d0820; }
.dy-track { position: relative; flex: 0 0 340px; overflow: hidden; border-radius: 18px 18px 0 0; --top: 24%; --bot: 5%; --hw: 104px;
    background: linear-gradient(180deg, #25476e, #4f86c0 var(--top), #2f6b2f var(--top)); }
.dy-crowd { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--top) - 2px); opacity: .95;
    background: radial-gradient(circle at 8px 7px, #f1c9a5 0 4px, transparent 4.5px), radial-gradient(circle at 8px 15px, #e11d48 0 6px, transparent 6.5px),
        radial-gradient(circle at 20px 11px, #c68642 0 4px, transparent 4.5px), radial-gradient(circle at 20px 19px, #2563eb 0 6px, transparent 6.5px),
        radial-gradient(circle at 32px 6px, #8d5524 0 4px, transparent 4.5px), radial-gradient(circle at 32px 14px, #facc15 0 6px, transparent 6.5px),
        linear-gradient(180deg, #3a2a52, #24183a);
    background-size: 40px 22px, 40px 22px, 40px 22px, 40px 22px, 40px 22px, 40px 22px, 100% 100%; }
.dy-world { position: absolute; top: 0; bottom: 0; left: 0; will-change: transform; }
.dy-rail { position: absolute; left: 0; right: 0; height: 12px; z-index: 2;
    background: linear-gradient(180deg, #fff 0 4px, transparent 4px), repeating-linear-gradient(90deg, #f1f5f9 0 5px, transparent 5px 90px); }
.dy-rail.top { top: calc(var(--top) - 4px); }
.dy-rail.bottom { bottom: calc(var(--bot) - 8px); z-index: 40; }
.dy-lanes { position: absolute; left: 0; right: 0; top: calc(var(--top) + 8px); bottom: var(--bot); display: flex; flex-direction: column;
    background: linear-gradient(180deg, rgba(0,0,0,.18), transparent 12%), #9a6a3c; }
.dy-lane { flex: 1; position: relative; border-bottom: 1px dashed rgba(255,255,255,.25);
    background: repeating-linear-gradient(90deg, rgba(0,0,0,.06) 0 70px, transparent 70px 140px); }
.dy-lane-no { position: absolute; left: 40px; top: 50%; transform: translateY(-50%); }
.dy-marker { position: absolute; top: calc(var(--top) - 22px); transform: translateX(-50%); z-index: 3; font-size: .66rem; font-weight: 800;
    background: #fff; color: #111; padding: 1px 6px; border-radius: 4px; box-shadow: 0 2px 4px rgba(0,0,0,.4); }
.dy-gate { position: absolute; top: calc(var(--top) + 8px); bottom: var(--bot); width: 34px; z-index: 30; border-radius: 4px;
    background: repeating-linear-gradient(180deg, #16a34a 0 8px, #f8fafc 8px 12px); box-shadow: 4px 0 10px rgba(0,0,0,.4); opacity: .9; }
.dy-finish { position: absolute; top: calc(var(--top) + 8px); bottom: var(--bot); width: 16px; z-index: 5;
    background: repeating-conic-gradient(#111 0 25%, #fff 0 50%) 0 0 / 16px 16px; }
.dy-finish span { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 14px; font-family: var(--font-display); font-weight: 900;
    font-size: .8rem; letter-spacing: 2px; color: #111; background: var(--gold); padding: 2px 10px; border-radius: 6px; box-shadow: 0 3px 8px rgba(0,0,0,.4); }
.dy-horses { position: absolute; inset: 0; z-index: 10; }
.dy-horse { position: absolute; left: 0; width: var(--hw); margin-left: calc(var(--hw) * -.92); will-change: transform; z-index: calc(10 + var(--lane));
    top: calc(var(--top) + 8px + (100% - var(--top) - var(--bot) - 8px) / 6 * (var(--lane) + .8) - var(--hw) * .66); }
.horse-svg { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)); }
.dy-horse .leg { transform: rotate(0); }
.dy-horse.run .horse-svg { animation: dyBob var(--gait) ease-in-out infinite; animation-delay: var(--delay); }
.dy-horse.run .leg.fa { animation: dyLegF var(--gait) linear infinite; animation-delay: var(--delay); }
.dy-horse.run .leg.fb { animation: dyLegF var(--gait) linear infinite; animation-delay: calc(var(--delay) - var(--gait) * .18); }
.dy-horse.run .leg.ha { animation: dyLegH var(--gait) linear infinite; animation-delay: calc(var(--delay) - var(--gait) * .5); }
.dy-horse.run .leg.hb { animation: dyLegH var(--gait) linear infinite; animation-delay: calc(var(--delay) - var(--gait) * .68); }
.dy-horse.run .jockey { animation: dyJockey var(--gait) ease-in-out infinite; animation-delay: var(--delay); }
@keyframes dyLegF { 0% { transform: rotate(-42deg); } 50% { transform: rotate(34deg); } 100% { transform: rotate(-42deg); } }
@keyframes dyLegH { 0% { transform: rotate(32deg); } 50% { transform: rotate(-36deg); } 100% { transform: rotate(32deg); } }
@keyframes dyBob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5px) rotate(-2deg); } }
@keyframes dyJockey { 50% { transform: translateY(2px); } }
.dy-live { position: absolute; left: 8px; top: 8px; z-index: 50; display: flex; gap: 6px; flex-wrap: wrap; pointer-events: none; }
.dy-live span { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 4px; border-radius: 999px; background: rgba(8,5,20,.82);
    font-size: .72rem; font-weight: 700; border: 1px solid rgba(255,255,255,.15); }
.dy-live em { font-style: normal; color: var(--gold); font-family: var(--font-display); }
.dy-countdown { position: absolute; left: 50%; top: 58%; z-index: 60; transform: translate(-50%, -50%) scale(.4); opacity: 0; pointer-events: none;
    font-family: var(--font-display); font-weight: 900; font-size: 3.4rem; color: #fff; text-shadow: 0 0 30px rgba(255,209,102,.9), 0 4px 0 #000; transition: .3s cubic-bezier(.2,1.6,.4,1); }
.dy-countdown.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.dy-no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; font-family: var(--font-display); font-weight: 900; font-size: .8rem;
    font-style: normal; box-shadow: inset 0 -2px 0 rgba(0,0,0,.25), 0 2px 4px rgba(0,0,0,.35); flex-shrink: 0; }
.dy-no.s1, .dy-progress i.s1 { background: #dc2626; color: #fff; } .dy-no.s2, .dy-progress i.s2 { background: #f8fafc; color: #111; }
.dy-no.s3, .dy-progress i.s3 { background: #2563eb; color: #fff; } .dy-no.s4, .dy-progress i.s4 { background: #facc15; color: #111; }
.dy-no.s5, .dy-progress i.s5 { background: #16a34a; color: #fff; } .dy-no.s6, .dy-progress i.s6 { background: #111827; color: #facc15; }
.dy-progress { position: relative; flex: 0 0 22px; margin: 10px 26px 4px; border-radius: 999px; background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.14)); }
.dy-progress i { position: absolute; top: 50%; width: 20px; height: 20px; border-radius: 50%; transform: translate(-50%, -50%); display: grid; place-items: center;
    font-size: .62rem; font-weight: 900; font-style: normal; box-shadow: 0 0 0 2px rgba(0,0,0,.4); transition: left .2s linear; }
.dy-progress-goal { position: absolute; right: -2px; top: -3px; bottom: -3px; width: 6px; border-radius: 2px; background: repeating-linear-gradient(180deg, #111 0 4px, #fff 4px 8px); }
.dy-board { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 6px 14px 14px; display: flex; flex-direction: column; gap: 6px; }
.dy-board-head, .dy-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) 86px 86px; gap: 8px; align-items: center; }
.dy-board-head { font-size: .66rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; padding: 0 6px; }
.dy-board-head span:first-child { grid-column: 1 / 3; }
.dy-board-head span:not(:first-child) { text-align: center; }
.dy-row { padding: 5px 6px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid transparent; transition: .2s; }
.dy-row.first { border-color: var(--gold); background: rgba(255,209,102,.1); box-shadow: 0 0 18px rgba(255,209,102,.25); }
.dy-row.second { border-color: rgba(203,213,225,.6); }
.dy-name { min-width: 0; display: flex; flex-direction: column; }
.dy-name b { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dy-name small { font-size: .68rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dy-odds { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 40px; border-radius: 10px; cursor: pointer;
    background: rgba(255,255,255,.06); border: 1px solid var(--border); color: #fff; font-family: var(--font-display); transition: .15s; }
.dy-odds b { font-size: .92rem; }
.dy-odds:hover:not(:disabled) { border-color: var(--gold); background: rgba(255,209,102,.12); transform: translateY(-1px); }
.dy-odds:disabled { cursor: default; opacity: .75; }
.dy-odds.has { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.dy-odds.won { border-color: var(--green); background: rgba(46,229,157,.18); box-shadow: 0 0 14px rgba(46,229,157,.45); opacity: 1; }
.dy-odds em { position: absolute; top: -7px; right: -5px; font-style: normal; font-family: var(--font); font-size: .6rem; font-weight: 800; padding: 1px 5px; border-radius: 999px; background: var(--gold); color: #1a0e00; }
.dy-odds small { font-family: var(--font); font-size: .58rem; color: var(--muted); }
.dy-slip { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; max-height: 150px; overflow-y: auto; }
.dy-slip-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 2px 8px; align-items: center; font-size: .8rem; padding: 4px 6px; border-radius: 8px; background: rgba(0,0,0,.25); }
.dy-slip-row span:nth-child(2) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dy-slip-row small { grid-column: 2 / 4; color: var(--muted); font-size: .7rem; text-align: right; }
.dy-pill { display: inline-flex; align-items: center; gap: 5px; padding-left: 3px; }
.dy-pill .dy-no { width: 18px; height: 18px; font-size: .62rem; border-radius: 5px; }
.dy-result { position: absolute; left: 50%; top: 170px; z-index: 70; transform: translate(-50%, -50%) scale(.6); opacity: 0; pointer-events: none;
    transition: .35s cubic-bezier(.2,1.6,.4,1); display: flex; flex-direction: column; align-items: center; gap: 8px; width: max-content; max-width: calc(100% - 20px); }
.dy-result.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.dy-podium { display: flex; gap: 8px; align-items: flex-end; max-width: 100%; }
.dy-podium > div { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 14px; border-radius: 14px; background: rgba(8,5,20,.9); text-align: center; min-width: 0; }
.dy-podium .p1 { border: 2px solid var(--gold); box-shadow: var(--glow-gold); padding-top: 16px; }
.dy-podium .p2 { border: 2px solid #cbd5e1; }
.dy-podium b { font-family: var(--font-display); font-size: .95rem; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.dy-podium small { font-size: .7rem; color: var(--muted); white-space: nowrap; }
.dy-mine { font-family: var(--font-display); font-weight: 900; font-size: 1.1rem; padding: 6px 16px; border-radius: 999px; background: rgba(8,5,20,.9); }
.dy-mine.win { color: var(--green); border: 2px solid var(--green); }
.dy-mine.lose { color: #e5defc; font-family: var(--font); font-size: .85rem; font-weight: 700; }
@media (max-width: 760px) {
    body.game-page .derby-stage { padding: 0; overflow: hidden; }
    .dy-track { --hw: 74px; border-radius: 14px 14px 0 0; }
    .derby-stage.m-betting .dy-track { flex: 0 0 36%; }
    .derby-stage.m-racing .dy-track { flex: 1 1 auto; }
    .derby-stage.m-racing .dy-board { display: none; }
    .dy-board { padding: 4px 8px 8px; gap: 4px; }
    .dy-board-head, .dy-row { grid-template-columns: 26px minmax(0, 1fr) 66px 66px; gap: 6px; }
    .dy-row { padding: 3px 4px; }
    .dy-odds { min-height: 34px; }
    .dy-odds b { font-size: .8rem; }
    .dy-name b { font-size: .8rem; }
    .dy-name small { font-size: .6rem; }
    .dy-progress { margin: 6px 16px 2px; flex-basis: 18px; }
    .dy-progress i { width: 16px; height: 16px; font-size: .55rem; }
    .dy-result { top: 45%; }
    .dy-podium > div { padding: 8px 10px; }
    .dy-podium b { font-size: .8rem; }
    .dy-countdown { font-size: 2.4rem; }
    .dy-live span { font-size: .62rem; }
    body.game-page .dy-slip { max-height: 64px; margin-top: 6px; }
}

/* =====================================================================
   Tycoon Live (Glücksrad-Show mit Brett-Bonus)
   ===================================================================== */
.tycoon-stage { padding: 12px; min-height: 660px; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 10px;
    background: radial-gradient(ellipse at 50% 35%, rgba(239,68,68,.22), transparent 60%), radial-gradient(ellipse at 50% 100%, rgba(255,209,102,.16), transparent 55%), #12081f; }
.ty-show { position: relative; flex: 1 1 0; min-height: 0; display: grid; place-items: center; container-type: size; }
.ty-wheel-box { position: relative; width: min(100cqw - 8px, 100cqh - 8px, 560px); aspect-ratio: 1; transition: opacity .4s, transform .4s; }
.ty-wheel-box canvas { width: 100%; height: 100%; display: block; filter: drop-shadow(0 18px 30px rgba(0,0,0,.6)); }
.ty-pointer { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); width: 0; height: 0; z-index: 2;
    border-left: 17px solid transparent; border-right: 17px solid transparent; border-top: 40px solid #ffd166; filter: drop-shadow(0 4px 4px rgba(0,0,0,.6)); }
.ty-pointer::after { content: ""; position: absolute; left: -9px; top: -36px; width: 18px; height: 18px; border-radius: 50%; background: #fff3c4; box-shadow: 0 0 10px rgba(255,209,102,.9); }
.ty-hub { position: absolute; left: 50%; top: 50%; width: 25%; aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-items: center; pointer-events: none; }
.ty-hub img { width: 78%; filter: drop-shadow(0 0 12px rgba(255,61,154,.6)); animation: logoGlow 5s ease-in-out infinite; }
.ty-show.bonus-on .ty-wheel-box { opacity: .12; transform: scale(.92); }
/* Einsatzfelder */
.ty-spots { flex: 0 0 auto; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.ty-spot { position: relative; min-height: 80px; border-radius: 14px; border: 2px solid rgba(255,255,255,.25); display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px; cursor: pointer; color: #fff; font-family: var(--font-display); transition: transform .15s, filter .2s, box-shadow .2s, border-color .2s; min-width: 0;
    box-shadow: inset 0 -4px 0 rgba(0,0,0,.25), 0 6px 14px rgba(0,0,0,.35); }
.ty-spot.s-n1 { background: linear-gradient(180deg, #faf7f0, #cfc8b8); color: #1f2937; }
.ty-spot.s-n2 { background: linear-gradient(180deg, #34d36e, #15803d); }
.ty-spot.s-n5 { background: linear-gradient(180deg, #f87171, #b91c1c); }
.ty-spot.s-n10 { background: linear-gradient(180deg, #60a5fa, #1d4ed8); }
.ty-spot.s-r2 { background: linear-gradient(180deg, #a855f7, #6b21a8); }
.ty-spot.s-r4 { background: linear-gradient(180deg, #ec4899, #9d174d); }
.ty-spot-label { font-size: 1.7rem; font-weight: 900; line-height: 1; text-shadow: 0 2px 0 rgba(0,0,0,.25); }
.s-r2 .ty-spot-label, .s-r4 .ty-spot-label { font-size: .9rem; letter-spacing: 1px; }
.ty-spot small { font-family: var(--font); font-size: .7rem; font-weight: 800; opacity: .85; }
.ty-spot:hover:not(.closed) { transform: translateY(-2px); border-color: var(--gold); }
.ty-spot.closed { cursor: default; filter: saturate(.7) brightness(.8); }
.ty-spot.winner { filter: none; border-color: #fff; animation: tyWin .7s ease-in-out infinite alternate; }
@keyframes tyWin { from { box-shadow: 0 0 0 3px var(--gold), 0 0 14px rgba(255,209,102,.5); } to { box-shadow: 0 0 0 4px #fff, 0 0 36px rgba(255,209,102,.95); } }
.ty-spot .chip-stack { position: absolute; left: auto; top: auto; right: 4px; bottom: 4px; transform: scale(.85); transform-origin: bottom right; }
.ty-others { position: absolute; top: 4px; right: 5px; font-family: var(--font); font-size: .58rem; font-weight: 800; background: rgba(0,0,0,.45); color: #fff; padding: 1px 5px; border-radius: 999px; }
.ty-mult { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: .78rem; font-weight: 900; color: #1a0e00;
    background: var(--gold); padding: 2px 9px; border-radius: 999px; box-shadow: var(--glow-gold); white-space: nowrap; }
.ty-pill { font-weight: 900; }
.ty-pill.s-n1 { background: #e9e5dc; color: #1f2937; } .ty-pill.s-n2 { background: #16a34a; color: #fff; } .ty-pill.s-n5 { background: #dc2626; color: #fff; }
.ty-pill.s-n10 { background: #2563eb; color: #fff; } .ty-pill.s-chance { background: #f59e0b; color: #1a0e00; }
.ty-pill.s-r2 { background: #7e22ce; color: #fff; } .ty-pill.s-r4 { background: #be185d; color: #fff; }
/* Ereigniskarte */
.ty-card { position: absolute; left: 50%; top: 50%; width: min(62cqw, 46cqh, 280px); aspect-ratio: 5 / 7; perspective: 1000px; z-index: 12; pointer-events: none;
    transform: translate(-50%, -50%) scale(.3) rotate(-25deg); opacity: 0; transition: transform .5s cubic-bezier(.2,1.4,.4,1), opacity .3s; }
.ty-card.show { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); }
.ty-card-inner { position: relative; width: 100%; height: 100%; transition: transform .7s cubic-bezier(.3,.9,.3,1); transform-style: preserve-3d; }
.ty-card.flipped .ty-card-inner { transform: rotateY(180deg); }
.ty-card-front, .ty-card-back { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 18px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 8px; padding: 14px; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,.65); }
.ty-card-front { background: repeating-linear-gradient(45deg, rgba(255,255,255,.12) 0 10px, transparent 10px 20px), linear-gradient(135deg, #f59e0b, #fbbf24 50%, #d97706);
    border: 4px solid #fff3c4; color: #3b2300; }
.ty-card-front b { font-family: var(--font-display); font-size: 5rem; line-height: 1; text-shadow: 0 4px 0 rgba(0,0,0,.2); }
.ty-card-front span { font-family: var(--font-display); letter-spacing: 3px; font-weight: 900; }
.ty-card-back { transform: rotateY(180deg); background: radial-gradient(circle at 50% 30%, #fffdf5, #fdf1d4); color: #1f2937; border: 4px solid #f59e0b; }
.ty-card-back small { text-transform: uppercase; letter-spacing: 2px; font-weight: 800; color: #b45309; font-size: .68rem; }
.ty-card-back b { font-family: var(--font-display); font-size: 1.25rem; color: #b91c1c; }
.ty-card-back b.ty-cash { color: #15803d; }
.ty-card-back strong { font-family: var(--font-display); font-size: 3.2rem; color: #15803d; line-height: 1; }
.ty-card-back span { font-size: .8rem; font-weight: 700; color: #4b5563; }
.ty-multis { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; }
.ty-multis i { font-style: normal; display: flex; justify-content: space-between; align-items: center; padding: 6px 9px; border-radius: 10px; font-family: var(--font-display); font-weight: 900; font-size: .95rem; }
.ty-multis i.s-n1 { background: #e9e5dc; } .ty-multis i.s-n2 { background: #16a34a; color: #fff; } .ty-multis i.s-n5 { background: #dc2626; color: #fff; } .ty-multis i.s-n10 { background: #2563eb; color: #fff; }
.ty-multis em { font-style: normal; background: #1a0e00; color: var(--gold); padding: 1px 6px; border-radius: 6px; font-size: .8rem; }
.ty-banner { position: absolute; left: 50%; bottom: 6px; z-index: 14; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; transition: .35s cubic-bezier(.2,1.5,.4,1);
    font-family: var(--font-display); font-weight: 900; font-size: 1rem; padding: 8px 18px; border-radius: 999px; background: rgba(8,5,20,.9); border: 2px solid var(--gold);
    color: var(--gold); box-shadow: var(--glow-gold); white-space: nowrap; max-width: calc(100% - 12px); overflow: hidden; text-overflow: ellipsis; }
.ty-banner.show { opacity: 1; transform: translate(-50%, 0); }
/* Bonus-Spielbrett */
.ty-bonus { position: absolute; inset: 0; z-index: 8; display: grid; place-items: center; animation: fadeIn .3s; }
.ty-bonus.hidden { display: none; }
.ty-board { position: relative; width: min(100cqw - 4px, 100cqh - 4px); aspect-ratio: 1; display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); grid-template-rows: repeat(13, minmax(0, 1fr));
    gap: 2px; padding: 5px; background: #1f3d2a; border-radius: 12px; box-shadow: 0 0 0 3px #ffd166, 0 24px 50px rgba(0,0,0,.65); box-sizing: border-box; }
.ty-bonus.flash .ty-board { animation: tyFlash .5s; }
@keyframes tyFlash { 50% { box-shadow: 0 0 0 6px #fff, 0 0 60px rgba(255,209,102,1); } }
.tf { position: relative; background: #eef6ea; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; color: #1f2937;
    text-align: center; min-width: 0; min-height: 0; border-radius: 2px; transition: background .2s; }
.tf-bar { position: absolute; }
.side-b .tf-bar { left: 0; right: 0; top: 0; height: 24%; } .side-t .tf-bar { left: 0; right: 0; bottom: 0; height: 24%; }
.side-l .tf-bar { top: 0; bottom: 0; right: 0; width: 24%; } .side-r .tf-bar { top: 0; bottom: 0; left: 0; width: 24%; }
.side-b { padding-top: 22%; } .side-t { padding-bottom: 22%; } .side-l { padding-right: 20%; } .side-r { padding-left: 20%; }
.tf-m { font-family: var(--font-display); font-weight: 900; font-size: clamp(.45rem, 2.3cqw, .9rem); color: #111827; line-height: 1.05; }
.tf-name { font-size: clamp(.32rem, 1.15cqw, .55rem); line-height: 1.05; color: #374151; max-width: 100%; overflow: hidden; }
.tf-tag { font-style: normal; font-size: clamp(.3rem, 1.1cqw, .5rem); font-weight: 900; letter-spacing: .5px; color: #fff; background: #111; padding: 0 3px; border-radius: 3px; }
.tf small { font-size: clamp(.35rem, 1.4cqw, .62rem); font-weight: 800; line-height: 1.1; }
.tf-big { font-family: var(--font-display); font-weight: 900; color: #b91c1c; font-size: clamp(.6rem, 3cqw, 1.3rem); }
.tf-q { font-family: var(--font-display); font-size: clamp(.7rem, 3cqw, 1.3rem); color: #d97706; }
.tf-GO { background: #fde68a; } .tf-JAIL { background: #fed7aa; } .tf-PARK { background: #bbf7d0; } .tf-GOTOJAIL { background: #fecaca; }
.tf-CHANCE { background: #fef3c7; } .tf-CHEST { background: #dbeafe; } .tf-TAX { background: #e5e7eb; }
.tf.hit { animation: tfHit .6s; }
@keyframes tfHit { 30% { background: #fff7c2; box-shadow: inset 0 0 0 3px #f59e0b; } }
.tf-pop { position: absolute; z-index: 9; transform: translate(-50%, -50%); white-space: nowrap; pointer-events: none; font-family: var(--font-display); font-weight: 900;
    font-size: clamp(.7rem, 3cqw, 1.1rem); padding: 3px 9px; border-radius: 8px; background: rgba(8,5,20,.9); color: #fff; animation: tfPop 1.5s forwards; }
.tf-pop.green { color: var(--green); border: 2px solid var(--green); } .tf-pop.gold { color: var(--gold); border: 2px solid var(--gold); }
.tf-pop.red { color: var(--red); border: 2px solid var(--red); } .tf-pop.muted { color: #cbd5e1; font-size: clamp(.55rem, 2cqw, .8rem); }
@keyframes tfPop { 0% { opacity: 0; transform: translate(-50%, -30%) scale(.6); } 15% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); } 80% { opacity: 1; transform: translate(-50%, -90%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -110%); } }
.ty-center { grid-area: 3 / 3 / 12 / 12; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6%; border-radius: 6px; padding: 4%;
    background: radial-gradient(circle, #f1faee, #bfdcc0); color: #1f2937; min-height: 0; }
.ty-center-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(.9rem, 4.6cqw, 2rem); color: #b91c1c; letter-spacing: 2px; text-shadow: 0 2px 0 rgba(0,0,0,.1); }
.ty-dice { display: flex; gap: 8%; justify-content: center; width: 100%; }
.ty-die { width: clamp(26px, 10cqw, 58px); aspect-ratio: 1; background: #fff; border-radius: 18%; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr);
    padding: 6%; box-sizing: border-box; box-shadow: 0 5px 10px rgba(0,0,0,.35), inset 0 -3px 0 rgba(0,0,0,.12); }
.ty-die span { border-radius: 50%; margin: 16%; }
.ty-die span.on { background: #b91c1c; }
.ty-die.rolling { animation: tyDie .3s linear infinite; }
@keyframes tyDie { 25% { transform: rotate(80deg) translateY(-6px); } 50% { transform: rotate(180deg); } 75% { transform: rotate(270deg) translateY(-4px); } 100% { transform: rotate(360deg); } }
.ty-center-info { font-size: clamp(.55rem, 2.2cqw, .95rem); font-weight: 700; text-align: center; line-height: 1.3; }
.ty-center-total { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.ty-center-total small { font-size: clamp(.5rem, 1.6cqw, .7rem); text-transform: uppercase; letter-spacing: 2px; font-weight: 800; color: #4b5563; }
.ty-center-total b { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.2rem, 7cqw, 3rem); color: #15803d; }
.ty-token { position: absolute; z-index: 7; width: 5.6%; transform: translate(-50%, -66%); transition: left .11s linear, top .11s linear; filter: drop-shadow(0 3px 3px rgba(0,0,0,.55)); pointer-events: none; }
.ty-token svg { width: 100%; display: block; }
@media (max-width: 760px) {
    body.game-page .tycoon-stage { padding: 8px; gap: 8px; overflow: hidden; }
    .ty-spots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
    .ty-spot { min-height: 50px; border-radius: 11px; }
    .ty-spot-label { font-size: 1.25rem; }
    .s-r2 .ty-spot-label, .s-r4 .ty-spot-label { font-size: .72rem; }
    .ty-spot small { font-size: .6rem; }
    .ty-spot .chip-stack { transform: scale(.65); }
    .ty-mult { font-size: .66rem; top: -9px; padding: 1px 7px; }
    .ty-banner { font-size: .8rem; padding: 6px 12px; }
    .ty-card-front b { font-size: 3.4rem; }
    .ty-card-back strong { font-size: 2.4rem; }
    .ty-card-back b { font-size: 1rem; }
    .ty-multis i { font-size: .8rem; padding: 4px 6px; }
    .tf-name { display: none; }
}

/* =====================================================================
   Handy: Spielflächen bekommen eine Mindesthöhe statt gequetscht zu werden.
   Passt alles auf den Bildschirm, bleibt es eine Seite – sonst darf die Seite etwas scrollen.
   ===================================================================== */
@media (max-width: 760px) {
    body.game-page main.container { height: auto; min-height: calc(100dvh - var(--hdr-h)); }
    body.game-page .game-shell { flex: 1 0 auto; }
    body.game-page .game-stage { flex: 1 0 auto; min-height: var(--stage-min, 340px); }
    body.game-page .game-panel { max-height: none; overflow-x: clip; overflow-y: visible; }
    body.game-page .bj-stage { --stage-min: 500px; min-height: var(--stage-min); }
    body.game-page .poker-stage { --stage-min: 540px; min-height: var(--stage-min); }
    body.game-page .roulette-stage { --stage-min: 470px; }
    body.game-page .slots-stage { --stage-min: 380px; }
    body.game-page .crash-stage { --stage-min: 360px; min-height: var(--stage-min); }
    body.game-page .derby-stage { --stage-min: 560px; }
    body.game-page .tycoon-stage { --stage-min: 560px; }
    body.game-page .chicken-stage { --stage-min: 400px; }
    body.game-page .ludo-stage { --stage-min: calc(100vw - 4px); }
    body.game-page .plinko-stage { --stage-min: 440px; }
    body.game-page .baccarat-stage, body.game-page .bac-stage { --stage-min: 460px; }
}

/* Derby: Wett-Anleitung & beschriftete Quoten-Buttons */
.dy-howto { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; justify-content: center; padding: 8px 10px; border-radius: 12px;
    background: linear-gradient(90deg, rgba(255,209,102,.16), rgba(255,61,154,.12)); border: 1px solid rgba(255,209,102,.45); font-size: .82rem; font-weight: 700; }
.dy-howto i { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); color: #1a0e00; font-style: normal; font-weight: 900; font-size: .72rem; margin-right: 4px; }
.dy-howto.closed-note { background: rgba(255,255,255,.05); border-color: var(--border); color: var(--muted); }
.dy-legend { text-align: center; font-size: .7rem; color: var(--muted); margin-top: -2px; }
.dy-odds { gap: 1px; padding: 4px 2px; min-height: 54px; }
.dy-odds .k { font-family: var(--font); font-size: .56rem; font-weight: 900; letter-spacing: 1px; padding: 1px 6px; border-radius: 999px; }
.dy-odds.k-w .k { background: rgba(255,209,102,.2); color: var(--gold); }
.dy-odds.k-p .k { background: rgba(62,240,255,.15); color: #7dd3fc; }
.dy-odds .pay { color: #cbd5e1; font-size: .58rem; }
.dy-board:not(.closed) .dy-odds { border-color: rgba(255,209,102,.35); box-shadow: 0 0 0 1px rgba(255,209,102,.12), 0 4px 10px rgba(0,0,0,.25); }
.dy-odds.placed { animation: dyPlaced .45s cubic-bezier(.2,1.6,.4,1); }
@keyframes dyPlaced { 40% { transform: scale(1.12); background: rgba(255,209,102,.35); } }
@media (max-width: 760px) {
    .dy-howto { font-size: .7rem; padding: 6px 8px; gap: 4px 10px; }
    .dy-legend { font-size: .6rem; }
    .dy-odds { min-height: 48px; }
    .dy-board-head, .dy-row { grid-template-columns: 26px minmax(0, 1fr) 72px 72px; }
}

/* Ludo: eigene Figur klar markieren */
.lp.me { width: 8.6%; z-index: 9; }
.lp-me { position: absolute; left: 50%; bottom: 100%; transform: translate(-50%, -2px); z-index: 2; white-space: nowrap;
    font-family: var(--font-display); font-weight: 900; font-size: clamp(.5rem, 2.4cqw, .8rem); color: #fff; background: #e11d48; padding: 1px 6px;
    border-radius: 6px; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.5); animation: lpMe 1.2s ease-in-out infinite; }
.lp-me::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -5px; border: 5px solid transparent; border-top-color: #fff; }
@keyframes lpMe { 50% { transform: translate(-50%, -6px); } }
.lp-ring { position: absolute; left: 50%; bottom: 0; width: 120%; aspect-ratio: 2.4; transform: translate(-50%, 35%); border-radius: 50%;
    border: 3px solid #ffd166; box-shadow: 0 0 12px #ffd166; animation: lpRing 1.2s ease-in-out infinite; z-index: -1; }
@keyframes lpRing { 50% { transform: translate(-50%, 35%) scale(1.25); opacity: .55; } }
.ludo-board.lost .lp-me, .ludo-board.lost .lp-ring { display: none; }
.lp:not(.me) { width: 6.4%; }
@media (max-width: 760px) {
    /* Größe direkt aus der Bildschirmbreite statt aus Container-Einheiten (die bei min-height-Layouts 0 ergeben) */
    body.game-page .ludo-stage { container-type: normal; --stage-min: 0px; flex: 0 0 auto; }
    body.game-page .ludo-board { width: min(100%, 560px); }
    body.game-page .tycoon-stage { --stage-min: 0px; flex: 0 0 auto; }
    body.game-page .ty-show { flex: 0 0 auto; height: min(calc(100vw - 36px), 440px); }
    .derby-stage.m-betting .dy-track { flex: 0 0 190px; }
    .derby-stage.m-racing .dy-track { flex: 1 1 auto; min-height: 330px; }
}

/* Blackjack: hoher Einsatz darf die eigenen Karten nicht verdecken –
   Stapel bleibt flach im Einsatzfeld (max. 3 Chips sichtbar), Betrag darunter, Hände liegen immer oben */
.bj-hands { position: relative; z-index: 6; }
.bj-bet-spot { position: relative; }
.bj-bet-spot .chip-stack { position: absolute !important; inset: 0; justify-content: center; }
.bj-bet-spot .chip-stack .chip:nth-child(n+4) { display: none; }
.bj-bet-spot .chip-stack .chip + .chip { margin-top: -27px !important; }
.bj-bet-spot .chip-stack .amt { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 3px; white-space: nowrap; }
@media (max-width: 760px) {
    .bj-bet-spot .chip-stack > div { transform: scale(.82); }
    .bj-bet-spot .chip-stack .chip:nth-child(n+3) { display: none; }
}

/* =====================================================================
   SlotFX – Bonus-Inszenierung (alle Slots)
   ===================================================================== */
.sfx-layer { position: absolute; inset: 0; z-index: 60; display: none; place-items: center; overflow: hidden; border-radius: inherit; cursor: pointer;
    --c1: #ffd166; --c2: #ff3d9a; --bg: rgba(10,5,24,.9); }
.sfx-layer.show { display: grid; animation: fadeIn .25s; }
.sfx-layer.t-egypt { --c1: #ffd166; --c2: #22d3ee; --bg: rgba(20,12,2,.92); }
.sfx-layer.t-candy { --c1: #fde047; --c2: #f472b6; --bg: rgba(60,8,46,.9); }
.sfx-layer.t-pirate { --c1: #fbbf24; --c2: #38bdf8; --bg: rgba(4,18,32,.92); }
.sfx-layer::before { content: ""; position: absolute; inset: 0; background: var(--bg); }
.sfx-rays { position: absolute; left: 50%; top: 50%; width: 260%; aspect-ratio: 1; transform: translate(-50%, -50%);
    background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--c1) 35%, transparent) 0 8deg, transparent 8deg 20deg);
    animation: sfxSpin 9s linear infinite; mask-image: radial-gradient(circle, #000 10%, transparent 55%); -webkit-mask-image: radial-gradient(circle, #000 10%, transparent 55%); }
.sfx-rays.slow { animation-duration: 20s; }
@keyframes sfxSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.sfx-burst { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; border-radius: 50%; transform: translate(-50%, -50%);
    box-shadow: 0 0 0 0 var(--c1); animation: sfxBurst .9s ease-out forwards; }
@keyframes sfxBurst { to { box-shadow: 0 0 0 340px transparent; } from { box-shadow: 0 0 0 0 var(--c1); } }
.sfx-box { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 16px; max-width: 100%; }
.sfx-icon { width: 96px; height: 96px; filter: drop-shadow(0 0 24px var(--c1)); animation: sfxIcon 1.2s cubic-bezier(.2,1.6,.4,1) both, bob 3s ease-in-out 1.2s infinite; }
@keyframes sfxIcon { from { transform: scale(0) rotate(-200deg); } }
.sfx-kicker { font-family: var(--font-display); font-weight: 900; letter-spacing: 4px; font-size: .9rem; color: var(--c2); text-shadow: 0 0 14px var(--c2); animation: zoomIn .5s both .1s; }
.sfx-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 7vw, 4rem); line-height: 1.05; white-space: nowrap; }
.sfx-title span { display: inline-block; background: linear-gradient(180deg, #fff 10%, var(--c1) 55%, color-mix(in srgb, var(--c1) 60%, #000));
    -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 0 rgba(0,0,0,.5)) drop-shadow(0 0 18px color-mix(in srgb, var(--c1) 60%, transparent));
    animation: sfxLetter .55s cubic-bezier(.2,1.8,.4,1) both; animation-delay: calc(.25s + var(--i) * .05s); }
@keyframes sfxLetter { from { transform: translateY(-120%) scale(2.2) rotate(-14deg); opacity: 0; } }
.sfx-sub { font-weight: 700; color: #f1edff; font-size: .95rem; max-width: 460px; animation: fadeIn .6s both .8s; }
.sfx-tap { font-size: .7rem; color: rgba(255,255,255,.45); margin-top: 6px; animation: fadeIn .4s both 1.2s; }
.sfx-rating { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; letter-spacing: 3px; padding: 4px 18px; border-radius: 12px; animation: zoomIn .4s cubic-bezier(.2,1.8,.4,1); }
.sfx-rating.ok { color: #e9e4ff; }
.sfx-rating.big { color: #2ee59d; text-shadow: 0 0 20px #2ee59d; }
.sfx-rating.mega { color: #3ef0ff; text-shadow: 0 0 22px #3ef0ff; font-size: 1.9rem; }
.sfx-rating.epic { color: #ff3d9a; text-shadow: 0 0 24px #ff3d9a; font-size: 2.2rem; }
.sfx-rating.legend { color: #ffd166; text-shadow: 0 0 28px #ffd166, 0 0 60px #ff3d9a; font-size: 2.5rem; animation: zoomIn .4s, sfxPulse .6s ease-in-out infinite alternate .4s; }
@keyframes sfxPulse { to { transform: scale(1.08); } }
.sfx-amount { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.2rem, 8vw, 4.4rem); color: #fff; white-space: nowrap;
    text-shadow: 0 0 22px color-mix(in srgb, var(--c1) 80%, transparent), 0 4px 0 rgba(0,0,0,.5); }
.sfx-stamp { position: absolute; left: 50%; top: 50%; z-index: 55; transform: translate(-50%, -50%); pointer-events: none; white-space: nowrap; text-align: center;
    font-family: var(--font-display); font-weight: 900; font-size: clamp(1.1rem, 4vw, 2rem); padding: 10px 22px; border-radius: 16px; background: rgba(8,5,20,.85);
    color: #fff; border: 2px solid rgba(255,255,255,.4); animation: sfxStamp 1.3s cubic-bezier(.2,1.6,.4,1) forwards; }
.sfx-stamp b { display: block; font-size: 1.3em; }
.sfx-stamp.gold { color: var(--gold); border-color: var(--gold); box-shadow: var(--glow-gold); }
.sfx-stamp.pink { color: #f9a8d4; border-color: #f472b6; box-shadow: 0 0 30px rgba(244,114,182,.6); }
.sfx-stamp.bomb { color: #fde047; border-color: #f97316; font-size: clamp(1.6rem, 6vw, 3rem); background: radial-gradient(circle, rgba(249,115,22,.5), rgba(8,5,20,.85)); animation-duration: .7s; }
.sfx-stamp.big { font-size: clamp(1.2rem, 4.5vw, 2.2rem); }
@keyframes sfxStamp { 0% { transform: translate(-50%, -50%) scale(2.4) rotate(-8deg); opacity: 0; } 18% { transform: translate(-50%, -50%) scale(1) rotate(0); opacity: 1; }
    80% { opacity: 1; } 100% { transform: translate(-50%, -70%) scale(.95); opacity: 0; } }

/* =====================================================================
   Video-Slots (Pharao, Candy, Piraten)
   ===================================================================== */
.vs-stage { justify-content: center; padding: 18px; }
.vs-machine { position: relative; width: 100%; max-width: 820px; --mw: 820px; padding: 14px 14px 12px; border-radius: 26px; display: flex; flex-direction: column; gap: 10px;
    background: var(--vs-frame); box-shadow: 0 0 0 4px var(--vs-rim), 0 0 40px var(--vs-glow), 0 30px 60px rgba(0,0,0,.6); }
.vs-title { text-align: center; font-family: var(--font-display); font-weight: 900; letter-spacing: 3px; font-size: 1.4rem; color: var(--vs-title);
    text-shadow: 0 2px 0 rgba(0,0,0,.5), 0 0 18px var(--vs-glow); }
.vs-bar { display: none; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 12px; border-radius: 12px; background: rgba(0,0,0,.45);
    border: 1px solid var(--vs-rim); font-weight: 800; font-size: .85rem; flex-wrap: wrap; }
.vs-machine.in-bonus .vs-bar { display: flex; animation: zoomIn .35s; }
.vs-machine.in-bonus { box-shadow: 0 0 0 4px var(--vs-rim), 0 0 70px var(--vs-glow), 0 0 120px var(--vs-glow), 0 30px 60px rgba(0,0,0,.6); animation: vsBonusGlow 2s ease-in-out infinite alternate; }
@keyframes vsBonusGlow { to { box-shadow: 0 0 0 4px var(--vs-rim), 0 0 40px var(--vs-glow), 0 0 80px var(--vs-glow), 0 30px 60px rgba(0,0,0,.6); } }
.vs-bar-title { font-family: var(--font-display); color: var(--vs-title); letter-spacing: 2px; }
.vs-bar-extra { color: var(--gold); display: inline-flex; align-items: center; gap: 4px; }
.vs-bar-extra.pop { animation: zoomIn .4s cubic-bezier(.2,1.8,.4,1); }
.vs-bar-total b { font-family: var(--font-display); color: var(--green); }
.vs-window { position: relative; --pad: 6px; --gap: 6px; --cw: calc((100% - 2 * var(--pad) - (var(--cols) - 1) * var(--gap)) / var(--cols));
    --ch: calc((100% - 2 * var(--pad)) / var(--rows)); border-radius: 16px; overflow: hidden;
    background: var(--vs-window); box-shadow: inset 0 0 30px rgba(0,0,0,.6), 0 0 0 3px var(--vs-rim); }
.vs-reels { position: absolute; inset: var(--pad); }
.vs-reels.mode-reels { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: var(--gap); }
.vs-reel { position: relative; overflow: hidden; container-type: size; border-radius: 10px; background: var(--vs-reel); }
.vs-reel.bump { animation: vsBump .25s; }
@keyframes vsBump { 40% { transform: translateY(5px); } }
.vs-reel.tension { box-shadow: inset 0 0 0 3px var(--gold), 0 0 26px var(--gold); animation: vsTension .5s ease-in-out infinite alternate; }
@keyframes vsTension { to { box-shadow: inset 0 0 0 3px #fff, 0 0 40px var(--gold); } }
.vs-strip { will-change: transform; }
.vs-strip.blur .vs-sym img { filter: blur(2px); }
.vs-sym { position: relative; display: grid; place-items: center; height: calc(100cqh / var(--rows)); transition: transform .2s, opacity .2s; }
.vs-sym img { width: 84%; height: 84%; object-fit: contain; pointer-events: none; }
.vs-machine.winning .vs-sym:not(.win):not(.scatter):not(.sticky) { opacity: .45; }
.vs-sym.win { animation: vsWin .7s ease-in-out infinite alternate; z-index: 2; }
.vs-sym.win::after, .vs-sym.scatter::after, .vs-sym.sticky::after { content: ""; position: absolute; inset: 4%; border-radius: 12px; pointer-events: none; }
.vs-sym.win::after { box-shadow: inset 0 0 0 3px var(--gold), 0 0 18px var(--gold); }
@keyframes vsWin { to { transform: scale(1.1); } }
.vs-sym.scatter { animation: vsScatter 1s ease-in-out infinite; z-index: 3; }
.vs-sym.scatter::after { box-shadow: inset 0 0 0 3px #fff, 0 0 26px var(--vs-glow), 0 0 40px var(--gold); }
@keyframes vsScatter { 50% { transform: scale(1.16) rotate(-4deg); } }
.vs-sym.sticky::after { box-shadow: inset 0 0 0 3px #f59e0b, 0 0 20px #f59e0b; }
.vs-sym.ghost { opacity: 0 !important; }
.vs-lines { position: absolute; inset: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); pointer-events: none; z-index: 4; }
.vs-lines .pl { fill: none; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; opacity: .55; filter: drop-shadow(0 0 6px currentColor); }
.vs-lines .pl.focus { opacity: 1; stroke-width: 9; }
.vs-info { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%) translateY(10px); z-index: 6; opacity: 0; transition: .25s; pointer-events: none;
    background: rgba(8,5,20,.88); border: 1px solid var(--gold); color: #fff; font-weight: 800; font-size: .85rem; padding: 4px 12px; border-radius: 999px;
    white-space: nowrap; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 4px; }
.vs-info.show { opacity: 1; transform: translateX(-50%); }
.vs-display { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vs-display > div { background: rgba(0,0,0,.45); border-radius: 10px; padding: 4px 10px; display: flex; justify-content: space-between; align-items: center; border: 1px solid rgba(255,255,255,.12); }
.vs-display small { font-size: .62rem; letter-spacing: 1.5px; color: rgba(255,255,255,.7); font-weight: 800; }
.vs-display b { font-family: var(--font-display); color: var(--gold); }
.vs-rules { font-size: .8rem; line-height: 1.55; padding-top: 6px; }
/* Kaskaden-Raster */
.vs-reels.mode-cascade { position: absolute; inset: var(--pad); overflow: hidden; border-radius: 10px; background: var(--vs-reel); }
.vs-cell { position: absolute; width: calc(100% / var(--cols)); height: calc(100% / var(--rows)); container-type: size; }
.vs-cell .vs-sym { height: 100%; }
.vs-cell .vs-sym img { width: 88%; height: 88%; }
.vs-cell.pop .vs-sym { animation: vsPop .42s ease-in forwards; }
@keyframes vsPop { 40% { transform: scale(1.35); filter: brightness(2); } 100% { transform: scale(0); opacity: 0; } }
.vs-bomb { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--font-display); font-weight: 900; font-size: clamp(.7rem, 26cqh, 1.4rem);
    color: #fff; text-shadow: 0 0 6px #000, 0 2px 0 #000; font-style: normal; }
.vs-cell.bomb-hit .vs-sym { animation: vsBombHit .6s ease-out; }
@keyframes vsBombHit { 40% { transform: scale(1.5); filter: brightness(1.8) drop-shadow(0 0 20px #fde047); } }
/* schwebende Figuren (laufender Kapitän) */
.vs-sprite { position: absolute; z-index: 8; width: var(--cw); height: var(--ch);
    display: grid; place-items: center; transition: left .6s cubic-bezier(.4,1.3,.5,1), opacity .5s; pointer-events: none; }
.vs-sprite img { width: 86%; height: 86%; object-fit: contain; filter: drop-shadow(0 0 12px var(--gold)); }
.vs-sprite.walking img { animation: vsWalk .3s ease-in-out 2; }
@keyframes vsWalk { 50% { transform: translateY(-14%) rotate(-8deg); } }
.vs-sprite.leave { opacity: 0; }

/* Pharao: Buch-Auswahl & Expansion */
.vs-book-pick { position: absolute; inset: 0; z-index: 58; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
    background: radial-gradient(circle, rgba(255,209,102,.25), rgba(20,12,2,.92) 65%); border-radius: inherit; animation: fadeIn .3s; }
.vs-book { display: flex; perspective: 900px; filter: drop-shadow(0 20px 30px rgba(0,0,0,.6)); }
.vs-page { width: min(28vw, 150px); aspect-ratio: 3 / 4; background: linear-gradient(90deg, #f3e3b5, #fff8e1); border: 4px solid #8a5a00; display: grid; place-items: center; }
.vs-page.left { border-radius: 14px 0 0 14px; transform-origin: right; animation: vsPageOpen .8s ease-out both;
    background: repeating-linear-gradient(0deg, transparent 0 14px, rgba(138,90,0,.18) 14px 16px), linear-gradient(90deg, #f3e3b5, #fff8e1); }
.vs-page.right { border-radius: 0 14px 14px 0; border-left: 2px solid #8a5a00; }
@keyframes vsPageOpen { from { transform: rotateY(-160deg); } }
.vs-page img { width: 80%; }
.vs-book-pick.chosen .vs-page.right img { animation: zoomIn .5s cubic-bezier(.2,1.8,.4,1); filter: drop-shadow(0 0 20px #ffd166); }
.vs-book-label { font-family: var(--font-display); font-weight: 900; color: #ffd166; font-size: 1.1rem; letter-spacing: 2px; text-shadow: 0 0 14px #ffd166; }
.vs-expand { position: absolute; top: var(--pad); bottom: var(--pad); z-index: 7; width: var(--cw); display: flex; flex-direction: column;
    border-radius: 10px; background: radial-gradient(ellipse, rgba(255,209,102,.5), rgba(120,70,0,.85)); box-shadow: inset 0 0 0 3px #ffd166, 0 0 30px #ffd166;
    animation: vsExpand .45s cubic-bezier(.2,1.4,.4,1) both; transform-origin: center; overflow: hidden; }
.vs-expand img { flex: 1; min-height: 0; width: 100%; object-fit: contain; padding: 6%; filter: drop-shadow(0 0 10px #fff3b8); }
.vs-expand::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(255,255,255,.6), transparent); transform: translateY(-100%);
    animation: vsSweep 1.2s ease-in-out .3s infinite; }
@keyframes vsExpand { from { transform: scaleY(.33); opacity: .4; } }
@keyframes vsSweep { to { transform: translateY(100%); } }

/* Piraten: Schatzsuche */
.vs-hunt { position: absolute; inset: 0; z-index: 57; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: inherit;
    background: radial-gradient(ellipse at 50% 20%, #0e4a73, #041626 70%); animation: fadeIn .3s; }
.vh-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.vh-title { font-family: var(--font-display); font-weight: 900; color: #fbbf24; letter-spacing: 3px; font-size: 1.3rem; text-shadow: 0 0 14px #fbbf24; }
.vh-stats { display: flex; gap: 14px; font-weight: 800; font-size: .85rem; }
.vh-stats b { font-family: var(--font-display); color: var(--green); }
.vh-grid { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(3, 1fr); gap: 8px; min-height: 0; }
.vh-chest { position: relative; border: 0; cursor: pointer; border-radius: 12px; container-type: size;
    background: linear-gradient(180deg, #d4a24c 0 38%, #7c4a12 38% 44%, #a16207 44%); box-shadow: inset 0 -6px 0 rgba(0,0,0,.35), inset 0 0 0 3px #5a3a00, 0 6px 12px rgba(0,0,0,.45);
    transition: transform .15s; display: grid; place-items: center; overflow: hidden; }
.vh-chest:hover:not(.open) { transform: translateY(-3px) scale(1.03); box-shadow: inset 0 -6px 0 rgba(0,0,0,.35), inset 0 0 0 3px #ffd166, 0 0 20px #ffd166; }
.vh-lid { position: absolute; left: 44%; top: 30%; width: 12%; height: 22%; border-radius: 3px; background: #ffd166; box-shadow: 0 0 0 2px #5a3a00; }
.vh-chest.open { cursor: default; background: radial-gradient(circle, rgba(255,209,102,.35), rgba(0,0,0,.4)); box-shadow: inset 0 0 0 2px rgba(255,209,102,.5); animation: zoomIn .35s cubic-bezier(.2,1.6,.4,1); }
.vh-chest.dim { opacity: .35; }
.vh-prize { display: flex; flex-direction: column; align-items: center; gap: 2px; color: #fff; font-weight: 800; font-size: clamp(.55rem, 14cqh, .9rem); }
.vh-prize img, .vh-prize .hp-ico { width: 42cqh; height: 42cqh; }
.vh-prize b { font-family: var(--font-display); white-space: nowrap; }
.hp-x2 { font-family: var(--font-display); font-weight: 900; font-size: 34cqh; color: #ffd166; text-shadow: 0 0 14px #ffd166; line-height: 1; }
.vh-chest.p-kraken { background: radial-gradient(circle, rgba(162,28,175,.6), rgba(30,0,40,.8)); box-shadow: inset 0 0 0 3px #e879f9; }
.vh-chest.p-double { box-shadow: inset 0 0 0 3px #ffd166, 0 0 20px #ffd166; }
.vh-chest.p-shield { box-shadow: inset 0 0 0 3px #60a5fa, 0 0 16px #60a5fa; }
.vh-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 700; font-size: .85rem; color: #cbe7ff; }

/* ---------------- Themes ---------------- */
.theme-pharao { --vs-frame: linear-gradient(180deg, #4a2c06, #241303); --vs-rim: #d4a24c; --vs-glow: rgba(255,209,102,.45); --vs-title: #ffd166;
    --vs-window: linear-gradient(180deg, #0b1d33, #06101d); --vs-reel: linear-gradient(180deg, rgba(212,162,76,.08), rgba(0,0,0,.25));
    background: radial-gradient(ellipse at 50% 0%, rgba(212,162,76,.3), transparent 60%), linear-gradient(180deg, #2a1806, #0d0820); }
.theme-pharao .vs-machine { background-image: linear-gradient(180deg, #4a2c06, #241303), repeating-linear-gradient(90deg, rgba(255,209,102,.08) 0 2px, transparent 2px 22px); }
.theme-candy { --vs-frame: linear-gradient(180deg, #f9a8d4, #c026d3); --vs-rim: #fff; --vs-glow: rgba(244,114,182,.55); --vs-title: #fff;
    --vs-window: repeating-linear-gradient(135deg, #fde2f3 0 18px, #fcd2ec 18px 36px); --vs-reel: rgba(255,255,255,.18);
    background: radial-gradient(ellipse at 50% 0%, rgba(244,114,182,.35), transparent 60%), linear-gradient(180deg, #4a0d3a, #0d0820); }
.theme-candy .vs-title { text-shadow: 0 3px 0 #9d174d, 0 0 18px #fff; }
.theme-candy .vs-display > div, .theme-candy .vs-bar { background: rgba(80,10,60,.55); }
.theme-pirate { --vs-frame: linear-gradient(180deg, #7c4a12, #3b2306); --vs-rim: #c99a4a; --vs-glow: rgba(56,189,248,.35); --vs-title: #fbbf24;
    --vs-window: linear-gradient(180deg, #0e3a5c, #072238); --vs-reel: linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.2));
    background: radial-gradient(ellipse at 50% 0%, rgba(56,189,248,.25), transparent 60%), linear-gradient(180deg, #06263d, #0d0820); }
.theme-pirate .vs-machine { background-image: repeating-linear-gradient(0deg, rgba(0,0,0,.12) 0 3px, transparent 3px 26px), linear-gradient(180deg, #7c4a12, #3b2306); }

@media (max-width: 760px) {
    body.game-page .vs-stage { padding: 6px; --stage-min: 0px; }
    .vs-machine { padding: 8px; gap: 6px; border-radius: 18px; }
    .vs-title { font-size: 1rem; letter-spacing: 2px; }
    .vs-window { --pad: 3px; --gap: 3px; }
    .vs-bar { font-size: .68rem; padding: 4px 8px; }
    .vs-info { font-size: .68rem; }
    .sfx-icon { width: 64px; height: 64px; }
    .sfx-sub { font-size: .8rem; }
    .vs-hunt { padding: 8px; gap: 6px; }
    .vh-title { font-size: 1rem; }
    .vh-grid { gap: 5px; }
}

.theme-candy .vs-machine { max-width: 600px; }

/* Neon Fortune: Bühne verwandelt sich während des Bonus */
.slots-stage { transition: background .8s; }
.slots-stage.bonus-on { background: radial-gradient(ellipse at 50% 40%, var(--bonus-c, rgba(255,61,154,.35)), transparent 65%), #0b0718; }
.slots-stage.bonus-on::before { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: .5;
    background: repeating-conic-gradient(from 0deg at 50% 45%, var(--bonus-c, rgba(255,61,154,.3)) 0 6deg, transparent 6deg 18deg); animation: sfxSpinBg 30s linear infinite; }
@keyframes sfxSpinBg { to { filter: hue-rotate(360deg); } }
.slots-stage.bonus-freespins { --bonus-c: rgba(62,240,255,.32); }
.slots-stage.bonus-sticky { --bonus-c: rgba(255,61,154,.38); }
.slots-stage.bonus-wildstorm { --bonus-c: rgba(120,160,255,.4); }
.slots-stage.bonus-golden { --bonus-c: rgba(255,209,102,.42); }
.slots-stage.bonus-coinrush { --bonus-c: rgba(255,180,0,.38); }
.slots-stage.bonus-on .slot-machine { z-index: 1; }

/* =====================================================================
   Video-Slots: zusätzliche Bonus-Effekte & Themes (Ganja Island, Club Midnight)
   ===================================================================== */
.sfx-layer.t-reggae { --c1: #facc15; --c2: #22c55e; --bg: rgba(8,28,10,.92); }
.sfx-layer.t-club { --c1: #ff3df2; --c2: #3ef0ff; --bg: rgba(18,4,36,.92); }
.sfx-stamp.green { color: #86efac; border-color: #22c55e; box-shadow: 0 0 30px rgba(34,197,94,.6); }
/* Plaketten (Multiplikatoren) auf Symbolen */
.vs-badge { position: absolute; z-index: 3; right: 4%; bottom: 4%; font-style: normal; font-family: var(--font-display); font-weight: 900;
    font-size: clamp(.6rem, 22cqh, 1.05rem); padding: 1px 6px; border-radius: 8px; background: #111; color: #fde047; border: 2px solid #fde047;
    box-shadow: 0 0 10px rgba(253,224,71,.7); animation: zoomIn .35s cubic-bezier(.2,1.8,.4,1); }
.mode-reels .vs-badge { font-size: clamp(.55rem, calc(100cqh / var(--rows) * .2), 1.05rem); }
.vs-badge.hot { color: #fff; background: linear-gradient(135deg, #ff3df2, #f97316); border-color: #fff; box-shadow: 0 0 14px #ff3df2; }
.vs-sym.flip { animation: vsFlip .45s ease-out; }
@keyframes vsFlip { 0% { transform: rotateY(90deg) scale(.6); filter: brightness(2.5); } 100% { transform: none; } }
.vs-sym.glued::after { content: ""; position: absolute; inset: 4%; border-radius: 12px; pointer-events: none; box-shadow: inset 0 0 0 3px #22d3ee, 0 0 18px #22d3ee; }
.vs-reel.grow { animation: vsGrow .7s ease-out; }
@keyframes vsGrow { 30% { box-shadow: inset 0 0 0 4px #4ade80, 0 0 40px #22c55e; transform: scaleY(1.04); } }
.vs-expand.eternal { background: radial-gradient(ellipse, rgba(34,211,238,.45), rgba(8,60,80,.85)); box-shadow: inset 0 0 0 3px #22d3ee, 0 0 30px #22d3ee; }
.vs-page.left img, .vs-page.right img { width: 80%; }
.vs-page img.chosen-img { animation: zoomIn .5s cubic-bezier(.2,1.8,.4,1); filter: drop-shadow(0 0 18px #ffd166); }
/* Skarabäus-Schatz (Hold & Win) */
.vs-hold { position: absolute; inset: var(--pad); z-index: 9; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(3, 1fr); gap: var(--gap);
    background: rgba(12,8,2,.92); border-radius: 10px; animation: fadeIn .3s; }
.vs-hold.respin .vh-cell:not(.coin):not(.collector) { animation: vhSpin .6s linear; }
@keyframes vhSpin { 50% { background: rgba(255,209,102,.18); } }
.vh-cell { position: relative; border-radius: 10px; background: linear-gradient(180deg, rgba(212,162,76,.12), rgba(0,0,0,.3)); border: 1px solid rgba(212,162,76,.3);
    display: grid; place-items: center; container-type: size; overflow: hidden; }
.vh-cell img { width: 62cqh; height: 62cqh; object-fit: contain; }
.vh-cell b { position: absolute; bottom: 6%; left: 50%; transform: translateX(-50%); font-family: var(--font-display); font-weight: 900; font-size: clamp(.55rem, 20cqh, 1rem);
    color: #fff; text-shadow: 0 2px 0 #000, 0 0 8px #000; white-space: nowrap; }
.vh-cell.coin { background: radial-gradient(circle, rgba(255,209,102,.45), rgba(90,58,0,.7)); border-color: #ffd166; animation: zoomIn .35s cubic-bezier(.2,1.8,.4,1); }
.vh-cell.coin.big { box-shadow: 0 0 18px #ffd166; }
.vh-cell.collector { background: radial-gradient(circle, rgba(59,130,246,.5), rgba(10,20,60,.85)); border: 2px solid #ffd166; box-shadow: 0 0 26px #ffd166; animation: zoomIn .45s cubic-bezier(.2,1.8,.4,1); }
.vh-cell.beam { animation: vhBeam .7s ease-in; }
@keyframes vhBeam { 60% { transform: scale(.85); filter: brightness(2); } }
.vh-cell.collect { animation: vhCollect .5s ease-in forwards; }
@keyframes vhCollect { to { transform: translateY(-30%) scale(.5); opacity: 0; } }
/* Zuckerrausch-Feldmultiplikatoren */
.vs-spots { position: absolute; inset: 0; z-index: 0; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(5, 1fr); gap: 2px; }
.vs-spots i { display: grid; place-items: end start; padding: 3px 5px; border-radius: 8px; font-style: normal; font-family: var(--font-display); font-weight: 900;
    font-size: .7rem; color: #fff; text-shadow: 0 1px 2px #000; transition: background .3s; }
.vs-spots i.s1 { background: rgba(255,255,255,.35); box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
.vs-spots i.s2 { background: rgba(251,191,36,.45); } .vs-spots i.s3 { background: rgba(249,115,22,.55); }
.vs-spots i.s4 { background: rgba(236,72,153,.6); } .vs-spots i.s5 { background: rgba(168,85,247,.7); }
.vs-spots i.s6 { background: linear-gradient(135deg, #f43f5e, #a855f7); box-shadow: 0 0 14px #f0abfc; }
.vs-spots i.up { animation: zoomIn .4s cubic-bezier(.2,1.8,.4,1); }
.vs-cell { z-index: 1; }
/* Piraten: Kanonenkugeln & Kraken */
.vs-cannonball { position: absolute; left: -40px; z-index: 12; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #94a3b8, #1e293b 60%, #000); box-shadow: 0 0 12px rgba(0,0,0,.8), -16px 0 18px rgba(249,115,22,.7);
    transition: left .42s cubic-bezier(.3,.6,.5,1); }
.vs-cannonball.boom { background: radial-gradient(circle, #fff7c2, #f97316 40%, rgba(249,115,22,0) 70%); transform: scale(4); opacity: 0; transition: transform .45s, opacity .45s; }
.vs-tentacle { position: absolute; top: var(--pad); bottom: var(--pad); width: var(--cw); z-index: 11; pointer-events: none; border-radius: 10px;
    background: repeating-radial-gradient(circle at 50% 120%, rgba(162,28,175,.85) 0 12px, rgba(112,26,117,.85) 12px 22px);
    box-shadow: inset 0 0 0 3px #e879f9, 0 0 30px #a21caf; animation: vsTentacle .9s ease-in-out forwards; transform-origin: bottom; }
@keyframes vsTentacle { 0% { transform: scaleY(0) skewX(-12deg); opacity: 1; } 45% { transform: scaleY(1.05) skewX(8deg); opacity: 1; } 100% { transform: scaleY(1) skewX(0); opacity: 0; } }
/* Club: Bass-Drop-Stroboskop & Partylicht */
.vs-strobe { position: absolute; top: var(--pad); bottom: var(--pad); width: var(--cw); z-index: 11; pointer-events: none; border-radius: 10px;
    animation: vsStrobe 1.2s steps(2) forwards; }
@keyframes vsStrobe { 0%, 40%, 80% { background: rgba(255,255,255,.85); box-shadow: 0 0 60px #fff; } 20%, 60% { background: rgba(255,61,242,.6); box-shadow: 0 0 60px #ff3df2; } 100% { opacity: 0; } }
.vs-machine.party::before { content: ""; position: absolute; inset: -14px; z-index: -1; pointer-events: none; border-radius: 34px; filter: blur(18px);
    background: conic-gradient(from 0deg, #ff3df2, #3ef0ff, #a3ff3d, #ffd23d, #ff3df2); animation: sfxSpinBg 6s linear infinite; opacity: .45; }
@keyframes vsPartySpin { to { transform: rotate(360deg); } }

.theme-ganja { --vs-frame: linear-gradient(180deg, #14532d, #052e16); --vs-rim: #facc15; --vs-glow: rgba(250,204,21,.4); --vs-title: #facc15;
    --vs-window: linear-gradient(180deg, #0f2a14, #071a0b); --vs-reel: linear-gradient(180deg, rgba(34,197,94,.08), rgba(0,0,0,.25));
    background: radial-gradient(ellipse at 50% 0%, rgba(34,197,94,.3), transparent 60%), linear-gradient(180deg, #0a2410, #0d0820); }
.theme-ganja .vs-machine { background-image: linear-gradient(90deg, rgba(220,38,38,.25) 0 6px, transparent 6px calc(100% - 6px), rgba(220,38,38,.25) calc(100% - 6px)),
    repeating-linear-gradient(0deg, rgba(250,204,21,.06) 0 4px, transparent 4px 28px), linear-gradient(180deg, #14532d, #052e16); }
.theme-ganja .vs-title { background: linear-gradient(90deg, #ef4444, #facc15, #22c55e); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none;
    filter: drop-shadow(0 2px 0 rgba(0,0,0,.6)); }
.theme-club { --vs-frame: linear-gradient(180deg, #2e1065, #0f0420); --vs-rim: #ff3df2; --vs-glow: rgba(255,61,242,.45); --vs-title: #3ef0ff;
    --vs-window: radial-gradient(ellipse at 50% 0%, #2a0b4d, #0b0218); --vs-reel: linear-gradient(180deg, rgba(62,240,255,.05), rgba(0,0,0,.3));
    background: radial-gradient(ellipse at 50% 0%, rgba(255,61,242,.3), transparent 60%), linear-gradient(180deg, #14002b, #0d0820); }
.theme-club .vs-title { text-shadow: 0 0 10px #3ef0ff, 0 0 24px #ff3df2; }
.theme-club .vs-machine { box-shadow: 0 0 0 3px #ff3df2, 0 0 0 6px #3ef0ff, 0 0 50px rgba(255,61,242,.45), 0 30px 60px rgba(0,0,0,.6); }

.vs-machine { isolation: isolate; }

/* hohe Raster (5×4) nicht größer als der Bildschirm */
.theme-club .vs-machine { max-width: min(660px, calc((100vh - 330px) * 1.3)); }
.theme-ganja .vs-machine { max-width: min(820px, calc((100vh - 300px) * 1.6)); }
.theme-pharao .vs-machine, .theme-pirate .vs-machine { max-width: min(820px, calc((100vh - 300px) * 1.6)); }
@media (max-width: 760px) { .theme-club .vs-machine, .theme-ganja .vs-machine, .theme-pharao .vs-machine, .theme-pirate .vs-machine { max-width: 100%; } }
