html.game-room-active body{background:#000}.game-shell{isolation:isolate;flex-direction:column;flex:auto;min-width:0;min-height:calc(100dvh - 56px);display:flex;position:relative}.game-shell:before{content:"";pointer-events:none;z-index:-1;background:#000;position:fixed;inset:0}.game-shell>*{z-index:1;position:relative}.game-shell-header{justify-content:space-between;align-items:center;gap:.6rem;margin-bottom:1rem;display:flex}.game-shell-title{font-size:1rem;font-weight:600}.game-shell-sub{color:var(--bk-muted);opacity:1;font-size:.8rem}.game-room-stage{justify-content:center;align-items:center;min-height:clamp(320px,54vh,600px);display:flex}.game-room-surface{width:100%;min-width:0;min-height:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-color:#0000;flex-direction:column;flex:auto;padding:0;display:flex}.game-event-frame{--playfield-top-offset:.35rem;--playfield-offset-x:0rem;--playfield-offset-y:0rem;--playfield-width:100%;--playfield-max-height:100%;--playfield-aspect-ratio:16/9;--playfield-ratio:1.7778;background:radial-gradient(120% 100% at 0% 0%,#7d4dff1f,transparent 50%),var(--game-room-wallpaper),#08050e;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background-position:50%;background-repeat:no-repeat;background-size:cover;border:1px solid #ffd20047;border-radius:.95rem;flex-direction:column;gap:.7rem;width:100%;padding:1rem 1rem 1.05rem;display:flex;position:relative}.game-event-frame:before{content:"";pointer-events:none;border:1px solid #ffd20024;border-radius:.72rem;position:absolute;inset:.42rem}.game-event-header{flex-direction:column;gap:.2rem;display:flex}.game-event-title{color:var(--bk-gold-soft);font-size:1rem;font-weight:600}.game-event-muted{color:var(--bk-muted);font-size:.82rem}.game-event-center{min-height:0;padding-top:var(--playfield-top-offset);flex:auto;justify-content:center;align-items:flex-start;display:flex}.game-event-playfield{width:var(--playfield-width);max-width:100%;height:auto;max-height:var(--playfield-max-height);aspect-ratio:var(--playfield-aspect-ratio);transform:translate(var(--playfield-offset-x),var(--playfield-offset-y));background:0 0;border:1px solid #ffd20033;border-radius:.72rem;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #ffd2000f,0 8px 18px #0000002e}.game-event-content,.coinflip-canvas-layer{position:absolute;inset:0}.coinflip-canvas-root,.dice-canvas-root{width:100%!important;height:100%!important}.dice-canvas-layer{position:absolute;inset:0}@keyframes dice-market-win-shake{0%,to{transform:translate(0)}18%{transform:translate(-2px)}36%{transform:translate(3px)}54%{transform:translate(-3px)}72%{transform:translate(2px)}}@keyframes karmapoker-market-win-shake{0%,to{transform:translate(0)}18%{transform:translate(-2px)}36%{transform:translate(3px)}54%{transform:translate(-3px)}72%{transform:translate(2px)}}.coin-burst-canvas{z-index:70;pointer-events:none;position:fixed;inset:0}.result-fx-layer{z-index:72;pointer-events:none;position:fixed;inset:0}.result-fx-chip{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:#ffd200;letter-spacing:.02em;background:#08070e9e;border:1px solid #ffd20059;border-radius:999px;padding:.6rem 1.2rem;font-size:.95rem;font-weight:700;position:absolute;box-shadow:0 10px 30px #00000059}.result-fx-chip.result-fx-loss{color:#ff9aad;border-color:#ff788c8c}.result-fx-amount{white-space:nowrap}.result-fx-chip.result-fx-big{text-align:center;color:#fff4c2;border-color:#ffd700e6;padding:.8rem 1.6rem;font-size:1.3rem;animation:.42s cubic-bezier(.18,.89,.32,1.28) result-fx-jackpot-pop;box-shadow:0 0 0 1px #ffd2008c,0 14px 44px #ffaa0073,0 0 70px #ffbe0066}.result-fx-big .result-fx-badge{letter-spacing:.18em;text-transform:uppercase;color:#ffd200;margin-bottom:.12rem;font-size:.62rem;font-weight:800;display:block}@keyframes result-fx-jackpot-pop{0%{transform:translate(-50%,-50%)scale(.4)}60%{transform:translate(-50%,-50%)scale(1.18)}to{transform:translate(-50%,-50%)scale(1)}}.result-fx-chip.result-fx-jackpot{border-color:#fff0a0;padding:1rem 2rem;font-size:1.6rem;animation:.52s cubic-bezier(.18,.89,.32,1.28) result-fx-jackpot-pop,.9s ease-in-out .52s 2 alternate result-fx-jackpot-glow;box-shadow:0 0 0 2px #ffe15abf,0 18px 60px #fa09,0 0 110px #ffc8288c}.result-fx-jackpot .result-fx-badge{letter-spacing:.22em;color:#fff2a8;text-shadow:0 0 12px #ffd200e6;font-size:.74rem}@keyframes result-fx-jackpot-glow{0%{filter:brightness()}to{filter:brightness(1.25)}}.coinflip-jackpot-armed{background:linear-gradient(135deg,#ffbe002e,#ff78001a);border:1px solid #ffd7008c;animation:1.8s ease-in-out infinite alternate coinflip-jackpot-armed-pulse;box-shadow:0 0 0 1px #ffd20033,0 0 26px #ffb40040}@keyframes coinflip-jackpot-armed-pulse{0%{box-shadow:0 0 0 1px #ffd20033,0 0 18px #ffb4002e}to{box-shadow:0 0 0 1px #ffd20073,0 0 34px #ffb40061}}.balance-fx-wrap{line-height:1;display:inline-block;position:relative}.balance-fx-value{transition:opacity .18s}.balance-fx-wrap.is-active .balance-fx-value{opacity:0}.balance-fx-wrap:after{content:attr(data-fx-text);opacity:0;color:#ffd200;letter-spacing:.02em;white-space:nowrap;pointer-events:none;text-shadow:0 6px 18px #00000073,0 0 14px #ffd20099;filter:drop-shadow(0 8px 18px #00000073);font-size:1.3em;font-weight:700;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(.6)}.balance-fx-wrap.is-active:after{opacity:1;animation:.68s both balance-fx-pop}@keyframes balance-fx-pop{0%{opacity:0;transform:translate(-50%,-50%)scale(.6)rotate(0)}22%{opacity:1;transform:translate(-50%,-50%)scale(1.2)rotate(-2deg)}40%{transform:translate(calc(-50% - 2px),-50%)scale(1.05)rotate(2deg)}58%{transform:translate(calc(2px - 50%),-50%)scale(1)rotate(-1.5deg)}76%{opacity:1;transform:translate(-50%,-50%)scale(.98)rotate(1deg)}to{opacity:0;transform:translate(-50%,-50%)scale(.92)rotate(0)}}.game-event-playfield[data-karmapoker-stage=true]{--kp-card-width:clamp(86px,14.85vw,149px);--kp-card-height:calc(var(--kp-card-width)*1.4526);--kp-reveal-delay:.3s;--kp-slot-1-x:14.37%;--kp-slot-1-y:46.08%;--kp-slot-2-x:31.42%;--kp-slot-2-y:46.25%;--kp-slot-3-x:48.26%;--kp-slot-3-y:46.08%;--kp-slot-4-x:65.32%;--kp-slot-4-y:46.08%;--kp-slot-5-x:82.37%;--kp-slot-5-y:46.25%;--kp-deck-x:84%;--kp-deck-y:26%;--kp-discard-x:12%;--kp-discard-y:86%}.game-event-playfield[data-karma-stage=true]{--kr-card-width:clamp(86px,14.85vw,149px);--kr-card-height:calc(var(--kr-card-width)*1.4526);--kr-reveal-delay:.3s;--kr-slot-1-x:14.37%;--kr-slot-1-y:46.08%;--kr-slot-2-x:31.42%;--kr-slot-2-y:46.25%;--kr-slot-3-x:48.26%;--kr-slot-3-y:46.08%;--kr-slot-4-x:65.32%;--kr-slot-4-y:46.08%;--kr-slot-5-x:82.37%;--kr-slot-5-y:46.25%}.karmapoker-table{z-index:1;pointer-events:none;position:absolute;inset:0}.karmapoker-card{opacity:0;filter:drop-shadow(0 10px 18px #00000073);width:100%;height:100%;transition:transform .32s,opacity .2s;transform:scale(.98)}.karmapoker-card.is-dealt{opacity:1;transform:scale(1)}.karmapoker-card.is-hidden{opacity:0}.karmapoker-card.is-slot-1{left:var(--kp-slot-1-x);top:var(--kp-slot-1-y)}.karmapoker-card.is-slot-2{left:var(--kp-slot-2-x);top:var(--kp-slot-2-y)}.karmapoker-card.is-slot-3{left:var(--kp-slot-3-x);top:var(--kp-slot-3-y)}.karmapoker-card.is-slot-4{left:var(--kp-slot-4-x);top:var(--kp-slot-4-y)}.karmapoker-card.is-slot-5,.karmapoker-card.is-gathered{left:var(--kp-slot-5-x);top:var(--kp-slot-5-y)}.karmapoker-card.is-flying-out{opacity:0;transform:scale(.92)}.karmapoker-card-face{object-fit:cover;object-position:center;transform-origin:50%;width:100%;height:100%;transform:scale(var(--kp-face-scale,1));opacity:0;visibility:hidden;transition:opacity 0s linear var(--kp-reveal-delay);position:absolute;inset:0}.karmapoker-card-face[src*="/cards-svg/"]:not([src$="/AS.svg"]){--kp-face-scale:3.35}.karmapoker-card-back{object-fit:contain;object-position:center;width:100%;height:100%;transition:opacity var(--kp-reveal-delay)ease;opacity:1;position:absolute;inset:0}.karmapoker-card.is-revealed .karmapoker-card-face{opacity:1;visibility:visible}.karmapoker-card.is-revealed .karmapoker-card-back{opacity:0}.karmapoker-calibration{z-index:3;pointer-events:none;position:absolute;inset:0}.karmapoker-calibration-card{width:var(--kp-card-width-px,var(--kp-card-width));height:var(--kp-card-height-px,var(--kp-card-height));cursor:grab;pointer-events:auto;touch-action:none;-webkit-user-select:none;user-select:none;background:#08060e26 url(/card_back/back.svg) 50%/contain no-repeat;border:1px solid #ffd20073;border-radius:.55rem;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 10px 18px #00000059}.karmapoker-calibration-card:active{cursor:grabbing}.karmapoker-calibration-label,.karma-calibration-label{color:#ffd200;letter-spacing:.06em;background:#000000a6;border-radius:999px;padding:2px 6px;font-size:11px;font-weight:700;position:absolute;top:6px;left:6px}.karma-table{z-index:1;position:absolute;inset:0}.karma-card{opacity:0;appearance:none;cursor:pointer;filter:none;background:0 0;border:none;border-radius:0;width:100%;height:100%;padding:0;transition:opacity .3s,transform .3s;display:block;transform:scale(.98)}.karma-card.is-visible{opacity:1;transform:scale(1)}.karma-card.is-slot-1{left:var(--kr-slot-1-x);top:var(--kr-slot-1-y)}.karma-card.is-slot-2{left:var(--kr-slot-2-x);top:var(--kr-slot-2-y)}.karma-card.is-slot-3{left:var(--kr-slot-3-x);top:var(--kr-slot-3-y)}.karma-card.is-slot-4{left:var(--kr-slot-4-x);top:var(--kr-slot-4-y)}.karma-card.is-slot-5{left:var(--kr-slot-5-x);top:var(--kr-slot-5-y)}.karma-card-bg,.karma-card-face,.karma-card-back{object-fit:contain;object-position:center;width:100%;height:100%;position:absolute;inset:0}.karma-card-bg{z-index:0}.karma-card-face{z-index:1;opacity:1;visibility:visible;transform-origin:50%;transform:scale(var(--kr-face-scale,1))}.karma-card-face[src*="/cards-svg/"]:not([src$="/AS.svg"]){--kr-face-scale:3.35}.karma-card-back{z-index:2;opacity:1;transition:opacity var(--kr-reveal-delay)ease}.karma-card.is-revealed .karma-card-back{opacity:0}.karma-calibration{z-index:3;pointer-events:none;position:absolute;inset:0}.karma-calibration-card{width:var(--kr-card-width-px,var(--kr-card-width));height:var(--kr-card-height-px,var(--kr-card-height));cursor:grab;pointer-events:auto;touch-action:none;-webkit-user-select:none;user-select:none;background:#08060e26 url(/card_back/back.svg) 50%/contain no-repeat;border:1px solid #ffd20073;border-radius:.55rem;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 10px 18px #00000059}.karma-calibration-card:active{cursor:grabbing}html.game-room-active,html.game-room-active body{overscroll-behavior-y:auto;height:auto;min-height:100%;overflow:hidden auto}html:has(.game-shell){overscroll-behavior-y:auto;height:auto;min-height:100%;overflow:hidden auto}html:has(.game-shell) body{overscroll-behavior-y:auto;height:auto;min-height:100%;overflow:hidden auto}@media (max-width:767px),(orientation:landscape) and (max-height:720px){html.game-room-active .app-header{display:none!important}html:has(.game-shell) .app-header{display:none!important}}html.game-room-active .app-main{min-width:0;height:auto;min-height:0;padding-top:max(env(safe-area-inset-top),.25rem);padding-right:max(env(safe-area-inset-right),.25rem);padding-bottom:max(env(safe-area-inset-bottom),.25rem);padding-left:max(env(safe-area-inset-left),.25rem);flex-direction:column;display:flex;overflow:hidden auto}html:has(.game-shell) .app-main{min-width:0;height:auto;min-height:0;padding-top:max(env(safe-area-inset-top),.25rem);padding-right:max(env(safe-area-inset-right),.25rem);padding-bottom:max(env(safe-area-inset-bottom),.25rem);padding-left:max(env(safe-area-inset-left),.25rem);flex-direction:column;display:flex;overflow:hidden auto}@media (max-width:767px) and (orientation:portrait){html.game-room-active .app-main{height:100dvh;overflow:hidden}html:has(.game-shell) .app-main{height:100dvh;overflow:hidden}}@media (orientation:landscape) and (max-height:720px){html.game-room-active .app-main{height:auto;min-height:100dvh;overflow-y:auto}html:has(.game-shell) .app-main{height:auto;min-height:100dvh;overflow-y:auto}html.game-room-active .game-shell,html.game-room-active .game-room-stage,html.game-room-active .game-room-surface{min-height:min-content!important;overflow:visible!important}html:has(.game-shell) .game-shell{min-height:min-content!important;overflow:visible!important}html:has(.game-shell) .game-room-stage{min-height:min-content!important;overflow:visible!important}html:has(.game-shell) .game-room-surface{min-height:min-content!important;overflow:visible!important}}html.game-room-active .game-shell{flex-direction:column;flex:auto;min-width:0;min-height:0;display:flex}html:has(.game-shell) .game-shell{flex-direction:column;flex:auto;min-width:0;min-height:0;display:flex}html.game-room-active .game-shell>.mx-auto{flex-direction:column;flex:auto;width:100%;min-width:0;max-width:min(100%,104rem);min-height:0;padding-top:.2rem;padding-bottom:.2rem;display:flex}html:has(.game-shell) .game-shell>.mx-auto{flex-direction:column;flex:auto;width:100%;min-width:0;max-width:min(100%,104rem);min-height:0;padding-top:.2rem;padding-bottom:.2rem;display:flex}html.game-room-active .game-shell-header{flex-shrink:0;margin-bottom:.35rem}html:has(.game-shell) .game-shell-header{flex-shrink:0;margin-bottom:.35rem}@media (max-width:767px){html.game-room-active .game-shell-sub{display:none}html:has(.game-shell) .game-shell-sub{display:none}html.game-room-active .game-shell-title{font-size:.95rem}html:has(.game-shell) .game-shell-title{font-size:.95rem}}html.game-room-active .game-room-stage{flex:auto;align-items:stretch;min-width:0;min-height:0}html:has(.game-shell) .game-room-stage{flex:auto;align-items:stretch;min-width:0;min-height:0}html.game-room-active .game-room-surface{flex-direction:column;flex:auto;width:100%;min-width:0;min-height:0;display:flex}html:has(.game-shell) .game-room-surface{flex-direction:column;flex:auto;width:100%;min-width:0;min-height:0;display:flex}@media (max-width:767px) and (orientation:portrait){html.game-room-active .game-room .game-event-frame{--playfield-top-offset:0rem;--playfield-max-height:calc(100dvh - 280px);flex:auto;gap:.35rem;min-height:0;padding:.55rem .55rem .62rem}html:has(.game-shell) .game-room .game-event-frame{--playfield-top-offset:0rem;--playfield-max-height:calc(100dvh - 280px);flex:auto;gap:.35rem;min-height:0;padding:.55rem .55rem .62rem}html.game-room-active .game-room .game-event-center{flex:auto;align-items:center;min-height:0}html:has(.game-shell) .game-room .game-event-center{flex:auto;align-items:center;min-height:0}html.game-room-active .game-room .game-event-playfield{width:min(100%,calc(var(--playfield-max-height)*var(--playfield-ratio)));max-width:100%;height:auto;max-height:var(--playfield-max-height)}html:has(.game-shell) .game-room .game-event-playfield{width:min(100%,calc(var(--playfield-max-height)*var(--playfield-ratio)));max-width:100%;height:auto;max-height:var(--playfield-max-height)}html.game-room-active .game-room .game-event-frame:before{inset:.28rem}html:has(.game-shell) .game-room .game-event-frame:before{inset:.28rem}html.game-room-active .game-room-surface .game-controls-panel{flex:none;gap:.3rem;padding:.35rem .4rem}html:has(.game-shell) .game-room-surface .game-controls-panel{flex:none;gap:.3rem;padding:.35rem .4rem}html.game-room-active .game-room-surface .game-controls-panel .h-10{height:2rem}html:has(.game-shell) .game-room-surface .game-controls-panel .h-10{height:2rem}html.game-room-active .coinflip-room .coinflip-outcomes{gap:.3rem}html:has(.game-shell) .coinflip-room .coinflip-outcomes{gap:.3rem}html.game-room-active .coinflip-room .coinflip-hint{display:none}html:has(.game-shell) .coinflip-room .coinflip-hint{display:none}}@media (min-width:768px),(orientation:landscape){.game-shell .coinflip-history{flex:none;justify-content:flex-start;align-items:center;gap:1rem;width:100%;min-width:0;max-width:100%;min-height:56px;overflow:hidden;padding:.5rem 1rem max(.5rem,env(safe-area-inset-bottom))!important;display:flex!important}.game-shell .coinflip-history>div:first-child{white-space:nowrap;flex-shrink:0;margin-bottom:0!important}.game-shell .coinflip-history>div:last-child{flex:auto;width:100%;min-width:0;height:auto;padding-top:.75rem!important;padding-bottom:0!important}@media (max-height:500px){html.game-room-active .game-room{min-height:min-content}html:has(.game-shell) .game-room{min-height:min-content}html.game-room-active .game-room-surface{overflow-y:auto}html:has(.game-shell) .game-room-surface{overflow-y:auto}}.game-shell .coinflip-controls .coinflip-controls-top{flex-direction:column;align-items:stretch}.game-shell .coinflip-controls .coinflip-controls-bet{width:100%;min-width:0!important}.game-shell .coinflip-controls .coinflip-outcomes{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:767px) and (orientation:portrait){.game-shell .coinflip-history{min-height:auto}.game-shell .coinflip-history>div:last-child{min-width:0}}.game-shell .history-click-target{cursor:url(/pointers/cartoon_pointer.svg) 6 2,pointer}.room-stage-status{z-index:5;pointer-events:none;align-items:center;gap:.5rem;max-width:65%;display:flex;position:absolute;top:.85rem;left:1rem}.room-stage-status-text{flex-direction:column;min-width:0;line-height:1.18;display:flex}.room-stage-status-title{color:#f7f5ff;text-shadow:0 1px 6px #000000a6;font-size:.82rem;font-weight:700}.room-stage-status-sub{color:#f7f5ffc7;text-shadow:0 1px 6px #000000a6;font-size:.68rem}.room-stage-dot{background:#34d399;border-radius:9999px;flex-shrink:0;width:.5rem;height:.5rem;box-shadow:0 0 10px #34d399cc}.room-stage-dot.is-busy{background:#fbbf24;animation:1s ease-in-out infinite room-dot-pulse;box-shadow:0 0 10px #fbbf24d9}@keyframes room-dot-pulse{0%,to{opacity:1}50%{opacity:.35}}.room-stage-strip{z-index:5;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#0806109e;border:1px solid #ffd20029;border-radius:.7rem;flex-wrap:wrap;align-items:center;gap:.5rem 1.5rem;padding:.5rem .9rem;display:flex;position:absolute;bottom:.85rem;left:1rem;right:1rem}.room-stage-strip-item{flex-direction:column;gap:.12rem;min-width:0;display:flex}.room-stage-strip-label{text-transform:uppercase;letter-spacing:.09em;color:#f5f3ff80;white-space:nowrap;font-size:.58rem}.room-stage-strip-value{color:#f5f3ff;white-space:nowrap;align-items:center;gap:.35rem;font-size:.78rem;font-weight:600;display:flex}@media (max-width:767px) and (orientation:portrait){.room-stage-strip{display:none}.room-stage-status{top:.6rem;left:.65rem}.room-stage-status-sub{display:none}}.room-mobilebar,.room-mobilebar-spacer{display:none}@media (max-width:767px){.room-mobilebar{z-index:60;padding:.55rem .75rem calc(.55rem + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(#08070ed1,#08070ef7);border-top:1px solid #ffd2002e;flex-direction:column;gap:.4rem;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -8px 24px #00000073}.room-mobilebar-spacer{height:8.5rem;display:block}}.room-guest-overlay{background:#0a0712f0;border:1px solid #ffd20047}.room-guest-overlay-title{color:#fff8e1;font-size:.875rem;font-weight:600;line-height:1.35}.room-guest-cta{background:radial-gradient(circle at 50% 0,#ffffff38,#0000 42%),linear-gradient(#f7d368 0%,#edb93c 58%,#cf8f22 100%);border:1px solid #ffd77480;border-radius:9999px;justify-content:center;align-items:center;padding:.5rem 1rem;font-size:.875rem;font-weight:700;transition:filter .15s;display:inline-flex;box-shadow:inset 0 1px #fffadc80,inset 0 -1px #5f340033;color:#170d00!important}.room-guest-cta:hover{filter:brightness(1.06);color:#170d00!important}.room-guest-cta--bar{letter-spacing:.08em;text-transform:uppercase;border-radius:.75rem;width:100%;height:3rem;font-size:.875rem;font-weight:800}
