html.game-active,body.game-active{width:100%;height:100%;overflow:hidden;overscroll-behavior:none;scroll-behavior:auto;scroll-padding:0}body.game-active{position:fixed;inset:0}body.game-active #app{width:100%;height:100%;min-height:0}.game-shell{--header-height: 60px;--score-height: 50px;--turn-height: 32px;--dock-height: 144px;--nav-height: 44px;--hand-card-width: 76px;--hand-card-height: 109px;--table-card-width: 60px;--table-card-height: 86px;height:100vh;height:100dvh;width:100%;min-width:0;min-height:0;display:grid;grid-template-rows:calc(var(--header-height) + env(safe-area-inset-top,0px)) minmax(0,1fr);overflow:hidden;background:radial-gradient(ellipse at 50% 25%,#17385070,transparent 66%),#091522}.game-shell .game-header{height:auto;min-height:0;min-width:0;padding:env(safe-area-inset-top,0px) max(22px,env(safe-area-inset-right,0px)) 0 max(22px,env(safe-area-inset-left,0px));gap:18px;box-shadow:0 2px 20px #03102124}.game-shell .game-header .brand img{width:154px;height:48px;padding:4px 0}.game-shell .game-context{display:flex;flex:1;min-width:0}.game-shell .game-context>div{min-width:0;padding-left:17px}.game-shell .game-context strong{font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.game-shell .game-context small{margin-top:3px;font-size:10px}.game-shell .game-tools{flex:none;gap:8px}.game-shell .game-tools .icon-btn{width:44px;height:44px;flex:none}.game-shell .game-tools>.btn{height:44px;min-height:44px;padding:8px 15px;font-size:12px}.game-shell .connection-state{display:inline-flex;min-width:0;margin-right:5px}.game-shell .game-layout{display:block;width:100%;height:100%;min-height:0;min-width:0;max-width:1240px;margin:0 auto;padding:12px max(24px,env(safe-area-inset-right,0px)) max(8px,env(safe-area-inset-bottom,0px)) max(24px,env(safe-area-inset-left,0px));overflow:hidden}.game-shell .table-column{height:100%;min-width:0;min-height:0;display:grid;grid-template-areas:"score" "arena" "turn" "hand" "nav";grid-template-rows:var(--score-height) minmax(0,1fr) var(--turn-height) var(--dock-height) var(--nav-height);grid-template-columns:minmax(0,1fr);gap:6px}.game-shell .score-ribbon{grid-area:score;height:100%;min-width:0;margin:0;padding:5px 16px;flex-wrap:nowrap;gap:16px;border-color:#39536880;border-radius:13px;background:linear-gradient(110deg,#183342a6,#112436a6);box-shadow:none}.game-shell .score-teams,.game-shell .score-ribbon.free .score-teams{min-width:0;width:auto;gap:14px}.game-shell .score-team{display:grid;grid-template-columns:minmax(0,auto) auto;min-width:0;gap:2px 10px;align-items:center}.game-shell .score-team .score-label{max-width:110px;font-size:10px;letter-spacing:.4px}.game-shell .score-team b{font-size:27px;letter-spacing:-.8px}.game-shell .score-progress{height:2px}.game-shell .score-divider{margin:0;align-self:center;font-size:11px}.game-shell .score-target{display:block;margin:0;font-size:10px}.game-shell .score-ribbon .hand-metadata{min-width:0;width:auto;max-width:none;flex-direction:row;flex-wrap:nowrap;gap:10px;align-items:center;font-size:10px;padding:0;border:0}.game-shell .hand-metadata>span{white-space:nowrap}.game-shell .hand-progress{display:none}.game-shell .stake-pill{padding:6px 9px;font-size:10px;border-radius:7px;background:#33534870;border-color:#82ad6d38}.game-shell .arena,.game-shell .arena.has-many{grid-area:arena;min-width:0;min-height:0;height:100%;width:100%;border-radius:30px;container-type:size;container-name:truco-felt;box-shadow:inset 0 0 0 7px #102735,inset 0 0 0 9px #6a968344,inset 0 16px 45px #041c2866,0 2px #030d19}.game-shell .arena.is-your-turn{border-color:#86b76c;box-shadow:inset 0 0 0 7px #102d34,inset 0 0 0 9px #a3d77455,inset 0 16px 45px #041c2866,0 2px #030d19}.game-shell .arena.fx-table-impact{animation:none;translate:none}.game-shell .arena:before{inset:18px;border-radius:19px}.game-shell .arena-mark{font-size:clamp(30px,4.5vw,52px);opacity:.105}.game-shell .arena-mark span{font-size:9px;letter-spacing:6px}.game-shell .arena-status{left:23px;top:16px;transform:none;max-width:27%;overflow:hidden;text-overflow:ellipsis;font-size:7px;letter-spacing:1px;padding:0;border:0;background:none;color:#bdd3c5a6}.game-shell .seat{left:var(--seat-x);top:var(--seat-y);min-width:0;width:116px;gap:3px}.game-shell .avatar{width:40px;height:40px;border-radius:14px;font-size:15px}.game-shell .seat-name{font-size:10px;max-width:112px;padding:3px 6px;border-radius:5px}.game-shell .seat-relation{font-size:7px;letter-spacing:.4px}.game-shell .seat-cards{left:calc(50% + 27px);top:2px}.game-shell .seat-cards .playing-card{width:21px;height:29px}.game-shell .seat-cards .playing-card+.playing-card{margin-left:-16px}.game-shell .seat-cards .card-center{font-size:12px}.game-shell .empty-seat{width:44px;height:44px}.game-shell .seat[data-self=true]{top:88%}.game-shell .seat[data-self=true] .avatar{width:30px;height:30px;border-radius:10px;font-size:12px}.game-shell .seat[data-self=true] .seat-relation{display:none}.game-shell .table-cards{top:50%;left:50%;width:max-content;max-width:69%;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,auto);grid-template-rows:auto;gap:9px}.game-shell .table-play{gap:4px;min-width:0}.game-shell .table-play .playing-card{width:var(--table-card-width);height:var(--table-card-height);border-radius:7px}.game-shell .table-play .card-corner{top:5px;left:5px;font-size:14px}.game-shell .table-play .card-corner small{font-size:12px;margin-top:2px}.game-shell .table-play .card-corner.bottom{inset:auto 5px 5px auto}.game-shell .table-play .card-center{font-size:33px}.game-shell .table-play .played-name{max-width:var(--table-card-width);font-size:8px;padding:2px 3px}.game-shell .arena.has-many .table-cards{width:max-content;max-width:64%;top:51%;gap:7px}.game-shell .arena.has-many .table-play .playing-card{width:var(--table-card-width);height:var(--table-card-height)}.game-shell .arena.has-many .table-play .card-corner{font-size:14px}.game-shell .arena.has-many .table-play .card-corner small{font-size:12px}.game-shell .arena.has-many .table-play .card-center{font-size:33px}.game-shell .vira-zone,.game-shell .arena.has-many .vira-zone{left:27%;top:19%;transform:rotate(-8deg)}.game-shell .vira-zone .playing-card,.game-shell .arena.has-many .vira-zone>.playing-card{width:35px;height:50px;transform:rotate(8deg)}.game-shell .vira-zone .card-corner{font-size:9px;left:3px;top:3px}.game-shell .vira-zone .card-corner small{font-size:8px;margin-top:1px}.game-shell .vira-zone .card-corner.bottom{inset:auto 3px 3px auto}.game-shell .vira-zone .card-center{font-size:20px}.game-shell .vira-zone>small,.game-shell .arena.has-many .vira-zone>small{position:static;display:block;margin:5px 0 0;font-size:7px;line-height:1;letter-spacing:1px}.game-shell .trick-dots{bottom:12px;left:auto;right:17px;transform:none;gap:5px}.game-shell .trick-dot{width:21px;height:21px;font-size:9px}.game-shell .turn-hud{grid-area:turn;min-width:0;min-height:0;display:flex;flex-direction:column;justify-content:center;padding:0 6px;gap:5px}.game-shell .turn-bar{height:3px;min-height:3px;margin:0;background:#3c53653b}.game-shell .turn-caption{padding:0;gap:10px;min-height:17px}.game-shell .turn-caption strong{font-size:11px;line-height:1.35;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.game-shell .turn-caption b{flex:none;font-size:10px;padding:1px 5px;min-width:31px;background:#233b4e}.game-shell .hand-dock{grid-area:hand;min-width:0;min-height:0;height:100%;padding:8px 20px;gap:24px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr);align-items:center;border:1px solid #45677855;border-radius:17px;background:linear-gradient(110deg,#173042,#102335);box-shadow:inset 0 1px #d0e8f00b,0 4px 18px #00000017}.game-shell .your-hand{min-height:0;min-width:0;height:calc(var(--hand-card-height) + 16px);padding:8px 0;align-items:center;gap:12px}.game-shell .your-hand button.playing-card{width:var(--hand-card-width);height:var(--hand-card-height);min-width:44px;min-height:44px;border-radius:8px}.game-shell .your-hand button.playing-card:nth-child(1){transform:rotate(-4deg) translateY(2px)}.game-shell .your-hand button.playing-card:nth-child(3){transform:rotate(4deg) translateY(2px)}.game-shell .your-hand button.playing-card:disabled{filter:brightness(.95)}.game-shell .your-hand button.playing-card.is-pending{transform:translateY(-6px)}.game-shell .your-hand .card-corner{font-size:18px;top:6px;left:6px}.game-shell .your-hand .card-corner small{font-size:15px;margin-top:2px}.game-shell .your-hand .card-corner.bottom{inset:auto 6px 6px auto}.game-shell .your-hand .card-center{font-size:41px}.game-shell .your-hand .card-key{font-size:8px;bottom:4px;padding:1px 4px}.game-shell .hand-placeholder{max-width:240px;text-align:center;color:#91adbf;font-size:11px;line-height:1.5}.game-shell .action-dock,.game-shell .action-dock.is-your-turn{min-height:0;min-width:0;height:100%;max-width:none;width:100%;margin:0;padding:4px 0;background:none;border:0;border-radius:0;box-shadow:none;display:flex;flex-direction:column;justify-content:center;gap:6px}.game-shell .main-actions{display:flex;gap:8px;flex:none;min-width:0;margin:0}.game-shell .action-dock .btn{min-height:44px;height:44px;min-width:0;padding:8px 12px;font-size:12px;gap:6px;border-radius:10px}.game-shell .action-dock .btn .icon{width:17px;height:17px}.game-shell .action-dock .btn.is-pending:after{display:none}.game-shell .action-dock .btn.is-pending{box-shadow:inset 0 0 0 2px #fff6}.game-shell .action-dock .raise-btn{font-size:17px;letter-spacing:.3px}.game-shell .action-dock .raise-btn small{font-size:9px;padding:2px 5px;margin-left:2px}.game-shell .cover-toggle{display:flex;min-height:30px;margin:0;gap:7px;align-items:center;justify-content:flex-start;font-size:11px;line-height:1.3}.game-shell .cover-toggle input{width:16px;height:16px;flex:none}.game-shell .cover-toggle .icon{width:15px;height:15px}.game-shell .action-hint,.game-shell .decision-cost{margin:0;font-size:10px;line-height:1.4;color:#afc2d0}.game-shell .raise-question{margin:0;font-size:12px;line-height:1.4}.game-shell .partner-hand-button{display:inline-flex;justify-content:center;align-items:center;gap:6px;min-height:30px;padding:3px 10px;color:#d8f4be;border:1px solid #a3d67650;border-radius:7px;background:#86b94c12;font-size:11px;line-height:1.3}.game-shell .partner-hand-button .icon{width:16px;height:16px}.game-shell .table-nav{grid-area:nav;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;min-height:0;height:100%;padding:0 2px}.game-shell .table-nav-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:44px;padding:6px 10px;color:#a4bbcc;background:#18314780;border:1px solid #49687a30;border-radius:11px;font-size:11px;font-weight:650}.game-shell .table-nav-button .icon{width:18px;height:18px;color:#bad6ba}.game-shell .table-nav-button:hover{color:#e2f0dc;background:#233f50;border-color:#718e744d}.game-shell .table-nav-button:active{background:#2b4b53;transform:translateY(1px)}.game-shell .game-bottom,.game-shell .game-side{display:none}.game-shell .waiting-summary{position:absolute;z-index:4;inset:49% auto auto 50%;transform:translate(-50%,-50%);display:block;width:min(300px,56%);padding:14px;text-align:center;border-radius:14px;background:#0d30368f;border:1px solid #b6d4b71f}.game-shell .waiting-summary .wait-icon{display:none}.game-shell .waiting-summary h2{font-size:19px;margin:0 0 8px;line-height:1.2;letter-spacing:-.5px}.game-shell .waiting-summary p{color:#b9d0c9;font-size:11px;line-height:1.6;margin:0}.game-shell .waiting-code{display:block;margin-top:9px;padding-left:4px;font-family:ui-monospace,monospace;font-size:18px;font-weight:750;letter-spacing:4px;color:#d5eeaf}.game-shell .waiting-controls{display:flex;justify-content:center;flex-wrap:wrap;gap:4px 16px}.game-shell .waiting-options{display:flex;justify-content:center;gap:16px}.game-shell .waiting-controls .text-btn{min-height:30px;padding:4px;font-size:11px}.game-shell[data-phase=waiting] .your-hand.is-empty{display:none}.game-shell[data-phase=waiting] .hand-dock{grid-template-columns:minmax(0,1fr)}.game-shell[data-phase=waiting] .action-dock{max-width:650px;margin:0 auto}.game-shell .result-banner{top:49%;padding:16px 20px;min-width:0;width:min(360px,68%);max-width:80%;border-radius:15px}.game-shell .result-banner strong{font-size:21px;line-height:1.15;margin:0 0 6px}.game-shell .result-banner p{font-size:11px;line-height:1.5;margin:0}.game-shell .result-banner .icon{width:26px;height:26px;margin:0 auto 7px}.modal-overlay{top:var(--dialog-top, 0px);bottom:auto;height:var(--dialog-height, 100dvh)}body.game-active .modal-overlay{padding:16px;overscroll-behavior:contain}body.game-active .modal{max-height:calc(var(--dialog-height, 100dvh) - 32px);overscroll-behavior:contain}.table-sheet{width:min(520px,100%);padding:24px}.table-sheet .modal-head{margin-bottom:16px}.table-sheet .modal-head h2{font-size:23px}.table-sheet .modal-head p{font-size:11px}.table-sheet-tabs{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:6px;padding:4px;background:#0b1b2e;border:1px solid #2b435b;border-radius:11px;margin-bottom:16px}.table-sheet-tab{min-height:40px;padding:7px;background:transparent;color:#9db3ca;border-radius:7px;font-size:12px;font-weight:650}.table-sheet-tab[aria-selected=true]{color:#dff4c9;background:#24443b}.table-sheet-content>.side-panel{margin:0;border-radius:12px;padding:16px}.table-sheet .side-panel h3{margin-bottom:12px}.table-sheet .code-row .icon-btn{min-height:44px;min-width:44px}.table-sheet .side-panel>.btn{min-height:44px}.table-sheet .activity-panel{min-height:0}.table-sheet .activity-log{max-height:none;overflow:visible}.table-sheet .activity-log li{font-size:12px;padding-top:10px;padding-bottom:10px}.table-sheet .emote-row{justify-content:space-between;margin:16px 0 0;gap:8px}.table-sheet .emote-row button{min-height:44px;min-width:44px;font-size:21px}.table-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:16px}.table-menu-button{display:inline-flex;align-items:center;gap:10px;min-height:46px;min-width:0;padding:10px 12px;background:#1a3045;color:#d1e1ed;text-align:left;font-size:12px;border:1px solid #38546b;border-radius:9px}.table-menu-button .icon{width:18px;height:18px;color:#abc9ac}.table-menu-button>span{flex:1}.table-menu-button>.icon:last-child{width:13px;color:#809bad}.table-menu-button:hover{background:#244253}.table-menu-button[data-action=leave-confirm]{color:#ffbbc0;border-color:#8a47504f}.table-sheet .special-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0}.table-sheet .partner-cards{padding:13px 8px;text-align:center;background:#122b3d;border:1px solid #41605c;border-radius:12px;color:#d7e6d4;font-size:12px;overflow-wrap:anywhere}.table-sheet .partner-cards>div{justify-content:center;gap:5px;margin-top:12px}.table-sheet .partner-cards .playing-card.small{width:44px;height:63px}body.game-active .request-status,body.game-active .toast{top:calc(env(safe-area-inset-top,0px) + 64px);bottom:auto;max-width:min(440px,calc(100vw - 32px));font-size:11px;padding:9px 13px;z-index:200}body.game-active .toast{transform:translate(-50%,-8px)}body.game-active .toast.show,body.game-active .request-status{transform:translate(-50%)}body.game-active #game-fx .fx-stage{width:min(var(--fx-area-width, 520px),calc(100vw - 24px))}body.game-active #game-fx .fx-title{font-size:clamp(26px,5vw,56px)}body.game-active #game-fx .fx-actor{font-size:8px;padding:5px 9px}body.game-active #game-fx .fx-subtitle{font-size:10px;padding:5px 9px}@media(hover:hover)and (pointer:fine){.game-shell .your-hand button.playing-card:not(:disabled):hover,.game-shell .your-hand button.playing-card:focus-visible{transform:translateY(-6px)}}@media(max-width:1023px){.game-shell{--header-height: 52px;--score-height: 44px;--turn-height: 30px;--dock-height: 194px;--hand-card-width: 66px;--hand-card-height: 94px;--table-card-width: 43px;--table-card-height: 61px}.game-shell .game-header{padding-left:max(12px,env(safe-area-inset-left,0px));padding-right:max(12px,env(safe-area-inset-right,0px));gap:8px}.game-shell .game-header .brand img{width:132px;height:44px}.game-shell .game-context{display:none}.game-shell .game-tools{margin-left:auto;gap:6px}.game-shell .game-tools>.btn{padding:7px 11px;font-size:11px}.game-shell .game-tools>.btn .icon{width:17px;height:17px}.game-shell .connection-state{margin:0 3px 0 0;font-size:0;gap:0;width:7px}.game-shell .game-layout{max-width:800px;padding:8px max(10px,env(safe-area-inset-right,0px)) max(6px,env(safe-area-inset-bottom,0px)) max(10px,env(safe-area-inset-left,0px))}.game-shell .table-column{gap:5px}.game-shell .score-ribbon{padding:4px 10px;border-radius:10px;gap:8px}.game-shell .score-teams{gap:7px}.game-shell .score-ribbon.free .score-teams{gap:5px;width:auto}.game-shell .score-ribbon.free .score-team{min-width:0;gap:2px 4px}.game-shell .score-ribbon.free .score-team .score-label{font-size:7px;max-width:45px}.game-shell .score-ribbon.free .score-team b{font-size:22px}.game-shell .score-ribbon .score-team{min-width:0;gap:2px 6px}.game-shell .score-ribbon .score-label{max-width:66px;font-size:8px;letter-spacing:0}.game-shell .score-team b{font-size:24px}.game-shell .score-divider{font-size:10px}.game-shell .score-target{display:none}.game-shell .score-ribbon .hand-metadata{max-width:none;gap:5px;align-items:flex-end;flex-direction:column;font-size:8px;line-height:1}.game-shell .stake-pill{padding:4px 6px;font-size:9px}.game-shell .arena,.game-shell .arena.has-many{border-radius:23px;box-shadow:inset 0 0 0 5px #102735,inset 0 0 0 7px #6a968344,inset 0 12px 35px #041c2866}.game-shell .arena.is-your-turn{box-shadow:inset 0 0 0 5px #102d34,inset 0 0 0 7px #a3d77455,inset 0 12px 35px #041c2866}.game-shell .arena:before{inset:13px;border-radius:14px}.game-shell .arena-status{top:13px;left:16px;font-size:6px;max-width:25%;letter-spacing:.5px}.game-shell .seat{width:88px;gap:2px}.game-shell .avatar{width:33px;height:33px;border-radius:11px;font-size:12px}.game-shell .seat-name{font-size:9px;max-width:83px;padding:2px 4px}.game-shell .seat-relation{font-size:6px;letter-spacing:.1px}.game-shell .seat-cards{left:calc(50% + 20px);top:1px}.game-shell .seat-cards .playing-card{width:18px;height:25px}.game-shell .seat-cards .playing-card+.playing-card{margin-left:-14px}.game-shell .seat-cards .card-center{font-size:10px}.game-shell .seat[data-self=true]{top:91%}.game-shell .seat[data-self=true] .avatar{display:none}.game-shell .seat[data-self=true] .seat-name{padding:4px 9px;max-width:120px;background:#0b2b36;border-color:#6a967344}.game-shell .seat-emote{font-size:15px;padding:4px 8px;bottom:75%;transform:translate(-50%,-5px)}.game-shell[data-capacity="4"] .seat[data-relative="1"]{left:13%;top:48%}.game-shell[data-capacity="4"] .seat[data-relative="3"]{left:87%;top:48%}.game-shell[data-capacity="6"] .seat[data-relative="1"]{left:14%;top:73%}.game-shell[data-capacity="6"] .seat[data-relative="2"]{left:14%;top:29%}.game-shell[data-capacity="6"] .seat[data-relative="3"]{left:50%;top:14%}.game-shell[data-capacity="6"] .seat[data-relative="4"]{left:86%;top:29%}.game-shell[data-capacity="6"] .seat[data-relative="5"]{left:86%;top:73%}.game-shell .table-cards{gap:5px;max-width:61%;top:51%}.game-shell .table-play{gap:3px}.game-shell .table-play .playing-card{border-radius:5px}.game-shell .table-play .card-corner,.game-shell .arena.has-many .table-play .card-corner{font-size:11px;left:3px;top:3px}.game-shell .table-play .card-corner small,.game-shell .arena.has-many .table-play .card-corner small{font-size:9px;margin-top:1px}.game-shell .table-play .card-corner.bottom{inset:auto 3px 3px auto}.game-shell .table-play .card-center,.game-shell .arena.has-many .table-play .card-center{font-size:25px}.game-shell .table-play .played-name{font-size:7px;padding:1px 2px}.game-shell .arena.has-many .table-cards{grid-auto-flow:row;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,auto);width:max-content;max-width:48%;gap:5px;top:53%}.game-shell .vira-zone,.game-shell .arena.has-many .vira-zone{left:29%;top:13%}.game-shell .vira-zone .playing-card,.game-shell .arena.has-many .vira-zone>.playing-card{width:27px;height:39px}.game-shell .vira-zone .card-corner{font-size:8px;top:2px;left:2px}.game-shell .vira-zone .card-corner small{font-size:7px}.game-shell .vira-zone .card-corner.bottom{inset:auto 2px 2px auto}.game-shell .vira-zone .card-center{font-size:16px}.game-shell .vira-zone>small,.game-shell .arena.has-many .vira-zone>small{font-size:6px;margin-top:3px}.game-shell .trick-dots{bottom:11px;right:14px;gap:3px}.game-shell .trick-dot{width:18px;height:18px;font-size:8px}.game-shell .turn-hud{padding:0 4px;gap:4px}.game-shell .turn-caption strong{font-size:10px}.game-shell .turn-caption strong.your-turn:before{width:4px;height:4px;margin-right:6px;box-shadow:none}.game-shell .turn-caption b{font-size:9px}.game-shell .hand-dock{padding:4px 10px 5px;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 80px;gap:4px;border-radius:14px}.game-shell .your-hand{height:100%;padding:6px 0 3px;gap:12px}.game-shell .your-hand .card-corner{font-size:16px;top:5px;left:5px}.game-shell .your-hand .card-corner small{font-size:13px}.game-shell .your-hand .card-corner.bottom{inset:auto 5px 5px auto}.game-shell .your-hand .card-center{font-size:35px}.game-shell .your-hand .card-key{display:none}.game-shell .action-dock{padding:0;gap:4px;justify-content:center}.game-shell .action-dock .main-actions{gap:7px}.game-shell .action-dock .btn{padding:8px;font-size:11px}.game-shell .action-dock .raise-btn{font-size:16px}.game-shell .action-dock .btn .icon{width:15px;height:15px}.game-shell .cover-toggle{min-height:29px;justify-content:center;font-size:10px}.game-shell .decision-cost,.game-shell .action-hint{font-size:9px;line-height:1.35;text-align:center}.game-shell .partner-hand-button{min-height:30px;font-size:10px}.game-shell .table-nav{gap:5px}.game-shell .table-nav-button{gap:7px;font-size:10px;border-radius:10px}.game-shell .table-nav-button .icon{width:17px;height:17px}.game-shell[data-phase=waiting] .hand-dock{grid-template-rows:minmax(0,1fr)}.game-shell[data-phase=waiting] .waiting-controls .text-btn{min-height:38px;font-size:11px}.game-shell .waiting-summary{padding:10px;width:60%}.game-shell .waiting-summary h2{font-size:16px}.game-shell .waiting-summary p{font-size:10px;line-height:1.5}.game-shell .result-banner{padding:12px;width:70%}.game-shell .result-banner strong{font-size:18px}.game-shell .result-banner p{font-size:10px}.game-shell .result-banner .icon{width:22px;height:22px;margin-bottom:5px}body.game-active .modal-overlay{align-items:flex-end;padding:max(8px,env(safe-area-inset-top,0px)) max(8px,env(safe-area-inset-right,0px)) max(8px,env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px))}body.game-active .modal{max-height:calc(var(--dialog-height, 100dvh) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 16px);border-radius:20px;padding:20px 17px}body.game-active .modal input,body.game-active .modal select{font-size:16px}body.game-active .modal-head .icon-btn{min-height:44px;min-width:44px}.table-sheet .modal-head{margin-bottom:13px}.table-sheet .modal-head h2{font-size:22px}.table-sheet .side-panel{padding:14px}.table-sheet .special-cards{grid-template-columns:minmax(0,1fr)}.table-sheet .partner-cards .playing-card.small{width:48px;height:68px}body.game-active .request-status,body.game-active .toast{top:calc(env(safe-area-inset-top,0px) + 56px)}body.game-active #game-fx .fx-callout{gap:5px}body.game-active #game-fx .fx-title{padding:8px 13px 10px;font-size:31px}body.game-active #game-fx .fx-ray{transform:rotate(var(--ray-angle)) translate(85px)}}@media(max-width:1023px)and (max-height:700px)and (orientation:portrait){.game-shell{--header-height: 48px;--score-height: 40px;--turn-height: 28px;--dock-height: 174px;--hand-card-width: 56px;--hand-card-height: 80px;--table-card-width: 35px;--table-card-height: 50px}.game-shell .game-header .brand img{width:122px;height:41px}.game-shell .game-layout{padding-top:6px}.game-shell .table-column{gap:4px}.game-shell .hand-dock{padding-top:2px;padding-bottom:3px;grid-template-rows:minmax(0,1fr) 80px;gap:2px}.game-shell .your-hand{padding-top:3px;padding-bottom:3px;gap:12px}.game-shell .your-hand .card-corner{font-size:14px;top:4px;left:4px}.game-shell .your-hand .card-corner small{font-size:12px}.game-shell .your-hand .card-corner.bottom{inset:auto 4px 4px auto}.game-shell .your-hand .card-center{font-size:30px}.game-shell .avatar{width:29px;height:29px;font-size:11px;border-radius:10px}.game-shell .seat{gap:2px;width:78px}.game-shell .seat-name{max-width:74px;font-size:8px}.game-shell .seat-relation{font-size:6px}.game-shell .seat-cards,.game-shell .arena-status{display:none}.game-shell .arena.has-many .table-cards{gap:4px}.game-shell .table-play .card-corner,.game-shell .arena.has-many .table-play .card-corner{font-size:9px}.game-shell .table-play .card-corner small,.game-shell .arena.has-many .table-play .card-corner small{font-size:8px}.game-shell .table-play .card-center,.game-shell .arena.has-many .table-play .card-center{font-size:20px}.game-shell .waiting-summary h2{font-size:14px;margin-bottom:5px}.game-shell .waiting-summary p{font-size:9px;line-height:1.35}.game-shell .result-banner strong{font-size:16px}body.game-active #game-fx .fx-title{font-size:27px}body.game-active #game-fx .fx-subtitle{font-size:9px;max-width:90%}}@media(max-width:360px){.game-shell .game-header{padding-left:max(8px,env(safe-area-inset-left,0px));padding-right:max(8px,env(safe-area-inset-right,0px));gap:5px}.game-shell .game-header .brand img{width:112px}.game-shell .game-tools{gap:4px}.game-shell .game-tools>.btn{padding:7px 9px;font-size:10px}.game-shell .game-layout{padding-left:max(7px,env(safe-area-inset-left,0px));padding-right:max(7px,env(safe-area-inset-right,0px))}.game-shell .score-ribbon{padding-left:7px;padding-right:7px;gap:5px}.game-shell .score-teams{gap:5px}.game-shell .score-ribbon .score-label{max-width:53px;font-size:7px}.game-shell .score-ribbon .score-team{gap:2px 4px}.game-shell .score-team b{font-size:22px}.game-shell .score-ribbon.free .score-label{max-width:38px}.game-shell .score-ribbon.free .score-team{gap:2px 3px}.game-shell .score-ribbon.free .score-teams{gap:4px;width:auto}.game-shell .score-ribbon.free .hand-metadata{width:auto;border:0;padding:0;font-size:7px;gap:4px}.game-shell .score-ribbon.free .stake-pill{font-size:8px;padding:4px}.game-shell .action-dock .btn{padding-left:6px;padding-right:6px;font-size:10px}.game-shell .action-dock .btn .icon{display:none}.game-shell .action-dock .raise-btn{font-size:15px}.game-shell .action-dock .raise-btn small{font-size:8px}}@media(max-width:1023px)and (max-height:680px)and (min-aspect-ratio:6/5){.game-shell{--header-height: 44px;--score-height: 36px;--turn-height: 28px;--nav-height: 44px;--hand-card-width: clamp(52px, 13dvh, 76px);--hand-card-height: clamp(74px, 18.6dvh, 109px);--table-card-width: clamp(35px, 7.8dvh, 52px);--table-card-height: clamp(50px, 11.2dvh, 74px)}.game-shell .game-header{gap:10px;padding-left:max(12px,env(safe-area-inset-left,0px));padding-right:max(12px,env(safe-area-inset-right,0px))}.game-shell .game-header .brand img{width:119px;height:38px}.game-shell .game-context{display:flex}.game-shell .game-context>div{display:block;padding-left:10px}.game-shell .game-context strong{font-size:10px}.game-shell .game-context small{display:none}.game-shell .game-tools{margin-left:auto}.game-shell .game-tools>.btn,.game-shell .game-tools .icon-btn{height:40px;min-height:40px}.game-shell .game-tools .icon-btn{width:40px}.game-shell .connection-state{font-size:0;width:6px;gap:0;margin:0 5px}.game-shell .game-layout{max-width:1240px;padding:5px max(10px,env(safe-area-inset-right,0px)) max(5px,env(safe-area-inset-bottom,0px)) max(10px,env(safe-area-inset-left,0px))}.game-shell .table-column{grid-template-areas:"score turn" "arena hand" "arena nav";grid-template-columns:minmax(0,1fr) clamp(220px,31vw,290px);grid-template-rows:var(--score-height) minmax(0,1fr) var(--nav-height);column-gap:10px;row-gap:5px}.game-shell .score-ribbon{padding:3px 9px;gap:5px;border-radius:9px}.game-shell .score-teams{gap:6px}.game-shell .score-ribbon .score-team{min-width:0;gap:1px 5px}.game-shell .score-ribbon .score-label{font-size:8px;max-width:67px}.game-shell .score-team b{font-size:22px}.game-shell .score-target{display:none}.game-shell .hand-metadata{flex-direction:column;gap:3px;align-items:flex-end;font-size:7px}.game-shell .stake-pill{padding:2px 5px;font-size:8px}.game-shell .turn-hud{justify-content:center;gap:5px;padding:0 2px}.game-shell .turn-caption strong{font-size:9px}.game-shell .turn-caption b{font-size:9px;padding:1px 3px;min-width:26px}.game-shell .turn-caption strong.your-turn:before{display:none}.game-shell .hand-dock{height:100%;padding:5px 9px;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 84px;gap:3px;border-radius:13px}.game-shell .your-hand{height:100%;padding:5px 0;gap:9px}.game-shell .your-hand .card-corner{font-size:13px;top:4px;left:4px}.game-shell .your-hand .card-corner small{font-size:11px}.game-shell .your-hand .card-corner.bottom{inset:auto 4px 4px auto}.game-shell .your-hand .card-center{font-size:28px}.game-shell .your-hand .card-key{display:none}.game-shell .action-dock{padding:0;gap:4px}.game-shell .action-dock .main-actions{gap:5px}.game-shell .action-dock .btn{min-height:44px;height:44px;padding:6px 4px;font-size:10px;gap:3px}.game-shell .action-dock .btn .icon{display:none}.game-shell .action-dock .raise-btn{font-size:15px}.game-shell .action-dock .raise-btn small{font-size:8px;margin-left:0;padding:2px 3px}.game-shell .cover-toggle{min-height:30px;justify-content:center;font-size:9px}.game-shell .decision-cost,.game-shell .action-hint{font-size:9px;text-align:center}.game-shell .partner-hand-button{font-size:10px;min-height:30px}.game-shell .table-nav{gap:4px;padding:0}.game-shell .table-nav-button{flex-direction:column;gap:3px;min-height:44px;padding:4px 2px;border-radius:9px;font-size:8px}.game-shell .table-nav-button .icon{width:15px;height:15px}.game-shell .arena,.game-shell .arena.has-many{border-radius:20px}.game-shell .arena:before{inset:12px;border-radius:12px}.game-shell .arena-status{display:none}.game-shell .seat{width:80px;gap:2px}.game-shell .avatar{width:29px;height:29px;border-radius:10px;font-size:11px}.game-shell .seat-name{font-size:8px;max-width:78px;padding:2px 4px}.game-shell .seat-relation{font-size:6px}.game-shell .seat-cards{display:none}.game-shell .seat[data-self=true]{top:91%}.game-shell .seat[data-self=true] .avatar{display:none}.game-shell[data-capacity="6"] .seat[data-relative="1"]{left:13%;top:72%}.game-shell[data-capacity="6"] .seat[data-relative="2"]{left:13%;top:28%}.game-shell[data-capacity="6"] .seat[data-relative="3"]{left:50%;top:13%}.game-shell[data-capacity="6"] .seat[data-relative="4"]{left:87%;top:28%}.game-shell[data-capacity="6"] .seat[data-relative="5"]{left:87%;top:72%}.game-shell .table-cards{top:52%;gap:4px;max-width:60%}.game-shell .arena.has-many .table-cards{top:53%;grid-auto-flow:row;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,auto);width:max-content;gap:4px;max-width:50%}.game-shell .table-play{gap:2px}.game-shell .table-play .card-corner,.game-shell .arena.has-many .table-play .card-corner{font-size:9px;top:3px;left:3px}.game-shell .table-play .card-corner small,.game-shell .arena.has-many .table-play .card-corner small{font-size:8px;margin-top:1px}.game-shell .table-play .card-corner.bottom{inset:auto 3px 3px auto}.game-shell .table-play .card-center,.game-shell .arena.has-many .table-play .card-center{font-size:20px}.game-shell .table-play .played-name{font-size:7px}.game-shell .vira-zone,.game-shell .arena.has-many .vira-zone{left:29%;top:12%}.game-shell .vira-zone .playing-card,.game-shell .arena.has-many .vira-zone>.playing-card{width:26px;height:37px}.game-shell .trick-dots{bottom:10px;right:13px;gap:3px}.game-shell .trick-dot{width:17px;height:17px;font-size:8px}.game-shell .waiting-summary{width:58%;padding:9px}.game-shell .waiting-summary h2{font-size:14px;margin-bottom:5px}.game-shell .waiting-summary p{font-size:9px;line-height:1.4}.game-shell .waiting-controls{gap:2px 9px}.game-shell .waiting-controls .text-btn{font-size:10px}.game-shell .result-banner{padding:10px 12px;width:65%}.game-shell .result-banner strong{font-size:16px}.game-shell .result-banner p{font-size:9px}.game-shell .result-banner .icon{display:none}body.game-active .modal-overlay{align-items:center}body.game-active .modal{max-height:calc(var(--dialog-height, 100dvh) - 16px);padding:18px}body.game-active .request-status,body.game-active .toast{top:calc(env(safe-area-inset-top,0px) + 48px);max-width:52vw}body.game-active #game-fx .fx-title{font-size:26px;padding:7px 11px}body.game-active #game-fx .fx-subtitle{font-size:9px;padding:4px 8px}body.game-active #game-fx .fx-ray{transform:rotate(var(--ray-angle)) translate(70px)}}@media(max-height:590px)and (orientation:portrait){.game-shell{--header-height: 44px;--score-height: 36px;--turn-height: 26px;--dock-height: 158px;--hand-card-width: 46px;--hand-card-height: 66px}.game-shell .game-header .brand img{height:38px}.game-shell .game-layout{padding-top:4px;padding-bottom:max(4px,env(safe-area-inset-bottom,0px))}.game-shell .table-column{gap:3px}.game-shell .hand-dock{padding-top:2px;padding-bottom:3px;gap:2px}.game-shell .your-hand{padding:0}.game-shell .your-hand .card-corner{font-size:12px}.game-shell .your-hand .card-corner small{font-size:10px}.game-shell .your-hand .card-center{font-size:26px}.game-shell .seat{width:68px;gap:2px}.game-shell .seat .avatar{display:none}.game-shell .seat-name{max-width:66px}.game-shell .arena.has-many .table-play .playing-card{width:31px;height:44px}.game-shell .arena.has-many .table-play .played-name{max-width:31px}.game-shell .arena.has-many .table-cards{top:53%}.game-shell .vira-zone,.game-shell .arena.has-many .vira-zone{left:29%;top:6%}.game-shell .vira-zone .playing-card,.game-shell .arena.has-many .vira-zone>.playing-card{width:21px;height:30px}.game-shell .vira-zone .card-corner{font-size:7px}.game-shell .vira-zone .card-corner small{font-size:6px}.game-shell .vira-zone .card-corner.bottom{display:none}.game-shell .vira-zone .card-center{font-size:12px}.game-shell .waiting-code{font-size:15px;margin-top:6px}body.game-active .request-status,body.game-active .toast{top:calc(env(safe-area-inset-top,0px) + 48px)}}@container truco-felt (max-height: 250px){.game-shell .vira-zone,.game-shell .arena.has-many .vira-zone{top:5%}.game-shell .vira-zone .playing-card,.game-shell .arena.has-many .vira-zone>.playing-card{width:20px;height:28px}.game-shell .vira-zone .card-corner{font-size:7px;top:2px;left:2px}.game-shell .vira-zone .card-corner small{font-size:6px}.game-shell .vira-zone .card-corner.bottom{display:none}.game-shell .vira-zone .card-center{font-size:12px}.game-shell .arena.has-many .table-cards{top:54%}}@container truco-felt (max-height: 190px){.game-shell .seat .avatar,.game-shell .seat-cards{display:none}.game-shell .seat{width:68px;gap:1px}.game-shell .seat-name{font-size:8px;max-width:66px;padding:2px 3px}.game-shell .seat-relation{font-size:6px;line-height:1.1}.game-shell[data-capacity="6"] .seat[data-relative="3"]{top:12%}.game-shell .arena.has-many .table-play .playing-card{width:27px;height:38px}.game-shell .arena.has-many .table-play .played-name{max-width:27px;font-size:6px;padding:1px}.game-shell .arena.has-many .table-play{gap:2px}.game-shell .arena.has-many .table-cards{top:52%;gap:3px}.game-shell .arena.has-many .table-play .card-corner{font-size:8px;top:2px;left:2px}.game-shell .arena.has-many .table-play .card-corner small{font-size:7px}.game-shell .arena.has-many .table-play .card-center{font-size:16px}.game-shell .vira-zone,.game-shell .arena.has-many .vira-zone{top:5%}.game-shell .trick-dots{bottom:8px}.game-shell .waiting-summary{padding:7px}.game-shell .waiting-summary h2{font-size:13px}.game-shell .waiting-summary p{font-size:9px}.game-shell .result-banner{padding:9px}.game-shell .result-banner strong{font-size:15px}.game-shell .result-banner p{font-size:9px}.game-shell .result-banner .icon{display:none}}@container truco-felt (max-height: 160px){.game-shell .arena.has-many .table-play .playing-card{width:24px;height:33px}.game-shell .arena.has-many .table-play .played-name{max-width:24px}.game-shell .arena.has-many .table-play .card-center{font-size:13px}}.game-shell .arena.has-many .table-play .card-corner.bottom{inset:auto 3px 3px auto}@media(prefers-reduced-motion:reduce){.game-shell *,.game-shell *:before,.game-shell *:after{scroll-behavior:auto}}
