@font-face{font-family:Quicksand;src:url(../fonts/Quicksand-wght.ttf)format("truetype");font-weight:300 700;font-display:swap}:root{--wood:#3a2c20;--wood-2:#4d3b2b;--paper:#f6efe2;--ink:#2b2118;--muted:#8a7a68;--accent:#e8a33c;--good:#4caf50;--mid:#e0b433;--bad:#e05a4a;--radius:12px;--fs:clamp(13px, 10px + 1vmin, 16px);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}html{font-size:var(--fs);-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}*{box-sizing:border-box}html,body{height:100%;color:var(--ink);-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:#6f9c4f;margin:0;font-family:Quicksand,system-ui,-apple-system,Segoe UI,sans-serif;font-weight:500;overflow:hidden}img{-webkit-user-select:none;-webkit-touch-callout:none}#game{touch-action:none;position:fixed;inset:0}button{font:inherit;background:var(--paper);color:var(--ink);cursor:pointer;border:0;border-radius:10px;padding:8px 12px}button:disabled{opacity:.45;cursor:default}button.primary{background:var(--accent);font-weight:600}button.danger{color:#8a2a1d;background:#f3d5cf;font-weight:600}button.link{color:inherit;opacity:.75;background:0 0;text-decoration:underline}small{color:var(--muted);font-size:.786rem;display:block}#topbar{padding:calc(6px + env(safe-area-inset-top)) calc(8px + env(safe-area-inset-right)) 6px calc(8px + env(safe-area-inset-left));background:linear-gradient(var(--wood), #3a2c20eb);color:var(--paper);z-index:10;flex-wrap:wrap;align-items:center;gap:6px;display:flex;position:fixed;top:0;left:0;right:0;box-shadow:0 2px 8px #00000040}.res{font-variant-numeric:tabular-nums;background:#ffffff14;border-radius:8px;align-items:baseline;gap:4px;padding:4px 8px;display:flex}.res small{color:#cbbba6}.res b.neg{color:#ff8f80}.res .ico{font-size:1rem}#topbar{flex-wrap:nowrap}#topbar>.chips{flex-wrap:wrap;flex:auto;align-items:center;gap:6px;min-width:0;display:flex}#topbar>#menu-btn{align-self:flex-start}.res.date{align-items:center;margin-left:auto;font-size:.857rem}#menu-btn{background:var(--accent);flex:none;font-weight:600}@media (width<=1100px){#topbar .res>small{display:none}}.q{color:#fff;border-radius:6px;padding:1px 5px;font-size:.786rem;font-weight:700}.q.good{background:var(--good)}.q.mid{background:var(--mid);color:var(--ink)}.q.bad{background:var(--bad)}#bottombar{padding:8px calc(10px + env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) calc(10px + env(safe-area-inset-left));pointer-events:none;z-index:25;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;display:flex;position:fixed;bottom:0;left:0;right:0}#bottombar>*{pointer-events:auto}#nav{background:var(--wood);border-radius:14px;gap:4px;padding:4px;display:flex;box-shadow:0 3px 10px #0000004d}#nav button{min-width:64px;color:var(--paper);background:0 0;flex-direction:column;align-items:center;gap:2px;padding:6px 8px;font-size:.786rem;font-weight:600;display:flex}#nav button:first-child{background:var(--accent);color:var(--ink)}#nav button.on{background:var(--paper);color:var(--ink)}#nav img.ico,#nav .ico{text-align:center;width:28px;height:28px;font-size:1.571rem;line-height:28px}@media (width<=620px){#nav{order:2;width:100%}#nav button{flex:1;min-width:0}}#speed{background:var(--wood);border-radius:12px;gap:4px;padding:4px;display:flex}#speed button{color:var(--paper);background:0 0;min-width:44px;min-height:44px;padding:8px 10px}#speed button.on{background:var(--accent);color:var(--ink);font-weight:700}#speed img.ico{width:22px;height:22px}#view-btn{background:var(--wood);border-radius:12px;margin-left:auto;margin-right:6px;padding:6px 8px}#view-btn.on{background:var(--accent)}#view-btn img.ico{width:28px;height:28px}.seg img.ico{vertical-align:-3px;width:16px;height:16px;margin-right:4px}#build-hint{left:50%;bottom:calc(var(--bottombar-h,66px) + 8px);border-radius:var(--radius);background:var(--wood);max-width:calc(100% - 32px);color:var(--paper);z-index:11;align-items:center;gap:10px;padding:8px 8px 8px 14px;display:flex;position:fixed;transform:translate(-50%)}#build-hint[hidden]{display:none}.sheet{left:50%;bottom:var(--bottombar-h,0px);width:min(560px, 100% - 2 * max(env(safe-area-inset-left), env(safe-area-inset-right)));max-height:min(72vh, calc(100vh - var(--topbar-h,60px) - var(--bottombar-h,0px) - 8px));background:var(--paper);padding-bottom:env(safe-area-inset-bottom);z-index:20;border-radius:18px 18px 0 0;flex-direction:column;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 -6px 24px #0000004d}.sheet[hidden]{display:none}.sheet.small{max-height:50vh}.sheet header{border-bottom:1px solid #e3d8c6;justify-content:space-between;align-items:center;gap:8px;padding:12px 12px 8px 16px;display:flex}.sheet header h2{white-space:nowrap;align-items:center;gap:6px;margin:0;font-size:1.214rem;display:flex}.sheet header h2 img.ico{width:24px;height:24px}#menu-btn img.ico{width:22px;height:22px;margin:0}.slider input[type=range]{width:100%;accent-color:var(--accent)}.sheet select{font:inherit;border-radius:8px;padding:6px 10px}.antply{cursor:pointer;-webkit-user-select:none;user-select:none}#goals .who{color:var(--muted);margin-top:4px;font-size:.857rem;font-weight:700}#goals .body>p{margin:4px 0 6px;font-size:1rem;line-height:1.4}.sheet .body,.sheet .list{padding:8px 16px 16px;overflow-y:auto}#card{padding:0 16px 16px;overflow-y:auto}#card>*{flex:none}#card header{margin:0 -16px 8px}#card ul{padding-left:18px}h3{margin:14px 0 6px;font-size:1rem}p.note{color:var(--muted);margin:4px 0 8px;font-size:.929rem}.item{text-align:left;background:#fff;border:1px solid #e8dcc8;align-items:center;gap:10px;width:100%;margin-bottom:6px;display:flex}.item.dim{opacity:.55}.item .swatch{border-radius:5px;flex:none;width:18px;height:18px}.item .swatch.later{background:repeating-linear-gradient(45deg,#e3d8c6 0 4px,#f4ede1 4px 8px)}.item .thumb{object-fit:contain;flex:none;width:40px;height:32px}.item:disabled{cursor:default}#drawer .list h3:first-child{margin-top:0}.item .txt{flex:1}.item .meta{text-align:right;flex:none}.row{border-bottom:1px solid #eadfcd;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:8px 0;display:flex}.row .btns{gap:4px;display:flex}.row .btns button{text-align:center;background:#fff;border:1px solid #e3d5bd;padding:6px 8px}.seg{background:#eadfcd;border-radius:12px;gap:4px;padding:4px;display:flex}.seg button{background:0 0;flex:1}.seg button.on{background:var(--wood);color:var(--paper);font-weight:600}table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:1rem}td,th{text-align:left;border-bottom:1px solid #eadfcd;padding:6px 4px}td:last-child,th:last-child,table.grid td:not(:first-child),table.grid th:not(:first-child){text-align:right}tr.total td{font-weight:700}tr.ours td{background:#fff3d9;font-weight:700}.hidden{color:var(--muted)}#tutorial,#notice,#event{left:50%;top:calc(var(--topbar-h,56px) + 8px);border-radius:var(--radius);z-index:15;background:#f6efe2f7;width:min(460px,100% - 32px);padding:12px 14px;position:fixed;transform:translate(-50%);box-shadow:0 6px 18px #00000040}#tutorial[hidden],#notice[hidden],#event[hidden]{display:none}#event{z-index:31;box-shadow:0 0 0 100vmax #00000059}#notice{z-index:30;box-shadow:0 0 0 100vmax #00000059}#tutorial,#notice,#event{width:min(420px, calc(100% - 24px - 2 * max(env(safe-area-inset-left), env(safe-area-inset-right))));max-height:calc(100dvh - var(--topbar-h,56px) - 24px);flex-direction:column;padding:12px;display:flex;overflow-y:auto}#tutorial{max-height:calc(100dvh - var(--topbar-h,56px) - var(--bottombar-h,64px) - 16px)}#tutorial>.say,#notice>.say,#event>.say{flex:auto;min-height:0}.say .top{flex:0 auto;min-height:72px}.say .words{align-self:stretch;min-height:0;max-height:100%}.say .bubble{flex:0 auto;min-height:0;overflow-y:auto}.say .aside,.say .choices,.say .ok,.say>.note{flex:none}.say{flex-direction:column;gap:10px;font-size:1rem;line-height:1.4;display:flex}.say .top{align-items:flex-start;gap:10px;display:flex}.say .portrait{background:#cfe0dc;border-radius:8px;flex:none;width:88px;height:88px;position:relative;overflow:hidden}.say .portrait .face{object-fit:cover;object-position:top;text-align:center;width:68px;height:68px;font-size:48px;position:absolute;inset:10px}.say .words{flex-direction:column;flex:1;align-items:flex-start;min-width:0;display:flex}.say .who{flex-wrap:wrap;align-items:center;gap:2px 8px;display:flex}.say .name{color:#fff;background:#3f7f86;border-radius:6px;padding:3px 12px;font-size:1rem;font-weight:700;line-height:22px;display:inline-block}.say .bubble{background:#fffaf0;border-radius:12px;align-self:stretch;margin-top:6px;padding:10px 12px;position:relative}.say .bubble p{margin:0 0 6px}.say .bubble p:last-child{margin:0}.say .aside{color:var(--muted);background:#f8ecd2;border-radius:8px;align-items:center;gap:8px;padding:6px 8px;font-size:.929rem;font-style:italic;display:flex}.say .aside img{object-fit:cover;object-position:top;background:#cfe0dc;border-radius:50%;flex:none;width:28px;height:28px}.say .choices{flex-direction:column;gap:8px;display:flex}.say .choices button{text-align:left;width:100%;padding:6px 12px;display:block}.say .choices button b{font-size:1.071rem;display:block}.say .choices button b img.ico{vertical-align:-3px;width:18px;height:18px;margin-right:5px}.say .choices .meta{flex-wrap:wrap;gap:2px 16px;margin-top:2px;font-size:.857rem;font-weight:500;display:flex}.say .choices .meta span{align-items:center;gap:4px;display:inline-flex}.say .choices .meta img.ico{width:15px;height:15px}.say .ok{justify-content:flex-end;align-items:center;gap:8px;display:flex}.say .ok button.link{margin-right:auto}.say .ok button.primary{min-width:120px;min-height:44px}.say .ok button.arrow{min-width:44px;min-height:44px;font-size:1.286rem}.say>.note{margin:0;font-size:.857rem}#goals .say{margin:4px 0 8px}@media (width<=520px){.say .portrait{width:64px;height:64px}.say .portrait .face{width:48px;height:48px;inset:8px}}#toasts{right:calc(10px + env(safe-area-inset-right));max-width:calc(100% - 20px - env(safe-area-inset-left) - env(safe-area-inset-right));pointer-events:none;z-index:12;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:fixed;bottom:74px}.toast{background:var(--wood);color:var(--paper);border-radius:10px;padding:8px 12px;font-size:.929rem;transition:opacity .5s,transform .5s;box-shadow:0 3px 10px #00000040}.toast.good{background:#2f6b34}.toast.warn{background:#8a3a24}.toast.hide{opacity:0;transform:translateY(6px)}.toast img.ico{vertical-align:-4px;width:18px;height:18px;margin-right:6px}.pulse{animation:1.4s ease-in-out infinite pulse}@keyframes pulse{0%,to{box-shadow:0 0 #e8a33ce6}50%{box-shadow:0 0 0 7px #e8a33c00}}@media (width<=520px){.res{padding:3px 6px;font-size:.929rem}.res.date{margin-left:0}#menu-btn{margin-left:auto}}#card .btns,.btns.col{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.btns.col{flex-direction:column;align-items:stretch}p.note.warn{color:#8a3a24;font-weight:600}tr.neck td{background:#fde3dc;font-weight:700}.kpis{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.kpis>div{background:#fff;border:1px solid #e8dcc8;border-radius:10px;padding:8px}.kpis b{font-variant-numeric:tabular-nums;font-size:1.071rem}.chart{background:#fff;border:1px solid #e8dcc8;border-radius:10px;align-items:flex-end;gap:4px;height:90px;padding:6px;display:flex}.chart .bar{flex:1;align-items:flex-end;gap:1px;height:100%;display:flex}.chart .bar i{background:var(--accent);border-radius:3px 3px 0 0;flex:1;min-height:1px}.chart .bar i.sold{background:#5f8fbf}.legend{color:var(--muted);align-items:center;gap:6px;font-size:.857rem;display:flex}.legend .sw{border-radius:2px;width:10px;height:10px;display:inline-block}.legend .sw.made{background:var(--accent)}.legend .sw.sold{background:#5f8fbf;margin-left:8px}.sheet .body>small{margin:8px 0 4px}.seg+small,.seg{margin-bottom:4px}.row.paused{opacity:.55}.form{flex-direction:column;gap:6px;display:flex}.res.warn{color:#fff;background:#b4472f;padding:4px 8px;font-size:.857rem;font-weight:700}.problems{background:#fde3dc;border-radius:10px;margin-bottom:8px;padding:4px 12px 8px}.problems h3{color:#8a2a1d}.problems ul{margin:4px 0;padding-left:18px}.res.limit{color:#2b2118;background:#d89a2b;padding:4px 8px;font-size:.857rem;font-weight:700}.problems.limits{background:#fbeccd}.problems.limits h3{color:#7a5212}.res.goals{color:var(--paper);background:#ffffff24;padding:4px 8px;font-size:.857rem}ul.goals{padding:0;list-style:none}ul.goals li{border-bottom:1px solid #eadfcd;padding:6px 0}ul.goals li.done{color:var(--muted);text-decoration:line-through}ul.goals li>img.ico{vertical-align:-3px;width:18px;height:18px;margin-right:2px}ul.goals li small.howto{width:100%;color:var(--muted);padding-left:26px;font-style:italic;display:inline-block}ul.goals li small.reward{color:#7a5212;width:100%;padding-left:26px;text-decoration:none;display:inline-block}ul.goals li.done small.reward{color:var(--muted)}ul.goals li button.collect{margin:6px 0 2px 26px;display:inline-block}.res.goals.gift{background:var(--accent);color:var(--ink);font-weight:700}.progress{background:#eadfcd;border-radius:3px;height:6px;margin-top:4px;overflow:hidden}.progress i{background:var(--good);height:100%;display:block}#card button.primary{text-align:left;width:100%;margin:6px 0}img.ico{align-self:center;width:18px;height:18px}img.bao{object-fit:cover;vertical-align:middle;background:#efe2c8;border-radius:50%;width:40px;height:40px;margin-right:6px}#menu-btn{margin-left:auto}#card .buffer{background:#efe2c8;border-radius:10px;margin:8px 0;padding:8px 10px}#card .buffer .btns{margin-top:6px}.tag{text-transform:uppercase;letter-spacing:.04em;color:var(--ink);vertical-align:1px;background:#e3d8c6;border-radius:6px;margin-right:6px;padding:1px 6px;font-size:.714rem;font-weight:700;display:inline-block}.tag.premium{background:#d7e6c8}.tag.speed{background:#f3cfc4}.tag.special{background:#d9d3ec}.tag.antply{background:var(--accent)}.row.antply{background:#fbeccd;border-radius:10px;padding-left:8px;padding-right:8px}.antply-note{color:#7a5212}#tip{z-index:15;pointer-events:none;background:var(--paper);min-width:150px;color:var(--ink);border-radius:10px;padding:8px 10px;font-size:.857rem;line-height:1.35;position:fixed;transform:translate(-50%,-100%);box-shadow:0 4px 14px #0000004d}#tip[hidden]{display:none}#tip>b{font-size:.929rem;display:block}#tip .state{color:var(--muted);font-weight:600;display:block}#tip .state.working{color:#2f8a3f}#tip .state.blocked,#tip .state.starved{color:#b0721f}#tip .state.noAccess,#tip .state.noHeat,#tip .state.noAir,#tip .state.noGlue{color:#b4472f}#tip .state.fire{color:#d2401c}#tip .bar,#card .bar{align-items:center;gap:6px;margin-top:3px;display:flex}#tip .bar span,#card .bar span{min-width:44px;color:var(--muted);flex:none}#card .lines{margin:4px 0 6px}#card .lines>div{margin:1px 0}#tip .bar i,#card .bar i{background:#e3d8c6;border-radius:3px;flex:1;height:6px;overflow:hidden}#tip .bar i b,#card .bar i b{background:var(--accent);height:100%;display:block}#tip .bar small,#card .bar small{text-align:right;width:30px;display:inline}#card .bar.warn i b{background:#d89a2b}#card .bar.bad i b{background:#c4492f}.wear{background:#e3d8c6;border-radius:4px;flex:none;height:8px;margin:4px 0;overflow:hidden}.wear i{background:#5fa35f;height:100%;display:block}.wear.mid i{background:#d89a2b}.wear.bad i{background:#c4492f}#card .problem{color:#6b4310;background:#fbeccd;border-radius:10px;margin:0 0 6px;padding:6px 10px;font-size:.929rem;font-weight:600}#tip .problem{color:#8a4b12;max-width:230px;margin:2px 0;font-weight:600;display:block}kbd{color:var(--muted);vertical-align:1px;background:#fbf6ec;border:1px solid #c9b99f;border-bottom-width:2px;border-radius:4px;margin-left:6px;padding:0 5px;font:600 10px/16px system-ui,sans-serif;display:inline-block}button.over{border-color:#d89a2b}button.over small{color:#b0721f;font-weight:600}.sheet .tabs{flex:none;gap:4px;padding:6px 12px 0;display:flex}.sheet .tabs[hidden]{display:none}.sheet .tabs button{white-space:nowrap;background:#e7d7b9;border-radius:8px 8px 0 0;flex:1;justify-content:center;align-items:center;gap:4px;min-height:44px;padding:6px 4px;font-weight:600;display:flex}.sheet .tabs button.on{background:#f8ecd2}.sheet .tabs img.ico{width:18px;height:18px}#drawer .tiles{grid-template-columns:repeat(3,1fr);gap:8px;padding:10px 12px 4px;display:grid}#drawer .tile{text-align:center;background:#f8ecd2;border:1px solid #d9c49c;border-radius:10px;flex-direction:column;align-items:center;gap:2px;min-width:0;padding:6px 6px 8px;display:flex;position:relative}#drawer .tile.dim{opacity:.55}#drawer .tile.picked{outline:3px solid var(--accent)}#drawer .tile .thumb{object-fit:contain;width:96px;height:72px}#drawer .tile .thumb.blank{background:repeating-linear-gradient(45deg,#e3d8c6 0 4px,#f4ede1 4px 8px);border-radius:6px;display:block}#drawer .tile b{font-size:.929rem;line-height:1.2}#drawer .tile .stats{justify-content:space-between;gap:6px;width:100%;font-size:.857rem;font-weight:600;display:flex}#drawer .tile .stats span{white-space:nowrap;align-items:center;gap:3px;display:flex}#drawer .tile .stats img.ico{width:16px;height:16px}#drawer .tile .count{color:#fff;background:#3f7f86;border:2px solid #fff;border-radius:10px;min-width:20px;height:20px;padding:0 5px;font:700 12px/20px system-ui,sans-serif;position:absolute;top:4px;right:4px}#drawer .later{color:var(--muted);flex-wrap:wrap;align-items:center;gap:4px 10px;margin:2px 12px;font-size:.857rem;display:flex}#drawer .later span{opacity:.7;align-items:center;gap:3px;display:inline-flex}#drawer .later img.ico{filter:grayscale()opacity(.6);width:18px;height:18px}#drawer .desc{min-height:2.6em;color:var(--ink);margin:4px 12px 10px;font-size:.929rem}@media (width<=520px){#drawer .tiles{grid-template-columns:repeat(2,1fr);gap:6px}#drawer .tile .thumb{width:80px;height:56px}.sheet .tabs button{padding:6px 2px;font-size:.857rem}}#card .mcard{grid-template-columns:1fr;gap:4px 16px;display:grid}#card .mcard h3{margin:6px 0 4px}#card .head{align-items:center;gap:10px;display:flex}#card .head .thumb{object-fit:contain;flex:none;width:96px;height:72px}#card .status{margin-bottom:4px;font-size:1.071rem;display:block}#card .status.good{color:#2f7a3a}#card .status.wait{color:#b0721f}#card .status.bad{color:#b4372a}#card .stats{grid-template-columns:1fr 1fr;gap:2px 12px;display:grid}#card .stat{align-items:center;gap:5px;font-size:.929rem;display:flex}#card .stat img.ico{width:22px;height:22px}#card .fill{align-items:center;gap:6px;margin:4px 0;display:flex}#card .fill img.ico{width:22px;height:22px}#card .fill i{background:#e3d8c6;border-radius:5px;flex:1;height:10px;overflow:hidden;box-shadow:inset 0 0 0 1px #c9b99f}#card .fill i b{background:#3f7f86;height:100%;display:block}#card .fill small{text-align:right;min-width:34px;display:inline}#card .flow{grid-template-columns:1fr 1fr;gap:0 12px;display:grid}#card .wear-row.good i b{background:#5fa35f}#card .wear-row.mid i b{background:#d89a2b}#card .wear-row.bad i b{background:#c4492f}#card button.wide{text-align:left;align-items:center;gap:8px;width:100%;margin:6px 0;font-weight:600;display:flex}#card button.wide img.ico{width:26px;height:26px}#card .modes{gap:8px;display:flex}#card button.icon{justify-content:center;align-items:center;min-width:52px;min-height:44px;padding:4px 8px;display:inline-flex}#card button.icon img.ico{width:28px;height:28px}#card .actions{gap:8px;margin-top:8px;display:flex}#card .actions button.icon{flex:1}#card .actions button.info{flex:none}#card .desc{color:var(--muted);font-size:.929rem}#card .hint{margin:4px 0 0;font-size:.786rem}#card .buffer{flex-wrap:wrap;align-items:center;gap:4px 6px;display:flex}#card .buffer img.ico{width:22px;height:22px}@media (width<=599px){#card .mcard:not(.info) .desc{display:none}}@media (width>=600px){#card{width:min(680px,100%)}#card .mcard{grid-template-columns:1fr 1fr}#card .actions button.info{display:none}}html.kit .sheet{background:var(--kit-panel-bg) repeat;border:14px solid #0000;border-bottom-width:0;border-image:var(--kit-frame) 28 / 14px / 0 stretch;background-size:256px 256px;border-radius:0;font-size:1rem;line-height:1.35;box-shadow:0 -6px 24px #00000059}html.kit .sheet>header{border:5px solid #0000;border-image:var(--kit-header) 20 fill / 5px;color:#fff;text-shadow:0 1px #00000059;min-height:0;margin:0 0 4px;padding:0 2px 0 8px}html.kit .sheet>header h2{font-size:1.143rem;line-height:22px}html.kit .sheet>header h2 img.ico{width:20px;height:20px}html.kit #card{padding:0 6px 10px}html.kit #card>header{margin:0 -6px 6px}html.kit .sheet>header button.close{background:0 0;border:0;border-image:;padding:0;line-height:0}html.kit .sheet>header button.close img.ico{width:22px;height:22px}html.kit .sheet button:where(:not(.close,.tile,.item)){border:10px solid #0000;border-image:var(--kit-btn) 20 fill / 10px;background:0 0;border-radius:0;min-width:60px;padding:0 4px;font-weight:600}html.kit .sheet button.primary{border-image-source:var(--kit-btn-primary)}html.kit .sheet button.danger{border-image-source:var(--kit-btn-danger);color:#fff}html.kit .sheet button:active:not(:disabled){transform:translateY(2px)}html.kit .sheet .tabs button,html.kit .sheet .seg button{border-width:7px;border-image:var(--kit-tab) 14 fill / 7px;color:var(--ink);background:0 0;padding:0 2px}html.kit .sheet .tabs button.on,html.kit .sheet .seg button.on{border-image-source:var(--kit-tab-on);color:var(--ink)}html.kit .sheet .seg{background:0 0;padding:0}html.kit .sheet .tile,html.kit #card .buffer,html.kit .sheet .item{border:10px solid #0000;border-image:var(--kit-tile) 20 / 10px;background:#f8ecd2 padding-box padding-box;border-radius:0;padding:2px 2px 4px}.sheet,.sheet .body,.sheet .list{scrollbar-width:thin;scrollbar-color:#c9b18a transparent}#dialog{width:min(440px, calc(100% - 24px - 2 * max(env(safe-area-inset-left), env(safe-area-inset-right))));z-index:40;border-radius:14px;max-height:calc(100vh - 24px);padding:0 0 12px;top:50%;bottom:auto;transform:translate(-50%,-50%);box-shadow:0 10px 30px #0006}#dialog-back{z-index:39;background:#00000073;position:fixed;inset:0}#dialog-back[hidden]{display:none}#dialog>p{margin:8px 14px;font-size:1rem;line-height:1.4}#dialog textarea{resize:none;word-break:break-all;width:calc(100% - 28px);color:var(--ink);-webkit-user-select:text;user-select:text;background:#fffaf0;border:1px solid #d9c49c;border-radius:8px;margin:4px 14px 8px;padding:8px;font:12px/1.35 ui-monospace,SFMono-Regular,Menlo,monospace;display:block}#dialog .btns{justify-content:flex-end;gap:8px;margin:4px 14px 0;display:flex}html.kit #dialog{border-bottom-width:14px;border-radius:0;padding-bottom:6px}html.kit #dialog>header{margin:0 0 4px}html.kit #tutorial,html.kit #notice,html.kit #event{background:var(--kit-panel-bg) repeat;border:14px solid #0000;border-image:var(--kit-frame) 28 / 14px stretch;background-size:256px 256px;background-clip:padding-box;border-radius:0}html.kit .say .portrait{background:#cfe0dc;border-radius:0;overflow:visible}html.kit .say .portrait:after{content:"";border:12px solid #0000;border-image:var(--kit-portrait) 24 / 12px;pointer-events:none;position:absolute;inset:0}html.kit .say .name{border:7px solid #0000;border-image:var(--kit-name) 14 fill / 7px;text-shadow:0 1px #0000004d;background:0 0;border-radius:0;height:28px;padding:0 5px;line-height:14px}html.kit .say .bubble{border:12px solid #0000;border-image:var(--kit-bubble) 24 fill / 12px;background:0 0;border-radius:0;padding:2px}html.kit .say .bubble:before{content:"";background:var(--kit-bubble-tail-left) no-repeat;background-size:9px 14px;width:9px;height:14px;position:absolute;top:2px;left:-19px}html.kit .say .aside{border:10px solid #0000;border-image:var(--kit-tile) 20 fill / 10px;background:0 0;border-radius:0;padding:0 2px}html.kit .say button:where(:not(.link)){border:10px solid #0000;border-image:var(--kit-btn) 20 fill / 10px;min-width:60px;color:var(--ink);background:0 0;border-radius:0;padding:2px 6px;font-weight:600}html.kit .say button.primary{border-image-source:var(--kit-btn-primary)}html.kit .say button.danger{border-image-source:var(--kit-btn-danger);color:#fff}html.kit .say button:active:not(:disabled){transform:translateY(2px)}button.close{justify-content:center;align-items:center;min-width:44px;min-height:44px;display:inline-flex}#dialog pre.licenses{white-space:pre-wrap;-webkit-user-select:text;user-select:text;max-height:55vh;margin:0;font-size:.786rem;line-height:1.35;overflow:auto}#title{z-index:19;padding:calc(6vh + env(safe-area-inset-top)) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:#3a2c20 var(--title-bg-land) center / cover no-repeat;flex-direction:column;align-items:center;display:flex;position:fixed;inset:0}#title[hidden]{display:none}#title .logo{filter:drop-shadow(0 6px 12px #00000040);height:auto}#title .logo.wide{object-fit:contain;width:min(64vw,720px);max-height:20vh}#title .logo.tall{display:none}#title .menu{flex-direction:column;gap:10px;margin-top:4vh;display:flex}#title .menu button{background:var(--paper);width:260px;height:48px;color:var(--ink);border-radius:10px;font-size:1.214rem;font-weight:700}#title .menu button.primary{background:var(--accent)}html.kit #title .menu button{border:10px solid #0000;border-image:var(--kit-btn) 20 fill / 10px;background:0 0;border-radius:0;padding:0}html.kit #title .menu button.primary{border-image-source:var(--kit-btn-primary)}#title .menu button:active{transform:translateY(2px)}#title .loading{flex-direction:column;align-items:center;gap:6px;display:flex;position:absolute;top:68%;left:50%;transform:translate(-50%)}#title .track{box-sizing:border-box;border:0 solid #0000;border-image:var(--title-track) 18 fill / 9px;width:min(60vw,500px);height:20px;padding:2px}#title .track i{border:0 solid #0000;border-image:var(--title-fill) 12 fill / 6px;min-width:12px;height:16px;transition:width .2s;display:block}#title .loading small{color:#fff;text-shadow:0 0 3px #3a2c20,0 1px 2px #3a2c20;font-size:1rem;font-weight:700}@media (orientation:portrait){#title{padding-top:calc(10vh + env(safe-area-inset-top));background-image:var(--title-bg-port)}#title .logo.tall{width:86vw;display:block}#title .logo.wide{display:none}#title .track{width:80vw}}html.title-on :is(#topbar,#bottombar,#tutorial,#notice,#event,#build-hint,#tip){display:none!important}@media (orientation:landscape) and (height<=500px){#topbar{padding-top:calc(4px + env(safe-area-inset-top));gap:4px;padding-bottom:4px}#topbar>.chips{scrollbar-width:none;flex-wrap:nowrap;gap:4px;overflow-x:auto}#topbar>.chips::-webkit-scrollbar{display:none}#topbar>.chips>*{flex:none}.say{gap:6px;font-size:.929rem}#tutorial,#notice,#event{padding:8px}.say .choices{grid-template-columns:1fr 1fr;gap:6px;display:grid}.say .choices button{padding:4px 8px}.say .choices button b{font-size:1rem}.say>.note{display:none}#topbar{padding:calc(2px + env(safe-area-inset-top)) calc(6px + env(safe-area-inset-right)) 2px calc(6px + env(safe-area-inset-left))}.res{padding:2px 6px;font-size:.857rem}.res>small{display:none}.res img.ico{width:16px;height:16px}#menu-btn{min-height:32px;padding:2px 8px}#menu-btn img.ico{width:18px;height:18px}#bottombar{padding-top:2px;padding-bottom:calc(2px + env(safe-area-inset-bottom))}#nav{gap:2px;padding:3px}#nav button{gap:0;min-width:52px;min-height:44px;padding:2px 6px;font-size:.714rem}#nav img.ico,#nav .ico{width:22px;height:22px;font-size:1.286rem;line-height:22px}#speed{padding:2px}#speed button{padding:2px 6px}#speed img.ico{width:20px;height:20px}.sheet{width:min(720px, 100% - 2 * max(env(safe-area-inset-left), env(safe-area-inset-right)));max-height:calc(100dvh - var(--topbar-h,40px) - var(--bottombar-h,52px) - 4px)}.sheet header{padding:4px 8px}html.kit .sheet>header h2{font-size:1rem;line-height:18px}.sheet .tabs{padding:4px 8px 0}.sheet .tabs button{padding:2px 4px;font-size:.929rem}.sheet .body,.sheet .list{padding:6px 12px 10px}h3{margin:8px 0 4px;font-size:1rem}p.note{margin:2px 0 6px;font-size:.857rem}#drawer .tiles{grid-template-columns:repeat(4,1fr);gap:6px;padding:6px 8px 2px}#drawer .tile .thumb{width:72px;height:48px}#drawer .desc{min-height:0;margin:2px 10px 6px;font-size:.857rem}#drawer{overflow:hidden}html.kit .sheet>header{min-height:24px;padding:0 2px 0 8px}html.kit .sheet>header h2 img.ico{width:18px;height:18px}#tutorial,#notice,#event{top:calc(var(--topbar-h,40px) + 4px);width:min(600px, calc(100% - 24px - 2 * max(env(safe-area-inset-left), env(safe-area-inset-right))))}#tutorial{max-height:calc(100dvh - var(--topbar-h,40px) - var(--bottombar-h,52px) - 8px)}#notice,#event{max-height:calc(100dvh - var(--topbar-h,40px) - 8px)}.say .top{gap:8px;min-height:52px}.say .portrait{width:52px;height:52px}.say .portrait .face{width:40px;height:40px;inset:6px}.say .name{padding:1px 8px;font-size:.857rem;line-height:18px}.say .bubble{margin-top:4px;padding:6px 10px}html.kit .say .bubble{border-width:8px;border-image-width:8px;padding:0}#toasts{bottom:calc(var(--bottombar-h,52px) + 4px)}.toast{padding:5px 9px;font-size:.857rem}#toasts .toast:nth-last-child(n+4){display:none}#title{padding-top:calc(6vh + env(safe-area-inset-top))}html.kit .sheet{border-width:8px 8px 0;border-image:var(--kit-frame-s) 16 / 8px / 0 stretch}html.kit #tutorial,html.kit #notice,html.kit #event{border-width:8px;border-image:var(--kit-frame-s) 16 / 8px stretch}html.kit .say .portrait:after{border-width:7px;border-image:var(--kit-portrait-s) 14 / 7px}#title .menu{gap:8px;margin-top:2vh}#title .menu button{height:44px;font-size:1.071rem}#title .loading{top:72%}}button,.res b{font-weight:700}:is(#drawer,#panel,#goals)>.paper{flex-direction:column;flex:0 auto;min-height:0;display:flex}:is(#drawer,#panel,#goals)>.paper>.body{flex:0 auto;min-height:0;overflow-y:auto}:is(#drawer,#panel,#goals)>.paper>header{flex:none}html.board :is(#drawer,#panel,#goals){max-height:calc(100dvh - var(--topbar-h,60px) - var(--bottombar-h,0px) - 64px);border:10px solid #0000;border-image:var(--kit-board) 36 36 40 36 fill / 18px 18px 20px 18px;background:0 0;border-radius:0;padding:16px 4px 6px;overflow:visible;box-shadow:0 8px 24px #00000059}html.board :is(#drawer,#panel,#goals):before{content:"";background:var(--kit-clip) no-repeat center / 150px 70px;z-index:5;pointer-events:none;width:150px;height:70px;position:absolute;top:-63px;left:50%;transform:translate(-50%)}html.board :is(#drawer,#panel,#goals)>.tabs{align-items:flex-end;gap:0;margin:0 0 -6px;padding:0 10px;display:flex}html.board :is(#drawer,#panel,#goals)>.tabs button{z-index:0;border:18px solid #0000;border-width:10px 18px 5px;border-image:var(--kit-tab-paper) 20 36 10 36 fill / 10px 18px 5px;color:#2b2118b3;background:0 0;border-radius:0;flex:0 165px;min-width:0;height:38px;min-height:0;margin-left:-7px;padding:0 0 4px;font-weight:600;position:relative}html.board :is(#drawer,#panel,#goals)>.tabs button:first-child{border-width:11px 20px 5px;border-image:var(--kit-tab-paper-on) 22 40 10 40 fill / 11px 20px 5px;margin-left:0}html.board :is(#drawer,#panel,#goals)>.tabs button:nth-child(3){border-image-source:var(--kit-tab-paper-alt)}html.board :is(#drawer,#panel,#goals)>.tabs button:nth-child(4){border-image-source:var(--kit-tab-paper-green)}html.board :is(#drawer,#panel,#goals)>.tabs button:nth-child(5){border-image-source:var(--kit-tab-paper-plum)}html.board :is(#drawer,#panel,#goals)>.tabs button.on{z-index:3;height:44px;color:var(--ink);font-weight:700}html.board :is(#drawer,#panel,#goals)>.tabs button .ico{display:none}html.board :is(#drawer,#panel,#goals)>.tabs button.pulse{filter:drop-shadow(0 0 6px #ffd666f2)}html.board :is(#drawer,#panel,#goals)>.paper{z-index:2;margin:0 3px 3px 0;padding:12px 14px 14px 10px;position:relative}html.board :is(#drawer,#panel,#goals)>.paper:before,html.board :is(#drawer,#panel,#goals)>.paper:after{content:"";z-index:-1;pointer-events:none;border:14px solid #0000;border-width:12px 14px 14px 10px;border-image:var(--kit-paper) 24 28 28 20 fill / 12px 14px 14px 10px;position:absolute;inset:0}html.board :is(#drawer,#panel,#goals)>.paper:before{z-index:-2;filter:brightness(.94);transform:translate(3px,3px)}html.board :is(#drawer,#panel,#goals)>.paper>header{border:8px solid #0000;border-image:var(--kit-sheet-head) 16 fill / 8px;min-height:0;color:var(--ink);text-shadow:none;background:0 0;justify-content:space-between;align-items:center;gap:8px;margin:0 0 6px;padding:2px 4px 2px 8px;display:flex}html.board :is(#drawer,#panel,#goals)>.paper>header h2{color:#2c4a4f;white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:8px;margin:0;font-size:1.571rem;font-weight:700;line-height:1.2;display:flex;overflow:hidden}html.board :is(#drawer,#panel,#goals)>.paper>header h2 img.ico{width:32px;height:32px}html.board :is(#drawer,#panel,#goals)>.paper>header button.close{background:var(--kit-close) no-repeat center / 39px 36px;border:0;border-image:;flex:none;width:44px;height:44px}html.board :is(#drawer,#panel,#goals)>.paper>header button.close img.ico{display:none}html.board :is(#drawer,#panel,#goals)>.paper>.body{background:0 0;border:0;padding:0 2px 2px}html.board :is(#panel,#goals) .row{border:8px solid #0000;border-image:var(--kit-row) 16 fill / 8px;border-radius:0;flex-wrap:nowrap;align-items:center;margin-bottom:6px;padding:2px 6px}html.board :is(#panel,#goals) .row>div:not(.btns){flex:1;min-width:0}html.board :is(#panel,#goals) .row b{color:#2c4a4f}.row-thumb{object-fit:contain;flex:none;width:52px;height:39px}.chips{flex-wrap:wrap;align-items:center;gap:2px 0;margin-top:2px;font-weight:600;display:flex}.chips>span{align-items:center;gap:4px;padding:0 8px;display:inline-flex}.chips>span:first-child{padding-left:0}.chips>span+span{border-left:1px solid #2b211840}.chips img.ico{width:19px;height:19px}html.board :is(#drawer,#panel,#goals) button.primary:not(.tile,.item){border-image:var(--kit-btn-yellow) 20 fill / 10px}html.board :is(#panel,#goals) .row .btns button:not(.danger,.primary){border-image:var(--kit-btn-teal) 20 fill / 10px;color:#fff}html.board :is(#panel,#goals) .row .btns button:not(.danger,.primary) small{color:#ffffffd9}@media (orientation:landscape) and (height<=500px){html.board :is(#drawer,#panel,#goals){max-height:calc(100dvh - var(--topbar-h,40px) - var(--bottombar-h,52px) - 46px);padding-top:12px}html.board :is(#drawer,#panel,#goals):before{background-image:var(--kit-clip-s);background-size:120px 56px;width:120px;height:56px;top:-49px}html.board :is(#drawer,#panel,#goals)>.paper{padding:8px 10px 10px 8px}html.board :is(#drawer,#panel,#goals)>.paper>header{border-width:6px;margin-bottom:4px;padding:0 2px 0 6px}html.board :is(#drawer,#panel,#goals)>.paper>header button.close{margin:-8px -4px -8px 0}html.board :is(#drawer,#panel,#goals)>.paper>header h2{font-size:1.143rem}html.board :is(#drawer,#panel,#goals)>.paper>header h2 img.ico{width:24px;height:24px}html.board :is(#drawer,#panel,#goals)>.tabs button{height:34px}html.board :is(#drawer,#panel,#goals)>.tabs button.on{height:40px}.row-thumb{width:40px;height:30px}}.toast{align-items:center;gap:6px;display:flex}.toast img.ico{flex:none;margin:0}.toast img.pic{object-fit:contain;flex:none;width:42px;height:35px}html.memo :is(#tutorial,#notice,#event,#card,#dialog,#tip){border:14px solid #0000;border-top-width:20px;border-image:var(--kit-memo) 40 28 28 28 fill / 20px 14px 14px round stretch;box-shadow:none;filter:drop-shadow(0 4px 10px #00000047);background:0 0;border-radius:0;overflow:visible}html.memo #card{padding:4px 10px 8px}html.memo #dialog{padding:4px 8px 6px}html.memo #tip{border-width:14px 10px 10px;border-image-width:14px 10px 10px;padding:2px 6px 4px}html.memo :is(#tutorial,#notice,#event,#dialog):before{content:"";z-index:2;pointer-events:none;background:var(--kit-memo-clip) no-repeat center / 18px 48px;width:18px;height:48px;position:absolute;top:-35px;left:6px}html.memo #card:before{content:"";z-index:2;pointer-events:none;background:var(--kit-memo-tape) no-repeat center / 60px 27px;width:60px;height:27px;position:absolute;top:-32px;left:50%;transform:translate(-50%)}html.memo .say .portrait{background:#cfe0dc;border-radius:0}html.memo .say .portrait:after{border-width:10px;border-image:var(--kit-memo-frame) 20 / 10px}html.memo .say .name{color:#2c6b70;text-shadow:none;background:0 0;border:0;border-image:;padding:0;font-size:1.143rem;font-weight:700;line-height:1.3}html.memo .say .role{color:#2c4a4f;border:6px solid #0000;border-width:6px 10px;border-image:var(--kit-memo-chip) 20 24 20 24 fill / 6px 10px;padding:0 4px;font-size:.786rem;font-weight:600;line-height:1.2;display:inline-block}html.memo .say .bubble{border:12px solid #0000;border-left-width:20px;border-image:var(--kit-memo-bubble) 24 24 24 40 fill / 12px 12px 12px 20px;background:0 0;margin-left:-8px;padding:2px 4px}html.memo .say .bubble:before{display:none}html.memo .say .aside{background:#ffffff80;border:0;border-image:}html.memo :is(#tutorial,#notice,#event,#card,#dialog) button:where(:not(.close,.link,.tile,.item,.seg button)){color:#fff;border:10px solid #0000;border-image:var(--kit-memo-btn-teal) 20 fill / 10px;text-shadow:0 1px #0003;background:0 0;border-radius:0;min-width:60px;font-weight:700}html.memo :is(#tutorial,#notice,#event,#card,#dialog) button:where(.primary){border-image-source:var(--kit-memo-btn-yellow);color:var(--ink);text-shadow:none}html.memo :is(#tutorial,#notice,#event,#card,#dialog) button:where(.danger){border-image-source:var(--kit-memo-btn-red);color:#fff}html.memo :is(#tutorial,#notice,#event,#card,#dialog) button:where(.icon,[data-dialog=cancel]){border-image-source:var(--kit-memo-btn-grey);color:var(--ink);text-shadow:none}html.memo :is(#tutorial,#notice,#event,#card,#dialog) button:where(.icon.danger){border-image-source:var(--kit-memo-btn-red)}html.memo :is(#tutorial,#notice,#event,#card,#dialog) button:disabled{filter:grayscale(.7);opacity:.6}html.memo .say .choices button small,html.memo .say .choices .meta{color:inherit}html.memo #card .stats .stat{border:8px solid #0000;border-width:8px 12px;border-image:var(--kit-memo-stat) 16 24 16 24 fill / 8px 12px;align-items:center;gap:4px;padding:0 6px;display:flex}html.memo #card .stats .stat img.ico{width:16px;height:16px}html.memo #card>header,html.memo #dialog>header{color:#2c4a4f;text-shadow:none;background:0 0;border:0;border-image:;margin:0 0 4px}html.memo #card>header h2,html.memo #dialog>header h2{color:#2c4a4f}html.memo #dialog.alert>header{border-bottom:1px solid #2b211833;flex-direction:column;padding-bottom:6px}html.memo #dialog.alert>header h2:before{content:"";background:var(--kit-memo-alert) no-repeat center / contain;width:36px;height:36px;margin:0 auto 4px;display:block}html.memo #dialog.alert>header h2{text-align:center;flex-direction:column}html.memo #dialog.alert>header button.close{position:absolute;top:0;right:2px}html.memo #dialog.alert>p{text-align:center}html.memo .toast{color:#2c6b70;box-shadow:none;border:20px solid #0000;border-width:12px 20px 20px 12px;border-image:var(--kit-memo-sticky) 24 40 40 24 fill / 12px 20px 20px 12px;filter:drop-shadow(0 3px 6px #00000040);background:0 0;border-radius:0;padding:2px 6px;font-weight:700;position:relative}html.memo .toast:before{content:"";background:var(--kit-memo-tape) no-repeat center / 48px 22px;width:48px;height:22px;position:absolute;top:-20px;left:50%;transform:translate(-50%)}html.memo .toast.warn{color:#9a3322}html.memo .toast:nth-child(3n+1){rotate:-2deg}html.memo .toast:nth-child(3n+2){rotate:1.5deg}html.memo .toast:nth-child(3n){rotate:-1deg}html.memo .toast img.pic+.words{border-left:1px solid #2b21184d;padding-left:8px}html.memo #toasts{gap:14px;padding-top:12px}@media (orientation:landscape) and (height<=500px){html.memo :is(#tutorial,#notice,#event,#card,#dialog){border-width:14px 10px 10px;border-image-width:14px 10px 10px}html.memo :is(#tutorial,#notice,#event,#dialog):before{top:-29px}html.memo #card:before{top:-26px}}html.memo #card>:is(.mcard,.cbody){flex:0 auto;min-height:0;overflow-y:auto}html.memo #card .actions button.icon{flex:none;min-width:60px;height:44px;padding:0 4px}html.memo #card .actions{justify-content:center;gap:6px}html.memo #card>.mcard{min-height:110px}@media (orientation:landscape) and (height<=500px){html.memo #card>.hint{display:none}.sheet.small#card{max-height:60vh}html.memo #card>.mcard{min-height:0}}.toast img.pic[src*=mrBao\/]{object-fit:cover;object-position:top;background:#cfe0dc;border-radius:50%;width:35px;height:35px}#tutorial.strip,html.memo #tutorial.strip{filter:none;box-shadow:none;width:min(560px, calc(100% - 24px - 2 * max(env(safe-area-inset-left), env(safe-area-inset-right))));background:0 0;border:0;border-image:;max-height:none;padding:0;overflow:visible}#tutorial.strip:before{display:none}.tut-strip{text-align:left;width:100%;min-height:48px;color:var(--ink);background:#fff7e2;border-radius:12px;align-items:center;gap:10px;padding:4px 10px 4px 4px;font-weight:700;display:flex;box-shadow:0 4px 12px #00000040}html.memo #tutorial .tut-strip{box-shadow:none;border:10px solid #0000;border-image:var(--kit-memo-sticky) 24 40 40 24 fill / 10px 14px 14px 10px;color:#2c6b70;text-shadow:none;filter:drop-shadow(0 3px 6px #00000040);background:0 0;border-radius:0;font-weight:700}.tut-strip img{object-fit:cover;object-position:top;background:#cfe0dc;border-radius:50%;flex:none;width:40px;height:40px}.tut-strip span{flex:1;line-height:1.3}.tut-strip .ico{opacity:.7;flex:none;width:18px;height:18px}#tut-arrow{z-index:60;pointer-events:none;width:0;height:0;position:fixed}#tut-arrow[hidden]{display:none}#tut-arrow i{background:var(--tut-arrow,none) no-repeat center / contain;filter:drop-shadow(0 2px 3px #0006);width:36px;height:36px;animation:.9s ease-in-out infinite tut-bounce;display:block;position:absolute;bottom:4px;left:-18px}#tut-arrow i:before{content:"";background:#f4c542;border:2px solid #2b2118;border-bottom:0;border-radius:4px 4px 0 0;width:24px;height:18px;position:absolute;top:0;left:6px}#tut-arrow i:after{content:"";border:18px solid #0000;border-top:20px solid #2b2118;border-bottom:0;position:absolute;top:16px;left:0}#tut-arrow.below i{animation-name:tut-bounce-up;top:4px;bottom:auto;transform:rotate(180deg)}@keyframes tut-bounce{0%,to{translate:0}50%{translate:0 -10px}}@keyframes tut-bounce-up{0%,to{translate:0}50%{translate:0 10px}}#tut-arrow.art i:before,#tut-arrow.art i:after{display:none}@media (orientation:landscape) and (height<=500px){html.tut-strip-on.board :is(#drawer,#panel){max-height:calc(100dvh - var(--topbar-h,40px) - var(--bottombar-h,52px) - 110px)}html.tut-strip-on.board :is(#drawer,#panel)>.paper>header{z-index:6;background:0 0;border:0;margin:0;padding:0;position:absolute;top:-48px;right:-8px}html.tut-strip-on.board :is(#drawer,#panel)>.paper>header h2{display:none}html.tut-strip-on #drawer .tile .thumb{width:56px;height:34px}html.tut-strip-on #drawer .tile{gap:0;padding:2px 4px 4px}html.tut-strip-on #drawer #build-desc,html.tut-strip-on #drawer .later{display:none}}html.steel #topbar{border:12px solid #0000;border-image:var(--kit-bar) 24 fill / 12px;background:0 0;padding-block:0;box-shadow:0 2px 8px #00000059}html.steel #topbar .res{border:8px solid #0000;border-image:var(--kit-plate) 16 fill / 8px;color:#f1ead9;background:0 0;border-radius:0;padding:0 4px}html.steel #topbar .res small{color:#cbbfa8}html.steel #topbar .res.warn{border-image:var(--kit-btn-danger) 20 fill / 10px;padding:0 2px}html.steel #topbar .res.limit,html.steel #topbar .res.goals.gift{border-image:var(--kit-btn-primary) 20 fill / 10px;color:var(--ink);padding:0 2px}html.steel #menu-btn,html.steel #speed button,html.steel #view-btn{border:10px solid #0000;border-image:var(--kit-btn-square) 20 fill / 10px;background:0 0;border-radius:0;justify-content:center;align-items:center;min-width:44px;min-height:44px;padding:0;display:inline-flex}html.steel #menu-btn,html.steel #speed button.on{border-image-source:var(--kit-btn-primary)}html.steel :is(#nav,#speed){border:12px solid #0000;border-image:var(--kit-bar) 24 fill / 12px;background:0 0;border-radius:0;padding:0;box-shadow:0 3px 10px #00000059}html.steel #nav button{border:10px solid #0000;border-image:var(--kit-btn) 20 fill / 10px;color:#f1ead9;background:0 0;border-radius:0;padding:0 2px}html.steel #nav button:first-child{border-image-source:var(--kit-btn-primary);color:var(--ink)}html.steel #nav button.on:not(:first-child){border-image-source:var(--kit-btn-teal);color:#fff}html.steel #view-btn{box-shadow:0 3px 10px #00000059}@media (orientation:landscape) and (height<=500px){html.steel #topbar{border-width:6px 8px;border-image-width:6px 8px}html.steel #topbar .res,html.steel :is(#nav,#speed){border-width:6px;border-image-width:6px}html.steel #nav button,html.steel #speed button{border-width:8px;border-image-width:8px}}html.style-classic.kit .sheet button:where(:not(.close,.tile,.item)),html.style-classic.kit .say button:where(:not(.link)),html.style-classic.kit #title .menu button{border-width:8px;border-image-slice:16 fill;border-image-width:8px;min-width:0}html.style-classic.kit .sheet button:where(:not(.close,.tile,.item)),html.style-classic.kit .say button:where(:not(.link)){padding:2px 6px}html.style-classic.board :is(#drawer,#panel,#goals) button.primary:not(.tile,.item),html.style-classic.board :is(#panel,#goals) .row .btns button:not(.danger,.primary){border-width:10px 10px 11px;border-image-slice:20 20 22 fill;border-image-width:10px 10px 11px}html.style-classic.memo :is(#tutorial,#notice,#event,#card,#dialog) button:where(:not(.close,.link,.tile,.item,.seg button)){border-width:10px 10px 11px;border-image-slice:20 20 22 fill;border-image-width:10px 10px 11px;min-width:0}@media (orientation:landscape) and (height<=500px){html.steel #topbar{border-width:4px 6px;border-image-width:4px 6px}html.steel #topbar .res{border-width:5px;border-image-width:5px;padding:0 3px}html.steel #menu-btn{border-width:6px;border-image-width:6px;min-width:40px;min-height:32px}html.steel :is(#nav,#speed){border-width:4px;border-image-width:4px}html.steel #view-btn{border-width:8px;border-image-width:8px;min-height:44px}#tutorial .tut-strip{min-height:40px;padding-block:0}html.memo #tutorial .tut-strip{border-width:6px 10px 8px 6px;border-image-width:6px 10px 8px 6px}.tut-strip img{width:30px;height:30px}html.tut-strip-on.board :is(#drawer,#panel){max-height:calc(100dvh - var(--topbar-h,40px) - var(--bottombar-h,52px) - 96px)}html.tut-strip-on #drawer .tile .thumb{width:48px;height:30px}html.tut-strip-on #drawer .tile{justify-content:center;padding:4px}#build-hint{gap:6px;width:max-content;padding:4px 4px 4px 10px;font-size:.857rem}#build-hint>span{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}#build-hint button{flex:none;min-height:36px;padding:2px 8px}#build-hint button kbd,#build-hint button small{display:none}}html,body,.sheet,.sheet .body,.sheet .list,#card,#card>:is(.mcard,.cbody),#dialog,#dialog pre,#goals .body,#tutorial,#notice,#event,.say .bubble,#topbar,#drawer .tiles,#title{overscroll-behavior:none}
