html:has(.game-frame--balanced){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#0e1620}.game-frame--balanced{--bg:#0e1620;--surface:#16212e;--surface-2:#1e2c3d;--ink:#e6edf6;--muted:#8497ab;--faint:#2c3d52;--accent:#3f8ef7;--accent-soft:#3f8ef724;--steel:#a9bccd;--steel-dark:#71859a;--miss:#ff7a6b;--font-body:var(--font-suite), system-ui, -apple-system, sans-serif;--ease-out:cubic-bezier(.22, 1, .36, 1);--icon-stroke:1.9;color:var(--ink);font-family:var(--font-body);-webkit-font-smoothing:antialiased;overscroll-behavior-y:none;background-color:var(--bg);background-image:radial-gradient(125% 68% at 50% -6%,#1e2f43 0%,#131e2b 46%,#0e1620 78%)}.game-frame--balanced .app{min-height:calc(100dvh - var(--bar-h));max-width:480px;padding:calc(14px + env(safe-area-inset-top)) 20px calc(22px + env(safe-area-inset-bottom));flex-direction:column;margin-inline:auto;display:flex}.game-frame--balanced .screen{animation:bal-fade-up .45s var(--ease-out) both;flex-direction:column;flex:1;display:flex}.game-frame--balanced .app{isolation:isolate}.game-frame--balanced .home,.game-frame--balanced .intro{text-align:center;justify-content:center;align-items:center;gap:40px}.game-frame--balanced .wordmark{width:fit-content;font-family:var(--font-display), system-ui, sans-serif;letter-spacing:-.04em;margin-inline:auto;font-size:clamp(44px,13.5vw,62px);font-weight:700;line-height:1;position:relative}.game-frame--balanced .wordmark:after{content:"";border-left:9px solid #0000;border-right:9px solid #0000;border-bottom:13px solid var(--accent);width:0;height:0;position:absolute;top:calc(100% + 7px);left:58%;transform:translate(-50%)}.game-frame--balanced .wordmark:before{content:"";border-bottom:2px solid var(--ink);position:absolute;inset:auto -14px -7px}.game-frame--balanced .intro-word{font-family:var(--font-display), system-ui, sans-serif;letter-spacing:-.03em;margin:8px 0 0;font-size:46px;font-weight:700;line-height:1}.game-frame--balanced .tagline{color:var(--muted);font-family:var(--font-mono), ui-monospace, monospace;letter-spacing:.02em;margin:26px 0 0;font-size:12.5px;line-height:2.15}.game-frame--balanced .intro .tagline{margin:0}.game-frame--balanced .home-actions{justify-content:center;align-items:flex-start;gap:30px;display:flex}.game-frame--balanced .home-date{color:var(--muted);font-family:var(--font-mono), ui-monospace, monospace;letter-spacing:.12em;margin:0;font-size:13px}.game-frame--balanced .btn-stack{flex-direction:column;align-items:center;gap:10px;display:flex}.game-frame--balanced .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--balanced .btn-round:active{transform:scale(.94)}.game-frame--balanced .btn-round--primary{background:var(--accent);color:#08101a}.game-frame--balanced .btn-round--primary:hover{background:#63a5ff}.game-frame--balanced .btn-round--ghost{color:var(--muted);border:1px solid var(--faint);background:0 0}.game-frame--balanced .btn-round--ghost:hover{color:var(--ink);border-color:var(--muted)}.game-frame--balanced .btn-round:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.game-frame--balanced .btn-caption{font-family:var(--font-mono), ui-monospace, monospace;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-size:11px}.game-frame--balanced .btn-round--locked{color:var(--faint);border-style:dashed}.game-frame--balanced .btn-round--locked:hover{color:var(--muted);border-color:var(--faint)}.game-frame--balanced .btn-stack--archive{position:relative}.game-frame--balanced .game{justify-content:space-between;align-items:center;gap:4px;position:relative}.game-frame--balanced .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--balanced .exit svg{width:18px;height:18px}.game-frame--balanced .exit:hover{color:var(--muted)}.game-frame--balanced .exit:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.game-frame--balanced .hud{flex-direction:column;flex:none;align-items:center;gap:12px;padding-top:6px;display:flex}.game-frame--balanced .hud-dots{gap:10px;display:flex}.game-frame--balanced .dot{background:var(--faint);width:2px;height:8px;transition:height .2s var(--ease-out), background .2s ease}.game-frame--balanced .dot--done{background:var(--steel-dark);height:13px}.game-frame--balanced .dot--active{background:var(--accent);height:20px}.game-frame--balanced .hud-label{min-height:18px;color:var(--muted);font-family:var(--font-mono), ui-monospace, monospace;letter-spacing:.12em;text-transform:uppercase;margin:0;font-size:11.5px}.game-frame--balanced .hud-score{color:var(--muted);font-family:var(--font-mono), ui-monospace, monospace;letter-spacing:.1em;margin:0;font-size:11px}.game-frame--balanced .hud-score b{color:var(--ink)}.game-frame--balanced .stage{flex-direction:column;flex:none;gap:14px;width:100%;display:flex}.game-frame--balanced .level{opacity:.4;align-self:center;transition:opacity .3s}.game-frame--balanced .level--live{opacity:1}.game-frame--balanced .level:not(.level--live) .level-bubble{opacity:0}.game-frame--balanced .level-vial{border:1px solid var(--faint);background:linear-gradient(#101b26,#17242f);border-radius:999px;width:132px;height:15px;display:block;position:relative;overflow:hidden}.game-frame--balanced .level-vial:before,.game-frame--balanced .level-vial:after{content:"";background:var(--faint);width:1px;position:absolute;top:2px;bottom:2px}.game-frame--balanced .level-vial:before{left:calc(50% - 7px)}.game-frame--balanced .level-vial:after{left:calc(50% + 7px)}.game-frame--balanced .level-bubble{background:var(--accent);width:11px;height:11px;box-shadow:0 0 9px var(--accent-soft);transform:translate(-50%, -50%) translateX(var(--slide,0px));transition:transform .5s var(--ease-out), opacity .25s ease;border-radius:50%;position:absolute;top:50%;left:50%}.game-frame--balanced .stage-svg{touch-action:none;-webkit-user-select:none;user-select:none;width:100%;height:auto;display:block}.game-frame--balanced .stage-svg--live{cursor:ew-resize}.game-frame--balanced .stage-svg:focus,.game-frame--balanced .stage-svg:focus-visible{outline:none}.game-frame--balanced .stage-svg--keys:focus{outline:2px solid var(--accent);outline-offset:4px;border-radius:4px}.game-frame--balanced .plate{fill:#101a25}.game-frame--balanced .plate-grain{stroke:#43596f;stroke-width:.35px;opacity:.5}.game-frame--balanced .plate-edge{stroke:var(--steel-dark);stroke-width:.7px;opacity:.7}.game-frame--balanced .solid{fill:var(--steel);stroke:#d6e4f2;stroke-width:.7px;stroke-linejoin:round}.game-frame--balanced .poise,.game-frame--balanced .fall{transform-origin:0 0;transform:translate(var(--ox), var(--oy)) rotate(var(--turn,0deg)) translate(calc(-1 * var(--ox)), calc(-1 * var(--oy)))}.game-frame--balanced .poise{transition:transform var(--dur,0s) cubic-bezier(.16, 1, .3, 1)}.game-frame--balanced .fall{transition:transform var(--dur,0s) cubic-bezier(.55, 0, .9, .55) var(--delay,0s)}.game-frame--balanced .wobble{transform-origin:0 0;animation:bal-wobble .9s var(--ease-out) both}.game-frame--balanced .fulcrum-body{fill:var(--accent)}.game-frame--balanced .fulcrum-edge{stroke:#cfe3ff;stroke-width:1.4px;stroke-linecap:round}.game-frame--balanced .fulcrum{transition:filter .2s}.game-frame--balanced .fulcrum--live{filter:drop-shadow(0 0 5px var(--accent-soft))}.game-frame--balanced .truth-line{stroke:var(--ink);stroke-width:.5px;stroke-dasharray:2 2.4;opacity:.65;animation:.3s both bal-fade}.game-frame--balanced .truth-mark{fill:var(--ink);animation:.3s 80ms both bal-fade}.game-frame--balanced .truth-gap line{stroke:var(--miss);stroke-width:.7px;animation:.3s .16s both bal-fade}.game-frame--balanced .action{flex-direction:column;flex:none;justify-content:flex-end;align-items:center;gap:16px;min-height:clamp(122px,24dvh,176px);padding-bottom:4px;display:flex}.game-frame--balanced .commit{align-items:center;gap:22px;margin-top:10px;display:flex}.game-frame--balanced .nudge{border:1px solid var(--faint);width:44px;height:44px;color:var(--muted);-webkit-tap-highlight-color:transparent;border-radius:50%;justify-content:center;align-items:center;transition:color .15s,border-color .15s;display:flex}.game-frame--balanced .nudge:hover{color:var(--ink);border-color:var(--muted)}.game-frame--balanced .nudge:active{transform:scale(.92)}.game-frame--balanced .nudge:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.game-frame--balanced .readout{color:var(--muted);font-family:var(--font-mono), ui-monospace, monospace;letter-spacing:.06em;text-transform:uppercase;font-variant-numeric:tabular-nums;margin:0;font-size:11.5px}.game-frame--balanced .readout--level{color:var(--accent)}.game-frame--balanced .score-readout{color:var(--accent);font-family:var(--font-mono), ui-monospace, monospace;font-variant-numeric:tabular-nums;letter-spacing:-.03em;font-size:46px;font-weight:600;line-height:1}.game-frame--balanced .score-readout .unit,.game-frame--balanced .summary-total .unit{color:var(--muted);margin-left:.2em;font-size:.4em;font-weight:400}.game-frame--balanced .quip{color:var(--muted);font-family:var(--font-mono), ui-monospace, monospace;text-align:center;text-wrap:balance;animation:bal-fade-up .3s var(--ease-out) .15s both;margin:0;padding-inline:18px;font-size:13px}.game-frame--balanced .summary{gap:14px;padding-top:14px}.game-frame--balanced .summary-head{text-align:center}.game-frame--balanced .eyebrow{color:var(--muted);font-family:var(--font-mono), ui-monospace, monospace;letter-spacing:.16em;text-transform:uppercase;margin:0 0 8px;font-size:11px}.game-frame--balanced .summary-total{font-family:var(--font-display), system-ui, sans-serif;font-variant-numeric:tabular-nums;letter-spacing:-.03em;margin:0;font-size:58px;font-weight:700;line-height:1}.game-frame--balanced .summary-dash{color:var(--faint)}.game-frame--balanced .summary-note{color:var(--muted);font-family:var(--font-mono), ui-monospace, monospace;letter-spacing:.03em;text-wrap:balance;margin:12px 0 0;font-size:12px}@media (max-height:900px){.game-frame--balanced .summary{gap:10px;padding-top:8px}}@media (max-height:600px){.game-frame--balanced .summary{gap:5px;padding-top:4px}.game-frame--balanced .summary-total{font-size:42px}}.game-frame--balanced .sheet-backdrop{z-index:40;background:#060b11b8;justify-content:center;align-items:flex-end;animation:.2s both bal-fade;display:flex;position:fixed;inset:0}.game-frame--balanced .sheet{width:min(100%,480px);padding:22px 20px calc(24px + env(safe-area-inset-bottom));border-top:1px solid var(--faint);background:var(--surface);animation:bal-sheet-up .28s var(--ease-out) both;border-radius:16px 16px 0 0}.game-frame--balanced .sheet-title{font-family:var(--font-display), system-ui, sans-serif;letter-spacing:-.02em;margin:0 0 6px;font-size:21px;font-weight:700}.game-frame--balanced .sheet-actions{flex-direction:column;align-items:center;gap:10px;margin-top:14px;display:flex}.game-frame--balanced .link-btn{color:var(--muted);font-family:var(--font-mono), ui-monospace, monospace;letter-spacing:.1em;text-transform:uppercase;text-underline-offset:3px;padding:4px 6px;font-size:11px;text-decoration:underline}.game-frame--balanced .link-btn:hover{color:var(--ink)}.game-frame--balanced .link-btn:disabled{opacity:.4}.game-frame--balanced .link-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@keyframes bal-fade-up{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes bal-fade{0%{opacity:0}to{opacity:1}}@keyframes bal-bar{0%{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes bal-sheet-up{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}@keyframes bal-wobble{0%{transform:translate(var(--ox), var(--oy)) rotate(0deg) translate(calc(-1 * var(--ox)), calc(-1 * var(--oy)))}24%{transform:translate(var(--ox), var(--oy)) rotate(1.5deg) translate(calc(-1 * var(--ox)), calc(-1 * var(--oy)))}52%{transform:translate(var(--ox), var(--oy)) rotate(-.95deg) translate(calc(-1 * var(--ox)), calc(-1 * var(--oy)))}78%{transform:translate(var(--ox), var(--oy)) rotate(.4deg) translate(calc(-1 * var(--ox)), calc(-1 * var(--oy)))}to{transform:translate(var(--ox), var(--oy)) rotate(0deg) translate(calc(-1 * var(--ox)), calc(-1 * var(--oy)))}}@media (prefers-reduced-motion:reduce){.game-frame--balanced *,.game-frame--balanced :before,.game-frame--balanced :after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-delay:0s!important}}.game-frame--balanced.live-balanced{flex-direction:column;height:100dvh;min-height:0;display:flex;overflow:hidden}.game-frame--balanced.live-balanced .app{width:100%;min-height:0;padding:2px 16px calc(14px + env(safe-area-inset-bottom));flex:1}.game-frame--balanced.live-balanced .screen.game{justify-content:space-between;gap:6px;min-height:0}.game-frame--balanced.live-balanced .hud{gap:0;padding-top:2px}.game-frame--balanced.live-balanced .stage{gap:0}.game-frame--balanced.live-balanced .action{flex:1;justify-content:flex-end;width:100%;min-height:0;padding-bottom:8px}.game-frame--balanced.live-balanced .action.lva-action{gap:10px;padding-bottom:0}.game-frame--balanced.live-balanced .commit{margin-top:0}.game-frame--balanced .truth--shared .truth-line{stroke:#fff}.game-frame--balanced .truth-fulcrum path{fill:#fff;opacity:.92;animation:.3s .1s both bal-fade}.game-frame--balanced .truth-tag{animation:.3s .2s both bal-fade}.game-frame--balanced .truth-tag rect{fill:#fff}.game-frame--balanced .truth-tag text{fill:#14100f;font:800 4px/1 var(--font-display-stack);letter-spacing:.06em;text-transform:uppercase}.game-frame--balanced .mark{animation:bal-fade .4s var(--ease-out) .3s both}.game-frame--balanced .mark-pin{fill:var(--seat);opacity:.95}.game-frame--balanced .mark-stem{stroke:var(--seat);stroke-width:.8px}.game-frame--balanced .mark-disc{fill:var(--seat);stroke:var(--bg);stroke-width:1px}.game-frame--balanced .mark--mine .mark-disc{stroke:#fff;stroke-width:1.1px}.game-frame--balanced .mark-letter{fill:#14100f;font:800 4.9px/1 var(--font-display-stack);pointer-events:none}.game-frame--balanced .mark-letter--pair{letter-spacing:-.02em;font-size:3.8px}
