:root{--bg: #f7f5f0;--surface: #ffffff;--ink: #17171a;--ink-soft: #5d5d66;--rule: #dcd8cf;--accent: #2b59c3;--reference: #c9c5bc;--field: #ece8df;--danger: #c8553d;--water: rgb(80 140 210 / .28);--on-accent: #ffffff;--eye: #121214;--eye-glint: #ffffff;--duck-flank: #cfcac1;--duck-back: #8d8274;--duck-wing: #9b9184;--duck-tertial: #6f665c;--duck-breast: #7b4532;--duck-head: #1d6b4c;--duck-sheen: #3f9a72;--duck-ring: #ffffff;--duck-bill: #e7bf3a;--duck-nail: #3a3a33;--duck-feet: #ec8a2f;--duck-feet-shade: #c96f20;--duck-tail: #26262b;--duck-speculum: #3557b5;--horse-body: #a65f33;--horse-shade: #864a26;--horse-mane: #3d2519;--horse-hoof: #2c2a28;--horse-sock: #f3eee6;--person-skin: #c7a58a;--person-skin-shade: #a98a71;--person-hair: #2f2a27;--person-shirt: #5b7a99;--person-shirt-shade: #4a6580;--person-legs: #34404f;--person-legs-shade: #283240;--person-shoes: #1d1d20;--font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;color-scheme:light}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--bg: #141417;--surface: #1d1d22;--ink: #f1efe9;--ink-soft: #a3a1a9;--rule: #34343b;--accent: #7d9ef0;--reference: #4a4a52;--field: #26262c;--danger: #e07a62;--on-accent: #141417;--duck-ring: #e9e6df;color-scheme:dark}}*{box-sizing:border-box}html,body{margin:0}body{background:var(--bg);color:var(--ink);font-family:var(--font);font-size:18px;line-height:1.5;-webkit-font-smoothing:antialiased}.scene{min-height:100vh;position:relative;border-top:1px solid var(--rule)}.stage{height:100vh;display:grid;grid-template-rows:auto 1fr auto;gap:16px;padding:48px clamp(16px,5vw,64px) 32px;max-width:1200px;margin:0 auto}.eyebrow{font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);margin:0 0 8px}h1,h2{margin:0;font-weight:700;letter-spacing:-.02em;line-height:1.1}h1{font-size:clamp(36px,6vw,72px)}h2{font-size:clamp(28px,4vw,48px)}.lede{color:var(--ink-soft);max-width:60ch;margin:12px 0 0}.canvas{width:100%;height:100%;min-height:0}.canvas svg{width:100%;height:100%;display:block;overflow:visible}.ground{stroke:var(--rule);stroke-width:2}.readouts{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px 24px;font-variant-numeric:tabular-nums}.readout{border-top:1px solid var(--rule);padding-top:8px}.readout .label{font-size:13px;color:var(--ink-soft)}.readout .value{font-size:24px;font-weight:600}.verdict{font-size:20px;font-weight:600;margin:0;opacity:0}.verdict strong{color:var(--accent)}.choices{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}.choice{font:inherit;font-weight:600;padding:14px 22px;border-radius:999px;border:1.5px solid var(--ink);background:transparent;color:var(--ink);cursor:pointer;transition:background .2s,color .2s}.choice:hover{background:var(--surface)}.choice[aria-pressed=true]{background:var(--ink);color:var(--bg)}.choice:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.word-sized{color:var(--accent);display:inline-block}.meaning-tags{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.meaning-tag{padding:8px 16px;border-radius:999px;background:var(--surface);border:1px solid var(--rule);font-weight:600}.bars{display:grid;gap:14px;align-content:center;font-variant-numeric:tabular-nums}.bar-row{display:grid;grid-template-columns:140px 1fr 110px;align-items:center;gap:12px}.bar-track{height:18px;background:var(--surface);border-radius:9px;overflow:hidden}.bar-fill{height:100%;border-radius:9px;background:var(--reference);transition:width .6s ease}.bar-fill.duck{background:var(--duck-head)}.bar-fill.horse{background:var(--horse-body)}@media(max-width:600px){body{font-size:16px}.stage{padding-top:32px}.bar-row{grid-template-columns:90px 1fr 80px}}@media(prefers-reduced-motion:reduce){.verdict{opacity:1}}.battle{display:grid;grid-template-rows:auto auto 1fr auto;gap:8px;min-height:0}.battle-bar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.battle-pick,.battle-actions{display:flex;flex-wrap:wrap;gap:8px}.choice.small{padding:8px 16px;font-size:15px}.choice.primary{background:var(--accent);border-color:var(--accent);color:var(--on-accent);min-width:110px}.choice.primary:hover{filter:brightness(1.08);background:var(--accent)}.choice:disabled{opacity:.6;cursor:default}.battle-sub{margin:0;font-size:15px;color:var(--ink-soft);font-variant-numeric:tabular-nums}.battle-arena{position:relative;min-height:0;aspect-ratio:900 / 440;width:100%;max-height:62vh;margin:0 auto;background:var(--surface);border:1px solid var(--rule);border-radius:16px;overflow:hidden}.battle-arena svg{width:100%;height:100%;display:block}.field{fill:var(--field)}.hud-label{font-size:14px;font-weight:600;fill:var(--ink)}.hud-clock{font-size:16px;font-weight:600;fill:var(--ink-soft);font-variant-numeric:tabular-nums}.hud-track,.unit-track{fill:var(--rule)}.hud-fill.you,.unit-fill.you{fill:var(--accent)}.hud-fill.them,.unit-fill.them{fill:var(--danger)}.spark{fill:none;stroke-width:2.5}.spark.you{stroke:var(--danger)}.spark.them{stroke:var(--ink-soft)}.battle-result{position:absolute;left:50%;bottom:20px;transform:translate(-50%);display:grid;gap:2px;text-align:center;padding:12px 20px;border-radius:12px;background:var(--ink);color:var(--bg);box-shadow:0 8px 30px #00000026}.battle-result strong{font-size:20px}.battle-result[hidden]{display:none}.battle-note{margin:0;font-size:13px;color:var(--ink-soft)}#verdict .stage{grid-template-rows:auto auto auto;height:auto;min-height:100vh}.battle{grid-template-rows:auto auto auto auto}.note{font-size:13px;fill:var(--ink-soft);font-family:var(--font)}.balance-post{fill:var(--rule)}.balance-bar,.balance-pivot{fill:var(--ink-soft)}.pan line{stroke:var(--ink-soft);stroke-width:1.5}.pan path{fill:var(--ink-soft)}.pan text{font-size:13px;fill:var(--ink);font-weight:600;font-variant-numeric:tabular-nums}.ruler line{stroke:var(--rule);stroke-width:2}.ruler text{font-size:12px;fill:var(--ink-soft)}.mark{stroke-dasharray:6 6;stroke-width:1.5}.mark-duck{stroke:var(--duck-head)}.mark-horse{stroke:var(--horse-body)}.water{fill:var(--water)}.sheet-duck{fill:var(--duck-head)}.sheet-horse{fill:var(--horse-body)}.motion,.wing{transform-box:fill-box}.motion{transform-origin:50% 100%}.wing{transform-origin:90% 20%}#volume .settled .m-duck .motion{animation:bob 2.4s ease-in-out infinite}#skin .settled .m-horse .motion{animation:shiver .12s linear infinite}#skin .settled .m-duck .wing{animation:flap 1.4s ease-in-out infinite}svg.plucked{--duck-flank: #f1c4b6;--duck-back: #e8b0a1;--duck-wing: #ebb8a9;--duck-tertial: #d99a8a;--duck-breast: #eab3a3;--duck-tail: #d99a8a;--duck-speculum: #e8b0a1}@keyframes bob{0%,to{transform:translateY(0) rotate(0)}50%{transform:translateY(-2%) rotate(-1.5deg)}}@keyframes shiver{0%{transform:translate(0)}25%{transform:translate(-3%)}75%{transform:translate(3%)}}@keyframes flap{0%,60%,to{transform:rotate(0)}70%{transform:rotate(-28deg)}80%{transform:rotate(0)}90%{transform:rotate(-22deg)}}@media(prefers-reduced-motion:reduce){#volume .settled .m-duck .motion,#skin .settled .m-horse .motion,#skin .settled .m-duck .wing{animation:none}}.battle-note a{color:inherit}@media(max-width:600px){.meaning-svg .balance{transform:translate(690px,64px) scale(.85)}.meaning-svg .sheets{transform:translate(720px,60px) scale(.85)}.meaning-svg .dromo{transform:translate(110px)}.meaning-svg .ruler{transform:translate(150px)}.meaning-svg .mark-duck-t,.meaning-svg .mark-horse-t{transform:translate(-160px)}.note{font-size:15px}.meaning-svg .dromo .note{text-anchor:start;transform:translate(70px)}.hud-label,.hud-clock{font-size:26px}.readouts{grid-template-columns:repeat(2,1fr);gap:8px 16px}.readout .value{font-size:20px}.verdict{font-size:17px}.battle-arena{max-height:none}.battle-result{bottom:10px;padding:8px 14px;width:max-content;max-width:90%}.battle-result strong{font-size:17px}}:root{--code-bg: #f3f1ec;--code-ink: #2a2a30;--code-kw: #8a3fb8;--code-tac: #2b59c3;--code-type: #1d7a5a;--code-def: #b0541f;--code-num: #a8326e;--code-op: #6a6a75;--code-comment: #8b8a85;--proof-ok: #1d7a5a;--proof-ok-bg: rgb(29 122 90 / .1);--tip-bg: #17171a;--tip-ink: #f7f5f0}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--code-bg: #18181c;--code-ink: #e4e2dc;--code-kw: #d19af0;--code-tac: #8fb0f5;--code-type: #6fd0a8;--code-def: #f0a36f;--code-num: #f08fbd;--code-op: #a3a1a9;--code-comment: #77757d;--proof-ok: #6fd0a8;--proof-ok-bg: rgb(111 208 168 / .12);--tip-bg: #f1efe9;--tip-ink: #141417}}.proof-row{display:flex;justify-content:flex-end}.proof-launch{display:inline-flex;align-items:center;gap:8px;font:inherit;font-size:14px;font-weight:600;color:var(--ink-soft);background:var(--surface);border:1px solid var(--rule);border-radius:999px;padding:6px 14px 6px 8px;cursor:pointer;transition:color .2s,border-color .2s,transform .2s}.proof-launch:hover{color:var(--proof-ok);border-color:var(--proof-ok);transform:translateY(-1px)}.proof-launch:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.proof-launch .shield{fill:var(--proof-ok-bg);stroke:var(--proof-ok);stroke-width:1.6;stroke-linejoin:round}.proof-launch .tick{fill:none;stroke:var(--proof-ok);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}html.proof-open{overflow:hidden}.proof-modal{width:min(860px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:0;border:1px solid var(--rule);border-radius:20px;background:var(--bg);color:var(--ink);box-shadow:0 24px 80px #0000004d;overflow:hidden}.proof-modal[open]{display:flex;animation:proof-in .25s ease-out}.proof-modal::backdrop{background:#0a0a0e8c;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}@keyframes proof-in{0%{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.proof-modal[open]{animation:none}}.proof-inner{overflow-y:auto;padding:28px clamp(16px,4vw,40px) 32px;width:100%;overscroll-behavior:contain}.proof-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.proof-top .eyebrow{color:var(--proof-ok)}.proof-top h2{font-size:clamp(24px,3.4vw,36px)}.proof-close{flex:none;width:40px;height:40px;border-radius:50%;font:inherit;font-size:24px;line-height:1;cursor:pointer;color:var(--ink);background:var(--surface);border:1px solid var(--rule)}.proof-close:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.proof-lede{color:var(--ink-soft);margin:14px 0 0;max-width:62ch}.proof-badges{list-style:none;padding:0;margin:18px 0 0;display:flex;flex-wrap:wrap;gap:8px}.proof-badges li{font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;padding:5px 12px;border-radius:999px;color:var(--proof-ok);background:var(--proof-ok-bg)}.proof-badges .term{border-bottom-color:currentColor}.proof-caveat{margin:20px 0 0;padding:14px 18px;border-left:4px solid var(--danger);background:var(--surface);border-radius:0 12px 12px 0;font-size:16px}.proof-hint{font-size:14px;color:var(--ink-soft);margin:18px 0 0}.thm{margin-top:20px;padding:20px clamp(14px,3vw,24px);background:var(--surface);border:1px solid var(--rule);border-radius:16px}.thm-head{display:flex;align-items:center;gap:12px}.thm-head h3{margin:0;font-size:20px;letter-spacing:-.01em;flex:1}.thm-num{flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:14px;font-weight:700;color:var(--on-accent);background:var(--accent)}.thm-check{flex:none;font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px;color:var(--proof-ok);background:var(--proof-ok-bg);cursor:help}.thm-plain{font-size:18px;font-weight:500;margin:14px 0 0}.thm-why{color:var(--ink-soft);font-size:15px;margin:10px 0 0}.thm-code{margin-top:14px}.code-label{font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-soft);margin-bottom:6px}pre.lean{margin:0 0 8px;padding:12px 14px;background:var(--code-bg);color:var(--code-ink);border-radius:10px;overflow-x:auto;font:13.5px/1.6 ui-monospace,SF Mono,Menlo,Consolas,monospace;-moz-tab-size:2;tab-size:2}pre.lean code{font:inherit}.lk{color:var(--code-kw);font-weight:600}.lt{color:var(--code-tac);font-weight:600}.ly{color:var(--code-type)}.ld{color:var(--code-def)}.ln{color:var(--code-num)}.lo{color:var(--code-op)}.lc{color:var(--code-comment);font-style:italic}pre.lean .tipped{cursor:help;border-radius:3px}pre.lean .tipped:hover,pre.lean .tipped.tip-on{background:#7f7f8c2e}.thm-proof{margin-top:6px}.thm-proof summary{cursor:pointer;font-size:14px;font-weight:600;color:var(--accent);padding:6px 0;list-style-position:inside}.thm-proof summary span{color:var(--ink-soft);font-weight:400;margin-left:4px}.thm-proof summary:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:6px}.thm-how{font-size:15px;margin:6px 0 10px}.term{border-bottom:1.5px dotted var(--accent);cursor:help}.term:focus-visible,.proof-modal .tipped:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:3px}.strip{margin:18px 0 4px}.strip-track{position:relative;height:150px;border-radius:12px;overflow:hidden;background:var(--field)}.strip-zone{position:absolute;top:0;bottom:0;display:flex;align-items:flex-end;padding:8px 10px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.strip-zone.horses{left:0;background:#a65f331f;color:var(--horse-body)}.strip-zone.duck{right:0;background:#1d6b4c1f;color:var(--duck-sheen);justify-content:flex-end}.strip-line{position:absolute;top:0;bottom:0;width:12px;margin-left:-6px;cursor:help}.strip-line:after{content:"";position:absolute;left:5px;top:0;bottom:0;border-left:2px dashed var(--ink)}.strip-dot{position:absolute;top:calc(14px + var(--row) * 22px);width:14px;height:14px;margin-left:-7px;padding:0;border-radius:50%;border:2px solid var(--surface);cursor:help}.strip-dot.horses{background:var(--horse-body)}.strip-dot.duck{background:var(--duck-head)}.strip-dot span{position:absolute;left:18px;top:50%;transform:translateY(-50%);white-space:nowrap;font:600 12px var(--font);color:var(--ink)}.strip-dot.duck span{left:auto;right:18px}.strip figcaption,.strip>figcaption{font-size:13px;color:var(--ink-soft);margin-top:8px}.proof-foot{margin-top:24px;font-size:14px;color:var(--ink-soft)}.proof-foot a{color:var(--accent)}.proof-foot code{font:13px ui-monospace,Menlo,monospace;background:var(--code-bg);padding:1px 5px;border-radius:4px}.proof-tip{position:fixed;z-index:10;max-width:min(320px,calc(100vw - 16px));padding:8px 12px;border-radius:8px;background:var(--tip-bg);color:var(--tip-ink);font:500 13.5px/1.45 var(--font);box-shadow:0 8px 24px #00000040;pointer-events:none}.proof-tip[hidden]{display:none}@media(max-width:600px){.proof-modal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:16px}.thm-head{flex-wrap:wrap}.thm-head h3{font-size:18px;flex-basis:calc(100% - 42px)}.thm-check{margin-left:42px}.thm-plain{font-size:17px}pre.lean{font-size:12.5px}.proof-row{justify-content:center}}:root{--sunken: #efece5;--sunken-edge: #d6d1c6;--sunken-shade: rgb(0 0 0 / .16);--sunken-light: rgb(255 255 255 / .85)}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--sunken: #18181c;--sunken-edge: #2b2b31;--sunken-shade: rgb(0 0 0 / .55);--sunken-light: rgb(255 255 255 / .06)}}.site-footer{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;padding:20px 16px 28px;border-top:1px solid var(--rule);font-size:13px;color:var(--ink-soft)}.version-link{font:inherit;font-size:13px;font-variant-numeric:tabular-nums;color:var(--ink-soft);background:var(--sunken);border:1px solid var(--sunken-edge);border-radius:6px;padding:4px 10px;cursor:pointer;box-shadow:inset 1px 1px 2px var(--sunken-shade),inset -1px -1px 1px var(--sunken-light);transition:color .2s ease,background .2s ease}.version-link:hover{color:var(--ink)}.version-link:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.changelog{width:min(640px,calc(100vw - 32px));max-height:min(80vh,760px);padding:0;border:1px solid var(--rule);border-radius:16px;background:var(--surface);color:var(--ink);box-shadow:0 24px 64px #00000040;overflow:hidden}.changelog[open]{display:flex;flex-direction:column}.changelog::backdrop{background:#14141773;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.changelog-head{display:flex;justify-content:space-between;align-items:center;padding:20px 24px 12px}.changelog-head h2{font-size:24px;margin:0}.changelog-close{font:inherit;font-size:26px;line-height:1;width:36px;height:36px;border:0;border-radius:50%;background:transparent;color:var(--ink-soft);cursor:pointer}.changelog-close:hover{background:var(--field);color:var(--ink)}.changelog-close:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.changelog-body{overflow-y:auto;padding:4px 24px 24px;display:grid;gap:16px}.version-entry{padding:16px 20px;background:var(--sunken);border:1px solid var(--sunken-edge);border-radius:10px;box-shadow:inset 2px 2px 5px var(--sunken-shade),inset -1px -1px 3px var(--sunken-light);font-size:15px;line-height:1.5}.version-entry h3{margin:0;font-size:17px;font-weight:600}.version-entry h3.current{color:var(--accent)}.release-date{margin:2px 0 10px;font-size:13px;font-style:italic;color:var(--ink-soft)}.version-entry ul{margin:0;padding-left:20px}.version-entry li{margin-bottom:4px}.version-entry li:last-child{margin-bottom:0}@media(max-width:600px){.changelog-head{padding:16px 16px 8px}.changelog-body{padding:4px 16px 16px}.version-entry{padding:14px 16px}}
