@font-face{font-family:Fraunces;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/fraunces-latin-600-normal-BFCDtZfi.woff2)format("woff2"),url(/assets/fraunces-latin-600-normal-DL5QCzvS.woff)format("woff")}@font-face{font-family:"Source Sans 3";font-style:normal;font-display:swap;font-weight:400;src:url(/assets/source-sans-3-latin-400-normal-DQi5PRDE.woff2)format("woff2"),url(/assets/source-sans-3-latin-400-normal-RR2C27NP.woff)format("woff")}@font-face{font-family:"Source Sans 3";font-style:normal;font-display:swap;font-weight:600;src:url(/assets/source-sans-3-latin-600-normal-DeckBYAU.woff2)format("woff2"),url(/assets/source-sans-3-latin-600-normal-Ck0n4g8U.woff)format("woff")}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark only;--bg:#1e232b;--surface:#16213a;--surface-2:#243044;--ivory:#f6f0e3;--ink:#f6f0e3;--muted:#d5dce6;--line:#3c4a63;--teal:#2bb3a3;--teal-ink:#06202a;--card:#f6f0e3;--heart:#9c2f2f;--spade:#16213a;--danger:#ffd0d0;--win:#d8fff6;--shadow:0 16px 32px #00000047;--card-w:62px;--card-h:88px;--sans:"Source Sans 3", "Segoe UI", sans-serif;--serif:"Fraunces", "Iowan Old Style", Palatino, Georgia, serif;font-family:var(--sans);background:var(--bg);color:var(--ink);font-size:16px;line-height:1.45}html[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light only;--bg:#f4f1ea;--surface:#fff;--surface-2:#e7e2d6;--ink:#16213a;--muted:#3d4a5c;--line:#cfc6b4;--teal:#2bb3a3;--teal-ink:#06202a;--card:#f6f0e3;--heart:#9c2f2f;--spade:#16213a;--danger:#6d1d1d;--win:#0b5c52;--shadow:0 12px 28px #16213a1f}*,:before,:after{box-sizing:border-box}html,body,#root{height:100%}html{background:var(--bg);-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}body{background:var(--bg);min-height:100svh;color:var(--ink);margin:0}button,input{font:inherit;color:inherit}button{touch-action:manipulation;cursor:pointer}p,h1,h2,h3,li{overflow-wrap:break-word}h1,h2,h3,p{margin:0}ul{margin:0;padding:0}.skip{z-index:20;background:var(--ivory);color:#16213a;padding:8px 12px;position:absolute;top:-48px;left:12px}.skip:focus{top:calc(8px + env(safe-area-inset-top))}.stage{--card-w:62px;--card-h:88px;width:min(880px,100%);height:100svh;padding:calc(8px + env(safe-area-inset-top)) calc(12px + env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) calc(12px + env(safe-area-inset-left));background:var(--bg);flex-direction:column;gap:6px;margin:0 auto;display:flex}html[data-cards=large] .stage{--card-w:78px;--card-h:110px}@media (height>=760px){.stage{--card-w:72px;--card-h:102px}html[data-cards=large] .stage{--card-w:84px;--card-h:118px}}@media (height<=700px){.stage,html[data-cards=large] .stage{--card-w:50px;--card-h:70px}}@media (height<=520px){.stage,html[data-cards=large] .stage{--card-w:44px;--card-h:60px}}@media (height<=400px){.stage,html[data-cards=large] .stage{--card-w:40px;--card-h:52px;padding-top:calc(4px + env(safe-area-inset-top));padding-bottom:calc(4px + env(safe-area-inset-bottom));gap:4px}.play-pill{padding:2px 8px}.hand h2,.total{font-size:.75rem}}@media (height<=560px) and (orientation:portrait){.menu-stage{padding-top:calc(4px + env(safe-area-inset-top));padding-bottom:calc(4px + env(safe-area-inset-bottom));justify-content:flex-start;gap:6px}.menu-points{margin-top:4px}.menu-stage .invite-note,.menu-stage .menu-foot,.menu-stage .quiet{font-size:.8rem;line-height:1.25}.menu-brand h1{font-size:1.55rem}.menu-actions{gap:8px}.menu-actions .btn:not(.primary){min-height:48px}.pill{margin-top:4px;padding:4px 8px}}.menu-stage{justify-content:center;gap:16px}.menu-brand h1,.help-bar h1{font-family:var(--serif);letter-spacing:-.03em;font-size:clamp(1.7rem,7vw,2.2rem);font-weight:600;line-height:1.05}.pill{border:1px solid var(--teal);width:fit-content;max-width:100%;color:var(--ink);border-radius:999px;margin-top:8px;padding:6px 10px;font-size:.92rem;font-weight:600;line-height:1.3;display:inline-block}.menu-points{flex-wrap:wrap;align-items:baseline;gap:8px;margin-top:12px;display:flex}.menu-points span,.play-points span,.stake-label,.quiet,.invite-note,.menu-foot,.help-scroll .quiet{color:var(--muted)}.balance-value,.stake-value{font-family:var(--serif);font-variant-numeric:tabular-nums;color:var(--ink);font-weight:600;line-height:1}.balance-value{font-size:clamp(1.6rem,6vw,2.2rem)}.menu-actions{flex-direction:column;gap:10px;display:flex}.menu-foot{font-size:.85rem}.menu-foot p+p,.invite-note{margin-top:4px}.play-bar,.help-bar{flex:none;align-items:center;gap:8px;display:flex}.play-brand{flex:auto;justify-content:space-between;align-items:baseline;gap:8px;min-width:0;display:flex}.play-brand h1{font-family:var(--serif);letter-spacing:-.03em;font-size:1.25rem;font-weight:600;line-height:1}.play-points{flex-direction:column;align-items:flex-end;gap:0;min-width:0;line-height:1.1;display:flex}.play-points span{white-space:nowrap;font-size:.72rem}.play-points .balance-value{font-size:1.35rem}.play-pill{flex:none;margin-top:0;padding:3px 8px;font-size:.78rem}.table-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;flex:auto;min-height:0;padding:8px;display:flex}.hands{flex-direction:column;flex:auto;justify-content:space-evenly;gap:6px;min-width:0;height:100%;min-height:0;display:flex}.hand{flex-direction:column;flex:1 1 0;min-width:0;min-height:0;display:flex}.hand-head{flex:none;justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px;display:flex}.hand h2{letter-spacing:.08em;text-transform:uppercase;font-size:.78rem}.total{border:1px solid var(--line);background:var(--surface-2);font-variant-numeric:tabular-nums;border-radius:999px;margin:0;padding:2px 8px;font-size:.95rem;font-weight:700;line-height:1.3}.total.soft{border-style:dashed}.total.bust{border-style:double}.total.blackjack{border-width:2px}.cards{--n:1;flex:0 1 var(--card-h);width:100%;min-height:48px;max-height:var(--card-h);flex-wrap:nowrap;align-items:stretch;height:auto;list-style:none;display:flex}.cards>li{flex:0 0 var(--card-w);width:var(--card-w);height:100%;position:relative}.cards>li+li{margin-left:clamp(calc(20px - var(--card-w)), calc((100% - var(--n) * var(--card-w)) / max(var(--n) - 1, 1)), 8px)}.card{background:var(--card);width:100%;height:100%;color:var(--spade);border-radius:8px;justify-content:center;align-items:center;animation:.16s ease-out card-in;display:flex;position:relative;box-shadow:0 6px 12px #0000002e}.card.red{color:var(--heart)}.card.back{color:var(--ivory);border:2px solid var(--teal);background:repeating-linear-gradient(135deg,#16213a,#16213a 8px,#1e3a4a 8px 16px)}.card.ghost{border:1px dashed var(--line);box-shadow:none;background:0 0}.back-mark,.rank{font-family:var(--serif);font-weight:600}.back-mark{font-size:1rem}.corner{z-index:1;flex-direction:column;align-items:center;line-height:1;display:flex;position:absolute;top:3px;left:4px}.rank{font-size:max(13px, calc(var(--card-h) * .2))}.rank.ten{font-size:max(12px, calc(var(--card-h) * .17));letter-spacing:-.04em}.rank.pip{text-underline-offset:2px;text-decoration:underline}.suit{width:12px;height:12px;display:block}.suit.large{width:32%;height:32%}.dock{flex-direction:column;flex:none;gap:6px;margin-top:auto;padding-top:4px;display:flex}.stake-panel{justify-content:space-between;align-items:center;gap:8px;min-height:48px;display:flex}.stake-label{align-items:baseline;gap:8px;font-size:.85rem;display:flex}.stake-value{color:var(--ink);font-size:1.45rem}.chips{border:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;min-inline-size:0;margin:0;padding:0;display:grid}.chip,.btn{border:1.5px solid var(--line);background:var(--surface-2);min-width:48px;min-height:48px;color:var(--ink);border-radius:12px;padding:8px 10px;font-weight:700}.chip{font-variant-numeric:tabular-nums;border-radius:999px}.btn.primary,.chip[aria-pressed=true]{border-color:var(--teal);background:var(--teal);color:var(--teal-ink)}.btn.primary:disabled,.chip:disabled,.btn:disabled{border-color:var(--line);color:var(--muted);cursor:not-allowed;background:0 0}.btn.hitstand,.menu-actions .btn{min-height:56px;font-size:1.05rem}.btn.wide{width:100%}.actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.status,.result{padding:2px 0;font-size:.95rem;line-height:1.25}.result{background:var(--surface);border-radius:10px;align-items:center;gap:8px;padding:6px 8px;font-weight:700;display:flex}.mark{text-align:center;letter-spacing:.04em;text-transform:uppercase;border:2px solid;border-radius:999px;flex:none;min-width:4.2rem;padding:2px 8px;font-size:.75rem}.result.win,.result.blackjack{color:var(--win)}.result.lose{color:var(--danger)}.result.push{color:var(--ink)}.help-stage{height:100svh}.help-scroll{flex:auto;min-height:0;padding-bottom:12px;overflow:auto}.help-scroll h2{font-family:var(--serif);margin:18px 0 6px;font-size:1.25rem;font-weight:600;line-height:1.2}.help-scroll h3{margin:14px 0 6px;font-size:1.05rem;line-height:1.3}.help-scroll p,.help-scroll li{font-size:1rem;line-height:1.45}.rules{margin-top:8px;padding-left:1.1rem}.rules li+li{margin-top:6px}.sheet{width:min(560px,100dvw - 24px);max-height:min(720px,100dvh - 24px);color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:16px;overflow:auto}.sheet::backdrop{background:#080c149e}.sheet h2{font-family:var(--serif);font-size:1.35rem;line-height:1.2}.sheet-head{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px;display:flex}.sheet-actions,.segmented{grid-template-columns:1fr 1fr;gap:8px;margin-top:8px;display:grid}.choice{justify-content:space-between;align-items:center;gap:12px;min-height:48px;margin-top:8px;display:flex}button:focus-visible,a:focus-visible{outline:3px solid var(--ivory);outline-offset:2px}html[data-theme=light] button:focus-visible,html[data-theme=light] a:focus-visible{outline-color:#06202a}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (orientation:landscape) and (height<=520px){.menu-stage{grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) minmax(220px,300px);align-content:center;align-items:center;column-gap:16px;display:grid}.menu-brand{grid-area:1/1}.menu-actions{grid-area:1/2/span 2}.menu-foot{grid-area:2/1}.play-stage{grid-template-rows:auto auto minmax(0,1fr);grid-template-columns:minmax(0,1.25fr) minmax(230px,320px);align-items:stretch;column-gap:10px;display:grid}.play-bar{grid-area:1/1/auto/-1}.play-pill{grid-area:2/1/auto/-1}.table-card{grid-area:3/1}.dock{grid-area:3/2;justify-content:end;margin-top:0}}@media (width>=420px){.play-points{flex-direction:row;align-items:baseline;gap:6px}}@media (width>=800px) and (height>=680px){.hands{flex-direction:row;gap:16px}.hand{flex:1 1 0}}@media (prefers-reduced-motion:reduce){html[data-motion=system] .card{animation:none}}html[data-motion=reduce] .card{animation:none}@keyframes card-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
