@font-face{font-family:DM Serif Display;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/dm-serif-display-latin-ext-400-normal-p18AlW_x.woff2)format("woff2"),url(/assets/dm-serif-display-latin-ext-400-normal-B1toqZab.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Serif Display;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/dm-serif-display-latin-400-normal-C5_t9oOD.woff2)format("woff2"),url(/assets/dm-serif-display-latin-400-normal-_kVFYEpx.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Caveat;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/caveat-cyrillic-ext-500-normal-DcrB4vVx.woff2)format("woff2"),url(/assets/caveat-cyrillic-ext-500-normal-DqTXtm5N.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Caveat;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/caveat-cyrillic-500-normal-DpMZbbjM.woff2)format("woff2"),url(/assets/caveat-cyrillic-500-normal-DLSfp5IU.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Caveat;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/caveat-latin-ext-500-normal-jKqJW7bC.woff2)format("woff2"),url(/assets/caveat-latin-ext-500-normal-wUUXxlbS.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Caveat;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/caveat-latin-500-normal-B9SDL8cy.woff2)format("woff2"),url(/assets/caveat-latin-500-normal-Do9veZfZ.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Caveat;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/caveat-cyrillic-ext-700-normal-CrK2-ngJ.woff2)format("woff2"),url(/assets/caveat-cyrillic-ext-700-normal-DjFGiEhD.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Caveat;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/caveat-cyrillic-700-normal-BIyejhEL.woff2)format("woff2"),url(/assets/caveat-cyrillic-700-normal-Bhcx9qBB.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Caveat;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/caveat-latin-ext-700-normal-DFbRgDry.woff2)format("woff2"),url(/assets/caveat-latin-ext-700-normal-DjJQd59I.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Caveat;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/caveat-latin-700-normal-D8_1Nw6V.woff2)format("woff2"),url(/assets/caveat-latin-700-normal-cPyBTTZN.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:"Source Sans 3";font-style:normal;font-display:swap;font-weight:400;src:url(/assets/source-sans-3-cyrillic-ext-400-normal-BwJdxs7r.woff2)format("woff2"),url(/assets/source-sans-3-cyrillic-ext-400-normal-BqOlcezh.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:"Source Sans 3";font-style:normal;font-display:swap;font-weight:400;src:url(/assets/source-sans-3-cyrillic-400-normal-DjhbW-4D.woff2)format("woff2"),url(/assets/source-sans-3-cyrillic-400-normal-DkNBMcYd.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:"Source Sans 3";font-style:normal;font-display:swap;font-weight:400;src:url(/assets/source-sans-3-greek-ext-400-normal-CpIwTHMM.woff2)format("woff2"),url(/assets/source-sans-3-greek-ext-400-normal-CN4VBqpr.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:"Source Sans 3";font-style:normal;font-display:swap;font-weight:400;src:url(/assets/source-sans-3-greek-400-normal-DZReXJla.woff2)format("woff2"),url(/assets/source-sans-3-greek-400-normal-DyO2Yfz5.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:"Source Sans 3";font-style:normal;font-display:swap;font-weight:400;src:url(/assets/source-sans-3-vietnamese-400-normal-CwtaIDr2.woff2)format("woff2"),url(/assets/source-sans-3-vietnamese-400-normal-eMQk7hmk.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:"Source Sans 3";font-style:normal;font-display:swap;font-weight:400;src:url(/assets/source-sans-3-latin-ext-400-normal-UNsKFIBq.woff2)format("woff2"),url(/assets/source-sans-3-latin-ext-400-normal-D5P-Ud2J.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@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");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:"Source Sans 3";font-style:normal;font-display:swap;font-weight:600;src:url(/assets/source-sans-3-cyrillic-ext-600-normal-6AhwUnSr.woff2)format("woff2"),url(/assets/source-sans-3-cyrillic-ext-600-normal-Cjpx_pje.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:"Source Sans 3";font-style:normal;font-display:swap;font-weight:600;src:url(/assets/source-sans-3-cyrillic-600-normal-BnFu5nHC.woff2)format("woff2"),url(/assets/source-sans-3-cyrillic-600-normal-CloKWf-q.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:"Source Sans 3";font-style:normal;font-display:swap;font-weight:600;src:url(/assets/source-sans-3-greek-ext-600-normal-DynePNDL.woff2)format("woff2"),url(/assets/source-sans-3-greek-ext-600-normal-CnpzyT-3.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:"Source Sans 3";font-style:normal;font-display:swap;font-weight:600;src:url(/assets/source-sans-3-greek-600-normal-BSO157bq.woff2)format("woff2"),url(/assets/source-sans-3-greek-600-normal-B42bzTIr.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:"Source Sans 3";font-style:normal;font-display:swap;font-weight:600;src:url(/assets/source-sans-3-vietnamese-600-normal-B2sTNYey.woff2)format("woff2"),url(/assets/source-sans-3-vietnamese-600-normal-BzH4Q14_.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:"Source Sans 3";font-style:normal;font-display:swap;font-weight:600;src:url(/assets/source-sans-3-latin-ext-600-normal-AEyhgUpm.woff2)format("woff2"),url(/assets/source-sans-3-latin-ext-600-normal-D2VZAM8_.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@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");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:"Source Sans 3";font-style:normal;font-display:swap;font-weight:700;src:url(/assets/source-sans-3-cyrillic-ext-700-normal-BhUSqjb8.woff2)format("woff2"),url(/assets/source-sans-3-cyrillic-ext-700-normal-COA7LiPB.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:"Source Sans 3";font-style:normal;font-display:swap;font-weight:700;src:url(/assets/source-sans-3-cyrillic-700-normal-CIuudVLB.woff2)format("woff2"),url(/assets/source-sans-3-cyrillic-700-normal-D_p3L75o.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:"Source Sans 3";font-style:normal;font-display:swap;font-weight:700;src:url(/assets/source-sans-3-greek-ext-700-normal-Dd6uIcuy.woff2)format("woff2"),url(/assets/source-sans-3-greek-ext-700-normal-KTP46hTS.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:"Source Sans 3";font-style:normal;font-display:swap;font-weight:700;src:url(/assets/source-sans-3-greek-700-normal-C8Tp2qRF.woff2)format("woff2"),url(/assets/source-sans-3-greek-700-normal-C-sAg5NG.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:"Source Sans 3";font-style:normal;font-display:swap;font-weight:700;src:url(/assets/source-sans-3-vietnamese-700-normal-Bgamivog.woff2)format("woff2"),url(/assets/source-sans-3-vietnamese-700-normal-W-J7ohm4.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:"Source Sans 3";font-style:normal;font-display:swap;font-weight:700;src:url(/assets/source-sans-3-latin-ext-700-normal-6Xi0A2be.woff2)format("woff2"),url(/assets/source-sans-3-latin-ext-700-normal-C1ecyfgK.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:"Source Sans 3";font-style:normal;font-display:swap;font-weight:700;src:url(/assets/source-sans-3-latin-700-normal-CkzU-mV9.woff2)format("woff2"),url(/assets/source-sans-3-latin-700-normal-B-h9tW5h.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--paper:#f4efe2;--sheet:#fbf8ef;--ink:#2e2a22;--ink-soft:#6b6352;--rule:#d6ccb4;--shadow:#3c2d142e;--accent:#3f7da6;--good:#3c7d3a;--bad:#b23a2b;--wood:#7a5232;--wood-l:#a7774c;--w1:#96d0e0;--w2:#56a0cc;--w3:#3070a8;--damp:#2e5c644d;--f-display:"DM Serif Display", Georgia, serif;--f-body:"Source Sans 3", "Segoe UI", system-ui, sans-serif;--f-hand:"Caveat", "Comic Sans MS", cursive;--backdrop:url(/art/backdrop-light.jpg);--backdrop-op:.5;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--paper:#1d1b17;--sheet:#26231d;--ink:#ece4d2;--ink-soft:#b3a88f;--rule:#4a4336;--shadow:#0006;--accent:#7fb6dc;--good:#7ec27a;--bad:#ef7d6c;--wood:#c99a6b;--wood-l:#e0b98e;--w1:#4a8caa;--w2:#2c6a98;--w3:#1c487a;--damp:#28465a99;--backdrop:url(/art/backdrop-dark.jpg);--backdrop-op:.7;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--paper:#1d1b17;--sheet:#26231d;--ink:#ece4d2;--ink-soft:#b3a88f;--rule:#4a4336;--shadow:#0006;--accent:#7fb6dc;--good:#7ec27a;--bad:#ef7d6c;--wood:#c99a6b;--wood-l:#e0b98e;--w1:#4a8caa;--w2:#2c6a98;--w3:#1c487a;--damp:#28465a99;--backdrop:url(/art/backdrop-dark.jpg);--backdrop-op:.7;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}[hidden]{display:none!important}html,body{background:var(--paper);color:var(--ink);margin:0}body{font-family:var(--f-body);min-height:100vh;font-size:17px;line-height:1.4;position:relative;overflow-x:hidden}.backdrop{background:var(--backdrop) center top / cover no-repeat;opacity:var(--backdrop-op);pointer-events:none;z-index:0;position:fixed;inset:0;-webkit-mask-image:linear-gradient(#000 40%,#0000008c);mask-image:linear-gradient(#000 40%,#0000008c)}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible{outline:2px dashed var(--ink);outline-offset:2px}.wrap{z-index:1;max-width:560px;padding:12px max(16px, env(safe-area-inset-right,0px)) 40px max(16px, env(safe-area-inset-left,0px));margin:0 auto;position:relative}header.entry{grid-template-columns:1fr auto;align-items:end;gap:0 8px;min-height:96px;padding-bottom:6px;display:grid;position:relative}header .titleblock{z-index:1;align-self:end}h1{font-family:var(--f-display);letter-spacing:.2px;text-shadow:0 1px #ffffff80;margin:0;font-size:42px;font-weight:400;line-height:1}.when{font-family:var(--f-hand);color:var(--ink-soft);max-width:64%;margin:4px 0 6px;font-size:20px;line-height:1.1}.hero{object-fit:contain;object-position:right bottom;pointer-events:none;width:auto;max-width:62%;height:118px;filter:drop-shadow(0 3px 3px var(--shadow));position:absolute;bottom:-8px;right:0}.tools{z-index:2;grid-area:1/2;align-self:start;gap:6px;display:flex;position:relative}@media (width<=420px){h1{font-size:34px}.hero{height:96px}}.iconbtn{border:1.5px solid var(--ink);background:color-mix(in srgb, var(--sheet) 80%, transparent);min-width:38px;height:38px;font-family:var(--f-hand);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);border-radius:999px;padding:0 10px;font-size:18px}.iconbtn:hover{background:var(--sheet)}.card{background:color-mix(in srgb, var(--sheet) 94%, transparent);border:1px solid var(--rule);box-shadow:1px 2px 0 var(--shadow);border-radius:10px;margin:10px 0;padding:10px 12px}.card h2{font-family:var(--f-hand);margin:0 0 4px;font-size:24px;font-weight:700}.goal{border-top:1px dashed var(--rule);align-items:flex-start;gap:10px;padding:6px 0;transition:background .3s;display:flex}.goal:first-of-type{border-top:0}.tag{background:var(--ink);width:26px;height:26px;color:var(--paper);border-radius:50%;flex:none;place-items:center;margin-top:1px;font-size:14px;font-weight:700;display:grid}.goal .txt{flex:1}.goal .txt small{color:var(--ink-soft);font-size:14px;line-height:1.3;display:block}.goal .st{font-family:var(--f-hand);text-align:right;flex:none;min-width:56px;font-size:20px}.goal .st small{font-family:var(--f-body,inherit);color:var(--ink-soft);font-size:12px;line-height:1.2;display:block}.goal.ok .st{color:var(--good)}.goal.no .st{color:var(--bad)}.goal.ok .tag{background:var(--good)}.goal.no .tag{background:var(--bad)}.mapbox{border:2px solid var(--ink);box-shadow:2px 4px 0 var(--shadow), 0 10px 24px -12px #1e140580;touch-action:manipulation;background:#b9c98e;border-radius:12px;margin:8px 0 4px;position:relative;overflow:hidden}canvas{-webkit-tap-highlight-color:transparent;width:100%;height:auto;display:block}.flowhint{font-family:var(--f-hand);color:var(--ink-soft);justify-content:space-between;gap:8px;font-size:17px;display:flex}.legend{color:var(--ink-soft);flex-wrap:wrap;align-items:center;gap:4px 12px;margin:4px 0 2px;font-size:14px;display:flex}.legend .sw{align-items:center;gap:4px;display:inline-flex}.legend i{border:1px solid var(--rule);border-radius:5px;width:18px;height:12px;display:inline-block}.legend .k1{background:var(--w1)}.legend .k2{background:var(--w2)}.legend .k3{background:var(--w3)}.legend .kd{background:var(--damp);border-radius:50%}.legend b{color:var(--ink);font-weight:600}.tray{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.piece{border:1px solid var(--rule);background:var(--sheet);border-radius:8px;align-items:center;gap:8px;padding:4px 10px;font-size:15px;line-height:1.2;transition:opacity .2s;display:flex}.piece b{font-size:17px}.piece.out{opacity:.45}.hint{color:var(--ink-soft);margin:6px 0 0;font-size:14.5px}.controls{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-top:10px;display:flex}.controls #btnRain{flex:1 0 100%;padding:9px 14px;font-size:24px}.controls .pair{gap:8px;display:flex}.btn{border:1.5px solid var(--ink);background:var(--sheet);font-family:var(--f-hand);box-shadow:1px 2px 0 var(--shadow);border-radius:8px;padding:7px 14px;font-size:20px;transition:transform 80ms,box-shadow 80ms}.btn:active:not([disabled]){box-shadow:none;transform:translate(1px,2px)}.btn.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.btn[disabled]{opacity:.45;cursor:default}.btn.on{background:var(--ink);color:var(--paper)}.checks{font-family:var(--f-hand);color:var(--ink-soft);align-items:center;gap:6px;font-size:19px;display:flex}.dot{border:1.5px solid var(--ink);border-radius:50%;width:14px;height:14px;transition:background .3s;display:inline-block}.dot.used{background:var(--ink)}.timer{gap:8px}.timer .clock{font-family:var(--f-body,inherit);font-variant-numeric:tabular-nums;color:var(--ink);text-align:right;min-width:3.2em;font-size:20px;font-weight:700}.timer small{font-size:16px}.timer.over .clock{color:#b5432c}.msg{font-family:var(--f-hand);text-align:center;min-height:30px;margin:8px 0 0;font-size:22px}.msg.good{color:var(--good)}.msg.bad{color:var(--bad)}.result{background:color-mix(in srgb, var(--sheet) 94%, transparent);border:1px solid var(--rule);box-shadow:1px 2px 0 var(--shadow);border-radius:12px;align-items:center;gap:12px;margin:12px 0;padding:10px 14px 10px 8px;animation:.5s cubic-bezier(.2,1.4,.4,1) pop;display:flex}.result img{object-fit:contain;width:120px;height:120px;filter:drop-shadow(0 3px 3px var(--shadow));flex:none}.rhead{font-family:var(--f-display);font-size:26px;line-height:1.05}.rsub{color:var(--ink-soft);margin:2px 0}.animals{color:var(--ink-soft);font-size:15px}.rbtns{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}@keyframes pop{0%{opacity:0;transform:scale(.92)}to{opacity:1;transform:none}}.dev{border:1px dashed var(--rule);border-radius:8px;margin-top:26px;padding:8px 10px}.dev summary{font-family:var(--f-hand);color:var(--ink-soft);cursor:pointer;font-size:17px}.dev .lab{color:var(--ink-soft);margin:6px 0;font-size:13.5px}.sheet-bg{z-index:20;padding:0 max(12px, env(safe-area-inset-right,0px)) env(safe-area-inset-bottom,0px) max(12px, env(safe-area-inset-left,0px));background:#140f0580;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--sheet);color:var(--ink);width:100%;max-width:560px;max-height:90%;box-shadow:0 -4px 20px var(--shadow);overscroll-behavior:contain;border-radius:16px 16px 0 0;padding:0 18px 22px;overflow-y:auto}@media (width>=640px){.sheet-bg{align-items:center}.sheet{border-radius:14px}}.sheet-close{z-index:2;background:linear-gradient(var(--sheet) 75%, transparent);justify-content:flex-end;padding:10px 0 6px;display:flex;position:sticky;top:0}.sheet h2{font-family:var(--f-display);margin:0 0 6px;font-size:30px;font-weight:400;line-height:1.05}.sheet .step{font-family:var(--f-hand);color:var(--ink-soft);font-size:18px}.sheet p{max-width:62ch;margin:8px 0}.sheet .fig{text-align:center;margin:10px 0}.sheet .fig svg{max-width:100%;height:auto}.sheet .nav{justify-content:space-between;gap:8px;margin-top:14px;display:flex}.sheet .guide{float:right;object-fit:contain;shape-outside:margin-box;width:120px;height:120px;filter:drop-shadow(0 3px 3px var(--shadow));margin:0 -4px 4px 8px}.defs{border-collapse:collapse;width:100%;font-size:15.5px}.defs th{text-align:left;vertical-align:top;white-space:nowrap;padding:6px 10px 6px 0;font-weight:700}.defs td{border-bottom:1px dashed var(--rule);padding:6px 0}.defs tr th{border-bottom:1px dashed var(--rule)}.share{font-family:var(--f-body);background:var(--paper);border:1px dashed var(--rule);white-space:pre-wrap;resize:none;width:100%;color:var(--ink);border-radius:8px;padding:10px;font-size:16px}.toast{left:50%;bottom:calc(18px + env(safe-area-inset-bottom,0px));background:var(--ink);color:var(--paper);z-index:30;text-align:center;border-radius:999px;max-width:90vw;padding:6px 14px;font-size:15px;position:fixed;transform:translate(-50%)}.account{font-family:var(--f-hand);align-items:center;gap:8px;margin-bottom:4px;font-size:17px;display:flex}.account a{color:var(--ink);align-items:center;gap:6px;font-weight:700;text-decoration:none;display:inline-flex}.account img{border:1px solid var(--rule);border-radius:50%}.account button{border:1px solid var(--rule);background:var(--sheet);border-radius:999px;padding:3px 12px;font-size:15px;font-weight:700}.account .signin{border-color:var(--ink)}.account .signout{color:var(--ink-soft)}@media (prefers-reduced-motion:reduce){.result{animation:none}*{transition:none!important}}.mapbox canvas.overlay3d{pointer-events:none;position:absolute;top:0;left:0}.mapbox canvas{max-width:100%}.mapbox:has(canvas.overlay3d:not([hidden])){background:radial-gradient(at 50% 30%,#f6f0e0,#e6dcc2 70%)}:root[data-theme=dark] .mapbox:has(canvas.overlay3d:not([hidden])){background:radial-gradient(at 50% 30%,#2c2a24,#1a1814 70%)}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .mapbox:has(canvas.overlay3d:not([hidden])){background:radial-gradient(at 50% 30%,#2c2a24,#1a1814 70%)}}html,body,button,a,input,select,summary,canvas,.mapbox,.sheet,.sheet-bg{touch-action:manipulation}body.cabinet .titleblock,body.cabinet .hero,body.cabinet #btnHelp,body.cabinet #btnWords,body.cabinet #btnTheme,body.cabinet .account,body.cabinet #result{display:none!important}body.cabinet header.entry{justify-content:flex-end}body.cabinet{padding-top:6px}.termrow{color:var(--ink2,#5a4630);flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin-top:8px;font-size:14px;display:flex}.term{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:2px 0;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.reduce-motion *{transition:none!important;animation:none!important}.preview-note{color:var(--ink-soft);margin:2px 0 8px;font-size:13px}.daybar{grid-template-columns:repeat(7,1fr);gap:4px;margin:0 0 10px;display:grid}.daybar button{border:2px solid var(--rule);background:var(--sheet);border-radius:10px;padding:4px 0;font-size:13px;font-weight:700;line-height:1.15}.daybar button small{color:var(--ink-soft);font-size:11px;font-weight:600;display:block}.daybar button[aria-current=true]{border-color:var(--ink);box-shadow:0 2px 0 var(--ink)}.daybar button.won{background:color-mix(in srgb, var(--good) 22%, var(--sheet))}.budget{background:var(--sheet);border:2px solid var(--rule);border-radius:14px;margin:0 0 10px;padding:8px 12px 10px}.budgethead{justify-content:space-between;align-items:baseline;display:flex}.budgethead span{font-variant-numeric:tabular-nums;font-weight:700}.bar{background:var(--rule);border-radius:8px;height:14px;margin:6px 0 4px;position:relative;overflow:hidden}.bar i{background:var(--wood-l);width:0;transition:width .12s;position:absolute;inset:0 auto 0 0}.bar.full i{background:var(--bad)}.bar u{background:var(--ink);width:3px;text-decoration:none;position:absolute;top:-2px;bottom:-2px}.budgethint{color:var(--ink-soft);font-size:13px}.toolbar{flex-wrap:wrap;gap:8px;margin:8px 0 4px;display:flex}.toolbar .tool[aria-pressed=true],.toolbar .btn[aria-pressed=true]:not(.tool){background:var(--ink);color:var(--paper)}.mapbox canvas{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.mapbox.erasing canvas{cursor:crosshair}.flownote{background:var(--sheet);border:2px solid var(--rule);border-left:5px solid var(--accent);border-radius:10px;margin:6px 0 8px;padding:4px 12px;font-size:15px}.flownote p{margin:6px 0}.flownote .soft{color:var(--ink-soft)}.mapbox .hud{z-index:2;pointer-events:none;justify-content:space-between;gap:8px;display:flex;position:absolute;top:8px;left:8px;right:8px}.hudDam{background:color-mix(in srgb, var(--sheet) 92%, transparent);border:1.5px solid var(--ink);font-variant-numeric:tabular-nums;border-radius:999px;padding:2px 12px 5px;font-size:14px;position:relative;overflow:hidden}.hudDam i{background:var(--wood-l);height:4px;position:absolute;bottom:0;left:0}.hudDam.full i{background:var(--bad)}.hudGoals{pointer-events:auto;background:color-mix(in srgb, var(--sheet) 92%, transparent);border:1.5px solid var(--ink);border-radius:999px;gap:4px;padding:2px 8px;font-size:14px;font-weight:700;display:flex}.hudGoals span{border-radius:6px;padding:0 3px}.hudGoals span.ok{color:var(--good)}.hudGoals span.no{color:var(--bad)}.heightbar{flex-wrap:wrap;align-items:center;gap:8px;margin:6px 0 2px;display:flex}.heightbar span{font-weight:700}.heightbar .seg[aria-pressed=true]{background:var(--ink);color:var(--paper)}.heightbar small{font-family:var(--f-body);opacity:.8;font-size:12px}.toolbar,.heightbar{gap:6px}.toolbar .btn,.heightbar .btn{padding:4px 11px;font-size:18px}@media (width<=480px){.toolbar .btn,.heightbar .btn{padding:3px 9px;font-size:17px}}.submitbar{background:color-mix(in srgb, var(--good) 14%, var(--sheet));border:2px solid var(--good);border-radius:12px;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:8px 0;padding:8px 12px;display:flex}.submitbar p{flex:220px;margin:0;font-size:15px}.closed{margin-top:20px}
