html:has(.game-frame--halved){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#21130f}.game-frame--halved{--bg:#21130f;--surface:#321f18;--surface-2:#42291e;--ink:#ede7db;--muted:#a8998c;--faint:#5c4436;--accent:#b9d2a4;--accent-soft:#b9d2a429;--brass:#b9d2a4;--miss:#d9584a;--nickel:#b8c0c4;--scene-ambient:#97897c;--scene-key:#fbf1de;--scene-disc:#efdfc9;--scene-blade:#cdd4d8;--scene-rig-base:#4e4a44;--scene-rig-beam:#a9a297;--scene-rig-pan:#c8bda8;--scene-rig-chain:#6d675e;--font-body:var(--font-suite), system-ui, -apple-system, sans-serif;--ease-out:cubic-bezier(.22, 1, .36, 1);--icon-stroke:2;color:var(--ink);font-family:var(--font-body);-webkit-font-smoothing:antialiased;overscroll-behavior-y:none;background-color:var(--bg);background-image:linear-gradient(#190e0b8f,#140b09ad),url(/textures/halved-walnut.jpg);background-position:50%,50%;background-repeat:no-repeat;background-size:auto,cover}.game-frame--halved .app{min-height:calc(100dvh - var(--bar-h));max-width:480px;padding:calc(16px + env(safe-area-inset-top)) 20px calc(24px + env(safe-area-inset-bottom));flex-direction:column;margin-inline:auto;display:flex}.game-frame--halved .screen{animation:halved-fade-up .45s var(--ease-out) both;flex-direction:column;flex:1;display:flex}.game-frame--halved .home{text-align:center;justify-content:center;align-items:center;gap:40px}.game-frame--halved .wordmark{font-family:var(--font-display), system-ui, sans-serif;letter-spacing:-.045em;justify-content:center;align-items:center;gap:.12em;margin:0;font-size:clamp(42px,13vw,58px);font-weight:700;line-height:1;display:flex}.game-frame--halved .wordmark:before{content:"";background:var(--brass);order:1;width:2px;height:.82em;margin-inline:.1em}.game-frame--halved .wordmark .cut{color:var(--accent);order:2}.game-frame--halved .tagline{color:var(--muted);font-family:var(--font-mono), ui-monospace, monospace;letter-spacing:.02em;margin:22px 0 0;font-size:12px;line-height:2.2}.game-frame--halved .home-actions{justify-content:center;align-items:flex-start;gap:28px;display:flex}.game-frame--halved .home-date{color:var(--muted);font-family:var(--font-mono), ui-monospace, monospace;letter-spacing:.12em;margin:0;font-size:13px}.game-frame--halved .intro{text-align:center;justify-content:center;align-items:center;gap:40px}.game-frame--halved .intro-word{font-family:var(--font-mono), ui-monospace, monospace;letter-spacing:-.06em;margin:8px 0 0;font-size:38px;font-weight:800;line-height:1}.game-frame--halved .intro .tagline{margin:0}.game-frame--halved .btn-stack{flex-direction:column;align-items:center;gap:10px;display:flex}.game-frame--halved .btn-round{width:64px;height:64px;transition:transform .15s var(--ease-out), background .15s ease, color .15s ease, border-color .15s ease;-webkit-tap-highlight-color:transparent;border-radius:50%;flex:none;justify-content:center;align-items:center;display:flex}.game-frame--halved .btn-round:active{transform:scale(.94)}.game-frame--halved .btn-round--primary{background:var(--accent);color:var(--bg)}.game-frame--halved .btn-round--primary:hover{background:#cbe0b9}.game-frame--halved .btn-round--ghost{color:var(--muted);border:1px solid var(--faint);background:0 0}.game-frame--halved .btn-round--ghost:hover{color:var(--ink);border-color:var(--muted)}.game-frame--halved .btn-round:disabled{opacity:.3;cursor:default}.game-frame--halved .btn-round:disabled:active{transform:none}.game-frame--halved .btn-round:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.game-frame--halved .btn-caption{font-family:var(--font-mono), ui-monospace, monospace;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-size:11px}.game-frame--halved .btn-round--locked{color:var(--faint);border-style:dashed}.game-frame--halved .btn-round--locked:hover{color:var(--muted);border-color:var(--faint)}.game-frame--halved .btn-stack--archive{position:relative}.game-frame--halved .game{justify-content:space-between;align-items:center;gap:4px;position:relative}.game-frame--halved .exit{width:40px;height:40px;color:var(--faint);-webkit-tap-highlight-color:transparent;border-radius:50%;justify-content:center;align-items:center;transition:color .15s;display:flex;position:absolute;top:-4px;left:-8px}.game-frame--halved .exit svg,.game-frame--halved .gear svg{width:18px;height:18px}.game-frame--halved .exit:hover,.game-frame--halved .gear:hover{color:var(--muted)}.game-frame--halved .exit:focus-visible,.game-frame--halved .gear:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.game-frame--halved .gear{width:40px;height:40px;color:var(--faint);-webkit-tap-highlight-color:transparent;border-radius:50%;justify-content:center;align-items:center;transition:color .15s;display:flex;position:absolute;top:-4px;right:-8px}.game-frame--halved .hud{flex-direction:column;flex:none;align-items:center;gap:14px;padding-top:8px;display:flex}.game-frame--halved .hud-dots{align-items:flex-end;gap:7px;height:20px;display:flex}.game-frame--halved .dot{background:var(--faint);width:2px;height:8px;transition:height .2s var(--ease-out), background .2s ease}.game-frame--halved .dot--done{background:var(--nickel);height:13px}.game-frame--halved .dot--active{background:var(--brass);height:20px}.game-frame--halved .hud-label{min-height:20px;color:var(--muted);font-family:var(--font-mono), ui-monospace, monospace;letter-spacing:.12em;text-transform:uppercase;margin:0;font-size:12px}.game-frame--halved .hud-label .obj{color:var(--accent)}.game-frame--halved .hud-note{color:var(--muted);opacity:.8;font-family:var(--font-mono), ui-monospace, monospace;letter-spacing:.02em;margin:-9px 0 0;font-size:11px}.game-frame--halved .hud-score{font-family:var(--font-mono), ui-monospace, monospace;letter-spacing:.12em;color:var(--faint);font-variant-numeric:tabular-nums;font-size:12px}.game-frame--halved .hud-score b{color:var(--muted);font-weight:500}.game-frame--halved .stage{flex:none;width:100%;margin-inline:auto;position:relative}.game-frame--halved .stage-canvas{aspect-ratio:520/340;width:100%;max-height:46dvh;position:relative}.game-frame--halved .stage-canvas canvas{touch-action:none;-webkit-user-select:none;user-select:none;display:block;width:100%!important;height:100%!important}.game-frame--halved .stage--live .stage-canvas canvas{cursor:ew-resize}.game-frame--halved .turn-control{flex-direction:column;align-items:center;gap:10px;display:flex}.game-frame--halved .turn-wheel{border:1px solid color-mix(in srgb, var(--ink) 12%, transparent);background:linear-gradient(to bottom, #0c06049e, transparent 32%, transparent 68%, #0c06049e), color-mix(in srgb, var(--ink) 8%, var(--surface));width:44px;height:72px;box-shadow:inset 0 1px 0 color-mix(in srgb, var(--ink) 16%, transparent), 0 8px 20px #00000052;cursor:ns-resize;touch-action:none;-webkit-user-select:none;user-select:none;transition:border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);border-radius:22px;position:relative;overflow:hidden}.game-frame--halved .turn-wheel:active{border-color:color-mix(in srgb, var(--accent) 45%, transparent);box-shadow:inset 0 1px 0 color-mix(in srgb, var(--ink) 16%, transparent), 0 0 0 4px var(--accent-soft), 0 8px 20px #00000052}.game-frame--halved .turn-wheel:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.game-frame--halved .turn-ridges{pointer-events:none;position:absolute;inset:0}.game-frame--halved .turn-ridge{background:color-mix(in srgb, var(--ink) 72%, transparent);border-radius:1px;height:2px;margin-top:-1px;position:absolute;top:50%;left:12px;right:12px}.game-frame--halved .turn-ridge--home{background:var(--accent);height:3px;box-shadow:0 0 8px color-mix(in srgb, var(--accent) 55%, transparent);border-radius:2px;margin-top:-1.5px;left:8px;right:8px}.game-frame--halved .turn-label{font-family:var(--font-mono), ui-monospace, monospace;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-size:11px}.game-frame--halved .cut-knob{background:var(--scene-disc);pointer-events:none;border-radius:50%;width:12px;height:12px;margin-top:-6px;margin-left:-6px;position:absolute}.game-frame--halved .action{flex-direction:column;flex:none;justify-content:flex-end;align-items:center;gap:16px;min-height:188px;padding-bottom:4px;display:flex}.game-frame--halved .action .btn-stack,.game-frame--halved .action>.btn-round,.game-frame--halved .action-row{margin-top:8px}.game-frame--halved .action-row{justify-content:center;align-items:flex-end;gap:36px;display:flex}.game-frame--halved .action-row>.btn-stack{margin-top:0}.game-frame--halved .action-side{min-width:44px}.game-frame--halved .readout{font-family:var(--font-mono), ui-monospace, monospace;color:var(--muted);font-variant-numeric:tabular-nums;animation:halved-fade-up .3s var(--ease-out) both;justify-content:center;align-items:baseline;gap:10px;font-size:13px;display:flex}.game-frame--halved .readout b{color:var(--ink);font-weight:500}.game-frame--halved .readout .heavy b{color:var(--miss)}.game-frame--halved .score-readout{color:var(--accent);font-family:var(--font-mono), ui-monospace, monospace;letter-spacing:-.05em;font-variant-numeric:tabular-nums;font-size:50px;font-weight:800;line-height:1}.game-frame--halved .score-readout .unit,.game-frame--halved .summary-total .unit{color:var(--muted);margin-left:.2em;font-size:.4em;font-weight:400}.game-frame--halved .quip{color:var(--muted);font-family:var(--font-mono), ui-monospace, monospace;text-align:center;text-wrap:balance;animation:halved-fade-up .3s var(--ease-out) .35s both;margin:0;padding-inline:24px;font-size:13px}.game-frame--halved .summary{gap:14px;padding-top:14px}.game-frame--halved .summary-head{text-align:center}.game-frame--halved .eyebrow{color:var(--muted);font-family:var(--font-mono), ui-monospace, monospace;letter-spacing:.16em;text-transform:uppercase;margin:0 0 8px;font-size:12px;font-weight:400}.game-frame--halved .summary-total{font-family:var(--font-mono), ui-monospace, monospace;font-variant-numeric:tabular-nums;letter-spacing:-.02em;margin:0;font-size:58px;font-weight:700;line-height:1}.game-frame--halved .summary-dash{color:var(--faint)}.game-frame--halved .summary-note{color:var(--muted);font-family:var(--font-mono), ui-monospace, monospace;letter-spacing:.04em;text-wrap:balance;margin:12px 0 0;font-size:12px}@media (max-height:900px){.game-frame--halved .summary{gap:10px;padding-top:8px}}@media (max-height:600px){.game-frame--halved .summary{gap:5px;padding-top:4px}.game-frame--halved .summary-total{font-size:42px}}.game-frame--halved .sheet-backdrop{z-index:40;background:#090504b8;justify-content:center;align-items:flex-end;padding:16px;animation:.2s both halved-fade-in;display:flex;position:fixed;inset:0}.game-frame--halved .sheet{background:var(--surface);border:1px solid var(--faint);width:100%;max-width:448px;margin-bottom:env(safe-area-inset-bottom);animation:halved-sheet-up .28s var(--ease-out) both;border-radius:14px;padding:20px}.game-frame--halved .coach-layer{left:0;right:0;bottom:calc(176px + env(safe-area-inset-bottom));z-index:30;pointer-events:none;justify-content:center;padding:0 16px;display:flex;position:fixed}.game-frame--halved .coach-layer .sheet{pointer-events:auto;border-color:var(--accent);box-shadow:0 24px 70px -24px #000}.game-frame--halved .sheet-title{font-family:var(--font-mono), ui-monospace, monospace;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin:0 0 14px;font-size:11px;font-weight:400}.game-frame--halved .coach-body{color:var(--ink);text-wrap:pretty;margin:0 0 16px;font-size:15px;line-height:1.55}.game-frame--halved .coach-body b{color:var(--accent);font-weight:600}.game-frame--halved .coach-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.game-frame--halved .link-btn{font-family:var(--font-mono), ui-monospace, monospace;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);padding:8px 2px;font-size:11px;transition:color .15s}.game-frame--halved .link-btn:hover{color:var(--ink)}.game-frame--halved .link-btn:disabled{opacity:.35;cursor:default}.game-frame--halved .link-btn:disabled:hover{color:var(--muted)}.game-frame--halved .link-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.game-frame--halved .set-row{border-bottom:1px solid var(--faint);justify-content:space-between;align-items:center;gap:16px;padding:14px 0;font-size:15px;display:flex}.game-frame--halved .set-row:last-of-type{border-bottom:0}.game-frame--halved .set-row small{color:var(--muted);font-family:var(--font-mono), ui-monospace, monospace;margin-top:3px;font-size:11px;display:block}.game-frame--halved .switch{flex:none;width:44px;height:26px;position:relative}.game-frame--halved .switch input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute}.game-frame--halved .slider{background:var(--faint);pointer-events:none;border-radius:999px;transition:background .2s;position:absolute;inset:0}.game-frame--halved .slider:before{content:"";background:var(--ink);width:20px;height:20px;transition:transform .2s var(--ease-out);border-radius:50%;position:absolute;top:3px;left:3px}.game-frame--halved .switch input:checked+.slider{background:var(--accent)}.game-frame--halved .switch input:checked+.slider:before{background:var(--bg);transform:translate(18px)}.game-frame--halved .switch input:focus-visible+.slider{outline:2px solid var(--accent);outline-offset:3px}.game-frame--halved .sheet-actions{justify-content:center;padding-top:18px;display:flex}@keyframes halved-fade-up{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes halved-fade-in{0%{opacity:0}to{opacity:1}}@keyframes halved-sheet-up{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}@keyframes halved-bar-grow{0%{transform:scaleX(0)}to{transform:scaleX(1)}}@media (prefers-reduced-motion:reduce){.game-frame--halved *,.game-frame--halved :before,.game-frame--halved :after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-delay:0s!important}}.game-frame--halved.live-halved{--live-stage:36dvh;flex-direction:column;height:100dvh;min-height:0;display:flex;overflow:hidden}.game-frame--halved.live-halved[data-seats=many]{--live-stage:27dvh}.game-frame--halved.live-halved .app{width:100%;min-height:0;padding:2px 16px calc(14px + env(safe-area-inset-bottom));flex:1}.game-frame--halved.live-halved .screen.game{justify-content:space-between;gap:6px;min-height:0}.game-frame--halved.live-halved .hud{gap:0;padding-top:0}.game-frame--halved.live-halved .stage{width:min(100%, calc(var(--live-stage) * 520 / 340))}.game-frame--halved.live-halved .stage-canvas{max-height:none}.game-frame--halved.live-halved .action{flex:1;justify-content:flex-end;width:100%;min-height:0;padding-bottom:8px}.game-frame--halved.live-halved .action.lva-action{gap:10px;padding-bottom:0}.game-frame--halved .cut-label{pointer-events:none;width:0;height:0;animation:halved-mark-in .35s var(--ease-out) both;position:absolute}.game-frame--halved .cut-label.is-mine{z-index:2}.game-frame--halved .cut-label.is-truth{z-index:1}.game-frame--halved .cut-stems{pointer-events:none;opacity:.8;animation:halved-mark-in .35s var(--ease-out) both;position:absolute;inset:0;overflow:visible}.game-frame--halved .cut-tag{width:24px;height:24px;box-shadow:0 0 0 2px var(--bg);color:#14100f;font:800 12px/1 var(--font-display-stack);border-radius:50%;place-items:center;display:grid;position:absolute;top:0;left:0;transform:translate(-50%,-50%)}.game-frame--halved .cut-tag.is-pair{letter-spacing:-.02em;font-size:9.5px}.game-frame--halved .is-mine .cut-tag{width:28px;height:28px;font-size:13px}.game-frame--halved .is-mine .cut-tag.is-pair{font-size:10.5px}.game-frame--halved .cut-tag.is-truth{background:var(--truth,#fff);letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;border-radius:9px;width:auto;height:18px;padding:0 7px;font-size:10px}@keyframes halved-mark-in{0%{opacity:0}}
