@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/alegreya-cyrillic-ext-500-normal-BIfGEemn.woff2) format("woff2"),url(/assets/alegreya-cyrillic-ext-500-normal-BMQ-IlQd.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/alegreya-cyrillic-500-normal-uJUgykjJ.woff2) format("woff2"),url(/assets/alegreya-cyrillic-500-normal-h-VttLAG.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/alegreya-greek-ext-500-normal-CpSZDjmq.woff2) format("woff2"),url(/assets/alegreya-greek-ext-500-normal-DzZMWm6Q.woff) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/alegreya-greek-500-normal-Cs_YSU_p.woff2) format("woff2"),url(/assets/alegreya-greek-500-normal-DSAlufuP.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/alegreya-vietnamese-500-normal-1pKrKpC8.woff2) format("woff2"),url(/assets/alegreya-vietnamese-500-normal-Bulx4Dj7.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/alegreya-latin-ext-500-normal-B_6HdrEK.woff2) format("woff2"),url(/assets/alegreya-latin-ext-500-normal-BXZj8mwG.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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:Alegreya;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/alegreya-latin-500-normal-C25lLdV_.woff2) format("woff2"),url(/assets/alegreya-latin-500-normal-B7TqNLeg.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/alegreya-cyrillic-ext-700-normal-Dx8o6fqX.woff2) format("woff2"),url(/assets/alegreya-cyrillic-ext-700-normal-A6q6xEOT.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/alegreya-cyrillic-700-normal-Bftrb-m-.woff2) format("woff2"),url(/assets/alegreya-cyrillic-700-normal-_o_NBoYw.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/alegreya-greek-ext-700-normal-DzPShcR4.woff2) format("woff2"),url(/assets/alegreya-greek-ext-700-normal-DQPzd-kK.woff) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/alegreya-greek-700-normal-ByoPpMZf.woff2) format("woff2"),url(/assets/alegreya-greek-700-normal-mWQ2Ne64.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/alegreya-vietnamese-700-normal-CvM8am9u.woff2) format("woff2"),url(/assets/alegreya-vietnamese-700-normal-CdvEC7Dz.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/alegreya-latin-ext-700-normal-CEFih5UF.woff2) format("woff2"),url(/assets/alegreya-latin-ext-700-normal-B6bzkdlx.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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:Alegreya;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/alegreya-latin-700-normal-Vpz_43wJ.woff2) format("woff2"),url(/assets/alegreya-latin-700-normal-BS7r-qZs.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/golos-text-cyrillic-ext-400-normal-Bo67NYBq.woff2) format("woff2"),url(/assets/golos-text-cyrillic-ext-400-normal-D592xEk3.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/golos-text-cyrillic-400-normal-C7us6pn1.woff2) format("woff2"),url(/assets/golos-text-cyrillic-400-normal-BwL4n7Pb.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/golos-text-latin-ext-400-normal-BjKcJWKY.woff2) format("woff2"),url(/assets/golos-text-latin-ext-400-normal-BXgyX_iE.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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:Golos Text;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/golos-text-latin-400-normal-Coi1FYaD.woff2) format("woff2"),url(/assets/golos-text-latin-400-normal-DOuJOmdK.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/golos-text-cyrillic-ext-500-normal-CLsu_eDI.woff2) format("woff2"),url(/assets/golos-text-cyrillic-ext-500-normal-InHNvB7v.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/golos-text-cyrillic-500-normal-BSLQUuP1.woff2) format("woff2"),url(/assets/golos-text-cyrillic-500-normal-hXinzVVQ.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/golos-text-latin-ext-500-normal-9vZPKadr.woff2) format("woff2"),url(/assets/golos-text-latin-ext-500-normal-BmtMVntR.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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:Golos Text;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/golos-text-latin-500-normal-BznAvurO.woff2) format("woff2"),url(/assets/golos-text-latin-500-normal-BQo4s7Kn.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/golos-text-cyrillic-ext-600-normal-uuhKjiyO.woff2) format("woff2"),url(/assets/golos-text-cyrillic-ext-600-normal-rSWq63aw.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/golos-text-cyrillic-600-normal-lpQ9rVRR.woff2) format("woff2"),url(/assets/golos-text-cyrillic-600-normal-BgvEFMNR.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/golos-text-latin-ext-600-normal-DLLCs_GQ.woff2) format("woff2"),url(/assets/golos-text-latin-ext-600-normal-C6iohuVX.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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:Golos Text;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/golos-text-latin-600-normal-Bhk8uV1U.woff2) format("woff2"),url(/assets/golos-text-latin-600-normal-B_o32mE8.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--bg: #eef1ea;--surface: #f8faf5;--sunk: #e3e9e1;--ink: #1e3b34;--ink-soft: #5e7a6e;--line: #d3ddd3;--on-ink: #f3f6f0;--danger: #b5432f;--fire-sleep: #5b7fc7;--fire-move: #e8913a;--fire-mind: #8b67c4;--fire-smoke: #7d8894;--glow: #f6c66b;--sky-top: #c9d8e3;--sky-bottom: #e8eee3;--hill-far: #b7c9b4;--hill-near: #8fae94;--hill-front: #6f9479;--house: #f3efe6;--roof: #6b5a4e;--font-ui: "Golos Text", system-ui, sans-serif;--font-story: "Alegreya", Georgia, serif;--r-btn: 12px;--r-scene: 22px;--r-sheet: 24px;--safe-b: env(safe-area-inset-bottom, 0px);color-scheme:light}@media(prefers-color-scheme:dark){:root{--bg: #10201b;--surface: #172b25;--sunk: #0c1915;--ink: #e4eee7;--ink-soft: #93ae9f;--line: #2a4239;--on-ink: #10201b;--danger: #f08a73;--fire-sleep: #8faeef;--fire-move: #f5a855;--fire-mind: #b596ec;--fire-smoke: #aab4bf;--glow: #ffd27a;--sky-top: #0e1a2c;--sky-bottom: #1c3140;--hill-far: #1d3a33;--hill-near: #183129;--hill-front: #122620;--house: #2c3b36;--roof: #1a2622;color-scheme:dark}}*{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:var(--ink)}body{font:400 16px/1.5 var(--font-ui);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}h1,h2,h3{font-family:var(--font-story);font-weight:700;margin:0;letter-spacing:.005em}h1{font-size:30px;line-height:1.15}h2{font-size:22px;line-height:1.25}h3{font-size:18px;line-height:1.3;font-weight:500}p{margin:0}a{color:inherit}button,input,select,textarea{font:inherit;color:inherit}:focus-visible{outline:3px solid var(--fire-sleep);outline-offset:2px;border-radius:6px}.app{max-width:480px;margin:0 auto;min-height:100dvh;padding:20px 18px calc(96px + var(--safe-b));display:flex;flex-direction:column;gap:28px}.app.bare{padding-bottom:32px}.muted{color:var(--ink-soft)}.small{font-size:14px}.story{font-family:var(--font-story);font-size:19px;line-height:1.45}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.stack{display:flex;flex-direction:column;gap:12px}.stack-lg{display:flex;flex-direction:column;gap:20px}.rule{height:1px;background:var(--line);border:0;margin:0}.btn{appearance:none;border:0;border-radius:var(--r-btn);padding:14px 18px;font-weight:600;cursor:pointer;background:var(--ink);color:var(--on-ink);min-height:50px;transition:transform .08s ease}.btn:active{transform:scale(.98)}.btn[disabled]{opacity:.5;cursor:default}.btn.quiet{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--line)}.btn.link{background:none;padding:6px 0;min-height:0;color:var(--ink-soft);font-weight:500;text-decoration:underline;text-underline-offset:3px}.btn.wide{width:100%}.field{display:flex;flex-direction:column;gap:6px}.field>span{font-size:14px;color:var(--ink-soft)}.input{width:100%;border:1.5px solid var(--line);background:var(--surface);border-radius:var(--r-btn);padding:13px 14px;min-height:50px}.input:focus{border-color:var(--ink-soft);outline:none}.input.code{font-size:26px;letter-spacing:.3em;text-align:center;font-variant-numeric:tabular-nums}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{border:1.5px solid var(--line);background:var(--surface);border-radius:999px;padding:9px 14px;cursor:pointer;font-weight:500}.chip[aria-pressed=true]{background:var(--ink);color:var(--on-ink);border-color:var(--ink)}.choice{display:grid;grid-template-columns:1fr;gap:4px;text-align:left;border:1.5px solid var(--line);background:var(--surface);border-radius:16px;padding:14px 16px;cursor:pointer}.choice[aria-pressed=true]{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}.choice strong{font-weight:600}.error{color:var(--danger);font-size:14px}.devcode{font-size:14px;color:var(--ink-soft);background:var(--sunk);padding:8px 12px;border-radius:10px}.top h1{font-size:26px}.tabbar{position:fixed;left:0;right:0;bottom:0;background:color-mix(in srgb,var(--bg) 88%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid var(--line);padding:6px 8px calc(6px + var(--safe-b));display:flex;justify-content:center;z-index:10}.tabbar nav{display:grid;grid-template-columns:repeat(5,1fr);width:100%;max-width:480px}.tabbar a{display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 0;text-decoration:none;color:var(--ink-soft);font-size:12px;font-weight:500;border-radius:10px}.tabbar a.active{color:var(--ink)}.tabbar a.active svg{color:var(--ink)}.tabbar svg{width:24px;height:24px}.scene{border-radius:var(--r-scene);overflow:hidden;display:block;width:100%;height:auto}.scene-caption{margin-top:10px}@keyframes flicker{0%,to{opacity:1}45%{opacity:.86}70%{opacity:.95}}.lantern-glow{animation:flicker 3.2s ease-in-out infinite;transform-origin:center}@media(prefers-reduced-motion:reduce){.lantern-glow{animation:none}}.fires{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:10px}.fire{display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 6px 10px;border-radius:18px;background:var(--surface)}.fire .name{font-weight:600;font-size:15px}.fire .state{font-size:13px;color:var(--ink-soft);text-align:center;line-height:1.3}.fire .state.lit{color:var(--ink)}.dots{display:flex;flex-wrap:wrap;gap:7px}.dot{width:16px;height:16px;border-radius:50%;background:var(--sunk);box-shadow:inset 0 0 0 1.5px var(--line)}.dot.lit{background:var(--glow);box-shadow:0 0 0 3px color-mix(in srgb,var(--glow) 35%,transparent)}.dot.extra{background:var(--fire-move)}.actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.action{display:flex;align-items:center;gap:10px;padding:14px;border-radius:16px;border:1.5px solid var(--line);background:var(--surface);cursor:pointer;text-align:left;font-weight:600;min-height:60px}.action .swatch{width:10px;height:26px;border-radius:5px;flex:none}.action small{display:block;font-weight:400;color:var(--ink-soft);font-size:13px}.letter{padding-left:16px;border-left:3px solid var(--glow)}.letter .meta{font-size:13px;color:var(--ink-soft);margin-bottom:6px}.backdrop{position:fixed;inset:0;background:#0a141073;z-index:20;display:flex;align-items:flex-end;justify-content:center}.sheet{width:100%;max-width:480px;background:var(--bg);border-radius:var(--r-sheet) var(--r-sheet) 0 0;padding:10px 18px calc(22px + var(--safe-b));max-height:92dvh;overflow:auto;animation:rise .22s ease-out}.sheet .grip{width:40px;height:4px;border-radius:2px;background:var(--line);margin:0 auto 14px}@keyframes rise{0%{transform:translateY(24px);opacity:.6}to{transform:none;opacity:1}}@media(prefers-reduced-motion:reduce){.sheet{animation:none}}.toast{position:fixed;left:50%;bottom:calc(92px + var(--safe-b));transform:translate(-50%);background:var(--ink);color:var(--on-ink);padding:11px 18px;border-radius:999px;font-weight:500;z-index:30;max-width:calc(100% - 36px);text-align:center}.chart{width:100%;height:auto;display:block}.legend{display:flex;gap:14px;font-size:13px;color:var(--ink-soft)}.legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px;vertical-align:-1px}.cal{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.cal div{aspect-ratio:1;border-radius:10px;display:grid;place-items:center;font-size:13px;background:var(--sunk);color:var(--ink-soft)}.cal div.on{background:color-mix(in srgb,var(--glow) 55%,var(--surface));color:var(--ink);font-weight:600}.cal div.today{box-shadow:inset 0 0 0 2px var(--ink)}
