*{box-sizing:border-box}:root{--ui-background:#0f2b23;--ui-foreground:#f3eada;--ui-primary:#c9a24a;--ui-primary-foreground:#1c1409;--ui-secondary:#21463a;--ui-secondary-foreground:#f3eada;--ui-muted-foreground:#a8b9ae;--ui-accent:#e3c878;--ui-border:#2c5249;--ui-input:#133228}html,body{color:#f5f1e8;background:#10261e;min-height:100%;margin:0;padding:0}body{background:radial-gradient(circle at top,#ffffff0f,#0000 32rem),#10261e;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input{font:inherit}button{cursor:pointer}a{color:inherit}.shell{width:min(960px,100%);margin:0 auto;padding:24px 16px 60px}.brand{letter-spacing:.18em;text-transform:uppercase;opacity:.7;font-size:12px}.home-kicker-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.version-badge{letter-spacing:.04em;color:#f1c565;background:#f1c5651a;border:1px solid #f1c56547;border-radius:999px;flex:none;padding:5px 8px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;font-weight:750}h1{margin:8px 0 10px;font-family:Georgia,serif;font-size:clamp(42px,9vw,72px);line-height:.95}h2{margin:0 0 16px;font-family:Georgia,serif;font-size:30px}.sub{color:#d9d6ce;max-width:640px;line-height:1.5}.panel{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#f8f3e814;border:1px solid #ffffff21;border-radius:22px;padding:20px;box-shadow:0 16px 50px #0000002e}.grid{gap:16px;display:grid}.home-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));margin-top:34px}label{opacity:.8;margin:0 0 7px;font-size:13px;display:block}input{color:#fff;background:#ffffff14;border:1px solid #ffffff29;border-radius:12px;outline:none;width:100%;padding:13px 14px}input:focus{border-color:#ffffff73}.row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.btn{color:#1d1a13;background:#f1c565;border:0;border-radius:12px;padding:12px 16px;font-weight:750}.btn.secondary{color:#fff;background:#ffffff1a;border:1px solid #ffffff21}.btn.danger{color:#fff;background:#a73535}.btn:disabled{opacity:.42;cursor:not-allowed}.room-code{letter-spacing:.18em;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:28px}.seats{gap:10px;margin:18px 0;display:grid}.seat{background:#ffffff0f;border-radius:14px;justify-content:space-between;align-items:center;padding:12px 14px;display:flex}.seat.me{outline:2px solid #f1c565}.badge{background:#ffffff1a;border-radius:999px;padding:5px 8px;font-size:12px}.scoreboard{grid-template-columns:repeat(4,1fr);gap:8px;margin:14px 0 20px;display:grid}.score{text-align:center;background:#ffffff0f;border-radius:14px;padding:10px}.score strong{font-family:Georgia,serif;font-size:28px;display:block}.score .dealer{color:#f1c565;min-height:16px;font-size:11px}.table{background:#0000001f;border:1px solid #ffffff14;border-radius:24px;margin-top:18px;padding:20px}.count{text-align:center;margin:8px 0 18px}.count strong{font-family:Georgia,serif;font-size:46px;display:block}.cards{flex-wrap:wrap;justify-content:center;gap:10px;margin:14px 0;display:flex}.card{color:#141414;background:#fffdf6;border:0;border-radius:10px;flex-direction:column;justify-content:space-between;width:70px;height:98px;padding:8px;font-family:Georgia,serif;display:flex;box-shadow:0 5px 15px #0000003d}.card.red{color:#b4202a}.card.playable{outline:3px solid #f1c565;transform:translateY(-4px)}.card:disabled{cursor:not-allowed}.card .rank{font-size:22px;line-height:1}.card .suit{text-align:right;font-size:28px;line-height:1}.small{opacity:.75;font-size:13px;line-height:1.4}.notice{background:#f1c5651f;border-radius:12px;margin:12px 0;padding:10px 12px}.error{color:#ffd0d0;background:#a01e1e40;border-radius:12px;padding:10px 12px}.game-shell-active>.error{z-index:90;width:min(100vw - 20px,480px);margin:0;position:fixed;top:56px;left:50%;transform:translate(-50%);box-shadow:0 8px 22px #0008}.center{text-align:center}hr{border:0;border-top:1px solid #ffffff1a;margin:18px 0}@media (max-width:600px){.scoreboard{grid-template-columns:repeat(2,1fr)}.card{width:62px;height:88px}}.score-banner-wrap{z-index:1000;pointer-events:none;width:min(92vw,460px);position:fixed;top:22px;left:50%;transform:translate(-50%)}.score-banner{color:#211b0f;text-align:center;background:#f5e7b8;border:1px solid #0000001f;border-radius:18px;padding:14px 18px;animation:.18s ease-out score-pop;box-shadow:0 18px 55px #00000061}.score-banner-player{font-family:Georgia,serif;font-size:23px;font-weight:700}.score-banner-reasons{flex-wrap:wrap;justify-content:center;gap:6px 12px;margin-top:4px;font-size:13px;display:flex}@keyframes score-pop{0%{opacity:0;transform:translateY(-10px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}.round-summary h3{margin:0;font-family:Georgia,serif;font-size:22px}.results-table-wrap{border:1px solid #ffffff1a;border-radius:16px;width:100%;margin:20px 0;overflow-x:auto}.results-table{border-collapse:collapse;background:#ffffff0a;width:100%;min-width:560px}.results-table th,.results-table td{text-align:right;border-bottom:1px solid #ffffff14;padding:11px 12px}.results-table th:first-child,.results-table td:first-child{text-align:left}.results-table th{text-transform:uppercase;letter-spacing:.08em;opacity:.7;font-size:11px}.results-table tbody tr:last-child td{border-bottom:0}.dealer-dot{color:#f1c565;margin-left:5px;font-size:10px;display:inline-block}.round-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px;display:grid}.hand-summary{padding:16px}.mini-cards{flex-wrap:wrap;align-items:center;gap:6px;margin:12px 0;display:flex}.mini-card{color:#171717;text-align:center;background:#fffdf6;border-radius:7px;min-width:42px;padding:8px 7px;font-family:Georgia,serif;font-weight:700;box-shadow:0 3px 8px #0000002e}.mini-card.red{color:#b4202a}.mini-card.cut-card{outline:2px solid #f1c565}.cut-plus{opacity:.6;padding:0 2px}.breakdown{margin-top:10px}.breakdown-row{border-bottom:1px solid #ffffff0f;justify-content:space-between;padding:5px 0;font-size:13px;display:flex}.breakdown-total{border-bottom:0;margin-top:3px;padding-top:8px;font-size:15px;font-weight:800}.crib-label{letter-spacing:.08em;text-transform:uppercase;color:#f1c565;margin-top:16px;font-size:12px;font-weight:800}.next-round-box{text-align:center;margin-top:20px}@media (max-width:680px){.round-details{grid-template-columns:1fr}}.v12-home{grid-template-columns:minmax(0,1.55fr) minmax(260px,.75fr);align-items:start}.mode-heading{opacity:.8;margin:20px 0 9px;font-size:13px}.mode-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:16px;display:grid}.mode-card{text-align:left;color:#fff;background:#ffffff0e;border:1px solid #ffffff21;border-radius:14px;flex-direction:column;gap:3px;min-height:102px;padding:13px;display:flex}.mode-card:hover{background:#ffffff17}.mode-card.selected{background:#f1c5651f;border-color:#f1c565;box-shadow:inset 0 0 0 1px #f1c565}.mode-title{font-family:Georgia,serif;font-size:18px;font-weight:700}.mode-meta{color:#f1c565;font-size:12px;font-weight:800}.mode-detail{opacity:.72;font-size:11px;line-height:1.35}.create-btn{width:100%}.team-scoreboard{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0 20px;display:grid}.team-score{text-align:center;background:#ffffff0f;border:1px solid #ffffff14;border-radius:16px;padding:13px}.team-score strong{margin:2px 0;font-family:Georgia,serif;font-size:34px;display:block}.partner-lobby{grid-template-columns:1fr auto 1fr;align-items:stretch;gap:12px;margin:18px 0;display:grid}.partner-team{gap:9px;display:grid}.team-label{text-align:center;color:#f1c565;letter-spacing:.08em;text-transform:uppercase;font-size:12px;font-weight:850}.partner-vs{opacity:.5;align-items:center;font-family:Georgia,serif;display:flex}.team-round-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0;display:grid}.team-round-totals>div{background:#f1c5651a;border:1px solid #f1c56538;border-radius:14px;justify-content:space-between;align-items:center;padding:12px 14px;display:flex}.team-round-totals span{opacity:.8;font-size:12px}.team-round-totals strong{font-family:Georgia,serif;font-size:24px}.scoreboard.player-count-2{grid-template-columns:repeat(2,1fr)}.scoreboard.player-count-3{grid-template-columns:repeat(3,1fr)}@media (max-width:760px){.v12-home{grid-template-columns:1fr}}@media (max-width:600px){.mode-grid{grid-template-columns:1fr}.mode-card{min-height:84px}.partner-lobby{grid-template-columns:1fr}.partner-vs{justify-content:center;padding:2px 0}.team-round-totals{grid-template-columns:1fr}.scoreboard.player-count-3{grid-template-columns:1fr 1fr}}.presence-dot{vertical-align:middle;border-radius:999px;width:8px;height:8px;margin-left:7px;display:inline-block}.presence-dot.online{background:#74d680}.presence-dot.offline{opacity:.65;background:#999}.reconnect-helper{background:#ffffff0a;border:1px solid #ffffff1a;border-radius:14px;margin:12px 0 18px}.reconnect-helper summary{cursor:pointer;padding:11px 14px;font-weight:750}.reconnect-helper-body{padding:0 14px 14px}.reconnect-seat-grid{flex-wrap:wrap;gap:8px;display:flex}.reconnect-seat-btn{align-items:center;gap:8px;display:inline-flex}.presence-label{text-transform:uppercase;letter-spacing:.05em;opacity:.75;font-size:10px}.presence-label.online{color:#9be5a4}.presence-label.offline{color:#ddd}.reconnect-code-card{text-align:center;background:#f1c5651f;border:1px solid #f1c5654d;border-radius:14px;margin-top:14px;padding:16px}.reconnect-code-value{letter-spacing:.14em;margin:8px 0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:30px;font-weight:800}.access-tabs{background:#ffffff0f;border-radius:12px;grid-template-columns:1fr 1fr;gap:6px;margin:16px 0;padding:4px;display:grid}.access-tab{color:#fff;background:0 0;border:0;border-radius:9px;padding:9px 10px;font-weight:750}.access-tab.active{background:#ffffff21}.card.discard-selected{outline:3px solid #f1c565;position:relative;transform:translateY(-8px);box-shadow:0 10px 22px #00000052,0 0 0 4px #f1c5652e}.selection-check{color:#1d1a13;background:#f1c565;border:2px solid #10261e;border-radius:999px;place-items:center;width:26px;height:26px;font-family:ui-sans-serif,system-ui,sans-serif;font-size:15px;font-weight:900;line-height:1;display:grid;position:absolute;top:-9px;right:-9px}.discard-selection-status{opacity:.82;margin-top:5px;font-size:12px}.discard-confirm{flex-wrap:wrap;justify-content:center;align-items:center;gap:9px;margin-top:18px;display:flex}.discard-confirm-btn{min-width:170px}@media (max-width:480px){.discard-confirm{flex-direction:column;align-items:stretch}.discard-confirm .btn{width:100%}}.game-shell-active{width:min(1060px,100%);padding-top:14px}.game-topbar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.game-topbar-copy{min-width:0}.game-meta-line{color:#f5f1e8c7;flex-wrap:wrap;align-items:center;gap:6px;margin-top:5px;font-size:13px;display:flex}.meta-dot{opacity:.38}.topbar-room-code{letter-spacing:.12em;color:#f1c565;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:800}.shell:has(.settings-menu){position:relative}.shell:has(.settings-menu) .game-topbar{padding-right:56px}.settings-menu{z-index:100;position:absolute;top:14px;right:16px}.settings-menu-trigger{color:#e8d5a9;background:#183528;border:1px solid #b49b5c88;border-radius:12px;place-items:center;width:46px;height:46px;padding:0;display:grid;box-shadow:0 3px 10px #03160e66}.settings-menu-trigger:focus-visible{outline-offset:2px;outline:2px solid #f1c565}.settings-menu-icon{gap:4px;display:grid}.settings-menu-icon i{background:currentColor;border-radius:2px;width:20px;height:2px;display:block}.settings-menu-panel{width:min(360px,100vw - 20px);max-height:calc(100dvh - 86px - env(safe-area-inset-bottom));overscroll-behavior:contain;background:#10291f;border:1px solid #b49b5c88;border-radius:17px;padding:14px;position:absolute;top:calc(100% + 8px);right:0;overflow-y:auto;box-shadow:0 18px 50px #000b}.settings-menu-heading{color:#ead7aa;margin:0 0 12px;font:500 22px Georgia,serif}.settings-menu-panel .invite-menu,.settings-menu-panel .reconnect-helper,.settings-menu-panel .effect-controls{background:#ffffff09;border:1px solid #b49b5c55;border-radius:11px;margin:0 0 9px}.settings-menu-panel .invite-menu summary,.settings-menu-panel .reconnect-helper summary,.settings-menu-panel .effect-controls summary{color:#f1e4cb;cursor:pointer;min-height:46px;padding:12px 14px;font-weight:750}.settings-menu-panel .invite-menu summary:focus-visible,.settings-menu-panel .reconnect-helper summary:focus-visible,.settings-menu-panel .effect-controls summary:focus-visible{outline-offset:-3px;outline:2px solid #d4b875}.settings-menu-panel .effect-controls>div{gap:8px;padding:0 14px 12px;display:grid}.settings-menu-panel .effect-controls label{align-items:center;gap:10px;min-height:38px;display:flex}.settings-menu-panel .effect-controls p{color:#d9d0ba;margin:0;padding:0 14px 12px;font-size:12px}.settings-menu-panel .whats-new-trigger{text-align:left;background:#ffffff09;border-color:#b49b5c55;width:100%;margin:0}.game-table-shell{margin-top:8px}.felt-table{--felt-tile-size:320px;--felt-texture-strength:.74;--felt-emblem-width:64%;--felt-emblem-max-width:560px;--felt-emblem-opacity:.55;background-color:#103b28;background-image:radial-gradient(ellipse at 24% 10%, #ffffff13, transparent 64%), linear-gradient(145deg, #13392a38, #0820177a), linear-gradient(rgba(16,59,40,calc(1 - var(--felt-texture-strength))), rgba(16,59,40,calc(1 - var(--felt-texture-strength)))), url(/textures/forest-felt-seamless.webp);background-size:auto, auto, auto, var(--felt-tile-size) var(--felt-tile-size);background-repeat:no-repeat,no-repeat,no-repeat,repeat;border:1px solid #ffffff1a;border-radius:34px 34px 22px 22px;min-height:480px;position:relative;overflow:hidden;box-shadow:inset 0 0 0 8px #462a1833,inset 0 0 55px #00000042,0 20px 50px #00000038}.felt-emblem{width:min(var(--felt-emblem-width), var(--felt-emblem-max-width));object-fit:contain;max-height:calc(100% - 32px);opacity:var(--felt-emblem-opacity);pointer-events:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.felt-ring{pointer-events:none;border:1px solid #f1c5651f;border-radius:46%;position:absolute;inset:22px}.table-player{z-index:3;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#071812b3;border:1px solid #ffffff1f;border-radius:999px;align-items:center;gap:9px;min-width:130px;max-width:190px;padding:8px 11px 8px 8px;transition:border-color .18s,box-shadow .18s,transform .18s;display:flex;position:absolute;box-shadow:0 8px 20px #0003}.table-player.is-current{border-color:#f1c565;box-shadow:0 0 0 3px #f1c56529,0 10px 24px #00000042}.table-player.is-partner{border-color:#f1c5656b}.table-player.position-top{top:22px;left:50%;transform:translate(-50%)}.table-player.position-left{top:32%;left:20px}.table-player.position-right{top:32%;right:20px}.table-player.position-self{background:#0a231aeb;bottom:18px;left:50%;transform:translate(-50%)}.table-player.position-self.is-current{transform:translate(-50%)translateY(-3px)}.player-avatar{color:#f7dc99;background:#f1c56524;border:1px solid #f1c56547;border-radius:50%;flex:0 0 34px;place-items:center;width:34px;height:34px;font-family:Georgia,serif;font-size:12px;font-weight:800;display:grid}.player-pod-copy{min-width:0}.player-name-line{align-items:center;min-width:0;display:flex}.player-name{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:800;overflow:hidden}.player-score-line{color:#f5f1e8ad;text-transform:uppercase;letter-spacing:.06em;align-items:baseline;gap:6px;margin-top:1px;font-size:9px;display:flex}.player-score-line strong{color:#fff8e8;font-family:Georgia,serif;font-size:19px;line-height:1}.dealer-button{color:#2b2419;background:#eee4cf;border:2px solid #7f6a43;border-radius:50%;place-items:center;width:23px;height:23px;font-family:Georgia,serif;font-size:11px;font-weight:900;display:grid;position:absolute;top:-7px;right:-5px;box-shadow:0 3px 8px #0000004d}.table-center-zone{z-index:2;text-align:center;width:min(58%,430px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.center-game-state{flex-direction:column;align-items:center;display:flex}.center-eyebrow{letter-spacing:.18em;text-transform:uppercase;color:#f5f1e899;font-size:10px;font-weight:900}.big-count{color:#fff8e8;text-shadow:0 3px 18px #00000052;margin:1px 0 5px;font-family:Georgia,serif;font-size:clamp(60px,9vw,92px);line-height:.95}.center-state-title{color:#fff8e8;margin-top:8px;font-family:Georgia,serif;font-size:clamp(23px,4vw,34px)}.center-state-copy{color:#f5f1e8b3;margin-top:5px;font-size:12px}.crib-mark{color:#f5f1e8d1;grid-template-columns:repeat(2,30px);gap:3px;margin:12px 0 2px;font-family:Georgia,serif;font-size:25px;line-height:1;display:grid}.crib-mark span:nth-child(2),.crib-mark span:nth-child(3){color:#d86e72}.table-sequence{flex-wrap:nowrap;justify-content:center;align-items:center;max-width:100%;min-height:66px;margin:5px 0 7px;display:flex}.table-played-card{color:#171717;text-align:left;background:#fffdf6;border:1px solid #00000024;border-radius:7px;flex-direction:column;justify-content:space-between;width:46px;height:64px;margin-left:-8px;padding:5px 6px;font-family:Georgia,serif;font-size:15px;display:flex;box-shadow:0 5px 11px #00000038}.table-played-card:first-child{margin-left:0}.table-played-card strong{align-self:flex-end;font-size:20px;line-height:1}.table-played-card.red{color:#b4202a}.table-played-card.from-bottom{transform:translateY(7px)}.table-played-card.from-top{transform:translateY(-7px)}.table-played-card.from-left{transform:translate(-7px)}.table-played-card.from-right{transform:translate(7px)}.table-played-card.from-upper-left{transform:translate(-6px,-6px)}.table-played-card.from-upper-right{transform:translate(6px,-6px)}.empty-sequence{color:#f5f1e87a;border:1px dashed #ffffff29;border-radius:999px;padding:10px 13px;font-size:11px}.center-turn-message{color:#f5f1e8b8;background:#0000002b;border-radius:999px;margin-top:3px;padding:6px 11px;font-size:11px;font-weight:800}.center-turn-message.my-turn{color:#f5d88d;background:#f1c56529;border:1px solid #f1c56542}.sequence-result{color:#f7dc99;background:#f1c56526;border:1px solid #f1c56559;border-radius:12px;flex-direction:column;gap:1px;margin-top:3px;padding:7px 12px;animation:.18s ease-out score-pop;display:flex}.sequence-result strong{font-family:Georgia,serif;font-size:18px}.sequence-result span{font-size:11px;font-weight:800}.sequence-result small{color:#f5f1e8b8;font-size:9px}.pegging-final-hold{background:#123b2b;border-radius:20px;place-items:center;min-height:280px;padding:16px;display:grid}.history-row{border-top:1px solid #ffffff12;grid-template-columns:minmax(76px,1fr) 42px 34px minmax(120px,2fr);align-items:center;gap:8px;min-height:43px;padding:5px 7px;display:grid}.history-row .mini-card{min-width:38px;padding:6px 4px;font-size:12px}.history-player{text-overflow:ellipsis;white-space:nowrap;font-weight:750;overflow:hidden}.history-count{text-align:center;font-family:Georgia,serif}.history-score{color:#f1c565;text-align:left;font-size:10px}.history-link{color:#f1c565;text-underline-offset:2px;background:0 0;border:0;margin-top:4px;padding:3px 7px;font-size:9px;font-weight:800;text-decoration:underline}.history-link:disabled{opacity:.42;cursor:default}.history-modal-backdrop{z-index:1200;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#000000a8;justify-content:center;align-items:flex-end;padding:18px;display:flex;position:fixed;inset:0}.history-modal{background:#10261e;border:1px solid #ffffff26;border-radius:24px;width:min(620px,100%);max-height:min(82vh,760px);overflow:hidden;box-shadow:0 24px 70px #00000080}.history-modal-header{justify-content:space-between;align-items:flex-start;padding:18px 18px 10px;display:flex}.history-modal-header h2{margin:4px 0 0;font-size:27px}.history-close{color:#fff;background:#ffffff14;border:1px solid #ffffff24;border-radius:50%;width:38px;height:38px;font-size:25px;line-height:1}.history-sequences{max-height:calc(min(82vh,760px) - 84px);padding:0 14px 18px;overflow-y:auto}.history-sequence{background:#ffffff0b;border-radius:14px;margin-top:10px;padding:10px}.history-sequence h3{color:#f1c565;margin:0 0 4px;font-family:Georgia,serif;font-size:16px}.cut-card-chip{color:#f5f1e88f;text-transform:uppercase;letter-spacing:.1em;align-items:center;gap:6px;margin-top:8px;font-size:10px;display:flex}.cut-card-chip .mini-card{min-width:33px;padding:5px 6px;font-size:12px}.hand-dock{z-index:5;background:linear-gradient(#14221dfa,#0a1914fc);border:1px solid #ffffff1f;border-radius:20px;margin:-10px 12px 0;padding:14px 14px 16px;position:relative;box-shadow:0 16px 32px #00000047}.hand-dock.is-my-turn{border-color:#f1c5655c;box-shadow:0 0 0 3px #f1c56512,0 16px 32px #00000047}.hand-dock-header{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.hand-owner{font-family:Georgia,serif;font-size:16px;font-weight:800}.hand-status{color:#f5f1e8a3;margin-top:2px;font-size:11px}.turn-pill{color:#f5f1e8a8;text-transform:uppercase;letter-spacing:.06em;background:#ffffff0f;border-radius:999px;flex:none;padding:6px 9px;font-size:10px;font-weight:850}.turn-pill.active{color:#1d1a13;background:#f1c565}.table-hand-cards{flex-wrap:nowrap;justify-content:center;align-items:flex-end;gap:clamp(4px,1.5vw,9px);width:100%;display:flex}.table-hand-cards .table-hand-card{aspect-ratio:5/7;flex:1 1 0;width:auto;min-width:42px;max-width:74px;height:auto;min-height:60px;padding:clamp(5px,1.4vw,8px)}.table-hand-cards .table-hand-card .rank{font-size:clamp(15px,4.6vw,22px)}.table-hand-cards .table-hand-card .suit{font-size:clamp(19px,5.8vw,28px)}.table-hand-card.playable{transform:translateY(-7px)}.table-discard-actions{margin-top:13px}@media (max-width:720px){.game-shell-active{padding-left:10px;padding-right:10px}.felt-table{border-radius:26px 26px 18px 18px;min-height:430px}.felt-ring{inset:16px}.table-player{gap:6px;min-width:112px;max-width:142px;padding:6px 8px 6px 6px}.player-avatar{flex-basis:30px;width:30px;height:30px;font-size:10px}.player-score-line strong{font-size:17px}.table-player.position-left{top:27%;left:10px}.table-player.position-right{top:27%;right:10px}.table-center-zone{width:min(66%,360px);top:51%}.big-count{font-size:62px}.table-played-card{width:40px;height:57px;font-size:13px}.table-played-card strong{font-size:17px}.hand-dock{margin-left:5px;margin-right:5px;padding-left:8px;padding-right:8px}}@media (max-width:480px){.game-topbar{align-items:flex-start}.game-meta-line{gap:4px;font-size:11px}.felt-table{min-height:405px}.felt-ring{display:none}.table-player{border-radius:14px;min-width:100px;max-width:124px}.table-player.position-top{top:12px}.table-player.position-left{top:24%;left:7px}.table-player.position-right{top:24%;right:7px}.table-player.position-self{bottom:12px}.player-avatar{display:none}.player-name{font-size:11px}.player-score-line{gap:4px;font-size:8px}.dealer-button{width:20px;height:20px;font-size:9px}.table-center-zone{width:min(74%,280px);top:51%}.center-state-title{font-size:23px}.big-count{font-size:56px}.table-sequence{min-height:56px}.table-played-card{width:37px;height:52px;margin-left:-9px;padding:4px 5px}.center-turn-message{font-size:10px}.history-modal-backdrop{padding:0}.history-modal{border-radius:22px 22px 0 0;max-height:90vh}.history-sequences{max-height:calc(90vh - 84px);padding-left:9px;padding-right:9px}.history-row{grid-template-columns:minmax(64px,1fr) 38px 28px minmax(88px,1.5fr);gap:5px}.hand-dock-header{align-items:flex-start}.hand-owner{font-size:14px}.hand-status{max-width:225px}.table-hand-cards .table-hand-card{min-width:0}.selection-check{width:22px;height:22px;font-size:12px;top:-7px;right:-7px}}.invite-panel{background:#ffffff0f;border:1px solid #ffffff1f;border-radius:18px;margin:14px 0 18px;padding:18px}.invite-panel.compact{background:0 0;border:0;border-radius:0;margin:0;padding:12px 14px 14px}.invite-panel-copy h2{margin-bottom:5px}.invite-code-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.invite-room-code{letter-spacing:.18em;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:28px;font-weight:800}.invite-actions{flex-wrap:wrap;gap:8px;display:flex}.invite-link-text{word-break:break-all;opacity:.82;background:#0000001f;border-radius:10px;margin-top:12px;padding:9px 11px;font-size:12px}.invite-notice{color:#f1c565;margin-top:10px;font-size:13px}.qr-wrap{justify-items:center;gap:7px;margin-top:14px;display:grid}.qr-wrap img{background:#fff;border-radius:14px;width:min(260px,72vw);height:auto;padding:10px}.invite-menu{background:#ffffff0a;border:1px solid #ffffff1a;border-radius:14px;margin:12px 0}.invite-menu summary{cursor:pointer;padding:11px 14px;font-weight:750}@media (max-width:560px){.invite-code-row{flex-direction:column;align-items:stretch}.invite-actions{grid-template-columns:1fr 1fr;display:grid}.invite-actions .btn:first-child{grid-column:1/-1}}.partner-setup{gap:16px;display:grid}.team-name-editor{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:14px;padding:14px}.team-name-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:8px;margin-top:8px;display:grid}.team-capacity{opacity:.7;margin-bottom:8px;font-size:11px}.team-choice-btn{width:100%;margin-top:8px}.team-selected-label{text-align:center;color:#f1c565;background:#f1c56524;border-radius:10px;margin-top:8px;padding:8px 10px;font-size:12px;font-weight:800}.cut-for-deal-panel{margin-top:16px}.cut-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0;display:grid}.cut-grid.player-count-2{grid-template-columns:repeat(2,minmax(0,1fr))}.cut-grid.player-count-3{grid-template-columns:repeat(3,minmax(0,1fr))}.cut-player{text-align:center;background:#ffffff0d;border:1px solid #ffffff17;border-radius:14px;min-width:0;padding:12px 8px}.cut-player.winner{background:#f1c5651f;border-color:#f1c565a6}.cut-player-name{margin-bottom:7px;font-weight:800}.cut-player .mini-card{margin:9px auto}.cut-card-placeholder{opacity:.55;border:1px dashed #ffffff40;border-radius:7px;place-items:center;width:42px;height:52px;margin:9px auto;font-family:Georgia,serif;font-size:24px;display:grid}.cut-winner-box{background:#f1c5651a;border:1px solid #f1c56540;border-radius:16px;justify-items:center;gap:10px;margin-top:18px;padding:16px;display:grid}.dealer-chip{color:#1d1a13;background:#f1c565;border-radius:999px;place-items:center;width:38px;height:38px;font-family:Georgia,serif;font-size:20px;font-weight:900;display:grid;box-shadow:0 5px 15px #00000038}@media (max-width:680px){.team-name-fields{grid-template-columns:1fr}.cut-grid,.cut-grid.player-count-3{grid-template-columns:repeat(2,minmax(0,1fr))}}.card{text-align:center;justify-content:center;align-items:center;position:relative}.card-center-value{justify-content:center;align-items:baseline;gap:1px;font-family:Georgia,serif;font-size:24px;font-weight:700;line-height:1;display:inline-flex}@media (max-width:600px){.card-center-value{font-size:22px}}.counting-sequence{margin-top:14px}.counting-card{background:#fff1;border:1px solid #ffffff1f;border-radius:20px;max-width:680px;margin:18px auto 0;padding:22px}.counting-intro .counting-card,.counting-complete .counting-card{padding-top:34px;padding-bottom:34px}.counting-slide{animation:.24s ease-out counting-slide-in}@keyframes counting-slide-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.counting-step-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.counting-step-heading h2{margin:3px 0 0}.counting-hand-cards{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin:22px 0 18px;display:flex}.counting-score-main{justify-content:center;align-items:baseline;gap:12px;margin-top:8px;display:flex}.counting-score-main span{text-transform:uppercase;letter-spacing:.08em;opacity:.7;font-size:14px}.counting-score-main strong{color:#f1c565;font-family:Georgia,serif;font-size:42px;line-height:1}.counting-score-change{justify-content:center;gap:10px;margin-top:9px;font-size:14px;display:flex}.counting-winner{text-align:center;background:#f1c5651f;border:1px solid #f1c56559;border-radius:14px;max-width:420px;margin:18px auto 0;padding:14px}.counting-winner strong{margin-top:4px;font-family:Georgia,serif;font-size:24px;display:block}.counting-details-toggle{color:inherit;text-underline-offset:3px;opacity:.82;cursor:pointer;background:0 0;border:0;margin:18px auto 0;padding:7px 10px;text-decoration:underline;display:block}.counting-details{max-width:420px;margin:8px auto 0}.counting-progress{background:#ffffff17;border-radius:999px;height:4px;margin:20px 0 14px;overflow:hidden}.counting-progress-fill{border-radius:inherit;background:#f1c565b8;height:100%;transition:width 80ms linear}.counting-continue{min-width:150px;margin:0 auto;display:block}.crib-step .counting-card{background:linear-gradient(#f1c5650e,#f1c5650e),#ffffff0e;border-color:#f1c56557}.crib-step .brand{color:#f1c565}.round-complete-totals{opacity:.82;flex-wrap:wrap;justify-content:center;gap:7px 16px;margin-top:12px;font-size:13px;display:flex}.home-shell{padding-top:24px}.home-hero{background:repeating-linear-gradient(2deg,#0000 0 7px,#301d1410 8px,#0000 10px 19px),radial-gradient(at 28% 0,#ceaa7833,#0000 75%),linear-gradient(105deg,#493020,#65462d 48%,#3f291c);border:1px solid #a57b4c66;border-bottom:5px solid #3b2418;border-radius:25px;padding:24px 24px 28px;box-shadow:0 9px 18px #030e0a77,inset 0 1px #efd0a066,inset 0 0 0 4px #29190f22}.home-hero h1{color:#f3e6cb;margin:18px 0 14px;font-size:clamp(38px,7vw,64px);font-weight:500}.home-hero .sub{color:#e3d5bc;margin-bottom:12px;font-size:14px}.home-descriptor{color:#e1c88d;margin:0;font-family:Georgia,serif;font-size:17px}.home-hero .version-badge{color:#e1c88d;background:#d4b87512;border-color:#d4b87555}.home-shell .home-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:18px;margin-top:24px}.home-shell .panel,.lobby-screen .lobby-panel{background:radial-gradient(at 50% 0,#27543d77,#0000 65%),linear-gradient(145deg,#173b2d,#0e291f);border:1px solid #b49b5c55;border-radius:24px;box-shadow:inset 0 1px #f7e3b50a,0 12px 26px #02130c44}.home-shell h2,.lobby-screen h2{color:#f3e7cf;font-size:27px;font-weight:500}.home-form-copy{color:#cdc8b6;margin:-5px 0 20px;font-size:13px}.home-shell label{color:#e2d6bb;opacity:1}.home-shell input,.lobby-screen input{color:#f3e7cf;background:#08271e88;border-color:#b49b5c44;font-size:16px}.home-shell input:focus-visible,.lobby-screen input:focus-visible{outline-offset:2px;outline:2px solid #d4b875}.home-shell input::placeholder{color:#a7ad9a}.home-shell .btn,.lobby-screen .lobby-start,.lobby-screen .invite-actions .btn:first-child{color:#243124;background:linear-gradient(#e0c88c,#c3a461);border:1px solid #e5ce97;min-height:46px;box-shadow:0 3px #78623d}.home-shell .btn:disabled,.lobby-screen .btn:disabled{opacity:.45;box-shadow:none}.home-shell .mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-shell .mode-card{color:#f3e7cf;background:#08291f66;border-color:#b49b5c33;min-width:0;min-height:112px}.home-shell .mode-card.selected{background:#c7a76218;border-color:#c7a762;box-shadow:inset 0 0 0 1px #c7a762}.home-shell .mode-card:disabled{cursor:not-allowed}.home-shell .mode-meta{color:#dfc88e;font-weight:500}.home-shell .mode-title{font-size:18px;font-weight:500}.home-shell .mode-detail{color:#cfcbb7;opacity:1}.home-shell .join-panel .btn{width:100%}.home-shell .reconnect-panel{grid-column:1/-1;padding:0}.home-shell .reconnect-panel summary{cursor:pointer;color:#e2cea2;padding:18px 20px}.home-shell .reconnect-form{max-width:520px;padding:0 20px 20px}.home-shell .reconnect-panel .small{color:#d5ceba;opacity:1;margin-top:0}.home-shell .btn.secondary,.lobby-screen .btn.secondary{color:#e4d7bb;box-shadow:none;background:#0c2b2077;border:1px solid #b49b5c66}.lobby-screen .invite-panel{color:#f1dfbc;background:repeating-linear-gradient(2deg,#0000 0 7px,#301d1410 8px,#0000 10px 19px),linear-gradient(105deg,#493020,#65462d 48%,#3f291c);border:1px solid #a57b4c77;border-bottom:5px solid #3b2418;border-radius:24px;padding:24px;box-shadow:0 9px 18px #030e0a55,inset 0 1px #efd0a055}.lobby-screen .invite-panel .small{color:#e3d5bc;opacity:1}.lobby-screen .invite-link-text{overflow-wrap:anywhere;color:#d9c9aa}.lobby-readiness{color:#d4cbb4;background:#08291f66;border:1px solid #b49b5c33;border-radius:12px;flex-wrap:wrap;justify-content:space-between;gap:8px;margin:18px 0;padding:10px 12px;font-size:13px;display:flex}.lobby-screen .seat{background:#0a2b2077;border:1px solid #b49b5c26;gap:10px;min-width:0;min-height:66px}.lobby-seat-identity{align-items:center;gap:10px;min-width:0;display:flex}.lobby-avatar{color:#e1c88d;background:#d4b87516;border:1px solid #c9ad6877;border-radius:50%;flex:0 0 34px;place-items:center;width:34px;height:34px;font:12px Georgia,serif;display:grid}.lobby-seat-copy{gap:4px;min-width:0;display:grid}.lobby-seat-copy b{color:#f1e4cb;overflow-wrap:anywhere;font-weight:500}.lobby-seat-meta{color:#bcbca9;font-size:11px}.lobby-screen .badge{color:#e0c68a;background:#b79a5d16;border:1px solid #b79a5d66}.lobby-screen .partner-lobby{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.lobby-screen .partner-team{background:#09271d66;border:1px solid #b49b5c33;border-radius:18px;align-content:start;min-width:0;padding:16px 12px}.lobby-screen .team-label{color:#dfc88e;overflow-wrap:anywhere}.lobby-screen .team-name-editor{background:#09271d66;border-color:#b49b5c33}.lobby-screen .team-name-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}.lobby-start{margin-top:12px}@media (max-width:760px){.home-shell .home-grid{grid-template-columns:minmax(0,1fr)}.lobby-screen .team-name-fields{grid-template-columns:1fr}}@media (max-width:600px){.home-hero{padding:20px 16px}.home-shell .mode-title{font-size:17px}.home-shell .panel{padding:20px 16px}.home-shell .reconnect-panel{padding:0}.lobby-screen .invite-panel{padding:20px 16px}.lobby-screen .partner-lobby{grid-template-columns:1fr}.lobby-screen .lobby-start{width:100%}}.results-screen-shell{max-width:960px;margin:14px auto 0}.results-screen-shell .results-surface{color:#f3e7cf;background:radial-gradient(at 50% 5%,#27543d88,#0000 65%),linear-gradient(145deg,#173f31,#0c291e);border:1px solid #b49b5c55;border-radius:28px;padding:28px 24px;box-shadow:inset 0 0 0 6px #4b302122,inset 0 0 40px #03160e44,0 14px 30px #02130c44}.results-screen-shell h2{color:#f3e7cf;overflow-wrap:anywhere;margin:10px 0;font:500 clamp(25px,4vw,34px) Georgia,serif}.results-screen-shell .results-table-wrap{background:#08271d66;border-color:#b99b5c44;border-radius:14px}.results-screen-shell .results-table{font-variant-numeric:tabular-nums;background:0 0}.results-screen-shell .results-table th{color:#d6c59d;opacity:1;background:#b99b5c0c;font-weight:500}.results-screen-shell .results-table th,.results-screen-shell .results-table td{border-bottom-color:#cab07822}.results-screen-shell .dealer-dot{color:#dfc384}.results-screen-shell .team-round-totals{gap:12px}.results-screen-shell .team-round-totals>div{background:#c7a76212;border:1px solid #b99b5c44;border-radius:14px}.results-screen-shell .team-round-totals strong{color:#e3c786;font-weight:500}.results-screen-shell .hand-summary{background:linear-gradient(#1f443288,#0b281d88);border:1px solid #b99b5c33;border-radius:18px;box-shadow:inset 0 1px #fff2cc0c}.results-screen-shell .hand-summary>.row{flex-wrap:wrap;gap:8px}.results-screen-shell .hand-summary h3{overflow-wrap:anywhere;font-size:21px;font-weight:500}.results-screen-shell .badge{color:#dfc98f;background:#c7a76214;border:1px solid #b99b5c55}.results-screen-shell .mini-card{background:linear-gradient(115deg,#fff9ec,#eee3ce);border:1px solid #d9c9a6;min-width:36px;font-size:18px;box-shadow:0 4px 8px #03180f55}.results-screen-shell .cut-card{outline-color:#c7a762}.results-screen-shell .cut-plus,.results-screen-shell .crib-label{color:#d4bc80}.results-screen-shell .breakdown-row{color:#e5ddc9;border-color:#cab07822}.results-screen-shell .breakdown-total{color:#f3dfae}.results-screen-shell .next-round-box{border-top:1px solid #c7a76233;margin-top:24px;padding-top:20px}.results-screen-shell .next-round-box .notice{color:#d9d0ba;background:#c7a7620c;border-color:#b99b5c44}.results-screen-shell .results-primary{color:#243124;background:linear-gradient(#e0c88c,#c3a461);border:1px solid #e5ce97;min-width:200px;min-height:46px;box-shadow:0 3px #78623d}.results-screen-shell .results-primary:disabled{opacity:.5;box-shadow:none}.game-over-heading{justify-items:center;gap:10px;padding:8px 0 20px;display:grid}.finish-medallion{color:#392b18;background:radial-gradient(circle at 30% 20%,#ffefd0,#d3b771 55%,#927344);border:2px solid #e2c992;border-radius:50%;place-items:center;width:68px;height:68px;margin:8px 0 4px;font:27px Georgia,serif;display:grid;box-shadow:0 5px #6b5131,0 9px 18px #04170f66,inset 0 0 0 4px #f7e2b04d}.game-over-screen .game-over-final-score{text-transform:uppercase;letter-spacing:.1em;color:#d3c6a4;gap:5px;margin:0;font-size:12px;display:grid}.game-over-final-score strong{color:#e3c786;letter-spacing:0;font:500 38px Georgia,serif}.game-over-note{color:#cec9b6;margin:0;font-size:13px}.game-over-menu-action{margin-top:12px}.final-round-heading{color:#e0c791;border-top:1px solid #c7a76233;margin:18px 0 0;padding-top:18px;font:500 21px Georgia,serif}@media (max-width:480px){.results-screen-shell .results-surface{border-radius:22px;padding:24px 12px}.results-screen-shell .hand-summary{padding:14px 10px}.results-screen-shell .results-primary{width:100%}.game-over-heading{padding-inline:4px}}.counting-sequence .counting-card{color:#f3e7cf;background:radial-gradient(at 50% 30%,#27543d88,#0000 65%),linear-gradient(145deg,#173f31,#0c291e);border:1px solid #b49b5c55;border-radius:28px;max-width:680px;padding:26px;box-shadow:inset 0 0 0 6px #4b302122,inset 0 0 40px #03160e44,0 14px 30px #02130c44}.counting-sequence .counting-step-heading h2{color:#f3e7cf;overflow-wrap:anywhere;margin:6px 0;font:500 clamp(23px,4vw,32px) Georgia,serif}.counting-step-heading>div{min-width:0}.counting-sequence .badge{color:#e0c68a;background:#b79a5d16;border:1px solid #b79a5d66}.counting-card-layout{background:#08281c66;border:1px solid #b99b5c33;border-radius:18px;justify-content:center;align-items:center;gap:14px;margin:24px 0;padding:18px 10px;display:flex;box-shadow:inset 0 3px 12px #03150c66}.counting-card-group{justify-items:center;gap:9px;display:grid}.counting-card-label{letter-spacing:.1em;text-transform:uppercase;color:#d4c59f;font-size:11px}.counting-sequence .counting-hand-cards{flex-wrap:nowrap;gap:8px;margin:0}.counting-sequence .counting-hand-cards .mini-card{background:linear-gradient(115deg,#fff9ec,#eee3ce);border:1px solid #d9c9a6;border-radius:7px;width:54px;min-width:0;height:76px;font-size:24px;box-shadow:0 5px 9px #03180f66}.counting-sequence .counting-hand-cards .cut-card{border:2px solid #c7a762}.counting-sequence .cut-plus{color:#bba168;align-self:center;margin-top:20px}.counting-sequence .counting-score-main{gap:14px}.counting-sequence .counting-score-main span{color:#d9d0ba;opacity:1;font-size:12px}.counting-sequence .counting-score-main strong{color:#e3c786;font-size:48px;font-weight:500}.counting-sequence .counting-score-change{color:#e2d5bb;flex-wrap:wrap;margin-top:12px}.counting-score-change b{color:#f8ead0;font-variant-numeric:tabular-nums;font-weight:500}.counting-sequence .counting-details-toggle{color:#dfc98e;opacity:1;min-height:44px;font-size:13px}.counting-sequence .counting-details{background:#08261c99;border:1px solid #b99b5c33;border-radius:12px;padding:12px}.counting-timer-note{text-align:center;color:#d1cbb7;max-width:380px;margin:15px auto 0;font-size:12px}.counting-sequence .counting-progress{background:#f4eddd13;height:3px;margin-top:16px}.counting-sequence .counting-progress-fill{background:#c8ad70}.counting-sequence .counting-continue{color:#243124;background:linear-gradient(#e0c88c,#c3a461);border:1px solid #e5ce97;min-width:180px;min-height:46px;box-shadow:0 3px #78623d}.counting-sequence.crib-step .counting-card{background:radial-gradient(at 50% 0,#bf9b4820,#0000 65%),linear-gradient(145deg,#1d4030,#0c291e);border-color:#d1b57099}.counting-sequence .counting-winner{background:#d4b87518;border-color:#c7a76288}.counting-intro .counting-card,.counting-complete .counting-card{padding-block:38px}.counting-intro h2,.counting-complete h2{color:#f3e7cf;font-family:Georgia,serif;font-weight:500}.counting-complete .round-complete-totals span{color:#e3d3ad;background:#c7a76216;border-radius:999px;padding:7px 12px}@media (max-width:480px){.counting-sequence .counting-card{border-radius:22px;padding:20px 12px}.counting-card-layout{gap:8px;padding:16px 6px}.counting-sequence .counting-hand-cards{gap:5px}.counting-sequence .counting-hand-cards .mini-card{width:32px;height:48px;font-size:17px}.counting-sequence .counting-continue{width:100%}}.cut-table-shell{margin-top:12px}.cut-table-shell .cut-for-deal-panel{background:radial-gradient(at 50% 35%,#27543d88,#0000 65%),linear-gradient(145deg,#173f31,#0c291e);border:1px solid #b49b5c55;border-radius:30px;max-width:900px;margin:0 auto;padding:30px 24px 26px;position:relative;box-shadow:inset 0 0 0 7px #4b302122,inset 0 0 45px #03160e55,0 14px 30px #02130c44}.cut-intro h2{color:#f3e7cf;margin:10px 0;font-family:Georgia,serif;font-size:clamp(24px,4vw,34px);font-weight:500}.cut-rule{color:#d7d0bb;max-width:410px;margin:0 auto;font-size:13px}.cut-table-shell .cut-grid{gap:16px;max-width:740px;margin:26px auto}.cut-table-shell .cut-grid.player-count-2{max-width:480px}.cut-table-shell .cut-player{background:linear-gradient(#1d422f88,#0b281d88);border:1px solid #c8ad6b30;border-radius:19px;flex-direction:column;align-items:center;padding:16px 10px 14px;display:flex;box-shadow:inset 0 1px #fff2cc0c}.cut-table-shell .cut-player.winner{background:linear-gradient(#cfaf6422,#153c2a);border-color:#c7a762;box-shadow:0 0 0 3px #c7a76218}.cut-avatar{color:#e1c88d;background:#d4b87516;border:1px solid #c9ad6877;border-radius:50%;place-items:center;width:34px;height:34px;margin-bottom:7px;font:12px Georgia,serif;display:grid}.cut-table-shell .cut-player-name{overflow-wrap:anywhere;color:#f1e4cb;max-width:100%;margin:0;font-size:13px;font-weight:500}.cut-team-label{color:#cbbd98;overflow-wrap:anywhere;margin-top:4px;font-size:11px}.cut-reveal-space{perspective:650px;place-items:center;min-height:140px;display:grid}.cut-face,.cut-deck-back{border-radius:8px;place-items:center;width:78px;height:110px;display:grid;box-shadow:0 8px 14px #03180f88}.cut-face{color:#1e2c22;background:linear-gradient(115deg,#fff9ec,#eee3ce);border:1px solid #d9c9a6;font:27px Georgia,serif;animation:.34s cubic-bezier(.22,.65,.3,1) both cut-card-reveal}.cut-face.red{color:#a13d35}.cut-deck-back{outline-offset:-7px;color:#d4bf89;background:repeating-linear-gradient(45deg,#2b4b3a 0 3px,#385c47 3px 4px);border:3px solid #d7ccb2;outline:1px solid #837b61}.cut-deck-back span{background:#203d2f;border:1px solid #c3ab6b99;border-radius:50%;place-items:center;width:39px;height:46px;font:15px Georgia,serif;display:grid}.cut-tap-card{cursor:pointer;touch-action:manipulation;padding:0;transition:transform .14s ease-out,filter .14s ease-out}.cut-tap-card:hover:not(:disabled),.cut-tap-card.cut-pending{filter:brightness(1.15);transform:translateY(-6px)scale(1.03)}.cut-tap-card.cut-pending:disabled{opacity:1}.cut-tap-card:focus-visible{outline-offset:4px;outline:3px solid #f1c565}.cut-player-status{color:#d1c6a8;min-height:17px;font-size:12px}.cut-player.winner .cut-player-status{color:#e3c786}.cut-previous{color:#bdb9a7;margin-top:7px;font-size:11px}.cut-inactive .cut-deck-back{opacity:.38}.cut-recut-note{color:#e2d2aa;text-align:center;background:#d5b46a12;border:1px solid #b99b5c55;border-radius:12px;max-width:560px;margin:18px auto 0;padding:10px 14px;font-size:13px}.cut-actions{justify-items:center;gap:12px;display:grid}.cut-actions p{color:#d8d0ba;margin:0;font-size:13px}.cut-table-shell .cut-primary{color:#243124;background:linear-gradient(#e0c88c,#c3a461);border:1px solid #e5ce97;min-width:180px;min-height:46px;box-shadow:0 3px #78623d}.cut-table-shell .cut-primary:disabled{opacity:.5;box-shadow:none}.cut-table-shell .cut-winner-box{background:linear-gradient(#c3a46116,#102d2166);border:1px solid #c3a46155;border-radius:18px;gap:12px;width:min(100%,520px);margin:0;padding:18px}.cut-table-shell .dealer-chip{color:#3b2c1b;background:linear-gradient(#f0e3c6,#bea678);border:1px solid #b79a5d}.cut-crib-owner{color:#e3c88c;font-size:13px}@keyframes cut-card-reveal{0%{opacity:.3;transform:translateY(-14px)rotateY(-70deg)}to{opacity:1;transform:translateY(0)rotateY(0)}}@media (max-width:680px){.cut-table-shell .cut-for-deal-panel{border-radius:24px;padding:24px 12px}.cut-table-shell .cut-grid{gap:10px}.cut-table-shell .cut-grid.player-count-3 .cut-player:last-child{grid-column:1/-1;justify-self:center;width:calc(50% - 5px)}.cut-table-shell .cut-player{padding:12px 8px}.cut-face,.cut-deck-back{width:66px;height:94px}.cut-reveal-space{min-height:120px}}@media (prefers-reduced-motion:reduce){.cut-face{animation:none}.cut-tap-card{transition:none}}.phase-discard .table-center-zone{width:min(62%,430px);margin:132px auto 106px;position:relative;top:auto;left:auto;transform:none}.phase-discard .felt-table{min-height:460px}.discard-state{gap:10px}.discard-owner{color:#e5d8bc;justify-content:center;align-items:center;gap:9px;font-size:13px;display:flex}.discard-owner.own-crib{color:#e3c886}.discard-dealer-mark{color:#3b2c1b;background:linear-gradient(#f0e3c6,#c4ad7f);border:1px solid #b79a5d;border-radius:50%;place-items:center;width:25px;height:25px;font:15px Georgia,serif;display:grid;box-shadow:0 3px 6px #081c1466}.discard-progress{color:#f0e4cb;min-height:20px}.discard-owner-note{color:#c9c5b4;overflow-wrap:anywhere;max-width:100%;margin:0;font-size:12px}.phase-discard .hand-dock{background:linear-gradient(#1b3026,#10251c);border-color:#b79a5d66}.phase-discard .table-hand-cards{padding-top:12px;padding-bottom:4px}.phase-discard .table-hand-card{background:#f7efde;border-color:#ccbd9d;min-height:70px}.phase-discard .card.discard-selected{outline:2px solid #d4b875;box-shadow:0 8px 16px #03180f66,0 0 0 4px #d4b87522}.phase-discard .selection-check{color:#203024;background:#d4b875}.discard-hand-hint{text-align:center;color:#dfdacb;margin:10px 0 0;font-size:12px}.phase-discard .discard-confirm-btn{color:#243124;background:linear-gradient(#e0c88c,#c3a461);border:1px solid #e5ce97;min-height:46px;box-shadow:0 3px #78623d}.phase-discard .discard-confirm-btn:disabled{opacity:.45;box-shadow:none}@media (max-width:720px){.phase-discard .table-center-zone{width:min(70%,360px);margin-top:148px}.phase-discard .table-player.position-left,.phase-discard .table-player.position-right{top:82px}}@media (max-width:480px){.phase-discard .table-center-zone{width:min(84%,300px);margin-top:148px}.phase-discard .table-hand-cards.hand-count-6{grid-template-columns:repeat(3,minmax(44px,74px));gap:22px 12px;display:grid}.phase-discard .table-hand-cards.hand-count-6 .table-hand-card{width:100%}.phase-discard .hand-status{max-width:none}.phase-discard .table-discard-actions{gap:10px}}.phase-pegging .felt-table{min-height:480px}.phase-pegging .table-center-zone{width:min(58%,430px);margin:140px auto 112px;position:relative;top:auto;left:auto;transform:none}.player-card-count{white-space:nowrap;color:#e4dbc7;font-size:11px;position:absolute;top:calc(100% + 6px);left:50%;transform:translate(-50%)}.player-card-count.cannot-peg{color:#f1c565}.player-card-count b{font-size:inherit}.dealer-crib-pile{color:#e3c88c;letter-spacing:.08em;white-space:nowrap;align-items:center;gap:4px;font-size:9px;font-weight:800;display:flex;position:absolute;top:calc(100% + 24px);left:50%;transform:translate(-50%)}.dealer-crib-pile i{background:repeating-linear-gradient(45deg,#274936,#274936 3px,#365941 3px 6px);border:1px solid #d6bb7d;border-radius:3px;width:17px;height:22px;display:block;box-shadow:2px -2px #1a3929,3px -3px #d6bb7d}.pegging-card-flight{will-change:transform}@media (max-width:720px){.phase-pegging .table-center-zone{width:min(66%,360px);margin-top:148px}.phase-pegging .table-player.position-left,.phase-pegging .table-player.position-right{top:86px}}@media (max-width:480px){.phase-pegging .table-center-zone{width:min(80%,280px);margin-top:150px}.phase-pegging .table-player.position-left,.phase-pegging .table-player.position-right{top:82px}}@media (prefers-reduced-motion:reduce){.counting-slide{animation:none}}.play-menu-shell{color:#f1f4ed;background:radial-gradient(circle at 75% 25%,#1a4740,#0e1d22 61%);border-radius:0 0 18px 18px;width:min(1120px,100%);min-height:680px;margin:0 auto 32px;overflow:hidden;box-shadow:0 22px 60px #04120e88}.play-menu-topbar,.play-menu-footer{border-bottom:1px solid #d7e9d42b;justify-content:space-between;align-items:center;gap:20px;padding:20px 30px;display:flex}.play-menu-brand{align-items:center;gap:14px;min-width:0;display:flex}.play-menu-logo{object-fit:cover;border-radius:21%;flex:none;width:68px;height:68px;display:block;box-shadow:0 5px 16px #0008}.play-menu-wordmark{color:#fff9e8;letter-spacing:.045em;text-shadow:0 2px #3b5c54,0 5px 15px #0006;font:400 clamp(32px,3.5vw,40px)/1 Impact,Arial Narrow,sans-serif}.play-menu-top-meta{color:#bcdad0;letter-spacing:.08em;align-items:center;gap:12px;font-size:11px;display:flex}.play-menu-version{color:#edf5ed;background:#ffffff10;border-radius:5px;padding:6px 9px;font:11px ui-monospace,monospace}.play-menu-layout{grid-template-columns:minmax(0,.83fr) minmax(0,1fr);align-items:center;gap:36px;min-height:510px;padding:34px 30px 52px;display:grid}.play-menu-left{min-width:0}.play-menu-eyebrow{color:#a4d5d0;letter-spacing:.15em;font-size:11px;line-height:1.5}.play-menu-left h1{color:#f4f5ed;letter-spacing:.015em;margin:14px 0 25px;font:400 clamp(44px,5.6vw,68px)/.96 Impact,Arial Narrow,sans-serif}.play-menu-actions{gap:8px;max-width:445px;display:grid}.play-menu-action{color:#edf5ed;text-align:left;background:#ffffff0c;border:1px solid #0000;border-radius:5px;justify-content:space-between;align-items:center;width:100%;min-height:72px;padding:13px 19px;transition:transform .16s,background .16s,border-color .16s,box-shadow .16s;display:flex}.play-menu-action>span:first-child{gap:2px;display:grid}.play-menu-action strong{letter-spacing:.025em;font:400 25px Impact,Arial Narrow,sans-serif}.play-menu-action small{color:#afc7c5;font-size:12px}.play-menu-action>span:last-child{font-size:27px;line-height:1;transition:transform .16s}.play-menu-action.featured{color:#0e2426;background:#eff3e9}.play-menu-action:hover:not(:disabled){border-color:#8dcac0;transform:translate(4px);box-shadow:0 8px 20px #0004}.play-menu-action:hover:not(:disabled)>span:last-child{transform:translate(3px)}.play-menu-action:active:not(:disabled){transform:translate(4px,2px)scale(.985)}.play-menu-reconnect,.play-menu-back{color:#afd9d2;text-align:left;text-underline-offset:4px;background:0 0;border:0;justify-self:start;width:max-content;max-width:100%;min-height:44px;padding:8px 0;font-size:13px;text-decoration:underline}.play-menu-reconnect.current{color:#f1f4ed}.play-menu-reconnect span{margin-left:5px}.play-menu-reconnect:hover:not(:disabled),.play-menu-back:hover:not(:disabled){color:#fff}.play-menu-shell button:focus-visible,.lobby-screen button:focus-visible{outline-offset:3px;outline:3px solid #91e6d6}.play-menu-shell button:disabled{cursor:not-allowed}.play-menu-scene{justify-items:center;gap:18px;min-width:0;padding:10px 0;display:grid}.play-menu-board{filter:drop-shadow(0 7px 5px #030e0aa8);width:100%;max-width:550px}.play-menu-board-tracks{width:100%;height:auto;display:block}.play-menu-stain-lane,.play-menu-stain-texture{fill:none;stroke-linecap:round;stroke-linejoin:round}.play-menu-stain-lane{opacity:.9}.play-menu-engraved-cut{stroke:#24150e;stroke-width:2.3px;stroke-linecap:round;opacity:.9}.play-menu-engraved-highlight{stroke:#e6bc85;stroke-width:.9px;stroke-linecap:round;opacity:.65}.play-menu-board-hole{fill:#160e0b;stroke:#d1a46c;stroke-opacity:.55;stroke-width:.65px}.play-menu-board-marker{fill:#ead2a8;letter-spacing:.06em;font:11px system-ui,sans-serif}.play-menu-scene-cards{justify-content:center;align-items:center;min-width:0;margin-top:-2px;display:flex}.play-menu-scene-cards span{aspect-ratio:67/91;color:#1c332d;background:#f5eee0;border:1px solid #c7baa0;border-radius:6px;flex:none;place-items:center;width:clamp(44px,11vw,62px);margin-left:-5px;font:clamp(18px,2.3vw,24px) Georgia,serif;display:grid;box-shadow:0 8px 15px #0006}.play-menu-scene-cards span:first-child{margin-left:0;transform:rotate(-9deg)translateY(4px)}.play-menu-scene-cards span:nth-child(2){transform:rotate(-5deg)translateY(1px)}.play-menu-scene-cards span:nth-child(4){transform:rotate(5deg)translateY(1px)}.play-menu-scene-cards span:nth-child(5){transform:rotate(9deg)translateY(4px)}.play-menu-scene-cards span.red{color:#a2463e}.play-menu-scene p{color:#b9d4cf;text-align:center;margin:0;font-size:13px}.play-menu-form-panel{background:#12282bbb;border:1px solid #92c6bb38;border-radius:12px;width:100%;max-width:560px;padding:25px 26px 18px;animation:.22s ease-out both play-menu-enter;box-shadow:0 18px 35px #0004}.play-menu-form-panel h2{color:#f4f5ed;margin:8px 0 22px;font:400 clamp(32px,4vw,44px) Impact,Arial Narrow,sans-serif}.play-menu-form-panel form{gap:13px;display:grid}.play-menu-form-panel label{opacity:1;color:#d5e4dc;margin:0;font-size:13px}.play-menu-form-panel input{color:#f4f5ed;background:#0e2224;border:1px solid #88aa9e77;border-radius:6px;min-height:48px;margin-top:7px;display:block}.play-menu-form-panel input:focus-visible{outline-offset:2px;outline:2px solid #91e6d6}.play-menu-form-panel input::placeholder{color:#9aa9a5}.play-menu-form-panel .mode-heading{margin-top:4px}.play-menu-modes{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.play-menu-mode{color:#e8f0ea;text-align:left;background:#ffffff09;border:1px solid #7da59b50;border-radius:5px;align-content:center;min-height:69px;padding:9px 30px 9px 12px;transition:transform .14s,background .14s,border-color .14s;display:grid;position:relative}.play-menu-mode span{font-size:14px}.play-menu-mode small{color:#b2ccc6;margin-top:3px;font-size:11px}.play-menu-mode b{color:#91e6d6;position:absolute;top:23px;right:12px}.play-menu-mode[aria-pressed=true]{background:#306b6266;border-color:#87d2c3}.play-menu-mode:hover:not(:disabled){border-color:#a1e7d8;transform:translateY(-2px)}.play-menu-mode:active:not(:disabled){transform:translateY(1px)scale(.985)}.play-menu-submit{color:#0d2325;letter-spacing:.035em;background:#f0f4e9;border:1px solid #e9f4e9;border-radius:5px;justify-content:space-between;align-items:center;width:100%;min-height:50px;margin-top:6px;padding:0 16px;font:400 19px Impact,Arial Narrow,sans-serif;transition:transform .12s,box-shadow .12s,background .12s;display:flex}.play-menu-submit:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 22px #0005}.play-menu-submit:active:not(:disabled){transform:translateY(2px)scale(.985)}.play-menu-submit:disabled{opacity:.5}.play-menu-form-note{color:#a7c4bc;margin:0;font-size:12px}.play-menu-error{color:#ffd8cb;background:#8f3d3d33;border-left:3px solid #ffac99;margin:0;padding:9px 11px;font-size:13px}.play-menu-back{margin-top:10px}.play-menu-footer{color:#b9d4cf;letter-spacing:.07em;border-top:1px solid #d7e9d42b;border-bottom:0;padding:15px 30px;font-size:10px}@keyframes play-menu-enter{0%{opacity:.5;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.lobby-screen{grid-template-columns:minmax(0,1.15fr) minmax(270px,.85fr);align-items:start;gap:18px;margin-top:16px;display:grid}.lobby-screen .lobby-panel{background:#122b2d;border:1px solid #628d8170;border-radius:10px;grid-area:1/1;padding:27px;box-shadow:0 18px 35px #0003}.lobby-screen .lobby-panel h2{color:#f2f5ec;margin:0 0 8px;font:400 clamp(32px,4vw,45px) Impact,Arial Narrow,sans-serif}.lobby-screen .lobby-panel>.small{color:#adcfc5;opacity:1}.lobby-side{grid-area:1/2;gap:16px;min-width:0;display:grid}.lobby-side>section:first-child{margin:0}.lobby-screen .invite-panel{color:#f2f5ec;background:#163032;border:1px solid #688f8666;border-radius:10px;margin:0;padding:24px;box-shadow:0 18px 35px #0003}.lobby-screen .invite-panel h2{color:#f2f5ec;font:400 27px Impact,Arial Narrow,sans-serif}.lobby-screen .invite-panel .brand{color:#9ed1c9;opacity:1}.lobby-screen .invite-room-code{color:#f2f5ec}.lobby-screen .invite-link-text{color:#c6e0d7;background:#0e2425}.lobby-screen .invite-actions .btn:first-child,.lobby-screen .lobby-start{color:#0d2325;box-shadow:none;background:#f0f4e9;border:1px solid #e9f4e9;border-radius:5px;transition:transform .13s,box-shadow .13s}.lobby-screen .btn.secondary{color:#e9f3ec;min-height:44px;box-shadow:none;background:#ffffff0b;border:1px solid #88afa277;border-radius:5px;transition:transform .13s,background .13s}.lobby-screen button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 15px #0004}.lobby-screen button:active:not(:disabled){transform:translateY(2px)scale(.985)}.lobby-screen .btn:disabled{opacity:.55;box-shadow:none}.lobby-readiness{color:#d2e4dc;background:#0b2324;border-color:#7fa69a66;border-radius:5px}.lobby-readiness.ready{color:#b1f1e1;background:#24554a66;border-color:#92d8c8}.lobby-screen .seat{background:#102729;border-color:#779c8d4d;border-radius:5px}.lobby-screen .seat.me{background:#27524777;outline:1px solid #9bdac9}.lobby-screen .partner-team{background:#0f2526;border-color:#7ca29455;border-radius:6px}.lobby-screen .partner-team.is-my-team{border-color:#90d3c3}.lobby-screen .team-label{color:#c7eee2}.lobby-screen .team-name-editor{background:#102729;border-color:#779c8d4d;border-radius:6px}.lobby-unassigned{background:#24554a44;border:1px solid #90d3c388;border-radius:6px;order:-1;gap:9px;padding:14px;display:grid}.lobby-unassigned .team-label{text-align:left;font-size:13px}.lobby-screen .partner-lobby{order:0}.lobby-screen .team-name-editor{order:1}.lobby-screen .partner-setup>.notice{order:2}.lobby-screen .team-name-editor summary{color:#b9e7dc;align-items:center;min-height:44px;display:flex}.lobby-screen .team-selected-label{color:#b4f1e1;background:#39726566}.lobby-screen .lobby-start{letter-spacing:.025em;width:100%;min-height:49px;margin-top:16px;font:400 19px Impact,Arial Narrow,sans-serif}.lobby-screen .notice{color:#e8e3c7;background:#8d734633}@media (max-width:760px){.play-menu-layout{grid-template-columns:1fr;gap:26px;padding:29px 20px 36px}.play-menu-shell{min-height:0}.play-menu-left h1{font-size:clamp(46px,9vw,66px)}.play-menu-scene{order:2}.play-menu-form-panel{max-width:none}.lobby-screen{grid-template-columns:1fr}.lobby-screen .lobby-panel,.lobby-side{grid-area:auto/1}}@media (max-width:600px){.play-menu-topbar{padding:16px 18px}.play-menu-footer{padding:14px 18px}.play-menu-brand{gap:10px}.play-menu-logo{width:52px;height:52px}.play-menu-wordmark{font-size:31px}.play-menu-top-meta>span:first-child{display:none}.play-menu-layout{padding:25px 18px 34px}.play-menu-shell.is-form .play-menu-left h1{display:none}.play-menu-shell.is-form .play-menu-left{gap:10px;display:grid}.play-menu-shell.is-form .play-menu-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.play-menu-shell.is-form .play-menu-action{min-height:55px;padding:9px 10px}.play-menu-shell.is-form .play-menu-action strong{font-size:17px}.play-menu-shell.is-form .play-menu-action small{display:none}.play-menu-shell.is-form .play-menu-reconnect{grid-column:1/-1;min-height:32px;padding:0}.play-menu-board{max-width:550px}.play-menu-form-panel{padding:21px 17px 15px}.play-menu-modes{grid-template-columns:1fr}.play-menu-mode{min-height:54px}.play-menu-scene-cards span{font-size:20px}.lobby-screen .lobby-panel,.lobby-screen .invite-panel{padding:20px 16px}}@media (prefers-reduced-motion:reduce){.play-menu-shell *,.lobby-screen button{transition-duration:.01ms!important;animation-duration:.01ms!important}}@media (max-width:720px){.settings-menu{top:max(4px,env(safe-area-inset-top));right:7px}.game-shell-active{width:100%;height:100dvh;min-height:0;padding:max(4px,env(safe-area-inset-top)) 7px max(5px,env(safe-area-inset-bottom));flex-direction:column;gap:3px;display:flex;position:relative}.game-shell-active .game-topbar{flex:none;gap:6px;min-height:44px;margin:0;padding-right:68px}.game-shell-active>.computer-game-configurations{flex:none}.game-shell-active .game-topbar .brand{font-size:10px}.game-shell-active .game-meta-line{gap:3px;margin-top:2px;font-size:10px}.game-shell-active>.error{z-index:90;margin:0;position:absolute;top:48px;left:7px;right:7px;box-shadow:0 8px 22px #0008}.game-shell-active .game-table-shell{flex:auto;grid-template-rows:clamp(120px,21dvh,160px) minmax(0,1fr) auto;gap:4px;height:auto;min-height:0;margin:0;display:grid}.game-shell-active .game-table-shell>:first-child{border-radius:20px;grid-template-rows:auto minmax(0,1fr);width:100%;height:100%;min-height:0;margin:0;padding:3px 9px;display:grid}.game-shell-active .game-table-shell>:first-child>:first-child{min-height:18px;margin:0}.game-shell-active .game-table-shell>:first-child>:first-child>:last-child{align-content:start;gap:2px 9px;font-size:10px}.game-shell-active .game-table-shell>:first-child>:nth-child(2){min-height:0}.game-shell-active .game-table-shell>:first-child svg{width:100%;height:100%;min-height:0;display:block}.game-shell-active .felt-table{border-radius:18px;height:100%;min-height:0}.game-shell-active .felt-ring{inset:8px}.game-shell-active .table-player{border-radius:11px;gap:2px;width:calc(33.3333% - 7px);min-width:0;max-width:120px;min-height:39px;padding:4px 5px}.game-shell-active .table-player.position-top,.game-shell-active .table-player.position-left,.game-shell-active .table-player.position-right{top:5px}.game-shell-active .table-player.position-left{left:5px}.game-shell-active .table-player.position-right{right:5px}.game-shell-active .table-player.position-self{width:auto;min-width:100px;max-width:44%;bottom:5px}.game-shell-active .player-avatar{display:none}.game-shell-active .player-name{font-size:10px}.game-shell-active .player-score-line{gap:3px;margin:0;font-size:8px}.game-shell-active .player-score-line strong{font-size:15px}.game-shell-active .player-score-line span{display:none}.game-shell-active .player-card-count{font-size:9px;top:calc(100% + 2px)}.game-shell-active .dealer-button{width:18px;height:18px;font-size:9px}.game-shell-active .table-center-zone,.game-shell-active .phase-discard .table-center-zone,.game-shell-active .phase-pegging .table-center-zone{place-items:center;width:calc(100% - 12px);margin:0;display:grid;position:absolute;top:clamp(54px,8dvh,68px);bottom:43px;left:6px;transform:none}.game-shell-active .center-game-state{gap:2px;width:100%;max-height:100%}.game-shell-active .center-eyebrow{font-size:9px}.game-shell-active .big-count{margin:0;font-size:clamp(36px,7dvh,55px)}.game-shell-active .table-sequence{min-height:clamp(35px,6dvh,48px);margin:1px 0}.game-shell-active .table-played-card{width:32px;height:43px;margin-left:-6px;padding:3px 4px;font-size:11px}.game-shell-active .table-played-card strong{font-size:15px}.game-shell-active .center-turn-message{margin:0;padding:4px 9px;font-size:10px}.game-shell-active .history-link{min-height:44px;margin:0;padding:3px 8px}.game-shell-active .cut-card-chip{margin-top:1px}.game-shell-active .cut-card-chip .mini-card{padding:2px 4px}.game-shell-active .discard-state{gap:2px}.game-shell-active .discard-owner{gap:5px;font-size:11px}.game-shell-active .discard-dealer-mark{width:19px;height:19px;font-size:12px}.game-shell-active .center-state-title{margin:0;font-size:clamp(18px,3.4dvh,24px)}.game-shell-active .discard-progress{min-height:15px;font-size:11px}.game-shell-active .discard-owner-note{margin:0;font-size:10px}.game-shell-active .hand-dock{border-radius:13px;min-height:0;margin:0 2px;padding:6px 7px}.game-shell-active .hand-dock-header{gap:6px;margin-bottom:3px}.game-shell-active .hand-owner{font-size:13px}.game-shell-active .hand-status{margin-top:1px;font-size:10px}.game-shell-active .turn-pill{padding:4px 6px;font-size:9px}.game-shell-active .table-hand-cards{gap:3px;padding:0}.game-shell-active .table-hand-cards .table-hand-card,.game-shell-active .phase-discard .table-hand-cards .table-hand-card{aspect-ratio:auto;min-width:0;max-width:66px;height:clamp(53px,9dvh,76px);min-height:53px;padding:2px}.game-shell-active .phase-discard .table-hand-cards.hand-count-6{grid-template-columns:none;gap:3px;display:flex}.game-shell-active .table-hand-card.playable{transform:translateY(-2px)}.game-shell-active .card-center-value{font-size:clamp(16px,4.5vw,22px)}.game-shell-active .discard-hand-hint{margin:2px 0 0;font-size:10px}.game-shell-active .table-discard-actions{flex-wrap:nowrap;justify-content:center;gap:6px;margin-top:4px;display:flex}.game-shell-active .table-discard-actions .btn{flex:auto;width:auto;min-height:44px;padding:7px 9px;font-size:12px}}@media (max-width:720px) and (max-height:760px){.game-shell-active .game-table-shell{grid-template-rows:clamp(120px,21dvh,145px) minmax(0,1fr) auto;gap:3px}.game-shell-active .table-center-zone,.game-shell-active .phase-discard .table-center-zone,.game-shell-active .phase-pegging .table-center-zone{top:51px;bottom:39px}.game-shell-active .center-game-state .center-eyebrow{display:none}.game-shell-active .table-player.position-self{bottom:0}.game-shell-active .table-sequence{min-height:44px;margin:1px 0 7px}.game-shell-active .table-played-card{width:29px;height:37px}.game-shell-active .cut-card-chip{margin:0;position:absolute;top:18px;left:2px}.game-shell-active .hand-dock-header{margin-bottom:7px}.game-shell-active .discard-hand-hint,.game-shell-active .discard-owner-note{display:none}.game-shell-active .table-hand-cards .table-hand-card,.game-shell-active .phase-discard .table-hand-cards .table-hand-card{height:53px}}.effect-controls{max-width:740px;margin:8px auto 16px;font-size:14px}.effect-controls summary{cursor:pointer;align-items:center;min-height:44px;display:flex}.effect-controls>div{flex-wrap:wrap;gap:8px 24px;display:flex}.effect-controls label{cursor:pointer;align-items:center;gap:8px;min-height:44px;display:flex}.effect-controls input{accent-color:#d4b56a;width:20px;height:20px}.effect-controls p{opacity:.8;font-size:12px}[data-effects-motion=off] *,[data-effects-motion=off] :before,[data-effects-motion=off] :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}@media (prefers-reduced-motion:reduce){.shell *,.shell :before,.shell :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.card-arrive{animation:.22s ease-out both card-arrive}@keyframes card-arrive{0%{opacity:.35;translate:0 -12px}to{opacity:1;translate:0}}.whats-new-trigger{color:#fff8e8;min-height:44px;font:inherit;cursor:pointer;background:#183b32;border:1px solid #b4a174;border-radius:10px;margin:8px 0;padding:10px 16px}.whats-new-dialog{box-sizing:border-box;color:#19392f;background:#f7f1e4;border:1px solid #b4a174;border-radius:16px;width:min(620px,100vw - 24px);max-height:min(85dvh,800px);padding:0;overflow:hidden}.whats-new-dialog[open]{flex-direction:column;display:flex}.whats-new-dialog::backdrop{background:#00120db8}.whats-new-header{border-bottom:1px solid #cfc3a8;flex:none;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.whats-new-header h2{margin:0;font-size:1.35rem}.whats-new-header button{color:#fff8e8;min-width:64px;min-height:44px;font:inherit;background:#19392f;border:0;border-radius:8px}.whats-new-scroll{overscroll-behavior:contain;overflow-wrap:anywhere;min-height:0;padding:0 18px 20px;overflow-y:auto}.whats-new-intro,.whats-new-scroll [role=status]{color:#516057;font-size:.85rem;line-height:1.5}.whats-new-entry{border-bottom:1px solid #d8cfbc;padding:14px 0}.whats-new-entry h3{color:#19392f;margin:0 0 10px;font-size:1rem;line-height:1.5}.whats-new-entry ul{margin:0;padding-left:20px}.whats-new-entry li{margin:8px 0;font-size:.95rem;line-height:1.55}.round-ready-list{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px;margin:12px 0;display:grid}.round-ready-player{text-align:center;overflow-wrap:anywhere;border:1px solid #b49b5c55;border-radius:10px;flex-direction:column;gap:3px;padding:10px;display:flex}.round-ready-player span{font-size:12px}.next-round-box{flex-direction:column;align-items:stretch;gap:10px;display:flex}.next-round-box>.btn{min-height:46px}.end-vote-panel{border:1px solid #b49b5c55;border-radius:12px;flex-wrap:wrap;justify-content:center;gap:8px;padding:12px;display:flex}.end-vote-panel p{text-align:center;width:100%;margin:0}.end-vote-panel .btn{min-height:44px}.round-announcement{z-index:30;color:#f3e7cf;pointer-events:none;text-align:center;background:#173f31;border:1px solid #b49b5c;border-radius:12px;width:max-content;max-width:calc(100vw - 24px);padding:10px 16px;font-size:13px;position:fixed;top:12px;left:50%;translate:-50%;box-shadow:0 6px 24px #03160e88}@media (max-width:720px){.game-shell-review{width:100%;height:100dvh;min-height:0;padding:max(8px,env(safe-area-inset-top)) 10px max(12px,env(safe-area-inset-bottom));flex-direction:column;display:flex;overflow:hidden}.game-shell-review .game-topbar,.game-shell-review .effect-controls{flex:none}.game-shell-review .counting-sequence,.game-shell-review .results-screen-shell{flex-direction:column;flex:auto;min-width:0;min-height:0;margin:0;display:flex}.game-shell-review .counting-sequence>:first-child,.game-shell-review .results-screen-shell>:first-child{flex:none;grid-template-rows:auto minmax(0,1fr);height:clamp(86px,20dvh,155px);min-height:0;margin:0 0 8px;display:grid}.game-shell-review .counting-sequence>:first-child>:nth-child(2),.game-shell-review .results-screen-shell>:first-child>:nth-child(2){min-height:0}.game-shell-review .counting-sequence>:first-child svg,.game-shell-review .results-screen-shell>:first-child svg{width:100%;height:100%;min-height:0;display:block}.game-shell-review .counting-card,.game-shell-review .results-surface{flex:auto;width:100%;min-width:0;min-height:0;margin:0;overflow:hidden}.game-shell-review .counting-step .counting-card{flex-direction:column;padding:0;display:flex}.game-shell-review .counting-step-content{overscroll-behavior:contain;min-height:0;padding:18px 12px 16px;overflow-y:auto}.game-shell-review .counting-action{background:#102e23;border-top:1px solid #b49b5c33;flex:none;padding:0 12px 12px}.game-shell-review .counting-progress{margin:9px 0 10px}.game-shell-review .counting-continue{width:100%;min-height:48px}.game-shell-review .results-surface{flex-direction:column;padding:0;display:flex}.game-shell-review .results-scroll{overscroll-behavior:contain;min-height:0;padding:18px 12px 22px;overflow-y:auto}.game-shell-review .next-round-box{background:#102e23;border-top:1px solid #c7a76233;flex:none;gap:7px;margin:0;padding:10px 12px 12px}.game-shell-review .round-ready-count{margin:0;font-size:13px}.game-shell-review .results-primary{min-height:48px}.game-shell-review .round-ready-extra{overscroll-behavior:contain;max-height:min(25dvh,150px);overflow-y:auto}.game-shell-review .round-ready-list{grid-template-columns:repeat(2,minmax(0,1fr));margin:4px 0 0}.results-screen-shell .results-table-wrap{overflow-x:visible}.results-screen-shell .results-table{min-width:0}.results-screen-shell .results-table thead{display:none}.results-screen-shell .results-table tbody{gap:8px;display:grid}.results-screen-shell .results-table tr{border:1px solid #b99b5c33;border-radius:10px;grid-template-columns:repeat(3,minmax(0,1fr));padding:8px;display:grid}.results-screen-shell .results-table td{text-align:center;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;border:0;min-width:0;padding:5px 3px}.results-screen-shell .results-table td:before{content:attr(data-label);color:#d6c59d;text-transform:uppercase;letter-spacing:.04em;margin-bottom:2px;font-size:10px;display:block}.results-screen-shell .results-table td:first-child{text-align:left;grid-column:1/-1;font-size:15px}.results-screen-shell .results-table td:first-child:before{display:none}}@media (max-width:720px) and (max-height:500px) and (orientation:landscape){.game-shell-review .counting-sequence>:first-child,.game-shell-review .results-screen-shell>:first-child{height:70px}.game-shell-review .round-ready-extra{max-height:48px}}html,body{background:var(--ui-background);color:var(--ui-foreground)}body{background:radial-gradient(circle at top, #21463a55, transparent 32rem),var(--ui-background)}a:not(.btn){color:var(--ui-primary)}a:not(.btn):hover{color:var(--ui-accent)}.sub,.small,.home-form-copy,.home-shell .mode-detail,.home-shell .reconnect-panel .small,.play-menu-top-meta,.play-menu-action small,.play-menu-scene p,.play-menu-form-note,.lobby-screen .lobby-panel>.small,.lobby-seat-meta,.game-meta-line,.hand-status,.counting-timer-note,.game-over-note,.whats-new-intro,.whats-new-scroll [role=status]{color:var(--ui-muted-foreground);opacity:1}.panel,.home-shell .panel,.lobby-screen .lobby-panel,.lobby-screen .invite-panel,.play-menu-form-panel,.settings-menu-panel,.whats-new-dialog,.results-screen-shell .results-surface,.counting-sequence .counting-card,.cut-table-shell .cut-for-deal-panel{background:var(--ui-secondary);border-color:var(--ui-border);color:var(--ui-foreground)}.home-hero{background:linear-gradient(145deg,var(--ui-secondary),var(--ui-background));border-color:var(--ui-border);border-bottom-color:var(--ui-border)}.play-menu-shell{background:radial-gradient(circle at 75% 25%,var(--ui-secondary),var(--ui-background) 65%);color:var(--ui-foreground)}.play-menu-form-panel,.lobby-screen .lobby-panel,.lobby-screen .invite-panel{box-shadow:0 18px 35px #0004}.home-hero h1,.home-shell h2,.lobby-screen h2,.lobby-screen .lobby-panel h2,.lobby-screen .invite-panel h2,.play-menu-wordmark,.play-menu-left h1,.play-menu-form-panel h2,.results-screen-shell h2,.counting-sequence .counting-step-heading h2,.counting-intro h2,.counting-complete h2,.cut-intro h2,.whats-new-entry h3{color:var(--ui-foreground)}.version-badge,.home-hero .version-badge,.home-descriptor,.play-menu-eyebrow,.mode-meta,.home-shell .mode-meta,.lobby-screen .team-label,.lobby-screen .invite-room-code,.score .dealer,.settings-menu-heading,.results-screen-shell .team-round-totals strong,.counting-sequence .counting-score-main strong,.game-over-final-score strong{color:var(--ui-accent)}input:not([type=checkbox]),.home-shell input,.lobby-screen input,.play-menu-form-panel input,.lobby-screen .team-name-editor{background:var(--ui-input);border-color:var(--ui-border);color:var(--ui-foreground)}input::placeholder,.home-shell input::placeholder,.play-menu-form-panel input::placeholder{color:var(--ui-muted-foreground);opacity:1}input:focus-visible,.home-shell input:focus-visible,.lobby-screen input:focus-visible,.play-menu-form-panel input:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px;border-color:var(--ui-accent)}.btn:not(.secondary):not(.danger),.home-shell .btn:not(.secondary):not(.danger),.lobby-screen .lobby-start,.lobby-screen .invite-actions .btn:first-child,.phase-discard .discard-confirm-btn,.results-screen-shell .results-primary,.counting-sequence .counting-continue,.cut-table-shell .cut-primary,.play-menu-submit,.play-menu-action.featured{background:var(--ui-primary);border:1px solid var(--ui-border);color:var(--ui-primary-foreground);box-shadow:none}.btn.secondary,.home-shell .btn.secondary,.lobby-screen .btn.secondary,.settings-menu-trigger,.whats-new-trigger,.whats-new-header button,.play-menu-action:not(.featured),.play-menu-mode{background:var(--ui-secondary);border:1px solid var(--ui-border);color:var(--ui-secondary-foreground);box-shadow:none}.play-menu-action.featured small{color:var(--ui-primary-foreground)}.play-menu-action small,.play-menu-mode small{color:var(--ui-muted-foreground)}.play-menu-mode[aria-pressed=true],.home-shell .mode-card.selected{background:var(--ui-secondary);border-color:var(--ui-accent);box-shadow:inset 0 0 0 1px var(--ui-accent)}.card-artwork,.cut-deck-back img,.play-menu-scene-cards img{aspect-ratio:5/7;object-fit:fill;pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;display:block}.table-hand-cards .card-artwork,.table-sequence .card-artwork{filter:drop-shadow(1px 2px 2px #0006)}:is(.card:has(.card-artwork),.table-played-card:has(.card-artwork),.mini-card:has(.card-artwork),.cut-face:has(.card-artwork)){aspect-ratio:5/7;background:0 0;border:0;padding:0;overflow:visible}.card:has(.card-artwork){border-radius:0}.mini-card:has(.card-artwork){width:42px;min-width:0;height:59px}.history-row .mini-card:has(.card-artwork){width:38px;min-width:0;height:53px;padding:0}.counting-sequence .counting-hand-cards .mini-card:has(.card-artwork){width:54px;height:76px;padding:0}.results-screen-shell .mini-card:has(.card-artwork){background:0 0;border:0}.table-played-card:has(.card-artwork){width:40px;height:56px}:is(.cut-face:has(.card-artwork),.cut-deck-back:has(img)){background:0 0;border:0;outline:0;width:78px;height:109px}.cut-deck-back:has(img){padding:0}.dealer-crib-pile i{background:url(/cards/Back.svg) 50%/contain no-repeat;border:0;border-radius:0;width:17px;height:24px;box-shadow:2px -2px #1a3929}.play-menu-scene-cards span:has(img){aspect-ratio:5/7;background:0 0;border:0;width:clamp(44px,11vw,62px);padding:0}@media (max-width:720px){.game-shell-active .phase-discard .hand-dock,.game-shell-active .phase-pegging .hand-dock{min-height:208px;margin-inline:0;padding-inline:4px}.game-shell-active .phase-discard .table-hand-cards,.game-shell-active .phase-pegging .table-hand-cards{justify-content:center;padding-top:18px}.game-shell-active .phase-discard .table-hand-cards .table-hand-card,.game-shell-active .phase-pegging .table-hand-cards .table-hand-card{aspect-ratio:5/7;flex:none;width:68px;max-width:none;height:95px;min-height:0;padding:0;position:relative}.game-shell-active .phase-discard .table-hand-cards.hand-count-5{gap:0}.game-shell-active .phase-discard .table-hand-cards.hand-count-5 .table-hand-card{margin-right:-14px}.game-shell-active .phase-discard .table-hand-cards.hand-count-5 .table-hand-card:last-child{margin-right:0}.game-shell-active .phase-discard .table-hand-cards.hand-count-5 .table-hand-card.discard-selected{transform:translateY(-18px)}.game-shell-active .phase-pegging .table-hand-cards{gap:4px}.game-shell-active .phase-discard .table-hand-cards.hand-count-6{gap:0}.game-shell-active .phase-discard .table-hand-cards.hand-count-6 .table-hand-card{aspect-ratio:5/7;flex:none;width:68px;max-width:none;height:95px;min-height:0;margin-right:-23px;padding:0;position:relative}.game-shell-active .phase-discard .table-hand-cards.hand-count-6 .table-hand-card:last-child{margin-right:0}.game-shell-active .phase-discard .table-hand-cards.hand-count-6 .table-hand-card.discard-selected{transform:translateY(-18px)}.game-shell-active .phase-discard .table-hand-cards.hand-count-6 .table-hand-card:focus-visible{outline-offset:1px;outline:3px solid #f1c565}.game-shell-active .table-played-card:has(.card-artwork){width:32px;height:45px;padding:0}:is(.cut-face:has(.card-artwork),.cut-deck-back:has(img)){width:66px;height:92px}}@media (max-width:480px){.counting-sequence .counting-hand-cards .mini-card:has(.card-artwork){width:32px;height:45px}}@media (max-width:720px) and (max-height:600px){.game-shell-active .phase-discard.game-table-shell,.game-shell-active .phase-pegging.game-table-shell{grid-template-rows:105px minmax(0,1fr) auto}.game-shell-active .phase-discard .table-center-zone,.game-shell-active .phase-pegging .table-center-zone{top:38px;bottom:28px}.game-shell-active .phase-discard .discard-state{gap:1px}}.play-menu-mode b,.play-menu-reconnect,.play-menu-back,.counting-sequence .counting-details-toggle{color:var(--ui-primary)}.play-menu-mode:hover:not(:disabled),.play-menu-action:hover:not(:disabled){border-color:var(--ui-accent)}.game-shell-active .table-hand-card.playable.pending-play,.phase-pegging .table-hand-card.playable.pending-play{opacity:1;filter:brightness(1.12);transition:transform .14s ease-out,filter .14s ease-out;transform:translateY(-20px)scale(1.04)}.table-hand-card.playable:disabled:not(.pending-play){outline:none;transform:none}@media (prefers-reduced-motion:reduce){.table-hand-card.pending-play{transition:none}}.settings-menu-trigger[aria-expanded=true]{background:var(--ui-secondary);border-color:var(--ui-accent)}.settings-menu-panel .invite-menu,.settings-menu-panel .reconnect-helper,.settings-menu-panel .effect-controls,.settings-menu-panel .whats-new-trigger,.lobby-readiness,.lobby-screen .seat,.lobby-screen .partner-team,.results-screen-shell .results-table-wrap,.counting-sequence .counting-details,.end-vote-panel,.round-ready-player{border-color:var(--ui-border);background:var(--ui-input);color:var(--ui-foreground)}.settings-menu-panel .invite-menu summary,.settings-menu-panel .reconnect-helper summary,.settings-menu-panel .effect-controls summary,.settings-menu-panel .effect-controls p,.whats-new-dialog{color:var(--ui-foreground)}.whats-new-header,.whats-new-entry{border-color:var(--ui-border)}.game-shell-review .counting-action,.game-shell-review .next-round-box{background:var(--ui-secondary);border-color:var(--ui-border)}.round-announcement{background:var(--ui-secondary);border-color:var(--ui-border);color:var(--ui-foreground)}.effect-controls input{accent-color:var(--ui-accent)}.play-menu-shell button:focus-visible,.lobby-screen button:focus-visible,.settings-menu-trigger:focus-visible{outline-color:var(--ui-accent)}.round-results-compact{padding:12px 14px 16px}.round-results-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.round-results-compact .center-eyebrow{font-size:10px}.round-results-compact h2{margin:3px 0 10px;font-size:clamp(22px,4vw,29px)}.round-results-compact .team-round-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0 0 8px}.round-results-compact .team-round-totals>div{padding:6px 10px}.round-results-compact .team-round-totals span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.round-results-compact .team-round-totals strong{font-size:18px}.round-matrix-wrap{border:1px solid var(--ui-border);border-radius:10px;width:100%;overflow:hidden}.round-matrix{table-layout:fixed;border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.round-matrix th,.round-matrix td{border-bottom:1px solid var(--ui-border);text-align:center;padding:5px 3px;font-size:13px;line-height:1.25}.round-matrix th:first-child{text-align:left;width:24%;padding-left:10px}.round-matrix thead th{color:var(--ui-accent);background:var(--ui-input);letter-spacing:.04em;font-size:11px}.round-matrix tbody th{color:var(--ui-foreground);font-weight:500}.round-matrix tbody tr:last-child th,.round-matrix tbody tr:last-child td{color:var(--ui-accent);border-bottom:0;font-weight:750}.round-matrix-dealer{white-space:nowrap;font-size:9px}.score-details-trigger{white-space:nowrap;flex:none;min-height:44px;padding:8px 10px;font-size:12px}.score-details-dialog{border:1px solid var(--ui-border);background:var(--ui-background);width:min(760px,100vw - 20px);max-height:min(88dvh,900px);color:var(--ui-foreground);border-radius:16px;padding:0;box-shadow:0 24px 70px #0009}.score-details-dialog[open]{flex-direction:column;display:flex}.score-details-dialog::backdrop{background:#06150fbb}.score-details-heading{z-index:1;border-bottom:1px solid var(--ui-border);background:var(--ui-secondary);justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex;position:sticky;top:0}.score-details-heading h2{margin:0;font:500 23px Georgia,serif}.score-details-heading .btn{min-height:44px}.score-details-content{overscroll-behavior:contain;min-height:0;margin:0;padding:16px;overflow-y:auto}.results-screen-shell .results-primary.ready-confirmed:disabled{background:var(--ui-primary);color:var(--ui-primary-foreground);border-color:var(--ui-border);opacity:.46;box-shadow:none;cursor:default}.round-ready-player{text-align:left;flex-direction:row;align-items:center;gap:9px;min-width:0;min-height:62px;padding:8px;display:flex}.round-ready-avatar{width:36px;height:36px;color:var(--ui-primary-foreground);border:1px solid #1c140955;border-radius:50%;flex:none;place-items:center;font-weight:750;display:grid;box-shadow:inset 0 1px #fff7,0 2px 5px #0005}.round-ready-copy{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.round-ready-copy strong,.round-ready-copy>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.round-ready-copy>span{color:var(--ui-muted-foreground);font-size:11px}.round-ready-player.is-ready{background:var(--ui-secondary);border-color:#8ed6a0;box-shadow:0 0 0 1px #8ed6a0,0 0 15px #8ed6a077,inset 0 0 12px #8ed6a022}.round-ready-player.is-ready .round-ready-copy>span{color:var(--ui-foreground)}.round-ready-check{width:22px;height:22px;color:var(--ui-background);background:#8ed6a0;border-radius:50%;flex:none;place-items:center;font-size:15px;font-weight:800;display:grid;box-shadow:0 0 10px #8ed6a0aa}.round-ready-player.is-offline{color:var(--ui-muted-foreground);background:#13322899;border-color:#2c524988}.round-ready-player.is-offline .round-ready-avatar{filter:saturate(.35);opacity:.65}.lobby-host-invite{grid-area:2/1;min-width:0}.lobby-host-invite .invite-panel{margin:0}@media (max-width:720px){.game-shell-review .round-results-compact{padding:8px 10px 12px;overflow-y:auto}.round-matrix th,.round-matrix td{padding:4px 2px;font-size:12px}.round-matrix thead th{font-size:10px}.round-matrix th:first-child{width:22%;padding-left:6px}.score-details-content{grid-template-columns:1fr;padding:10px}.round-ready-player{gap:6px;padding:6px}.round-ready-avatar{width:31px;height:31px;font-size:10px}.round-ready-check{width:18px;height:18px;font-size:13px}.round-ready-copy>span{font-size:10px}}@media (max-width:760px){.lobby-host-invite{grid-area:auto/1}}.history-link{color:#e3c878;background:#0b2e22;border:1px solid #c9a24a88;border-radius:999px;justify-content:center;align-items:center;width:auto;min-height:40px;padding:8px 14px;font-size:11px;line-height:1;text-decoration:none;display:inline-flex}.history-link:focus-visible{outline-offset:2px;outline:2px solid #e3c878}.cut-card-chip .mini-card:has(.card-artwork){width:54px;min-width:0;height:76px;padding:0}@media (max-width:720px){.game-shell-active .pegging-state{position:relative}.game-shell-active .pegging-state .big-count{font-size:clamp(36px,6.4dvh,44px);position:relative;top:-8px}.game-shell-active .table-sequence{min-height:68px;margin:0}.game-shell-active .table-played-card:has(.card-artwork){width:46px;height:64px;margin-left:calc(-1 * var(--played-overlap,12px));flex:0 0 46px;padding:0}.game-shell-active .table-played-card:first-child{margin-left:0}.game-shell-active .center-turn-message{padding:2px 8px}.game-shell-active .cut-card-chip{margin:0;position:absolute;top:10px;left:2px}.game-shell-active .cut-card-chip .mini-card:has(.card-artwork){width:54px;height:76px;padding:0}}@media (max-width:720px) and (max-height:760px){.game-shell-active .phase-pegging .table-center-zone{top:40px;bottom:39px}}@media (max-width:720px) and (max-height:600px){.game-shell-active .phase-pegging .table-center-zone{top:38px;bottom:28px}}.player-name-line{gap:5px}.player-avatar,.round-ready-avatar{color:#1c211b;border:2px solid #24352f;box-shadow:inset 0 1px #ffffff9c,0 0 0 1px #d9ccaa99,0 2px 5px #0007}.player-avatar{flex:0 0 24px;width:24px;height:24px;font-size:9px;line-height:1;display:grid}.player-pod-copy{flex:auto;min-width:0}@media (max-width:720px){.game-shell-active .player-avatar{flex-basis:19px;width:19px;height:19px;font-size:7px;display:grid}.game-shell-active .player-name-line{gap:4px}.game-shell-active .player-name{min-width:0}}@media (max-width:360px){.game-shell-active .player-avatar{border-width:1.5px;flex-basis:17px;width:17px;height:17px;font-size:6px}.game-shell-active .player-name-line{gap:3px}}.hand-dock-header{justify-content:flex-end}.dealer-crib-pile{z-index:4;color:#e3c88c;background:#10291f;border:1px solid #c7a762;border-radius:6px;justify-items:center;gap:1px;width:30px;padding:2px;line-height:1;display:grid;position:absolute;top:calc(100% - 12px);left:auto;right:-6px;transform:none;box-shadow:0 3px 8px #0008}.dealer-crib-pile i{width:16px;height:22px;box-shadow:none}.dealer-crib-pile small{letter-spacing:.04em;font-size:6px;font-weight:800}.table-player.position-right .dealer-crib-pile{left:-6px;right:auto}.table-player.position-self .dealer-crib-pile{top:auto;bottom:calc(100% - 12px)}@media (max-width:720px){.game-shell-active .phase-discard .hand-dock,.game-shell-active .phase-pegging .hand-dock{min-height:180px}}.score-banner-wrap.in-play{z-index:auto;width:min(100%,300px);margin:3px auto 0;position:static;top:auto;left:auto;transform:none}.score-banner-wrap.in-play .score-banner{color:#f7dc99;background:#29371eeb;border:1px solid #f1c56559;border-radius:12px;padding:7px 12px;box-shadow:0 5px 15px #0005}.score-banner-wrap.in-play .score-banner-player{font-size:18px}.score-banner-wrap.in-play .score-banner-reasons{margin-top:2px;font-size:11px}.table-history-control{z-index:4;position:absolute;bottom:12px;left:12px}.table-history-control .history-link{min-height:44px;margin:0}@media (max-width:720px){.game-shell-active .table-history-control{bottom:8px;left:9px}.game-shell-active .table-history-control .history-link{min-height:44px;padding:8px 13px}.game-shell-active .score-banner-wrap.in-play{width:min(78vw,270px)}.game-shell-review .counting-step-content{padding:12px 12px 8px;overflow:hidden}.game-shell-review .counting-card.details-open .counting-step-content{overflow-y:auto}.counting-sequence .counting-step-heading h2{margin:2px 0 0}.counting-sequence .counting-card-layout{gap:8px;margin:10px 0 8px;padding:12px 6px}.counting-sequence .counting-card-group{gap:5px}.counting-sequence .counting-hand-cards{gap:4px}.counting-sequence .counting-hand-cards .mini-card:has(.card-artwork){aspect-ratio:5/7;width:clamp(42px,11.8vw,46px);height:auto}.counting-sequence .counting-score-main{margin-top:2px}.counting-sequence .counting-score-change{flex-wrap:nowrap;margin-top:2px}.counting-sequence .counting-score-change span{text-overflow:ellipsis;white-space:nowrap;max-width:55%;overflow:hidden}.counting-sequence .counting-details-toggle{margin-top:4px}.counting-sequence .counting-timer-note{margin:3px auto 0}.game-shell-review .counting-action{padding-bottom:8px}.game-shell-review .counting-progress{margin:5px 0 6px}}@media (max-width:720px) and (max-height:620px){.game-shell-review .counting-sequence>:first-child{height:86px}.game-shell-review .counting-step-content{padding:8px 12px 4px}.counting-sequence .counting-card-layout{margin:4px 0 3px;padding:4px 6px}.counting-sequence .counting-details-toggle,.counting-sequence .counting-timer-note{margin-top:0}}.computer-setup{border:1px solid var(--ui-accent,#b49b5c);border-radius:10px;margin:18px 0;padding:16px}.computer-setup h3{margin:0 0 6px}.computer-setup fieldset{border:0;min-width:0;margin:16px 0;padding:0}.computer-setup legend{margin-bottom:8px;font-weight:700}.computer-options{gap:8px;display:grid}.computer-option{cursor:pointer;border:1px solid #90b8aa77;border-radius:8px;align-items:flex-start;gap:10px;min-height:48px;padding:12px;display:flex}.computer-option:has(input:checked){border-color:var(--ui-accent,#b49b5c);background:#c7a76218}.computer-option:focus-within{outline:3px solid var(--ui-accent,#b49b5c);outline-offset:2px}.computer-option input{width:20px;height:20px;accent-color:var(--ui-accent,#b49b5c);flex:0 0 20px;margin:2px 0 0}.computer-option>span{gap:4px;min-width:0;display:grid}.computer-option>span>span{font-size:13px;line-height:1.45}.computer-setup fieldset:disabled{opacity:.65}.computer-setup fieldset:disabled .computer-option{cursor:default}.computer-setup-actions{flex-wrap:wrap;gap:8px;display:flex}.computer-setup-actions .btn{flex:180px;min-height:44px}.computer-configuration-summary{overflow-wrap:anywhere;margin:6px 0;font-size:13px;line-height:1.5}.computer-status{color:inherit;opacity:.85;margin-left:6px;font-size:11px;display:inline-block}.computer-saved{font-size:14px;font-weight:600}@media (min-width:700px){.computer-options{grid-template-columns:repeat(3,minmax(0,1fr))}}.computer-team-choices{flex-wrap:wrap;flex-basis:100%;gap:6px;display:flex}.computer-team-choices .btn{white-space:normal;flex:160px;min-height:44px}.seat:has(.computer-team-choices){flex-wrap:wrap}.computer-seat-setup{min-width:0;margin-top:16px}.computer-game-configurations{flex-wrap:wrap;gap:0 12px;display:flex}.play-menu-topbar:has(.settings-menu){padding-right:58px;position:relative}.play-menu-topbar>.settings-menu{top:0;right:0}.report-access-menu{z-index:100;top:max(8px,env(safe-area-inset-top));width:46px;height:46px;position:fixed;right:10px}.report-access-menu>.settings-menu{top:0;right:0}.report-issue-trigger{text-align:left;border:1px solid var(--ui-border,#b49b5c55);background:var(--ui-input,#ffffff09);width:100%;min-height:46px;color:var(--ui-foreground,#f1e4cb);font:inherit;cursor:pointer;border-radius:11px;align-items:center;gap:9px;margin:0 0 9px;padding:11px 13px;font-size:14px;display:flex}.report-issue-trigger svg{flex:none}.report-issue-trigger:focus-visible{outline:2px solid var(--ui-accent,#d4b875);outline-offset:2px}.issue-report-dialog{box-sizing:border-box;border:1px solid var(--ui-border,#b49b5c88);background:var(--ui-secondary,#10291f);width:min(560px,100vw - 24px);max-height:calc(100dvh - 24px);color:var(--ui-foreground,#f1e4cb);overscroll-behavior:contain;border-radius:17px;padding:20px;overflow-y:auto;box-shadow:0 18px 50px #000b}.issue-report-dialog::backdrop{background:#0009}.issue-report-header h2{margin:0 0 12px;font:500 24px Georgia,serif}.issue-report-dialog form{gap:8px;display:grid}.issue-report-dialog label{margin-top:5px}.issue-report-dialog input,.issue-report-dialog textarea,.issue-report-dialog select{box-sizing:border-box;border:1px solid var(--ui-border,#b49b5c88);background:var(--ui-input,#173c2e);width:100%;min-height:44px;color:inherit;font:inherit;border-radius:8px;padding:10px;font-size:16px}.issue-report-dialog textarea{resize:vertical;min-height:100px}.issue-report-dialog input:focus-visible,.issue-report-dialog textarea:focus-visible,.issue-report-dialog select:focus-visible,.issue-report-dialog button:focus-visible{outline:2px solid var(--ui-accent,#d4b875);outline-offset:2px}.issue-report-dialog p{margin:3px 0 7px;line-height:1.5}.issue-report-dialog code{overflow-wrap:anywhere}.issue-report-actions{background:var(--ui-secondary,#10291f);justify-content:flex-end;gap:8px;padding:10px 0 4px;display:flex;position:sticky;bottom:-20px}.issue-report-actions .btn{flex:1;min-height:44px}.issue-report-error{border:1px solid #d2ae63;border-radius:8px;padding:10px}@media (max-width:480px){.issue-report-dialog{padding:14px}.issue-report-header h2{font-size:21px}.issue-report-actions{bottom:-14px}}@media (min-width:721px){.game-shell-active{flex-direction:column;gap:3px;height:100dvh;padding-bottom:8px;display:flex}.game-shell-active>.game-topbar,.game-shell-active>.computer-game-configurations{flex:none;margin-bottom:0}.game-shell-active .game-table-shell{flex:auto;grid-template-rows:clamp(105px,18dvh,145px) minmax(260px,1fr) auto;gap:5px;min-height:0;margin:0;display:grid}.game-shell-active .game-table-shell>:first-child{grid-template-rows:auto minmax(0,1fr);height:100%;min-height:0;margin:0 auto;display:grid}.game-shell-active .game-table-shell>:first-child svg{width:100%;height:100%;min-height:0}.game-shell-active .felt-table{height:100%;min-height:0}.game-shell-active .table-center-zone{place-items:center;width:auto;margin:0;display:grid;position:absolute;inset:100px 12px 80px;transform:none}.game-shell-active .center-game-state{gap:3px}.game-shell-active .big-count{margin:0;font-size:44px}.game-shell-active .center-eyebrow{margin:0;line-height:1.2}.game-shell-active .table-sequence{min-height:56px;margin:0}.game-shell-active .center-state-title{margin:0;font-size:24px}.game-shell-active .center-turn-message{padding:3px 9px}.game-shell-active .cut-card-chip{margin:0;position:absolute;top:0;left:8px}.game-shell-active .hand-dock{margin:0}}@media (min-width:600px) and (max-height:700px){.game-shell-active{flex-direction:column;gap:3px;height:100dvh;min-height:300px;padding:4px 7px 5px;display:flex}.game-shell-active>.game-topbar{flex:none;min-height:38px;margin:0}.game-shell-active>.computer-game-configurations{flex:none}.game-shell-active .game-table-shell{flex:auto;grid-template-rows:minmax(80px,1fr) auto;grid-template-columns:minmax(288px,1fr) minmax(0,1.35fr);gap:5px;height:auto;min-height:230px;margin:0;display:grid}.game-shell-active .game-table-shell>:first-child{grid-area:1/1;grid-template-rows:auto minmax(0,1fr);width:100%;height:100%;min-height:0;margin:0;display:grid}.game-shell-active .game-table-shell>:first-child svg{width:100%;height:100%;min-height:0}.game-shell-active .felt-table{grid-area:1/2/3;height:100%;min-height:0}.game-shell-active .game-table-shell .hand-dock{grid-area:2/1;min-height:0;margin:0;padding:4px}.game-shell-active .table-player{width:30%;min-width:0;max-width:120px;min-height:32px;padding:3px}.game-shell-active .table-player.position-top,.game-shell-active .table-player.position-left,.game-shell-active .table-player.position-right{top:4px}.game-shell-active .table-player.position-self{bottom:4px}.game-shell-active .player-card-count{display:none}.game-shell-active .player-name{font-size:10px}.game-shell-active .player-score-line{margin:0;font-size:9px}.game-shell-active .player-score-line strong{font-size:14px}.game-shell-active .game-table-shell .table-center-zone{place-items:center;width:auto;margin:0;display:grid;position:absolute;inset:62px 5px 48px;transform:none}.game-shell-active .center-game-state{gap:2px}.game-shell-active .big-count{margin:0;font-size:36px}.game-shell-active .center-eyebrow{display:none}.game-shell-active .center-state-title{margin:0;font-size:20px}.game-shell-active .table-sequence{min-height:56px;margin:0}.game-shell-active .center-turn-message{padding:2px 6px;font-size:11px}.game-shell-active .cut-card-chip{margin:0;position:absolute;top:0;left:0}.game-shell-active .cut-card-chip .mini-card:has(.card-artwork){width:32px;height:45px}.game-shell-active .game-table-shell .table-hand-cards{gap:0;padding-top:18px}.game-shell-active .game-table-shell .table-hand-cards .table-hand-card,.game-shell-active .game-table-shell .table-hand-cards:is(.hand-count-5,.hand-count-6) .table-hand-card{flex:0 0 56px;width:56px;max-width:56px;height:78px;margin-right:-12px}.game-shell-active .game-table-shell .table-hand-cards .table-hand-card:last-child{margin-right:0}.game-shell-active .discard-hand-hint{display:none}.game-shell-active .table-discard-actions{margin-top:3px}}
