@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--bg:#080c13;--line:#ffffff16;--muted:#86919f;--lime:#e0ff89;--white:#f3f4ef}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--white);font-family:'DM Sans',sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:5px}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}canvas#scene{position:fixed;inset:0;width:100%;height:100%;z-index:0}header{height:88px;padding:0 3.5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);position:relative;z-index:20;background:linear-gradient(#090d14e0,#090d1460)}.brand{display:flex;align-items:center;gap:11px;font:800 24px Manrope,sans-serif;letter-spacing:1px}.brandmark{border:2px solid var(--lime);color:var(--lime);font-size:23px;line-height:28px;width:31px;text-align:center;transform:skewY(-9deg)}.brand-dot{font-size:10px;align-self:flex-start;margin-top:5px;margin-left:-8px}nav{display:flex;gap:28px;align-items:center;font-size:12px;color:#bec3cd}.navlink{padding:0;background:none;border:0;color:inherit}nav a:hover,.navlink:hover{color:var(--lime)}nav span{color:#69727e}.wallet{background:#ffffff08;border:1px solid #ffffff24;color:var(--white);border-radius:7px;padding:12px 17px;font-size:12px;display:flex;align-items:center;gap:10px}.wallet-icon{font-size:20px}.mobile-menu{display:none}.view{position:relative;z-index:2}.hidden{display:none!important}.home{height:calc(100svh - 88px);min-height:640px;pointer-events:none}.home a,.home button{pointer-events:auto}.hero{position:absolute;left:5.4%;top:8%;}.eyebrow{font-size:9px;font-weight:700;letter-spacing:2px;display:flex;align-items:center;gap:9px;color:#c3c7ce}.eyebrow i,.bottomline i{background:var(--lime);width:5px;height:5px;display:inline-block;border-radius:50%;box-shadow:0 0 12px #d7ff6c70}h1{font:600 clamp(58px,6.8vw,106px)/1.04 Manrope,sans-serif;letter-spacing:-6px;margin:25px 0 22px}h1 em{font-style:normal;color:var(--lime)}.hero p{font-size:14px;color:#9ca7b7;line-height:1.8}.textlink{display:inline-flex;gap:30px;font-size:11px;border-bottom:1px solid #ffffff25;padding:16px 0 12px}.textlink span{color:var(--lime)}.scene-caption{position:absolute;right:6%;top:19%;width:130px}.tiny{font-size:8px;letter-spacing:2px;color:var(--muted)}.scene-caption strong{display:block;font:500 22px Manrope;margin:12px 0 18px}.scene-caption strong span{color:var(--lime);font-size:16px;margin-left:10px}.dealer-dots{display:flex;gap:6px}.dealer-dots button{width:15px;height:3px;padding:0;border:0;background:#50586a}.dealer-dots button.selected{background:var(--lime)}.main-actions{position:absolute;bottom:17.5%;left:50%;transform:translateX(-50%);display:grid;grid-template-columns:1fr 1fr;gap:10px;width:430px}.primary,.secondary{padding:18px 20px;border-radius:6px;font-size:11px;font-weight:700;letter-spacing:.8px;display:inline-flex;align-items:center;justify-content:space-between;gap:30px;border:1px solid transparent}.primary{color:#18210a;background:var(--lime);box-shadow:0 4px 28px #090e1340}.primary:hover{background:#ecffb5}.secondary{color:var(--white);background:#0c1528d9;border-color:#ffffff40}.secondary:hover{border-color:var(--lime)}.main-actions small{grid-column:1/-1;text-align:center;font-size:9px;color:#adb6c4;margin-top:8px}.main-actions small b{color:var(--lime);font-size:15px;margin-left:6px}.main-actions small span{margin:0 12px;color:#56657b}.scene-settings{position:absolute;bottom:11%;left:4%;display:flex;gap:15px}.scene-settings button{background:none;border:0;color:#a9b4c3;font-size:17px}.scene-settings span{font-size:10px;margin-left:7px}.bottomline{position:absolute;bottom:0;left:3.5%;right:3.5%;height:65px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:8px;letter-spacing:1.3px;color:#85909e}.bottomline i{margin-right:8px}.bottomline b{font-weight:500;margin-left:15px;color:#c0c7d2}.demo-label{position:fixed;bottom:82px;right:3.8%;z-index:10;font-size:8px;letter-spacing:1.2px;color:#a3adbc;display:flex;align-items:center;gap:7px}.demo-label>span{height:4px;width:4px;border-radius:50%;background:#b2c094}.demo-label button{background:transparent;border:0;color:#9aa8ba;font-size:12px}.sheet{margin:35px auto 100px;width:92%;max-width:1220px;background:#090e17f5;border:1px solid #ffffff15;border-radius:16px;padding:40px;min-height:70vh;backdrop-filter:blur(25px)}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.kicker{font-size:10px;color:var(--lime);letter-spacing:2px}h2{font:500 38px Manrope;letter-spacing:-1.5px;margin:10px 0}h3{font:600 19px Manrope;margin:12px 0}.muted,p{color:#9ba7b7;line-height:1.7}.search{max-width:400px;width:100%}input,textarea,select{background:#101824;border:1px solid #ffffff22;color:var(--white);padding:13px 15px;border-radius:6px;width:100%;margin:8px 0 16px}input[type=color]{height:44px;padding:4px;width:58px}label{display:block;font-size:12px;color:#d0d6de}.table-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.table-card{background:#111925;border:1px solid #ffffff15;border-radius:10px;overflow:hidden}.table-card img{width:100%;aspect-ratio:1.7;object-fit:cover;background:#111}.card-body{padding:20px}.row{display:flex;justify-content:space-between;align-items:center;gap:15px}.pill{display:inline-block;padding:5px 8px;border-radius:4px;background:#ddfc8620;color:var(--lime);font-size:9px;letter-spacing:.5px}.pill.dim{background:#ffffff0c;color:#abb5c4}.table-card p{font-size:12px;margin:5px 0}.table-card .secondary{width:100%;margin-top:20px}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:25px 0}.metric{border:1px solid var(--line);border-radius:8px;background:#ffffff03;padding:20px}.metric strong{display:block;font:500 27px Manrope;margin-top:12px}.metric span{font-size:11px;color:#aab5c4}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:35px}.step{padding:22px;border:1px solid var(--line);border-radius:8px}.step>b{font:400 29px Manrope;color:var(--lime)}.step p{font-size:12px}.flow{display:grid;grid-template-columns:190px 1fr;gap:35px}.step-list{border-right:1px solid var(--line);padding-right:18px}.step-list button{display:block;width:100%;text-align:left;border:0;background:transparent;color:#7d8a9e;padding:15px 0;font-size:12px}.step-list button.active{color:var(--lime)}.step-list b{margin-right:12px;font-size:10px}.flow-content{max-width:690px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.fields .full{grid-column:1/-1}.notice{background:#cfff8410;border:1px solid #cfff8424;border-radius:7px;padding:16px;font-size:12px;color:#bfceb0;line-height:1.7;margin:16px 0}.dealer-list{display:flex;gap:8px;flex-wrap:wrap}.dealer-list button{border:1px solid var(--line);padding:12px 15px;background:#121d2a;color:#b9c4d3;border-radius:5px}.dealer-list button.active{border-color:var(--lime);color:var(--lime)}.swatches{display:flex;align-items:center;gap:10px}.swatches button{width:32px;height:32px;border-radius:50%;border:2px solid #ffffff50}.preview-space{height:190px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:8px;margin:20px 0;background:#07101e;overflow:hidden}.preview-space img{width:100%;height:100%;object-fit:cover}.actions{display:flex;gap:10px;margin-top:25px;justify-content:flex-end}.play{height:calc(100svh - 88px);min-height:600px;pointer-events:none}.play button,.play input,.play a{pointer-events:auto}.play-top{display:flex;justify-content:space-between;margin:25px 4%}.game-info{background:#07101ddd;border:1px solid var(--line);padding:16px 22px;border-radius:8px}.game-info h3{margin:0;font-size:15px}.game-info p{margin:4px 0;font-size:11px}.game-bottom{position:absolute;bottom:36px;left:50%;transform:translateX(-50%);width:650px;background:#0b1420ed;border:1px solid #ffffff25;border-radius:12px;padding:20px;backdrop-filter:blur(20px);pointer-events:auto}.bet-row{display:flex;gap:10px;align-items:center}.bet-row input{width:130px;margin:0}.bet-row button{flex:1}.game-message{text-align:center;padding:0 0 15px;font-size:13px;color:var(--lime)}.game-status{display:flex;justify-content:space-between;font-size:10px;color:#9caabf;margin-top:14px}.recent{position:absolute;right:4%;top:140px;width:160px;font-size:10px;color:#b0bfd1}.recent div{padding:10px 0;border-bottom:1px solid var(--line)}.score{position:absolute;left:50%;transform:translateX(-50%);padding:5px 10px;background:#081326b3;border-radius:5px;font-size:12px}.dealer-score{top:36%}.player-score{top:67%}dialog{width:520px;max-width:94vw;padding:35px;background:#101925;color:var(--white);border:1px solid #ffffff25;border-radius:14px;box-shadow:0 30px 120px #0009}dialog::backdrop{background:#02060cc0;backdrop-filter:blur(9px)}.close{position:absolute;right:13px;top:10px;font-size:26px;color:#a9b2c0;border:0;background:transparent}.close:hover{color:white}dialog h2{font-size:28px}dialog p{font-size:13px}.doc-layout{display:grid;grid-template-columns:210px 1fr;gap:35px}.doc-nav a{display:block;padding:10px;color:#9aa8b9;font-size:12px}.doc-content{max-width:750px}.doc-content section{border-bottom:1px solid var(--line);padding:10px 0 24px;scroll-margin-top:30px}.doc-content p,.doc-content li{font-size:13px;line-height:1.85;color:#9eacbf}.doc-content a{color:var(--lime)}.dashboard-table{width:100%;border-collapse:collapse;font-size:12px}.dashboard-table td,.dashboard-table th{padding:15px;text-align:left;border-bottom:1px solid var(--line)}.dashboard-table th{color:#8290a4;font-weight:400}.empty{padding:40px;text-align:center;color:#8391a5}.danger{color:#ffbf9a}.contract{overflow-wrap:anywhere;font-family:monospace}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);background:#dfff8c;color:#172108;padding:14px 22px;border-radius:7px;font-size:12px;z-index:100;opacity:0;transition:.2s;pointer-events:none;max-width:90vw}#toast.visible{opacity:1;transform:translate(-50%,0)}.model-note{font-size:10px;color:#728299}.preview-mode .sheet{background:#080d15d9;width:390px;margin:25px 3% 0 auto;padding:25px;min-height:0}.preview-mode .flow{display:block}.preview-mode .step-list{display:none}.preview-mode .section-head{margin-bottom:12px}.preview-mode h2{font-size:24px}.preview-mode .preview-space{display:none}.preview-mode .dealer-list button{font-size:11px;padding:10px}.preview-mode .flow-content h3{font-size:16px}.preview-mode .demo-label{display:none}
@media(min-width:1600px){.hero{top:11%}.main-actions{bottom:20%}}
@media(max-width:1000px){nav{gap:15px;font-size:10px}.hero{left:4%;top:7%}h1{font-size:65px}.scene-caption{right:4%;top:15%}.hero p{font-size:12px}.table-grid{grid-template-columns:repeat(2,1fr)}.steps{grid-template-columns:repeat(2,1fr)}.sheet{padding:25px}.wallet{padding:10px}.brand{font-size:19px}header{padding:0 3%}.textlink{font-size:10px}}
@media(max-width:700px){header{height:70px}.brandmark{font-size:19px;width:26px;line-height:24px}.wallet{margin-left:auto;margin-right:13px;font-size:10px}.mobile-menu{display:block;background:none;color:white;border:0;font-size:20px}nav{display:none;position:absolute;top:70px;left:0;right:0;padding:22px;background:#101925;flex-wrap:wrap;justify-content:center}nav.open{display:flex}.home{height:calc(100svh - 70px);min-height:650px}.hero{top:25px;left:7%}.eyebrow{font-size:7px;letter-spacing:1.3px}h1{font-size:54px;letter-spacing:-3px;margin:17px 0 12px}.hero p{font-size:11px;line-height:1.6}.textlink{display:none}.scene-caption{top:32px;right:7%;width:95px}.scene-caption strong{font-size:16px}.tiny{font-size:6px}.main-actions{width:86%;bottom:16%;gap:8px}.primary,.secondary{padding:16px 13px;gap:15px;font-size:9px}.scene-settings{bottom:10%;left:6%}.scene-settings span{font-size:8px}.demo-label{bottom:86px;font-size:6px}.bottomline{height:56px;font-size:6px}.bottomline>span:nth-child(2){display:none}.table-grid{grid-template-columns:1fr}.section-head{align-items:flex-start;gap:15px;flex-direction:column}.sheet{width:94%;margin-top:15px;padding:22px}h2{font-size:29px}.flow{display:block}.step-list{display:flex;overflow:auto;border:0;margin-bottom:15px}.step-list button{min-width:105px;font-size:10px}.fields{grid-template-columns:1fr}.metrics{grid-template-columns:1fr 1fr}.metric{padding:15px}.metric strong{font-size:21px}.steps{gap:8px}.step{padding:15px}.step h3{font-size:15px}.doc-layout{display:block}.doc-nav{display:none}.game-bottom{width:94%;bottom:45px;padding:14px}.bet-row{gap:5px}.bet-row input{width:85px;font-size:12px;padding:12px 8px}.bet-row button{padding:14px 10px;font-size:9px}.play{height:calc(100svh - 70px)}.recent{display:none}.game-info{padding:12px}.game-info h3{font-size:12px}.preview-mode .sheet{width:94%;margin:15px auto 0;position:absolute;top:70px;max-height:240px;overflow:auto;left:3%}.preview-mode .notice{display:none}.preview-mode .actions{margin-top:10px}.preview-mode .section-head{display:none}.preview-mode .flow-content>p{display:none}.preview-mode .swatches{float:right}.preview-mode input{padding:8px;margin-bottom:5px}.score.dealer-score{top:43%}.score.player-score{top:67%}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.play{display:flow-root}.dealer-score{top:48%}
@media(max-width:700px){.scene-caption{top:245px;right:7%}.scene-caption strong{margin:9px 0 12px}.scene-caption strong span{display:none}}
#dealerAssetStatus{display:block;font-size:9px;letter-spacing:.4px;color:#aeb9c8;margin-bottom:14px}.scene-caption{width:145px}.asset-status{font-size:10px!important;color:#b3a481!important}.play-tools{display:flex;gap:8px;align-items:flex-start}.play-tools .secondary{height:auto}.round-clock{position:absolute;left:50%;top:16px;transform:translateX(-50%);text-align:center;background:#0b1520c9;border:1px solid #ffffff18;border-radius:7px;padding:11px 20px;pointer-events:none}.round-clock span{display:block;font-size:8px;letter-spacing:1.2px;color:#aab6c6}.round-clock strong{font-size:25px;line-height:1.5;font-weight:500;color:var(--lime)}.seat-overlays{position:fixed;inset:0;pointer-events:none}.seat-marker{position:fixed;transform:translate(-50%,0);background:#091323ce;color:#b1bece;border:1px solid #93a8c344;border-radius:6px;padding:5px 8px;min-width:51px;font-size:8px;pointer-events:auto!important;z-index:6;box-shadow:0 3px 8px #0005}.seat-marker b{font-size:13px;color:#d3dce7}.seat-marker span{display:block;font-size:6px;letter-spacing:.5px;margin-top:2px}.seat-marker small{display:block;color:var(--lime);font-size:9px;white-space:nowrap;margin-top:3px}.seat-marker.selected{border-color:var(--lime);background:#24351ce6;color:var(--lime)}.seat-marker.occupied{opacity:1;border-color:#638bc7}.seat-marker.active{box-shadow:0 0 14px #ffda7244;border-color:#ffda72}.game-bottom{width:700px;bottom:15px}.game-message{font-size:12px}.chip-value{display:flex;justify-content:space-between;font-size:10px;color:#bdc9d9;margin-bottom:12px}.chip-value span{color:#8396ae}.chip-count{min-width:150px;text-align:center}.chip-count b{display:block;font-size:17px;font-weight:500}.chip-count span{display:block;font-size:10px;color:#a2b4cb;margin-top:4px}.chip-controls button{flex:0;padding:12px 20px}.chip-controls .primary{flex:1;justify-content:center}.waiting-caption{font-size:11px;color:#879ab2;text-align:center;padding:5px 0}.score.dealer-score{top:43%}
@media(max-width:700px){.scene-caption{top:245px;right:5%;width:103px}.play-tools{flex-direction:column;align-items:flex-end;gap:5px}.play-tools .secondary{padding:9px;font-size:8px}.game-info{max-width:220px}.game-info h3{font-size:10px}.game-info p{font-size:9px}.round-clock{top:105px;padding:7px 15px}.round-clock strong{font-size:20px}.seat-marker{min-width:25px;padding:3px;max-width:45px;border-radius:4px}.seat-marker b{font-size:10px}.seat-marker span{font-size:4px;letter-spacing:0}.seat-marker small{font-size:6px}.game-bottom{width:94%;bottom:22px;padding:12px}.game-status{font-size:8px;gap:5px;flex-wrap:wrap}.chip-value{font-size:8px;flex-wrap:wrap;gap:5px}.chip-count{min-width:100px}.chip-count b{font-size:14px}.chip-controls button{padding:11px}.game-message{font-size:10px}.dealer-score{top:44%!important}}
.game-bottom{padding:14px 18px;bottom:8px}.game-message{padding-bottom:10px}.chip-value{margin-bottom:8px}.game-status{margin-top:10px}
@media(max-width:700px){.game-bottom{padding:12px;bottom:22px}}
.playing-mode .demo-label{display:none}
@media(max-width:700px){.seat-marker{min-width:22px;max-width:40px;padding:3px}.seat-marker span{display:none}.seat-marker small{font-size:6px}.seat-marker b{font-size:10px}}

/* The homepage is an unobstructed scene; controls remain in the DOM above WebGL. */
.home-mode{overflow:hidden}.home-mode .demo-label{display:none}
.home{height:calc(100svh - 88px);min-height:0;pointer-events:none}
.home .main-actions{position:fixed;left:50%;transform:translateX(-50%);bottom:max(8svh,28px);width:min(480px,90vw);display:flex;gap:12px;z-index:5;pointer-events:auto}
.home .main-actions button{flex:1;justify-content:center;min-height:56px;white-space:nowrap;box-shadow:0 8px 30px #0006;transition:background .18s,transform .18s,border-color .18s}
.home .main-actions button:hover{transform:translateY(-2px)}
.home .main-actions .secondary{background:#101722ed;border-color:#aab5c657}
.home .main-actions .secondary:hover{background:#233047}
.home .scene-settings{position:fixed;left:auto;right:28px;bottom:28px;z-index:6;pointer-events:auto}
.home .scene-settings button{width:40px;height:40px;border:1px solid #ffffff24;background:#0b1423cf;border-radius:50%;font-size:18px;display:grid;place-items:center;padding:0}
.home .scene-settings button[aria-pressed=true]{color:var(--lime)}
button:focus-visible,a:focus-visible{outline:2px solid var(--lime);outline-offset:5px}
@media(max-width:700px){.home{height:calc(100svh - 70px)}.home .main-actions{bottom:max(9svh,65px);gap:8px}.home .main-actions button{font-size:10px;min-height:52px}.home .scene-settings{right:16px;bottom:16px}}
@media(prefers-reduced-motion:reduce){.home .main-actions button{transition:none}.home .main-actions button:hover{transform:none}}

.home-dealers{position:fixed;right:3.5%;top:30%;display:flex;flex-direction:column;gap:9px;pointer-events:auto}.home-dealers button{width:56px;height:56px;border:1px solid #a8bbd43d;border-radius:12px;padding:3px;background:#101c30c9;color:#94a8c7;overflow:hidden;transition:border-color .2s,transform .2s;display:grid;place-items:center}.home-dealers img{width:100%;height:100%;object-fit:cover;border-radius:8px}.home-dealers button:hover:not(:disabled){transform:scale(1.06);border-color:#e0ff89}.home-dealers button[aria-pressed=true]{border:2px solid #e0ff89;box-shadow:0 0 0 3px #e0ff8914}.home-dealers button.loading{border-color:#fff;animation:dealer-loading 1s ease-in-out infinite}.home-dealers button:disabled{opacity:.35}@keyframes dealer-loading{50%{opacity:.5}}@media(max-width:700px){.home-dealers{right:12px;top:26%;gap:7px}.home-dealers button{width:44px;height:44px;border-radius:10px}}@media(prefers-reduced-motion:reduce){.home-dealers button{transition:none;animation:none}}

.selected-dealer-name{position:fixed;right:32px;top:calc(50% - 195px);width:100px;text-align:center;color:#f2f4f8;font-size:14px;font-weight:600;z-index:4;pointer-events:none}.selected-dealer-name:empty{display:none}@media(max-width:700px){.selected-dealer-name{right:16px;width:58px;top:calc(50% - 173px);font-size:11px}}
/* Gameplay gets its own viewport and a reserved control dock. */
body.playing-mode{--game-dock:168px;overflow:hidden}
body.playing-mode #scene{position:fixed;top:76px!important;left:0;width:100%;height:calc(100dvh - 76px - var(--game-dock))!important}
body.playing-mode #play{position:fixed;inset:76px 0 0;padding:0;pointer-events:none}
body.playing-mode #play button,body.playing-mode #play a{pointer-events:auto}
body.playing-mode .game-bottom{position:absolute;bottom:0;left:0;right:0;width:100%;height:var(--game-dock);box-sizing:border-box;transform:none;border-radius:0;padding:10px 20px calc(8px + env(safe-area-inset-bottom));background:#0a111e;border-top:1px solid #263344;display:flex;flex-direction:column;justify-content:center;gap:6px}
body.playing-mode .game-message{font-size:13px;margin:0;min-height:18px;text-align:center}
body.playing-mode .bet-row{margin:0;gap:8px;justify-content:center;align-items:start}
body.playing-mode .bet-row button{min-height:36px;height:36px;padding:8px 18px;font-size:12px}
body.playing-mode .game-status{margin:0;padding-top:4px;gap:16px;justify-content:center;font-size:11px;flex-wrap:wrap}
body.playing-mode .game-status button{font-size:11px;padding:2px}
body.playing-mode .chip-value{font-size:11px;margin:0;text-align:center}
body.playing-mode .chip-count{min-width:120px;font-size:12px}
body.playing-mode .chip-count b,body.playing-mode .chip-count span{font-size:12px}
body.playing-mode .play-top{position:absolute;top:8px;left:18px;right:18px;pointer-events:none}
body.playing-mode .play-top p,body.playing-mode .asset-status{display:none}
body.playing-mode .play-top h3{font-size:13px}
body.playing-mode .play-tools button{font-size:11px;padding:6px 10px;min-height:30px}
body.playing-mode .round-clock{position:absolute;top:8px;left:50%;transform:translateX(-50%);font-size:11px;display:flex;gap:6px;align-items:center;padding:6px 10px}
body.playing-mode .round-clock strong{font-size:16px}
body.playing-mode .seat-overlays{position:absolute;inset:0 0 var(--game-dock);overflow:hidden;pointer-events:none}
body.playing-mode .seat-marker{min-width:58px;width:auto;max-width:98px;padding:4px 5px;font-size:9px;transform:translate(-50%,0);background:#0a1427e8;line-height:1.2}
body.playing-mode .seat-marker b{font-size:12px}
body.playing-mode .seat-marker small{font-size:10px;display:block}
body.playing-mode .seat-marker em{display:block;font-size:10px;font-style:normal;color:#eef1f8}
body.playing-mode .seat-marker .current-hand{color:#dfff8c;font-weight:700}
body.playing-mode .dealer-score{position:absolute;transform:translate(-50%,-100%);font-size:12px;padding:4px 8px;white-space:nowrap}
.action-choice{display:flex;flex-direction:column;gap:3px;max-width:145px;text-align:center}.action-choice small{font-size:9px;line-height:1.1;color:#aeb9cc}
@media(max-width:700px){body.playing-mode{--game-dock:190px}body.playing-mode #scene{top:64px!important;height:calc(100dvh - 64px - var(--game-dock))!important}body.playing-mode #play{top:64px}body.playing-mode .game-bottom{padding:8px 8px calc(8px + env(safe-area-inset-bottom))}body.playing-mode .play-top{left:8px;right:8px}body.playing-mode .game-info .pill{display:none}body.playing-mode .round-clock{top:42px}body.playing-mode .seat-marker{min-width:34px;max-width:56px;font-size:7px;padding:3px 2px}body.playing-mode .seat-marker b,body.playing-mode .seat-marker small,body.playing-mode .seat-marker em{font-size:8px}body.playing-mode .bet-row{gap:4px}body.playing-mode .bet-row button{padding:6px 9px;font-size:10px}body.playing-mode .game-status{gap:5px 10px}body.playing-mode .game-message{font-size:11px}.action-choice{max-width:90px}.action-choice small{font-size:8px}}
body.playing-mode .seat-marker{position:absolute}
body.playing-mode #scene{top:88px!important;height:calc(100dvh - 88px - var(--game-dock))!important}
body.playing-mode #play{top:88px}
@media(max-width:700px){body.playing-mode #scene{top:72px!important;height:calc(100dvh - 72px - var(--game-dock))!important}body.playing-mode #play{top:72px}body.playing-mode .dealer-score{top:var(--dealer-label-y)!important}}
body.playing-mode .game-info{padding:7px 10px}
body.playing-mode .play-top{width:auto;margin:0;padding:0}
@media(max-width:700px){body.playing-mode .round-clock{top:88px;white-space:nowrap}body.playing-mode .seat-marker{max-width:56px;min-width:36px}body.playing-mode .seat-marker b{font-size:11px}body.playing-mode .seat-marker small,body.playing-mode .seat-marker em{font-size:9px}body.playing-mode .game-status{font-size:10px}}
@media(min-width:701px){body.playing-mode .round-clock{left:auto;right:18px;top:48px;transform:none}}
.creator-image{width:100px;height:100px;object-fit:contain;border-radius:12px}.creator-art{width:100%;max-height:180px;object-fit:contain;border:1px solid var(--line)}.creator-credits{margin-top:28px;font-size:11px;color:var(--muted)}.creator-credits summary{cursor:pointer}.creator-credits a{color:var(--lime)}

.brand-pfp{width:46px;height:46px;object-fit:contain;display:block;flex-shrink:0}@media(max-width:700px){.brand-pfp{width:36px;height:36px}}

.brand-wordmark{width:120px;height:40px;object-fit:contain;display:block;flex-shrink:0}@media(max-width:700px){.brand-wordmark{width:108px;height:36px}}

.table-play-options{display:flex;gap:10px;margin-top:22px}.table-play-options>*{flex:1}.table-play-options .secondary{margin-top:0;width:auto}.table-card .token-cover{object-fit:contain;padding:32px}.table-cover{background:#0b1524}.real-wallet button{margin:0 8px 10px 0}#real .primary:disabled{opacity:.5}
body.playing-mode #real{position:fixed;inset:88px 0 0;padding:0;pointer-events:none}body.playing-mode #real button,body.playing-mode #real a,body.playing-mode #real label,body.playing-mode #real details{pointer-events:auto}.real-receipts{display:flex;gap:12px;justify-content:center;font-size:10px;overflow:auto}.real-receipts a{color:var(--lime)}body.playing-mode .real-rules[open]{position:absolute;bottom:100%;left:10%;right:10%;background:#101a2a;padding:16px;max-height:50vh;overflow:auto;box-shadow:0 0 30px #0008}body.playing-mode .real-rules p{font-size:12px}#real .game-status input{width:auto} @media(max-width:700px){body.playing-mode #real{top:72px}.real-receipts{font-size:9px}.real-rules{font-size:10px}}

body.real-mode .demo-label{display:none}

/* Keyboard- and touch-accessible ace-value tooltip in the control dock. */
.soft-help{position:relative;display:inline-block;font-size:12px}
.soft-help summary{cursor:pointer;list-style:none;color:inherit;padding:4px}
.soft-help summary::-webkit-details-marker{display:none}
.soft-help summary:focus-visible{outline:2px solid #dfff8c;outline-offset:3px}
.soft-help p{position:absolute;z-index:30;bottom:100%;left:50%;transform:translateX(-50%);width:min(260px,70vw);padding:12px;margin:8px 0;background:#102139;border:1px solid #466184;border-radius:8px;color:#fff;line-height:1.5;box-shadow:0 6px 22px #0008}

/* A reserved token column: never laid over the felt or the projected seats. */
#table-token-panel{position:fixed;z-index:15;top:104px;left:14px;width:196px;padding:14px;background:#101a2bed;border:1px solid #31425c;border-radius:12px;color:#eef2fa;font-size:12px}
#table-token-panel summary{font-weight:700;cursor:pointer;line-height:1.6;overflow-wrap:anywhere}
.token-panel-content{display:flex;flex-direction:column;gap:12px;padding-top:16px}
.token-panel-content code{display:block;overflow-wrap:anywhere;white-space:normal;user-select:all;font-size:11px;line-height:1.6}
.token-panel-content .primary,.token-panel-content .secondary{min-height:32px;padding:9px 10px;text-align:center;font-size:11px}
.copy-ca-status{color:var(--lime);font-size:11px}
body.playing-mode.token-panel-on #scene{left:224px!important;width:calc(100% - 224px)!important}
body.playing-mode.token-panel-on .seat-overlays{left:224px}
body.playing-mode.token-panel-on .play-top{left:240px}
body.real-mode.token-panel-on:not(.playing-mode) #real{padding-left:240px}
@media(max-width:900px){
 #table-token-panel{top:88px;left:8px;width:calc(100% - 16px);padding:8px 12px;max-height:30dvh;overflow:auto;border-radius:8px}
 .token-panel-content{padding-top:8px;gap:7px}.token-panel-content code{font-size:10px}
 body.playing-mode.token-panel-on #scene{left:0!important;width:100%!important;top:calc(88px + var(--token-panel-height,42px))!important;height:calc(100dvh - 88px - var(--game-dock) - var(--token-panel-height,42px))!important}
 body.playing-mode.token-panel-on .seat-overlays{left:0;top:var(--token-panel-height,42px)}
 body.playing-mode.token-panel-on .play-top{left:8px;top:calc(8px + var(--token-panel-height,42px))}
 body.playing-mode.token-panel-on .round-clock{top:calc(48px + var(--token-panel-height,42px))}
 body.real-mode.token-panel-on:not(.playing-mode) #real{padding-left:18px;padding-top:calc(24px + var(--token-panel-height,42px))}
}
@media(max-width:700px){#table-token-panel{top:72px}body.playing-mode.token-panel-on #scene{top:calc(72px + var(--token-panel-height,42px))!important;height:calc(100dvh - 72px - var(--game-dock) - var(--token-panel-height,42px))!important}}
.creator-drafts{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin:0 0 22px}.creator-drafts label{font-size:12px}.creator-drafts select{margin-left:10px;max-width:280px;background:#101a2b;color:white;padding:8px;border:1px solid #31425c;border-radius:6px}
.coin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:20px;margin-top:26px}.coin-card{padding:24px;border:1px solid var(--line);border-radius:20px;background:#0c121d}.coin-heading{display:flex;gap:16px;align-items:center}.coin-heading img{width:64px;height:64px;object-fit:contain;border-radius:14px}.coin-heading h3{margin:0 0 8px}.coin-price{display:block;font-size:28px;margin:24px 0 4px}.coin-card small{display:block;color:var(--muted);min-height:18px}.coin-mint{display:block;overflow-wrap:anywhere;font-size:12px;line-height:1.6;margin:8px 0}.coin-table{border-top:1px solid var(--line);padding-top:20px;margin-top:20px;display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between}.coin-table span{font-size:12px;color:var(--muted)}.coin-social{display:flex;gap:18px;font-size:12px;margin-top:18px}.coin-social a{color:var(--muted)}#tokenAdminForm{max-width:820px}#adminResult{grid-column:1/-1;overflow-wrap:anywhere}#admin input[readonly]{opacity:.8}@media(max-width:650px){.coin-grid{grid-template-columns:1fr}.coin-card{padding:18px}}
.chip-tray{display:flex;gap:12px;align-items:center;justify-content:center}.chip-option{background:none;border:2px solid transparent;border-radius:50%;padding:3px;min-width:0!important;flex:none!important;cursor:pointer}.chip-option.chosen{border-color:#e0ff89;box-shadow:0 0 12px #e0ff8920}.casino-chip{width:48px;height:48px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--chip);color:var(--ink);border:4px dashed #ffffffb0;outline:1px solid #ffffff40;box-shadow:0 3px 0 #0008,inset 0 0 0 2px #0002;font-size:11px;font-weight:800}.casino-chip b{background:var(--chip);border:1px solid #ffffff80;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;font-size:10px}.chip-legend{display:flex;flex-wrap:wrap;gap:24px;margin:18px 0}.chip-legend>div{display:flex;align-items:center;gap:12px}.chip-legend strong{font-size:12px}body.playing-mode .chip-tray button{padding:3px;min-height:0;border-radius:50%}body.playing-mode .game-bottom{--chip-row:1;gap:4px}body.playing-mode{--game-dock:242px}body.playing-mode .chip-value{margin:0}body.playing-mode #real .bet-row{flex-wrap:wrap}body.playing-mode #real .chip-tray{width:100%}@media(max-width:700px){.chip-tray{gap:7px}.casino-chip{width:40px;height:40px;border-width:3px}.casino-chip b{width:29px;height:29px;font-size:9px}body.playing-mode{--game-dock:266px}body.playing-mode .chip-count{min-width:80px}.chip-count b{font-size:14px}.chip-value{font-size:9px}.chip-legend{gap:15px}.chip-legend>div{width:100%}}
/* Docs use the same restrained typography as the rest of HOUSE */
.doc-content section{scroll-margin-top:100px;margin-bottom:48px}.doc-content section p{margin:0 0 12px;line-height:1.65}.doc-nav{position:sticky;top:90px;align-self:start;max-height:calc(100vh - 110px);overflow:auto}.doc-mobile{display:none}.site-credits{padding:24px 0;color:var(--muted)}
@media(max-width:760px){.doc-layout{display:block}.doc-nav{display:none}.doc-mobile{display:grid;gap:8px;position:sticky;top:72px;background:#090e17;padding:12px 0;z-index:3}.doc-mobile select{width:100%;padding:12px;border-radius:8px;background:#101826;color:white;border:1px solid #303846}.doc-content section{scroll-margin-top:170px}}
.doc-content h4{font-size:18px;margin:30px 0 14px;color:#eef1f8}.doc-content ul{padding-left:22px;margin:12px 0 22px;color:#adb6c7;line-height:1.7}.doc-content li{margin-bottom:7px}.doc-table-scroll{overflow-x:auto;margin:20px 0 26px}.doc-content table{border-collapse:collapse;width:100%;font-size:14px;color:#c5ccda}.doc-content th,.doc-content td{padding:12px 16px;border-bottom:1px solid #ffffff14;text-align:left;vertical-align:top}.doc-content th{color:#f1f3f7;background:#ffffff05;font-weight:600}.doc-content td.numeric{text-align:right;font-variant-numeric:tabular-nums}.doc-content h2{font-size:clamp(28px,4vw,44px)}@media(max-width:760px){.doc-content th,.doc-content td{padding:10px 8px;font-size:12px}.doc-content h4{font-size:17px}}
