.poker-result-popup{position:fixed;isolation:isolate;overflow:hidden;text-align:center;width:min(430px,calc(100% - 28px));padding:32px 26px 25px;background:radial-gradient(ellipse at 50% 0,#323039,#181a21 70%);border:1px solid #77717e;border-radius:20px;box-shadow:0 25px 85px #000a}
.poker-result-popup[open]{animation:poker-result-in .35s cubic-bezier(.16,.8,.24,1)}
.poker-result-popup[data-outcome=win]{border-color:#ecc96d;background:radial-gradient(ellipse at 50% -10%,#725727,#243729 50%,#14281f);box-shadow:0 0 60px #d5af6033,0 25px 85px #000a}
.poker-result-popup>.icon-button{position:absolute;right:12px;top:12px;z-index:2}
.poker-result-popup .eyebrow{margin:6px 28px 12px;line-height:1.5}
.poker-result-mark{display:block;color:#d8bf83;font-size:45px;line-height:1.2;margin:8px 0}
.poker-result-popup[data-outcome=win] .poker-result-mark{color:#ffe7a4;animation:poker-star .8s ease-out}
.poker-result-popup h2{font-size:34px;line-height:1.2;margin:12px 0;color:#f1e7d2}
.poker-result-popup[data-outcome=win] h2{color:#ffe3a2}
#poker-result-detail{font-size:15px;line-height:1.6;overflow-wrap:anywhere;color:#d8d5cc}
#poker-result-net-label{font-size:13px;letter-spacing:1px;margin:22px 0 7px;color:#c3c5bc}
#poker-result-net{display:block;font-size:36px;line-height:1.2;color:#f0c8ba;overflow-wrap:anywhere}
[data-outcome=win] #poker-result-net{color:#b4f0cc}
[data-outcome=tie] #poker-result-net{color:#efdfb4}
.poker-result-amounts{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #a18c6144;border-bottom:1px solid #a18c6144;margin:22px 0 14px;padding:14px 0;gap:10px}
.poker-result-amounts span{display:block;font-size:13px;color:#c3c5bc;margin-bottom:7px}
.poker-result-amounts strong{font-size:17px;font-weight:500}
#poker-result-note{font-size:13px;line-height:1.6;color:#c3c5bc;margin:10px 0 15px}
#poker-result-ok{width:100%;min-height:48px;margin-top:7px}
.poker-confetti{position:absolute;inset:0;overflow:hidden;z-index:-1;pointer-events:none}
.poker-confetti i{position:absolute;left:var(--x);top:-15px;width:6px;height:12px;background:#eccb76;opacity:0;animation:poker-confetti-fall 2.2s var(--delay) ease-out forwards}
.poker-confetti i:nth-child(3n){background:#8de7c1}.poker-confetti i:nth-child(3n + 1){background:#fff2bc;width:4px;height:7px}
@keyframes poker-result-in{from{opacity:0;transform:translateY(16px) scale(.92)}to{opacity:1;transform:none}}
@keyframes poker-star{from{opacity:0;transform:scale(.4) rotate(-45deg)}to{opacity:1;transform:none}}
@keyframes poker-confetti-fall{10%{opacity:.85}to{opacity:0;transform:translate(var(--drift),440px) rotate(var(--spin))}}
@media(max-width:760px){
 .mobile-game-dock{position:fixed;left:10px;right:10px;bottom:max(10px,env(safe-area-inset-bottom),calc(var(--dock-keyboard-inset,0px) + 10px));z-index:30;padding:12px;background:#14281ff7;border:1px solid #b69b67;border-radius:14px;box-shadow:0 -8px 28px #0008;backdrop-filter:blur(12px);max-height:58dvh;overflow-y:auto;overscroll-behavior:contain}
 .mobile-game-dock .stake-row,.mobile-game-dock .blackjack-start{display:grid;grid-template-columns:minmax(90px,.8fr) minmax(0,1.2fr);align-items:end;gap:10px;margin:0}
 .mobile-game-dock label{font-size:14px;margin:0;min-width:0}
 .mobile-game-dock input{font-size:16px;min-height:44px;min-width:0;margin:5px 0 0;padding:10px;width:100%}
 .mobile-game-dock .button{font-size:14px;line-height:1.35;min-height:46px;padding:10px 8px;white-space:normal}
 .mobile-game-dock .row-actions{margin:0;gap:8px;flex-wrap:nowrap}
 .mobile-game-dock .row-actions>.button{flex:1;min-width:0}
 .mobile-game-dock .stake-limit-hint{font-size:12px;line-height:1.5;margin:7px 0 0;color:#c5cdbf}
 .mobile-game-dock .bac-ready-row{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;background:none;border:0;border-top:1px solid #9e986344;border-radius:0;padding:10px 0 0;margin:9px 0 0}
 .mobile-game-dock .bac-ready-row[hidden]{display:none}
 .mobile-game-dock .bac-ready-row p{font-size:12px;line-height:1.5;min-width:0}
 .slot-dock .stake-row{grid-template-columns:minmax(95px,.8fr) minmax(0,1.2fr)}
 .slot-dock .stake-input{grid-column:1;grid-row:1;display:block}
 .slot-dock .stake-input>span{display:flex;align-items:center;margin-top:5px;padding:0 10px;min-height:46px}
 .slot-dock .stake-input input{margin:0;padding:8px 0;width:100%}
 .slot-dock .play-button{grid-column:2;grid-row:1;width:100%;margin:0}
 .slot-dock .chip-row{grid-column:1 / -1;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:0;width:100%}
 .slot-dock .chip{width:100%;height:38px;min-height:38px;border-radius:8px;font-size:14px}
 .mobile-game-dock .pvp-action-grid,.mobile-game-dock .poker-action-buttons{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
 .mobile-game-dock .pvp-action-grid>.gold,.mobile-game-dock .poker-action-buttons>#poker-call{font-size:13px}
 .mobile-game-dock .raise-label{gap:12px;font-size:14px;margin-top:9px}
 .mobile-game-dock .raise-label input{max-width:115px;margin:0}
 .mobile-game-dock .small,.mobile-game-dock .poker-turn-note{font-size:12px;line-height:1.5;margin:6px 0 0}
 .mobile-game-dock .leave-table,.mobile-game-dock #multi-controls>.inline-link{min-height:32px;margin:5px 0 0;font-size:13px}
 .mobile-game-dock #multi-controls>.button{margin:0 6px 0 0}
 .mobile-game-dock .poker-buyin-line{margin:5px 0 0;gap:8px}
 .mobile-game-dock .poker-buyin-line input{margin:0;max-width:105px}
 .mobile-game-dock .poker-start-row>.small{display:none}
 .r-mobile-actions{left:10px;right:10px}
 #r-chips{display:none}
 #r-mobile-chips{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:9px}
 #r-mobile-chips[hidden]{display:none}
 #r-mobile-chips .r-denom{width:100%;height:40px;min-height:40px;border-radius:8px;display:flex;align-items:center;justify-content:center;gap:4px;font-size:15px}
 #r-mobile-chips small{font-size:11px}
 .poker-result-popup{padding:24px 20px 20px;max-height:calc(100dvh - 28px);overflow-y:auto}
 .poker-result-popup h2{font-size:32px}
}
@media(max-width:360px){.mobile-game-dock .pvp-action-grid,.mobile-game-dock .poker-action-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-game-dock .pvp-action-grid>.gold,.mobile-game-dock .poker-action-buttons>#poker-call{font-size:14px}}
@media(prefers-reduced-motion:reduce){.poker-result-popup[open],.poker-result-popup .poker-result-mark,.poker-confetti i{animation:none}.poker-confetti{display:none}}
