/* =========================================================================
   Casino-Effekte: Automat, Walzen, Gewinn-Stufen, Roulette-Kessel, Blackjack-Tisch
   ========================================================================= */
.cf-stage { position: relative; }

/* ------------------------------------------------------------ Automat */
.cf-machine { position: relative; margin: 0 auto; width: 100%; max-width: 440px; box-sizing: border-box; padding: 14px 14px 18px; border-radius: 22px;
              background: linear-gradient(180deg, #2a1640, #140b24 45%, #0c0716); border: 2px solid #d9a441;
              box-shadow: 0 0 0 4px rgba(217, 164, 65, .15), 0 18px 40px -12px rgba(0, 0, 0, .8), inset 0 2px 0 rgba(255, 255, 255, .12); }
.cf-bulbs { position: absolute; inset: 6px; pointer-events: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-content: space-between; }
.cf-bulbs i { width: 7px; height: 7px; border-radius: 50%; background: #ffd27a; box-shadow: 0 0 8px #f5a623; opacity: .35; animation: cfBulb 1.6s steps(1) infinite; }
.cf-bulbs i:nth-child(odd) { animation-delay: -.8s; }
@keyframes cfBulb { 50% { opacity: 1; } }
.cf-machine.tease .cf-bulbs i, .sn-frame.tease .cf-bulbs i { animation-duration: .35s; }
.cf-machine.won .cf-bulbs i, .sn-stage.won .cf-bulbs i { animation: cfBulbWin .22s steps(1) infinite; }
.cf-bulbs i:nth-child(3n) { animation-delay: -.53s; }
@keyframes cfBulbWin { 50% { opacity: 1; background: #fff; } }
.cf-marquee { position: relative; text-align: center; margin: 4px 0 10px; font-family: var(--font-display); letter-spacing: 6px; line-height: 1; }
.cf-marquee span { font-size: 1.5rem; font-weight: 700; color: #fff; text-shadow: 0 0 8px #ff4dd8, 0 0 20px #a855f7; }
.cf-marquee b { font-size: 1.5rem; margin-left: 8px; color: #ffd27a; text-shadow: 0 0 8px #f5a623, 0 0 20px #f5a623; animation: cfNeon 3s infinite; }
@keyframes cfNeon { 0%, 18%, 22%, 100% { opacity: 1; } 20% { opacity: .35; } }
.cf-window { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 8px; border-radius: 14px; background: #05030b;
             box-shadow: inset 0 0 0 2px rgba(217, 164, 65, .4), inset 0 10px 24px rgba(0, 0, 0, .9); }
.cf-reel { position: relative; height: 204px; overflow: hidden; border-radius: 10px;
           background: linear-gradient(180deg, #1d2338, #2c3553 50%, #1d2338); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.cf-reel.tease { box-shadow: inset 0 0 0 2px #f5a623, 0 0 22px rgba(245, 166, 35, .7); animation: cfTease .3s ease-in-out infinite alternate; }
@keyframes cfTease { to { box-shadow: inset 0 0 0 2px #fff3c4, 0 0 36px rgba(245, 166, 35, 1); } }
.cf-strip { will-change: transform; }
.cf-strip.blur { filter: blur(1.4px) brightness(1.1); }
.cf-cell { height: 68px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; line-height: 1; }
.cf-cell .li { width: 1em; height: 1em; }
.cf-reel .cf-cell:not(.mid) { opacity: .55; transform: scale(.82); }
.cf-cell.win { animation: cfCellWin .6s ease-in-out infinite alternate; filter: drop-shadow(0 0 12px #f5a623); }
.cf-cell.joker { animation: cfCellWin .5s ease-in-out infinite alternate; filter: drop-shadow(0 0 14px #2fe0e4); }
@keyframes cfCellWin { from { transform: scale(1); } to { transform: scale(1.18); } }
.cf-payline { position: absolute; left: 4px; right: 4px; top: 50%; height: 2px; margin-top: -1px; background: repeating-linear-gradient(90deg, rgba(245, 166, 35, .7) 0 8px, transparent 8px 14px); pointer-events: none; }
.cf-machine.won .cf-payline { height: 4px; margin-top: -2px; background: #ffd27a; box-shadow: 0 0 16px #f5a623, 0 0 30px #f5a623; }
.cf-glass { position: absolute; inset: 8px; pointer-events: none; border-radius: 10px;
            background: linear-gradient(180deg, rgba(5, 3, 11, .85), transparent 26%, transparent 74%, rgba(5, 3, 11, .85)); }
.cf-machine.lost .cf-window { animation: cfDim .5s ease-out; }
@keyframes cfDim { 50% { filter: saturate(.4) brightness(.8); } }
.cf-machine.pull { animation: cfKick .35s ease-out; }
@keyframes cfKick { 30% { transform: translateY(3px); } }
.cf-lever { position: absolute; right: -34px; top: 70px; width: 26px; height: 150px; border: 0; background: none; cursor: pointer; padding: 0; }
.cf-lever i { position: absolute; left: 10px; top: 24px; width: 6px; height: 110px; border-radius: 3px; background: linear-gradient(90deg, #6d7a95, #dfe6f2, #6d7a95); transform-origin: 50% 100%; transition: transform .25s; }
.cf-lever b { position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffb3c0, #ff2d55 55%, #7a0a1e); box-shadow: 0 0 14px rgba(255, 45, 85, .7); transition: transform .25s; }
.cf-machine.pull .cf-lever i { animation: cfLeverI .5s ease-in-out; }
.cf-machine.pull .cf-lever b { animation: cfLeverB .5s ease-in-out; }
@keyframes cfLeverI { 40% { transform: scaleY(-.25); } }
@keyframes cfLeverB { 40% { transform: translateY(120px); } }
.cf-tease-txt { color: #ffd27a; font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 2px; animation: cfBlinkT .35s steps(2) infinite; }
@keyframes cfBlinkT { 50% { opacity: .45; } }
.btn.cf-spin { min-width: 180px; font-size: 1.05rem; }

/* Supernova-Rahmen */
.sn-frame { position: relative; padding: 12px; border-radius: 18px; background: linear-gradient(180deg, #1c1040, #0c0819); border: 2px solid #b36bff; box-shadow: 0 0 0 4px rgba(179, 107, 255, .12); }
.sn-frame .cf-bulbs i { background: #e2c4ff; box-shadow: 0 0 8px #b36bff; }
.sn-grid { position: relative; }
.sn-col { overflow: hidden; }
.sn-col .cf-strip .cf-cell { font-size: clamp(1.4rem, 6.5vw, 2.2rem); border-radius: 9px; background: rgba(255, 255, 255, .04); }
.sn-col.tease { box-shadow: 0 0 0 2px #b36bff, 0 0 26px rgba(179, 107, 255, .8); border-radius: 10px; animation: cfTeaseV .3s ease-in-out infinite alternate; }
@keyframes cfTeaseV { to { box-shadow: 0 0 0 2px #fff, 0 0 40px rgba(179, 107, 255, 1); } }
.sn-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; overflow: visible; }
.sn-wl { fill: none; stroke: #ffd27a; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px #f5a623); stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: snDraw .45s ease-out forwards; }
@keyframes snDraw { to { stroke-dashoffset: 0; } }
.sn-wlt { fill: #fff; font-family: var(--font-display); font-weight: 700; font-size: 14px; text-anchor: middle; paint-order: stroke; stroke: rgba(0, 0, 0, .8); stroke-width: 4px; }
.sn-cell.pulse { animation: snPulse .6s ease-out; }
@keyframes snPulse { 30% { transform: scale(1.22); box-shadow: 0 0 26px #f5a623; } }

/* ------------------------------------------------------ Gewinn-Stufen */
.cf-win { position: absolute; inset: 0; z-index: 20; display: grid; place-content: center; justify-items: center; text-align: center; cursor: pointer; border-radius: inherit; overflow: hidden;
          background: radial-gradient(circle at 50% 50%, rgba(10, 6, 20, .55), rgba(5, 3, 11, .88)); animation: cfWinIn .3s ease both; }
.cf-win.out { animation: cfWinOut .35s ease both; }
@keyframes cfWinIn { from { opacity: 0; } }
@keyframes cfWinOut { to { opacity: 0; } }
.cf-win.t-win { background: radial-gradient(circle, rgba(10, 6, 20, .35), rgba(5, 3, 11, .6)); }
.cf-win-rays { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; margin: -450px 0 0 -450px; opacity: .35; pointer-events: none;
               background: repeating-conic-gradient(from 0deg, rgba(255, 210, 122, .5) 0 8deg, transparent 8deg 22deg); animation: cfRays 8s linear infinite;
               -webkit-mask: radial-gradient(circle, #000 10%, transparent 55%); mask: radial-gradient(circle, #000 10%, transparent 55%); }
.t-win .cf-win-rays { display: none; }
@keyframes cfRays { to { transform: rotate(360deg); } }
.cf-win-t { position: relative; font-family: var(--font-display); font-weight: 700; line-height: 1; letter-spacing: 2px; font-size: clamp(2.2rem, 10vw, 3.6rem);
            background: linear-gradient(180deg, #fff9e0, #ffd27a 45%, #d98a0c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
            filter: drop-shadow(0 4px 0 #6e4a12) drop-shadow(0 0 22px rgba(245, 166, 35, .7)); animation: cfSlam .55s cubic-bezier(.2, 1.6, .4, 1) both; }
.t-win .cf-win-t { font-size: clamp(1.4rem, 6vw, 2rem); }
.t-mega .cf-win-t { background: linear-gradient(180deg, #fff, #e9d5ff 35%, #b36bff 70%, #6d28d9); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 4px 0 #3b0764) drop-shadow(0 0 26px rgba(179, 107, 255, .8)); }
.t-epic .cf-win-t { background: linear-gradient(90deg, #ff4d6a, #f5a623, #ffe45c, #34e07f, #2fe0e4, #a855f7, #ff4d6a); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; animation: cfSlam .6s cubic-bezier(.2, 1.6, .4, 1) both, cfRainbow 1.4s linear infinite; font-size: clamp(2.6rem, 12vw, 4.4rem); }
@keyframes cfRainbow { to { background-position: -200% 0; } }
@keyframes cfSlam { from { transform: scale(3) rotate(-6deg); opacity: 0; } }
.cf-win-n { position: relative; margin-top: 6px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 6vw, 2.2rem); color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 2px 0 rgba(0, 0, 0, .6), 0 0 18px rgba(245, 166, 35, .6); }
.cf-win-x { position: relative; margin-top: 2px; font-size: .85rem; letter-spacing: 2px; color: #ffd27a; }
.cf-win.done .cf-win-n { animation: cfDone .45s ease-out; }
@keyframes cfDone { 40% { transform: scale(1.18); color: #ffd27a; } }
.cf-win.t-back, .cf-win.t-push { background: none; place-content: end center; padding-bottom: 12px; pointer-events: none; }
.cf-win-small { padding: 6px 14px; border-radius: 999px; background: rgba(0, 0, 0, .7); border: 1px solid var(--line-strong); color: var(--text); font-size: .88rem; }
.cf-coin { position: fixed; top: 0; z-index: 10060; pointer-events: none; display: grid; place-items: center; filter: drop-shadow(0 0 6px rgba(245, 166, 35, .8)); }
.cf-coin svg { width: 100%; height: 100%; }

/* ------------------------------------------------------------ Roulette */
.rl-stage { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 14px; align-items: center; }
.rl-well { position: relative; width: min(300px, 100%); aspect-ratio: 1; margin: 0 auto; border-radius: 50%;
           background: radial-gradient(circle, transparent 79%, #0a0d16 80.5%, #1b2234 88%, #0a0d16 96%, #6e4a12 96.5%, #3a250b 99%, transparent 100%);
           box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .85), 0 0 0 3px rgba(217, 164, 65, .25); }
.rl-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rl-rot { transform-origin: 150px 150px; }
.rl-nums text { fill: #fff; font-family: var(--font-display); font-weight: 700; font-size: 9.5px; text-anchor: middle; dominant-baseline: middle; }
.rl-ball { position: absolute; left: 0; top: 0; width: 10px; height: 10px; border-radius: 50%; z-index: 2; background: radial-gradient(circle at 35% 30%, #fff, #e6e9f0 45%, #8a93a8); box-shadow: 0 1px 3px rgba(0, 0, 0, .8), 0 0 6px rgba(255, 255, 255, .5);
           transform: translate(145px, 12px); }
.rl-pointer { display: none; }
.rl-side { display: grid; gap: 12px; }
.rl-result { display: grid; place-items: center; aspect-ratio: 1; width: 110px; margin: 0 auto; border-radius: 50%; border: 3px solid var(--line-strong); background: #0b0f1a; }
.rl-result small { font-size: .62rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dim); margin-top: 18px; }
.rl-result b { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--text-bright); margin-bottom: 18px; }
.rl-result.show { animation: rlPop .6s cubic-bezier(.2, 1.6, .4, 1); }
.rl-result.red { background: radial-gradient(circle at 40% 35%, #e0354f, #8a1024); border-color: #ff8095; }
.rl-result.black { background: radial-gradient(circle at 40% 35%, #333b4d, #0b0e15); border-color: #9aa3b2; }
.rl-result.green { background: radial-gradient(circle at 40% 35%, #25c06a, #0c5a2f); border-color: #59e39b; }
.rl-result.show small { color: rgba(255, 255, 255, .8); }
@keyframes rlPop { from { transform: scale(.4); } }
.rl-histbox small { display: block; font-size: .62rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 4px; text-align: center; }
.rl-hist { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.rl-hist small { font-size: .74rem; color: var(--text-dim); text-transform: none; letter-spacing: 0; }
.rl-h { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: #fff; }
.rl-h.red { background: #b01c34; } .rl-h.black { background: #1b2130; border: 1px solid #3a4560; } .rl-h.green { background: #15914d; }
.rl-h.new { animation: rlPop .5s cubic-bezier(.2, 1.6, .4, 1); box-shadow: 0 0 0 2px #ffd27a; }
.rl-table { display: grid; grid-template-columns: 34px 1fr; gap: 3px; margin: 12px 0 8px; padding: 8px; border-radius: 12px; background: radial-gradient(120% 140% at 50% 0, #1a5a3a, #0b2a1b); border: 2px solid #6e4a12; }
.rl-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; }
.rl-out { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; }
.rl-out .rl-o:nth-child(n + 7) { grid-column: span 2; }
.rl-table button { position: relative; min-width: 0; padding: 7px 0; border-radius: 5px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(0, 0, 0, .15); color: #fff; font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; transition: transform .12s, box-shadow .15s; }
.rl-table button:hover { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
.rl-n.red { background: #9d1a2f; } .rl-n.black { background: #141a26; } .rl-n.green { background: #13844a; }
.rl-zero { grid-row: span 1; }
.rl-o.red { color: #ffb3c0; } .rl-o.black { color: #c7d0e0; }
.rl-table button.sel::after { content: ''; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
                              background: radial-gradient(circle, #ffd27a 40%, #d98a0c 42%, #d98a0c 58%, #fff 60%, #fff 66%, #d98a0c 68%); box-shadow: 0 2px 4px rgba(0, 0, 0, .6); opacity: .92; }
.rl-table button.hit { animation: rlHit .5s steps(2) 6; box-shadow: 0 0 0 2px #ffd27a, 0 0 16px #f5a623; z-index: 1; }
@keyframes rlHit { 50% { background: #ffd27a; color: #000; } }

/* ----------------------------------------------------------- Blackjack */
.bj-felt { position: relative; min-height: 340px; padding: 14px 12px; border-radius: 18px; overflow: hidden;
           background: radial-gradient(120% 90% at 50% 45%, #1e6b45, #0d3521 70%, #082416); border: 3px solid #6e4a12; box-shadow: inset 0 0 40px rgba(0, 0, 0, .55); }
.bj-felt::before { content: ''; position: absolute; left: 50%; top: 50%; width: 76%; height: 44%; transform: translate(-50%, -50%); border: 1px solid rgba(255, 230, 160, .18); border-radius: 50%; pointer-events: none; }
.bj-shoe { position: absolute; right: 12px; top: 12px; width: 50px; height: 64px; border-radius: 8px; background: linear-gradient(135deg, #3a2a14, #140d05); box-shadow: 0 4px 10px rgba(0, 0, 0, .6); }
.bj-shoe i { position: absolute; left: 7px; top: 6px; width: 36px; height: 50px; border-radius: 5px; background: repeating-linear-gradient(45deg, #1f3a8a 0 5px, #2a4fb5 5px 10px); border: 2px solid #fff; }
.bj-row { position: relative; display: grid; justify-items: center; gap: 6px; }
.bj-label { font-size: .7rem; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(255, 255, 255, .7); display: flex; align-items: center; gap: 8px; }
.bj-score { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0; min-width: 34px; padding: 2px 9px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; border: 1px solid rgba(255, 255, 255, .25); text-align: center; }
.bj-score.pop { animation: rlPop .35s cubic-bezier(.2, 1.6, .4, 1); }
.bj-score.bust { background: #9d1a2f; border-color: #ff8095; }
.bj-score.bj21 { background: #d98a0c; border-color: #ffe09a; color: #1b1000; }
.bj-hand { display: flex; justify-content: center; min-height: 96px; padding: 0 6px; }
.bj-hand .bc + .bc { margin-left: -22px; }
.bj-hand.bust .bc { filter: saturate(.3) brightness(.75); }
.bj-hand.win .bc-face.front { box-shadow: 0 0 0 2px #ffd27a, 0 0 18px rgba(245, 166, 35, .7); }
.bj-mid { position: relative; display: grid; justify-items: center; gap: 20px; margin: 10px 0; min-height: 58px; }
.bj-rule { font-size: .66rem; letter-spacing: 1px; color: rgba(255, 230, 160, .55); text-transform: uppercase; }
.bj-pot { position: relative; display: flex; gap: 22px; justify-content: center; min-height: 42px; transition: transform .7s cubic-bezier(.5, 0, .3, 1), opacity .7s; }
.bj-pot.to-player { transform: translateY(120px); opacity: 0; }
.bj-pot.to-dealer { transform: translateY(-120px); opacity: 0; }
.bj-stack { position: relative; width: 38px; height: 38px; }
.bj-stack span { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 2px; font-size: .64rem; color: #ffe09a; white-space: nowrap; }
.bj-stack.in { animation: bjIn .4s cubic-bezier(.2, 1.4, .4, 1); }
.bj-stack.add { animation: bjAdd .45s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes bjIn { from { transform: translateY(80px); opacity: 0; } }
@keyframes bjAdd { from { transform: translateY(-80px); opacity: 0; } }
.bj-chip { position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; transform: translateY(calc(var(--i) * -4px)); box-shadow: 0 2px 3px rgba(0, 0, 0, .55);
           background: radial-gradient(circle, var(--cc) 34%, #fff 35%, #fff 41%, var(--cc) 42%, var(--cc) 60%, transparent 61%), repeating-conic-gradient(var(--cc) 0 20deg, #fff 20deg 30deg); }
.bj-chip.c0 { --cc: #c0223c; } .bj-chip.c1 { --cc: #1f5fbf; } .bj-chip.c2 { --cc: #1b1f2a; } .bj-chip.c3 { --cc: #2d9a55; }
.bj-banner { position: absolute; left: 50%; top: 50%; z-index: 10; transform: translate(-50%, -50%); padding: 10px 24px; border-radius: 12px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 6vw, 2.2rem); letter-spacing: 3px; white-space: nowrap; animation: cfSlam .5s cubic-bezier(.2, 1.6, .4, 1) both; pointer-events: none; }
.bj-banner small { display: block; margin-top: 2px; font-size: .55em; letter-spacing: 1px; text-align: center; font-variant-numeric: tabular-nums; }
.bj-banner.bj { color: #1b1000; background: linear-gradient(100deg, #f5a623, #ffe09a 45%, #f5a623 55%, #d98a0c); background-size: 220% 100%; animation: cfSlam .5s cubic-bezier(.2, 1.6, .4, 1) both, xbShine 1.6s linear infinite; box-shadow: 0 0 40px rgba(245, 166, 35, .7); }
.bj-banner.win { color: #fff; background: rgba(20, 120, 70, .92); border: 2px solid #59e39b; }
.bj-banner.lose { color: #ffd0d8; background: rgba(60, 10, 20, .85); border: 1px solid rgba(255, 128, 149, .5); font-size: clamp(1.1rem, 4.6vw, 1.6rem); }
.bj-banner.push { color: #e5e7eb; background: rgba(20, 24, 34, .9); border: 1px solid var(--line-strong); }

/* Karten */
.bc { position: relative; width: 64px; height: 92px; perspective: 600px; flex: 0 0 auto; }
.bc-in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .38s cubic-bezier(.3, .7, .3, 1); }
.bc.down .bc-in, .bc.flipping .bc-in { transform: rotateY(180deg); }
.bc-face { position: absolute; inset: 0; border-radius: 8px; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
.bc-face.front { background: linear-gradient(160deg, #ffffff, #eef0f5); color: #151a26; border: 1px solid #c9ced9; }
.bc-face.front.red { color: #c0223c; }
.bc-in > .bc-face.back:last-child, .bc-in > .bc-face.back ~ .bc-face.back { transform: rotateY(180deg); }
.bc-in > .bc-face.back { background: repeating-linear-gradient(45deg, #1f3a8a 0 6px, #2a4fb5 6px 12px); border: 3px solid #f1f4fb; }
.bc-in > .bc-face.back::after { content: 'N'; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: rgba(255, 255, 255, .55); }
.bc-in > .bc-face.front + .bc-face.back { transform: rotateY(180deg); }
.bc-c { position: absolute; display: grid; justify-items: center; line-height: .95; font-family: var(--font-display); }
.bc-c b { font-size: 1.05rem; } .bc-c i { font-style: normal; font-size: .8rem; }
.bc-c.tl { left: 5px; top: 4px; }
.bc-c.br { right: 5px; bottom: 4px; transform: rotate(180deg); }
.bc-mid { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2rem; }

@media (max-width: 640px) {
  .cf-machine { padding: 12px 10px 14px; }
  .cf-lever { display: none; }
  .cf-reel { height: 168px; }
  .cf-cell { height: 56px; font-size: 2rem; }
  .cf-marquee span, .cf-marquee b { font-size: 1.2rem; }
  .rl-stage { grid-template-columns: 1fr; }
  .rl-side { grid-template-columns: 90px 1fr; align-items: center; }
  .rl-result { width: 86px; }
  .rl-result b { font-size: 2rem; margin-bottom: 12px; } .rl-result small { margin-top: 12px; }
  .rl-table { grid-template-columns: 26px 1fr; padding: 6px; gap: 2px; }
  .rl-grid { gap: 2px; }
  .rl-table button { font-size: .66rem; padding: 6px 0; border-radius: 4px; }
  .rl-table button.sel::after { width: 14px; height: 14px; margin: -7px 0 0 -7px; }
  .bc { width: 52px; height: 76px; }
  .bj-hand { min-height: 80px; }
  .bj-hand .bc + .bc { margin-left: -18px; }
  .bc-mid { font-size: 1.6rem; }
  .bj-rule { display: none; }
  .bj-shoe { width: 40px; height: 52px; } .bj-shoe i { width: 26px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .cf-bulbs i, .cf-marquee b, .cf-cell.win, .cf-cell.joker, .cf-win-rays, .cf-reel.tease, .sn-col.tease { animation: none !important; }
}

/* Kontostand am Tisch */
.table-modal .table-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tb-bal { display: grid; justify-items: end; padding: 5px 12px; border-radius: 10px; border: 1px solid rgba(245, 166, 35, .35); background: rgba(245, 166, 35, .08); line-height: 1.15; }
.tb-bal small { font-size: .6rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-dim); }
.tb-bal span { font-family: var(--font-display); font-size: 1.1rem; color: var(--gold); white-space: nowrap; }
.tb-bal b { font-variant-numeric: tabular-nums; color: #fff; }
.tb-bal.up { animation: tbUp .7s ease-out; }
.tb-bal.down { animation: tbDown .7s ease-out; }
@keyframes tbUp { 30% { box-shadow: 0 0 0 2px var(--green), 0 0 18px rgba(52, 224, 127, .5); } }
@keyframes tbDown { 30% { box-shadow: 0 0 0 2px var(--red), 0 0 14px rgba(255, 77, 106, .4); } }
@media (max-width: 640px) { .tb-bal { margin-right: 0; padding: 4px 10px; } .tb-bal span { font-size: .98rem; } }
/* Kopf mit Titel und Kontostand bleibt beim Scrollen im Tisch sichtbar */
.table-modal .table-head { position: sticky; top: -28px; z-index: 30; margin: -28px -28px 6px; padding: 14px 28px 10px;
  background: linear-gradient(180deg, rgba(18, 24, 39, .99) 75%, rgba(18, 24, 39, .9)); border-bottom: 1px solid rgba(96, 140, 220, .12); border-radius: 14px 14px 0 0; }
@media (max-width: 640px) {
  .table-modal .table-head { top: calc(-1 * var(--mpad, 20px)); margin: calc(-1 * var(--mpad, 20px)) calc(-1 * var(--mpad, 20px)) 6px; padding: 10px var(--mpad, 20px) 8px; }
  .table-modal .table-head h2 { font-size: 1.2rem; }
}

/* ---------- Autospin (Nova-Slot & Supernova) ---------- */
.as-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 8px 0 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-size: .8rem; color: var(--text-dim); }
.as-row label { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.as-row .input { width: auto; min-width: 0; padding: 6px 8px; font-size: .8rem; }
.as-row select.input { width: 64px; }
.as-row input[type=text].input { width: 110px; }
.as-row .as-chk input { accent-color: var(--gold); }
.as-go { width: auto; padding: 7px 14px; font-size: .78rem; }
.as-go.on { border-color: #ff4d6a; color: #ff9aae; background: rgba(255, 77, 106, .12); animation: asPulse 1.6s ease-in-out infinite; }
@keyframes asPulse { 50% { box-shadow: 0 0 0 4px rgba(255, 77, 106, .15); } }
.as-row.running label { opacity: .45; pointer-events: none; }
.as-stat { flex-basis: 100%; font-size: .8rem; color: var(--text); }
.as-stat .pos { color: var(--green); } .as-stat .neg { color: #ff9aae; }
@media (max-width: 520px) {
  .as-go { flex: 1 1 100%; }
  .as-row input[type=text].input { width: 96px; }
}
