:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans SC,sans-serif;--background: #101815;--surface: #14221e;--surface-raised: #1c2d27;--border: #354b41;--gold: #d7b47a;--gold-light: #f0cf92;--text: #f3f0e8;--muted: #9aaea3;--red: #c66f79;color:var(--text);background:var(--background);font-size:14px;font-synthesis:none;font-weight:400;color-scheme:dark;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;text-size-adjust:100%}*{box-sizing:border-box}html,body{margin:0;min-width:320px;overscroll-behavior:none}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:8px 14px;color:var(--text);background:#17231f;border:1px solid var(--border);border-radius:8px;font-size:13px;font-weight:500;line-height:20px;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}button:hover:not(:disabled){background:#253b31;border-color:#768678}button:disabled{opacity:.38;cursor:not-allowed}button.primary{color:#231d12;border-color:#e7c185;background:linear-gradient(165deg,#efcb8c,#cda05d);box-shadow:inset 0 1px #fff4;font-weight:650}button.primary:hover:not(:disabled){background:linear-gradient(165deg,#f8dba3,#ddb475);border-color:#f2d39b}button.danger{background:linear-gradient(150deg,#6b2933,#461f29);color:#f5dfe2;border-color:#a54b59}button.icon-button{padding:7px;background:transparent;border-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--gold-light);outline-offset:3px}button svg{flex-shrink:0}input{min-width:0;padding:11px 12px;color:var(--text);background:#101b17;border:1px solid var(--border);border-radius:7px;outline:none}input:focus{border-color:var(--gold)}input::placeholder{color:#7f9288}label{font-size:13px;font-weight:500;color:#c0cfc5}h1,h2,p{margin:0}a{color:inherit;text-decoration:none}.wide{width:100%;margin-top:16px;min-height:46px}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.error-text{color:#ef9e98}.positive{color:#83d2b3}.negative{color:#eb949d}.connecting{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;min-height:100dvh;color:var(--muted)}.connecting h2{font-size:18px;color:var(--text)}.spinner{width:26px;height:26px;border:2px solid var(--border);border-top-color:var(--gold);border-radius:50%;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.player-app{--viewport-height: 100dvh;--viewport-width: 100dvw;--app-height: var(--viewport-height);--app-width: var(--viewport-width);position:relative;width:100%;height:var(--app-height);container:player / size;touch-action:manipulation;background:radial-gradient(ellipse at 50% 45%,#14251d,var(--background) 72%)}@media(display-mode:standalone){.player-app{--viewport-height: 100vh;--viewport-width: 100vw}}.player-app button,.player-app .seat,.player-app .playing-card,.player-app .table-wrap{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.player-app input{-webkit-user-select:text;user-select:text}.player-app .connecting{min-height:var(--app-height)}.view-toggle{display:none;white-space:nowrap}.view-toggle[aria-pressed=true]{color:var(--gold-light);border-color:var(--gold)}.sound-toggle{white-space:nowrap}.sound-toggle[aria-pressed=true]{color:var(--gold-light);border-color:var(--gold)}.header-actions,.welcome-heading,.lobby-tools-actions{display:flex;align-items:center;gap:8px}.welcome-heading{justify-content:space-between}@media(max-width:600px),(orientation:landscape)and (max-height:600px){.view-toggle{display:inline-flex}}@media(max-width:600px)and (orientation:portrait){.player-app.manual-landscape{--app-height: var(--viewport-width);--app-width: var(--viewport-height);--app-safe-top: env(safe-area-inset-right);--app-safe-right: env(safe-area-inset-bottom);--app-safe-bottom: env(safe-area-inset-left);--app-safe-left: env(safe-area-inset-top);width:var(--app-width);height:var(--app-height);position:fixed;top:0;left:0;transform-origin:top left;transform:rotate(90deg) translateY(-100%)}.manual-landscape .access-dialog{width:min(520px,calc(var(--visible-height, 100dvh) - 24px));max-width:none;max-height:calc(100dvw - 20px);top:calc(var(--visible-top, 0px) + var(--visible-height, 100dvh) / 2);left:50%;right:auto;margin:0;transform:translate(-50%,-50%) rotate(90deg)}}.game-layout{width:100%;max-width:1720px;height:var(--app-height);margin:0 auto;padding:max(12px,var(--app-safe-top, env(safe-area-inset-top))) max(24px,var(--app-safe-right, env(safe-area-inset-right))) max(12px,var(--app-safe-bottom, env(safe-area-inset-bottom))) max(24px,var(--app-safe-left, env(safe-area-inset-left)));display:flex;flex-direction:column;gap:10px}.room-toolbar,.room-title,.toolbar-buttons{display:flex;align-items:center}.room-toolbar{justify-content:space-between;gap:12px;min-height:44px;flex-shrink:0}.room-title{gap:22px;min-width:0}.room-title h1{font-size:15px;font-weight:500;color:#c8c9bc;white-space:nowrap}.room-title h1 span{margin-left:7px;font-size:23px;letter-spacing:1px;font-weight:650;color:#f2dfbd;font-variant-numeric:tabular-nums}.connection{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:#cdaa73;white-space:nowrap}.connection.connected{color:#9ab7a5}.connection.connected svg{color:#52bf91}.toolbar-buttons{gap:8px}.toolbar-buttons button{padding:7px 13px;min-height:38px;color:#ddc7a5;background:#121d1980}.table-notices{display:grid;gap:4px;flex-shrink:0}.banner{padding:8px 12px;border:1px solid #776446;border-radius:7px;background:#342c1f;color:#e6c99d;font-size:12px}.banner button{margin-left:10px;padding:3px 10px;min-height:28px}.table-content{flex:1;min-height:0;display:grid;grid-template-rows:20px minmax(0,1fr) 36px;gap:6px}.table-meta{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px;padding:0 6px}.landscape-stage{display:none}.table-wrap{position:relative;min-height:0;isolation:isolate;container:poker-table / size}.felt{position:absolute;top:32px;right:7px;bottom:24px;left:7px;border:15px solid #242b25;border-radius:48%;background:linear-gradient(#175441d6,#124b3bd6),url(/assets/poker-felt-DAkKQCVC.jpg) center / 640px;box-shadow:inset 0 0 0 2px #b08b56,inset 0 7px 18px #0009,0 0 0 1px #c19a61,0 4px 0 2px #4e3e26,0 16px 30px #0005}.felt-inner{position:absolute;top:8px;right:8px;bottom:8px;left:8px;border:1px solid #d3d7ad18;border-radius:inherit;box-shadow:inset 0 0 30px #072a2833}.table-center{position:absolute;top:43%;left:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;z-index:1}.street-label{display:flex;align-items:center;gap:16px;margin-bottom:15px;font-size:13px;color:#b6c9b9;letter-spacing:2px;white-space:nowrap}.street-label:before,.street-label:after{content:"";width:60px;height:1px;background:#c3d3b73b}.table-suit{font-size:90px;line-height:1;opacity:.14;color:#c9e0c9}.board{display:flex;gap:7px}.cards{display:inline-flex;gap:4px}.playing-card{position:relative;display:inline-block;width:70px;height:96px;flex-shrink:0;border:1px solid #e6e6d9;border-radius:5px;background:linear-gradient(140deg,#fff,#eee);color:#171c1a;box-shadow:0 3px 6px #001a1655;font-family:Georgia,Times New Roman,serif;padding:5px 7px;line-height:1;text-align:left;vertical-align:middle}.playing-card>b{display:block;font-size:27px;font-weight:700}.playing-card>span{position:absolute;bottom:10px;left:0;width:100%;text-align:center;font-size:43px}.playing-card.red{color:#ba2635}.playing-card.small{width:33px;height:47px;padding:3px 4px;border-radius:3px}.playing-card.small>b{font-size:15px}.playing-card.small>span{font-size:22px;bottom:4px}.playing-card.back{border:2px solid #c8d1cf;background:repeating-linear-gradient(45deg,#295066 0,#295066 2px,#365c72 2px,#365c72 3px,#23445b 3px,#23445b 5px);outline:1px solid #728b92;outline-offset:-5px}.playing-card.back>span{top:50%;bottom:auto;transform:translateY(-50%);color:#d2dbd66b;font-size:16px}.board-slot{width:70px;height:96px;border:1px dashed #b6d1b966;border-radius:5px;background:#082b2326}.pot{display:flex;align-items:center;gap:9px;margin-top:18px;padding:3px 15px;border-radius:20px;background:#071c19a6;color:#c9d7c7;font-size:13px;white-space:nowrap}.pot strong{color:#f3d69a;font-size:23px;font-weight:650;font-variant-numeric:tabular-nums}.result-summary{position:absolute;top:100%;width:max-content;max-width:min(420px,65cqw);max-height:66px;overflow:auto;text-align:center;margin-top:8px;font-size:12px;line-height:1.6;color:#d7e2d1}.result-summary b{color:var(--gold-light)}.result-summary small{display:block;color:var(--muted)}.seat{position:absolute;width:250px;transform:translate(-50%,-50%);z-index:2}.player-seat{display:flex;flex-direction:row-reverse;align-items:center;justify-content:center;gap:7px}.seat-cards{display:flex;align-items:center;gap:4px;flex-shrink:0}.seat-cards:empty{display:none}.player-box{position:relative;width:158px;min-width:0;flex-shrink:0;padding:9px 10px 9px 40px;text-align:center;border:1px solid #687d7280;border-radius:8px;background:linear-gradient(135deg,#13231fe8,#081511f2);box-shadow:0 4px 9px #001b1666}.seat-avatar{position:absolute;left:10px;top:50%;width:26px;height:26px;transform:translateY(-50%);color:#99aaa1}.seat-avatar svg{display:block;width:100%;height:100%}.player-name{display:flex;align-items:center;justify-content:center;gap:5px;font-size:13px;line-height:18px;color:#e7ece6;min-width:0}.player-name>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-name>svg{color:#91a39b;flex-shrink:0}.player-name small{padding:0 4px;border-radius:3px;background:#bd985d;color:#231d12;line-height:16px;font-size:10px;flex-shrink:0}.stack{display:block;margin:4px 0;color:#f1d49a;--stack-size: 23px;font-size:min(var(--stack-size),calc(var(--stack-space, 100px) / var(--stack-digits, 5) * 1.6));line-height:26px;letter-spacing:.3px;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}.player-status{min-height:16px;font-size:11px;line-height:16px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dealer{display:inline-grid;place-items:center;flex-shrink:0;width:17px;height:17px;margin-left:2px;background:#ece7d6;color:#20352a;border-radius:50%;font-size:11px;font-family:Georgia,serif}.current .player-box{border-color:#e9bf72;box-shadow:0 0 0 1px #d7b47a4d,0 3px 14px #0005}.current .player-status{color:#e0c493}.turn-dot{display:inline-block;width:4px;height:4px;border-radius:50%;background:var(--gold);margin:0 4px 2px 0}.seat-turn-progress{height:3px;position:absolute;left:8px;right:8px;bottom:4px;overflow:hidden;background:#c8d6c528;border-radius:3px}.seat-turn-progress span{display:block;height:100%;width:var(--turn-progress);background:var(--gold-light);transition:width .25s linear}.seat[data-urgent=true] .seat-turn-progress span{background:#e5957a}.seat.folded .player-box,.seat.folded .seat-cards{opacity:.6}.winner .player-box{border-color:#e9bf72}.seat.mine{top:auto!important;bottom:1px;left:50%!important;transform:translate(-50%);width:230px;flex-direction:column;gap:5px}.mine .player-box{--stack-space: 134px;width:190px}.mine .seat-cards{flex-direction:column;gap:3px;position:relative}.mine .playing-card.small{width:58px;height:77px;padding:5px}.mine .playing-card.small>b{font-size:23px}.mine .playing-card.small>span{font-size:35px;bottom:6px}.hand-rank{position:absolute;left:calc(100% + 6px);bottom:0;display:inline-flex;justify-content:center;align-items:center;padding:2px 7px;border:1px solid #b3915d80;border-radius:4px;background:#132c23;color:#dfceac;font-size:11px;white-space:nowrap}.bet-chip{position:absolute;left:50%;top:calc(100% + 6px);transform:translate(-50%);display:inline-flex;gap:5px;align-items:center;border-radius:20px;background:#09291fd9;color:#e1dec9;padding:2px 8px 2px 3px;font-size:12px;line-height:17px;font-variant-numeric:tabular-nums;white-space:nowrap}.bet-chip i{width:16px;height:16px;border:2px dashed #f1dcc4;border-radius:50%;background:#a34343;box-shadow:inset 0 0 0 2px #782b30,0 1px 2px #0006}.seat[data-position="1"] .bet-chip,.seat[data-position="5"] .bet-chip,.seat.mine .bet-chip{top:-26px}.remove-bot{position:absolute;top:-6px;right:22px;width:24px;min-height:24px;padding:3px;background:#293e33;border-radius:50%}.empty-seat{display:flex;align-items:center;justify-content:center;width:42px;height:42px;opacity:.35}.empty-avatar{display:grid;place-items:center;width:36px;height:36px;border:1px dashed #b6c2a8;border-radius:50%;color:#b8c7b6}.table-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}.table-tools{position:relative}.room-controls{display:flex;align-items:center;gap:7px}.room-controls button,.table-tools-toggle{min-height:34px;padding:5px 11px;font-size:12px;color:#bec9be;background:#16231db0}.room-controls button.primary{background:#826a42;border-color:#b79761;color:#fff0d6}.table-status{display:flex;gap:12px;align-items:center;font-size:12px;color:var(--muted);white-space:nowrap}.room-controls.table-tools-popover{position:absolute;bottom:calc(100% + 8px);left:0;z-index:20;display:grid;min-width:175px;padding:7px;background:#192b23;border:1px solid #8e7851;border-radius:9px;box-shadow:0 8px 25px #0008}.room-controls.table-tools-popover button{min-height:44px;justify-content:flex-start}.action-bar{--action-accent: var(--gold);flex-shrink:0;padding:12px 16px;border:1px solid #3b5146;border-radius:12px;background:linear-gradient(135deg,#14221ef5,#101b17);box-shadow:inset 0 1px 0 #fff03,0 5px 16px #0002}.action-bar.your-turn{border-color:#88744f}.action-content{display:grid;grid-template-columns:minmax(130px,.65fr) minmax(250px,1.1fr) minmax(420px,1.65fr);align-items:center;gap:20px;grid-template-rows:98px}.turn-label{display:flex;flex-direction:column;justify-content:center;gap:10px;min-width:0;font-size:13px}.turn-heading{display:flex;align-items:center;gap:4px;min-width:0}.turn-heading>span{min-width:0}.shortcut-help-button.icon-button{width:24px;min-height:24px;height:24px;padding:3px;flex-shrink:0;color:var(--muted)}.turn-prompt{color:var(--gold-light);font-size:15px;font-weight:650}.waiting-state{display:flex;align-items:center;gap:7px;color:#b6c3b8}.waiting-state strong{font-weight:500}.waiting-state-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#829286;flex-shrink:0}.waiting-state-dot.is-ready{background:#91c7a6}.turn-tools{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.auto-call-toggle{min-height:24px;height:24px;padding:0;gap:6px;border:0;border-radius:4px;background:transparent;color:var(--muted);font-size:12px;line-height:16px;white-space:nowrap}.auto-call-toggle:hover:not(:disabled){background:transparent;color:var(--text)}.auto-call-toggle[aria-checked=true]{color:var(--gold-light)}.auto-call-track{position:relative;width:28px;height:16px;flex-shrink:0;border:1px solid #63716a;border-radius:9px;background:#26372e}.auto-call-track:after{content:"";position:absolute;width:10px;height:10px;top:2px;left:2px;border-radius:50%;background:#a9b8ae}.auto-call-toggle[aria-checked=true] .auto-call-track{border-color:#d5af6f;background:#d0aa67}.auto-call-toggle[aria-checked=true] .auto-call-track:after{left:14px;background:#302719}.turn-countdown{display:inline-flex;align-items:center;gap:5px;color:#d0cdbb;font-size:12px}.turn-countdown b{font-size:19px;font-variant-numeric:tabular-nums}.turn-countdown svg{width:18px;height:18px}.turn-countdown.urgent{color:#f1a18b}.status-action{min-height:30px;padding:3px 10px;font-size:12px}.raise-editor{position:relative;min-width:0}.raise-editor[hidden]{display:none}.raise-editor.is-disabled{opacity:.55}.action-bar:is([data-layout=portrait],[data-layout=compact-landscape]){position:relative}.action-bar:is([data-layout=portrait],[data-layout=compact-landscape]) .raise-editor{position:absolute;left:-1px;right:-1px;bottom:calc(100% + 6px);grid-column:auto;grid-row:auto;margin:0;border:1px solid #88744f;border-radius:10px;background:linear-gradient(135deg,#192b23,#14221e);box-shadow:0 8px 28px #0007;z-index:12}.action-overview{display:flex;align-items:center;gap:24px;min-width:0;color:var(--muted);font-size:12px}.action-overview span{display:flex;align-items:baseline;gap:8px;min-width:0}.action-overview strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;color:var(--gold-light);font-size:20px;font-weight:600;font-variant-numeric:tabular-nums}.raise-controls{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;column-gap:9px;row-gap:4px}.raise-controls label{font-size:12px;color:#d2d7c9;white-space:nowrap}.raise-controls input[type=number]{width:100%;height:34px;padding:5px 10px;font-size:16px;font-variant-numeric:tabular-nums}.raise-controls input[type=range]{grid-column:1/-1;width:100%;height:22px;margin:0;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:transparent;accent-color:var(--gold)}.raise-controls input[type=range]::-webkit-slider-runnable-track{height:5px;border-radius:4px;background:linear-gradient(to right,var(--gold) var(--range-progress, 0%),#3c5048 var(--range-progress, 0%))}.raise-controls input[type=range]::-moz-range-track{height:5px;border-radius:4px;background:linear-gradient(to right,var(--gold) var(--range-progress, 0%),#3c5048 var(--range-progress, 0%))}.raise-controls input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:21px;height:21px;margin-top:-8px;border:2px solid #f1d29c;border-radius:50%;background:#c69c5f;box-shadow:0 1px 4px #0007}.raise-controls input[type=range]::-moz-range-thumb{width:17px;height:17px;border:2px solid #f1d29c;border-radius:50%;background:#c69c5f}.quick-bets{display:grid;grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.quick-bets button{min-width:0;min-height:28px;padding:2px 5px;font-size:11px;line-height:20px;background:#192820}.quick-bets button[aria-pressed=true]{color:var(--gold-light);border-color:#b29463;background:#3a3323}.quick-bets button.allin{color:#e8c590}.raise-cancel{position:absolute;right:0;top:0;width:36px;height:36px;z-index:1}.action-buttons{display:grid;grid-template-columns:.88fr 1fr 1.18fr;gap:8px;min-width:0}.action-buttons button{min-width:0;min-height:56px;height:56px;padding:8px;font-size:16px;line-height:20px;font-weight:600}.action-buttons strong{font-size:inherit;font-weight:650;font-variant-numeric:tabular-nums;min-width:0;overflow:hidden;text-overflow:ellipsis}.call-action{color:#e2f0e9;border-color:#3b897a;background:linear-gradient(150deg,#206052,#123e35)}.call-action:hover:not(:disabled){background:#276c5c;border-color:#61b29b}.action-buttons button:disabled{opacity:.35}.action-buttons .allin{border-color:#e6bb75}.allin-summary{display:flex;flex-direction:column;justify-content:center;gap:7px;min-height:98px;padding-right:35px;color:#d2d2bd}.allin-total,.allin-contribution{font-size:12px}.allin-total strong{margin-left:8px;font-size:20px;color:var(--gold-light)}.allin-contribution b{margin-left:6px;color:var(--text)}.allin-note{color:var(--muted);font-size:11px}@container player (min-width:601px) and (max-width:1023px) and (min-height:601px){.action-content{grid-template-columns:160px minmax(0,1fr);grid-template-rows:98px 56px;gap:10px 18px}.action-buttons{grid-column:1/-1}.seat:not(.mine){width:174px;gap:4px}.seat:not(.mine) .player-box{width:112px;padding-left:28px;--stack-space: 74px}.seat:not(.mine) .seat-avatar{width:19px;height:19px;left:6px}.seat:not(.mine) .stack{--stack-size: 19px}.seat:not(.mine) .playing-card.small{width:24px;height:34px}.seat[data-position="1"],.seat[data-position="2"]{left:17%!important}.seat[data-position="4"],.seat[data-position="5"]{left:83%!important}.seat[data-position="2"],.seat[data-position="4"]{top:23%!important}.board .playing-card,.board-slot{width:45px;height:62px}.board .playing-card>b{font-size:22px}.board .playing-card>span{font-size:30px;bottom:5px}}@container player (min-width:601px) and (min-height:601px){@container poker-table (max-height:520px){.seat.mine{width:300px;flex-direction:row;gap:8px}.mine .player-box{width:164px;padding-left:36px;--stack-space: 114px}.mine .seat-avatar{width:23px;height:23px;left:8px}.mine .hand-rank{left:auto;right:0;bottom:calc(100% + 3px)}.mine .bet-chip{left:-4px;top:50%;transform:translate(-100%,-50%)}.result-summary{max-height:52px}}}@container player (max-width:600px) and (orientation:portrait){.game-layout{padding:calc(8px + var(--app-safe-top, env(safe-area-inset-top))) max(10px,var(--app-safe-right, env(safe-area-inset-right))) max(8px,var(--app-safe-bottom, env(safe-area-inset-bottom))) max(10px,var(--app-safe-left, env(safe-area-inset-left)));gap:7px}.room-toolbar{min-height:42px;gap:6px}.room-title{flex-direction:column;align-items:flex-start;gap:2px}.room-title h1{font-size:10px}.room-title h1 span{font-size:19px;margin-left:4px;letter-spacing:.6px}.connection{font-size:10px;gap:3px}.connection svg{width:10px;height:10px}.toolbar-buttons{gap:4px}.toolbar-buttons button{width:36px;min-height:40px;padding:7px}.toolbar-buttons button>span{display:none}.toolbar-buttons svg{width:16px;height:16px}.table-content{grid-template-rows:16px minmax(0,1fr) 34px;gap:4px}.table-meta{font-size:10px;padding:0 2px}.felt{top:24px;right:4px;bottom:13px;left:4px;border-width:10px;border-radius:48%;box-shadow:inset 0 0 0 1px #b08b56,inset 0 4px 12px #0008,0 0 0 1px #ba925d,0 3px 0 1px #4e3e26,0 8px 20px #0004}.felt-inner{top:5px;right:5px;bottom:5px;left:5px}.seat{width:130px}.player-seat{gap:4px}.player-box{--stack-space: 66px;width:82px;border-radius:6px;padding:5px 5px 7px}.seat-avatar{left:5px;top:7px;width:11px;height:11px;transform:none}.player-name{padding-left:7px}.player-name{font-size:11px;line-height:15px;gap:3px}.player-name>svg{width:11px;height:11px}.player-name small{font-size:9px;padding:0 3px;line-height:13px}.stack{--stack-size: 18px;line-height:21px;margin:3px 0;letter-spacing:0}.player-status{font-size:10px;line-height:13px;min-height:13px}.seat:not(.mine) .playing-card.small{width:21px;height:30px;padding:2px}.seat:not(.mine) .playing-card.small>b{font-size:12px}.seat:not(.mine) .playing-card.small>span{font-size:15px;bottom:3px}.seat:not(.mine) .playing-card.back>span{font-size:12px}.seat[data-position="1"],.seat[data-position="2"]{left:19%!important}.seat[data-position="4"],.seat[data-position="5"]{left:81%!important}.seat[data-position="2"],.seat[data-position="4"]{top:27%!important}.seat[data-position="1"],.seat[data-position="5"]{top:67%!important}.seat[data-position="3"]{top:10%!important}.seat.mine{width:160px;bottom:1px;gap:4px}.mine .player-box{--stack-space: 120px;width:142px;padding:5px 8px 8px}.mine .playing-card.small{width:36px;height:48px;padding:3px 4px}.mine .playing-card.small>b{font-size:17px}.mine .playing-card.small>span{font-size:23px;bottom:4px}.hand-rank{font-size:9px;padding:1px 4px;left:calc(100% + 4px)}.dealer{width:14px;height:14px;font-size:10px}.table-center{top:44%}.street-label{font-size:11px;margin-bottom:9px;gap:10px}.street-label:before,.street-label:after{width:30px}.board{gap:4px}.board .playing-card,.board-slot{width:43px;height:59px;padding:4px;border-radius:4px}.board .playing-card>b{font-size:20px}.board .playing-card>span{font-size:29px;bottom:5px}.pot{margin-top:11px;padding:2px 10px;font-size:11px;gap:7px}.pot strong{font-size:20px}.bet-chip{font-size:10px;line-height:13px;padding:1px 6px 1px 2px;gap:3px;top:calc(100% + 4px)}.bet-chip i{width:12px;height:12px}.seat[data-position="1"] .bet-chip,.seat[data-position="5"] .bet-chip,.seat.mine .bet-chip{top:-22px}.remove-bot{width:22px;min-height:22px;right:12px}.empty-seat{width:32px;height:32px}.empty-avatar{width:28px;height:28px}.room-controls{gap:4px}.room-controls button,.table-tools-toggle{min-height:32px;padding:4px 6px;font-size:10px;gap:4px}.room-controls svg{width:12px;height:12px}.table-status{font-size:10px;gap:6px}.action-bar{padding:6px 8px 8px;border-radius:10px}.action-content{grid-template-columns:minmax(0,1fr);grid-template-rows:24px 48px;gap:4px}.turn-label{grid-row:1;flex-direction:row;align-items:center;justify-content:space-between;min-height:20px;gap:8px;font-size:12px}.turn-prompt{font-size:12px}.turn-countdown{font-size:11px}.turn-tools{flex-wrap:nowrap}.turn-countdown b{font-size:14px}.turn-countdown svg{width:14px;height:14px}.status-action{min-height:24px;padding:1px 8px;font-size:11px}.action-buttons{grid-row:2;grid-template-columns:1fr 1fr 1fr;gap:6px}.action-buttons button{min-height:48px;height:48px;padding:6px 3px;gap:4px;font-size:13px}.action-buttons button:has(strong){flex-wrap:wrap;align-content:center;column-gap:4px;row-gap:0}.raise-editor{padding:10px}.action-overview{display:none}.raise-controls{grid-template-columns:84px minmax(0,1fr) 40px;gap:6px}.raise-controls input[type=number]{height:40px}.raise-controls input[type=range]{grid-column:1;grid-row:2;height:40px}.raise-controls label{font-size:12px}.raise-cancel{top:10px;right:10px;width:40px;height:40px;min-height:40px}.quick-bets{grid-column:2/-1;grid-row:2;gap:6px}.quick-bets button{min-height:40px;height:40px;font-size:12px}.allin-summary{height:86px;min-height:86px;gap:6px;padding-left:0;padding-right:45px}.allin-total strong{font-size:24px}.result-summary{max-height:44px;margin-top:5px;font-size:10px;max-width:58cqw}}@container player (max-width:600px) and (orientation:portrait){@container poker-table (max-height:390px){.seat[data-position="2"],.seat[data-position="4"]{top:23%!important}.seat:not(.mine){width:118px;gap:3px}.seat:not(.mine) .player-box{--stack-space: 64px;width:76px;padding:3px 4px 5px}.seat:not(.mine) .stack{--stack-size: 16px;line-height:18px;margin:2px 0}.seat:not(.mine) .playing-card.small{width:18px;height:26px}.seat:not(.mine) .cards{gap:2px}.seat[data-position="1"],.seat[data-position="2"]{left:18%!important}.seat[data-position="4"],.seat[data-position="5"]{left:82%!important}.seat.mine{width:190px;flex-direction:row;gap:5px}.mine .player-box{--stack-space: 96px;width:110px;padding:4px 5px 7px}.mine .playing-card.small{width:31px;height:43px}.mine .stack{--stack-size: 17px;line-height:19px;margin:2px 0}.hand-rank{left:auto;right:1px;bottom:calc(100% + 2px);font-size:9px;line-height:12px;padding:0 4px}.board .playing-card,.board-slot{width:33px;height:46px;padding:3px}.board .playing-card>b{font-size:17px}.board .playing-card>span{font-size:23px;bottom:4px}.street-label{margin-bottom:5px;font-size:10px}.pot{margin-top:6px}.pot strong{font-size:18px}.seat.mine .bet-chip{left:-4px;top:50%;transform:translate(-100%,-50%)}}@container poker-table (max-height:270px){.felt{top:15px;right:3px;bottom:10px;left:3px;border-width:7px}.seat:not(.mine){width:68px;display:block}.seat:not(.mine) .player-box{--stack-space: 60px;width:68px;padding:2px 3px 4px}.seat:not(.mine) .player-name{line-height:13px}.seat:not(.mine) .player-name svg{display:none}.seat:not(.mine) .seat-avatar{display:none}.seat:not(.mine) .player-name{padding-left:0}.seat:not(.mine) .player-status{font-size:9px;line-height:11px;min-height:11px}.seat:not(.mine) .stack{--stack-size: 14px;line-height:16px;margin:1px 0}.seat:not(.mine) .seat-cards{position:absolute;left:calc(100% + 2px);top:2px}.seat:not(.mine) .playing-card.small{width:14px;height:21px;padding:1px}.seat:not(.mine) .playing-card.small>b,.seat:not(.mine) .playing-card.small>span{font-size:10px}.seat[data-position="1"],.seat[data-position="2"]{left:12%!important}.seat[data-position="4"],.seat[data-position="5"]{left:88%!important}.seat[data-position="4"] .seat-cards,.seat[data-position="5"] .seat-cards{left:auto;right:calc(100% + 2px)}.seat[data-position="3"]{top:9%!important}.seat[data-position="2"],.seat[data-position="4"]{top:31%!important}.seat[data-position="1"],.seat[data-position="5"]{top:64%!important}.table-center{top:44%}.board .playing-card,.board-slot{width:28px;height:37px;padding:2px}.board .playing-card>b{font-size:14px}.board .playing-card>span{font-size:19px;bottom:2px}.street-label{margin-bottom:3px}.street-label:before,.street-label:after{width:18px}.pot{margin-top:4px;font-size:10px;padding:1px 8px}.pot strong{font-size:15px}.mine .player-box{width:108px}.mine .player-name{font-size:11px;line-height:13px}.mine .player-status{font-size:9px;line-height:11px;min-height:11px}.mine .stack{--stack-size: 16px;line-height:18px}.mine .playing-card.small{width:28px;height:37px}.bet-chip{font-size:9px;line-height:10px}.bet-chip i{width:10px;height:10px}.seat[data-position="1"] .bet-chip,.seat[data-position="5"] .bet-chip{top:-17px}.seat:not(.mine):not([data-position="1"]):not([data-position="5"]) .bet-chip{top:calc(100% + 2px)}.result-summary{max-height:28px;line-height:1.3}}}@container player (orientation:landscape) and (max-height:600px){.game-layout{max-width:none;padding:max(5px,var(--app-safe-top, env(safe-area-inset-top))) max(10px,var(--app-safe-right, env(safe-area-inset-right))) max(5px,var(--app-safe-bottom, env(safe-area-inset-bottom))) max(10px,var(--app-safe-left, env(safe-area-inset-left)));gap:4px}.room-toolbar{min-height:30px;gap:8px}.room-title{gap:12px}.room-title h1{font-size:11px}.room-title h1 span{font-size:18px;letter-spacing:.7px;margin-left:4px}.connection{font-size:10px}.toolbar-buttons{gap:5px}.toolbar-buttons button{min-height:30px;height:30px;padding:3px 8px;font-size:11px;gap:4px}.toolbar-buttons svg{width:14px;height:14px}.table-content{grid-template-rows:14px minmax(0,1fr) 28px;gap:3px}.table-meta{font-size:10px}.landscape-stage{display:inline}.table-center>.street-label{display:none}.felt{top:19px;right:2px;bottom:12px;left:2px;border-width:9px;box-shadow:inset 0 0 0 1px #b08b56,inset 0 3px 10px #0007,0 0 0 1px #b28a54,0 2px 0 1px #4e3e26,0 6px 16px #0004}.felt-inner{top:4px;right:4px;bottom:4px;left:4px}.seat{width:150px}.player-seat{gap:5px}.player-box{--stack-space: 80px;width:94px;padding:3px 5px 6px;border-radius:5px}.seat-avatar{left:4px;top:5px;width:11px;height:11px;transform:none}.player-name{padding-left:7px}.player-name{font-size:11px;line-height:14px;gap:3px}.player-name svg{width:11px;height:11px}.player-name small{font-size:9px;line-height:12px}.stack{--stack-size: 17px;line-height:19px;margin:2px 0}.player-status{font-size:10px;min-height:12px;line-height:12px}.playing-card.small{width:22px;height:31px;padding:2px}.playing-card.small>b{font-size:12px}.playing-card.small>span{font-size:15px;bottom:3px}.seat[data-position="3"]{top:12%!important}.seat[data-position="2"],.seat[data-position="4"]{top:29%!important}.seat[data-position="1"],.seat[data-position="5"]{top:71%!important}.seat.mine{width:210px;flex-direction:row;gap:6px;bottom:0}.mine .player-box{--stack-space: 98px;width:114px;padding:3px 5px 6px}.mine .playing-card.small{width:30px;height:41px;padding:3px}.mine .playing-card.small>b{font-size:16px}.mine .playing-card.small>span{font-size:21px;bottom:3px}.hand-rank{left:auto;right:1px;bottom:calc(100% + 2px);padding:0 4px;font-size:9px;line-height:11px}.dealer{width:13px;height:13px;font-size:9px}.table-center{top:46%}.board{gap:4px}.board .playing-card,.board-slot{width:36px;height:49px;padding:3px}.board .playing-card>b{font-size:19px}.board .playing-card>span{font-size:25px;bottom:4px}.pot{margin-top:6px;padding:1px 9px;font-size:10px;gap:6px}.pot strong{font-size:18px}.bet-chip{font-size:10px;line-height:12px;padding:1px 6px 1px 2px;gap:3px;top:calc(100% + 3px)}.bet-chip i{width:11px;height:11px}.seat[data-position="1"] .bet-chip,.seat[data-position="5"] .bet-chip{top:-20px}.mine .bet-chip{left:-4px;top:50%;transform:translate(-100%,-50%)}.seat-turn-progress{bottom:2px;left:5px;right:5px;height:2px}.remove-bot{min-height:20px;width:20px;top:-7px;right:17px}.empty-seat,.empty-avatar{width:25px;height:25px}.room-controls{gap:5px}.room-controls button,.table-tools-toggle{min-height:26px;height:26px;padding:2px 8px;font-size:10px;gap:4px}.room-controls svg{width:12px;height:12px}.table-status{font-size:10px;gap:8px}.action-bar{padding:4px 8px;border-radius:8px}.action-content{grid-template-columns:minmax(120px,.8fr) minmax(0,2fr);grid-template-rows:48px;gap:12px}.turn-label{grid-column:1;grid-row:1;gap:0;font-size:11px}.turn-prompt{font-size:12px}.turn-countdown{font-size:10px;gap:4px}.turn-countdown b{font-size:13px}.turn-countdown svg{width:14px;height:14px}.turn-tools{flex-wrap:nowrap;gap:4px}.auto-call-toggle{font-size:10px;gap:4px}.auto-call-track{width:24px;height:14px}.auto-call-track:after{width:8px;height:8px}.auto-call-toggle[aria-checked=true] .auto-call-track:after{left:12px}.status-action{min-height:24px;padding:1px 7px;font-size:10px}.action-buttons{grid-column:2;grid-row:1;grid-template-columns:1fr 1fr 1.12fr;gap:6px}.action-buttons button{min-height:44px;height:44px;padding:4px;font-size:13px;gap:4px}.raise-editor{padding:10px 52px 10px 10px}.action-overview{display:none}.raise-controls{grid-template-columns:64px 88px minmax(55px,1fr) minmax(180px,1.2fr);gap:8px}.raise-controls label{font-size:11px}.raise-controls input[type=number]{height:40px;padding:5px 8px;font-size:16px}.raise-controls input[type=range]{grid-column:3;height:40px}.quick-bets{grid-column:4;gap:4px}.quick-bets button{min-height:40px;height:40px;font-size:11px;padding:3px}.raise-cancel{top:10px;right:10px;width:38px;min-height:40px;height:40px;padding:5px}.allin-summary{min-height:40px;height:40px;flex-direction:row;align-items:center;justify-content:flex-start;gap:18px;padding-right:0}.allin-total strong{font-size:20px}.allin-note{font-size:10px}.result-summary{max-height:38px;max-width:42cqw;font-size:10px;margin-top:4px;line-height:1.3}.compact-result-summary{top:auto;bottom:2px;left:6px;width:min(175px,32cqw);max-width:none;max-height:16px;margin:0;text-align:left;white-space:nowrap;line-height:14px;font-size:10px;overflow-x:auto;overflow-y:hidden}.compact-result-summary>div,.compact-result-summary small{display:inline}.compact-result-summary>div+div:before,.compact-result-summary small:before{content:" · "}.banner{padding:4px 8px;font-size:10px}@container poker-table (max-height:200px){.seat{width:126px;gap:3px}.player-box{--stack-space: 68px;width:78px;padding:2px 3px 4px}.seat-avatar{display:none}.player-name{padding-left:0}.player-name{font-size:11px;line-height:13px}.player-name svg{display:none}.stack{--stack-size: 15px;line-height:17px;margin:1px 0}.player-status{font-size:9px;line-height:11px;min-height:11px}.playing-card.small{width:18px;height:26px}.seat.mine{width:184px}.mine .player-box{--stack-space: 96px;width:104px}.mine .playing-card.small{width:27px;height:36px}.mine .playing-card.small>b{font-size:14px}.mine .playing-card.small>span{font-size:18px;bottom:3px}.board .playing-card,.board-slot{width:23px;height:29px;padding:2px}.board .playing-card>b{font-size:12px}.board .playing-card>span{font-size:15px;bottom:1px}.pot{margin-top:3px;font-size:9px;line-height:14px;padding:0 7px}.pot strong{font-size:13px}.bet-chip{font-size:9px;line-height:10px}.bet-chip i{width:9px;height:9px}.seat[data-position="1"] .bet-chip,.seat[data-position="5"] .bet-chip{top:-17px}.seat[data-position="3"]{top:14%!important}.table-center{top:48%}.result-summary{max-height:26px;font-size:9px}}}@container player (orientation:landscape) and (max-height:360px){.toolbar-buttons button>span{display:none}.toolbar-buttons button{width:30px}.room-title{gap:8px}.table-content{grid-template-columns:max-content minmax(0,1fr) max-content;grid-template-rows:minmax(0,1fr) 26px}.table-wrap{grid-column:1/-1;grid-row:1}.table-meta{grid-column:2;grid-row:2;gap:12px;padding:0 12px}.table-footer{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:subgrid}.table-tools{grid-column:1}.table-status{grid-column:3}.seat[data-position="3"]{top:10%!important}.table-center{top:46%}.action-bar{padding:4px 8px}.action-content{grid-template-rows:48px;gap:12px}.raise-controls{grid-template-columns:74px minmax(55px,1fr) 180px;gap:6px}.raise-controls label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.raise-controls input[type=range]{grid-column:2}.quick-bets{grid-column:3}.allin-summary{gap:10px}.allin-note{display:none}}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0009;z-index:30;display:flex;align-items:center;justify-content:center;padding:20px}.modal-backdrop.history-backdrop{padding:max(8px,var(--app-safe-top, env(safe-area-inset-top))) max(8px,var(--app-safe-right, env(safe-area-inset-right))) max(8px,var(--app-safe-bottom, env(safe-area-inset-bottom))) max(8px,var(--app-safe-left, env(safe-area-inset-left)))}.history-backdrop .history-panel{width:min(960px,100%);height:100%;max-height:100%;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:#14221e;border:1px solid #52664f;border-radius:12px;box-shadow:0 24px 80px #0008}.history-backdrop .history-panel header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:8px 14px;border-bottom:1px solid #354b41;flex-shrink:0}.history-panel header>div:first-child{display:flex;align-items:baseline;flex-wrap:wrap;min-width:0;gap:3px 10px}.history-panel h2{margin:0;font-size:16px;line-height:22px;font-weight:600}.history-panel header p{margin:0;font-size:11px;line-height:18px;color:#899e83}.inline{display:flex;gap:4px}.history-panel header .icon-button{flex-shrink:0;width:36px;height:36px;padding:8px;background:transparent;border-color:transparent}.history-backdrop .history-content{flex:1;min-height:0;padding:0 12px 12px;overflow:auto;overscroll-behavior:contain}.history-item{padding:0;border-bottom:1px solid #2c4136}.history-item:has(.history-summary[aria-expanded=true]){background:#1b3027;border-radius:8px}.history-summary{display:grid;grid-template-columns:74px 90px 145px minmax(0,1fr) 94px 16px;grid-template-areas:"time pot board outcome delta chevron";align-items:center;gap:10px;width:100%;min-height:54px;padding:9px 10px;border:0;border-radius:7px;background:transparent;font-size:12px;text-align:left}.history-summary:hover:not(:disabled){background:#253b31}.history-summary:focus-visible{outline:2px solid #d7b47a;outline-offset:-3px}.history-summary time{grid-area:time;font-size:11px;color:#8ea58d;font-variant-numeric:tabular-nums}.history-pot{grid-area:pot;font-size:11px;color:#b7c9ae}.history-board{grid-area:board;display:flex;align-items:center;min-height:34px;min-width:0}.history-board .cards{gap:3px}.history-board .playing-card.small{width:25px;height:34px;padding:3px}.history-board .playing-card.small>b{font-size:12px}.history-board .playing-card.small>span{font-size:14px}.history-board-empty{font-size:10px;color:#73896f}.history-outcome{grid-area:outcome;font-size:11px;color:#a1b399}.history-delta{grid-area:delta;text-align:right;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}.history-pot,.history-outcome,.history-delta{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-chevron{grid-area:chevron;color:#849d7e;transition:transform .15s}.history-summary[aria-expanded=true] .history-chevron{transform:rotate(180deg)}.history-detail{margin:0 10px 8px;padding-top:4px;border-top:1px solid #3f5140}.history-columns,.history-player{display:grid;grid-template-columns:minmax(0,1fr) 66px 70px 100px;align-items:center;gap:10px;min-height:36px;padding:3px 4px;border-radius:5px;font-size:12px}.history-columns{min-height:22px;padding-top:0;padding-bottom:0;color:#81977b;font-size:10px}.history-columns>:last-child{text-align:right}.history-player.is-you{background:#33402c}.history-player-name{display:flex;align-items:center;min-width:0;gap:5px}.history-player-name>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-player-name small{font-size:9px;color:#bdcfa6;flex-shrink:0}.history-player-hand{display:flex;align-items:center;min-width:0}.history-player-hand .cards{gap:3px}.history-player-hand .playing-card.small{width:22px;height:30px;padding:2px 3px}.history-player-hand .playing-card.small>b{font-size:11px}.history-player-hand .playing-card.small>span{font-size:12px}.history-player-rank,.history-hidden-cards{font-size:10px;color:#9bb091}.history-hidden-cards{color:#70856c}.history-player-delta{min-width:0;overflow:hidden;text-overflow:ellipsis;text-align:right;white-space:nowrap;font-size:12px;font-variant-numeric:tabular-nums}.history-player-delta[data-long-amount=true]{overflow:visible;overflow-wrap:anywhere;white-space:normal;font-size:10px;line-height:14px}.history-detail .pot-note{margin:5px 4px 0;color:#95ab88;font-size:10px;line-height:1.5;overflow-wrap:anywhere}.history-detail>p:not(.pot-note),.history-content>.error-text{margin:10px 4px;font-size:12px;line-height:1.6}.history-panel .is-refreshing{animation:spin .8s linear infinite}.empty{padding:55px 0;text-align:center;font-size:13px;line-height:2;color:#a6b99b}.empty small{font-size:11px;color:#6e896d}.lobby{max-width:1000px;margin:0 auto;padding:32px 28px 48px}.lobby-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.lobby-heading h1{font-size:22px;font-weight:500}.lobby-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.room-search{display:flex;align-items:center;gap:9px;padding:0 12px;border:1px solid #354139;border-radius:7px;color:#819284;background:#151c19}.room-search input{width:220px;padding:9px 0;border:0;background:transparent;font-size:12px}.room-search:focus-within{border-color:#9ebf81}.room-search input:focus-visible{outline:none}.rooms-panel{border:1px solid #354b41;border-radius:10px;overflow:hidden;background:#14221e}.rooms-table{width:100%;border-collapse:collapse;text-align:left;table-layout:fixed}.rooms-table th{padding:13px 20px;font-weight:400;font-size:12px;color:#829487;border-bottom:1px solid #354b41}.rooms-table td{padding:17px 20px;font-size:13px;border-bottom:1px solid #29372d}.rooms-table tr:last-child td{border-bottom:0}.rooms-table th:first-child{width:24%}.rooms-table th:nth-child(2){width:25%}.rooms-table th:nth-child(3){width:15%}.rooms-table th:nth-child(4){width:18%}.rooms-table th:last-child{width:18%}.rooms-table td:last-child{text-align:right}.rooms-table td:last-child button{padding:6px 12px;font-size:12px;white-space:nowrap}.room-number{display:inline-flex;align-items:center;gap:8px;font-variant-numeric:tabular-nums;letter-spacing:.8px;color:#e4ebdf}.room-number svg{color:#9eb28f;flex-shrink:0}.room-host{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#aabca9}.room-occupancy{color:#91a48f;font-variant-numeric:tabular-nums;white-space:nowrap}.room-state{font-size:11px;color:#a0b595;white-space:nowrap}.room-state.offline{color:#758676}.room-state.paused{color:#cfb982}.current-room{background:#293b2c}.rooms-table .lobby-empty{text-align:center;color:#7e9380;padding:62px 16px;font-size:13px}.lobby-error,.access-error{color:#e6a498;font-size:12px;line-height:1.6;margin:12px 0}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.refreshing{animation:spin 1s linear infinite}.access-dialog{background:#14221e;color:#e3eade;border:1px solid #3b4b3c;border-radius:12px;padding:0;width:390px;max-width:calc(100vw - 32px);box-shadow:0 24px 80px #0007}.access-dialog::backdrop{background:#0009}.access-dialog-content{padding:24px}.access-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.access-dialog h2{font-size:18px;font-weight:500}.access-dialog label{display:block;margin:18px 0 8px;font-size:12px}.access-dialog input{width:100%;height:44px}.access-dialog input[name=password]{letter-spacing:5px}.access-dialog input[name=password]::placeholder{letter-spacing:0}.access-dialog .wide{margin-top:24px;min-height:42px}.welcome{min-height:var(--app-height, 100dvh);display:grid;place-items:center;padding:24px}.welcome-form{width:min(320px,100%);display:grid;gap:18px}.welcome-form h1{font-size:22px;margin:0 0 4px}.welcome-form input{width:100%;min-height:46px}.user-balance{margin-left:auto;display:flex;align-items:center;gap:14px;color:#a7b0ba;font-size:13px}.user-balance strong{color:#e5bd76;font-variant-numeric:tabular-nums}.admin-page{max-width:1500px;margin:0 auto;padding:24px;min-height:var(--app-height, 100dvh)}.admin-heading,.admin-records header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.admin-heading h1{margin:0;font-size:22px}.admin-heading small{color:#84918d;font-size:13px;font-weight:400;margin-left:8px}.admin-heading button{display:flex;align-items:center;gap:8px}.admin-search{width:min(360px,100%);margin-bottom:20px}.admin-table-wrap{overflow:auto;border:1px solid #293330;border-radius:8px}.admin-table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}.admin-table th{background:#18211e;color:#a2b0a8;font-weight:500}.admin-table th,.admin-table td{padding:13px 16px;white-space:nowrap;border-bottom:1px solid #242e2a}.admin-table tr:last-child td{border-bottom:0}.admin-table .ua-cell{max-width:320px;min-width:180px;white-space:normal;overflow-wrap:anywhere;color:#8c9a93;font-size:12px}.admin-table .numeric{color:#e5bd76;font-variant-numeric:tabular-nums}.admin-table button{padding:6px 12px;font-size:12px}.admin-empty{text-align:center;color:#84918d;height:100px}.admin-records{width:min(820px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:22px;border:1px solid #38443e;border-radius:12px;background:#131b17;color:#e6eae7;overflow:auto}.admin-records::backdrop{background:#000a}.admin-records h2{font-size:18px;margin:0}.admin-records h3{font-size:14px;color:#a2b0a8;margin:24px 0 12px}.admin-records .win{color:#7fc9a2}.admin-records .loss{color:#df8e85}.pwa-update{position:fixed;z-index:25;top:max(12px,calc(var(--app-safe-top, env(safe-area-inset-top)) + 8px));left:50%;transform:translate(-50%);display:flex;align-items:center;gap:9px;width:max-content;max-width:calc(var(--app-width, 100dvw) - 24px);padding:7px 8px 7px 13px;background:#20362b;border:1px solid #b29463;border-radius:10px;box-shadow:0 10px 34px #0007;font-size:12px;color:#dfe9d8}.pwa-update>span{white-space:nowrap}.pwa-update .primary{padding:6px 13px;font-size:12px}.install-guide{width:390px}.install-intro{color:#a7b8a8;font-size:12px;line-height:1.7}.install-steps{list-style:none;margin:18px 0 4px;padding:0;display:grid;gap:12px;font-size:12px;line-height:1.6;color:#c3d0c1}.install-steps li{display:grid;grid-template-columns:22px 1fr;align-items:center;gap:9px}.install-steps b{width:22px;height:22px;border-radius:50%;background:#2b3d2f;border:1px solid #4f6549;color:#eed4a6;display:grid;place-items:center;font-size:11px}.install-steps span{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}.install-steps svg{color:#9db98b}@container player (max-width:600px) and (orientation:portrait){.rooms-panel{border:0;background:transparent}.rooms-table,.rooms-table tbody{display:block;width:100%}.rooms-table thead{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.rooms-table tbody{display:grid;gap:9px;padding-bottom:6px}.rooms-table tr{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"number host action" "occupancy state action";align-items:center;column-gap:10px;row-gap:4px;padding:12px 12px 12px 14px;background:#17271f;border:1px solid #354b41;border-radius:12px}.rooms-table tr.current-room{background:#293b2c;border-color:#a08859}.rooms-table td{padding:0;border:0;text-align:left;font-size:12px}.rooms-table td:nth-child(1){grid-area:number}.rooms-table td:nth-child(2){grid-area:host;min-width:0}.rooms-table td:nth-child(3){grid-area:occupancy}.rooms-table td:nth-child(4){grid-area:state}.rooms-table td:nth-child(5){grid-area:action;align-self:stretch;display:flex;align-items:center;justify-content:flex-end}.rooms-table td:nth-child(5) button{min-width:78px;min-height:46px;padding:0 14px;font-size:12px}.room-number{font-size:17px;font-weight:600;letter-spacing:1px}.room-host{font-size:12px}.room-occupancy{font-size:11px}.room-occupancy:before{content:"人数 ";color:#71857a}.rooms-table td:nth-child(4) .room-state{display:inline-flex;align-items:center;gap:5px;padding:2px 8px;border:1px solid #35483a;border-radius:99px;background:#25332a}.rooms-table td:nth-child(4) .room-state:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.rooms-table tr.empty-row{display:block;padding:0;border:0;background:transparent}.rooms-table tr.empty-row td.lobby-empty{display:block;padding:48px 16px;text-align:center}}.table-effects{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:5;overflow:clip}.flying-chip{position:absolute;width:17px;height:17px;margin:-8px 0 0 -8px;border:3px dashed #f1e3ad;border-radius:50%;background:#a49155;box-shadow:inset 0 0 0 2px #75693e,0 2px 4px #0005;opacity:0;animation:chip-to-winner .76s cubic-bezier(.23,.65,.3,1) both}.flying-chip:nth-child(2n){background:#638875;border-color:#c7dfcc;box-shadow:inset 0 0 0 2px #385a48,0 2px 4px #0005}.payout-label{position:absolute;color:#e3efc9;text-shadow:0 2px 8px #102017;font-size:19px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap;opacity:0;animation:payout-arrived 1.1s ease-out both}@keyframes chip-to-winner{0%{transform:translate(0) scale(.65) rotate(-15deg);opacity:0}10%{opacity:1}50%{transform:translate(var(--mid-x),var(--mid-y)) scale(1) rotate(65deg);opacity:1}88%{opacity:1}to{transform:translate(var(--dx),var(--dy)) scale(.7) rotate(120deg);opacity:0}}@keyframes payout-arrived{0%{transform:translate(-50%,-18px);opacity:0}20%{transform:translate(-50%,-32px);opacity:1}70%{transform:translate(-50%,-37px);opacity:1}to{transform:translate(-50%,-46px);opacity:0}}.lobby{max-width:1100px;height:var(--app-height);padding:32px 28px;display:flex;flex-direction:column;gap:18px}.lobby-heading,.lobby-tools{flex-shrink:0;margin-bottom:0}.lobby-heading h1{color:#f0ddba;font-weight:600}.lobby-title{display:flex;align-items:center;flex-wrap:wrap;gap:8px 24px;min-width:0}.lobby-title .user-balance{margin:0;min-width:0}.user-balance>span{max-width:16ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lobby-heading>button{flex-shrink:0}.lobby-tools .room-search{flex:1;min-width:0;max-width:340px}.lobby-tools .room-search input{width:100%;font-size:14px}.lobby-tools-actions{flex-shrink:0}.rooms-panel{min-height:0;overflow:auto;overscroll-behavior:contain}.rooms-table thead{position:sticky;top:0;z-index:1;background:var(--surface)}.rooms-table td{padding-top:20px;padding-bottom:20px}.rooms-table td:last-child button{min-height:38px}.room-number{color:#ebd4af;font-weight:600}.room-state.playing{color:#e2c58e}.welcome-form{width:min(360px,100%);padding:28px;background:#14221ee6;border:1px solid #7f704a88;border-radius:14px;box-shadow:0 18px 60px #0003;gap:20px}.welcome-form h1{color:#f0ddba;font-size:22px}.welcome-form .wide{margin-top:0}.welcome-form input{font-size:16px}.welcome-heading{flex-wrap:wrap;gap:12px}.header-actions .install-button,.header-actions .view-toggle,.header-actions .sound-toggle{min-height:34px;padding:5px 8px;font-size:11px;gap:4px}.access-dialog{max-width:calc(100vw - 24px);max-height:calc(var(--visible-height, 100dvh) - 24px);overflow:auto;top:calc(var(--visible-top, 0px) + var(--visible-height, 100dvh) / 2);left:50%;right:auto;bottom:auto;margin:0;transform:translate(-50%,-50%);border-color:#8c7750}.access-dialog h2{color:#f0ddba}.access-dialog .icon-button{min-width:36px;min-height:36px}.access-dialog input{font-size:16px}.access-dialog input:disabled{opacity:.65}.toast{position:fixed;z-index:35;top:max(12px,calc(var(--app-safe-top, env(safe-area-inset-top)) + 8px));left:50%;transform:translate(-50%);display:flex;align-items:center;gap:15px;width:max-content;max-width:calc(var(--app-width, 100dvw) - 24px);padding:10px 12px;border:1px solid #9a8152;border-radius:9px;background:#342e20;box-shadow:0 8px 30px #0006;font-size:13px}.toast .icon-button{flex-shrink:0}.history-backdrop .history-panel{max-height:min(780px,100%);border-color:#8b79544d}.history-panel h2{color:#f0ddba}.history-summary{min-height:65px}.history-detail{padding-bottom:8px}.history-player{min-height:43px}.history-player-name small{color:#e0c48e}.history-summary[aria-expanded=true]{color:var(--gold-light)}@container player (max-width:700px){.history-backdrop .history-content{padding:0 6px 6px}.history-backdrop .history-panel header{gap:6px;min-height:52px;padding:7px 10px}.history-summary{grid-template-columns:minmax(0,1fr) auto minmax(62px,1fr) 16px;grid-template-areas:"time pot delta chevron" "board board outcome chevron";gap:5px 7px;padding:8px}.history-columns,.history-player{grid-template-columns:minmax(0,1fr) 48px 40px 82px;gap:6px}.history-detail{margin-left:8px;margin-right:8px}}@container player (max-width:600px) and (orientation:portrait){.lobby{padding:calc(18px + var(--app-safe-top, env(safe-area-inset-top))) 12px max(12px,var(--app-safe-bottom, env(safe-area-inset-bottom)));gap:15px}.lobby-title{flex-direction:column;align-items:flex-start;gap:6px}.lobby-heading{gap:8px}.lobby-heading h1{font-size:22px}.lobby-title .user-balance{font-size:12px;gap:8px}.lobby-heading>button{min-height:44px;padding:8px 12px;font-size:12px}.lobby-tools{gap:7px}.lobby-tools .room-search{max-width:none;padding:0 9px}.lobby-tools .room-search input{font-size:16px}.lobby-tools-actions{gap:4px}.lobby-tools-actions button{padding:6px;min-height:40px}.lobby-tools-actions .view-toggle span,.lobby-tools-actions .install-button span,.lobby-tools-actions .sound-toggle span{display:none}.rooms-table td{padding:0}.rooms-table td:nth-child(5) button{min-height:46px}.rooms-table thead{position:absolute}.welcome{padding:20px}.welcome-form{padding:24px}.history-backdrop .history-panel{max-height:100%}}@container player (max-width:360px) and (orientation:portrait){.toolbar-buttons button{width:32px;padding:6px}.room-title h1 span{font-size:17px}}@container player (orientation:landscape) and (max-height:600px){.lobby{padding:16px 22px;gap:10px}.lobby-heading h1{font-size:20px}.lobby-title .user-balance{font-size:11px}.rooms-table th{padding:9px 15px}.rooms-table td{padding:10px 15px;font-size:12px}.welcome{padding:12px}.welcome-form{padding:18px 24px;gap:12px}.welcome-form h1{font-size:20px}.welcome-form input,.welcome-form .wide{min-height:42px}.access-dialog{width:480px}.access-dialog-content{padding:14px 20px}.access-dialog header{margin-bottom:8px}.access-dialog label{margin:9px 0 5px}.access-dialog .wide{margin-top:12px}.access-form.with-password{display:grid;grid-template-columns:1fr 1fr;column-gap:14px}.access-form.with-password label[for=nickname]{grid-column:1;grid-row:1}.access-form.with-password #nickname{grid-column:1;grid-row:2}.access-form.with-password label[for=room-password]{grid-column:2;grid-row:1}.access-form.with-password #room-password{grid-column:2;grid-row:2}.access-form .wide,.access-form .access-error{grid-column:1/-1}.history-backdrop .history-panel header{min-height:44px;padding:4px 12px}.history-summary{min-height:46px;padding:6px 8px}.history-player{min-height:36px}.history-backdrop .history-content{padding:0 8px 8px}}@media(pointer:coarse){.player-app input:not([type=range]){font-size:16px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}.table-effects{display:none}.refreshing,.is-refreshing{animation:none}}.action-content.keyboard-dock{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 24px 48px;gap:6px;padding:8px 10px 10px;border:1px solid #9d8355;border-radius:10px;background:#14221e;box-shadow:0 8px 35px #0009;z-index:40;overscroll-behavior:contain}.action-content.keyboard-dock .raise-editor{position:relative;left:auto;right:auto;bottom:auto;grid-column:1;grid-row:1;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.action-bar[data-layout=compact-landscape] .keyboard-dock .raise-editor{padding-right:42px}.action-content.keyboard-dock .raise-cancel{top:0;right:0}.action-content.keyboard-dock .turn-label{grid-column:1;grid-row:2;flex-direction:row;align-items:center;justify-content:space-between}.action-content.keyboard-dock .action-buttons{grid-column:1;grid-row:3;position:sticky;bottom:0;z-index:1;background:#14221e}.keyboard-help-backdrop{z-index:50;padding:max(8px,var(--app-safe-top, env(safe-area-inset-top))) max(10px,var(--app-safe-right, env(safe-area-inset-right))) max(8px,var(--app-safe-bottom, env(safe-area-inset-bottom))) max(10px,var(--app-safe-left, env(safe-area-inset-left)))}.keyboard-help{display:flex;flex-direction:column;width:min(720px,100%);max-height:100%;min-width:0;min-height:0;overflow:hidden;border:1px solid #88744f;border-radius:12px;background:#14221e;box-shadow:0 24px 80px #0008}.keyboard-help-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px 12px;border-bottom:1px solid #354b41;flex-shrink:0}.keyboard-help-header h2{margin:0;color:var(--gold-light);font-size:17px;font-weight:600;line-height:24px}.keyboard-help-header p{margin:4px 0 0;color:var(--muted);font-size:11px;line-height:17px}.shortcut-close{width:40px;height:40px;min-height:40px;flex-shrink:0}.keyboard-help-setting{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:4px 16px;border-bottom:1px solid #354b41;font-size:12px;flex-shrink:0}.shortcut-setting-switch{min-height:36px;padding:4px 0 4px 8px;border:0;color:var(--muted);background:transparent;font-size:12px}.shortcut-setting-switch[aria-checked=true]{color:var(--gold-light)}.shortcut-setting-switch:hover:not(:disabled){background:transparent;color:var(--text)}.shortcut-switch-track{position:relative;width:30px;height:18px;border:1px solid #63716a;border-radius:10px;background:#26372e}.shortcut-switch-track:after{content:"";position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:#a9b8ae}.shortcut-setting-switch[aria-checked=true] .shortcut-switch-track{border-color:#d5af6f;background:#d0aa67}.shortcut-setting-switch[aria-checked=true] .shortcut-switch-track:after{left:14px;background:#302719}.keyboard-help-body{min-height:0;overflow:auto;padding:0 16px 14px;overscroll-behavior:contain}.keyboard-help-body:focus-visible{outline:2px solid var(--gold-light);outline-offset:-3px}.shortcut-list{display:grid;margin:0}.shortcut-row{display:grid;grid-template-columns:minmax(100px,.9fr) minmax(0,1fr);align-items:center;gap:12px;min-height:42px;padding:7px 0;border-bottom:1px solid #2d4339}.shortcut-keys{display:flex;flex-wrap:wrap;gap:4px;min-width:0}.shortcut-key{display:inline-flex;align-items:center;justify-content:center;min-width:24px;min-height:24px;padding:2px 6px;border:1px solid #53654f;border-radius:5px;background:#203127;box-shadow:inset 0 -2px #0003;color:#e3d8c1;font-family:inherit;font-size:11px;line-height:18px;white-space:nowrap}.shortcut-row dd{margin:0;font-size:12px;line-height:18px;color:#c2d0c6}.keyboard-help-notes{padding-top:8px;color:var(--muted);font-size:11px;line-height:18px}.keyboard-help-notes p{margin:6px 0 0}@container player (min-width:601px){.shortcut-list{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}}@container player (orientation:landscape) and (max-height:600px){.keyboard-help-header{padding:8px 12px}.keyboard-help-header h2{font-size:15px;line-height:20px}.keyboard-help-header p{margin-top:2px;line-height:15px}.keyboard-help-setting{min-height:40px;padding-right:12px;padding-left:12px}.keyboard-help-body{padding-right:12px;padding-left:12px}.shortcut-row{min-height:36px;padding-top:5px;padding-bottom:5px}}
