/* ================= Casino ================= */
.casino-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.casino-head h2 { margin: 0; }
.phase-pill { margin-left: auto; font-size: .82rem; font-weight: 700; padding: .3em .8em; border-radius: 999px; background: var(--panel2); border: 1px solid var(--line); }
.phase-pill.betting { border-color: var(--up); color: var(--up); }
.phase-pill.spinning, .phase-pill.running, .phase-pill.playing, .phase-pill.dealer { border-color: var(--gold); color: var(--gold2); }
.phase-pill.result, .phase-pill.crashed { border-color: var(--down); color: var(--down); }
.gold-text { color: var(--gold2); }
.big-btn { padding: .9em; font-size: 1.05rem; }
.pulse { animation: pulseBtn 1s infinite; }
@keyframes pulseBtn { 50% { box-shadow: 0 0 0 6px rgba(62,207,122,.25); } }

/* Lobby */
.casino-lobby { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.game-card {
  display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  background: var(--panel); transition: transform .2s, border-color .2s, box-shadow .2s;
}
.game-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 12px 30px rgba(212,175,55,.15); }
.game-card.closed { opacity: .5; }
.gc-art { height: 130px; display: grid; place-items: center; font-size: 72px; filter: drop-shadow(0 6px 12px rgba(0,0,0,.5)); }
.gc-roulette .gc-art { background: radial-gradient(circle at 50% 120%, #1c7a45, #0b3d22); }
.gc-blackjack .gc-art, .bj-lobby .gc-art { background: radial-gradient(circle at 50% 120%, #17643a, #0a3320); }
.gc-slots .gc-art { background: radial-gradient(circle at 50% 120%, #7a1f1f, #2a0808); }
.gc-crash .gc-art { background: radial-gradient(circle at 50% 120%, #1d3f73, #08142b); }
.gc-coinflip .gc-art { background: radial-gradient(circle at 50% 120%, #8a6d1c, #2a2008); }
.bj-lobby.t2 .gc-art { background: radial-gradient(circle at 50% 120%, #4a5560, #15191d); }
.bj-lobby.t3 .gc-art { background: radial-gradient(circle at 50% 120%, #8a6d1c, #2a2008); }
.gc-body { padding: 14px 16px 16px; }
.gc-body h3 { margin: 0 0 4px; font-size: 1.15rem; }
.gc-body p { margin: 0 0 8px; }
.gc-live { font-size: .85rem; }

/* Chips */
.chip {
  --c: #e8e8e8; --t: #222;
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; flex: none;
  background:
    radial-gradient(circle, var(--c) 52%, transparent 53%),
    repeating-conic-gradient(var(--c) 0 15deg, #fff 15deg 30deg);
  box-shadow: inset 0 0 0 3px rgba(0,0,0,.18), 0 2px 4px rgba(0,0,0,.5);
  color: var(--t); font: 800 11px Inter, sans-serif; position: relative;
}
.chip::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.55); }
.chip.c0 { --c: #e9e9e9; --t: #222; } .chip.c1 { --c: #c62828; --t: #fff; } .chip.c2 { --c: #2e7d32; --t: #fff; }
.chip.c3 { --c: #1b1b1b; --t: #fff; } .chip.c4 { --c: #6a1b9a; --t: #fff; } .chip.c5 { --c: #f9a825; --t: #222; }
.chip.c6 { --c: #ef6c00; --t: #fff; } .chip.c7 { --c: #0277bd; --t: #fff; }
.chip.c8 { --c: #c2185b; --t: #fff; } .chip.c9 { --c: #d4af37; --t: #241c06; box-shadow: inset 0 0 0 3px rgba(0,0,0,.18), 0 0 10px rgba(212,175,55,.6), 0 2px 4px rgba(0,0,0,.5); }
.chip.mine { outline: 2px solid var(--gold2); outline-offset: 1px; }
.chip-bar { display: flex; gap: 6px; flex-wrap: wrap; }
.chip-btn { background: none; border: 0; padding: 2px; cursor: pointer; border-radius: 50%; transition: transform .15s; }
.chip-btn:hover { transform: translateY(-3px); }
.chip-btn.sel { transform: translateY(-5px); filter: drop-shadow(0 0 6px var(--gold)); }
.chip-btn .chip { width: 44px; height: 44px; font-size: 12px; }

/* Filz */
.felt {
  background: radial-gradient(ellipse at 50% 30%, #1f7a49, #0d4a2c 60%, #08321d);
  border: 10px solid #5a3417; border-radius: 22px;
  box-shadow: inset 0 0 40px rgba(0,0,0,.5), 0 0 0 2px #2a170a, var(--shadow);
}

/* ---------- Roulette ---------- */
.roulette-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(240px, 1fr); gap: 16px; }
.wheel-card { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.wheel-box { position: relative; width: min(100%, 380px); aspect-ratio: 1; }
.wheel-svg { width: 100%; height: 100%; filter: drop-shadow(0 12px 24px rgba(0,0,0,.6)); }
.wheel-svg .wn { fill: #fff; font: 700 11px Inter, sans-serif; }
.wheel-pointer { position: absolute; top: -2px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 16px solid var(--gold2); filter: drop-shadow(0 2px 2px rgba(0,0,0,.6)); }
.r-result { min-height: 40px; display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.r-history { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.rnum { display: inline-grid; place-items: center; min-width: 28px; height: 28px; border-radius: 6px; font-weight: 800; font-size: .85rem; color: #fff; padding: 0 4px; }
.rnum.r { background: #b3202a; } .rnum.b { background: #151515; border: 1px solid #333; } .rnum.g { background: #0f7a3a; }
.rnum.big { min-width: 52px; height: 52px; font-size: 1.6rem; border-radius: 50%; box-shadow: 0 0 20px rgba(212,175,55,.5); }
.felt-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: #e8f5ec; }
.r-timer { flex: 1; height: 8px; background: rgba(0,0,0,.35); border-radius: 4px; overflow: hidden; }
.r-timer > div { height: 100%; background: var(--up); transition: width .2s linear; }
.r-timer > div.spinning { background: var(--gold); } .r-timer > div.result { background: var(--down); }
.rt-wrap { overflow-x: auto; padding-bottom: 6px; }
.rt-grid {
  display: grid; grid-template-columns: 54px repeat(12, minmax(44px, 1fr)) 54px; grid-template-rows: repeat(3, 54px) 46px 46px;
  min-width: 700px; border: 2px solid rgba(255,255,255,.85); border-radius: 6px; overflow: hidden;
}
.rt-cell {
  position: relative; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.7); color: #fff;
  font: 700 1rem Inter, sans-serif; cursor: pointer; user-select: none; transition: background .15s;
}
.rt-cell:hover { background: rgba(255,255,255,.12); }
.rt-cell .rt-label { position: relative; z-index: 0; }
.rt-cell.r .rt-label, .rt-cell.b .rt-label, .rt-cell.g .rt-label { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; }
.rt-cell.r .rt-label { background: #b3202a; } .rt-cell.b .rt-label { background: #151515; } .rt-cell.g .rt-label { background: #0f7a3a; }
.rt-cell.out { font-size: .85rem; }
.diamond { display: inline-block; width: 26px; height: 26px; transform: rotate(45deg) scaleY(.7); }
.diamond.r { background: #b3202a; } .diamond.b { background: #151515; border: 1px solid #fff; }
.rt-chips { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 2; }
.rt-chips .chip { width: 32px; height: 32px; font-size: 0; animation: chipDrop .25s; }
.rt-chips small { position: absolute; bottom: 1px; font-size: .62rem; font-weight: 800; background: rgba(0,0,0,.7); padding: 0 4px; border-radius: 4px; }
@keyframes chipDrop { from { transform: translateY(-14px) scale(1.2); opacity: 0; } }
.rt-cell.win { animation: winCell 1s infinite; }
@keyframes winCell { 50% { background: rgba(243,215,122,.45); box-shadow: inset 0 0 0 3px var(--gold2); } }
.felt-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; color: #e8f5ec; }

/* ---------- Blackjack ---------- */
.bj-table {
  position: relative; height: 560px; margin-bottom: 16px;
  background: radial-gradient(ellipse at 50% 0%, #22844f, #0f5532 55%, #093a22);
  border: 14px solid #5a3417; border-top-width: 10px;
  border-radius: 40px 40px 50% 50% / 40px 40px 42% 42%;
  box-shadow: inset 0 0 60px rgba(0,0,0,.55), 0 0 0 3px #2a170a, var(--shadow);
  overflow: hidden;
}
.bj-shoe { position: absolute; top: 14px; right: 26px; width: 80px; text-align: center; color: #cfe8d7; font-size: .68rem; line-height: 1.2; }
.shoe-box { width: 70px; height: 54px; background: linear-gradient(160deg, #3a2412, #1c1008); border-radius: 6px 18px 6px 6px; display: grid; place-items: center; box-shadow: 0 4px 10px rgba(0,0,0,.5); margin-bottom: 4px; }
.shoe-box .pcard { transform: rotate(-12deg) scale(.6); }
.bj-dealer { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bj-arc, .bj-arc2 { position: absolute; left: 50%; transform: translateX(-50%); color: rgba(243,215,122,.85); font: 800 1rem Cinzel, serif; letter-spacing: .12em; white-space: nowrap; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.bj-arc { top: 190px; }
.bj-arc2 { top: 216px; font: 600 .72rem Inter, sans-serif; letter-spacing: .08em; color: rgba(232,245,236,.6); }
.bj-cards { display: flex; min-height: 92px; }
.bj-cards .pcard + .pcard { margin-left: -38px; }
.bj-total { background: rgba(0,0,0,.6); color: #fff; font-weight: 800; padding: .1em .6em; border-radius: 999px; font-size: .85rem; }
.bj-seat { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 4px; width: 150px; }
.bj-seat.turn .bj-player { box-shadow: 0 0 0 2px var(--gold2), 0 0 16px rgba(243,215,122,.6); }
.bj-seat.me .bj-player b { color: var(--gold2); }
.bj-hands { display: flex; gap: 8px; min-height: 120px; align-items: flex-end; }
.bj-hand { display: flex; flex-direction: column; align-items: center; gap: 4px; border-radius: 10px; padding: 2px; }
.bj-hand.active { box-shadow: 0 0 0 2px var(--gold2); }
.bj-hand .bj-cards { min-height: 0; }
.bj-hand .pcard { width: 52px; height: 74px; font-size: .8rem; }
.bj-hand .bj-cards .pcard + .pcard { margin-left: -32px; }
.bj-hand-info { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; justify-content: center; }
.bj-res { font-size: .62rem; font-weight: 800; padding: .15em .5em; border-radius: 6px; white-space: nowrap; }
.bj-res.win, .bj-res.blackjack { background: var(--up); color: #062; } .bj-res.blackjack { background: var(--gold2); color: #3a2a00; }
.bj-res.lose, .bj-res.bust { background: var(--down); color: #fff; } .bj-res.push { background: #888; color: #fff; }
.bj-tag { font-size: .62rem; background: var(--gold); color: #241c06; border-radius: 4px; padding: 0 .3em; font-weight: 800; }
.bet-spot { width: 58px; height: 58px; border-radius: 50%; border: 2px solid rgba(255,255,255,.55); display: grid; place-items: center; position: relative; }
.bet-spot small { position: absolute; bottom: -16px; font-size: .68rem; color: #fff; font-weight: 700; white-space: nowrap; text-shadow: 0 1px 2px #000; }
.bj-player { display: flex; align-items: center; gap: 6px; background: rgba(0,0,0,.55); color: #fff; padding: 3px 10px 3px 3px; border-radius: 999px; font-size: .8rem; margin-top: 12px; max-width: 150px; }
.bj-player b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bj-player .avatar { width: 26px; height: 26px; font-size: 14px; }
.seat-btn { width: 84px; height: 84px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.55); background: rgba(0,0,0,.2); color: #e8f5ec; font: 500 .72rem Inter, sans-serif; cursor: pointer; display: grid; place-items: center; text-align: center; }
button.seat-btn:hover { background: rgba(243,215,122,.15); border-color: var(--gold2); }
.seat-btn.ghost { opacity: .4; cursor: default; }
.turn-bar { width: 100px; height: 5px; background: rgba(0,0,0,.4); border-radius: 3px; overflow: hidden; }
.turn-bar > div { height: 100%; background: var(--gold2); transition: width .2s linear; }
.bj-controls { min-height: 74px; display: flex; align-items: center; }
.bj-controls > * { width: 100%; }
.bj-betting { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bj-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.bj-actions .btn { min-width: 120px; padding: .8em 1em; }

/* Spielkarten */
.pcard {
  width: 64px; height: 92px; border-radius: 7px; background: linear-gradient(180deg, #fff, #f1efe8); color: #111;
  box-shadow: 0 3px 8px rgba(0,0,0,.45), inset 0 0 0 1px rgba(0,0,0,.15); position: relative; flex: none;
  font: 700 .95rem Georgia, serif;
}
.pcard.red { color: #c0182a; }
.pcard .tl, .pcard .br { position: absolute; line-height: .95; text-align: center; }
.pcard .tl { top: 4px; left: 5px; } .pcard .br { bottom: 4px; right: 5px; transform: rotate(180deg); }
.pcard i { display: block; font-style: normal; font-size: .8em; }
.pcard .mid { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.9em; }
.pcard .face { font-size: 1.15em; border: 1px solid currentColor; border-radius: 4px; padding: 4px 6px; background: rgba(212,175,55,.15); }
.pcard .ace { font-size: 1.4em; }
.pcard.back {
  background: repeating-linear-gradient(45deg, #9a1b25 0 4px, #b8323c 4px 8px);
  box-shadow: 0 3px 8px rgba(0,0,0,.45), inset 0 0 0 4px #fff, inset 0 0 0 5px #9a1b25;
}
.pcard.deal { animation: dealCard .45s cubic-bezier(.2,.8,.3,1) both; }
.pcard.deal.d1 { animation-delay: .15s; } .pcard.deal.d2 { animation-delay: .3s; } .pcard.deal.d3 { animation-delay: .45s; }
@keyframes dealCard { from { transform: translate(260px, -280px) rotate(-30deg); opacity: 0; } 30% { opacity: 1; } }
.pcard.flip { animation: flipCard .5s; }
@keyframes flipCard { 0% { transform: rotateY(90deg); } 100% { transform: rotateY(0); } }

/* ---------- Spielautomat ---------- */
.slots-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, 1fr); gap: 24px; align-items: start; }
.slot-machine {
  --sym: 92px;
  position: relative; max-width: 520px; margin: 0 auto 0 0; padding: 18px 18px 22px; border-radius: 30px 30px 18px 18px;
  background: linear-gradient(180deg, #8f1d1d, #5a0d0d 40%, #3a0707);
  box-shadow: inset 0 0 0 6px #d4af37, inset 0 0 0 9px #6b5310, 0 20px 40px rgba(0,0,0,.6);
}
.sm-top { text-align: center; margin-bottom: 8px; }
.sm-title { font: 800 2rem Cinzel, serif; letter-spacing: .1em; background: linear-gradient(180deg, #fff3b0, #f3d77a 40%, #b8891d); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 #3a0707); }
.sm-jackpot { display: inline-flex; flex-direction: column; background: #0a0505; border: 2px solid #d4af37; border-radius: 10px; padding: 4px 18px; margin-top: 4px; }
.sm-jackpot small { color: #f3d77a; font-size: .66rem; letter-spacing: .2em; }
.sm-jackpot b { color: #ff5a3c; font: 800 1.5rem 'Courier New', monospace; text-shadow: 0 0 8px rgba(255,90,60,.8); font-variant-numeric: tabular-nums; }
.sm-lights { display: flex; justify-content: space-between; padding: 6px 4px; }
.sm-lights i { width: 10px; height: 10px; border-radius: 50%; background: #ffd76a; box-shadow: 0 0 6px #ffcc33; animation: bulb 1.2s infinite; }
.sm-lights i:nth-child(odd) { animation-delay: .6s; }
@keyframes bulb { 50% { background: #7a5a18; box-shadow: none; } }
.slot-machine.win .sm-lights i { animation-duration: .2s; }
.slot-machine.jackpot .sm-lights i { animation-duration: .1s; background: #ff5a3c; }
.slot-machine.win .sm-window, .slot-machine.jackpot .sm-window { box-shadow: inset 0 0 20px rgba(0,0,0,.5), 0 0 0 4px #f3d77a, 0 0 30px rgba(243,215,122,.8); }
.sm-window { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: #1a0505; padding: 8px; border-radius: 12px; box-shadow: inset 0 0 20px rgba(0,0,0,.8); transition: box-shadow .3s; }
.reel { height: calc(var(--sym) * 3); overflow: hidden; border-radius: 8px; background: linear-gradient(180deg, #bdb6a8, #fffdf6 25%, #fffdf6 75%, #bdb6a8); box-shadow: inset 0 10px 14px rgba(0,0,0,.35), inset 0 -10px 14px rgba(0,0,0,.35); }
.strip { will-change: transform; }
.strip.blur { filter: blur(2px); }
.sym { height: var(--sym); display: grid; place-items: center; font-size: calc(var(--sym) * .58); }
.payline { position: absolute; left: 0; right: 0; top: 50%; height: 3px; background: rgba(255,60,60,.75); transform: translateY(-50%); box-shadow: 0 0 8px rgba(255,60,60,.8); pointer-events: none; }
.sm-panel { display: flex; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; justify-content: space-between; }
.sm-display { background: #0a0505; border: 2px solid #6b5310; border-radius: 8px; padding: 2px 10px; min-width: 110px; text-align: center; }
.sm-display small { display: block; color: #f3d77a; font-size: .6rem; letter-spacing: .15em; }
.sm-display b { color: #7CFF9B; font: 800 1.05rem 'Courier New', monospace; text-shadow: 0 0 6px rgba(124,255,155,.6); }
.sm-bet { display: flex; align-items: center; gap: 6px; }
.sm-btn { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #6b5310; background: linear-gradient(180deg, #f3d77a, #b8891d); font: 800 1.2rem Inter; cursor: pointer; color: #3a0707; }
.sm-spin { padding: .7em 1.6em; border-radius: 999px; border: 3px solid #6b5310; background: radial-gradient(circle at 50% 30%, #ff6b5a, #b3202a); color: #fff; font: 800 1.1rem Cinzel, serif; letter-spacing: .08em; cursor: pointer; box-shadow: 0 5px 0 #5a0d0d, 0 8px 16px rgba(0,0,0,.4); }
.sm-spin:active:not(:disabled) { transform: translateY(4px); box-shadow: 0 1px 0 #5a0d0d; }
.sm-spin:disabled { filter: grayscale(.6); cursor: wait; }
.sm-lever { position: absolute; right: -42px; top: 120px; width: 40px; height: 220px; cursor: pointer; }
.lever-base { position: absolute; left: 2px; bottom: 30px; width: 30px; height: 60px; border-radius: 0 10px 10px 0; background: linear-gradient(90deg, #5a5a5a, #c9c9c9, #6a6a6a); }
.lever-stick { position: absolute; left: 12px; bottom: 60px; width: 10px; height: 150px; background: linear-gradient(90deg, #777, #eee, #888); border-radius: 5px; transform-origin: bottom center; transition: transform .2s ease-in; }
.lever-knob { position: absolute; top: -26px; left: -11px; width: 32px; height: 32px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff8a7a, #b3202a 60%, #5a0d0d); box-shadow: 0 3px 6px rgba(0,0,0,.5); }
.sm-lever.pulled .lever-stick { transform: scaleY(-.55); transition: transform .18s ease-out; }
.paytable .pt-syms { font-size: 1.3rem; letter-spacing: 2px; }

/* ---------- Crash ---------- */
.crash-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 16px; }
.crash-stage { background: radial-gradient(ellipse at 30% 100%, #102a52, #070d1a 70%); position: relative; overflow: hidden; }
.crash-stage.shake { animation: shake .5s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.c-history { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; }
.cx { font-size: .78rem; font-weight: 800; padding: .2em .6em; border-radius: 6px; background: rgba(255,255,255,.06); white-space: nowrap; }
.cx.gold { color: var(--gold2); background: rgba(212,175,55,.15); }
.crash-canvas-box { position: relative; height: 380px; }
.crash-canvas-box canvas { width: 100%; height: 100%; display: block; }
.crash-mult { position: absolute; top: 34%; left: 50%; transform: translate(-50%, -50%); font: 800 4rem Inter, sans-serif; color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,.6); font-variant-numeric: tabular-nums; pointer-events: none; }
.crash-mult.running { color: var(--up); } .crash-mult.crashed { color: var(--down); }
.crash-sub { position: absolute; top: calc(34% + 46px); left: 50%; transform: translateX(-50%); color: var(--muted); font-weight: 600; white-space: nowrap; pointer-events: none; }

/* ---------- Coinflip ---------- */
.side-pick { display: flex; gap: 10px; margin-bottom: 12px; }
.side-btn { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px; border-radius: 14px; background: var(--bg2); border: 2px solid var(--line); color: var(--text); font: 600 .9rem Inter; cursor: pointer; }
.side-btn.sel { border-color: var(--gold); background: rgba(212,175,55,.08); }
.mini-coin { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--gold2), var(--gold) 55%, var(--gold-dark)); font-size: 18px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.3); flex: none; }
.side-btn .mini-coin { width: 54px; height: 54px; font-size: 28px; }
.duel { gap: 8px; }
.coin-stage { perspective: 800px; display: grid; place-items: center; height: 200px; }
.coin3d { position: relative; width: 140px; height: 140px; transform-style: preserve-3d; transition: transform 3.2s cubic-bezier(.15,.6,.2,1); }
.coin3d .face { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; font-size: 70px; backface-visibility: hidden;
  background: radial-gradient(circle at 35% 30%, var(--gold2), var(--gold) 55%, var(--gold-dark)); box-shadow: inset 0 0 0 6px rgba(255,255,255,.3), inset 0 -6px 12px rgba(0,0,0,.3); }
.coin3d .face.bear { transform: rotateY(180deg); }

/* ---------- Rubbellose ---------- */
.scratch-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(240px, 1fr); gap: 16px; align-items: start; }
.ticket { width: min(100%, 380px); margin: 0 auto; border-radius: 16px; overflow: hidden; background: linear-gradient(160deg, #f6e08a, #d4af37 40%, #8a6d1c); padding: 10px; box-shadow: var(--shadow); }
.ticket-head { font: 800 1.3rem Cinzel, serif; color: #3a2a00; display: flex; justify-content: space-between; align-items: baseline; padding: 4px 6px 10px; }
.ticket-head span { font: 600 .72rem Inter, sans-serif; }
.ticket-area { position: relative; border-radius: 10px; overflow: hidden; }
.ticket-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: #fffaf0; padding: 10px; }
.tcell { aspect-ratio: 1; display: grid; place-items: center; font-size: 44px; background: #fff; border-radius: 10px; box-shadow: inset 0 0 0 2px rgba(0,0,0,.06); }
.tcell.hit { background: #fff3c4; box-shadow: inset 0 0 0 3px #d4af37; animation: pulseBtn 1s infinite; }
#scCanvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.ticket-foot { color: #3a2a00; font-weight: 600; padding: 10px 6px 4px; min-height: 2.4em; font-size: .9rem; }
.ticket-foot .up { color: #0b6b33; } .ticket-foot .down { color: #8a1c1c; }
.price-pick { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 14px; }
@media (max-width: 1000px) { .scratch-layout { grid-template-columns: 1fr; } }

/* Münzregen */
.rain-coin { position: fixed; top: -40px; z-index: 200; pointer-events: none; animation: rain linear forwards; }
@keyframes rain { to { transform: translateY(110vh) rotate(720deg); } }

@media (max-width: 1000px) {
  .roulette-layout, .slots-layout, .crash-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .bj-table { height: 520px; border-width: 8px; }
  .bj-seat { width: 100px; }
  .bj-hand .pcard { width: 40px; height: 58px; font-size: .65rem; }
  .bj-hand .bj-cards .pcard + .pcard { margin-left: -20px; }
  .pcard { width: 48px; height: 70px; font-size: .75rem; }
  .bj-cards .pcard + .pcard { margin-left: -28px; }
  .seat-btn { width: 64px; height: 64px; }
  .bj-arc { top: 150px; font-size: .75rem; } .bj-arc2 { top: 172px; font-size: .6rem; }
  .bj-player { font-size: .7rem; max-width: 100px; }
  .slot-machine { --sym: 64px; margin: 0 44px 0 0; padding: 12px; }
  .sm-title { font-size: 1.4rem; }
  .sm-lever { right: -40px; top: 90px; transform: scale(.8); transform-origin: top left; }
  .crash-canvas-box { height: 280px; }
  .crash-mult { font-size: 2.6rem; }
}
