/* ==================================================================
   Blackjack Royale – Casino-Look v2 "Premium"
   Tiefer Filz, Gold, lebendiger Hintergrund, glänzende Chips & Karten,
   glühende Sitze, Shimmer-Titel, Konfetti-Effekte (effects.js).
   ================================================================== */

:root {
  --felt:      #10402b;
  --felt-2:    #0c3020;
  --felt-dark: #0a2419;
  --bg:        #06120c;
  --gold:      #ecc767;
  --gold-hi:   #f8e6ab;
  --gold-deep: #c2902f;
  --cream:     #f8f3e6;
  --text:      #f3eee1;
  --text-dim:  #bccabd;
  --text-mute: #7d8f81;
  --red:       #d64545;
  --card-red:  #c22f22;
  --card-blk:  #1b2129;
  --good:      #5fe0a0;
  --line:      rgba(236,199,103,.22);
  --radius:    16px;
  --spring:    cubic-bezier(.34, 1.56, .64, 1);
  --ease-out:  cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}
.hidden { display: none !important; }
::selection { background: rgba(236,199,103,.3); }

/* ============================ HINTERGRUND ============================ */
.bg-felt {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(1300px 900px at 50% 42%, #17120b, #0c0a07 58%, #050403 100%);
}
/* feine Filz-Textur */
.bg-felt::after {
  content: '';
  position: absolute; inset: 0;
  opacity: .3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* atmender goldener Spot */
.glow-spot {
  position: absolute;
  top: -10%; left: 50%;
  width: 900px; height: 900px;
  margin-left: -450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236,199,103,.14), transparent 60%);
  filter: blur(30px);
  animation: spotBreathe 8s ease-in-out infinite;
}
@keyframes spotBreathe {
  0%, 100% { opacity: .7; transform: scale(1); }
  50%      { opacity: 1;  transform: scale(1.1); }
}
/* langsam driftende Kartensymbole */
.suit-float { position: absolute; inset: 0; }
.fs {
  position: absolute;
  font-size: 12rem;
  line-height: 1;
  opacity: .05;
  color: var(--gold);
  user-select: none;
  will-change: transform;
}
.fs.s2, .fs.s6 { color: #e46a6a; }        /* Herz/… rötlich */
.fs.s3 { color: #e46a6a; }
.s1 { top: 8%;  left: 6%;  animation: floatA 26s ease-in-out infinite; }
.s2 { top: 18%; right: 9%; font-size: 9rem; animation: floatB 32s ease-in-out infinite; }
.s3 { bottom: 12%; left: 14%; font-size: 10rem; animation: floatA 30s 3s ease-in-out infinite reverse; }
.s4 { bottom: 8%; right: 12%; animation: floatB 28s 2s ease-in-out infinite; }
.s5 { top: 44%; left: 44%; font-size: 8rem; opacity: .035; animation: floatA 40s ease-in-out infinite; }
.s6 { top: 60%; right: 30%; font-size: 7rem; animation: floatB 36s 5s ease-in-out infinite reverse; }
@keyframes floatA {
  0%, 100% { transform: translate(0,0) rotate(-8deg); }
  50%      { transform: translate(30px, -26px) rotate(8deg); }
}
@keyframes floatB {
  0%, 100% { transform: translate(0,0) rotate(6deg); }
  50%      { transform: translate(-34px, 24px) rotate(-10deg); }
}

/* Konfetti-Canvas ganz oben */
#fxCanvas {
  position: fixed; inset: 0;
  z-index: 90;
  pointer-events: none;
}

/* ============================ LANDING ============================ */
.landing {
  position: relative; z-index: 2;
  min-height: 100vh;
  display: grid; place-items: center;
  padding: 30px 20px;
}
.hero { text-align: center; max-width: 470px; width: 100%; }

.logo-suits {
  font-size: 1.5rem;
  letter-spacing: 16px;
  color: var(--gold);
  margin-bottom: 14px;
  animation: fadeDown .8s var(--ease-out) both, suitGlow 3.5s ease-in-out infinite;
  text-shadow: 0 0 18px rgba(236,199,103,.35);
}
@keyframes suitGlow { 50% { text-shadow: 0 0 30px rgba(236,199,103,.7); } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-16px); } }

.title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.7rem, 8vw, 4.1rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 10px;
  animation: fadeDown .8s .1s var(--ease-out) both;
  text-shadow: 0 6px 34px rgba(0,0,0,.5);
}
.gold {
  background: linear-gradient(100deg, var(--gold-hi) 0%, var(--gold) 30%, var(--gold-deep) 50%, var(--gold) 70%, var(--gold-hi) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer { to { background-position: -250% 0; } }

.subtitle {
  color: var(--text-dim);
  font-size: .95rem;
  margin-bottom: 30px;
  animation: fadeDown .8s .2s var(--ease-out) both;
}

.entry-card {
  position: relative;
  background: linear-gradient(165deg, rgba(16,44,30,.85), rgba(8,23,17,.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 30px 70px rgba(0,0,0,.6), inset 0 1px 0 rgba(236,199,103,.12);
  backdrop-filter: blur(12px);
  text-align: left;
  overflow: hidden;
  animation: fadeUp .8s .3s var(--ease-out) both;
}
/* dünne goldene Laufkante oben */
.entry-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  background-size: 50% 100%;
  animation: sweepLine 4s linear infinite;
}
@keyframes sweepLine { from { background-position: -50% 0; } to { background-position: 150% 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field span {
  font-size: .72rem; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--text-mute);
}
input {
  background: rgba(4,12,8,.85);
  border: 1px solid rgba(236,199,103,.25);
  color: var(--text);
  padding: 13px 15px;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(236,199,103,.16), 0 0 22px rgba(236,199,103,.12);
}

.btn {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(236,199,103,.08);
  color: var(--gold);
  font-family: inherit;
  font-weight: 800;
  font-size: .95rem;
  padding: 13px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform .2s var(--spring), box-shadow .2s, background .2s;
}
.btn:hover { background: rgba(236,199,103,.16); transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
/* Glanz-Streif über jeden Button beim Hover */
.btn::after {
  content: '';
  position: absolute; top: 0; left: -80%;
  width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg);
  transition: left .5s ease;
}
.btn:hover::after { left: 130%; }

.gold-btn {
  background: linear-gradient(135deg, var(--gold-hi), var(--gold) 50%, var(--gold-deep));
  color: #3a2a05;
  border: none;
  box-shadow: 0 12px 30px rgba(236,199,103,.32), inset 0 1px 0 rgba(255,255,255,.4);
}
.gold-btn:hover {
  box-shadow: 0 16px 40px rgba(236,199,103,.5), inset 0 1px 0 rgba(255,255,255,.4);
  background: linear-gradient(135deg, var(--gold-hi), var(--gold) 50%, var(--gold-deep));
}
.btn.big { width: 100%; padding: 15px; font-size: 1.05rem; animation: goldPulse 2.6s ease-in-out infinite; }
@keyframes goldPulse {
  0%, 100% { box-shadow: 0 12px 30px rgba(236,199,103,.3), inset 0 1px 0 rgba(255,255,255,.4); }
  50%      { box-shadow: 0 12px 40px rgba(236,199,103,.6), inset 0 1px 0 rgba(255,255,255,.4); }
}

.divider {
  display: flex; align-items: center; gap: 12px;
  margin: 18px 0;
  color: var(--text-mute);
  font-size: .74rem; font-weight: 800; letter-spacing: 2px;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.join-row { display: flex; gap: 10px; }
.join-row input {
  width: 110px; text-align: center; font-weight: 800;
  font-size: 1.15rem; letter-spacing: 4px; text-transform: uppercase;
}
.join-row .btn { flex: 1; }
.err { color: #ff8074; font-size: .85rem; margin-top: 12px; }

.rules-hint {
  margin-top: 22px;
  font-size: .78rem;
  color: var(--text-mute);
  line-height: 1.6;
  animation: fadeUp .8s .45s var(--ease-out) both;
}
.rules-hint strong { color: var(--text-dim); }

/* ============================ TISCH ============================ */
.table {
  position: relative; z-index: 2;
  min-height: 100vh;
  display: flex; flex-direction: column;
  max-width: 1200px; margin: 0 auto;
  padding: 14px 18px 20px;
  animation: fadeUp .5s var(--ease-out) both;
}
.table-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; padding-bottom: 12px;
}
.table-brand { font-size: 1rem; color: var(--gold); letter-spacing: .5px; }
.room-info { display: flex; align-items: center; gap: 10px; }
.round-label { font-size: .8rem; color: var(--text-mute); }
.code-chip {
  background: rgba(236,199,103,.1);
  border: 1px solid var(--line);
  color: var(--gold);
  font-family: inherit; font-size: .85rem;
  padding: 7px 14px; border-radius: 999px; cursor: pointer;
  transition: background .2s, transform .15s;
}
.code-chip:hover { background: rgba(236,199,103,.22); transform: translateY(-1px); }
.code-chip strong { letter-spacing: 3px; }

/* JACKPOT-Schild (Marquee) */
.jackpot {
  position: relative;
  display: inline-flex; flex-direction: column; align-items: center; line-height: 1.1;
  background: linear-gradient(165deg, #45101040, #16060680), #200808;
  border: 2px solid var(--gold);
  border-radius: 9px;
  padding: 4px 14px;
  box-shadow: 0 0 0 2px rgba(0,0,0,.5), 0 0 18px rgba(236,199,103,.4);
}
/* Glühbirnen-Rand (gestrichelt) */
.jackpot::before {
  content: '';
  position: absolute; inset: 3px;
  border: 1.5px dotted rgba(255,220,130,.7);
  border-radius: 6px;
  animation: bulbs 1.2s steps(2) infinite;
}
@keyframes bulbs { 50% { opacity: .4; } }
.jackpot-title { font-size: .58rem; font-weight: 800; letter-spacing: 3px; color: var(--gold); }
.jackpot-amount {
  font-family: 'Playfair Display', serif; font-weight: 900; font-size: 1rem;
  color: #ffdf7e; text-shadow: 0 0 10px rgba(255,200,80,.6);
}

/* ---- Halbrunder Casino-Tisch (D-Form, ohne Kasten) ---- */
.felt-rail {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 940px;
  background: none;
  padding: 0;
}
.felt {
  position: relative;
  margin: 16px auto 30px;
  /* D-Form: oben fast gerade (Dealer), unten großer Spielerbogen */
  border-radius: 20px 20px 46% 46% / 20px 20px 100% 100%;
  background:
    radial-gradient(135% 118% at 50% 2%, #1d6a49, #114a2c 52%, #0b3620 100%);
  padding: 14px 34px 56px;
  overflow: hidden;
  /* verzierter Gold-Rand: helle Linie · dunkles Band · innere Linie · Glow */
  box-shadow:
    0 0 0 3px #f4cf5a,
    0 0 0 12px #6e5015,
    0 0 0 15px #f4cf5a,
    0 0 48px rgba(244,207,90,.42),
    0 26px 60px rgba(0,0,0,.6),
    inset 0 0 90px rgba(0,0,0,.5);
}

/* ---- Deko-Ebene: Einsatzfelder + BLACK-JACK-Logo ---- */
.felt-deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.bj-logo {
  position: absolute; left: 50%; top: 45%;
  transform: translate(-50%, -50%);
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(1.5rem, 4.4vw, 2.7rem);
  letter-spacing: 3px;
  white-space: nowrap;
  background: linear-gradient(180deg, #fdeeb4 0%, #ecc767 42%, #b8860b 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.6)) drop-shadow(0 0 18px rgba(236,199,103,.5));
}
.bet-spots {
  position: absolute; left: 50%; top: 60%;
  transform: translateX(-50%);
  display: flex; gap: 20px;
}
.bet-spots span {
  width: 44px; height: 60px;
  border: 2px solid rgba(244,207,90,.5);
  border-radius: 8px;
  box-shadow: inset 0 0 12px rgba(244,207,90,.12);
}
.bet-spots span:nth-child(1) { transform: translateY(-52px) rotate(11deg); }
.bet-spots span:nth-child(2) { transform: translateY(-24px) rotate(7deg); }
.bet-spots span:nth-child(3) { transform: translateY(-6px)  rotate(3.5deg); }
.bet-spots span:nth-child(4) { transform: translateY(0)     rotate(0); }
.bet-spots span:nth-child(5) { transform: translateY(-6px)  rotate(-3.5deg); }
.bet-spots span:nth-child(6) { transform: translateY(-24px) rotate(-7deg); }
.bet-spots span:nth-child(7) { transform: translateY(-52px) rotate(-11deg); }
/* feine Filz-Textur */
.felt::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  opacity: .22;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* gebogener Schriftzug */
.felt-arc {
  display: block;
  width: min(620px, 92%);
  margin: -6px auto -14px;
  overflow: visible;
}
.felt-arc text {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 4px;
  fill: rgba(236,199,103,.5);
}

/* ---- Dealer ---- */
.dealer-area { position: relative; z-index: 1; text-align: center; padding: 10px 0 2px; min-height: 150px; }
.seat-label {
  font-size: .82rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-mute); margin-bottom: 10px;
}
.dealer-status { margin-top: 8px; font-size: .9rem; color: var(--gold); font-weight: 600; min-height: 22px; }
.hand-value {
  display: inline-block; min-width: 30px;
  background: rgba(8,23,17,.85); border: 1px solid var(--line);
  border-radius: 999px; padding: 2px 10px; font-size: .8rem; color: var(--gold); margin-left: 6px;
}
.hand-value:empty { display: none; }

/* ---- Karten ---- */
.cards { display: flex; justify-content: center; gap: 8px; min-height: 92px; flex-wrap: wrap; }
.card {
  position: relative;
  width: 64px; height: 92px;
  border-radius: 9px;
  background: linear-gradient(160deg, #fffdf7, var(--cream));
  color: var(--card-blk);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 6px 8px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0,0,0,.5), inset 0 0 0 1px rgba(0,0,0,.06);
  animation: dealIn .5s var(--spring) both;
  overflow: hidden;
}
@keyframes dealIn {
  from { opacity: 0; transform: translateY(-40px) rotate(-10deg) scale(.6); }
}
/* Glanz-Sweep direkt nach dem Austeilen */
.card::after {
  content: '';
  position: absolute; top: 0; left: -120%;
  width: 70%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.75), transparent);
  transform: skewX(-20deg);
  animation: cardShine .7s .35s ease-out both;
}
@keyframes cardShine { to { left: 140%; } }
.card.red { color: var(--card-red); }
.card .rank { font-size: 1.05rem; line-height: 1; z-index: 1; }
.card .suit-big { font-size: 1.7rem; text-align: center; z-index: 1; }
.card .rank.bottom { transform: rotate(180deg); }
.card.back {
  background:
    repeating-linear-gradient(45deg, #8a232e 0 7px, #6f1a23 7px 14px);
  border: 3px solid var(--cream);
  color: transparent;
  box-shadow: 0 8px 18px rgba(0,0,0,.5);
}
.card.back::after { animation: none; content: none; }

/* ---- Phase-Banner ---- */
.phase-banner {
  position: relative; z-index: 1;
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--gold);
  padding: 6px 10px 10px;
  min-height: 42px;
  text-shadow: 0 0 20px rgba(236,199,103,.25);
  transition: opacity .3s;
}

/* ---- Spieler-Plätze ---- */
.seats {
  position: relative; z-index: 1;
  flex: 1; display: flex; justify-content: center; align-items: flex-start;
  gap: 14px; flex-wrap: wrap; padding: 10px 0 6px;
}
.seat {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 4px 6px 8px;
  min-width: 116px; max-width: 150px;
  text-align: center;
  /* Bogen-Anordnung: --ty/--rot werden pro Sitz von effects.js gesetzt */
  transform: translateY(var(--ty, 0px)) rotate(var(--rot, 0deg));
  transition: transform .35s var(--spring);
  animation: fadeUp .5s var(--ease-out) both;
}
.seat.active { transform: translateY(calc(var(--ty, 0px) - 8px)) rotate(var(--rot, 0deg)) scale(1.04); }

/* Glühender Avatar-Kreis (Ringfarbe pro Spieler via --ring) */
.seat-avatar {
  position: relative;
  width: 66px; height: 66px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: 'Playfair Display', serif; font-weight: 900; font-size: 1.35rem;
  color: #fff;
  background: radial-gradient(circle at 38% 30%, #34434e, #131a21);
  border: 3px solid var(--ring, #ecc767);
  box-shadow: 0 0 14px var(--ring, #ecc767), 0 6px 16px rgba(0,0,0,.55);
  margin: 2px 0 3px;
}
.seat.active .seat-avatar { animation: avatarPulse 1.4s ease-in-out infinite; }
@keyframes avatarPulse {
  0%, 100% { box-shadow: 0 0 14px var(--ring, #ecc767), 0 6px 16px rgba(0,0,0,.55); }
  50%      { box-shadow: 0 0 26px var(--ring, #ecc767), 0 0 44px var(--ring, #ecc767), 0 6px 16px rgba(0,0,0,.55); }
}
.host-crown {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  color: var(--gold); font-size: 1rem; text-shadow: 0 1px 4px rgba(0,0,0,.7);
}
.seat-name { font-weight: 700; font-size: .85rem; color: var(--text); text-shadow: 0 1px 3px rgba(0,0,0,.7); }
.seat-chips {
  display: inline-block;
  background: rgba(0,0,0,.45); border: 1px solid rgba(236,199,103,.45);
  color: var(--gold); font-weight: 800; font-size: .74rem;
  padding: 2px 11px; border-radius: 999px;
}
.seat-chips::before { content: '🪙 '; }
.seat-bet {
  display: inline-block; font-size: .74rem; font-weight: 800; color: #3a2a05;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold));
  padding: 2px 11px; border-radius: 999px;
  box-shadow: 0 3px 10px rgba(236,199,103,.3);
}
.seat .cards { min-height: 60px; }
.seat .card { width: 48px; height: 70px; padding: 4px 5px; }
.seat .card .rank { font-size: .85rem; }
.seat .card .suit-big { font-size: 1.2rem; }

.seat-result { margin-top: 8px; font-size: .9rem; font-weight: 900; min-height: 20px; letter-spacing: .3px; }
.seat-result.win, .seat-result.blackjack {
  color: var(--good);
  animation: resultPop .5s var(--spring) both, winGlow 1.4s ease-in-out 1;
  text-shadow: 0 0 16px rgba(95,224,160,.5);
}
.seat-result.blackjack { color: var(--gold); text-shadow: 0 0 18px rgba(236,199,103,.6); }
.seat-result.lose, .seat-result.bust { color: #ff8074; animation: resultPop .45s var(--spring) both; }
.seat-result.push { color: var(--text-dim); animation: resultPop .45s var(--spring) both; }
@keyframes resultPop { from { opacity: 0; transform: scale(.4); } 60% { transform: scale(1.25); } }
@keyframes winGlow { 50% { transform: scale(1.06); } }
.seat-status { font-size: .76rem; color: var(--text-mute); margin-top: 4px; min-height: 16px; }

/* ---- Action-Bar ---- */
.action-bar {
  position: sticky; bottom: 0;
  background: rgba(6,18,12,.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center; gap: 16px;
  flex-wrap: wrap; min-height: 74px;
  box-shadow: 0 -10px 30px rgba(0,0,0,.35);
}
.bet-controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }
.bet-label { font-size: .9rem; color: var(--text-dim); font-weight: 600; }
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* glänzende Casino-Chips mit gestricheltem Rand */
.chip-btn {
  position: relative;
  width: 58px; height: 58px;
  border-radius: 50%;
  border: none;
  font-family: inherit; font-weight: 900; font-size: .88rem;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 7px 16px rgba(0,0,0,.5), inset 0 -4px 8px rgba(0,0,0,.35), inset 0 3px 6px rgba(255,255,255,.35);
  transition: transform .22s var(--spring), box-shadow .22s;
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
}
/* gestrichelter heller Innenring wie echte Chips */
.chip-btn::before {
  content: '';
  position: absolute; inset: 5px;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,.65);
}
.chip-btn:hover { transform: translateY(-6px) rotate(8deg) scale(1.08); box-shadow: 0 14px 26px rgba(0,0,0,.55), inset 0 -4px 8px rgba(0,0,0,.35), inset 0 3px 6px rgba(255,255,255,.35); }
.chip-btn:active { transform: scale(.92); }
.c10  { background: radial-gradient(circle at 38% 32%, #6ba6e6, #33689f); }
.c25  { background: radial-gradient(circle at 38% 32%, #66c98a, #35804f); }
.c50  { background: radial-gradient(circle at 38% 32%, #eb9a4f, #a55d22); }
.c100 { background: radial-gradient(circle at 38% 32%, #454d59, #20242c); }
.c250 { background: radial-gradient(circle at 38% 32%, #a55dc4, #6b3283); }
.allin { background: radial-gradient(circle at 38% 32%, #db5140, #8e2a1f); font-size: .68rem; }

.play-controls { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.action-btn { font-size: 1rem; padding: 14px 26px; }
.action-btn.hit { background: rgba(95,224,160,.12); color: var(--good); border-color: rgba(95,224,160,.4); }
.action-btn.hit:hover { background: rgba(95,224,160,.22); }
.action-btn.stand { background: rgba(214,69,69,.12); color: #ff8074; border-color: rgba(214,69,69,.4); }
.action-btn.stand:hover { background: rgba(214,69,69,.22); }
.action-btn.double { background: rgba(236,199,103,.12); }

.rebuy-controls { display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--text-dim); flex-wrap: wrap; justify-content: center; }
.wait-note { color: var(--text-mute); font-size: .9rem; }

/* ---- Toast ---- */
.toast {
  position: fixed; bottom: 100px; left: 50%;
  transform: translateX(-50%);
  z-index: 95;
  background: rgba(6,18,12,.96);
  border: 1px solid var(--gold);
  color: var(--text);
  padding: 12px 22px; border-radius: 999px; font-size: .9rem;
  box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 24px rgba(236,199,103,.15);
  animation: toastIn .4s var(--spring);
}
@keyframes toastIn { from { transform: translate(-50%, 20px) scale(.9); opacity: 0; } }

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  #fxCanvas, .suit-float { display: none; }
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .seat { min-width: 150px; padding: 10px 12px; }
  /* Bogen auf schmalen Screens deaktivieren (Sitze brechen um) */
  .seat { transform: none; }
  .seat.active { transform: translateY(-4px); }
  .card { width: 54px; height: 78px; }
  .chip-btn { width: 50px; height: 50px; font-size: .78rem; }
  .action-btn { padding: 12px 18px; font-size: .9rem; }
  .table { padding: 10px 10px 14px; }
  .fs { font-size: 7rem; }
  .felt { padding: 12px 12px 26px; border-width: 8px; border-radius: 12px 12px 40% 40% / 12px 12px 60% 60%; }
  .felt-arc text { letter-spacing: 2px; font-size: 21px; }
}
