:root{color-scheme:dark;--ink:#f6f1df;--muted:#b9c9c1;--gold:#e6c688;--navy:#101e22}*{box-sizing:border-box}body{margin:0;background:var(--navy);color:var(--ink);font:16px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input{font:inherit}button{cursor:pointer;transition:transform .15s,background .15s}button:hover:not(:disabled){transform:translateY(-2px)}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #ffdf82;outline-offset:5px}button[hidden]{display:none}header{max-width:1180px;margin:auto;padding:26px 32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff16}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font:26px Georgia,serif}.brand i{color:var(--gold)}.brand small{display:block;font:10px/2.5 -apple-system,sans-serif;letter-spacing:3px}.brand-icon{color:var(--gold);font-size:44px}main{max-width:1040px;margin:auto;padding:30px 32px}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.eyebrow{color:var(--gold);font-size:12px;letter-spacing:2px;margin:0}h1{font:clamp(32px,4vw,46px)/1.2 Georgia,serif;margin:8px 0}p{margin:8px 0;color:var(--muted)}.bank{text-align:right;display:grid;justify-items:end}.bank>span{font-size:14px;color:var(--muted)}.bank strong{font-size:32px;font-variant-numeric:tabular-nums}.quiet{border:1px solid #9caf9b70;background:#ffffff08;color:var(--ink);padding:9px 17px;border-radius:8px}.bank button{padding:4px 10px;font-size:14px}.table{position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 40%,#20654d,#124a3a 65%,#103a31);border:8px solid #304039;border-radius:110px 110px 45px 45px;padding:22px 28px 20px;box-shadow:0 0 0 2px #8d7a5055,inset 0 0 65px #0005,0 22px 40px #0004}.table-top{display:flex;justify-content:space-between;color:#d8d6b2;font-size:11px;letter-spacing:1.5px}.hand-zone{text-align:center;margin:12px 0}.seat-label{font-size:12px;letter-spacing:2px;color:#d4ddca;margin:0 0 9px}.seat-label span{letter-spacing:0;margin-left:10px;color:#f0d18a}.cards{display:flex;justify-content:center;gap:13px;min-height:120px;perspective:800px}.card{width:83px;height:116px;background:#fffaf0;color:#182c30;border-radius:8px;box-shadow:0 2px 0 #c7c1af,0 4px 0 #b7b09e,3px 9px 13px #0005;position:relative;font:26px Georgia,serif;display:grid;place-items:center;animation:arrive .3s ease-out both}.card:nth-child(1){transform:rotate(-5deg)}.card:nth-child(3){transform:rotate(5deg)}.card.red{color:#b2383e}.card .corner{position:absolute;left:7px;top:5px;font-size:19px;line-height:1.05}.card .corner.bottom{left:auto;top:auto;bottom:5px;right:7px;transform:rotate(180deg)}.card .pip{font-size:42px}.card.back{border:5px solid #ece7d9;background:repeating-linear-gradient(45deg,#254559 0 3px,#36586a 3px 5px);color:#e7d39b}.back .pip{border:1px solid #e7d39b88;border-radius:50%;width:50px;height:65px;font-size:30px;display:grid;place-items:center}.table-center{text-align:center;margin:17px 0;color:#b4bc91}.table-mark{font:25px Georgia,serif;opacity:.7;letter-spacing:6px}.table-mark span{color:#d8c58d}.table-center p{font-size:10px;letter-spacing:1px;color:#d0d7b5}.table-center b{margin:0 7px}.table-center small{font-size:12px;color:#b9c9b0}.bet-spots{display:flex;gap:24px;justify-content:center;margin-top:16px}.bet-spots>div{border:1px solid #d5c18a88;border-radius:50%;width:80px;height:55px;display:grid;place-content:center;text-align:center;font-size:10px;letter-spacing:2px;color:#d8c58f}.bet-spots strong{font-size:18px;line-height:1.2;letter-spacing:0;color:#fff1cd}.controls{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:25px 6px}#bet-controls{display:flex;gap:12px;align-items:center}label{font-size:14px;color:var(--muted)}.chips{display:flex;gap:9px}.chip{width:45px;height:45px;background:#285b64;color:white;border:4px dashed #dce7d6;border-radius:50%;box-shadow:0 3px 0 #0b1118,0 5px 8px #0005;font-weight:700;padding:0}.chip:nth-child(2){background:#a0474c}.chip:nth-child(3){background:#366747}.chip:nth-child(4){background:#45405e}.chip.selected{outline:2px solid var(--gold);outline-offset:3px}input{width:75px;background:#0b171b;color:var(--ink);padding:9px;border:1px solid #76867e;border-radius:7px}.actions{display:flex;gap:10px}.primary{background:var(--gold);border:1px solid #f3d9a6;color:#162922;font-weight:650;border-radius:9px;padding:13px 28px;box-shadow:0 3px 0 #92764a}.result{border:1px solid #ffffff16;background:#ffffff04;border-radius:12px;padding:19px 24px;min-height:112px}.result h2{font:23px Georgia,serif;margin:0 0 7px}.result p{font-size:14px}#accounting{color:var(--gold);font-variant-numeric:tabular-nums}footer{display:flex;justify-content:space-between;gap:25px;margin-top:28px;font-size:13px;color:var(--muted)}footer strong{color:#e1e8dc;font-weight:500}footer p{margin:4px 0}.save-note{max-width:580px;font-size:12px}footer>div:last-child{text-align:right;white-space:nowrap}.text-button{display:block;background:none;color:var(--muted);border:0;text-decoration:underline;margin:8px 0 0 auto;padding:0;font-size:13px}dialog{background:#182c2e;color:var(--ink);max-width:620px;max-height:85vh;border:1px solid #859880;border-radius:16px;padding:28px}dialog::backdrop{background:#000a;backdrop-filter:blur(4px)}dialog h2{font:28px Georgia,serif}dialog h3{font-size:18px;margin-bottom:7px}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:20px}.dialog-top h2{margin:0}dialog p{margin:15px 0}ol{padding-left:25px}@keyframes arrive{from{opacity:0;translate:0 -8px}to{opacity:1;translate:0 0}}@media(max-width:700px){header{padding:16px 18px}.brand{font-size:22px}main{padding:22px 14px}.intro{gap:12px;align-items:flex-start}.intro>div:first-child>p:last-child{font-size:14px;max-width:180px}.eyebrow{font-size:9px;letter-spacing:1px}h1{font-size:30px}.bank strong{font-size:27px}.bank button{font-size:12px;padding:6px}.table{padding:18px 12px;border-width:6px;border-radius:55px 55px 25px 25px}.table-top{justify-content:center;font-size:9px}.table-top span:first-child{display:none}.table-center p{font-size:9px;max-width:240px;margin:5px auto}.table-center b{margin:0 3px}.controls{flex-direction:column;align-items:stretch;padding:23px 0}#bet-controls{justify-content:center;gap:10px}#bet-controls label{display:none}.actions{justify-content:center}.actions .primary{flex:1}.result{padding:18px}footer{flex-direction:column;gap:12px}footer>div:last-child{text-align:left;display:flex;gap:20px;align-items:center}.text-button{margin:0}.card{width:76px;height:106px}.cards{min-height:110px}.table-center{margin:13px 0}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
/* Emerald room: dimensional rail, table lighting and shared seating. */
body{background:radial-gradient(ellipse at 50% 20%,#27312d 0,#11191b 45%,#080f13 100%);background-attachment:fixed}header{max-width:1400px;gap:16px}.brand{margin-right:auto}main{max-width:1260px}.room-bar{display:flex;justify-content:space-between;gap:12px;padding:0 0 22px;color:#b8b8a0;font-size:12px;letter-spacing:1.5px}.room-star{color:#e8c480;font-size:19px;margin-right:8px}#room-mode{letter-spacing:0}.intro{padding:0 12px;margin-bottom:34px}.casino-stage{padding:0 10px 28px;perspective:1400px;filter:drop-shadow(0 32px 24px #0008)}.table{min-height:620px;padding:35px 28px 30px;border:24px solid #292624;border-radius:48% 48% 32% 32% / 24% 24% 35% 35%;background:radial-gradient(ellipse at 50% 28%,#32775d99,transparent 60%),repeating-linear-gradient(4deg,#ffffff02 0 1px,transparent 1px 4px),#124b3d;box-shadow:0 3px 0 2px #655044,0 9px 0 4px #151313,0 16px 0 5px #080b0c,inset 0 0 0 3px #ac8c4b,inset 0 0 0 7px #163d32,inset 0 20px 40px #0008,0 -2px 0 2px #8e7a63;overflow:visible}.table::before{content:'';position:absolute;inset:-18px;pointer-events:none;border:1px dashed #a28f7144;border-radius:inherit}.table-top{justify-content:center;gap:45px;margin-bottom:12px;font-size:10px}.dealer-tray{position:absolute;top:-31px;left:50%;transform:translateX(-50%);display:flex;gap:4px;padding:7px 15px;border-radius:6px;background:linear-gradient(#14191b,#374244);border:2px solid #77705b;box-shadow:0 6px 9px #000a}.dealer-tray i{display:block;width:21px;height:18px;border-radius:3px;background:repeating-linear-gradient(0deg,#b35654 0 2px,#eed6b4 2px 3px,#742b30 3px 5px);transform:skewX(-12deg)}.dealer-tray i:nth-child(3n){background:repeating-linear-gradient(0deg,#4376a0 0 2px,#dde5d4 2px 3px,#233c62 3px 5px)}.dealer-tray i:nth-child(3n + 1){background:repeating-linear-gradient(0deg,#619875 0 2px,#dde5d4 2px 3px,#22462f 3px 5px)}.table>.hand-zone:first-of-type{transform:scale(.9)}.table-center{margin:25px auto;max-width:340px}.table-mark{font-size:36px;letter-spacing:10px;text-shadow:0 2px 1px #0006}.table-center p{line-height:1.8}.player-zone{position:relative;z-index:2;margin-top:30px}.card{background:linear-gradient(120deg,#fffef8,#eee7d5);box-shadow:0 1px 0 #d9d1bc,0 3px 0 #eee7d7,0 5px 0 #bbb19c,0 7px 0 #ded6c4,4px 15px 12px #0007;border:1px solid #fff9;transform-origin:center bottom}.player-zone .cards{transform:rotateX(16deg)}.player-zone .card:nth-child(1){transform:rotate(-9deg) translateY(3px)}.player-zone .card:nth-child(3){transform:rotate(9deg) translateY(3px)}.bet-spots{margin-top:22px}.bet-spots>div{background:#092d2838;box-shadow:inset 0 2px 4px #0003}.your-seat{position:absolute;bottom:-36px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;min-width:180px;background:linear-gradient(#263b3c,#172527);border:1px solid #b59760;border-radius:12px;padding:9px 15px;box-shadow:0 8px 15px #0007}.your-seat>span:nth-child(2){font-size:12px;letter-spacing:2px}.your-seat small{display:block;font-size:11px;color:#d4c199;letter-spacing:0}.avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#ad9467,#544332);border:1px solid #d7bd83;color:#fff6db;font:18px Georgia,serif}.chip-stack{position:relative;width:30px;height:28px;margin-left:auto}.chip-stack i{position:absolute;bottom:0;left:0;border:3px dashed #e5d7b5;background:#ad4348;width:27px;height:16px;border-radius:50%;box-shadow:0 3px #571c27}.chip-stack i:nth-child(2){bottom:5px}.chip-stack i:nth-child(3){bottom:10px}.guest-seat{position:absolute;width:180px;text-align:center;z-index:3}.seat-0{left:3%;top:34%;transform:rotate(8deg)}.seat-1{left:10%;top:65%;transform:rotate(4deg)}.seat-2{right:10%;top:65%;transform:rotate(-4deg)}.seat-3{right:3%;top:34%;transform:rotate(-8deg)}.guest-name{display:flex;align-items:center;justify-content:center;gap:9px;background:linear-gradient(#203e36,#142d28);border:1px solid #aa966b66;border-radius:30px;padding:6px 10px;box-shadow:0 5px 8px #0004}.guest-name strong{font-size:14px;font-weight:500;text-align:left}.guest-name small{display:block;font-size:8px;letter-spacing:1px;color:#c6cdb9}.guest-status{display:block;color:#e4d9b6;font-size:11px;margin-top:7px}.guest-hand{display:flex;justify-content:center;gap:5px;margin-bottom:12px;min-height:46px}.mini-card{display:grid;place-items:center;width:35px;height:46px;background:#fff7e4;color:#15232b;border-radius:4px;box-shadow:0 3px #b9b19f,0 7px 7px #0005;font:14px Georgia,serif}.mini-card.red{color:#a82739}.mini-card.concealed{background:repeating-linear-gradient(45deg,#254559 0 3px,#36586a 3px 5px);border:2px solid #e5dccc;color:#e0c482}.empty-seat{display:grid;place-items:center;width:50px;height:50px;margin:0 auto 8px;border-radius:50%;border:1px dashed #c5d2b956;color:#c5d2b966;font-size:22px;background:#092a2422}.empty strong,.empty small{display:block;color:#b9c9b084;font-size:12px;font-weight:400}.empty small{font-size:10px}.controls{padding-top:32px}.chip{box-shadow:0 2px #c5bda2,0 5px #172a2e,0 7px #b8b19b,0 10px #071114,0 13px 12px #0006}.chip:hover:not(:disabled){transform:translateY(-5px)}.primary{background:linear-gradient(#f2dba1,#c5a369);box-shadow:0 3px #795d37,0 6px 15px #0005}.result{background:linear-gradient(110deg,#22302d,#172326);border-color:#b4a47933}.table-options{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:25px}.table-option{display:flex;flex-direction:column;gap:12px;text-align:left;border:1px solid #b49a6266;border-radius:15px;padding:20px;background:linear-gradient(#233c33,#102622);color:#f6edd7}.table-option strong{font:24px Georgia,serif}.table-option>span:not(.mini-table){font-size:14px;color:#c3cebf}.table-option b{font-size:13px;color:#e8c781;margin-top:auto}.mini-table{display:grid;place-items:center;height:100px;width:100%;border:9px solid #4b3b30;border-radius:50%;background:radial-gradient(#35765a,#123c2c);box-shadow:0 5px #191714,inset 0 3px 10px #0008;color:#d8c38d;font-size:36px}.mini-table.social{font-size:25px;letter-spacing:12px}.local-note{font-size:13px}.future-note{border-top:1px solid #ffffff20;padding-top:18px;font-size:12px;color:#cfbd94}#lobby{max-width:740px;width:calc(100% - 32px);padding:30px}#lobby h2{font-size:36px;margin-top:8px}@media(min-width:701px) and (max-width:1000px){.guest-seat{width:130px}.seat-1{left:3%}.seat-2{right:3%}.table-center{max-width:280px}.table{border-width:18px}}@media(max-width:700px){header{flex-wrap:wrap;gap:9px}.brand{flex:1}.quiet{font-size:13px;padding:8px 11px}header #lobby-open{order:3}.room-bar{font-size:10px;letter-spacing:.7px;flex-wrap:wrap;padding-bottom:12px}.intro{padding:0;margin-bottom:24px}.casino-stage{padding:0 0 24px}.table{border-width:12px;border-radius:65px 65px 45px 45px;min-height:760px;padding:25px 10px 35px}.table::before{inset:-8px}.dealer-tray{top:-22px;gap:2px;padding:5px 10px}.dealer-tray i{width:16px;height:15px}.table-top{font-size:8px;letter-spacing:.5px}.table-center{max-width:240px;margin:15px auto}.table-mark{font-size:27px}.player-zone{margin-top:22px}.guest-seats{display:grid;grid-template-columns:1fr 1fr;gap:16px 10px;margin:18px auto;max-width:360px}.guest-seat{position:static;transform:none;width:auto}.guest-hand{min-height:28px;margin-bottom:8px}.mini-card{width:28px;height:36px;font-size:12px}.guest-name{padding:4px 7px}.guest-name .avatar{width:25px;height:25px;font-size:14px}.guest-status{font-size:10px;min-height:15px}.empty-seat{width:27px;height:27px;margin-bottom:3px;font-size:16px}.empty small{display:none}.table:has(.guest-seat.empty){min-height:640px}.table-options{grid-template-columns:1fr}.mini-table{height:65px;max-width:160px;align-self:center}.table-option{gap:9px;padding:16px}.table-option strong{font-size:22px}#lobby{padding:22px}.your-seat{bottom:-30px}.controls{padding-top:26px}}
/* Spotlighted casino room and physical chip placement. */
body{background:radial-gradient(ellipse at 10% 12%,#98662a30 0,transparent 28%),radial-gradient(ellipse at 90% 20%,#299c7a25 0,transparent 30%),repeating-linear-gradient(90deg,transparent 0 118px,#d8b56c0b 119px 121px,transparent 122px 240px),linear-gradient(#151b24,#080e16 65%,#111920);background-attachment:fixed}header{border-bottom-color:#d6b37055;background:linear-gradient(90deg,transparent,#d1a75708,transparent)}.brand-icon{color:#f0d18d;text-shadow:0 0 18px #f9bd4466}.intro h1{color:#fff1ce;text-shadow:0 2px 0 #59472b,0 0 35px #c69e4925}.bank{padding:14px 22px;border:1px solid #c9ab6555;border-radius:12px;background:linear-gradient(135deg,#2c3136,#10171c);box-shadow:inset 0 1px #fff2,0 8px 20px #0004}.bank strong{color:#ffe0a0;text-shadow:0 0 20px #eebd5540}.casino-stage{padding:8px 16px 38px;perspective:1100px;filter:drop-shadow(0 40px 20px #000b)}.table{border:28px solid transparent;background:radial-gradient(ellipse at 50% 25%,#479b7266,transparent 48%) padding-box,repeating-linear-gradient(8deg,#ffffff04 0 1px,transparent 1px 3px) padding-box,linear-gradient(110deg,#093e32,#207359 48%,#083e35) padding-box,linear-gradient(160deg,#75533e 0%,#322724 18%,#191819 40%,#64503d 64%,#2b2322 84%,#90724c) border-box;box-shadow:inset 0 0 0 2px #ffdc8f,inset 0 0 0 5px #a57e37,inset 0 0 0 8px #133e2e,inset 0 20px 45px #001d1ba8,0 2px 0 2px #e0bd7e,0 8px 0 3px #4e3122,0 13px 0 4px #a16f3d,0 24px 0 5px #211613,0 32px 0 4px #080b10,0 35px 40px #000b;transform:rotateX(5deg);padding-bottom:48px}.table::before{border:2px dashed #d6bc8b45;inset:-18px;box-shadow:inset 0 3px 7px #fff1,0 3px 8px #0007}.table::after{content:'';position:absolute;pointer-events:none;inset:8px;border:1px solid #e9c47c28;border-radius:inherit;box-shadow:0 0 22px #6ef4ba12,inset 0 0 80px #031d2055}.table-center .table-mark{font-size:42px;opacity:1;color:#e5cc92;text-shadow:0 2px #123929,0 -1px #fff8;letter-spacing:12px}.table-center{position:relative}.table-center::before,.table-center::after{content:'◆';position:absolute;top:12px;color:#dbb66e88;font-size:14px}.table-center::before{left:25px}.table-center::after{right:25px}.card{background:radial-gradient(at 20% 0,#fff 0,#fff9e8 65%,#d9cdb6);box-shadow:0 2px #b5a987,0 4px #fff0d0,0 6px #b5a987,0 8px #d9ceb2,8px 20px 12px #001b16aa}.card.back{background:repeating-conic-gradient(#183b55 0% 25%,#2c536b 0% 50%) 0 0 / 9px 9px;border-color:#f6e8c7}.card.back .pip{background:#122d43;border:2px double #d6af64;color:#f4d187;box-shadow:0 0 0 4px #112f42,0 0 0 5px #d6af6466;text-shadow:0 2px #000}.guest-name{background:linear-gradient(#344a48,#172729);border-color:#c8a767aa;box-shadow:inset 0 1px #fff2,0 6px 0 #061d1b99,0 10px 14px #0006}.guest-name .avatar{background:radial-gradient(at 30% 20%,#d1a981,#715649 60%,#332b30)}.seat-2 .avatar{background:radial-gradient(at 30% 20%,#7cacc0,#325368)}.seat-3 .avatar{background:radial-gradient(at 30% 20%,#b399bf,#644b75)}.guest-name small{font-size:10px;letter-spacing:.4px}.guest-status{font-size:12px;color:#ede5c8}.bet-spots{gap:28px;margin-top:30px;position:relative;z-index:4}.bet-spots>div{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;width:112px;height:112px;border:2px solid #d4b775;border-radius:50%;background:radial-gradient(#0c382b66,#002d2755);box-shadow:inset 0 4px 10px #001e21aa,0 1px #e6d09a55;gap:2px}.bet-label{position:absolute;top:7px;font-size:12px;letter-spacing:2px;color:#fae7b7}.bet-spots strong{font-size:12px;position:absolute;bottom:9px;color:#ffefc7;line-height:1.2;white-space:nowrap}.table-chips{position:relative;width:50px;height:50px;margin-top:5px}.placed-chip{position:absolute;left:4px;top:12px;width:43px;height:32px;display:grid;place-items:center;border:4px dashed #f9e8c6;border-radius:50%;background:linear-gradient(135deg,#d05d63,#7e1d34);color:#fff;font-size:12px;font-weight:800;letter-spacing:0;box-shadow:0 2px #e4cfac,0 5px #5d1827,3px 8px 6px #0007}.placed-chip:nth-child(2){top:9px;left:5px}.placed-chip:nth-child(3){top:6px;left:3px}.placed-chip:nth-child(4){top:3px;left:5px}.placed-chip:nth-child(5){top:0;left:4px}.placed-chip:nth-child(6){top:-3px;left:3px}.placed-chip:nth-child(7){top:-6px;left:5px}.placed-chip:nth-child(8){top:-9px;left:4px}.has-bet{border-color:#ffe1a0!important;box-shadow:inset 0 4px 10px #001e2177,0 0 24px #ffd16b28!important}.chip-5{background:linear-gradient(135deg,#5593bb,#173c68)!important}.chip-10{background:linear-gradient(135deg,#d35e6c,#822337)!important}.chip-25{background:linear-gradient(135deg,#59aa73,#22603e)!important}.chip-50{background:linear-gradient(135deg,#a38ac7,#493366)!important}.chip-1{background:linear-gradient(135deg,#b3aba0,#575957)!important}.flying-chip{position:fixed;top:0;left:0;z-index:10000;pointer-events:none;width:48px;height:48px;display:grid;place-items:center;will-change:transform;margin:0}.controls{background:linear-gradient(120deg,#27313b,#101c25);border:1px solid #9c845359;border-top:2px solid #c8a36b;border-radius:15px;padding:23px 26px;margin:15px 0 22px;box-shadow:0 10px 25px #0006,inset 0 1px #fff1;align-items:center}.betting-heading{display:flex;gap:14px;align-items:baseline;margin-bottom:16px}.betting-heading strong{font:21px Georgia,serif;color:#f3deac}.betting-heading span{font-size:13px;color:#c5c9bd}#bet-controls{gap:22px}.chips{gap:17px;padding-bottom:7px}.chip{width:54px;height:54px;font-size:18px;position:relative;border-width:5px;text-shadow:0 2px #0005;box-shadow:inset 0 0 0 2px #fff6,inset 0 0 0 4px #0002,0 2px #f2dfb9,0 5px #262326,0 7px #ddc9a9,0 10px #18191d,0 14px 12px #0009}.chip::after{content:'';position:absolute;inset:5px;border:1px solid #ffefb9aa;border-radius:50%;pointer-events:none}.deal-panel{text-align:right}#bet-summary{font-size:13px;color:#e0cfaa;margin:0 0 11px}.primary{min-height:48px;text-shadow:0 1px #fff5;background:linear-gradient(110deg,#e5b867,#ffe7ad 45%,#d4a557);border-color:#ffe6a9;box-shadow:0 3px #8f6532,0 5px #453220,0 8px 18px #0006}.primary:not(:disabled):hover{box-shadow:0 3px #8f6532,0 5px #453220,0 0 22px #dfba5a44}.primary:disabled{opacity:.55}.your-seat{bottom:-38px;background:linear-gradient(130deg,#4a443a,#212b30);box-shadow:0 3px #87714f,0 8px #101519,0 12px 20px #0009}.room-star{filter:drop-shadow(0 0 8px #ffce70)}@media(max-width:1000px){.controls{flex-wrap:wrap}.deal-panel{flex:1}.betting-heading{flex-wrap:wrap;gap:4px 12px}}@media(max-width:700px){.casino-stage{padding:0 0 35px}.table{border-width:15px;transform:none;padding-bottom:45px}.table::before{inset:-10px}.table-center .table-mark{font-size:32px}.table-center::before{left:0}.table-center::after{right:0}.bank{padding:9px 10px}.bank strong{font-size:24px}.bet-spots{margin-top:25px;gap:20px}.bet-spots>div{width:100px;height:105px}.controls{padding:18px 14px;gap:22px;margin-top:15px}.betting-panel,.deal-panel{width:100%}.betting-heading{justify-content:center}.chips{gap:12px}.chip{width:47px;height:47px;font-size:16px}#bet-controls{flex-wrap:wrap;gap:15px}.deal-panel{text-align:center}.actions{width:100%}.guest-name small{font-size:9px}.guest-status{font-size:11px}}@media(prefers-reduced-motion:reduce){.table{transform:none}.flying-chip{display:none}}
/* Raised game surface, inset result and original lounge music. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.music-controls{display:flex;align-items:center;gap:9px}.music-controls label{font-size:12px}.music-controls input{width:76px;padding:0;accent-color:#e9c17a}.casino-stage{perspective:1050px;padding-bottom:55px}.table{transform:rotateX(11deg);transform-origin:50% 45%;box-shadow:inset 0 0 0 2px #ffdc8f,inset 0 0 0 5px #a57e37,inset 0 0 0 8px #133e2e,inset 0 28px 50px #001d1baa,0 3px 0 2px #e0bd7e,0 10px 0 3px #4e3122,0 15px 0 4px #a16f3d,0 25px 0 5px #39251c,0 38px 0 5px #211613,0 45px 0 4px #080b10,0 55px 45px #000b}.table::before{background:linear-gradient(165deg,#ffffff0a,transparent 30%,#00000022 75%,#ffffff06);box-shadow:inset 0 5px 7px #fff2,0 6px 9px #0008}.player-zone .cards{transform:rotateX(-11deg) translateY(-4px)}.player-zone .card{box-shadow:0 2px #d1c29d,0 4px #fff0d0,0 6px #b5a987,0 8px #d9ceb2,0 11px #a3967e,10px 26px 15px #001b16b8}.dealer-tray{box-shadow:0 4px #3f3020,0 8px #151b1d,0 16px 14px #000b}.guest-name{box-shadow:inset 0 2px #fff2,0 3px #637061,0 7px #152325,0 13px 15px #00181199}.bet-spots{margin-top:25px}.bet-spots>div{box-shadow:inset 0 8px 14px #001e21bb,0 2px #e6d09a66}.placed-chip{box-shadow:0 2px #f2d6ad,0 4px #7b482f,0 6px #d5baa0,0 8px #302929,5px 12px 8px #001910aa;transform:rotate(-7deg)}.felt-result{position:relative;z-index:5;width:min(460px,90%);margin:22px auto 7px;padding:14px 18px;min-height:80px;text-align:center;background:radial-gradient(ellipse,#062b25d9,#072d2844);border:1px solid #e8cc8844;border-radius:18px;box-shadow:inset 0 1px 5px #0004,0 2px 0 #7c9a6755}.felt-result h2{font-size:20px;margin:0 0 5px;color:#ffedbf}.felt-result p{font-size:13px;color:#e0e6cc;margin:5px 0}.felt-result #accounting{font-size:12px;color:#e9d6a9}.outcome-display{display:flex;align-items:center;justify-content:center;gap:16px;margin:0 0 10px;min-height:48px}.outcome-display[hidden]{display:none}.outcome-display strong{font:700 24px/1.2 -apple-system,sans-serif;font-variant-numeric:tabular-nums;color:#ffdf8d;text-shadow:0 2px #082620,0 0 22px #d8b25055}.outcome-display .table-chips{margin:0;flex:0 0 50px}.outcome-win{border-color:#e5ca78aa;box-shadow:inset 0 0 28px #ddc07412,0 0 28px #ddc07419}.outcome-loss .outcome-display strong{color:#ffc1ad}.outcome-loss .placed-chip{filter:saturate(.45);opacity:.8}.outcome-push .outcome-display strong{color:#e3ebdb}.outcome-push .table-chips{display:none}.outcome-win .outcome-display{animation:result-land .4s ease-out}.chip-100,.chip-500,.chip-1000{background:linear-gradient(135deg,#c09b42,#745320)!important}@keyframes result-land{from{opacity:0;transform:translateY(-10px) scale(.95)}to{opacity:1;transform:none}}@media(max-width:1000px){header{flex-wrap:wrap}.music-controls{order:4;margin-left:auto}.table{transform:rotateX(7deg)}.felt-result{max-width:420px}}@media(max-width:700px){.music-controls{margin:0;flex:1;justify-content:flex-end}.music-controls label{display:none}.music-controls input{width:58px}.music-controls .quiet{font-size:12px}header #lobby-open{order:0}.casino-stage{padding-bottom:40px}.table{transform:none}.player-zone .cards{transform:rotateX(15deg)}.felt-result{width:96%;padding:13px 10px}.outcome-display strong{font-size:21px}.felt-result h2{font-size:18px}.felt-result #accounting{font-size:11px;line-height:1.6}}@media(prefers-reduced-motion:reduce){.table,.player-zone .cards{transform:none}.outcome-win .outcome-display{animation:none}}
/* WebGL surface replaces the CSS illustration when a GPU context is available. */
.real-scene{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}.casino-stage.webgl-ready{position:relative;isolation:isolate;perspective:none;filter:none;padding:55px 15px 85px}.webgl-ready .table{position:relative;z-index:1;background:transparent;border:30px solid transparent;box-shadow:none;transform:none;border-radius:0;padding-top:35px;padding-bottom:35px}.webgl-ready .table::before,.webgl-ready .table::after{display:none}.webgl-ready .cards,.webgl-ready .player-zone .cards{transform:none;perspective:none}.webgl-ready .card,.webgl-ready .mini-card{opacity:1;transform:none!important;animation:none;box-shadow:none}.webgl-ready .placed-chip{visibility:hidden}.webgl-ready .dealer-tray{top:-8px;transform:translateX(-50%) rotateX(35deg);box-shadow:0 5px #1a1715,0 12px 12px #0008}.webgl-ready .felt-result{background:transparent;box-shadow:none;border-color:#d5b77a44}.webgl-ready .table-center{margin-top:20px;margin-bottom:30px}.webgl-ready .player-zone{margin-top:35px}.webgl-ready .your-seat{bottom:-36px}.webgl-ready .bet-spots>div{background:transparent;box-shadow:none}.webgl-ready .bet-spots .has-bet{box-shadow:0 0 20px #f5d18020!important}.webgl-ready .guest-hand{min-height:60px}.webgl-ready .card{width:92px;height:125px}.webgl-ready .cards{gap:16px;min-height:130px}#view-angle{font-size:12px;padding:6px 12px;letter-spacing:0;margin-left:auto}.room-bar{align-items:center}@media(max-width:700px){.casino-stage.webgl-ready{padding:28px 0 55px}.webgl-ready .table{border-width:12px;padding:25px 9px 32px}.webgl-ready .card{width:74px;height:103px}.webgl-ready .cards{min-height:108px;gap:10px}.webgl-ready .guest-hand{min-height:40px}.webgl-ready .player-zone{margin-top:25px}.room-bar #room-mode{width:100%}.webgl-ready .table-center{margin:15px auto}}
/* Lucky Atrium: compact desktop game screen, not a scrolling landing page. */
.table-mark{font-family:Georgia,serif!important;letter-spacing:1px!important;font-size:28px!important;white-space:nowrap}.table-center::before,.table-center::after{display:none}.table-mark span{font-style:italic}.placed-chip{box-shadow:0 2px #efddb8,0 5px #452731,0 7px #e3cba2,0 11px #49323a,5px 16px 9px #001910bb}.placed-chip:nth-child(2){top:4px}.placed-chip:nth-child(3){top:-4px}.placed-chip:nth-child(4){top:-12px}.placed-chip:nth-child(5){top:-20px}.placed-chip:nth-child(6){top:-28px}.placed-chip:nth-child(7){top:-36px}.placed-chip:nth-child(8){top:-44px}
@media(min-width:900px) and (min-height:650px){
 body{height:100dvh;display:grid;grid-template-rows:54px minmax(0,1fr);margin:0}
 header{width:100%;max-width:1500px;height:54px;padding:5px 20px;gap:10px;flex-wrap:nowrap}.brand{font-size:24px;gap:8px}.brand-icon{font-size:32px}.brand small{font-size:8px;letter-spacing:2px;line-height:1.4}header .quiet{font-size:12px;padding:7px 10px;white-space:nowrap}.music-controls{order:0;margin:0}.music-controls label{display:none}.music-controls input{width:55px}
 main{width:100%;height:100%;min-height:0;max-width:1400px;padding:4px 18px;display:grid;grid-template-rows:25px 44px minmax(0,1fr) 88px 22px;gap:5px}
 .room-bar{margin:0;padding:0;font-size:11px}.room-star{font-size:15px}.intro{margin:0;padding:0 10px;align-items:center}.intro .eyebrow,.intro>div:first-child>p:last-child{display:none}h1{font-size:27px;margin:0}.bank{display:flex;flex-direction:row;align-items:center;gap:12px;padding:4px 12px;border-radius:8px}.bank>span{font-size:12px}.bank strong{font-size:24px}.bank button{font-size:12px}
 .casino-stage,.casino-stage.webgl-ready{min-height:0;height:100%;padding:12px 22px 30px;filter:none}
 .table,.webgl-ready .table{min-height:0;height:100%;padding:10px 24px 12px;border-width:18px;display:grid;grid-template-rows:minmax(65px,1fr) 30px minmax(70px,1fr) 65px 92px;align-items:center;transform:none}
 .table-top{position:absolute;top:-3px;left:0;right:0;font-size:8px;margin:0}.dealer-tray,.webgl-ready .dealer-tray{top:-18px;scale:.75}.hand-zone{margin:0}.seat-label{font-size:10px;margin:0 0 4px;line-height:1.1}.table>.hand-zone{grid-row:1}.table-center,.webgl-ready .table-center{grid-row:2;margin:0 auto;max-width:330px}.table-mark{font-size:24px!important;line-height:1.1}.table-center p,.table-center small{display:none}
 .player-zone,.webgl-ready .player-zone{margin:0}.cards,.webgl-ready .cards{min-height:0;height:auto;gap:12px}.card,.webgl-ready .card{height:clamp(58px,9vh,94px);width:clamp(46px,6.5vh,70px)}.card .corner{font-size:14px}.card .pip{font-size:27px}.card.back .pip{height:40px;width:32px;font-size:23px}
 .guest-seat{width:160px}.seat-0{left:3%;top:14%}.seat-3{right:3%;top:14%}.seat-1{left:7%;top:57%}.seat-2{right:7%;top:57%}.guest-hand,.webgl-ready .guest-hand{min-height:36px;margin-bottom:7px}.mini-card{height:36px;width:28px;font-size:12px}.guest-name{padding:4px 9px}.guest-name .avatar{width:28px;height:28px}.guest-status{font-size:11px;margin-top:5px}.guest-name small{font-size:9px}.empty-seat{width:32px;height:32px}
 .bet-spots{grid-row:4;margin:0;gap:25px;align-self:center}.bet-spots>div{width:100px;height:64px}.bet-label{font-size:10px;top:2px}.bet-spots strong{font-size:11px;bottom:3px}.table-chips{height:37px;margin:0}.felt-result{grid-row:5;width:430px;max-width:60%;min-height:0;height:90px;margin:0 auto;padding:3px 10px;display:flex;flex-direction:column;justify-content:center;border-radius:10px}.outcome-display{min-height:24px;margin:0 0 3px;gap:8px}.outcome-display strong{font-size:20px}.outcome-display .table-chips{height:25px;flex-basis:45px}.felt-result h2{font-size:16px;margin:0}.felt-result p{font-size:12px;line-height:1.25;margin:2px 0}.felt-result #accounting{font-size:11px;margin:2px 0}.your-seat,.webgl-ready .your-seat{bottom:-29px;min-width:145px;padding:3px 10px;border-radius:8px}.your-seat .avatar{width:25px;height:25px;font-size:15px}.your-seat small{display:none}
 .controls{height:88px;padding:10px 20px;margin:0;flex-direction:row;flex-wrap:nowrap;gap:15px;border-radius:10px}.betting-heading{margin-bottom:7px;gap:12px}.betting-heading strong{font-size:17px}.betting-heading span{font-size:12px}.chip{height:40px;width:40px;font-size:15px;border-width:4px}.chips{gap:16px;padding-bottom:5px}#bet-controls{gap:20px}.deal-panel{flex:initial}.actions .primary{padding:9px 24px;min-height:38px}.actions .quiet{padding:7px 18px}.betting-panel{width:auto}#bet-summary{font-size:12px;margin-bottom:7px}
 footer{height:22px;margin:0;align-items:center;font-size:11px;gap:12px}footer>div:first-child{display:flex;gap:8px;align-items:center}footer p{font-size:11px;margin:0}footer .save-note{display:none}footer>div:last-child{display:flex;align-items:center;gap:15px}.text-button{margin:0;font-size:11px}
}
@media(min-width:900px) and (max-width:1100px) and (min-height:650px){header{gap:6px}.brand{font-size:20px}.music-controls{gap:5px}.guest-seat{width:125px}.seat-1{left:3%}.seat-2{right:3%}.felt-result{max-width:56%}.betting-heading span{display:none}footer>div:first-child strong{display:none}}
@media(min-width:900px) and (min-height:650px){.guest-seats{position:absolute;inset:0;pointer-events:none}.felt-result:has(.outcome-display:not([hidden])) h2{display:none}}
@media(min-width:900px) and (min-height:650px) and (max-height:780px){.table,.webgl-ready .table{grid-template-rows:minmax(55px,1fr) 25px minmax(58px,1fr) 58px 82px}.card,.webgl-ready .card{height:55px;width:43px}.felt-result{height:80px}.outcome-display strong{font-size:18px}.table-mark{font-size:21px!important}.bet-spots>div{height:58px}.mini-card{height:29px;width:24px}.guest-hand,.webgl-ready .guest-hand{min-height:30px}.guest-name small{font-size:8px}}
/* Sapphire palette — replaces the previous green / brown / cream direction. */
:root{--ink:#f5f8ff;--muted:#b9c7e3;--gold:#74d8ff;--navy:#080e22;color-scheme:dark}
body{background:radial-gradient(ellipse at 12% 15%,#5533b938,transparent 35%),radial-gradient(ellipse at 88% 30%,#0876ba30,transparent 40%),linear-gradient(135deg,#090d20,#121735 60%,#080f26);background-attachment:fixed}
header{background:linear-gradient(90deg,#12172b77,#1a214055,#12172b77);border-bottom-color:#6384d64d}.brand,.brand i{color:#f8faff}.brand-icon{color:#7de4ff;text-shadow:0 0 20px #2f96ff8a}.brand small{color:#aebfe9}.intro h1{color:#f3f6ff;text-shadow:0 0 28px #6679ff44}.eyebrow,.room-star{color:#79dcff}.room-star{filter:drop-shadow(0 0 8px #55bcff)}.room-bar,#room-mode{color:#bdcbed}
.bank{background:linear-gradient(130deg,#263463,#10182f);border-color:#729df97a;box-shadow:inset 0 1px #b2c9ff22,0 8px 20px #02081877}.bank strong{color:#f3faff;text-shadow:0 0 18px #50bfff60}.bank>span{color:#becdec}
.quiet{color:#eaf2ff;border-color:#8199db77;background:#24335944}.quiet:hover:not(:disabled){background:#31487b88}button:focus-visible,a:focus-visible,input:focus-visible{outline-color:#a4efff}.music-controls input{accent-color:#72ceff}.primary{background:linear-gradient(120deg,#62d9ff,#9ee8ff 45%,#779dff);color:#0b2141;border-color:#c4f6ff;text-shadow:none;box-shadow:0 3px #3062a6,0 5px #172751,0 8px 18px #0007}.primary:not(:disabled):hover{box-shadow:0 3px #3062a6,0 5px #172751,0 0 24px #56c7ff66}
.table{background:radial-gradient(ellipse at 48% 25%,#4b76ed88,transparent 65%) padding-box,repeating-linear-gradient(8deg,#ffffff04 0 1px,transparent 1px 3px) padding-box,linear-gradient(125deg,#12275d,#2448ae 50%,#142b70) padding-box,linear-gradient(160deg,#384462,#0c1227 40%,#29334f 75%,#52648a) border-box;box-shadow:inset 0 0 0 2px #8ce7ff,inset 0 0 0 5px #366fc7,inset 0 0 0 8px #152d6c,inset 0 25px 45px #08163c99,0 3px 0 2px #8abaff,0 10px 0 3px #151c36,0 15px 0 4px #3964ac,0 25px 0 5px #121b35,0 38px 0 5px #090f22,0 45px 0 4px #05091b,0 55px 45px #000b}.table::before{border-color:#b2cfff44}.table::after{border-color:#9fbaff33}.webgl-ready .table{background:transparent;box-shadow:none}
.table-center .table-mark{color:#dbeaff;text-shadow:0 2px #071844,0 0 22px #6da7ff66}.table-mark span{color:#9aeaff}.table-center p,.table-center small,.table-top,.seat-label{color:#cddfff}.seat-label span{color:#c1edff}.empty strong,.empty small{color:#bacbee}.empty-seat{color:#c5dbff99;border-color:#9bbaff77;background:#182c6533}
.card{color:#101522;background:linear-gradient(120deg,#fff,#f6f9ff);border-color:#fff;box-shadow:0 2px #aab8d0,0 4px #fff,0 6px #9caecb,0 8px #dce5f4,8px 20px 12px #020a29aa}.card.red,.mini-card.red{color:#e01946}.card.back,.mini-card.concealed{background:repeating-conic-gradient(#281375 0% 25%,#48339a 0% 50%) 0 0 / 9px 9px;border-color:#ddd8ff;color:#f5f1ff}.card.back .pip{background:#241259;border-color:#b5baff;color:#ecf9ff;box-shadow:0 0 0 4px #291967,0 0 0 5px #9b95e788;text-shadow:0 2px #130b36}.mini-card{background:#fff;color:#101522;box-shadow:0 3px #a4b6d4,0 7px 7px #02061f99}.player-zone .card{box-shadow:0 2px #bccce3,0 4px #fff,0 6px #93a8c9,0 8px #dae5f5,0 11px #8293b4,10px 26px 15px #030b30b8}
.guest-name{background:linear-gradient(#2b3965,#141f40);border-color:#849bea99;box-shadow:inset 0 1px #fff2,0 3px #465982,0 7px #0d1430,0 13px 15px #02082299}.guest-name strong{color:#f1f5ff}.guest-name small,.guest-status{color:#c2d3ef}.guest-name .avatar,.avatar{background:radial-gradient(at 30% 20%,#a3c2ff,#4562b5 65%,#233665);color:#fff;border-color:#b1ceff}.seat-2 .avatar{background:radial-gradient(at 30% 20%,#7ee4ff,#287fa8)}.seat-3 .avatar{background:radial-gradient(at 30% 20%,#c7a7ff,#7954ba)}
.bet-spots>div{border-color:#91c8ff;background:#0b1c5a33;box-shadow:inset 0 4px 10px #08164077,0 1px #8ebaff55}.bet-label,.bet-spots strong{color:#ebf6ff}.bet-spots .has-bet{border-color:#a2efff!important;box-shadow:0 0 24px #38bfff3a!important}.your-seat{background:linear-gradient(130deg,#334578,#151f3f);border-color:#85c2ff;box-shadow:0 3px #4e6b9b,0 8px #090f27,0 12px 20px #0009}.your-seat small{color:#bfd7ff}
.chip{border-color:#f5f8ff;text-shadow:0 1px #07142d;box-shadow:inset 0 0 0 2px #fff9,inset 0 0 0 4px #0002,0 2px #c8dbf6,0 5px #1a2440,0 7px #bccde9,0 10px #0b1129,0 14px 12px #0009}.chip::after{border-color:#fff9}.chip-5{background:linear-gradient(135deg,#40c9ff,#0868c5)!important}.chip-10{background:linear-gradient(135deg,#ff629c,#d51c58)!important}.chip-25{background:linear-gradient(135deg,#36e5bc,#008f7e)!important}.chip-50{background:linear-gradient(135deg,#b78aff,#7433d5)!important}.chip-100,.chip-500,.chip-1000{background:linear-gradient(135deg,#ffdc75,#d8890c)!important}.placed-chip{border-color:#fff;box-shadow:0 2px #e3edff,0 5px #24223e,0 7px #c5d1ea,0 11px #171d39,5px 16px 9px #030c2fbb}.chip-stack i{background:#e12468;border-color:#fff;box-shadow:0 3px #711344}.dealer-tray{background:linear-gradient(#243455,#0b132b);border-color:#b3c7e6}.dealer-tray i{background:repeating-linear-gradient(0deg,#e12468 0 2px,#fff 2px 3px,#9b1440 3px 5px)}.dealer-tray i:nth-child(3n){background:repeating-linear-gradient(0deg,#238fdf 0 2px,#fff 2px 3px,#174779 3px 5px)}.dealer-tray i:nth-child(3n + 1){background:repeating-linear-gradient(0deg,#8f4fe6 0 2px,#fff 2px 3px,#482576 3px 5px)}
.controls{background:linear-gradient(120deg,#1e2a50,#10182f);border-color:#6684c766;border-top-color:#7fc8ff;box-shadow:0 10px 25px #0006,inset 0 1px #fff1}.betting-heading strong{color:#f3f8ff}.betting-heading span,#bet-summary{color:#bbceed}.result{background:linear-gradient(120deg,#152d65,#101b42);border-color:#7fb4ff55}.felt-result{background:#10245e44;border-color:#a0c8ff55}.webgl-ready .felt-result{background:transparent;border-color:#a0c8ff55}.felt-result h2{color:#f0f7ff}.felt-result p,.felt-result #accounting{color:#cde0ff}.outcome-display strong{color:#aaf2ff;text-shadow:0 2px #102761,0 0 22px #4fc5ff55}.outcome-win{border-color:#91efff99}.outcome-loss .outcome-display strong{color:#ff9dba}.outcome-push .outcome-display strong{color:#dce5ff}
footer,footer p,.text-button{color:#aebfdf}footer strong{color:#e3edff}dialog{background:linear-gradient(145deg,#202953,#10172f);border-color:#7b92d3;color:#f4f7ff}dialog p{color:#c3d1ec}.table-option{background:linear-gradient(150deg,#2a3970,#151f44);border-color:#7793df88;color:#f3f7ff}.table-option:hover{border-color:#94e5ff}.table-option>span:not(.mini-table){color:#c4d3f0}.table-option b{color:#86e1ff}.mini-table{border-color:#202c47;background:radial-gradient(#3e6ce8,#142f8b);color:#d6ecff;box-shadow:0 5px #080e22,inset 0 3px 10px #07123b99,0 0 0 1px #7fcaff}.mini-table.social{color:#ead6ff}.future-note{color:#a9c8f3;border-top-color:#8eabdf44}
/* Keep the approved room background; restore green felt and black leather. */
.table{background:radial-gradient(ellipse at 50% 24%,#236b4655,transparent 65%) padding-box,repeating-linear-gradient(8deg,#ffffff03 0 1px,transparent 1px 3px) padding-box,linear-gradient(125deg,#052218,#10492e 50%,#061f18) padding-box,linear-gradient(160deg,#292e2c,#060909 40%,#202724 75%,#3d4741) border-box;box-shadow:inset 0 0 0 2px #7c9c87,inset 0 0 0 5px #243f30,inset 0 20px 45px #00160daa,0 3px #5a6c60,0 15px #111815,0 30px #050908,0 40px 40px #000b}.webgl-ready .table{background:transparent;box-shadow:none}.table-center .table-mark{color:#e3f1e9;text-shadow:0 2px #04170c,0 0 20px #c7ffe020}.table-mark span{color:#b8d1c2}.table-top,.seat-label{color:#e0eee5}.mini-table{background:radial-gradient(#25633f,#062d1d);border-color:#111a16;box-shadow:0 5px #050b08,inset 0 3px 10px #00150b99,0 0 0 1px #9cb9a6}.guest-name{background:linear-gradient(#253a31,#0b1812);border-color:#a9c1b388}.bet-spots>div{background:#031c1133;border-color:#bacfbd}.felt-result,.webgl-ready .felt-result{border-color:#9cc4ad55;background:transparent}
/* Readable cards are the priority; their indices are large in both renderers. */
.card,.webgl-ready .card{width:100px;height:140px;border-radius:9px}.cards,.webgl-ready .cards{min-height:145px;gap:15px}.card .corner{font:900 30px/1 Arial,sans-serif;left:7px;top:7px}.card .corner.bottom{font-size:23px}.card .pip{font-size:55px;margin:20px 0 0 12px}.mini-card{width:74px;height:104px;font:bold 26px/1 Arial,sans-serif;border-radius:6px}.guest-hand,.webgl-ready .guest-hand{min-height:109px;gap:9px}.guest-seat{width:254px}.guest-name strong{font-size:16px}.guest-status{font-size:13px}.guest-name small{font-size:10px}.card[role=button],.mini-card[role=button]{cursor:zoom-in}.card[role=button]:focus-visible,.mini-card[role=button]:focus-visible{outline:4px solid #8ae7ff;outline-offset:6px}.webgl-ready .card:focus-visible,.webgl-ready .mini-card:focus-visible{opacity:1}
#hand-detail{width:min(95vw,620px)}#inspect-cards{gap:15px;padding:20px 8px;min-height:240px;align-items:center}#inspect-cards .card{width:145px;height:205px;opacity:1;transform:none!important}#inspect-cards .corner{font-size:42px}#inspect-cards .corner.bottom{font-size:30px}#inspect-cards .pip{font-size:78px}#hand-detail p{font-size:14px}
@media(min-width:1200px) and (min-height:850px){
 main{max-width:1600px}.table,.webgl-ready .table{grid-template-rows:minmax(124px,1fr) 24px minmax(130px,1fr) 65px 92px}
 .card,.webgl-ready .card{width:clamp(90px,9vh,118px);height:clamp(124px,12.6vh,165px)}.cards,.webgl-ready .cards{min-height:0;gap:15px}.mini-card{width:clamp(70px,7vh,88px);height:clamp(98px,9.8vh,123px);font-size:28px}.guest-hand,.webgl-ready .guest-hand{min-height:100px;gap:8px}.guest-seat{width:280px}.seat-0{left:1%;top:8%}.seat-3{right:1%;top:8%}.seat-1{left:1%;top:52%}.seat-2{right:1%;top:52%}.guest-status{font-size:13px}.guest-name .avatar{width:30px;height:30px}.table-center .table-mark{font-size:23px!important}.felt-result{max-width:440px}
}
@media(min-width:1200px) and (max-height:849px){
 body{height:auto;display:block}header{height:auto;min-height:54px}main{height:auto;display:block;padding:12px 24px;max-width:1600px}.room-bar{margin-bottom:12px}.intro{margin:0 0 18px}.casino-stage,.casino-stage.webgl-ready{height:auto;padding:25px 20px 55px}.table,.webgl-ready .table{height:auto;min-height:720px;display:block;padding:32px 25px 35px}.hand-zone{margin:12px 0}.table-center,.webgl-ready .table-center{margin:18px auto}.player-zone,.webgl-ready .player-zone{margin:20px 0}.bet-spots{margin:22px 0}.felt-result{margin:18px auto;height:auto;min-height:100px;max-width:440px}.guest-seats{position:absolute;inset:0}.seat-0,.seat-3{top:12%}.seat-1,.seat-2{top:57%}.controls{margin-top:15px}footer{margin-top:15px}
}
@media(max-width:1199px){
 body{display:block;height:auto}header{height:auto;min-height:60px;flex-wrap:wrap}main{height:auto;display:block;padding:20px 16px}.intro{margin:10px 0 25px}.room-bar{margin-bottom:15px}.casino-stage,.casino-stage.webgl-ready{height:auto;min-height:0;padding:25px 0 50px}.table,.webgl-ready .table{display:flex;flex-direction:column;height:auto;min-height:0;padding:28px 16px 35px;border-width:16px;gap:20px}.table>.hand-zone{order:0}.table-center,.webgl-ready .table-center{order:1;margin:0}.player-zone,.webgl-ready .player-zone{margin:0}.bet-spots{order:3;margin:0}.felt-result{order:4;margin:0 auto;width:min(480px,96%);max-width:96%;height:auto;min-height:105px}.guest-seats{order:5;position:static;display:grid;grid-template-columns:1fr 1fr;width:100%;gap:24px 18px;margin:10px 0 0;pointer-events:auto}.guest-seat{position:static;transform:none;width:auto}.guest-hand,.webgl-ready .guest-hand{min-height:105px;gap:8px}.mini-card{width:70px;height:98px;font-size:25px}.guest-name{max-width:235px;margin:auto}.guest-status{font-size:13px}.cards,.webgl-ready .cards{min-height:140px}.card,.webgl-ready .card{width:96px;height:134px}.table-top{font-size:10px;position:static;order:-1;margin:0;gap:10px}.controls{height:auto;min-height:100px;margin-top:10px;flex-wrap:wrap}.betting-panel,.deal-panel{width:auto}.betting-heading span{display:block}footer{height:auto;display:flex;flex-wrap:wrap;margin-top:20px}footer>div:first-child{display:block}footer>div:first-child strong{display:block}footer .save-note{display:block}.your-seat,.webgl-ready .your-seat{bottom:-32px}
}
@media(max-width:600px){
 .guest-seats{grid-template-columns:1fr;gap:24px}.guest-seat{border-top:1px solid #a4c6ad33;padding-top:16px}.guest-hand,.webgl-ready .guest-hand{min-height:116px;gap:13px}.mini-card{width:80px;height:112px;font-size:29px}.guest-name{max-width:280px}.table,.webgl-ready .table{padding-left:8px;padding-right:8px;border-width:10px}.card,.webgl-ready .card{width:clamp(76px,22vw,100px);height:clamp(108px,31vw,140px)}.cards,.webgl-ready .cards{gap:10px;min-height:118px}#inspect-cards{gap:9px;min-height:180px;padding:15px 0}#inspect-cards .card{width:clamp(74px,23vw,125px);height:clamp(110px,33vw,178px)}#inspect-cards .corner{font-size:30px}#inspect-cards .corner.bottom{font-size:23px}#inspect-cards .pip{font-size:53px}#hand-detail{padding:18px}.table-top{font-size:9px}.controls{flex-direction:column;align-items:stretch}.betting-panel,.deal-panel{width:100%}.intro h1{font-size:27px}
}
/* Deep, matte forest felt; chip rack and Rebet flank the player's seat. */
.table{background:radial-gradient(ellipse at 50% 25%,#13402e22,transparent 65%) padding-box,repeating-linear-gradient(8deg,#ffffff02 0 1px,transparent 1px 3px) padding-box,linear-gradient(125deg,#051a12,#0a2c1d 50%,#051c14) padding-box,linear-gradient(160deg,#292e2c,#060909 40%,#202724 75%,#3d4741) border-box}.webgl-ready .table{background:transparent}.mini-table{background:radial-gradient(#123e2a,#041c11)}
.seat-dock.controls{position:absolute;z-index:8;left:12px;right:12px;bottom:-82px;margin:0;height:auto;min-height:100px;padding:12px 20px;display:grid;grid-template-columns:minmax(250px,1fr) 150px minmax(240px,1fr);gap:16px;align-items:center;background:linear-gradient(140deg,#12251d,#07120f);border:1px solid #75968666;border-top:2px solid #789588;border-radius:14px;box-shadow:0 9px 25px #0008,inset 0 1px #fff1}
.seat-dock .your-seat,.webgl-ready .seat-dock .your-seat{position:static;transform:none;min-width:0;bottom:auto;left:auto;justify-content:center;padding:10px 8px;background:linear-gradient(#20352b,#101d17);border-color:#86aa96;box-shadow:0 3px #3b5146,0 8px #050d08}.seat-dock .your-seat .chip-stack{display:none}.seat-dock .your-seat small{display:block;font-size:10px}.seat-dock .deal-panel{display:grid;grid-template-columns:auto 1fr;gap:5px 12px;align-items:center;width:auto}.seat-dock #rebet{grid-column:1;grid-row:1 / 3;min-height:44px;white-space:nowrap}.seat-dock #bet-summary{grid-column:2;margin:0;font-size:12px}.seat-dock .actions{grid-column:2;gap:6px}.seat-dock .primary{padding:9px 15px;white-space:nowrap}.seat-dock .betting-panel{width:auto}.seat-dock .betting-heading{margin-bottom:8px}.seat-dock .betting-heading span{display:none}.seat-dock .chips{gap:12px}.seat-dock #bet-controls{gap:15px;justify-content:flex-start}.seat-dock #clear-bet{font-size:12px;padding:8px}.casino-stage,.casino-stage.webgl-ready{padding-bottom:100px}
@media(min-width:1200px) and (min-height:850px){main{grid-template-rows:25px 44px minmax(0,1fr) 22px}.casino-stage,.casino-stage.webgl-ready{padding-bottom:100px}.seat-dock.controls{min-height:94px;padding:9px 16px;bottom:-80px}.seat-dock .betting-heading strong{font-size:17px}.seat-dock .chip{width:42px;height:42px}}
@media(min-width:1200px) and (max-width:1350px){.seat-dock.controls{grid-template-columns:minmax(240px,1fr) 100px minmax(240px,1fr);gap:10px;padding:10px}.seat-dock .your-seat{gap:6px}.seat-dock .your-seat .avatar{display:none}.seat-dock .deal-panel{gap:5px 8px}.seat-dock .primary{font-size:14px}}
@media(max-width:1199px){.seat-dock.controls{position:relative;left:auto;right:auto;bottom:auto;order:5;width:100%;grid-template-columns:minmax(200px,1fr) 100px minmax(200px,1fr);gap:10px;padding:12px;margin-top:10px}.guest-seats{order:6}.casino-stage,.casino-stage.webgl-ready{padding-bottom:35px}.seat-dock .chip{width:42px;height:42px}.seat-dock .chips{gap:9px}.seat-dock #bet-controls{flex-wrap:wrap;gap:12px}.seat-dock .deal-panel{grid-template-columns:1fr}.seat-dock #rebet,.seat-dock #bet-summary,.seat-dock .actions{grid-column:1;grid-row:auto}.seat-dock .your-seat .avatar{display:none}}
@media(max-width:750px){.seat-dock.controls{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:12px;padding:12px 8px}.seat-dock .your-seat{grid-column:1 / -1;grid-row:1;justify-self:center;min-width:120px}.seat-dock .betting-panel{grid-column:1;grid-row:2}.seat-dock .deal-panel{grid-column:2;grid-row:2}.seat-dock .chips{display:grid;grid-template-columns:repeat(2,44px);gap:12px}.seat-dock .chip{width:44px;height:44px}.seat-dock #bet-controls{flex-direction:column;align-items:flex-start}.seat-dock .betting-heading strong{font-size:17px}.seat-dock .actions{flex-wrap:wrap}.seat-dock .primary{font-size:13px;padding:9px}.seat-dock #bet-summary{font-size:11px}}
/* Betting tools sit ON the felt, not in a detached bottom toolbar. */
.seat-dock.controls{background:none;border:0;box-shadow:none}.rebet-group{grid-column:1;grid-row:1 / 3;display:flex;flex-direction:column;align-items:stretch;gap:5px}.rebet-group #rebet{font-weight:700;border-color:#b4d3c4;color:#fff;background:#163b2d}.rebet-group #rebet:disabled{opacity:.65}#rebet-note{font-size:11px;line-height:1.3;color:#d4e5db;text-align:center;max-width:130px}
@media(min-width:1200px){
 .casino-stage,.casino-stage.webgl-ready{padding-bottom:45px}
 .seat-dock.controls{position:absolute;inset:0;min-height:0;width:auto;height:auto;padding:0;display:block;pointer-events:none}
 .seat-dock .betting-panel{position:absolute;left:6%;bottom:9%;width:255px;pointer-events:auto;padding:10px 0;background:none}
 .seat-dock .betting-heading strong{font-size:19px;color:#f3f8f3;text-shadow:0 2px #0008}
 .seat-dock #bet-controls{flex-direction:column;align-items:flex-start;gap:15px}.seat-dock .chips{gap:16px}.seat-dock .chip{width:48px;height:48px;font-size:17px}.seat-dock #clear-bet{background:#071b12aa;border-color:#a8c5b366}
 .seat-dock .your-seat,.webgl-ready .seat-dock .your-seat{position:absolute;left:50%;bottom:-22px;transform:translateX(-50%);width:150px;pointer-events:auto}
 .seat-dock .deal-panel{position:absolute;right:6%;bottom:9%;width:245px;display:flex;flex-direction:column;align-items:flex-start;gap:9px;pointer-events:auto}
 .seat-dock .rebet-group{display:flex;flex-direction:row;align-items:center;gap:10px}.seat-dock #rebet{min-width:110px;font-size:16px;padding:10px 14px}.seat-dock #rebet-note{text-align:left;max-width:120px}.seat-dock #bet-summary{font-size:13px;max-width:245px}.seat-dock .actions{display:flex;flex-wrap:wrap}.seat-dock .primary{font-size:15px}.seat-dock .your-seat .avatar{display:grid}
}
@media(min-width:1200px) and (max-width:1350px){.seat-dock .betting-panel{left:3%;width:235px}.seat-dock .deal-panel{right:3%;width:220px}.seat-dock .chips{gap:12px}.seat-dock .chip{width:44px;height:44px}}
@media(max-width:1199px){.seat-dock.controls{border-top:1px solid #88af9966;padding-top:18px}.seat-dock .rebet-group{grid-column:1;grid-row:auto}.rebet-group #rebet{width:100%}#rebet-note{max-width:none;text-align:left}}
/* Physical control caps and a raised player medallion. */
.seat-dock #rebet,.seat-dock #deal,.seat-dock #play{
 position:relative;border-radius:11px;border-width:1px;min-height:46px;
 transition:transform .12s ease,box-shadow .12s ease,filter .12s ease;
 background:linear-gradient(165deg,#ceeede 0%,#73aa8b 9%,#35674f 45%,#163c2b 52%,#27583f 100%);
 border-color:#b1d8bf;color:#f7fff9;text-shadow:0 2px 1px #071b12;
 box-shadow:inset 0 2px 1px #eefff280,inset 2px 0 2px #d2ffe930,inset 0 -3px 2px #061e1988,0 2px 0 #65997a,0 5px 0 #214b35,0 8px 0 #102d1d,0 10px 0 #071c13,2px 15px 13px #0009;
}
.seat-dock #deal,.seat-dock #play{
 background:linear-gradient(165deg,#f1fcff 0%,#ace9ff 9%,#61b6df 43%,#3480b2 52%,#5caacf 100%);
 color:#08243b;border-color:#c7f1ff;text-shadow:0 1px #e9ffffa0;
 box-shadow:inset 0 2px 1px #fff9,inset 2px 0 2px #fff4,inset 0 -3px 2px #124d7888,0 2px 0 #7fc9e6,0 5px 0 #2a729c,0 8px 0 #164968,0 10px 0 #082b42,2px 15px 13px #0009;
}
.seat-dock #rebet::after,.seat-dock #deal::after,.seat-dock #play::after{content:'';position:absolute;inset:4px;border:1px solid #ffffff35;border-radius:7px;pointer-events:none}
.seat-dock #rebet:hover:not(:disabled),.seat-dock #deal:hover:not(:disabled),.seat-dock #play:hover:not(:disabled){transform:translateY(-2px);filter:brightness(1.08)}
.seat-dock #rebet:active:not(:disabled),.seat-dock #deal:active:not(:disabled),.seat-dock #play:active:not(:disabled){transform:translateY(6px);box-shadow:inset 0 2px 4px #0005,0 2px 0 #1b3a35,0 4px 0 #06191c,1px 6px 7px #0007;filter:brightness(.96)}
.seat-dock #rebet:disabled,.seat-dock #deal:disabled,.seat-dock #play:disabled{opacity:.58;filter:saturate(.5)}
.seat-dock .actions{padding-bottom:10px}.seat-dock .rebet-group{padding-bottom:8px}
.seat-dock .your-seat,.webgl-ready .seat-dock .your-seat{
 border:1px solid #bfd6c7;border-radius:13px;padding:12px 11px;
 background:linear-gradient(160deg,#7b9c89 0%,#365244 8%,#182e24 46%,#0b1b13 55%,#294636 100%);
 box-shadow:inset 0 2px 1px #effff780,inset 2px 0 3px #c1e8d333,inset 0 -3px 3px #030b0788,0 2px 0 #7a9883,0 5px 0 #375640,0 8px 0 #193522,0 11px 0 #071a10,3px 18px 16px #000a;
}
.seat-dock .your-seat>span:nth-child(2){font-size:14px;font-weight:750;letter-spacing:2px;color:#fff;text-shadow:0 2px 2px #000}.seat-dock .your-seat small{font-size:11px;letter-spacing:0;font-weight:400;color:#c5ddcf;text-shadow:none}
.seat-dock .your-seat .avatar{
 display:grid;width:38px;height:38px;flex:0 0 38px;font:bold 21px Georgia,serif;
 background:radial-gradient(circle at 30% 22%,#f2faff 0%,#a9ccff 16%,#517ec6 38%,#244d89 65%,#0c264e 100%);
 border:2px solid #d3e6ff;box-shadow:inset 0 2px 2px #fff8,inset 0 -3px 4px #071732aa,0 2px 0 #7b9ec3,0 4px 0 #1b3d60,3px 7px 7px #0008;text-shadow:0 2px #123966;
}
@media(prefers-reduced-motion:reduce){.seat-dock #rebet,.seat-dock #deal,.seat-dock #play{transition:none}}
/* Three-card poker layout: optional side circles above Play, seat above cards. */
.bet-spots{display:grid;grid-template-columns:repeat(3,105px);grid-template-rows:83px 62px;gap:6px 13px;justify-content:center;align-items:center;margin:8px auto}.bet-spots>div{width:105px;height:80px;position:relative}.bet-spots #play-circle{grid-column:2;grid-row:2;width:105px;height:60px}.bet-spots .side-circle{border-style:double;border-width:3px;border-color:#d4bd82}.bet-spots .bet-label{font-size:11px;top:5px;letter-spacing:.8px}.bet-spots strong{font-size:11px;bottom:4px}.bet-spots .table-chips{height:38px;width:50px}.bet-spots [data-wager]{cursor:pointer}.bet-spots [data-wager]:focus-visible{outline:3px solid #a8edff;outline-offset:4px}.bet-spots .selected-spot{outline:2px solid #84e3ff;outline-offset:4px;background:#47a8c91a;box-shadow:0 0 18px #72d9ff44!important}.bet-spots [aria-disabled=true]{cursor:default}.player-zone .your-seat,.webgl-ready .player-zone .your-seat{position:static;transform:none;left:auto;bottom:auto;display:flex;justify-content:center;gap:7px;width:130px;min-width:0;margin:0 auto 9px;padding:4px 9px;background:linear-gradient(#325143,#112b1d);border-color:#aacdb8;box-shadow:0 3px #425d4a,0 6px #071a10,0 9px 12px #0006}.player-zone .your-seat .avatar{width:26px;height:26px;font-size:16px}.player-zone .your-seat .chip-stack,.player-zone .your-seat small{display:none}.player-zone .seat-label{margin-bottom:7px}.wager-select-label{display:block;font-size:12px;color:#dceadd;margin:6px 0 3px}#wager-select{appearance:none;display:block;width:215px;border:1px solid #aac5b4;border-radius:8px;background:#102e21;color:#fff;font:600 15px -apple-system,sans-serif;padding:9px 30px 9px 10px;margin-bottom:14px;cursor:pointer;background-image:linear-gradient(45deg,transparent 50%,#d7eadb 50%),linear-gradient(135deg,#d7eadb 50%,transparent 50%);background-position:calc(100% - 17px) 15px,calc(100% - 12px) 15px;background-size:5px 5px;background-repeat:no-repeat}#wager-select:focus-visible{outline:3px solid #a8edff;outline-offset:3px}.clear-actions{display:flex;gap:7px;flex-wrap:wrap}.seat-dock #clear-all{font-size:12px;padding:8px;background:#071b12aa;border-color:#a8c5b366}#side-results{font-size:12px;color:#f1dca7;line-height:1.35}.felt-result{height:auto;min-height:105px}.felt-result #accounting{margin-bottom:2px}.seat-dock .deal-panel{bottom:12%}.seat-dock .betting-panel{bottom:12%}
@media(min-width:1200px) and (min-height:850px){
 .table,.webgl-ready .table{grid-template-rows:minmax(124px,1fr) 22px minmax(160px,1fr) 150px 110px}.felt-result{height:110px;max-width:480px;width:480px;padding:3px 8px}.felt-result #side-results{font-size:11px;margin:2px 0}.felt-result #accounting{font-size:10px}.player-zone,.webgl-ready .player-zone{align-self:start;margin:0}.bet-spots{margin:0 auto;grid-template-rows:83px 62px}.seat-dock .betting-panel{bottom:10%}.seat-dock .deal-panel{bottom:12%}.player-zone .your-seat{margin-top:-5px}
}
@media(min-width:1200px) and (min-height:850px) and (max-height:949px){
 header{height:48px}body{grid-template-rows:48px minmax(0,1fr)}main{grid-template-rows:22px 34px minmax(0,1fr) 20px;gap:3px;padding-top:2px;padding-bottom:2px}.intro h1{font-size:24px}.table,.webgl-ready .table{padding-top:6px;padding-bottom:6px;grid-template-rows:minmax(118px,1fr) 18px minmax(148px,1fr) 142px 100px}.card,.webgl-ready .card{width:86px;height:118px}.player-zone .your-seat{padding:2px 8px;margin-bottom:5px}.table-center .table-mark{font-size:20px!important}.felt-result{height:100px;min-height:0}.bet-spots{grid-template-rows:77px 59px;gap:6px 13px}.bet-spots>div{height:74px}.bet-spots #play-circle{height:58px}.casino-stage,.casino-stage.webgl-ready{padding-top:8px;padding-bottom:25px}
}
@media(max-width:1199px){.bet-spots{margin:12px auto;grid-template-columns:repeat(3,100px);grid-template-rows:85px 65px;gap:10px}.bet-spots>div{width:100px;height:82px}.bet-spots #play-circle{width:100px;height:62px}.felt-result{min-height:120px}.player-zone .your-seat{margin-bottom:12px}#wager-select{width:100%;max-width:230px}}
@media(max-width:420px){.bet-spots{grid-template-columns:repeat(3,82px);grid-template-rows:80px 62px;gap:8px}.bet-spots>div{width:82px;height:78px}.bet-spots #play-circle{width:82px;height:60px}.bet-spots .bet-label{font-size:9px;letter-spacing:0}.bet-spots strong{font-size:10px}.clear-actions{flex-direction:column}#wager-select{font-size:13px;padding-left:7px}}

/* Separate physical inventories and betting spots for every occupied seat. */
.chip-1{background:linear-gradient(135deg,#ffffff,#afb7bf);color:#17202b!important}
.chip-100{background:linear-gradient(135deg,#50535b,#080a10)}
.chip-500{background:linear-gradient(135deg,#ae6ae4,#462070)}
.player-bank{width:350px;max-width:100%;margin:10px auto 0;padding:7px 10px;border:1px solid #b8c9b950;border-radius:12px;background:linear-gradient(#071b12cc,#020a07cc);box-shadow:inset 0 3px 8px #0009,0 3px #65806a44}
.rack-heading{display:flex;justify-content:space-between;align-items:center;gap:7px;font-size:11px;color:#d5e8d8}
#color-open{font-size:10px;padding:4px 6px}
.chip-rack{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;padding-top:8px}
.rack-column{display:flex;flex-direction:column;align-items:center;min-width:0;font-size:10px;color:#e5eee7}
.rack-column strong{font-size:10px;font-variant-numeric:tabular-nums}
.rack-denomination{color:#b9d0bf;font-size:9px}
.rack-pile-chips.table-chips{width:32px;height:25px;margin:0 0 3px}
.rack-pile-chips .placed-chip{width:30px;height:21px;border-width:3px;left:0;font-size:8px;box-shadow:0 2px #c6bfa9,0 4px #14221b,2px 6px 4px #0008}
.guest-balance{margin-left:auto;font-size:14px;color:#f5e4ae;font-variant-numeric:tabular-nums}
.guest-rack{padding:8px 5px 3px;margin:4px 0;background:#03120d90;border-radius:8px;border:1px solid #acc8af33}
.guest-rack .rack-pile-chips{width:23px;height:19px}
.guest-rack .placed-chip{width:22px;height:16px;border-width:2px;font-size:7px}
.guest-bets{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:9px 0 4px}
.guest-bet{display:flex;flex-direction:column;align-items:center;border:1px solid #c5bc8eaa;border-radius:45%;height:62px;background:#041b1280;position:relative}
.guest-bet>span{font-size:9px;color:#f4e4b9;line-height:16px;white-space:nowrap}
.guest-bet>strong{font-size:10px;color:#fff;line-height:15px}
.guest-bet .table-chips{width:26px;height:25px;margin:0}
.guest-bet .placed-chip{width:22px;height:16px;border-width:2px;font-size:8px;left:2px;box-shadow:0 2px #d7cdb7,0 4px #152b22,2px 6px 5px #0008}
.guest-status{display:block;min-height:16px;font-size:11px}
#chip-exchange{max-width:640px;width:calc(100% - 32px)}
#exchange-rack{margin:25px 0;padding:16px;background:#061e14;border-radius:12px}
#exchange-rack .rack-pile-chips{height:38px}
.exchange-form{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}
.exchange-form label{display:flex;flex-direction:column;gap:6px}
.exchange-form select,.exchange-form input{width:100%;padding:10px;border-radius:7px;border:1px solid #b4caba;background:#11271c;color:#fff;font:inherit}
#exchange-preview,#exchange-result{min-height:2em;line-height:1.5}
@media(min-width:1200px){
 .table,.webgl-ready .table{grid-template-rows:minmax(140px,1fr) 22px minmax(265px,1.4fr) 150px 110px;min-height:810px}
 .guest-seat{width:270px}
 .seat-0,.seat-3{top:3%}
 .seat-1,.seat-2{top:43%}
 .guest-name{padding:4px 9px;transform:none}
 .guest-hand,.webgl-ready .guest-hand{min-height:100px;gap:10px;margin:5px 0}
 .mini-card{width:70px;height:98px}
 .seat-dock .betting-panel{bottom:3%;width:255px}
 .seat-dock .deal-panel{bottom:5%}
 .seat-dock .chips{display:grid;grid-template-columns:repeat(4,42px);gap:10px 13px}
 .seat-dock .chip{width:38px;height:38px;font-size:12px}
 #wager-select{margin-bottom:9px}
 .casino-stage,.casino-stage.webgl-ready{min-height:850px}
}
@media(min-width:1200px) and (max-height:1049px){
 body{height:auto;min-height:100vh;display:block;overflow:auto}
 main{display:block;height:auto}
 .intro{margin:8px 0}.room-kicker{margin-top:8px}
 footer{margin-top:12px}
}
@media(max-width:1199px){
 .guest-rack{max-width:290px;margin:8px auto}
 .guest-bets{max-width:290px;margin:12px auto}
 .guest-seat{padding-bottom:15px}
 .seat-dock .chips{display:flex;flex-wrap:wrap}
 .player-bank{margin-bottom:18px}
}
@media(max-width:480px){.exchange-form{grid-template-columns:1fr 1fr}.exchange-form label:last-child{grid-column:1 / -1}.player-bank{width:100%}.rack-column strong{font-size:9px}}
/* Keep the canvas meshes visible through their DOM hit-area containers. */
.webgl-ready .player-bank,.webgl-ready .guest-rack,.webgl-ready .guest-bet{background:transparent;box-shadow:none}

/* Seat plaque sits directly against stronger, high-contrast wager markings. */
.guest-seat .guest-name{margin:0 auto 5px;transform:none}
.guest-seat .guest-bets{margin:0 auto 9px;width:100%;gap:4px}
.guest-seat .guest-bet{border:3px solid #f0d99a;box-shadow:0 0 0 1px #06140e,inset 0 0 0 1px #06140e;height:66px}
.guest-seat .guest-bet>span{font-size:10px;font-weight:850;color:#fff0ba;line-height:18px;text-shadow:0 1px 2px #000,0 -1px #000}
.guest-seat .guest-bet>strong{font-size:12px;font-weight:850;color:#fff;text-shadow:0 1px 2px #000}
.guest-seat .guest-hand{margin:5px 0}
.guest-seat .guest-rack{margin:8px auto 4px}
.webgl-ready .guest-seat .guest-bet{background:transparent;box-shadow:0 0 0 1px #06140e}

/* One grouped guest station: name + tray, cards, then authentic wager layout. */
.guest-seat .guest-name{margin:0 auto 3px}
.guest-seat .guest-rack{margin:0 auto 9px;padding-top:5px}
.guest-seat .guest-bets{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:64px 50px;gap:5px 7px;margin:6px auto 4px}
.guest-seat .guest-bet{height:64px;min-width:0}
.guest-seat .guest-bet:last-child{grid-column:2;grid-row:2;height:50px}
.guest-seat .guest-bet:last-child .table-chips{height:14px}
.guest-seat .guest-bet>span{font-size:10px}
@media(min-width:1200px){
 .table,.webgl-ready .table{min-height:960px}
 .casino-stage,.casino-stage.webgl-ready{min-height:1000px}
 .seat-0,.seat-3{top:1%}
 .seat-1,.seat-2{top:40%}
}
@media(min-width:1200px) and (max-height:1199px){body{height:auto;min-height:100vh;display:block;overflow:auto}main{display:block;height:auto}}
.result-toast{position:fixed;left:50%;top:46%;transform:translate(-50%,-50%);z-index:100;pointer-events:none;display:flex;flex-direction:column;align-items:center;gap:5px;width:max-content;max-width:90vw;padding:18px 32px 15px;border:2px solid #f1d58a;border-radius:18px;background:linear-gradient(145deg,#364a37,#10241b 48%,#07150f);box-shadow:inset 0 2px 2px #fff6,inset 0 -3px 3px #0009,0 3px #b09a5f,0 7px #4d452b,0 10px #121b13,0 20px 35px #0009;text-align:center;animation:toast-arrive .22s ease-out}
.result-toast[hidden]{display:none}
.result-toast>span{font:850 15px/1.2 -apple-system,sans-serif;letter-spacing:3px;color:#fff0bc}
.result-toast>strong{font:900 clamp(28px,4vw,44px)/1.15 -apple-system,sans-serif;color:#ffe6a3;text-shadow:0 1px #b89445,0 2px #977431,0 3px #624d22,0 5px 6px #000b}
.result-toast>small{font-size:10px;color:#c4d4c7}
.toast-loss{border-color:#d8b4ab;background:linear-gradient(145deg,#403134,#21191f 48%,#151017);box-shadow:inset 0 2px 2px #fff5,0 3px #8f6f67,0 7px #413135,0 10px #17101b,0 20px 35px #0009}
.toast-loss>strong{color:#ffd4ca;text-shadow:0 1px #b78b7e,0 2px #886052,0 3px #543630,0 5px 6px #000b}
.toast-push>strong{color:#e5eef9}
@keyframes toast-arrive{from{opacity:0;transform:translate(-50%,-45%) scale(.92)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@media(prefers-reduced-motion:reduce){.result-toast{animation:none}}

/* Name plaque directly touches the wager group visually, without covering it. */
.guest-seat .guest-name{margin:5px auto 3px;box-shadow:inset 0 1px #fff3,0 2px #142b20;position:relative}
.guest-seat .guest-bets{margin-top:0}
.guest-seat .guest-rack{margin:0 auto 5px}

/* Flat travel across felt with layered chip edges; no jumping arc. */
.settlement-stack{position:fixed;left:0;top:0;z-index:95;pointer-events:none;display:flex;flex-direction:column;align-items:center;width:44px;filter:drop-shadow(3px 6px 3px #0008)}
.settlement-stack .table-chips{width:42px;height:32px;margin:0}
.settlement-stack .placed-chip{visibility:visible;width:35px;height:24px;font-size:10px;border-width:3px}
.settlement-stack>strong{font:bold 12px -apple-system,sans-serif;color:#fff;background:#07170fe6;border:1px solid #d9d5ac88;border-radius:8px;padding:2px 5px}
@media(prefers-reduced-motion:reduce){.settlement-stack{display:none}}

#guest-activity{font-size:11px;color:#d6dfc5;max-width:300px}
#guest-activity:empty{display:none}
@media(max-width:1199px){#guest-activity{width:100%;max-width:none}}
/* Dealer portrait and physical card travel. */
.dealer-host{position:absolute;left:calc(50% - 295px);top:12px;width:112px;z-index:6;pointer-events:none;--skin:#b87b57;--hair:#241b1a;filter:drop-shadow(0 5px 4px #0007)}
.dealer-host svg{width:112px;height:120px;display:block}
.dealer-host>span{display:block;text-align:center;font-size:11px;font-weight:700;color:#f5e7c5;background:#07170fe6;border:1px solid #a8bea177;border-radius:8px;padding:3px}
.dealer-skin{fill:var(--skin)}.dealer-hair{fill:var(--hair)}
.dealer-style-1{--skin:#e0ad87;--hair:#71503c}.dealer-style-2{--skin:#805239;--hair:#171e24}
.dealer-style-1 .dealer-hair{transform:translateY(3px) scaleY(.9);transform-origin:center}
.card-in-motion{visibility:hidden!important}
.dealer-flight{position:fixed;z-index:94;pointer-events:none;transform-style:preserve-3d}
.dealer-flight .card{position:absolute;inset:0;margin:0!important;width:100%!important;height:100%!important;box-sizing:border-box;backface-visibility:hidden;-webkit-backface-visibility:hidden;transform:none;opacity:1}
.dealer-flight .flip-face{transform:rotateY(180deg)}
.repeat-controls{margin:8px 0 0;width:100%;font-size:12px;background:#061b13ee;border:1px solid #839c8966;border-radius:9px;padding:7px 9px;position:relative;z-index:8}
.repeat-controls summary{cursor:pointer;color:#f2e6c0;font-weight:700}
.repeat-fields{display:flex;gap:10px;margin:9px 0}
.repeat-fields label{display:flex;flex-direction:column;gap:3px;width:50%}
.repeat-fields input{width:100%;min-width:0;background:#0e291d;color:#fff;border:1px solid #9cad99;border-radius:5px;padding:6px;font:inherit}
.repeat-controls p{font-size:11px;line-height:1.4;margin:7px 0}
.repeat-controls button{font-size:11px;padding:7px}
#repeat-status:empty{display:none}
@media(max-width:1199px){.dealer-host{position:relative;left:auto;top:auto;align-self:center;order:-2;margin:0 auto}.dealer-host svg{height:100px}.repeat-controls{max-width:280px}}
/* Opening repeat options floats beside the seat without pushing table controls. */
@media(min-width:1200px){.repeat-controls[open]{position:absolute;right:0;bottom:0;width:245px;transform:translateX(calc(100% + 12px));box-shadow:0 8px 24px #0009}}
@media(min-width:1200px) and (max-width:1750px){.repeat-controls[open]{position:fixed;right:18px;bottom:18px;transform:none;width:245px;z-index:110}}
/* Locally generated fictional dealer portraits, one of three per table visit. */
.dealer-host{width:126px;top:3px}
.dealer-portrait{width:126px;height:206px;background-image:url('dealer-portraits.2cbf580fe3792f9874f2.png');background-size:300% 100%;background-position:left top;border-radius:45% 45% 12px 12px;border:1px solid #75917b77;box-shadow:inset 0 -18px 15px #04100d,0 6px 12px #0008}
.dealer-style-1 .dealer-portrait{background-position:center top}
.dealer-style-2 .dealer-portrait{background-position:right top}
.dealer-host>span{margin-top:4px;font-size:11px}
#toast-hand{font-size:22.44px;color:#f6f0df;font-weight:700;letter-spacing:.2px}
#toast-celebration:empty{display:none}
#toast-celebration{font-size:clamp(18px,3vw,30px);font-weight:950;letter-spacing:1px;line-height:1.15;color:#ffe8a1;text-shadow:0 2px #a66d1c,0 4px #583711,0 6px 12px #0009}
.toast-celebrate{isolation:isolate;border:3px solid #ffe6a0;box-shadow:inset 0 2px #fff8,0 4px #b89442,0 9px #654619,0 14px #251c0d,0 0 65px #edbd4c88,0 25px 45px #000a}
.toast-celebrate::before{content:'';position:absolute;z-index:-1;inset:-75px;border-radius:50%;background:repeating-conic-gradient(from 12deg,#f4cc7355 0deg 3deg,transparent 3deg 20deg);mask-image:radial-gradient(ellipse,transparent 20%,#000 35%,transparent 70%);pointer-events:none;animation:celebration-burst 1.1s ease-out both}
.toast-celebrate::after{content:'✦  ✧  ✦  ✧  ✦';position:absolute;left:-25px;right:-25px;top:-45px;color:#ffe297;font-size:26px;letter-spacing:15px;text-shadow:0 0 15px #fff0b2;animation:celebration-stars 1.5s ease-out both;pointer-events:none}
@keyframes celebration-burst{from{opacity:0;transform:scale(.45) rotate(-12deg)}40%{opacity:1}to{opacity:.6;transform:scale(1.25) rotate(10deg)}}
@keyframes celebration-stars{from{opacity:0;transform:translateY(25px) scale(.65)}30%{opacity:1}to{opacity:0;transform:translateY(-70px) scale(1.2)}}
@media(max-width:1199px){.dealer-portrait{width:112px;height:180px}.dealer-host{width:112px}}
@media(prefers-reduced-motion:reduce){.toast-celebrate::before{animation:none}.toast-celebrate::after{display:none}}

/* Enlarge hand classifications without scaling the whole table. */
#player-rank,#dealer-rank{font-size:1.2em;font-weight:800;letter-spacing:.3px}

/* Plain-language hand announcement immediately above the player's cards. */
.player-zone .player-hand-label{margin:10px auto 12px;letter-spacing:0;line-height:1.25;max-width:440px}
#player-rank{display:block;font-size:24px;font-weight:850;letter-spacing:0;text-transform:none;color:#fff2c9;text-shadow:0 2px 3px #00120dcc}
@media(max-width:700px){#player-rank{font-size:22px}.player-zone .player-hand-label{max-width:100%}}

/* Shared-table celebrations stay distinct from the player's own center result. */
.table-highlight{position:fixed;right:22px;top:100px;z-index:98;width:310px;max-width:calc(100vw - 32px);padding:16px 18px;border:2px solid #f1d58a;border-radius:14px;background:linear-gradient(145deg,#3a3520,#10281b 55%,#07150f);color:#fff1c5;box-shadow:inset 0 2px #fff5,0 4px #8d733b,0 8px #302814,0 14px 25px #0009;pointer-events:none;animation:table-news-in .3s ease-out}
.table-highlight[hidden]{display:none}
.table-highlight>small{font-size:11px;letter-spacing:1px;font-weight:800;color:#f9d685}
.table-highlight-row{display:flex;flex-direction:column;gap:5px;margin-top:12px}
.table-highlight-row strong{font-size:19px;line-height:1.2;text-shadow:0 2px #322510}
.table-highlight-row span{font-size:14px;font-weight:750;color:#f3db94}
.guest-seat.seat-big-win{outline:2px solid #f2d078;outline-offset:6px;border-radius:15px;box-shadow:0 0 25px #f7c65366}
.guest-seat.seat-big-win .guest-name{border-color:#ffe3a0}
.guest-seat.seat-big-win .guest-status{color:#ffe5a3;font-weight:850}
@keyframes table-news-in{from{opacity:0;transform:translateX(20px)}to{opacity:1;transform:none}}
@media(max-width:700px){.table-highlight{top:12px;right:12px;width:270px;padding:10px 12px}.table-highlight-row{margin-top:7px}.table-highlight-row strong{font-size:16px}.table-highlight-row span{font-size:12px}}
@media(prefers-reduced-motion:reduce){.table-highlight{animation:none}}

.seat-record,#dealer-record{display:block;font-size:12px;font-weight:750;line-height:1.35;color:#e8eddb;text-align:center;margin:7px 0}
#dealer-record{font-size:10px;background:#061a12dd;border-radius:6px;padding:4px}
.guest-status{line-height:1.4}
.table-record{font-size:13px;color:#e9efdf;border:1px solid #8ba49166;border-radius:10px;padding:10px 14px;background:#081b13;margin:12px auto;width:min(800px,100%);box-sizing:border-box}
.table-record summary{cursor:pointer;font-weight:750}
.table-record table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.table-record td,.table-record th{padding:7px;text-align:right;border-bottom:1px solid #99bca333}
.table-record td:first-child,.table-record th:first-child{text-align:left}
.table-record p{font-size:12px;line-height:1.5}

.repeat-live{font-size:13px;font-weight:750;color:#f6df9b;line-height:1.4;margin:6px 0}
.repeat-live:empty{display:none}
.repeat-refill{display:flex;align-items:center;gap:7px;font-size:12px;margin:9px 0}
.repeat-refill input{width:16px;height:16px}
/* Explicit seat regions replace overlapping absolute coordinates. */
.table .table-top{position:static;inset:auto;display:flex;justify-content:center;gap:14px;margin:0 auto 16px;padding:10px 16px;width:fit-content;max-width:100%;font-size:16px;line-height:1.35;font-weight:800;letter-spacing:.6px;color:#fff0bc;border:1px solid #b4c5a477;border-radius:10px;background:#071b14}
.table .table-top span:first-child{display:none}
.dealer-station{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:18px 14px;min-width:0}
.dealer-station .dealer-host{position:static;inset:auto;flex:0 0 112px;width:112px;margin:0;order:0}
.dealer-station .dealer-portrait{width:112px;height:224px}
.dealer-station .dealer-zone{min-width:0;flex:1 1 280px;margin:0}
.dealer-station .dealer-tray,.webgl-ready .dealer-station .dealer-tray{position:static;inset:auto;transform:none;scale:1;flex:0 0 auto;margin:8px auto 0;order:3}
.dealer-hand-label{display:flex;flex-direction:column;align-items:center;gap:7px;letter-spacing:1px;margin:0 0 16px;font-size:14px}
#dealer-rank{font-size:23px;line-height:1.25;letter-spacing:0;color:#fff0c7;font-weight:850}
#dealer-record{font-size:12px;line-height:1.4}
.guest-seat .guest-info{display:flex;flex-direction:column;gap:7px;margin:12px 0 10px;padding:8px 7px;border:1px solid #afc3a666;border-radius:9px;background:#071c13;color:#f1f3e6;position:relative}
.guest-info .guest-status{font-size:15px;line-height:1.35;min-height:0;overflow-wrap:anywhere}
.guest-info .guest-record{font-size:12px;line-height:1.4;font-weight:700;color:#d8e5d5}
.guest-seat .guest-rack{margin:16px auto 12px;padding-top:12px}
.guest-seat .guest-hand{margin:8px 0 18px}
.guest-seat .guest-name{margin:0 auto 5px}
.player-station{min-width:0}
@media(min-width:1200px){
 body{height:auto;min-height:100vh;display:block;overflow:auto}
 main{height:auto;display:block}
 .intro{margin:10px 0 20px}
 .casino-stage,.casino-stage.webgl-ready{height:auto;min-height:0;padding:24px 16px 45px}
 .table,.webgl-ready .table{height:auto;min-height:0;display:grid;grid-template-columns:260px minmax(400px,1fr) 260px;grid-template-rows:auto auto auto auto auto;gap:24px 24px;padding:28px 20px 34px}
 .table>.table-top{grid-column:1 / -1;grid-row:1;margin-bottom:0}
 .dealer-station{grid-column:2;grid-row:2;align-self:start}
 .table .guest-seats{display:contents;position:static;inset:auto;margin:0;max-width:none}
 .table .guest-seat{position:static;inset:auto;transform:none;width:100%;min-width:0;align-self:start;pointer-events:auto;padding:0}
 .table .seat-0{grid-column:1;grid-row:2}
 .table .seat-3{grid-column:3;grid-row:2}
 .table .seat-1{grid-column:1;grid-row:3}
 .table .seat-2{grid-column:3;grid-row:3}
 .player-station{grid-column:2;grid-row:3}
 .player-station .player-zone,.webgl-ready .player-station .player-zone{margin:0}
 .player-station .bet-spots{margin:18px auto 0}
 .table .seat-dock.controls{grid-column:1 / -1;grid-row:4;position:static;inset:auto;transform:none;display:flex;justify-content:space-between;align-items:flex-start;gap:30px;width:100%;height:auto;min-height:0;margin:0;padding:18px 16px;border:1px solid #b6c9ad55;border-radius:14px;background:#071d14;pointer-events:auto;box-sizing:border-box}
 .seat-dock .betting-panel,.seat-dock .deal-panel{position:static;inset:auto;width:280px;max-width:48%;min-width:0}
 .seat-dock .chips{grid-template-columns:repeat(4,42px)}
 .table .felt-result{grid-column:1 / -1;grid-row:5;height:auto;min-height:110px;max-width:600px;width:100%;margin:0 auto}
 .repeat-controls[open]{position:static;inset:auto;transform:none;width:100%;box-sizing:border-box}
 .table-record,footer{margin-top:16px}
}
@media(min-width:1450px){.table,.webgl-ready .table{grid-template-columns:285px minmax(400px,1fr) 285px;gap:28px 32px}}
@media(max-width:1199px){
 .dealer-station{order:0;width:100%;max-width:600px;margin:0 auto}
 .player-station{order:2;width:100%}
 .table>.table-top{order:-1}
 .guest-seat .guest-info{max-width:300px;margin-left:auto;margin-right:auto}
}
@media(max-width:700px){.table .table-top{font-size:15px;padding:10px;text-align:center}#dealer-rank{font-size:22px}.dealer-station .dealer-zone{flex-basis:100%}}

.open-seat-button{width:100%;min-height:90px;padding:18px 10px;border:2px dashed #bbd2b999;border-radius:18px;background:#0c291b99;color:#e6f3df;font-size:16px;font-weight:750;cursor:pointer}
.open-seat-button:hover:not(:disabled){border-color:#f1db9f;background:#254632}
.open-seat-button:focus-visible{outline:3px solid #a6edff;outline-offset:5px}
.open-seat-button:disabled{opacity:.5;cursor:default}
#seat-help{font-size:12px;color:#e2dcbf}
.player-station .your-seat small{display:block!important;font-size:11px}
@media(min-width:1200px){
 .table .seat-4{grid-column:2;grid-row:3}
 .player-station.player-position-0{grid-column:1;grid-row:2}
 .player-station.player-position-1{grid-column:1;grid-row:3}
 .player-station.player-position-2{grid-column:3;grid-row:3}
 .player-station.player-position-3{grid-column:3;grid-row:2}
 .player-station.player-position-4{grid-column:2;grid-row:3}
 .table:has(.player-position-0),.table:has(.player-position-1){grid-template-columns:minmax(400px,1fr) 260px 260px}
 .table:has(.player-position-2),.table:has(.player-position-3){grid-template-columns:260px 260px minmax(400px,1fr)}
 .dealer-zone .cards{gap:10px}
 .dealer-zone .card,.webgl-ready .dealer-zone .card{width:calc((100% - 20px)/3);max-width:118px;height:auto;aspect-ratio:5/7}
}
@media(max-width:1199px){#seat-help{width:100%}.open-seat-button{min-height:80px}}
/* Compact play screen: cumulative records removed; secondary information opens separately. */
#table-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.compact-nav{display:none}
#hand-detail-text{white-space:pre-line;line-height:1.6}
.mobile-seat{padding:14px 0;border-bottom:1px solid #a7c6a944}
.mobile-seat strong{font-size:18px}.mobile-seat p{line-height:1.5}
.mobile-seat-hand{font-size:22px;font-weight:800}
#seat-dialog{width:min(600px,94vw);max-height:85dvh;overflow:auto}
@media(min-width:1200px){
 body{height:100vh;height:100dvh;min-height:0;display:grid;grid-template-rows:54px minmax(0,1fr)}
 header{height:54px;min-height:0}
 main{height:100%;min-height:0;display:grid;grid-template-rows:22px 42px minmax(0,1fr) 18px;gap:4px;padding:4px 18px 6px}
 .room-bar{margin:0;gap:9px}.room-bar #seat-help{font-size:10px}
 .intro{margin:0;align-items:center}.intro h1{font-size:25px;margin:0}.intro p{display:none}
 .bank{padding:4px 10px}.bank strong{font-size:26px}
 .casino-stage,.casino-stage.webgl-ready{height:100%;min-height:0;padding:6px 12px 16px}
 .table,.webgl-ready .table,.table:has(.guest-seat.empty){height:100%;min-height:0;grid-template-rows:26px minmax(0,1fr) minmax(0,1.35fr) 104px 28px;gap:8px 20px;padding:8px 16px 10px;border-width:18px}
 .table>.table-top{padding:3px 10px;font-size:14px;line-height:18px}
 .dealer-station{height:100%;align-self:center;gap:6px}
 .dealer-station .dealer-host{flex-basis:76px;width:76px}
 .dealer-station .dealer-portrait{width:76px;height:152px}
 .dealer-station .dealer-tray{display:none}
 .dealer-station .dealer-zone{flex-basis:230px}
 .dealer-hand-label{margin:0 0 7px;gap:3px;font-size:11px}
 #dealer-rank{font-size:20px}
 .dealer-zone .cards{min-height:0}
 .dealer-zone .card,.webgl-ready .dealer-zone .card{width:clamp(60px,7vh,95px);height:clamp(84px,9.8vh,133px)}
 .player-station{align-self:center}
 .player-zone .your-seat{padding:2px 6px;margin:0 auto 5px}
 .player-zone .player-hand-label{margin:3px auto 7px}
 #player-rank{font-size:22px}
 .player-zone .cards{min-height:0}
 .player-zone .card,.webgl-ready .player-zone .card{width:clamp(75px,8.5vh,110px);height:clamp(105px,11.9vh,154px)}
 .player-bank{padding:3px 7px;margin-top:7px}.chip-rack{padding-top:5px}
 .player-station .bet-spots{margin:8px auto 0;grid-template-rows:60px 42px;gap:5px 12px}
 .player-station .bet-spots>div{height:60px}.player-station .bet-spots #play-circle{height:42px}
 .player-station .bet-spots .table-chips{height:26px}
 .guest-seat .guest-rack{margin:10px auto 6px;padding-top:6px}
 .guest-seat .guest-hand{min-height:0;margin:4px 0 10px;gap:8px}
 .guest-seat .mini-card{width:clamp(52px,6.3vh,80px);height:clamp(73px,8.8vh,112px)}
 .guest-seat .guest-info{margin:4px 0 6px;padding:4px;gap:0}
 .guest-info .guest-status{font-size:13px;line-height:1.25}
 .guest-seat .guest-name{padding:3px 7px;margin-bottom:4px}
 .guest-seat .guest-name small{font-size:8px}
 .guest-seat .guest-bets{grid-template-rows:54px 38px;gap:4px;margin-bottom:0}
 .guest-seat .guest-bet{height:54px}.guest-seat .guest-bet:last-child{height:38px}
 .guest-bet>span{line-height:13px!important}.guest-bet .table-chips{height:20px}
 .guest-bet:last-child .table-chips{height:9px!important}
 .table .seat-dock.controls{padding:5px 10px;gap:20px;align-items:center}
 .seat-dock .betting-panel{width:480px;max-width:55%;display:grid;grid-template-columns:130px 1fr;gap:6px 12px}
 .betting-heading,.wager-select-label{display:none}
 .seat-dock #wager-select{width:130px;font-size:12px;padding:7px;margin:0}
 .seat-dock #bet-controls{display:flex;align-items:center;gap:10px}
 .seat-dock .chips{display:flex;flex-wrap:nowrap;gap:7px}
 .seat-dock .chip{width:32px;height:32px;font-size:11px}
 .clear-actions{gap:4px}.clear-actions button{padding:5px!important;font-size:10px!important}
 .seat-dock .deal-panel{width:400px;max-width:43%;display:grid;grid-template-columns:auto 1fr;gap:5px 10px}
 .seat-dock .rebet-group{padding:0;gap:5px}.seat-dock #rebet{min-width:0;font-size:13px;padding:7px;min-height:36px}
 #rebet-note,#bet-summary{display:none}
 .repeat-controls{margin:0;padding:5px 7px}.repeat-controls[open]{position:fixed;right:18px;bottom:18px;z-index:110;width:260px;max-height:75dvh;overflow:auto}
 .seat-dock .actions{grid-column:2;grid-row:2;padding:0;gap:7px}
 .seat-dock .primary,.seat-dock #play,.seat-dock #deal{font-size:14px;min-height:36px;padding:7px 10px}
 .repeat-live{grid-column:1;grid-row:2;font-size:10px;margin:0;max-width:155px}
 .table .felt-result{height:28px;min-height:0;max-width:none;width:100%;margin:0;padding:0;border:0;display:flex;align-items:center;justify-content:center;gap:12px}
 .felt-result h2{font-size:14px;margin:0}.felt-result p,.felt-result .outcome-display{display:none}
 #hand-details{font-size:12px;padding:3px}
 footer{margin:0;height:18px;font-size:10px;display:flex;align-items:center;justify-content:space-between}
 footer p,#save-note{display:none}footer strong{font-size:10px}
}
@media(min-width:1200px) and (max-height:1000px){
 .guest-seat .guest-rack,.guest-seat .guest-bets{display:none}
 #seats-open{display:inline-block}
 .dealer-station .dealer-host{display:none}
 .player-bank .chip-rack{display:none}
 .player-bank{margin:4px auto;padding:3px 6px}
 .table,.webgl-ready .table,.table:has(.guest-seat.empty){grid-template-rows:24px minmax(0,.8fr) minmax(0,1.35fr) 100px 24px}
}
@media(max-width:1199px){
 body{height:100vh;height:100dvh;min-height:0;display:grid;grid-template-rows:44px minmax(0,1fr);margin:0}
 header{height:44px;min-height:0;padding:4px 10px;gap:6px;flex-wrap:nowrap}
 header .brand{margin-right:auto;font-size:19px}header .brand small{display:none}
 .compact-nav{display:block;font-size:12px;padding:7px 9px;min-height:34px}
 #table-tools{display:none}
 #table-tools.tools-expanded{display:flex;position:fixed;top:50px;right:10px;z-index:150;background:#10251c;border:1px solid #a7b99f;border-radius:12px;padding:14px;width:min(360px,calc(100vw - 20px));box-sizing:border-box;max-height:75dvh;overflow:auto;gap:12px}
 main{height:100%;min-height:0;display:grid;grid-template-rows:34px minmax(0,1fr) 14px;gap:2px;padding:2px 6px 3px}
 .room-bar{display:none}.intro{margin:0;display:flex;justify-content:center}.intro>div:first-child{display:none}
 .bank{padding:2px 8px;gap:8px;display:flex;align-items:center;justify-content:space-between;width:100%;border:0;background:transparent}
 .bank>span{font-size:12px}.bank strong{font-size:23px}.bank button{font-size:12px;padding:5px 8px}
 .casino-stage,.casino-stage.webgl-ready{min-height:0;height:100%;padding:0}
 .table,.webgl-ready .table,.table:has(.guest-seat.empty){min-height:0;height:100%;padding:4px 5px;border-width:5px;display:flex;flex-direction:column;justify-content:space-between;gap:3px}
 .table>.table-top{order:0;margin:0 auto;padding:2px 8px;font-size:11px;line-height:1.2;flex:0 0 auto}
 .dealer-station{order:1;gap:0;flex:0 0 auto;width:100%}
 .dealer-station .dealer-host,.dealer-station .dealer-tray{display:none}
 .dealer-station .dealer-zone{flex:0 0 100%;margin:0}
 .dealer-hand-label{gap:0;margin:0 0 3px}
 .dealer-hand-label>span{display:none}
 #dealer-rank{font-size:16px}
 .dealer-zone .cards,.webgl-ready .dealer-zone .cards{gap:9px;min-height:0}
 .dealer-zone .card,.webgl-ready .dealer-zone .card{height:clamp(48px,9dvh,80px);width:auto;aspect-ratio:5/7}
 .player-station{order:2;width:100%;flex:0 0 auto}
 .player-zone,.webgl-ready .player-zone{margin:0}
 .player-zone .your-seat,.player-bank{display:none!important}
 .player-zone .player-hand-label{margin:0 0 5px}
 #player-rank{font-size:19px;line-height:1.15}
 .player-zone .cards,.webgl-ready .player-zone .cards{min-height:0;gap:10px}
 .player-zone .card,.webgl-ready .player-zone .card{height:clamp(70px,13dvh,120px);width:auto;aspect-ratio:5/7}
 .card .corner{font-size:22px}.card .corner.bottom{font-size:16px}.card .pip{font-size:34px}
 .player-station .bet-spots{margin:7px auto 0;grid-template-columns:repeat(3,88px);grid-template-rows:54px 35px;gap:4px 10px}
 .player-station .bet-spots>div{width:88px;height:54px}
 .player-station .bet-spots #play-circle{width:88px;height:35px}
 .bet-spots .bet-label{font-size:9px;top:2px}.bet-spots strong{font-size:10px;bottom:2px}
 .bet-spots .table-chips{height:22px;margin:0}.bet-spots #play-chips{height:12px}
 .table .guest-seats{display:none!important}
 .table .seat-dock.controls{order:3;position:static;inset:auto;transform:none;min-height:0;height:auto;display:grid;grid-template-columns:1fr 1fr;gap:5px 8px;width:100%;padding:5px 4px;margin:0;background:#061c13;border:1px solid #8ba48a66;border-radius:8px}
 .seat-dock .betting-panel,.seat-dock .deal-panel,.seat-dock .rebet-group{display:contents}
 .betting-heading,.wager-select-label,#bet-summary,#rebet-note{display:none}
 .seat-dock #wager-select{grid-column:1;grid-row:1;max-width:none;width:100%;font-size:12px;padding:6px 9px;margin:0;height:32px}
 .seat-dock #bet-controls{grid-column:1/-1;grid-row:2;display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;gap:6px}
 .seat-dock .chips{display:flex;flex-wrap:nowrap;gap:5px}
 .seat-dock .chip{width:32px;height:32px;font-size:11px}
 .seat-dock .clear-actions{display:flex;flex-direction:column;gap:2px}
 .seat-dock .clear-actions button{padding:2px 4px!important;font-size:9px!important}
 .seat-dock #rebet{grid-column:1;grid-row:3;min-height:36px;font-size:13px;padding:6px}
 .seat-dock .actions{grid-column:2;grid-row:3;display:flex;flex-wrap:nowrap;padding:0;gap:5px;width:auto}
 .seat-dock #deal,.seat-dock #play,.seat-dock #fold{min-height:36px;font-size:12px;padding:6px 9px;margin:0;flex:1}
 .repeat-controls{grid-column:2;grid-row:1;margin:0;padding:6px;font-size:12px;max-width:none}
 .repeat-controls[open]{position:fixed;left:10px;right:10px;top:55px;width:auto;max-height:75dvh;overflow:auto;z-index:140;padding:14px;background:#0b251b}
 .repeat-live{grid-column:1/-1;grid-row:4;font-size:10px;margin:0;text-align:center;line-height:1.15}
 .table .felt-result{order:4;display:flex;align-items:center;justify-content:center;gap:8px;min-height:18px;height:auto;margin:0;padding:0;border:0;width:100%;max-width:none}
 .felt-result h2{font-size:12px;margin:0}.felt-result p,.felt-result .outcome-display{display:none}
 #hand-details{font-size:11px;padding:2px}
 footer{margin:0;min-height:0;height:14px;display:flex;justify-content:center;font-size:9px}
 footer p,footer>div:last-child{display:none}footer strong{font-size:9px}
}
@media(max-width:1199px) and (max-height:650px){
 header{height:40px}body{grid-template-rows:40px minmax(0,1fr)}
 .player-station .bet-spots{grid-template-rows:46px 30px;margin-top:5px}
 .player-station .bet-spots>div{height:46px}.player-station .bet-spots #play-circle{height:30px}
 #player-rank{font-size:17px}.dealer-hand-label{margin-bottom:2px}
 .repeat-live{font-size:9px}
}
#color-menu,#reset-menu{display:none}
@media(max-width:1199px){#color-menu,#reset-menu{display:block}}
@media(min-width:1200px) and (max-height:1000px){
 .player-zone .your-seat{display:none!important}
 .player-zone .card,.webgl-ready .player-zone .card{height:clamp(84px,11vh,130px);width:auto;aspect-ratio:5/7}
}
@media(min-width:1200px) and (max-width:1449px){
 #tools-open{display:block;font-size:12px;padding:7px}
 #table-tools{display:none}
 #table-tools.tools-expanded{display:flex;position:fixed;top:60px;right:15px;z-index:150;background:#10251c;border:1px solid #a7b99f;border-radius:12px;padding:14px;width:360px;max-height:75dvh;overflow:auto;gap:12px}
 #color-menu,#reset-menu{display:block}
}
@media(max-width:1199px) and (orientation:landscape) and (max-height:600px){
 body{grid-template-rows:36px minmax(0,1fr)}header{height:36px}
 main{grid-template-rows:28px minmax(0,1fr) 12px;padding-top:0}
 .bank strong{font-size:20px}
 .table,.webgl-ready .table,.table:has(.guest-seat.empty){display:grid;grid-template-columns:minmax(170px,.8fr) minmax(340px,1.4fr);grid-template-rows:18px minmax(0,1fr) 120px 18px;gap:3px 6px}
 .table>.table-top{grid-row:1;grid-column:1/-1;font-size:10px}
 .dealer-station{grid-row:2;grid-column:1}
 .dealer-zone .card,.webgl-ready .dealer-zone .card{height:60px}
 .player-station{grid-row:2;grid-column:2;display:flex;align-items:center;justify-content:center;gap:8px}
 .player-zone .card,.webgl-ready .player-zone .card{height:60px}
 #player-rank{font-size:15px}
 .player-station .bet-spots{grid-template-columns:repeat(3,54px);grid-template-rows:44px 28px;gap:3px 5px;margin:0}
 .player-station .bet-spots>div{width:54px;height:44px}.player-station .bet-spots #play-circle{width:54px;height:28px}
 .bet-spots .bet-label{font-size:7px;letter-spacing:0}.bet-spots strong{font-size:8px}
 .table .seat-dock.controls{grid-row:3;grid-column:1/-1;grid-template-columns:1fr 1fr 1fr;gap:4px 10px;padding:4px 7px}
 .seat-dock #wager-select{grid-row:1;grid-column:1}
 .repeat-controls{grid-row:1;grid-column:3}
 .seat-dock #bet-controls{grid-row:2;grid-column:1/3}
 .seat-dock #rebet{grid-row:1;grid-column:2}
 .seat-dock .actions{grid-row:2;grid-column:3}
 .repeat-live{grid-row:3;grid-column:1/-1}
 .table .felt-result{grid-row:4;grid-column:1/-1}
}
/* Seat-change repair: stable columns, bounded stations, and equally sized seat rows. */
@media(min-width:1200px){
 .table,.webgl-ready .table,.table:has(.guest-seat.empty),.table:has(.player-station){
  grid-template-columns:repeat(3,minmax(0,1fr));
  grid-template-rows:26px minmax(0,1fr) minmax(0,1fr) 104px 28px;
 }
 .table .guest-seat{width:100%;max-width:280px;justify-self:center;align-self:center}
 .table .player-station{width:100%;max-width:370px;justify-self:center;align-self:center}
 .table .dealer-station{width:100%;max-width:400px;height:auto;justify-self:center;align-self:center;align-content:center;gap:6px}
 .dealer-station .dealer-zone{flex-basis:220px}
 .player-zone .cards,.webgl-ready .player-zone .cards{gap:10px}
 .player-zone .card,.webgl-ready .player-zone .card{height:clamp(84px,10dvh,130px);width:auto;max-width:calc((100% - 20px)/3);aspect-ratio:5/7}
 .player-station .bet-spots{width:100%;max-width:341px;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 10px}
 .player-station .bet-spots>div,.player-station .bet-spots #play-circle{width:100%;box-sizing:border-box}
 .player-bank{max-width:100%;box-sizing:border-box}
 .guest-seat .guest-rack,.guest-seat .guest-info,.guest-seat .guest-name,.guest-seat .guest-bets{width:100%;max-width:280px;box-sizing:border-box}
 .guest-seat .guest-bets{grid-template-columns:repeat(3,minmax(0,1fr))}
 .open-seat-button{max-width:280px}
 .seat-dock .deal-panel{grid-template-columns:110px minmax(0,1fr);grid-template-rows:auto auto auto;gap:4px 10px}
 .seat-dock .rebet-group{grid-column:1;grid-row:1;min-width:0}
 .seat-dock .actions{grid-column:2;grid-row:1;min-width:0;justify-content:flex-end}
 .seat-dock .repeat-controls:not([open]){grid-column:1 / -1;grid-row:2;width:100%;box-sizing:border-box}
 .seat-dock .repeat-live{grid-column:1 / -1;grid-row:3;max-width:none;text-align:right;font-size:11px;line-height:1.2}
}
@media(min-width:1200px) and (max-height:1000px){
 .player-zone .card,.webgl-ready .player-zone .card{height:clamp(70px,9dvh,90px)}
 .player-station .bet-spots{grid-template-rows:50px 34px;margin-top:5px}
 .player-station .bet-spots>div{height:50px}
 .player-station .bet-spots #play-circle{height:34px}
}

/* Inventories stay in the exchange dialog; table seats show balances and live bets. */
#color-menu{display:block}

/* Per-hand seat panels replace fine-print results without adding a separate table row. */
.table .seat-result,.mobile-seat .seat-result{
 box-sizing:border-box;border:2px solid #c7ae72;border-radius:10px;
 background:linear-gradient(160deg,#24372c,#07150e);color:#fff7d8;
 box-shadow:inset 0 1px #ffffff60,0 3px #020805,0 6px 9px #0006;
 padding:5px 8px;text-align:center;text-shadow:0 2px 2px #000;
}
.table .seat-result-win,.mobile-seat .seat-result-win{border-color:#f3cf6d;background:linear-gradient(155deg,#37653b,#102d1d)}
.table .seat-result-loss,.mobile-seat .seat-result-loss{border-color:#dca39b;background:linear-gradient(155deg,#663f3d,#2b171c)}
.table .seat-result-even,.mobile-seat .seat-result-even{border-color:#b8c9d6;background:linear-gradient(155deg,#354b5b,#14202d)}
.table .guest-info{margin:0 0 7px;gap:2px}
.guest-result,#player-result{display:block;font-size:21px;line-height:1.15;font-weight:900;letter-spacing:.4px}
.guest-result[hidden],#player-result[hidden]{display:none}
.table .seat-result .guest-status{font-size:14px;line-height:1.15}
.table .player-hand-label.seat-result{max-width:340px;margin:3px auto 7px}
.player-hand-label.seat-result #player-rank{display:block;font-size:16px;line-height:1.15;margin-top:2px}
.mobile-seat .seat-result{display:block;margin:8px 0;font-size:20px}
@media(max-width:1199px){#player-result{font-size:18px}.player-hand-label.seat-result #player-rank{font-size:14px}.table .player-hand-label.seat-result{padding:3px 7px;margin:0 auto 4px}}
@media(max-width:1199px) and (max-height:600px){#player-result{font-size:16px}.player-hand-label.seat-result #player-rank{font-size:12px}}

/* Keep roomy desktop tables proportionate instead of stretching to the screen height. */
@media(min-width:1200px) and (min-height:1001px){
 .casino-stage,.casino-stage.webgl-ready{height:min(calc(100% - 128px),880px);width:100%;align-self:start}
 .table,.webgl-ready .table,.table:has(.guest-seat.empty),.table:has(.player-station){
  grid-template-rows:26px minmax(0,1fr) minmax(0,1fr) 104px 28px;
 }
 .player-zone .card,.webgl-ready .player-zone .card{height:110px}
 .guest-seat .mini-card{width:69px;height:96px}
 .table .guest-seat,.table .player-station{align-self:center}
 .guest-seat .guest-hand:empty{display:none}
 .guest-seat .guest-info:has(.guest-result[hidden]){background:transparent;border:0;box-shadow:none;padding:0;margin-bottom:6px}
}

/* Betting stacks belong to the movable player station, directly on the felt. */
.player-station .seat-chips{position:static;inset:auto;transform:none;min-width:0;max-width:none;width:100%;padding:0;margin:0;border:0;border-radius:0;background:none;box-shadow:none;text-align:center}
.seat-chips #bet-controls{display:flex;flex-direction:column;align-items:center;flex-wrap:nowrap;gap:6px}
.seat-chips .chips{display:grid;grid-template-columns:repeat(2,40px);gap:8px 4px;padding:0;margin:0;justify-content:center}
.seat-chips #wager-select{width:100%;max-width:none;height:32px;padding:3px;font-size:11px;margin:0 0 8px;border-color:#a8b9a777}
.seat-chips .clear-actions{display:flex;flex-direction:column;gap:3px;width:100%}
.seat-chips .clear-actions button{min-height:24px;font-size:10px!important;padding:3px!important}
.seat-chips .chip{
 --chip-color:#c5c9ce;position:relative;isolation:isolate;display:block;width:40px;height:44px;min-width:0;padding:0;
 border:0;border-radius:0;background:none!important;box-shadow:none;text-shadow:0 1px 2px #000;color:#fff!important;
}
.seat-chips .chip::after{content:none}
.seat-chips .chip-disc{position:absolute;left:0;bottom:0;width:40px;height:29px;display:grid;place-items:center;border:3px dashed #fff9;border-radius:50%;background:linear-gradient(135deg,#ffffff55,#00000030),var(--chip-color);box-shadow:inset 0 0 0 1px #0007,0 2px #dfdfcd,0 4px #151a18,2px 7px 5px #0008;font-size:12px;line-height:1;font-weight:900;pointer-events:none}
.seat-chips .chip-middle{bottom:6px;left:1px}
.seat-chips .chip-top{bottom:12px;left:-1px;box-shadow:inset 0 0 0 1px #fff9,inset 0 0 0 3px #0002,0 2px #dfdfcd,0 4px #151a18,2px 6px 5px #0006}
.seat-chips .chip-1{--chip-color:#d8dce3;color:#10202b!important;text-shadow:0 1px #fff}
.seat-chips .chip-5{--chip-color:#138cd8}.seat-chips .chip-10{--chip-color:#d82762}.seat-chips .chip-25{--chip-color:#009979}.seat-chips .chip-50{--chip-color:#ce7c16}.seat-chips .chip-100{--chip-color:#273343}.seat-chips .chip-500{--chip-color:#8144bf}
.seat-chips .chip:active:not(:disabled){transform:translateY(2px)}
@media(min-width:1200px){
 .table .player-station{display:grid;grid-template-columns:minmax(0,1fr) 84px;grid-template-rows:auto auto;gap:0 12px;max-width:460px;align-items:center}
 .player-station .player-zone{grid-column:1;grid-row:1;min-width:0;width:100%}
 .player-station .bet-spots{grid-column:1;grid-row:2;min-width:0}
 .player-station .seat-chips{grid-column:2;grid-row:1/3;align-self:center}
 .table .player-position-2,.table .player-position-3{grid-template-columns:84px minmax(0,1fr)}
 .player-position-2 .seat-chips,.player-position-3 .seat-chips{grid-column:1}
 .player-position-2 .player-zone,.player-position-3 .player-zone,.player-position-2 .bet-spots,.player-position-3 .bet-spots{grid-column:2}
 .table .seat-dock.controls{justify-content:center;width:min(100%,600px);justify-self:center}
 .seat-dock .deal-panel{width:100%;max-width:100%}
}
@media(max-width:1199px){
 .player-station .seat-chips{margin:6px auto 0;max-width:350px;display:grid;grid-template-columns:1fr 1fr;gap:3px 8px}
 .seat-chips #bet-controls{display:contents}
 .seat-chips .chips{grid-column:1/-1;grid-row:1;display:flex;gap:4px;justify-content:center;flex-wrap:nowrap}
 .seat-chips #wager-select{grid-row:2;grid-column:1;height:26px;margin:0;font-size:11px}
 .seat-chips .clear-actions{grid-row:2;grid-column:2;flex-direction:row;justify-content:flex-end}
 .seat-chips .clear-actions button{flex:1;min-height:26px}
 .seat-chips .chip{width:36px;height:39px}.seat-chips .chip-disc{width:36px;height:25px;font-size:11px}.seat-chips .chip-middle{bottom:5px}.seat-chips .chip-top{bottom:10px}
 .table .seat-dock.controls{grid-template-rows:auto auto auto}
 .seat-dock #rebet{grid-row:1;grid-column:1}.seat-dock .actions{grid-row:1;grid-column:2}
 .seat-dock .repeat-controls:not([open]){grid-row:2;grid-column:1/-1}
 .seat-dock .repeat-live{grid-row:3;grid-column:1/-1}
}
@media(max-width:1199px) and (max-height:600px){
 .table .player-station{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:4px 8px}
 .player-station .player-zone{grid-column:1;grid-row:1}.player-station .bet-spots{grid-column:2;grid-row:1}
 .player-station .seat-chips{grid-column:1/-1;grid-row:2;margin-top:0}
 .seat-chips .chips{gap:5px}.seat-chips .chip{height:35px}.seat-chips .chip-middle{bottom:4px}.seat-chips .chip-top{bottom:8px}
 .table .seat-dock.controls{grid-template-columns:1fr 1fr;grid-template-rows:auto auto auto}
}
@media(min-width:1200px) and (max-height:1000px){
 .seat-chips .chips{grid-template-columns:repeat(3,26px);gap:6px 3px}
 .seat-chips .chip{width:26px;height:34px}
 .seat-chips .chip-disc{width:26px;height:20px;font-size:9px;border-width:2px}
 .seat-chips .chip-middle{bottom:4px}.seat-chips .chip-top{bottom:8px}
 .seat-chips .clear-actions{flex-direction:row;gap:2px}.seat-chips .clear-actions button{flex:1;font-size:9px!important}
}
@media(max-width:1199px) and (max-height:600px){
 .table,.webgl-ready .table,.table:has(.guest-seat.empty){grid-template-rows:18px minmax(0,1fr) 72px 18px}
}

/* Reserve room for the projected 3D rail/shadow, not just the flat felt rectangle. */
@media(min-width:1200px){
 .casino-stage,.casino-stage.webgl-ready{height:min(calc(100% - 128px),880px);align-self:start;min-height:0}
 .casino-stage .real-scene{height:calc(100% + 128px);bottom:auto}
 .table .player-station{grid-template-rows:auto auto;align-content:center}
 .player-station .player-zone{grid-row:1;order:0;align-self:center}
 .player-station .bet-spots{grid-row:2;order:0}
 .player-station .seat-chips{grid-row:1/3;order:0}
}

/* Round betting circles, with labels and amounts kept inside each hit area. */
.table .player-station .bet-spots{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,58px);max-width:260px;gap:5px 7px;justify-items:center}
.table .player-station .bet-spots>div,.table .player-station .bet-spots #play-circle{width:58px;height:58px;aspect-ratio:1;min-width:0;border-radius:50%;padding:3px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1px}
.table .bet-spots .bet-label{position:static;max-width:48px;font-size:8px;line-height:1.05;letter-spacing:0;white-space:normal;text-align:center}
.table .bet-spots strong{position:static;font-size:9px;line-height:1.1;max-width:50px}
.table .player-station .bet-spots .table-chips{height:17px;width:40px;flex:0 0 17px;margin:0}
.table .guest-seat .guest-bets{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,54px);gap:4px;justify-items:center}
.table .guest-seat .guest-bet,.table .guest-seat .guest-bet:last-child{width:54px;height:54px;aspect-ratio:1;border-radius:50%;justify-content:center;padding:2px;gap:1px}
.table .guest-seat .guest-bet>span{max-width:46px;font-size:8px;line-height:9px!important;white-space:normal;text-align:center}
.table .guest-seat .guest-bet>strong{font-size:10px;line-height:11px}
.table .guest-seat .guest-bet .table-chips,.table .guest-seat .guest-bet:last-child .table-chips{height:15px!important;flex:0 0 15px}
.card.back.deck-b,.mini-card.concealed.deck-b{background:repeating-linear-gradient(45deg,#681c35 0 3px,#9f4d68 3px 5px)!important}
.card.back.deck-b .pip{background:#3b1023}
@media(max-width:1199px){
 .table .player-station .bet-spots{grid-template-rows:repeat(2,50px);max-width:230px;margin-top:5px}
 .table .player-station .bet-spots>div,.table .player-station .bet-spots #play-circle{width:50px;height:50px;padding:2px}
 .table .bet-spots .bet-label{font-size:7px;max-width:42px}.table .bet-spots strong{font-size:8px;max-width:44px}
 .table .player-station .bet-spots .table-chips{height:13px;flex-basis:13px}
}
@media(max-width:1199px) and (max-height:600px){
 .table .player-station .bet-spots{grid-template-columns:repeat(3,44px);grid-template-rows:repeat(2,44px);gap:3px}
 .table .player-station .bet-spots>div,.table .player-station .bet-spots #play-circle{width:44px;height:44px}
 .table .player-station .bet-spots .table-chips{height:10px;flex-basis:10px}
}

@media(max-width:420px){.bank{gap:4px}.bank>span{font-size:10px}.bank button{font-size:10px;padding:5px}}

/* Bet stacks and lettering share the foreground layer, so neither shines through. */
.table .bet-spots>div,.table .guest-seat .guest-bet{background:#08251a;isolation:isolate}
.table .player-station .bet-spots>div,.table .player-station .bet-spots #play-circle{padding:2px;gap:0}
.table .bet-spots .placed-chip,.table .guest-bets .placed-chip{visibility:visible;opacity:1;left:0;top:6px;width:28px;height:14px;border:2px dashed #fff4d6;font-size:8px;line-height:1;transform:none;box-shadow:inset 0 0 0 1px #ffffff55,0 1px #d8d7c6,0 3px #14221b,1px 4px 2px #0008}
.table .bet-spots .placed-chip:nth-child(2),.table .guest-bets .placed-chip:nth-child(2){top:4px}
.table .bet-spots .placed-chip:nth-child(3),.table .guest-bets .placed-chip:nth-child(3){top:2px}
.table .bet-spots .placed-chip:nth-child(4),.table .guest-bets .placed-chip:nth-child(4){top:0}
.table .player-station .bet-spots .table-chips{width:28px;height:24px;flex:0 0 24px}
.table .bet-spots .bet-label,.table .bet-spots strong,.table .guest-bet>span,.table .guest-bet>strong{position:relative;z-index:1;flex-shrink:0;background:#08251a;text-shadow:0 1px #000}
.table .bet-spots .bet-label{font-size:8px;line-height:8px}
.table .guest-seat .guest-bet{gap:0}
.table .guest-seat .guest-bet>span{font-size:8px;line-height:8px!important}
.table .guest-seat .guest-bet>strong{line-height:10px}
.table .guest-seat .guest-bet .table-chips,.table .guest-seat .guest-bet:last-child .table-chips{width:24px;height:16px!important;flex:0 0 16px}
.table .guest-bets .placed-chip{width:24px;height:10px;top:3px;font-size:6px;box-shadow:inset 0 0 0 1px #ffffff55,0 1px #d8d7c6,0 2px #14221b}
.table .guest-bets .placed-chip:nth-child(2){top:2px}.table .guest-bets .placed-chip:nth-child(3){top:1px}
@media(max-width:1199px){
 .table .player-station .bet-spots .table-chips{width:24px;height:19px;flex-basis:19px}
 .table .bet-spots .bet-label{font-size:7px;line-height:7px}
 .table .bet-spots .placed-chip{width:24px;height:11px;top:5px;font-size:7px;box-shadow:0 1px #d8d7c6,0 2px #14221b}
 .table .bet-spots .placed-chip:nth-child(2){top:3px}.table .bet-spots .placed-chip:nth-child(3){top:1px}
}
@media(max-width:1199px) and (max-height:600px){
 .table .player-station .bet-spots .table-chips{height:13px;flex-basis:13px}
 .table .bet-spots .placed-chip{height:9px;top:2px;font-size:5px;border-width:1px}
 .table .bet-spots .placed-chip:nth-child(2){top:1px}.table .bet-spots .placed-chip:nth-child(3){top:0}
}

/* Hand outcome and total chips are separate; the optional breakdown uses a dialog. */
.guest-result[role="button"],.mobile-seat .seat-result[role="button"]{cursor:pointer;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px}
.guest-result[role="button"]:focus-visible,.mobile-seat .seat-result[role="button"]:focus-visible{outline:2px solid #a8edff;outline-offset:3px}
.payout-breakdown{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}
.payout-breakdown caption{text-align:left;font-weight:700;margin:12px 0 8px}
.payout-breakdown th,.payout-breakdown td{padding:8px 5px;border-bottom:1px solid #a7b99f55;text-align:right}
.payout-breakdown th:first-child,.payout-breakdown td:first-child{text-align:left}
#inspect-total{font-weight:800;font-size:18px!important}
#inspect-payout[hidden]{display:none}

/* Paytables occupy the wide-screen gutter, preserving the table's existing footprint. */
.paytable-panel{background:linear-gradient(150deg,#152a22,#080f0d 65%);color:#f7eed6;border:1px solid #b49b60;border-radius:14px;box-shadow:inset 0 1px #fff5,inset 0 -4px #0009,0 5px #030806,0 14px 28px #0007;padding:16px}
.paytable-panel h2{font:700 23px/1.2 Georgia,serif;color:#f5d993;margin:0}
.paytable-panel .paytable-intro{font-size:12px;color:#c7d5ca;line-height:1.4;margin:5px 0 12px}
.paytable-section+.paytable-section{margin-top:14px;padding-top:10px;border-top:1px solid #d5bc713d}
.paytable-rates{border-collapse:collapse;width:100%;font-size:15px;line-height:1.4}
.paytable-rates caption{text-align:left;font-size:17px;font-weight:800;color:#f5d993;margin-bottom:5px}
.paytable-rates th{font-weight:500;text-align:left;padding:3px 0}
.paytable-rates td{text-align:right;white-space:nowrap;font-weight:800;font-variant-numeric:tabular-nums;color:#fff3bb;padding:3px 0 3px 10px}
.paytable-rates tr:nth-child(odd){background:#ffffff05}
.paytable-section>p,.paytable-panel .paytable-footnote{font-size:12px;line-height:1.4;color:#c7d5ca;margin:5px 0 0}
.paytable-panel .paytable-footnote{border-top:1px solid #d5bc713d;padding-top:10px;margin-top:12px}
#paytable-sidebar{display:none;position:fixed;width:260px;left:calc(50vw - 1084px);top:140px;max-height:calc(100dvh - 156px);overflow:auto;z-index:10;scrollbar-width:thin}
#paytable-dialog{width:min(94vw,440px);max-height:88dvh;overflow:auto}
#paytable-dialog .dialog-top{gap:12px;margin-bottom:0}
@media(min-width:2200px) and (min-height:900px){#paytable-sidebar{display:block}#paytable-open{display:none}}
@media(min-width:2200px) and (min-height:900px) and (max-height:1000px){
 #paytable-sidebar{padding:13px}
 #paytable-sidebar .paytable-rates{font-size:14px;line-height:1.3}
 #paytable-sidebar .paytable-rates th,#paytable-sidebar .paytable-rates td{padding-top:2px;padding-bottom:2px}
 #paytable-sidebar .paytable-section+.paytable-section{margin-top:9px;padding-top:8px}
}

/* Six player positions curve around a dealer centered across the upper middle. */
@media(min-width:1200px){
 .table,.webgl-ready .table,.table:has(.guest-seat.empty),.table:has(.player-station){grid-template-columns:repeat(12,minmax(0,1fr));column-gap:5px}
 .table .dealer-station{grid-column:4 / 10;grid-row:2;max-width:340px;justify-self:center;flex-direction:column;flex-wrap:nowrap}
 .table .dealer-station .dealer-host{flex:0 0 auto;width:100%;text-align:center}
 .table .dealer-station .dealer-portrait{width:56px;height:96px;margin:0 auto}
 .table .dealer-station .dealer-host>span{width:max-content;max-width:100%;margin:3px auto 0}
 .table .seat-0,.table .player-position-0{grid-column:1 / 4;grid-row:2}
 .table .seat-3,.table .player-position-3{grid-column:10 / 13;grid-row:2}
 .table .seat-1,.table .player-position-1{grid-column:1 / 4;grid-row:3}
 .table .seat-5,.table .player-position-5{grid-column:4 / 7;grid-row:3}
 .table .seat-4,.table .player-position-4{grid-column:7 / 10;grid-row:3}
 .table .seat-2,.table .player-position-2{grid-column:10 / 13;grid-row:3}
 .table .player-station{max-width:380px;column-gap:8px}
 .table .player-position-4{grid-template-columns:84px minmax(0,1fr)}
 .table .player-position-5{grid-template-columns:minmax(0,1fr) 84px}
 .player-position-4 .seat-chips{grid-column:1}
 .player-position-4 .player-zone,.player-position-4 .bet-spots{grid-column:2}
 .player-position-5 .seat-chips{grid-column:2}
 .player-position-5 .player-zone,.player-position-5 .bet-spots{grid-column:1}
 .table .guest-seat{max-width:270px}
 .table .player-zone .card,.webgl-ready .player-zone .card{width:min(78px,calc((100% - 20px)/3));height:auto;max-width:none;aspect-ratio:5/7}
 .table .guest-seat .mini-card{width:min(69px,calc((100% - 16px)/3));height:auto;aspect-ratio:5/7}
 .table .dealer-station .dealer-zone{flex:0 0 auto;width:100%}
}
@media(min-width:1200px) and (max-width:1599px){
 .table .player-station{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;row-gap:4px}
 .table .player-station .player-zone{grid-column:1;grid-row:1}
 .table .player-station .bet-spots{grid-column:1;grid-row:2}
 .table .player-station .seat-chips{grid-column:1;grid-row:3;display:grid;grid-template-columns:1fr 1fr;gap:3px 5px}
 .table .seat-chips #bet-controls{display:contents}
 .table .seat-chips .chips{grid-column:1/-1;grid-row:1;display:flex;gap:4px;justify-content:center}
 .table .seat-chips .chip{width:26px;height:29px}
 .table .seat-chips .chip-disc{width:26px;height:18px;font-size:9px;border-width:2px}
 .table .seat-chips .chip-middle{bottom:4px}.table .seat-chips .chip-top{bottom:8px}
 .table .seat-chips #wager-select{grid-column:1;grid-row:2;height:24px;margin:0;font-size:10px}
 .table .seat-chips .clear-actions{grid-column:2;grid-row:2;flex-direction:row;gap:2px}
 .table .seat-chips .clear-actions button{font-size:9px!important;min-height:24px;padding:2px!important}
 .table .player-zone .your-seat{display:none!important}
 .table .player-zone .card,.webgl-ready .player-zone .card{width:64px;max-width:calc((100% - 20px)/3);height:auto;aspect-ratio:5/7}
 .table .dealer-station .dealer-host{display:none}
 .table .guest-seat .mini-card{width:54px;max-width:calc((100% - 16px)/3);height:auto;aspect-ratio:5/7}
}

/* Solid chip cylinders. The sprite has a curved, 50-unit-deep colored wall;
   white markings are narrow inlays rather than full-width horizontal wafers. */
.placed-chip,.chip{--chip-position:0%;--chip-w:32px;--chip-h:24px}
.chip-5{--chip-position:14.285714%}.chip-10{--chip-position:28.571429%}
.chip-25{--chip-position:42.857143%}.chip-50{--chip-position:57.142857%}
.chip-100{--chip-position:71.428571%}.chip-500{--chip-position:85.714286%}
.chip-1000{--chip-position:100%}
.placed-chip,.table .bet-spots .placed-chip,.table .guest-bets .placed-chip,
.table .seat-chips .chip-disc,.settlement-stack .placed-chip,.flying-chip{
 width:var(--chip-w);height:var(--chip-h);box-sizing:border-box;
 border:0;border-radius:0;padding:0;box-shadow:none;isolation:auto;
 background: var(--chip-art,url('chip-art.2cbf580fe3792f9874f2.svg')) var(--chip-position) 0 / 800% 100% no-repeat!important;
 display:block;text-align:center;line-height:calc(var(--chip-h) * .5166666667);color:#fff;
 font-weight:900;text-shadow:0 1px 2px #000,0 -1px #0005;
 filter:drop-shadow(1px 3px 2px #0008);
}
.table .seat-chips .chip-disc::after,.flying-chip::after{content:none}
.table .seat-chips .chip{--chip-w:40px;--chip-h:30px}
.table .seat-chips .chip-disc{left:0;bottom:0;font-size:11px}
.table .seat-chips .chip-middle{bottom:7px;left:0}
.table .seat-chips .chip-top{bottom:14px;left:0}
.table .seat-chips .chip-base{z-index:0}.table .seat-chips .chip-middle{z-index:1}.table .seat-chips .chip-top{z-index:2}
.table .bet-spots .placed-chip,.table .guest-bets .placed-chip{
 visibility:visible;opacity:1;top:0;left:50%;transform:translateX(-50%);font-size:8px;
}
.table .bet-spots .placed-chip:nth-child(2),.table .guest-bets .placed-chip:nth-child(2){top:-4px;left:50%}
.table .bet-spots .placed-chip:nth-child(3),.table .guest-bets .placed-chip:nth-child(3){top:-8px;left:50%}
.table .bet-spots .placed-chip:nth-child(4),.table .guest-bets .placed-chip:nth-child(4){top:-12px;left:50%}
.table .bet-spots .table-chips,.table .guest-seat .guest-bet .table-chips{transform:translateY(5px);overflow:visible}
.table .guest-bets .placed-chip{--chip-w:26px;--chip-h:19.5px;font-size:7px}
.table .bet-spots .bet-label,.table .guest-bet>span{z-index:3}
.settlement-stack .placed-chip{--chip-w:40px;--chip-h:30px;font-size:10px;transform:none}
.flying-chip{--chip-w:48px;--chip-h:36px;font-size:14px}
@media(min-width:1200px) and (max-width:1599px),(min-width:1200px) and (max-height:1000px){
 .table .seat-chips .chip{--chip-w:26px;--chip-h:19.5px}
 .table .seat-chips .chip-disc{font-size:8px}
 .table .seat-chips .chip-middle{bottom:4px}.table .seat-chips .chip-top{bottom:8px}
}
@media(max-width:1199px){
 .table .seat-chips .chip{--chip-w:36px;--chip-h:27px}
 .table .seat-chips .chip-disc{font-size:10px}
 .table .seat-chips .chip-middle{bottom:6px}.table .seat-chips .chip-top{bottom:12px}
 .table .bet-spots .placed-chip{--chip-w:28px;--chip-h:21px;font-size:7px}
}
@media(max-width:1599px){
 .table .bet-spots .placed-chip:nth-child(2),.table .guest-bets .placed-chip:nth-child(2){top:-3px}
 .table .bet-spots .placed-chip:nth-child(3),.table .guest-bets .placed-chip:nth-child(3){top:-6px}
 .table .bet-spots .placed-chip:nth-child(4),.table .guest-bets .placed-chip:nth-child(4){top:-9px}
}
@media(max-width:1199px) and (max-height:600px){
 .table .bet-spots .placed-chip{--chip-w:24px;--chip-h:18px;font-size:6px}
 .table .seat-chips .chip-middle{bottom:4px}.table .seat-chips .chip-top{bottom:8px}
}

/* Fictional guests sit in the name plaque, without adding another table row. */
.table .guest-name{overflow:visible;min-height:46px;padding:0 9px 0 4px;gap:7px}
.guest-portrait{display:inline-block;box-sizing:border-box;flex:0 0 44px;width:44px;height:44px;border-radius:50%;border:2px solid #c6ad72;background-image:url('guest-portraits.2cbf580fe3792f9874f2.png');background-size:300% 200%;box-shadow:inset 0 -5px 8px #0007,0 3px #091510,0 5px 8px #0006;vertical-align:middle}
.portrait-0{background-position:0 0}.portrait-1{background-position:50% 0}.portrait-2{background-position:100% 0}
.portrait-3{background-position:0 100%}.portrait-4{background-position:50% 100%}.portrait-5{background-position:100% 100%}
.mobile-seat>.guest-portrait{width:46px;height:46px;margin-right:9px}
.table .guest-name strong{min-width:0}.table .guest-name small{font-size:8px;letter-spacing:.2px}
.table .guest-name .guest-balance{margin-left:auto}
.seat-big-win .guest-portrait{border-color:#ffdc73;box-shadow:0 0 15px #f7ca5b99}
@media(min-width:1200px) and (max-height:1000px){.table .guest-portrait{width:38px;height:38px;flex-basis:38px}.table .guest-name{min-height:38px}}

/* Moving cards sit above the table; the dealer portrait stays still. */
.dealer-delivery{z-index:95;will-change:transform;transform-origin:center center}
.dealer-delivery .card{animation:none!important;transform:none!important;transition:none!important}
.dealer-delivery .flip-face{transform:rotateY(180deg)!important}
.dealer-busy #player-result,.dealer-busy .guest-info,.dealer-busy #dealer-rank,.dealer-busy #outcome-display,.dealer-busy .felt-result,.dealer-busy #result-toast{visibility:hidden}
.dealer-busy .seat-revealed .guest-info,.dealer-busy .seat-revealed #dealer-rank{visibility:visible}
.dealer-busy .guest-seat.seat-revealing .guest-name{outline:2px solid #f3d788;outline-offset:3px;box-shadow:0 0 18px #e5ba5344}
.dealer-busy .guest-seat:not(.seat-revealed) .guest-portrait{box-shadow:none;border-color:#afc3a6}
.dealer-busy #table-tools{pointer-events:none;opacity:.65}
.dealer-busy .guest-hand,.dealer-busy .cards{pointer-events:none}
@media(max-width:1199px) and (max-height:600px){
 header .brand{line-height:1.15}
 header .brand-icon{font-size:24px;line-height:1}
}
@media(min-width:1600px) and (min-height:1001px){
 .table .dealer-station .dealer-portrait{width:76px;height:100px;background-size:300% auto;border-radius:42% 42% 8px 8px}
}
@media(max-width:1599px),(max-height:1000px){
 .table .dealer-station{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:6px;max-width:360px}
 .table .dealer-station .dealer-host{display:block;position:static;width:48px;grid-column:1;grid-row:1;margin:0}
 .table .dealer-station .dealer-portrait{width:48px;height:62px;background-size:300% auto;margin:0;border-radius:40% 40% 7px 7px}
 .table .dealer-station .dealer-host>span{font-size:9px;line-height:1.15;max-width:48px;padding:2px}
 .table .dealer-station .dealer-zone{grid-column:2;grid-row:1;width:100%;min-width:0}
}
@media(prefers-reduced-motion:reduce){.dealer-delivery{display:none}}

/* Cards remain readable until the 3D renderer confirms a successful frame. */
.webgl-ready .card.mesh-painted,.webgl-ready .mini-card.mesh-painted{opacity:0}
.webgl-ready .card:not(.mesh-painted),.webgl-ready .mini-card:not(.mesh-painted){box-shadow:0 2px #d2d7dd,0 4px #858d96,2px 8px 8px #0008}
.webgl-ready .card.mesh-painted:focus-visible,.webgl-ready .mini-card.mesh-painted:focus-visible{opacity:1}

/* Full-size betting chips: visible artwork spans 85% of the circle diameter.
   The sprite's colored body occupies 90% of its tile, hence 85 / 90 below. */
.table .player-station .bet-spots{
 grid-template-rows:82px 64px;max-width:260px;gap:20px 5px;margin:12px auto 8px;
}
.table .player-station .bet-spots>div,
.table .player-station .bet-spots #play-circle{
 --bet-size:82px;--stack-step:1.5px;
 width:var(--bet-size);height:var(--bet-size);padding:0;display:block;position:relative;
}
.table .player-station .bet-spots #play-circle{--bet-size:64px}
.table .guest-seat .guest-bets{grid-template-rows:68px 52px;gap:20px 5px;margin:12px auto 8px}
.table .guest-seat .guest-bet,.table .guest-seat .guest-bet:last-child{
 --bet-size:68px;--stack-step:1.25px;
 width:var(--bet-size);height:var(--bet-size);padding:0;display:block;position:relative;
}
.table .guest-seat .guest-bet:last-child{--bet-size:52px}
.table .bet-spots .bet-label,.table .guest-seat .guest-bet>span{
 font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
 font-size:15px;font-weight:800;line-height:1.1!important;letter-spacing:0;
 text-transform:none;text-shadow:none;color:#fff8da;filter:none;text-align:center;
}
.table .guest-seat .guest-bet>span{font-size:14px}
.table .bet-spots strong,.table .guest-seat .guest-bet>strong{
 font:800 14px/1.15 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
 text-shadow:none;color:#fff;
}
.table .bet-spots #play-circle strong{font-size:12px}
/* Text sits on the rim, outside the central chip artwork. Clear all legacy insets. */
.table .player-station .bet-spots .bet-label,.table .guest-seat .guest-bet>span,
.table .player-station .bet-spots strong,.table .guest-seat .guest-bet>strong{
 position:absolute;inset:auto;left:50%;transform:translateX(-50%);
 width:max-content;min-width:0;max-width:none;margin:0;padding:1px 4px;
 white-space:nowrap;text-align:center;background:#08251a;border-radius:4px;z-index:3;
}
.table .player-station .bet-spots .bet-label,.table .guest-seat .guest-bet>span{bottom:calc(100% - 4px)}
.table .player-station .bet-spots strong,.table .guest-seat .guest-bet>strong{bottom:-9px}
.table .guest-seat .guest-bet:last-child>span{bottom:calc(100% - 2px)}
.table .guest-seat .guest-bet:last-child>strong{bottom:-14px}
.table .player-station .bet-spots .table-chips,.table .guest-seat .guest-bet .table-chips,
.table .guest-seat .guest-bet:last-child .table-chips{
 --chip-w:calc(var(--bet-size) * .9444444444);--chip-h:calc(var(--chip-w) * .75);
 position:absolute;inset:auto;left:50%;top:50%;transform:translate(-50%,-50%);
 width:var(--chip-w);height:calc(var(--chip-h) + var(--stack-step) * 3)!important;
 margin:0;overflow:visible;pointer-events:none;
}
.table .bet-spots .table-chips:empty,.table .guest-seat .guest-bet .table-chips:empty{display:none}
.table .player-station .bet-spots .placed-chip,.table .guest-seat .guest-bet .placed-chip{
 --chip-w:calc(var(--bet-size) * .9444444444);--chip-h:calc(var(--chip-w) * .75);
 left:50%;top:calc(var(--stack-step) * 3);transform:translateX(-50%);
 font-size:calc(var(--bet-size) * .2);
}
.table .player-station .bet-spots .placed-chip:nth-child(2),.table .guest-seat .guest-bet .placed-chip:nth-child(2){top:calc(var(--stack-step) * 2)}
.table .player-station .bet-spots .placed-chip:nth-child(3),.table .guest-seat .guest-bet .placed-chip:nth-child(3){top:var(--stack-step)}
.table .player-station .bet-spots .placed-chip:nth-child(4),.table .guest-seat .guest-bet .placed-chip:nth-child(4){top:0}
.table .seat-chips #wager-select{font-size:14px;font-weight:750;text-shadow:none}
.table .seat-chips .clear-actions{
 display:flex;flex-direction:row;flex-wrap:wrap;gap:6px;align-items:stretch;
 width:100%;min-width:0;margin-top:4px;
}
.table .seat-chips .clear-actions button{
 flex:1 1 76px;min-width:0;max-width:100%;width:auto;height:auto;min-height:32px;
 box-sizing:border-box;padding:5px 4px!important;font-size:14px!important;
 font-weight:700;line-height:1.3;letter-spacing:0;white-space:normal;text-shadow:none;
}
.table .seat-dock #deal,.table .seat-dock #play,.table .seat-dock #fold,.table .seat-dock #rebet{
 font-size:16px;font-weight:800;text-shadow:none;
}
@media(min-width:1600px){
 .table .player-station{max-width:380px}
 .table .seat-chips .chip-disc{font-size:13px;text-shadow:0 1px 1px #000}
}
@media(min-width:1600px) and (min-height:1001px){
 /* Keep the upper seats' rim labels clear of the next row of cards. */
 .table .player-position-0,.table .player-position-3,
 .table .guest-seat.seat-0,.table .guest-seat.seat-3{position:relative;top:-24px}
}
@media(max-width:1599px){
 .table .player-station .bet-spots{grid-template-rows:72px 60px;max-width:230px}
 .table .player-station .bet-spots>div{--bet-size:72px;--stack-step:1.25px}
 .table .player-station .bet-spots #play-circle{--bet-size:60px;--stack-step:1.25px}
 .table .bet-spots .bet-label{font-size:14px}
 .table .bet-spots strong{font-size:12px}
 .table .seat-chips #wager-select{font-size:13px}
}
@media(max-width:1199px) and (max-height:600px){
 .table .player-station .bet-spots{grid-template-columns:repeat(3,64px);grid-template-rows:64px 54px;gap:18px 3px}
 .table .player-station .bet-spots>div{--bet-size:64px;--stack-step:1px}
 .table .player-station .bet-spots #play-circle{--bet-size:54px;--stack-step:1px}
 .table .bet-spots .bet-label{font-size:13px}
 .table .player-station .bet-spots .bet-label{padding-inline:2px}
 .table .bet-spots strong,.table .bet-spots #play-circle strong{font-size:11px}
}

/* Show the actual betting problem beside the controls, without adding page height. */
.table .seat-dock.controls{position:relative}
.bet-feedback{
 position:absolute;left:50%;bottom:calc(100% + 8px);transform:translateX(-50%);
 z-index:30;width:max-content;max-width:min(560px,calc(100vw - 30px));box-sizing:border-box;
 display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 16px;
 border:2px solid #e9c768;border-radius:12px;background:#10291d;color:#fff7d5;
 box-shadow:0 6px 18px #0009;text-align:left;
}
.bet-feedback[hidden]{display:none!important}
#bet-feedback-text{margin:0;font:750 17px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
#bet-refill{flex-shrink:0;font-size:16px;font-weight:800;min-height:42px;text-shadow:none;white-space:nowrap}
#bet-refill[hidden]{display:none}
.bank.bank-empty{border-color:#e9c768;background:#263523}
.bank.bank-empty strong{color:#ffe08c}
@media(max-width:1199px){
 .bet-feedback{padding:9px 12px;gap:7px;flex-direction:column;text-align:center;max-width:calc(100vw - 24px)}
 #bet-feedback-text{font-size:15px}#bet-refill{font-size:15px;min-height:38px}
 .table .seat-dock #deal,.table .seat-dock #play,.table .seat-dock #fold,.table .seat-dock #rebet{font-size:14px}
}

/* Emerald club materials: dark woven felt, leather, brass and ceramic chips.
   All footprints stay unchanged; artwork and lighting carry the new look. */
body{
 background:radial-gradient(ellipse at 50% 38%,#16382e55,transparent 58%),
  radial-gradient(ellipse at 8% 20%,#24203f70,transparent 43%),
  radial-gradient(ellipse at 94% 30%,#17304c70,transparent 45%),#080e19;
}
header{border-bottom-color:#bfa27255;background:linear-gradient(90deg,transparent,#c4a56608,transparent)}
.brand-icon,.room-star{color:#ead093;text-shadow:0 0 16px #e2bb5a40}
header .quiet{background:linear-gradient(#202b2a,#111b1c);border-color:#a692675c;color:#f4ecd9}
.bank{background:linear-gradient(130deg,#27382e,#101d19);border-color:#bda57580}
.bank strong{color:#ffe2a6;text-shadow:none}
.bank>span{color:#d6ddcd}
.table .guest-name,.table .your-seat{
 background:linear-gradient(165deg,#303a36,#131c19 55%,#0d1512);
 border-color:#ac936477;color:#f7efd9;
 box-shadow:inset 0 1px #e7dfc92b,0 2px #0a100c,0 3px #b79a6540,0 6px 10px #0005;
}
.table .guest-name strong{color:#f7f0de}
.table .guest-name small,.table .your-seat small{color:#c3cdbf}
.table .guest-balance{color:#efd294}
.table .your-seat .avatar{background:linear-gradient(145deg,#a98f59,#473a23);border-color:#e0c58a}
.table .table-top{background:transparent;border-color:transparent;color:#f0d797;text-shadow:none}
.table .player-station .bet-spots>div,.table .guest-seat .guest-bet{
 background:transparent;border-color:#e4c989;box-shadow:none;
}
.table .player-station .bet-spots .side-circle{border-style:double;border-width:3px}
.table .player-station .bet-spots .has-bet{border-color:#ffe6a4!important;box-shadow:none!important}
.table .player-station .bet-spots [aria-pressed="true"]{
 outline:2px solid #ffe3a5;outline-offset:4px;
 box-shadow:0 0 16px #edcd6b30!important;
}
.table .player-station .bet-spots .bet-label,.table .guest-seat .guest-bet>span,
.table .player-station .bet-spots strong,.table .guest-seat .guest-bet>strong{
 background:#08281c;color:#fff3cf;border-radius:2px;
}
.table .bet-spots .placed-chip,.table .guest-bets .placed-chip,
.table .seat-chips .chip-disc,.placed-chip,.settlement-stack .placed-chip,.flying-chip{
 color:#15252b;text-shadow:none;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.table .seat-chips .chip:hover:not(:disabled){filter:brightness(1.12) drop-shadow(0 2px 4px #f4d79255)}
.table .seat-chips #wager-select,.table .seat-chips .clear-actions button{
 background:#10261d;border-color:#ba9d6266;color:#f6eedc;
}
.table .seat-dock.controls{
 background:linear-gradient(155deg,#1d2b23ed,#0a1811ed);border-color:#aa916957;
 box-shadow:inset 0 1px #f8e2ac1f,0 5px 12px #0005;
}
.table .seat-dock #deal,.table .seat-dock #play{
 background:linear-gradient(165deg,#fff0bc,#e7c578 15%,#c7a15d 52%,#b88c42 55%,#e0ba6d);
 border-color:#ffe3a4;color:#211c10;
 box-shadow:inset 0 2px #fff5d999,inset 0 -2px #80602280,0 2px #b99a5f,0 5px #725426,0 8px #2c2315,2px 11px 12px #0008;
}
.table .seat-dock #rebet{
 background:linear-gradient(165deg,#607963,#294a38 25%,#183525 60%,#31533d);
 border-color:#b5b486;color:#fff3cf;
 box-shadow:inset 0 2px #d1e4bc66,inset 0 -2px #091f1480,0 2px #61765a,0 5px #263c29,0 8px #0b1b11,2px 11px 12px #0008;
}
.paytable-panel{background:linear-gradient(145deg,#1c2b24,#0a120f 70%);border-color:#b99b5f}
.casino-stage:not(.webgl-ready) .table{
 background:radial-gradient(ellipse at 46% 28%,#104d33bb,transparent 68%) padding-box,
  repeating-linear-gradient(0deg,#ffffff03 0 1px,transparent 1px 3px) padding-box,
  repeating-linear-gradient(90deg,#00000009 0 1px,transparent 1px 3px) padding-box,
  linear-gradient(#073321,#041e15) padding-box,
  linear-gradient(150deg,#313731,#080e0b 35%,#242a24 70%,#0a100c) border-box;
 box-shadow:inset 0 0 0 2px #bda16b,inset 0 0 30px #0009,0 3px #897445,0 12px #080d0a,0 18px 22px #0008;
}
.felt-signature{display:none}
@media(min-width:1600px) and (min-height:1001px){
 .felt-signature{
  display:flex;position:absolute;left:27%;top:24%;width:154px;height:130px;
  flex-direction:column;align-items:center;justify-content:center;gap:7px;
  pointer-events:none;user-select:none;color:#d7bc78;opacity:.8;text-align:center;
 }
 .felt-signature svg{width:90px;height:48px;fill:none;stroke:currentColor;stroke-width:1.6}
 .felt-signature strong{font:700 21px/1.1 Georgia,serif}
 .felt-signature small{font:700 10px/1.4 -apple-system,sans-serif;letter-spacing:2px}
 .felt-signature::after{content:'◆';font-size:11px;line-height:1;border-top:1px solid #c9a86666;width:90px;padding-top:5px}
 .table:has(.player-position-0) .felt-signature{display:none}
}

/* Two distinct deck backs, with matching readable CSS fallbacks. */
.card.back,.mini-card.concealed{
 background:repeating-linear-gradient(45deg,#123e30 0 3px,#4d8063 3px 4px)!important;
 border-color:#d5c59e;color:#f1dfb1;
}
.card.back .pip{background:#0b2a21;border-color:#dbc18a}
.card.back.deck-b,.mini-card.concealed.deck-b{
 background:repeating-linear-gradient(45deg,#591c31 0 3px,#9b6570 3px 4px)!important;
}
.card.back.deck-b .pip{background:#361422}

/* Compact desktops: reserve the larger row for the visitor and keep their chip
   selector beside the hand. The six seats still fit without crossing rows. */
@media(min-width:1200px) and (max-height:1000px) and (min-height:880px){
 main{grid-template-rows:34px minmax(0,1fr) 18px}
 .room-bar{display:none}
 .table,.webgl-ready .table,.table:has(.guest-seat.empty),.table:has(.player-station){
  grid-template-rows:26px minmax(0,1.62fr) minmax(0,1fr) 78px 28px;
 }
 .table:has(.player-position-1,.player-position-2,.player-position-4,.player-position-5){
  grid-template-rows:26px minmax(0,1fr) minmax(0,1.62fr) 78px 28px;
 }
 .table .player-station{grid-template-columns:minmax(0,1fr) 84px;grid-template-rows:auto auto;gap:0 8px}
 .table .player-station .player-zone{grid-column:1;grid-row:1}
 .table .player-station .bet-spots{grid-column:1;grid-row:2}
 .table .player-station .seat-chips{grid-column:2;grid-row:1/3;display:block}
 .table .player-position-2,.table .player-position-3,.table .player-position-4{grid-template-columns:84px minmax(0,1fr)}
 .table .player-position-2 .seat-chips,.table .player-position-3 .seat-chips,.table .player-position-4 .seat-chips{grid-column:1}
 .table .player-position-2 .player-zone,.table .player-position-3 .player-zone,.table .player-position-4 .player-zone,
 .table .player-position-2 .bet-spots,.table .player-position-3 .bet-spots,.table .player-position-4 .bet-spots{grid-column:2}
 .table .player-station .seat-chips #bet-controls{display:flex;flex-direction:column}
 .table .player-station .seat-chips .chips{display:grid;grid-template-columns:repeat(3,26px);gap:6px 3px}
 .table .player-station .seat-chips #wager-select{margin:0 0 6px;height:28px}
 .table .player-station .seat-chips .clear-actions{flex-direction:column}
 .table .player-zone .player-hand-label{margin:0 0 4px}
 .table #player-rank{font-size:18px;line-height:22px}
 .table .player-station .bet-spots{grid-template-rows:64px 54px;gap:18px 3px;max-width:210px;margin:10px auto 8px}
 .table .player-station .bet-spots>div{--bet-size:64px;--stack-step:1px}
 .table .player-station .bet-spots #play-circle{--bet-size:54px;--stack-step:1px}
 .table .bet-spots .bet-label{font-size:13px}
 .table .seat-dock .repeat-live{display:none}

 .table .player-station .seat-chips .clear-actions button{flex:0 0 auto;min-height:32px}
 .table .player-station .player-zone .card{width:60px;height:auto;max-width:calc((100% - 20px)/3);aspect-ratio:5/7}
 .table .seat-dock .repeat-controls:not([open]){padding:2px 7px}

 .table:has(.player-position-1,.player-position-2,.player-position-4,.player-position-5) .guest-seat:is(.seat-0,.seat-3){position:relative;top:-12px}

 .casino-stage,.casino-stage.webgl-ready{height:min(calc(100% - 120px),880px)}
 .casino-stage .real-scene{height:calc(100% + 120px)}
 .table .guest-info.seat-result{padding:4px;margin:4px 0 6px}
 .table .guest-info.seat-result .guest-status{display:none}
 .table .guest-result{font-size:18px;line-height:20px}
 .table .player-zone .player-hand-label.seat-result{padding:2px 4px;margin:0 auto 4px}
 .table .player-hand-label.seat-result #player-result{font-size:18px;line-height:20px}
 .table .player-hand-label.seat-result #player-rank{font-size:14px;line-height:16px;margin-top:2px}
 .table .player-station:has(.player-hand-label.seat-result) .player-zone .card{width:56px}
 .table .player-station:has(.player-hand-label.seat-result) .bet-spots{margin-top:14px;margin-bottom:6px}
}
@media(max-width:1199px){
 footer #save-note{display:none}
}

/* Standalone table actions: no enclosing dashboard-sized panel. */
.table.perimeter-table .seat-dock.controls{
 width:max-content;max-width:100%;min-height:0;height:auto;padding:0;margin:0;
 background:none;border:0;box-shadow:none;border-radius:0;display:block;
}
.table.perimeter-table .seat-dock .deal-panel{
 position:static;inset:auto;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center;
 width:100%;max-width:100%;gap:12px 14px;margin:0;padding:0;
}
.table.perimeter-table .seat-dock .rebet-group,.table.perimeter-table .seat-dock .actions{display:contents}
.table.perimeter-table .seat-dock #rebet{order:1;width:auto;min-width:112px}
.table.perimeter-table .seat-dock #deal,.table.perimeter-table .seat-dock #play,.table.perimeter-table .seat-dock #fold{order:2;flex:0 0 auto;width:auto;margin:0;min-height:46px;padding:10px 16px}
.table.perimeter-table .seat-dock .repeat-controls:not([open]){
 order:3;flex:0 0 auto;width:auto;max-width:none;margin:0;padding:7px 11px;font-size:14px;min-height:36px;
 background:#0a1d14;border:1px solid #bda16b66;border-radius:7px;
}
.table.perimeter-table .seat-dock .repeat-live{order:4;flex:0 0 100%;display:block;text-align:center;margin:2px 0 0;max-width:none}
.table.perimeter-table .seat-dock .repeat-live:empty{display:none}
.table.perimeter-table .seat-dock .repeat-controls[open]{position:fixed;inset:auto 16px 16px auto;transform:none;width:260px;max-width:calc(100vw - 32px);max-height:75dvh;overflow:auto;z-index:140;padding:12px;background:#0b251b}

@media(min-width:1200px){
 .casino-stage:has(.perimeter-table),.table.perimeter-table{perspective:none;transform:none;filter:none}
 .table.perimeter-table .seat-dock .deal-panel{justify-content:flex-end}
 .table.perimeter-table .seat-dock .repeat-controls[open]{right:max(18px,calc((100vw - 1600px)/2 - 82px));bottom:174px;max-height:calc(100dvh - 200px)}
 .table.perimeter-table .seat-dock .bet-feedback{left:auto;right:0;transform:none;max-width:min(560px,calc(100vw - 36px))}
 .table.perimeter-table .seat-dock :is(#rebet,#deal,#play,#fold){font-size:18px;min-height:46px;padding:10px 16px}
 .table.perimeter-table .seat-dock .repeat-live{text-align:right;font-size:12px}
 /* Anchors follow the outer curve: back corners, sides, then two front seats. */
 .table.perimeter-table,.webgl-ready .table.perimeter-table,.table.perimeter-table:has(.player-station){display:block;position:relative;padding:0}
 .table.perimeter-table .guest-seats{display:contents}
 .table.perimeter-table .seat-0,.table.perimeter-table .player-position-0{--seat-x:20%;--seat-y:3%}
 .table.perimeter-table .seat-3,.table.perimeter-table .player-position-3{--seat-x:80%;--seat-y:3%}
 .table.perimeter-table .seat-1,.table.perimeter-table .player-position-1{--seat-x:16%;--seat-y:44%}
 .table.perimeter-table .seat-2,.table.perimeter-table .player-position-2{--seat-x:84%;--seat-y:44%}
 .table.perimeter-table .seat-5,.table.perimeter-table .player-position-5{--seat-x:39%;--seat-y:50%}
 .table.perimeter-table .seat-4,.table.perimeter-table .player-position-4{--seat-x:61%;--seat-y:50%}
 .table.perimeter-table .guest-seat,.table.perimeter-table .player-station,
 .table.perimeter-table:has(.player-station) .guest-seat{
  position:absolute;inset:auto;left:var(--seat-x);top:var(--seat-y);transform:translateX(-50%);
  grid-area:auto;margin:0;align-self:auto;justify-self:auto;
 }
 .table.perimeter-table .guest-seat{width:270px;max-width:22%;display:flex;flex-direction:column;align-items:center;padding:0;gap:0}
 .table.perimeter-table .guest-info{order:0;width:100%;height:50px;min-height:50px;justify-content:center;box-sizing:border-box}
 .table.perimeter-table .guest-status{font-size:13px;line-height:16px;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
 .table.perimeter-table .guest-hand{order:1;width:100%;min-height:100px;margin:3px 0 6px}
 .table.perimeter-table .guest-bets{order:2;margin:8px auto 10px}
 .table.perimeter-table .guest-name{order:3;width:100%;margin:4px auto 0}
 .table.perimeter-table .guest-seat.empty{padding-top:235px}
 .table.perimeter-table .open-seat-button{min-height:54px;padding:12px 8px}
 .table.perimeter-table .player-station{width:380px;max-width:28%;padding-bottom:48px}
 /* On side seats the palette sits toward the rail, leaving bets on the felt. */
 .table.perimeter-table .player-position-1{grid-template-columns:84px minmax(0,1fr)}
 .table.perimeter-table .player-position-1 .seat-chips{grid-column:1}
 .table.perimeter-table .player-position-1 .player-zone,.table.perimeter-table .player-position-1 .bet-spots{grid-column:2}
 .table.perimeter-table .player-position-2{grid-template-columns:minmax(0,1fr) 84px}
 .table.perimeter-table .player-position-2 .seat-chips{grid-column:2}
 .table.perimeter-table .player-position-2 .player-zone,.table.perimeter-table .player-position-2 .bet-spots{grid-column:1}
 .table.perimeter-table .player-zone{position:static}
 .table.perimeter-table .player-zone .your-seat{
  display:flex!important;position:absolute;inset:auto auto 0 50%;transform:translateX(-50%);
  min-width:0;width:150px;max-width:100%;margin:0;padding:5px 9px;
 }
 .table.perimeter-table .dealer-station{
  position:absolute;inset:-50px auto auto 50%;transform:translateX(-50%);grid-area:auto;
  width:300px;max-width:30%;height:auto;display:flex;flex-direction:column;align-items:center;
  gap:4px;margin:0;z-index:4;
 }
 .table.perimeter-table .dealer-station .dealer-host{display:block;position:static;inset:auto;transform:none;width:100%;flex:0 0 auto;margin:0;text-align:center}
 .table.perimeter-table .dealer-station .dealer-portrait{width:76px;height:100px;margin:0 auto;background-size:300% auto;border-radius:42% 42% 8px 8px}
 .table.perimeter-table .dealer-station .dealer-host>span{display:block;width:max-content;max-width:100%;margin:2px auto;font-size:11px;line-height:1.2}
 .table.perimeter-table .dealer-station .dealer-zone{width:100%;flex:0 0 auto;margin:0}
 .table.perimeter-table .dealer-hand-label{gap:2px;margin:2px 0 5px}
 .table.perimeter-table .dealer-zone .card{width:76px;height:auto;aspect-ratio:5/7}
 .table.perimeter-table .table-top{position:absolute;inset:235px auto auto 50%;transform:translateX(-50%);width:max-content;max-width:60%;margin:0;padding:3px 10px}
 .table.perimeter-table .felt-signature{display:flex;left:50%;top:31%;width:154px;height:110px;transform:translateX(-50%)}
 .table.perimeter-table .seat-dock.controls{position:fixed;inset:auto max(18px,calc((100vw - 1600px)/2 - 82px)) 30px auto;transform:none;width:420px;max-width:calc(100vw - 36px);z-index:10}
 .table.perimeter-table .felt-result{position:absolute;inset:59% auto auto 50%;transform:translateX(-50%);width:500px;max-width:45%;margin:0}
}
@media(min-width:1200px) and (max-height:1000px), (min-width:1200px) and (max-width:1599px){
 .table.perimeter-table :is(.seat-1,.seat-2,.player-position-1,.player-position-2){--seat-y:50%}
 .table.perimeter-table :is(.seat-4,.seat-5,.player-position-4,.player-position-5){--seat-y:55%}
 /* The visitor's full betting area needs more room than compact guest hands. */
 .table.perimeter-table :is(.player-position-1,.player-position-2){--seat-y:39%}
 .table.perimeter-table :is(.player-position-4,.player-position-5){--seat-y:42%}
 .table.perimeter-table .guest-seat{width:240px;max-width:21%}
 .table.perimeter-table .guest-seat.empty{padding-top:100px}
 .table.perimeter-table .guest-name{margin-top:3px}
 .table.perimeter-table .guest-info{height:34px;min-height:34px}
 .table.perimeter-table .guest-hand{min-height:78px}
 .table.perimeter-table .player-station{width:324px;max-width:28%;padding-bottom:0}
 .table.perimeter-table .player-zone .your-seat{display:none!important}
 .table.perimeter-table .dealer-station{top:-38px;width:260px}
 .table.perimeter-table .dealer-station .dealer-portrait{width:60px;height:76px}
 .table.perimeter-table .dealer-zone .card{width:58px}
 .table.perimeter-table .table-top{top:200px;font-size:12px}
 .table.perimeter-table .felt-signature{display:none}
 .table.perimeter-table .seat-dock.controls{width:680px;bottom:22px}
 .table.perimeter-table .felt-result{top:58%}
 .table.perimeter-table .seat-dock .repeat-live{display:none;font-size:10px}
}
@media(max-width:1199px){
 .table.perimeter-table .seat-dock.controls{align-self:center;width:100%;min-width:0;max-width:calc(100vw - 24px)}
 .table.perimeter-table .seat-dock .deal-panel{width:100%;min-width:0;gap:8px;max-width:100%;justify-content:flex-end}
 .table.perimeter-table .seat-dock #rebet{min-width:90px}
 .table.perimeter-table .seat-dock #deal,.table.perimeter-table .seat-dock #play,.table.perimeter-table .seat-dock #fold{padding:8px 10px;font-size:15px;min-height:44px}
 .table.perimeter-table .seat-dock .repeat-controls:not([open]){font-size:13px;padding:6px 8px}
}

/* Keep the details link with the small controls; live status stays accessible. */
.table.perimeter-table .seat-dock #hand-details{order:3;flex:0 0 auto;margin:0;padding:7px;font-size:14px;font-weight:700;min-height:36px}
.table.perimeter-table .felt-result{
 position:absolute;inset:auto;transform:none;width:1px;max-width:1px;height:1px;min-height:0;
 margin:-1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;
}

@media(min-width:1200px){
 .table.perimeter-table .felt-signature{display:none}
 .table.perimeter-table .guest-seat:is(.seat-0,.seat-3) .guest-name{position:absolute;top:-46px;left:0;margin:0}
 .table.perimeter-table .player-position-0,.table.perimeter-table .player-position-3{--seat-y:0%;padding-bottom:0}
 .table.perimeter-table :is(.player-position-0,.player-position-3) .your-seat{
  inset:-28px 0 auto auto;transform:none;width:84px;padding:3px 5px;gap:5px;justify-content:center;
 }
 .table.perimeter-table .player-position-3 .your-seat{left:0;right:auto}
 .table.perimeter-table :is(.player-position-0,.player-position-3) .your-seat small{display:none!important}
 .table.perimeter-table :is(.player-position-0,.player-position-3) .your-seat .avatar{width:24px;height:24px;font-size:14px}
}

/* Preserve spacing between all six seats on narrower desktop windows. */
@media(min-width:1200px) and (max-width:1359px){
 .table.perimeter-table:has(.player-position-4) .table-top{left:37%}
 .table.perimeter-table:has(.player-position-5) .table-top{left:63%}
 .table.perimeter-table .guest-seat{width:180px}
 .table.perimeter-table :is(.player-position-1,.player-position-2){--seat-y:32%}
 .table.perimeter-table :is(.player-position-4,.player-position-5){--seat-y:37%}
 .table.perimeter-table .player-station{width:300px}
 .table.perimeter-table :is(.seat-0,.player-position-0){--seat-x:23%}
 .table.perimeter-table :is(.seat-3,.player-position-3){--seat-x:77%}
}

/* Shared betting-circle dimensions for the visitor and every guest. */
.table.perimeter-table{--opening-circle:82px;--play-circle:64px}
.table.perimeter-table .player-station .bet-spots,.table.perimeter-table .guest-seat .guest-bets{
 grid-template-rows:var(--opening-circle) var(--play-circle);
}
.table.perimeter-table .player-station .bet-spots>div,.table.perimeter-table .guest-seat .guest-bet{--bet-size:var(--opening-circle)}
.table.perimeter-table .guest-seat .guest-bet{--stack-step:1.5px}
.table.perimeter-table .player-station .bet-spots #play-circle,.table.perimeter-table .guest-seat .guest-bet:last-child{--bet-size:var(--play-circle)}
.table.perimeter-table .guest-seat .guest-bet>span{font-size:15px}
.table.perimeter-table .guest-info.seat-result{padding:2px}
.table.perimeter-table .guest-info .guest-status{margin:0;flex:0 0 auto}
.table.perimeter-table .guest-info .guest-result{flex-shrink:0}
.dealer-shuffler{display:block;pointer-events:none;user-select:none;object-fit:contain;height:auto;filter:drop-shadow(3px 5px 4px #0008)}
@media(min-width:1200px){
 .table.perimeter-table :is(.seat-0,.seat-3){--seat-y:2%}
 .table.perimeter-table .seat-1{--seat-x:17%}
 .table.perimeter-table .seat-2{--seat-x:83%}
 .table.perimeter-table .dealer-shuffler{position:absolute;left:-135px;top:128px;width:120px;margin:0}
 .table.perimeter-table:has(.player-position-0) .dealer-shuffler{left:auto;right:-135px}
 .player-wallet{
  position:fixed;left:max(18px,calc((100vw - 1600px)/2 + 18px));bottom:30px;z-index:10;
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-start;
  width:max-content;max-width:430px;margin:0;padding:9px 12px;
 }
 .player-wallet>span{font-size:14px;font-weight:700}
 .player-wallet strong{font-size:28px;line-height:1.2}
 .player-wallet button{font-size:14px;min-height:36px}
}
@media(max-width:1599px){.table.perimeter-table{--opening-circle:72px;--play-circle:60px}}
@media(min-width:1200px) and (max-height:1000px) and (min-height:880px){
 .table.perimeter-table{--opening-circle:64px;--play-circle:54px}
}
@media(min-width:1200px) and (max-height:1000px), (min-width:1200px) and (max-width:1599px){
 .table.perimeter-table .dealer-shuffler{top:85px;width:100px}
 .player-wallet{bottom:22px;max-width:430px}
}
@media(min-width:1200px) and (max-width:1359px){
 .table.perimeter-table .dealer-shuffler{left:-74px;width:70px}
 .table.perimeter-table:has(.player-position-0) .dealer-shuffler{right:-74px}
}
@media(max-width:1199px){
 main{grid-template-rows:minmax(0,1fr) 40px 14px}
 .intro{display:none}
 .player-wallet{grid-row:2;justify-self:start;align-self:center;padding:3px 8px;border:1px solid #bda57580;border-radius:8px}
 .casino-stage{grid-row:1}
 footer{grid-row:3}
 .table.perimeter-table .dealer-shuffler{position:static;width:56px;margin:4px auto 0}
}
@media(max-width:1199px) and (max-height:600px){
 .table.perimeter-table{--opening-circle:64px;--play-circle:54px}
 .table.perimeter-table .dealer-shuffler{width:40px}
}

/* Leave room for long result descriptions and the matching guest circles. */
@media(min-width:1600px) and (min-height:1001px){
 .casino-stage:has(.perimeter-table){height:min(calc(100% - 96px),912px)}
}
@media(min-width:1360px){
 .table.perimeter-table :is(.player-position-0,.player-position-3){top:calc(var(--seat-y) - 12px)}
 .table.perimeter-table .player-position-0{--seat-x:22%}
 .table.perimeter-table .player-position-3{--seat-x:78%}
}
@media(min-width:1360px) and (max-height:1000px), (min-width:1360px) and (max-width:1599px){
 .table.perimeter-table :is(.player-position-1,.player-position-2,.player-position-4,.player-position-5){top:calc(var(--seat-y) - 24px)}
}
@media(min-width:1200px) and (max-height:1000px), (min-width:1200px) and (max-width:1599px){
 .table.perimeter-table .seat-1{--seat-x:16%}
 .table.perimeter-table .seat-2{--seat-x:84%}
}

/* In short landscape windows, give chip selection and actions separate rows. */
@media(max-width:1199px) and (orientation:landscape) and (max-height:600px){
 .table.perimeter-table{--opening-circle:64px;--play-circle:54px;display:grid;
  grid-template-columns:minmax(170px,.9fr) minmax(210px,1.2fr) 210px;
  grid-template-rows:14px minmax(0,1fr) 40px 42px;gap:4px;
 }
 .table.perimeter-table .dealer-station{grid-column:1;grid-row:2;align-self:center;width:100%}
 .table.perimeter-table .dealer-zone .cards{gap:7px}
 .table.perimeter-table .dealer-zone .card{width:42px;height:auto;aspect-ratio:5/7}
 .table.perimeter-table .player-station{display:contents}
 .table.perimeter-table .player-zone{grid-column:2;grid-row:2;align-self:center}
 .table.perimeter-table .player-station .bet-spots{grid-column:3;grid-row:2;align-self:center;margin:8px auto;gap:18px 3px}
 .table.perimeter-table .seat-chips{grid-column:1/-1;grid-row:3;display:flex;align-items:center;justify-content:flex-end;gap:8px;width:100%;max-width:none;margin:0}
 .table.perimeter-table .seat-chips #wager-select{width:140px;height:30px;margin:0}
 .table.perimeter-table .seat-chips #bet-controls{display:contents}
 .table.perimeter-table .seat-chips .clear-actions{width:auto;flex-wrap:nowrap;margin:0;gap:5px}
 .table.perimeter-table .seat-chips .clear-actions button{flex:0 0 auto;min-height:30px;padding:4px 7px!important;font-size:12px!important}
 .table.perimeter-table .seat-dock.controls{grid-column:1/-1;grid-row:4;align-self:center}
 .table.perimeter-table .seat-dock :is(#rebet,#deal,#play,#fold){font-size:14px;min-height:36px;padding:6px 10px}
 .table.perimeter-table .seat-dock .repeat-live{display:none}
}

/* Five player positions form an even arc; the dealer is the sixth person.
   Upper betting rings sit well inside the curved rail, even after seat changes. */
@media(min-width:1200px){
 .table.perimeter-table :is(.seat-0,.player-position-0){--seat-x:25%}
 .table.perimeter-table :is(.seat-3,.player-position-3){--seat-x:75%}
 .table.perimeter-table :is(.seat-1,.player-position-1){--seat-x:19%;--seat-y:45%}
 .table.perimeter-table :is(.seat-2,.player-position-2){--seat-x:81%;--seat-y:45%}
 .table.perimeter-table :is(.seat-4,.player-position-4){--seat-x:50%;--seat-y:50%}
}
@media(min-width:1600px) and (min-height:1001px){
 .table.perimeter-table :is(.player-position-1,.player-position-2){--seat-y:42%}
 .table.perimeter-table .player-position-4{--seat-y:47%}
 .table.perimeter-table .dealer-shuffler{left:-84px;top:128px;width:80px}
 .table.perimeter-table:has(.player-position-0) .dealer-shuffler{left:auto;right:-84px}
 .table.perimeter-table .seat-dock.controls,.table.perimeter-table .seat-dock .repeat-controls[open]{right:max(18px,calc((100vw - 1600px)/2 - 114px))}
}
@media(min-width:1200px) and (max-height:1000px), (min-width:1200px) and (max-width:1599px){
 .table.perimeter-table :is(.seat-1,.seat-2){--seat-y:50%}
 .table.perimeter-table .seat-4{--seat-y:61%}
 .table.perimeter-table :is(.player-position-1,.player-position-2){--seat-y:36%}
 .table.perimeter-table .player-position-4{--seat-y:37%}
 .table.perimeter-table .dealer-shuffler{left:-50px;top:85px;width:48px}
 .table.perimeter-table:has(.player-position-0) .dealer-shuffler{left:auto;right:-50px}
 .table.perimeter-table:has(.player-position-4) .table-top{
  left:calc(50% - 260px);width:180px;max-width:none;white-space:normal;line-height:1.3;text-align:center;
 }
}
@media(min-width:1200px) and (max-width:1359px){
 .table.perimeter-table :is(.player-position-1,.player-position-2){--seat-y:34%}
 .table.perimeter-table .player-position-4{--seat-y:35%}
 .table.perimeter-table :is(.player-position-0,.player-position-3){width:278px;grid-template-columns:minmax(0,1fr) 64px;--seat-x:24%}
 .table.perimeter-table .player-position-3{--seat-x:76%;grid-template-columns:64px minmax(0,1fr)}
 .table.perimeter-table :is(.player-position-0,.player-position-3) .seat-chips .chips{grid-template-columns:repeat(2,26px)}
}

/* Move upper wagers inward and center the visitor independently of the chips. */
@media(min-width:1200px){
 .table.perimeter-table .seat-0 .guest-bets{position:relative;left:54px;margin-top:8px}
 .table.perimeter-table .seat-3 .guest-bets{position:relative;left:-54px;margin-top:8px}
 .table.perimeter-table .player-station{
  display:flex;flex-direction:column;align-items:center;gap:0;width:284px;max-width:none;
  left:calc(var(--seat-x) - 142px);transform:none;
 }
 .table.perimeter-table .player-position-0{--seat-x:28%}
 .table.perimeter-table .player-position-3{--seat-x:72%}
 .table.perimeter-table .player-station .player-zone{width:100%;margin-inline:auto}
 .table.perimeter-table .player-station .bet-spots{width:100%;margin-inline:auto}
 .table.perimeter-table .player-station .seat-chips{
  position:fixed;inset:auto max(18px,calc((100vw - 1600px)/2 - 208px)) 180px auto;
  width:240px;max-width:none;display:flex;flex-direction:column;gap:10px;
  padding:0;margin:0;transform:none;z-index:12;
 }
 .table.perimeter-table .player-station .seat-chips #wager-select{
  width:100%;height:36px;margin:0;padding:5px 9px;font-size:15px;font-weight:800;
 }
 .table.perimeter-table .player-station .seat-chips #bet-controls{width:100%;display:flex;flex-direction:column;gap:10px}
 .table.perimeter-table .player-station .seat-chips .chips{display:grid;grid-template-columns:repeat(4,48px);gap:10px 12px;justify-content:center}
 .table.perimeter-table .player-station .seat-chips .chip{--chip-w:48px;--chip-h:36px;width:48px;height:48px}
 .table.perimeter-table .player-station .seat-chips .clear-actions{display:flex;flex-direction:row;gap:8px;width:100%;margin:0}
 .table.perimeter-table .player-station .seat-chips .clear-actions button{flex:1;min-height:34px;padding:5px 7px!important;font-size:13px!important}
}
@media(min-width:1200px) and (max-width:2100px){
 .casino-stage:has(.perimeter-table){width:calc(100% - 170px);max-width:none;margin-inline:0 auto}
 .table.perimeter-table .player-station .seat-chips{right:18px;bottom:100px;width:132px}
 .table.perimeter-table .player-station .seat-chips .chips{grid-template-columns:repeat(3,36px);gap:8px 6px}
 .table.perimeter-table .player-station .seat-chips .chip{--chip-w:36px;--chip-h:27px;width:36px;height:38px}
 .table.perimeter-table .player-station .seat-chips .clear-actions{flex-direction:column;gap:5px}
 .table.perimeter-table .seat-dock .repeat-controls[open]{right:164px}
 .table.perimeter-table .seat-dock .bet-feedback{right:144px}
}
@media(min-width:1200px) and (max-height:1000px), (min-width:1200px) and (max-width:1599px){
 .table.perimeter-table .player-station{width:230px;left:calc(var(--seat-x) - 115px)}
 .table.perimeter-table .dealer-station{width:230px}
 .table.perimeter-table .seat-0 .guest-bets{left:24px}
 .table.perimeter-table .seat-3 .guest-bets{left:-24px}
}

@media(min-width:1600px) and (min-height:1001px){
 .table.perimeter-table .player-position-1{--seat-x:23%;--seat-y:44%}
 .table.perimeter-table .player-position-2{--seat-x:77%;--seat-y:44%}
}
@media(min-width:1200px){
 .table.perimeter-table :is(.player-position-0,.player-position-3) .your-seat{left:50%;right:auto;transform:translateX(-50%)}
}
@media(min-width:1200px) and (max-width:1359px){
 .table.perimeter-table .player-position-0{--seat-x:25%}
 .table.perimeter-table .player-position-3{--seat-x:75%}
 .table.perimeter-table .player-position-1{--seat-x:23%;--seat-y:32%}
 .table.perimeter-table .player-position-2{--seat-x:77%;--seat-y:32%}
 .table.perimeter-table .dealer-shuffler{left:-22px;top:65px}
 .table.perimeter-table:has(.player-position-0) .dealer-shuffler{left:auto;right:-22px}
}
@media(min-width:2101px){
 .table.perimeter-table .seat-dock .repeat-controls[open]{right:max(18px,calc((100vw - 1600px)/2 + 48px))}
 .table.perimeter-table .seat-dock .bet-feedback{right:160px}
}
@media(min-width:1200px) and (max-width:1359px){
 .table.perimeter-table .table-top{width:230px;max-width:none;white-space:normal;line-height:1.3}
}
/* Medium-width screens keep all guest bets visible with proportionate stations. */
@media(min-width:1600px) and (max-width:2100px) and (min-height:1001px){
 .casino-stage:has(.perimeter-table){height:min(calc(100% - 128px),880px)}
 .table.perimeter-table{--opening-circle:64px;--play-circle:54px}
 .table.perimeter-table .guest-seat{width:230px;max-width:22%}
 .table.perimeter-table .guest-info{height:42px;min-height:42px}
 .table.perimeter-table .guest-info.seat-result{padding:2px}
 .table.perimeter-table .guest-result{font-size:18px;line-height:20px}
 .table.perimeter-table .guest-hand{min-height:78px}
 .table.perimeter-table .guest-seat .mini-card{width:54px;height:auto;aspect-ratio:5/7}
 .table.perimeter-table .player-station{width:230px;left:calc(var(--seat-x) - 115px)}
 .table.perimeter-table :is(.player-position-1,.player-position-2){--seat-y:42%}
 .table.perimeter-table .player-zone .card{width:60px;height:auto;aspect-ratio:5/7}
 .table.perimeter-table #player-rank{font-size:18px;line-height:22px}
 .table.perimeter-table .player-hand-label.seat-result #player-result{font-size:20px;line-height:22px}
 .table.perimeter-table .player-hand-label.seat-result #player-rank{font-size:15px;line-height:18px}
 .table.perimeter-table .player-station .bet-spots{gap:18px 3px;max-width:210px;margin-top:14px;margin-bottom:6px}
 .table.perimeter-table .dealer-station{width:230px;top:-38px}
 .table.perimeter-table .dealer-station .dealer-portrait{width:60px;height:76px}
 .table.perimeter-table .dealer-zone .card{width:58px}
 .table.perimeter-table .table-top{top:200px;font-size:12px}
 .table.perimeter-table .dealer-shuffler{left:-50px;top:85px;width:48px}
 .table.perimeter-table:has(.player-position-0) .dealer-shuffler{left:auto;right:-50px}
 .table.perimeter-table .player-station .seat-chips{bottom:180px}
}

/* Shared game navigation and saved-hand guard. */
.game-link{align-self:center;color:#f4dda1;border:1px solid #9e8b53;padding:8px 12px;border-radius:7px;font-weight:700;font-size:14px;white-space:nowrap;text-decoration:none}.game-link:hover{background:#30432c}.account-resume{display:inline-block;padding:10px 16px;background:#ddc17c;color:#0a2115;border-radius:7px;font-weight:bold;text-decoration:none}

/* Short portrait phones prioritize the readable cards and usable controls. */
@media(max-width:600px) and (max-height:710px){
 .table.perimeter-table .dealer-host{display:none!important}
 .table.perimeter-table .dealer-zone{flex-basis:100%}
 .table.perimeter-table .table-top{display:none}
 .table.perimeter-table{--opening-circle:64px;--play-circle:54px}
 .table.perimeter-table .seat-dock .deal-panel{gap:3px 8px}
 .table.perimeter-table .seat-dock #hand-details{min-height:30px;padding:3px 7px}
 .table.perimeter-table .seat-dock .repeat-controls:not([open]){min-height:30px;padding:3px 8px}
 .table.perimeter-table .seat-dock .repeat-live{display:none}
}

/* Payouts printed directly on the felt; rates share the engine's pay tables. */
@media(min-width:1200px){
 /* Empty upper seats have no hand to reserve space for. Keep their prompts
    beside the rail instead of down over the printed payout schedules. */
 .table.perimeter-table .guest-seat.empty:is(.seat-0,.seat-3){padding-top:0}
 .table.perimeter-table .guest-seat.empty:is(.seat-0,.seat-3) .open-seat-button{align-self:flex-start;max-width:220px;margin-left:-16px}
}
.felt-payouts,.felt-payout-mini{color:#e4cc8c;pointer-events:none;text-shadow:none}
.felt-payouts{display:none}.felt-payout-mini{margin:0;text-align:center;font:700 11px/15px Arial,sans-serif;color:#efdca5}
@media(min-width:1600px) and (min-height:1080px){
 .felt-payout-mini{display:none}.felt-payouts{display:block;position:absolute;inset:0;z-index:0}
 .felt-payouts .paytable-section{position:absolute;top:24%;width:174px;margin:0;padding:8px 0;border:0;background:none;box-shadow:none}
 .felt-payouts .paytable-section:nth-child(1){left:6%}
 .felt-payouts .paytable-section:nth-child(3){right:7%;top:22%}
 .felt-payouts .paytable-section:nth-child(2){top:34%;left:50%;width:220px;transform:translateX(-50%)}
 .felt-payouts .paytable-rates{width:100%;border-collapse:collapse;color:inherit;font:700 14px/18px Arial,sans-serif}
 .felt-payouts .paytable-rates caption{color:inherit;font:700 16px/22px Georgia,serif;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap;text-align:center;padding:0 0 6px;border-bottom:1px solid #d8bb7470}
 .felt-payouts .paytable-rates tr{background:none}
 .felt-payouts .paytable-rates :is(th,td){padding:1px 0;border:0;background:none;font-weight:700}
 .felt-payouts .paytable-rates th{text-align:left}.felt-payouts .paytable-rates td{text-align:right;white-space:nowrap;padding-left:8px;font-variant-numeric:tabular-nums}
 .felt-payout-heading{position:absolute;top:31%;left:50%;transform:translateX(-50%);white-space:nowrap;font:700 20px/26px Georgia,serif;letter-spacing:1px}
}
@media(min-width:1600px) and (max-width:2100px) and (min-height:1080px),
 (min-width:1600px) and (min-height:1080px) and (max-height:1150px){
 .felt-payouts .paytable-section{width:142px;left:5%;top:25%}
 .felt-payouts .paytable-section:nth-child(3){left:auto;right:8%;top:20%}
 .felt-payouts .paytable-section:nth-child(2){left:50%;top:33%;width:190px}
 .felt-payouts .paytable-rates{font-size:12px;line-height:17px}
 .felt-payouts .paytable-rates :is(th,td){padding-top:0;padding-bottom:0}
 .felt-payouts .paytable-rates caption{font-size:14px;line-height:18px}
 .felt-payout-heading{display:none}
}
@media(min-width:1200px) and (max-width:1599px),(min-width:1200px) and (max-height:1079px){
 .felt-payout-mini{position:absolute;bottom:35px;left:50%;transform:translateX(-50%);width:max-content;max-width:65%;font-size:12px;line-height:16px}
}
@media(max-width:1199px){
 .table.perimeter-table .table-top{display:none}
 .table.perimeter-table .dealer-station{order:0}
 .table.perimeter-table .felt-payout-mini{order:1;flex:0 0 auto;width:100%;position:relative;z-index:1}
 .table.perimeter-table .player-station{order:2}
 .table.perimeter-table .seat-dock{order:3}
}
@media(max-width:1199px) and (orientation:landscape) and (max-height:600px){
 .table.perimeter-table .felt-payout-mini{position:absolute;top:40px;left:10%;width:53%;font-size:10px;line-height:12px}
}

@media(min-width:1600px) and (min-height:1001px) and (max-height:1079px){
 .felt-payout-mini{top:36%;bottom:auto}
}

/* Keep the readable free-play notice beneath the visitor's chip controls. */
.seat-chips .free-play-notice{display:block;width:100%;font-size:15px;line-height:18px;font-weight:500;color:#e3edff;text-align:center;text-wrap:balance}
footer{height:18px;min-height:18px}
@media(max-width:1199px){
 .seat-chips .free-play-notice{grid-column:1/-1;grid-row:3;font-size:13px;line-height:16px}
 main{grid-template-rows:minmax(0,1fr) 40px}
 footer{display:none}
}
@media(max-width:1199px) and (orientation:landscape) and (max-height:600px){
 .table.perimeter-table,.table.perimeter-table:has(.guest-seat.empty){grid-template-columns:minmax(170px,.9fr) minmax(210px,1.2fr) 210px;grid-template-rows:14px minmax(0,1fr) 59px 42px;gap:4px}
 .table.perimeter-table .seat-chips{flex-wrap:wrap;row-gap:3px}
 .seat-chips .free-play-notice{flex-basis:100%;order:3}
}

/* Lettering follows the inside of each ring, like ink on the felt. */
.table.perimeter-table .player-station .bet-spots .bet-label,
.table.perimeter-table .guest-seat .guest-bet>span{
 inset:0;transform:none;width:100%;height:100%;max-width:none;margin:0;padding:0;
 background:transparent;border-radius:0;pointer-events:none;
}
.bet-lettering{display:block;width:100%;height:100%;overflow:visible;fill:#fff3cf}
.bet-lettering text{font:800 17px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:0}
.bet-lettering.play-lettering text{font-size:23px}
.table.perimeter-table .player-station .bet-spots .table-chips,
.table.perimeter-table .guest-seat .guest-bet .table-chips,
.table.perimeter-table .guest-seat .guest-bet:last-child .table-chips{top:76%}
.table.perimeter-table .player-station .bet-spots #play-circle .table-chips,
.table.perimeter-table .guest-seat .guest-bet:last-child .table-chips{top:62%}
.table.perimeter-table .player-station .bet-spots>div:not(#play-circle):has(.placed-chip)>strong,
.table.perimeter-table .guest-seat .guest-bet:not(:last-child):has(.placed-chip)>strong{bottom:-18px}

@media(min-width:2101px) and (min-height:1001px){
 .table.perimeter-table .dealer-shuffler{top:68px}
}
