@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-cyrillic-ext-wght-normal-D4X5GqEv.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-cyrillic-wght-normal-CY6AOgYE.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-vietnamese-wght-normal-U01xdrZh.woff2)format("woff2-variations");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:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-latin-ext-wght-normal-CXYtwYOx.woff2)format("woff2-variations");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:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-latin-wght-normal-BzFMHfZw.woff2)format("woff2-variations");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:Fredoka Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/fredoka-hebrew-wght-normal-DdnsCkLr.woff2)format("woff2-variations");unicode-range:U+307-308,U+590-5FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}@font-face{font-family:Fredoka Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/fredoka-latin-ext-wght-normal-CYrqKuxd.woff2)format("woff2-variations");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:Fredoka Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/fredoka-latin-wght-normal-DM6njrJ3.woff2)format("woff2-variations");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}html,body{overscroll-behavior:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;background:#2b3a22;height:100%;margin:0;font-family:Nunito Variable,system-ui,sans-serif;overflow:hidden}:root{--titlebar-h:env(titlebar-area-height,0px);--inset-top:max(env(safe-area-inset-top,0px), var(--titlebar-h))}#titlebar{display:none}@media (display-mode:window-controls-overlay){#titlebar{z-index:100;width:100%;height:var(--titlebar-h);app-region:drag;-webkit-app-region:drag;display:block;position:fixed;top:0;left:0}}#app{position:fixed;inset:0}#app canvas{touch-action:none;display:block}#app:after{pointer-events:none;content:"";background:radial-gradient(#0000 58%,#1c12064d 100%);position:fixed;inset:0}#ui{pointer-events:none;touch-action:manipulation;position:fixed;inset:0}html,body,#ui{cursor:url(/cursors/arrow.svg) 5 4,default}#ui button:not(:disabled),#ui [role=button],#ui input[type=range],#ui label{cursor:url(/cursors/hand.svg) 5 4,pointer}#ui button:disabled{cursor:url(/cursors/arrow.svg) 5 4,not-allowed}#app canvas{cursor:url(/cursors/arrow.svg) 5 4,default}#app canvas:is([data-tool=zone],[data-tool=seed],[data-tool=erase],[data-tool=clear],[data-tool=place],[data-tool=belt],[data-tool=unbelt],[data-tool=land]){cursor:url(/cursors/cross.svg) 16 16,crosshair}#app canvas[data-tool=move]{cursor:url(/cursors/move.svg) 5 4,move}#app canvas[data-tool=copy]{cursor:url(/cursors/copy.svg) 5 4,copy}#app canvas[data-tool=demolish]{cursor:url(/cursors/demolish.svg) 5 4,not-allowed}:root{--wood-top:#4d3828;--wood-bottom:#35261b;--wood-hi:#5d4431;--wood-edge:#1c120b;--slot:#2b1e15;--slot-edge:#150d08;--parchment:#fbf1da;--parchment-edge:#d8c39a;--ink:#3f2c1d;--ui-bg:linear-gradient(180deg, var(--wood-top), var(--wood-bottom));--ui-bg-strong:#2b1e15;--ui-border:#ffe2b424;--ui-text:#fcf2dc;--ui-muted:#cdb694;--ui-accent:#ffc83d;--ui-accent-deep:#c98b17;--ui-danger:#ff7b5c;--ui-ok:#97dc6e;--ui-radius:14px;--font-body:"Nunito Variable", system-ui, -apple-system, "Segoe UI", sans-serif;--font-display:"Fredoka Variable", "Nunito Variable", system-ui, sans-serif;--ui-font:600 14px/1.35 var(--font-body);--press:0 4px 0 #160d0799;--lift:inset 0 1px 0 #ffe2b433, inset 0 -3px 0 #0003, 0 4px 0 #160d078c, 0 12px 26px #00000042}#ui{-webkit-user-select:none;user-select:none;color:var(--ui-text);font:var(--ui-font)}.ui-scale{inset:var(--inset-top) env(safe-area-inset-right,0) env(safe-area-inset-bottom,0) env(safe-area-inset-left,0);position:absolute}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible{outline:3px solid var(--ui-accent);outline-offset:2px}.text-scaled{zoom:var(--text-scale,1)}.panel{pointer-events:auto;background:var(--ui-bg);border:2px solid var(--wood-edge);border-radius:var(--ui-radius);box-shadow:var(--lift)}.muted{color:var(--ui-muted)}.up{color:var(--ui-ok)}.down{color:var(--ui-danger)}.trend.flat{color:var(--ui-muted)}@keyframes pop-in{0%{opacity:0;transform:translateY(6px)scale(.97)}}@keyframes fade-in{0%{opacity:0}}.top-left{z-index:5;align-items:stretch;gap:8px;display:flex;position:absolute;top:14px;left:14px}.top-right{z-index:5;flex-direction:column;align-items:flex-end;gap:8px;display:flex;position:absolute;top:14px;right:14px}.top-menu{gap:8px;display:flex}.icon-button{place-items:center;width:44px;height:44px;padding:0;font-size:18px;transition:transform 80ms,filter .12s;display:grid}.icon-button:hover,.contracts-toggle:hover{filter:brightness(1.12)}.icon-button:active,.contracts-toggle:active{transform:translateY(3px)}.burger{gap:4px;display:grid}.burger span{background:var(--ui-text);border-radius:2px;width:18px;height:3px;display:block}.resource-bar{font-variant-numeric:tabular-nums;align-items:center;gap:14px;min-height:44px;padding:6px 16px;font-size:15px;display:flex}.resource{display:inline-block}.resource.permits.full{color:var(--ui-danger)}.resource strong{color:var(--ui-muted);margin-right:2px;font-weight:700}.coins{font-family:var(--font-display);color:var(--ui-accent);text-shadow:0 2px #00000059;align-items:center;gap:7px;font-size:18px;font-weight:600;display:inline-flex}.coin-icon{background:radial-gradient(circle at 35% 35%,#fff0a8,#f2b21e 60%,#b97a0c 100%);border-radius:50%;width:16px;height:16px;box-shadow:0 0 0 2px #6b4506,0 2px 0 2px #0000004d}.weather{align-items:center;gap:10px;padding:7px 12px;display:flex}.weather-symbol{filter:drop-shadow(0 2px #0000004d);font-size:26px}.season{border-top:1px dashed var(--ui-border);max-width:240px;margin-top:3px;padding-top:3px}.season strong{font-size:13px}.season-spring strong{color:#b7e37f}.season-summer strong{color:var(--ui-accent)}.season-autumn strong{color:#f0a45a}.season-winter strong{color:#cfe6f2}.weather-effects{color:var(--ui-muted);font-size:12px}.weather strong{font-family:var(--font-display);font-size:15px;font-weight:600}.contracts{position:relative}.contracts-toggle{height:100%;min-height:44px;font-family:var(--font-display);align-items:center;gap:7px;padding:4px 14px;font-size:15px;font-weight:600;transition:transform 80ms,filter .12s;display:flex}.badge{white-space:nowrap;font-family:var(--font-body);color:#2b1d05;background:var(--ui-accent);box-shadow:0 2px 0 var(--ui-accent-deep);border-radius:9px;padding:1px 7px;font-size:11px;font-weight:800}.badge.active{color:#173009;background:var(--ui-ok);box-shadow:0 2px #4f8a2c}.badge.story{color:var(--parchment);background:#8a5a33;box-shadow:0 2px #53331a}.contracts-panel{z-index:3;width:330px;max-height:calc(var(--ui-h,100vh) - 230px);padding:12px;animation:.16s ease-out pop-in;position:absolute;top:calc(100% + 10px);left:0;overflow-y:auto}.panel-head{z-index:1;background:var(--wood-top);border-radius:var(--ui-radius) var(--ui-radius) 0 0;justify-content:space-between;align-items:center;gap:10px;margin:-12px -12px 8px;padding:10px 12px 8px;display:flex;position:sticky;top:-12px}.panel-head h2{font-family:var(--font-display);color:#fff3d6;margin:0;font-size:19px;font-weight:600}.contracts-panel ul{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.contract{background:var(--slot);border:2px solid var(--slot-edge);border-radius:10px;grid-template-columns:1fr auto;gap:2px 8px;padding:9px;display:grid;box-shadow:inset 0 2px 4px #0000004d}.contract.cannot{opacity:.62}.contract-problem{color:var(--ui-danger);margin:4px 0 2px;font-size:12px;font-weight:700}.contract.active{border-color:#97dc6e8c}.contract-head{align-items:center;gap:8px;display:flex}.contract-meta{color:var(--ui-muted);grid-column:1;font-size:12px}.contract-action{color:#2b1d05;background:linear-gradient(#ffd766,#f2b21e);border:2px solid #5c3d06;border-radius:9px;grid-area:1/2/span 2;align-self:center;padding:6px 14px;font-weight:800;transition:transform 80ms;box-shadow:inset 0 1px #ffffff73,0 3px #7a520b}.contract-action:hover:not(:disabled){filter:brightness(1.06)}.contract-action:active:not(:disabled){transform:translateY(3px);box-shadow:inset 0 1px #ffffff73}.upgrade-row{flex-wrap:wrap;align-items:center;gap:4px 10px;margin:6px 0 8px;display:flex}.upgrade-row .contract-action{grid-area:auto}.contract-action:disabled{cursor:not-allowed;opacity:.45}.story-order{border-bottom:1px dashed var(--ui-border);margin-bottom:8px;padding-bottom:8px}.tech-panel{inset:calc(66px + var(--titlebar-h)) 16px 112px;z-index:6;flex-direction:column;padding:12px 14px 14px;animation:.18s ease-out pop-in;display:flex;position:fixed}.tech-panel-head{align-items:center;gap:14px;margin-bottom:8px;display:flex}.tech-panel-head .menu-title{margin:0;font-size:24px}.tech-panel-head .hint{color:var(--ui-muted);flex:1;margin:0;font-size:12px}.tech-graph-wrap{flex:1;min-height:0;position:relative}.tech-graph{cursor:grab;background:radial-gradient(circle at 50% 50%, #ffc83d14, transparent 55%), var(--slot);border:2px solid var(--slot-edge);touch-action:none;border-radius:12px;position:absolute;inset:0;overflow:hidden;box-shadow:inset 0 3px 10px #00000080}.tech-graph:active{cursor:grabbing}.tech-svg{transform-origin:50%;-webkit-user-select:none;user-select:none;position:absolute;top:50%;left:50%;overflow:visible}.tech-edge{fill:none;stroke-width:4px;stroke-linecap:round;stroke-linejoin:round}.tech-edge.dark{stroke:#ffe2b421}.tech-edge.open{stroke:var(--ui-accent);filter:drop-shadow(0 0 4px #ffc83d99)}.tech-edge.done{stroke:var(--ui-ok)}.tech-node{cursor:pointer}.tech-node-glow{fill:#0000}.tech-node-ring{fill:#3b2a1e;stroke:#ffe2b440;stroke-width:3px;transition:stroke .15s}.tech-node:hover .tech-node-ring{stroke:#fff3d6}.tech-node.done .tech-node-ring{fill:#2f4a1f;stroke:var(--ui-ok)}.tech-node.available .tech-node-ring{stroke:var(--ui-accent)}.tech-node.available .tech-node-glow{fill:#ffc83d2e;animation:2s ease-in-out infinite tech-breathe}.tech-node.active .tech-node-ring{fill:#4a3a12;stroke:#ffe07a;stroke-width:4px}.tech-node.active .tech-node-glow{fill:#ffe07a4d;animation:1s ease-in-out infinite tech-breathe}.tech-node.focus .tech-node-ring{stroke:#fff;stroke-width:5px}.tech-node.needed .tech-node-glow{fill:none;stroke:var(--ui-accent);stroke-width:3px;stroke-dasharray:6 5;animation:none}.tech-node-lock{fill:#150d0899}.tech-node-needs circle{fill:#5a3d26;stroke:var(--ui-accent);stroke-width:2px}.tech-node-needs text{font:800 11px var(--font-body);text-anchor:middle;fill:var(--ui-text)}.tech-node-label{font:700 13px var(--font-display);text-anchor:middle;fill:var(--ui-text);paint-order:stroke;stroke:#1c120b;stroke-width:4px}.tech-node.locked .tech-node-label{fill:var(--ui-muted)}.tech-node-letter{font:700 20px var(--font-display);text-anchor:middle;fill:var(--ui-text)}@keyframes tech-breathe{50%{opacity:.35}}.tech-graph-tools{flex-direction:column;gap:6px;display:flex;position:absolute;top:10px;left:10px}.tech-graph-tools button{background:var(--wood-top);border:2px solid var(--wood-edge);width:34px;height:34px;box-shadow:0 3px 0 var(--wood-edge);border-radius:9px;font-size:18px;font-weight:800}.tech-graph-tools button:active{box-shadow:none;transform:translateY(3px)}.tech-details{background:var(--ui-bg);border:2px solid var(--wood-edge);width:270px;box-shadow:var(--lift);border-radius:12px;padding:12px 14px;animation:.14s ease-out pop-in;position:absolute;top:10px;right:10px}.tech-details.available{border-color:var(--ui-accent)}.tech-details-head{font-family:var(--font-display);justify-content:space-between;gap:8px;font-size:17px;display:flex}.tech-state{font-family:var(--font-body);color:var(--ui-muted);text-transform:uppercase;font-size:11px;font-weight:800}.tech-details.done .tech-state{color:var(--ui-ok)}.tech-branch{letter-spacing:.06em;text-transform:uppercase;color:var(--ui-accent);margin:0 0 4px;font-size:11px;font-weight:800}.tech-also{margin:3px 0 6px;font-size:12px;font-weight:700}.tech-also .ok{color:var(--ui-ok)}.tech-desc,.tech-note{color:var(--ui-muted);margin:3px 0 6px;font-size:12px}.tech-cost{margin:0 0 8px;padding:0;font-size:12px;list-style:none}.tech-cost .bar{height:5px;margin:2px 0 4px}.tech-cost .tech-from{margin:0 0 8px;font-size:11.5px;line-height:1.4}.bar{background:var(--slot-edge);border-radius:5px;height:9px;margin-top:10px;overflow:hidden;box-shadow:inset 0 1px 2px #00000080}.bar-fill{background:linear-gradient(#ffe07a,#f2b21e);border-radius:5px;height:100%;transition:width .2s}.market-table,.sale-table{border-collapse:collapse;width:100%;font-size:12px}.market-table td,.sale-table td{padding:3px 4px}.num,.sale-table .num{text-align:right;font-variant-numeric:tabular-nums}.sparkline polyline{stroke:var(--ui-accent)}.seed-list{margin:0;padding:0;list-style:none}.stock-list{gap:3px;margin:6px 0 0;padding:0;list-style:none;display:grid}.stock-list li{align-items:center;gap:7px;display:flex}.stock-list .num{margin-left:auto}.item-icon{object-fit:contain;filter:drop-shadow(0 2px #0000004d);flex:none;width:28px;height:28px}.icon-fallback{place-items:center;height:100%;font-weight:800;display:grid}.inspector{width:310px;max-height:calc(var(--ui-h,100vh) - 340px);padding:14px 16px;animation:.16s ease-out pop-in;position:relative;overflow:hidden auto}.inspector h2{font-family:var(--font-display);color:#fff3d6;text-shadow:0 2px #0000004d;margin:0 0 10px;padding-right:24px;font-size:19px;font-weight:600}.inspector h3{letter-spacing:.08em;text-transform:uppercase;color:var(--ui-accent);margin:14px 0 5px;font-size:11px;font-weight:800}.inspector dl{grid-template-columns:auto minmax(0,1fr);gap:5px 12px;margin:0;display:grid}.inspector dt{color:var(--ui-muted)}.inspector dd{min-width:0;margin:0}.inspector .close{width:26px;height:26px;color:var(--ui-muted);background:var(--slot);border:2px solid var(--slot-edge);border-radius:8px;font-size:18px;line-height:1;position:absolute;top:10px;right:10px}.inspector .close:hover{color:var(--ui-text)}.inspector select{font:inherit;color:var(--ui-text);background:var(--slot);border:2px solid var(--slot-edge);border-radius:8px;padding:3px 6px}.inspector .warning{color:#ffe0d6;background:#ff5a3629;border:1px solid #ff7b5c66;border-radius:8px;margin:10px 0 0;padding:7px 9px}.inspector .hint{color:var(--ui-muted);margin:10px 0 0}button.danger{color:#fff;background:linear-gradient(#f08a5d,#c85a35);border:2px solid #5a200c;border-radius:9px;margin-top:12px;padding:6px 14px;font-weight:800;box-shadow:0 3px #6d2a12}button.danger:active{box-shadow:none;transform:translateY(3px)}.inspector-actions{flex-wrap:wrap;gap:6px;margin:-2px 0 10px;display:flex}.inspector-actions button{min-width:58px;font:inherit;color:var(--ui-text);background:var(--slot);border:2px solid var(--slot-edge);box-shadow:none;cursor:pointer;border-radius:9px;flex:auto;margin:0;padding:6px 10px;font-weight:700}.inspector-actions button:hover:not(:disabled){border-color:#ffc83d99}.inspector-actions button:disabled{cursor:not-allowed;opacity:.45}.inspector-actions button.danger{color:#ffd9cc;background:#ff5a361f;border-color:#ff7b5c80}.inspector-actions button.danger.armed{color:#fff;background:linear-gradient(#f08a5d,#c85a35);border-color:#5a200c}@media (pointer:coarse){.inspector-actions button{min-height:40px}}button.sell{color:#173009;background:var(--ui-ok);border:0;border-radius:8px;padding:4px 11px;font-weight:800}.bonus{color:#2b1d05;background:var(--ui-accent);border-radius:5px;padding:1px 6px;font-size:11px;font-weight:800}.tool-picker,.build-drone{flex-wrap:wrap;gap:6px;margin:4px 0 8px;display:flex}.tool-picker .tool,.build-drone .tool{font:inherit;color:var(--ui-text);background:var(--slot);border:2px solid var(--slot-edge);cursor:pointer;border-radius:10px;align-items:center;gap:6px;padding:4px 10px 4px 4px;transition:transform 80ms,border-color .12s;display:flex}.tool-picker .tool:hover:not(:disabled),.build-drone .tool:hover:not(:disabled){border-color:#ffc83d99;transform:translateY(-1px)}.tool-picker .tool:active:not(:disabled),.build-drone .tool:active:not(:disabled){transform:translateY(1px)scale(.97)}.tool-picker .tool.active{border-color:var(--ui-accent);box-shadow:0 0 0 2px #ffc83d40}.build-drone .tool:disabled{cursor:not-allowed;opacity:.45}.mysteries{gap:5px;margin:0;padding:0;list-style:none;display:grid}.mystery{width:100%;font:inherit;text-align:left;color:var(--ui-text);background:var(--slot);border:2px solid var(--slot-edge);cursor:pointer;border-radius:10px;align-items:center;gap:8px;padding:5px 7px;display:flex}.mystery.active{border-color:var(--ui-accent)}.silhouette img{filter:brightness(0)drop-shadow(0 0 3px #b98cffd9)}.riddle{color:var(--ui-muted);font-size:12px;font-style:italic}.command-bar{--slot-size:clamp(40px, calc(var(--ui-w,100vw) * .034), 60px);max-width:calc(100% - 28px);padding:6px 8px 8px;position:absolute;bottom:14px;left:50%;transform:translate(-50%)}.command-scroll{scrollbar-width:none;gap:10px;display:flex;overflow-x:auto}.command-scroll::-webkit-scrollbar{display:none}.command-bar:has(.build-palette-wrap){align-items:flex-end;gap:10px;display:flex}.command-scroll-wrap{min-width:0;position:relative}.command-bar:has(.build-palette-wrap) .command-scroll-wrap{flex:auto}.scroll-nudge{z-index:1;width:34px;height:var(--slot-size);color:var(--ui-accent);cursor:pointer;background:var(--ui-bg-strong);border:2px solid var(--ui-accent-deep);box-shadow:0 0 14px 8px var(--ui-bg-strong);border-radius:10px;padding:0 0 4px;font-size:30px;font-weight:700;line-height:1;position:absolute;bottom:4px}.scroll-nudge:hover{color:var(--ui-text);border-color:var(--ui-accent)}.scroll-nudge.left{left:0}.scroll-nudge.right{right:0}.build-palette-wrap{border-left:2px solid #00000047;flex:none;padding-left:10px}.command-group{flex-direction:column;flex:none;gap:3px;display:flex}.command-group+.command-group{border-left:2px solid #00000047;padding-left:10px;box-shadow:inset 1px 0 #ffe2b41a}.command-group-label{font-family:var(--font-display);letter-spacing:.08em;text-transform:uppercase;color:var(--ui-muted);margin:0 0 0 4px;font-size:11px;font-weight:600}.command-group-items{align-items:center;gap:5px;display:flex}.command{width:var(--slot-size);height:var(--slot-size);background:radial-gradient(circle at 50% 35%, #3b2a1e, var(--slot) 70%);border:2px solid var(--slot-edge);border-radius:11px;flex:none;padding:4px;transition:transform 80ms,border-color .12s;position:relative;box-shadow:inset 0 3px 6px #00000073}.command img,.seed-option img{object-fit:contain;pointer-events:none;filter:drop-shadow(0 3px #00000059);width:100%;height:100%}.command:hover{border-color:#ffe2b473;transform:translateY(-2px)}.command:active{transform:translateY(1px)}.command.active{border-color:var(--ui-accent);box-shadow:inset 0 3px 6px #00000073,0 0 0 3px #ffc83d59}.command.unaffordable img{filter:grayscale(.9)brightness(.7)}.command .hotkey{opacity:.9;border-radius:4px;min-width:14px;height:14px;padding:0 2px;font-size:9px;position:absolute;top:2px;left:2px}.command .cost{background:#150d08d9;border-radius:5px;padding:0 4px;position:absolute;bottom:2px;right:3px}.command .kit-badge{letter-spacing:.05em;color:#173009;background:var(--ui-ok);border-radius:5px;padding:0 4px;font-size:10px;font-weight:900;position:absolute;bottom:2px;right:2px;box-shadow:0 2px #4f8a2c}.command[data-kit=true]{border-color:#97dc6eb3;animation:1.6s ease-in-out infinite kit-glow}@keyframes kit-glow{50%{box-shadow:inset 0 3px 6px #00000073,0 0 0 3px #97dc6e59}}.command.unaffordable .cost{color:var(--ui-danger)}.command .lock{filter:drop-shadow(0 1px #0009);font-size:12px;line-height:1;position:absolute;top:2px;right:2px}.hotkey{min-width:18px;height:18px;color:var(--ui-text);box-shadow:0 2px 0 var(--slot-edge);background:#4a3627;border-radius:5px;place-items:center;padding:0 3px;font-size:11px;font-weight:800;display:inline-grid}.cost{color:var(--ui-accent);align-items:center;gap:3px;font-size:11px;font-weight:800;display:inline-flex}.cost:before{content:"";background:radial-gradient(circle at 35% 35%,#fff0a8,#f2b21e 70%);border-radius:50%;width:8px;height:8px}.materials{color:#d9c3a0;font-size:11px;font-weight:800}.materials.short{color:var(--ui-danger)}.command-tip{flex-wrap:wrap;align-items:center;gap:6px;width:290px;padding:9px 11px;animation:.12s ease-out pop-in;display:flex;position:absolute;bottom:calc(100% + 10px);left:0}.command-bar:has(.touch-view) .command-tip{bottom:calc(100% + 76px)}.command-tip strong{font-family:var(--font-display);font-weight:600}.command-tip p{width:100%;color:var(--ui-muted);margin:0}.seed-picker{width:310px;max-height:calc(var(--ui-h,100vh) - 200px);flex-direction:column;gap:3px;padding:6px;animation:.14s ease-out pop-in;display:flex;position:absolute;bottom:calc(100% + 10px);left:0;overflow-y:auto}.seed-option{text-align:left;background:0 0;border:2px solid #0000;border-radius:10px;grid-template-rows:auto auto;grid-template-columns:40px 1fr;align-items:center;column-gap:9px;padding:5px 7px;display:grid}.seed-option img,.seed-option .icon-fallback{grid-row:span 2;width:40px;height:40px}.seed-option:hover{background:#ffe2b412}.seed-option.active{background:#ffc83d1f;border-color:#ffc83d8c}.seed-name{font-family:var(--font-display);font-weight:600}.seed-stats{color:var(--ui-muted);font-size:11px}.speed-controls{gap:3px;padding:5px;display:flex}.speed-sim{font-family:var(--font-display);color:#2b1d05;background:#8fe3ff;border-radius:6px;align-self:center;padding:2px 6px;font-size:11px;font-weight:700}.speed{min-width:38px;font-family:var(--font-display);background:0 0;border:2px solid #0000;border-radius:9px;padding:7px 8px;font-weight:600}.speed:hover{background:#ffe2b414}.speed.active{color:#2b1d05;background:linear-gradient(#ffd766,#f2b21e);border-color:#5c3d06;box-shadow:0 2px #7a520b}.toast{z-index:40;max-width:min(560px, calc(var(--ui-w,100vw) - 32px));color:var(--ink);text-align:center;background:var(--parchment);border:2px solid var(--wood-edge);border-radius:12px;padding:9px 16px;font-weight:700;animation:.25s cubic-bezier(.2,1.4,.4,1) toast-in;position:absolute;bottom:118px;left:50%;transform:translate(-50%);box-shadow:0 4px #160d078c,0 12px 26px #00000040}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,10px)scale(.95)}}.screen-title .toast{bottom:40px}.cursor-label{white-space:nowrap;background:var(--ui-bg-strong);border:2px solid var(--slot-edge);border-radius:8px;max-width:290px;padding:5px 9px;font-size:12px;font-weight:700;position:fixed;box-shadow:0 3px #00000059}.cursor-label.danger{border-color:#ff7b5cbf}.drag-note{color:var(--ui-ok);font-weight:600}.cursor-label.tip{white-space:normal;border-color:#ff7b5ca6;font-weight:600}.debug-overlay{pointer-events:none;border:1px solid var(--ui-border);background:#150d08eb;border-radius:8px;min-width:170px;padding:8px 10px;font:12px/1.45 ui-monospace,SFMono-Regular,Menlo,monospace;position:absolute;top:70px;left:14px}.debug-actions{flex-wrap:wrap;gap:4px;max-width:190px;margin-top:6px;display:flex}.debug-actions button,.error-panel button{pointer-events:auto;border:1px solid var(--ui-border);background:0 0;border-radius:6px;padding:3px 9px}.debug-actions button:hover{background:#ffffff14}.sim-error{color:#ffd2c9;max-width:260px;margin-top:6px}.error-panel{max-width:380px;padding:16px 18px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.error-panel button{margin-right:6px}.letter{z-index:8;box-sizing:border-box;width:min(508px, calc(var(--ui-w,100vw) - 32px));max-height:calc(var(--ui-h,100vh) - 24px);color:var(--ink);background:linear-gradient(180deg, #ffffff59, #fff0 30%), var(--parchment);border:2px solid var(--wood-edge);box-shadow:inset 0 0 0 4px var(--parchment), inset 0 0 0 5px var(--parchment-edge), 0 6px 0 #160d0780, 0 22px 50px #00000059;transform:translate(-50%, max(-60%, calc(12px - var(--ui-h,100vh) / 2)));border-radius:6px 6px 14px 14px;padding:20px 22px 18px;animation:.35s cubic-bezier(.2,1.4,.4,1) letter-in;position:fixed;top:50%;left:50%;overflow-y:auto}.letter p{margin:7px 0;font:16px/1.5 Georgia,Iowan Old Style,serif}.letter-head{font-family:var(--font-display);align-items:center;gap:10px;margin-bottom:6px;font-size:16px;font-weight:600;display:flex}.portrait{width:38px;height:38px;font-family:var(--font-display);color:var(--parchment);background:#8a5a33;border:2px solid #53331a;border-radius:50%;place-items:center;font-weight:700;display:grid}.letter .contract-action{margin-top:10px}.patch-notes{z-index:30;flex-direction:column;display:flex;overflow:hidden}.patch-notes>.text-scaled{overscroll-behavior:contain;min-height:0;overflow-y:auto}.patch-notes .contract-action{align-self:flex-start}.patch-notes h3{font-family:var(--font-display);margin:12px 0 2px;font-size:16px}.patch-notes ul{margin:4px 0;padding-left:20px;font:15px/1.45 Georgia,Iowan Old Style,serif}.patch-notes li{margin:4px 0}.patch-notes .muted{color:#7a5a3c;font-weight:400}@keyframes letter-in{0%{opacity:0;transform:translate(-50%,-50%)scale(.92)}}.tutorial{top:calc(68px + var(--titlebar-h));z-index:4;max-width:min(640px, calc(var(--ui-w,100vw) - 32px));color:var(--ink);background:var(--parchment);align-items:center;gap:10px;padding:8px 14px;animation:.2s ease-out pop-in;display:flex;position:fixed;left:50%;transform:translate(-50%)}.tutorial .muted{color:#173009;white-space:nowrap;background:var(--ui-ok);border-radius:8px;padding:1px 8px;font-size:12px;font-weight:800}.tutorial .link{color:#7a5a3a}.link{font:inherit;color:var(--ui-muted);cursor:pointer;background:0 0;border:none;text-decoration:underline}.float-layer{z-index:3;pointer-events:none;position:fixed;inset:0;overflow:hidden}.float-text{color:#ffe38a;text-shadow:0 2px #6b4a00,0 0 8px #00000073;font:700 17px/1 Fredoka Variable,system-ui,sans-serif;animation:1.2s ease-out forwards float-up;position:absolute;transform:translate(-50%,-50%)}.float-text.big{color:#fff3c4;font-size:26px}@keyframes float-up{0%{opacity:0;transform:translate(-50%,-30%)scale(.7)}15%{opacity:1;transform:translate(-50%,-80%)scale(1.1)}to{opacity:0;transform:translate(-50%,-260%)scale(1)}}.title-screen{padding:0 calc(var(--ui-w,100vw) * .06);pointer-events:auto;background:radial-gradient(at 75% 55%,#0000 35%,#0c120873 100%),linear-gradient(90deg,#180f089e 0%,#180f0840 38%,#0000 60%);grid-template-columns:minmax(300px,420px) 1fr;align-items:center;animation:.6s ease-out fade-in;display:grid;position:fixed;inset:0}.title-card{flex-direction:column;gap:18px;animation:.5s ease-out .1s both pop-in;display:flex}.logo{flex-direction:column;align-items:flex-start;display:flex}.logo-drone{filter:drop-shadow(0 4px #0000004d);width:110px;height:52px;margin:0 0 -4px 10px;animation:2.6s ease-in-out infinite hover-bob;overflow:visible}.logo-rotor rect{fill:#2b303b}.logo-rotor{transform-box:fill-box;transform-origin:50%;animation:.18s linear infinite rotor-spin}.logo-arm{fill:#3b4252}.logo-body{fill:#f2f0ea;stroke:#1c120b;stroke-width:2px}.logo-visor{fill:#3b4252}.logo-eye{fill:#54d1ff;animation:4s infinite blink}@keyframes hover-bob{50%{transform:translateY(-6px)}}@keyframes rotor-spin{50%{transform:scaleX(.2)}}@keyframes blink{0%,46%,50%,to{opacity:1}48%{opacity:.1}}.logo-word{font-family:var(--font-display);font-size:clamp(48px, calc(var(--ui-w,100vw) * .07), 84px);letter-spacing:-.01em;color:#fff6dc;text-shadow:3px 0 #2a1a0e,-3px 0 #2a1a0e,0 3px #2a1a0e,0 -3px #2a1a0e,2px 2px #2a1a0e,-2px 2px #2a1a0e,2px -2px #2a1a0e,-2px -2px #2a1a0e,0 7px #2a1a0e,0 14px 24px #00000073;margin:0;font-weight:700;line-height:.95}.logo-word span{color:var(--ui-accent)}.tagline{font-family:var(--font-display);color:#fbeccc;text-shadow:0 2px #00000073;margin:-6px 0 6px 4px;font-size:19px;font-weight:500}.title-menu{flex-direction:column;gap:10px;display:flex}.menu-button{text-align:left;width:100%;color:var(--ui-text);border:2px solid var(--wood-edge);box-shadow:inset 0 2px 0 #ffe2b438, 0 5px 0 var(--wood-edge), 0 10px 20px #00000040;background:linear-gradient(#5d4431,#45311f);border-radius:14px;flex-direction:column;align-items:flex-start;padding:11px 20px 12px;transition:transform 80ms,box-shadow 80ms,filter .12s;display:flex}.menu-button:hover{filter:brightness(1.1);transform:translateY(-1px)}.menu-button:active{box-shadow:inset 0 2px 0 #ffe2b438, 0 1px 0 var(--wood-edge);transform:translateY(4px)}.menu-label{font-family:var(--font-display);font-size:21px;font-weight:600;line-height:1.15}.menu-detail{opacity:.78;font-size:13px;font-weight:700}.menu-button.primary{color:#173009;text-shadow:0 1px #ffffff59;background:linear-gradient(#a2e070,#62ad3c);border-color:#1f3d10;box-shadow:inset 0 2px #fff6,0 5px #2b5418,0 10px 20px #00000040}.menu-button.primary:active{box-shadow:inset 0 2px #fff6,0 1px #2b5418}.menu-button.primary .menu-label{font-size:24px}.menu-button.danger{color:#fff;background:linear-gradient(#f08a5d,#c85a35);border-color:#5a200c;box-shadow:inset 0 2px #ffffff4d,0 5px #6d2a12,0 10px 20px #00000040}.menu-row{grid-template-columns:1fr 1fr;gap:10px;display:grid}.menu-row>:only-child{grid-column:1/-1}.title-footer{bottom:18px;left:calc(var(--ui-w,100vw) * .06);color:#fbeccc;text-shadow:0 1px #0009;font-size:13px;font-weight:700;position:absolute}.title-version{font-variant-numeric:tabular-nums;opacity:.75;margin-left:10px}@media (height<=520px){.title-screen{align-items:start;padding-top:12px;padding-bottom:12px;overflow-y:auto}.title-card{gap:8px}.logo-drone{display:none}.logo-word{font-size:44px}.tagline{display:none}.title-menu{gap:8px}.title-menu .menu-button{padding:7px 16px 8px}.title-footer{bottom:10px;left:auto;right:16px}}@media (width<=760px){.title-screen{background:#180f0873;grid-template-columns:1fr;justify-items:center;padding:24px 16px}.title-card{align-items:stretch;width:min(380px,100%)}.logo{align-items:center}.tagline{text-align:center}}.menu-backdrop{z-index:20;pointer-events:auto;-webkit-backdrop-filter:blur(3px)saturate(.85);backdrop-filter:blur(3px)saturate(.85);background:#140d0773;place-items:center;animation:.18s ease-out fade-in;display:grid;position:fixed;inset:0}.settings-backdrop{z-index:30}.menu-card{width:min(360px, calc(var(--ui-w,100vw) - 32px));padding:20px 20px 22px;animation:.2s ease-out pop-in}.menu-card .menu-label{font-size:18px}.menu-card .menu-button.primary .menu-label{font-size:20px}.menu-card .menu-button{padding:9px 16px 10px}.menu-title{font-family:var(--font-display);text-align:center;color:#fff3d6;text-shadow:0 3px #00000059;margin:0 0 14px;font-size:30px;font-weight:700}.settings{width:min(580px, calc(var(--ui-w,100vw) - 32px));max-height:calc(var(--ui-h,100vh) - 48px);flex-direction:column;padding:18px 20px 20px;animation:.2s ease-out pop-in;display:flex}.settings-head{justify-content:space-between;align-items:center;display:flex}.settings-head .menu-title{margin:0}.close-button{background:var(--slot);border:2px solid var(--slot-edge);width:36px;height:36px;box-shadow:0 3px 0 var(--slot-edge);border-radius:10px;font-size:16px;font-weight:800}.close-button:active{box-shadow:none;transform:translateY(3px)}.settings-tabs{background:var(--slot);border:2px solid var(--slot-edge);border-radius:12px;gap:6px;margin:14px 0 6px;padding:5px;display:flex;box-shadow:inset 0 2px 4px #00000059}.settings-tab{font-family:var(--font-display);color:var(--ui-muted);background:0 0;border:0;border-radius:8px;flex:1;padding:7px 8px;font-size:15px;font-weight:600}.settings-tab:hover{color:var(--ui-text)}.settings-tab.active{color:#2b1d05;background:linear-gradient(#ffd766,#f2b21e);box-shadow:0 2px #7a520b}.settings-body{min-height:260px;overflow-y:auto}.setting{border-bottom:1px dashed var(--ui-border);grid-template-columns:1fr auto;align-items:center;gap:16px;padding:12px 2px;display:grid}.setting:last-child{border-bottom:0}.setting-label{font-family:var(--font-display);font-size:16px;font-weight:500}.setting-hint{color:var(--ui-muted);font-size:12px}.switch{background:var(--slot-edge);border:2px solid var(--slot-edge);border-radius:16px;width:56px;height:32px;padding:0;transition:background .15s;position:relative;box-shadow:inset 0 2px 4px #00000080}.switch.on{background:#5fae3a}.switch-knob{background:linear-gradient(#fff8e6,#e8d6b0);border-radius:50%;width:24px;height:24px;transition:transform .18s cubic-bezier(.3,1.5,.5,1);position:absolute;top:2px;left:2px;box-shadow:0 2px #00000059}.switch.on .switch-knob{transform:translate(24px)}.segmented{background:var(--slot);border:2px solid var(--slot-edge);border-radius:10px;gap:3px;padding:3px;display:inline-flex}.segment{color:var(--ui-muted);background:0 0;border:0;border-radius:7px;padding:5px 11px;font-weight:800}.segment.active{color:#2b1d05;background:var(--ui-accent);box-shadow:0 2px 0 var(--ui-accent-deep)}.slider{align-items:center;gap:10px;display:flex}.slider-value{font-variant-numeric:tabular-nums;text-align:right;min-width:28px;color:var(--ui-muted)}.slider input[type=range]{appearance:none;background:var(--slot-edge);border-radius:5px;width:200px;height:10px;box-shadow:inset 0 1px 2px #0009}.slider input[type=range]::-webkit-slider-thumb{appearance:none;background:linear-gradient(#ffd766,#f2b21e);border:2px solid #5c3d06;border-radius:50%;width:22px;height:22px;box-shadow:0 2px #7a520b}.slider input[type=range]::-moz-range-thumb{background:linear-gradient(#ffd766,#f2b21e);border:2px solid #5c3d06;border-radius:50%;width:18px;height:18px}.controls-list{gap:2px;margin:6px 0 0;display:grid}.control-row{grid-template-columns:190px 1fr;align-items:center;gap:12px;padding:5px 2px;display:grid}.control-row dt,.control-row dd{margin:0}kbd{font:800 12px/1.4 var(--font-body);color:var(--ui-text);box-shadow:0 2px 0 var(--slot-edge);background:#4a3627;border-radius:6px;padding:2px 8px;display:inline-block}@media (prefers-reduced-motion:reduce){.float-text{animation-duration:.6s}.logo-drone,.logo-rotor,.logo-eye{animation:none}}.context-menu{z-index:25;width:236px;padding:6px;animation:.16s cubic-bezier(.2,1.3,.4,1) context-in;position:fixed}@keyframes context-in{0%{opacity:0;transform:scale(.82)}}.context-title{font-family:var(--font-display);color:var(--ui-accent);border-bottom:1px dashed var(--ui-border);margin-bottom:4px;padding:4px 8px 6px;font-size:15px;font-weight:600}.context-item{text-align:left;opacity:0;background:0 0;border:0;border-radius:9px;align-items:center;gap:10px;width:100%;height:40px;padding:0 8px;transition:background .1s,transform 80ms;animation:.18s ease-out forwards context-item-in;display:flex}@keyframes context-item-in{0%{opacity:0;transform:translate(-6px)}to{opacity:1;transform:none}}.context-item:hover:not(:disabled){background:#ffe2b41a;transform:translate(2px)}.context-item:active:not(:disabled){transform:scale(.98)}.context-item:disabled{opacity:.4;animation:none}.context-item.danger .context-label{color:#ffb49d}.context-item.danger:hover:not(:disabled){background:#ff7b5c2e}.context-icon{object-fit:contain;filter:drop-shadow(0 2px #00000059);flex:none;width:28px;height:28px}.context-label{font-family:var(--font-display);flex:1;font-size:15px;font-weight:500}.context-hint{max-width:96px;color:var(--ui-muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:800;overflow:hidden}@media (prefers-reduced-motion:reduce){.context-menu,.context-item{opacity:1;animation:none}}.badge.village{color:#fff3d6;background:#6b4a8a;box-shadow:0 2px #3f2a55}.village-header{border-bottom:1px dashed var(--ui-border);margin-bottom:10px;padding-bottom:8px}.village-title{font-family:var(--font-display);justify-content:space-between;font-size:16px;display:flex}.village-lv{color:#d9b8ff}.village-fill{background:linear-gradient(#d9b8ff,#8f5fc2)}.standing{margin-top:6px!important}.standing li{font-size:12px}.victory-backdrop{z-index:35;background:#140d078c}.victory-card{width:min(460px, calc(var(--ui-w,100vw) - 32px));text-align:center}.victory-card .menu-title{color:var(--ui-accent);font-size:34px}.victory-line{color:var(--ui-muted);margin:-6px 0 12px}.victory-stats{text-align:left;grid-template-columns:1fr 1fr;gap:6px 16px;margin:0 0 16px;display:grid}.victory-stats div{background:var(--slot);border-radius:8px;justify-content:space-between;padding:4px 8px;display:flex}.victory-stats dt{color:var(--ui-muted)}.victory-stats dd{margin:0;font-weight:800}.victory-lanterns{justify-content:space-between;margin:-4px 12px 10px;display:flex}.victory-lanterns span{background:radial-gradient(circle at 50% 40%,#ffe07a,#f08a24 70%);border-radius:7px 7px 5px 5px;width:14px;height:20px;animation:2.4s ease-in-out infinite lantern;box-shadow:0 0 14px #ffbe50cc}@keyframes lantern{50%{transform:translateY(-5px)rotate(4deg)}}.stats-panel{width:300px}.stat-row{margin-bottom:8px}.stat-head{color:var(--ui-muted);justify-content:space-between;font-size:12px;display:flex}.stat-head strong{color:var(--ui-accent)}.stat-spark{background:var(--slot);border-radius:8px;width:100%;height:44px}.stat-line{fill:none;stroke:var(--ui-accent);stroke-width:2px;vector-effect:non-scaling-stroke}.stat-area{fill:#ffc83d26}.top-products li{grid-template-columns:28px 100px 1fr 32px;align-items:center;gap:6px;font-size:12px;display:grid}.age-times{margin:0;padding:0;list-style:none}.age-times li{justify-content:space-between;gap:8px;font-size:12px;display:flex}.top-bar{background:var(--slot-edge);border-radius:4px;height:8px;overflow:hidden}.top-bar span{background:var(--ui-ok);height:100%;display:block}.achievements-panel{width:340px;max-height:calc(var(--ui-h,100vh) - 220px);overflow-y:auto}.trophy{background:var(--slot);border:2px solid var(--slot-edge);opacity:.75;border-radius:10px;gap:10px;padding:7px 8px;display:flex}.trophy.earned{opacity:1;border-color:#ffc83d8c}.trophy p{color:var(--ui-muted);margin:1px 0 4px;font-size:12px}.trophy .bar{height:5px;margin:0}.trophy-medal{border:2px solid var(--slot-edge);background:radial-gradient(circle at 35% 35%,#8a7a66,#4a3a2a 70%);border-radius:50%;flex:none;width:26px;height:26px;margin-top:2px}.trophy.earned .trophy-medal{background:radial-gradient(circle at 35% 35%,#fff0a8,#f2b21e 60%,#b97a0c);box-shadow:0 0 10px #ffc83d99}.drones-panel{width:340px;max-height:calc(var(--ui-h,100vh) - 220px);overflow-y:auto}.drones-panel>.text-scaled>p{margin:0 0 8px;font-size:12px}.drone-list{gap:6px;margin:0;padding:0;list-style:none;display:grid}.drone-row{background:var(--slot);border:2px solid var(--slot-edge);border-radius:10px;align-items:center;gap:9px;padding:6px 8px;display:flex}.drone-number{width:34px;height:34px;font:inherit;font-family:var(--font-display);color:var(--ui-text);cursor:pointer;border:2px solid var(--slot-edge);background:radial-gradient(circle at 50% 35%,#4a3626,#2b1e15 75%);border-radius:50%;flex:none;font-weight:600}.drone-number:hover{border-color:var(--ui-accent)}.drone-row-body{gap:3px;min-width:0;display:grid}.drone-row-tools{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:800;overflow:hidden}.drone-follow{font:inherit;color:var(--ui-text);cursor:pointer;background:var(--slot);border:2px solid var(--slot-edge);border-radius:8px;flex:none;margin-left:auto;padding:5px 9px;font-size:12px;font-weight:800}.drone-follow:hover{border-color:#ffc83d99}.drone-follow.active{color:#2b1e15;background:var(--ui-accent);border-color:var(--ui-accent)}.drone-row-blocked{color:var(--ui-danger)}.tool-picker.compact{gap:4px;margin:0}.tool-picker.compact .tool{border-radius:8px;padding:2px}.tool-picker.compact .item-icon{width:24px;height:24px}.new-game{width:min(640px, calc(var(--ui-w,100vw) - 32px))}.section-title{font-family:var(--font-display);color:var(--ui-accent);margin:10px 0 6px;font-size:16px;font-weight:600}.valleys{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.valley{text-align:left;background:var(--slot);border:2px solid var(--slot-edge);border-radius:12px;flex-direction:column;gap:4px;padding:10px;transition:transform 80ms;display:flex;box-shadow:inset 0 2px 4px #00000059}.valley span{font-size:12px}.valley strong{font-family:var(--font-display);font-size:17px}.valley:hover{transform:translateY(-2px)}.valley.active{border-color:var(--ui-accent);box-shadow:0 0 0 3px #ffc83d40}.valley-meadow strong{color:#b7e37f}.valley-highlands strong{color:#cfd6de}.valley-marsh strong{color:#7fd6c8}.seed-field{align-items:center;gap:6px;display:flex}.seed-field input{width:110px;font:inherit;color:var(--ui-text);background:var(--slot);border:2px solid var(--slot-edge);border-radius:8px;padding:6px 8px}.perks{gap:6px;margin:6px 0;padding:0;list-style:none;display:grid}.perk{background:var(--slot);border:2px solid var(--slot-edge);border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:7px 10px;display:flex}.perk strong{display:block}.perk .contract-action{grid-area:auto}.pips{gap:3px;margin-top:3px;display:flex}.pip{background:#ffffff26;border-radius:3px;width:14px;height:5px}.pip.on{background:var(--ui-accent)}.new-game-start{margin-top:10px}@media (width<=640px){.valleys{grid-template-columns:1fr}}.upgrade-row{align-items:center;gap:10px;margin:6px 0 8px;font-size:12px;display:flex}.overlay-legend{white-space:nowrap;margin:0;padding:10px 12px;font-size:12px;list-style:none;position:absolute;top:calc(100% + 8px);left:0}.overlay-legend li{align-items:center;gap:8px;padding:2px 0;display:flex}.overlay-legend .swatch{border-radius:3px;width:12px;height:12px;box-shadow:inset 0 0 0 1px #0000004d}.overlay-legend .swatch.working{background:#5ed16b}.overlay-legend .swatch.waiting{background:#f2c23a}.overlay-legend .swatch.trouble{background:#ff5a4d}.overlay-legend .swatch.powered{background:#7fd8ff}.overlay-legend .swatch.smog{background:#7a5d48}.badge.age{color:#2b1d05;background:linear-gradient(#ffe08a,#e0a81c);font-family:Georgia,serif}.tech-age{margin:2px 0 4px;font-size:13px}.age-banner{z-index:40;color:#fff6de;text-align:center;pointer-events:none;background:linear-gradient(#3a2614f0,#22160cf0);border:2px solid #e0a81c;border-radius:16px;flex-direction:column;align-items:center;gap:4px;padding:18px 42px 20px;animation:5s both age-banner;display:flex;position:fixed;top:18%;left:50%;transform:translate(-50%);box-shadow:0 0 0 4px #e0a81c40,0 18px 40px #00000073}.age-banner-kicker{letter-spacing:.3em;color:#ffd766;text-transform:uppercase;font-size:12px;font-weight:800}.age-banner-title{letter-spacing:.02em;font-family:Georgia,serif;font-size:30px}.age-banner-tagline{opacity:.85;font-size:14px}@keyframes age-banner{0%{opacity:0;transform:translate(-50%,-30px)scale(.92)}10%{opacity:1;transform:translate(-50%)scale(1.03)}16%{transform:translate(-50%)scale(1)}85%{opacity:1}to{opacity:0;transform:translate(-50%,-10px)scale(.98)}}@media (prefers-reduced-motion:reduce){.age-banner{animation:none}}.resource-bar{position:relative}.resource.more{color:var(--ui-text);background:#ffffff14;border:1px solid #ffe2b440;border-radius:8px;padding:2px 8px;font-weight:800}.stock-popout{z-index:5;max-height:calc(var(--ui-h,100vh) * .5);grid-template-columns:repeat(3,minmax(120px,1fr));gap:2px 10px;margin:0;padding:10px 12px;font-size:12px;list-style:none;display:grid;position:absolute;top:calc(100% + 6px);right:0;overflow-y:auto}.stock-popout[hidden]{display:none}.stock-popout li{white-space:nowrap;align-items:center;gap:6px;display:flex}.stock-popout img{width:20px;height:20px}.stock-popout .stock-name{flex:1}.overlay-icon{grid-template-columns:7px 7px;gap:2px;display:grid}.overlay-icon span{border-radius:2px;width:7px;height:7px}.overlay-icon span:first-child{background:#5ed16b}.overlay-icon span:nth-child(2){background:#f2c23a}.overlay-icon span:nth-child(3){background:#ff5a4d}.overlay-icon span:nth-child(4){background:#7fd8ff}.icon-button.active{border-color:var(--ui-accent)}.item-picker{grid-template-columns:repeat(auto-fill,minmax(38px,1fr));gap:5px;margin:4px 0 8px;display:grid;position:relative}.item-picker .pick{background:radial-gradient(circle at 50% 35%, #3b2a1e, var(--slot) 70%);border:2px solid var(--slot-edge);border-radius:9px;place-items:center;height:38px;padding:3px;transition:transform 80ms,border-color .12s;display:grid;box-shadow:inset 0 2px 4px #0006}.item-picker .pick:hover{border-color:#ffe2b480;transform:translateY(-1px)}.item-picker .pick.active{border-color:var(--ui-accent);box-shadow:inset 0 2px 4px #0006,0 0 0 2px #ffc83d59}.item-picker .pick img{object-fit:contain;pointer-events:none;filter:drop-shadow(0 2px #00000059);width:100%;height:100%}.item-picker .pick.any{color:var(--ui-text);grid-column:span 2;grid-auto-flow:column;gap:6px;font-size:11px;font-weight:800}.item-picker .pick-any-mark{font-size:18px;line-height:1}.item-picker .pick-label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.item-picker .pick-tip{z-index:2;max-width:100%;color:var(--ui-text);text-overflow:ellipsis;white-space:nowrap;pointer-events:none;background:var(--slot);border:2px solid var(--ui-accent);border-radius:8px;padding:4px 9px;font-size:12px;font-weight:800;animation:.1s ease-out fade-in;position:absolute;overflow:hidden;transform:translateY(-100%);box-shadow:0 4px 10px #00000073}.item-picker .pick-tip.below{transform:none}.touch-view,.touch-bar{pointer-events:auto;align-items:center;gap:6px;padding:5px;display:flex;position:absolute;bottom:calc(100% + 10px)}.touch-view{left:0}.touch-bar{max-width:calc(100% - 120px);animation:.12s ease-out pop-in;right:0}.touch-hint{color:var(--ui-muted);text-overflow:ellipsis;white-space:nowrap;padding:0 6px 0 8px;font-size:13px;overflow:hidden}.touch-button{background:var(--slot);border:2px solid var(--slot-edge);border-radius:11px;flex:none;place-items:center;width:44px;height:44px;padding:0;font-size:22px;line-height:1;display:grid}.touch-button:active{transform:translateY(1px)scale(.96)}.touch-hint.warn{color:var(--ui-accent);white-space:normal}.touch-hint.problem{color:var(--ui-danger);white-space:normal}.touch-button:disabled{opacity:.4;box-shadow:none}.touch-button.primary{color:#2b2012;background:var(--ui-accent);border-color:var(--ui-accent);box-shadow:0 0 14px #ffc83d8c}.compact .top-left{top:8px;left:8px}.compact .top-right{top:8px;right:8px}.compact .tutorial{top:58px}.compact .command-bar{box-sizing:border-box;max-width:calc(100% - 12px);bottom:6px}.compact .weather .season,.compact .weather .weather-effects{display:none}.compact .inspector{z-index:6;max-height:calc(var(--ui-h,100vh) - 66px - 190px);position:absolute;top:66px;right:0}.compact .contracts-panel{max-height:calc(var(--ui-h,100vh) - 200px)}.compact .tech-panel{inset:58px 8px 150px}.compact .toast{bottom:150px}.top-left:has(.tech-panel,.contracts-panel){z-index:7}.phone-top{z-index:6;flex-direction:column;align-items:flex-end;gap:8px;display:flex;position:absolute;top:8px;left:8px;right:8px}.phone-row-wrap{z-index:2;align-self:stretch;position:relative}.phone-row{align-items:stretch;gap:6px;display:flex}.phone-row-wrap .contracts{position:static}.phone-row .contracts-toggle{gap:5px;padding:4px 10px}.phone-row .contracts-toggle .badge.active{border-radius:50%;width:10px;height:10px;padding:0;font-size:0;overflow:hidden}.phone-row .badge.story{display:none}.phone-row .speed-menu-wrap{margin-left:auto}.speed-menu-wrap{position:relative}.speed-menu{min-width:64px;height:100%;min-height:44px;font-family:var(--font-display);color:var(--ui-text);align-items:center;gap:5px;padding:4px 10px;font-size:16px;font-weight:600;display:flex}.speed-menu.paused{color:var(--ui-accent)}.speed-menu .caret{color:var(--ui-muted);font-size:11px}.speed-drop{z-index:4;flex-direction:column;gap:3px;padding:5px;animation:.12s ease-out pop-in;display:flex;position:absolute;top:calc(100% + 8px);right:0}.speed-drop .speed{min-width:64px;min-height:42px}.phone .contracts-panel{width:auto;max-height:calc(var(--ui-h,100vh) - 60px - 100px);top:calc(100% + 8px);left:0;right:0}.phone .tech-panel{inset:calc(8px + var(--inset-top)) calc(8px + env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) calc(8px + env(safe-area-inset-left,0px));z-index:20}.phone .tech-panel-head{flex-wrap:wrap;gap:4px 12px}.phone .tech-panel-head .hint{flex-basis:100%;order:3}.phone-row .weather{padding:4px 8px}.phone-row .weather-symbol{font-size:22px}.phone-row .weather{cursor:pointer;position:relative}.phone-row .weather>.weather-detail{display:none}.phone-row .weather.open>.weather-detail{z-index:4;width:max-content;max-width:calc(var(--ui-w,100vw) - 24px);background:var(--ui-bg);border:2px solid var(--wood-edge);border-radius:12px;padding:10px 12px;animation:.12s ease-out pop-in;display:block;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 8px 20px #00000059}.phone-row .weather.open .weather-effects,.phone-row .weather.open .season{display:block}.phone-status{align-items:stretch;gap:6px;max-width:100%;display:flex;position:relative}.phone-status .coin-pill-wrap{z-index:auto}.phone-status .overlay-legend{position:absolute;top:calc(100% + 8px);left:auto;right:0}.phone .inspector.sheet{top:auto;right:8px;bottom:var(--sheet-bottom);z-index:7;width:auto;max-width:none;max-height:calc((var(--ui-h,100vh) - var(--sheet-bottom)) * .5);flex-direction:column;padding-top:24px;display:flex;position:absolute;left:8px;overflow:hidden}.phone .inspector.sheet.tall-sheet{max-height:calc(var(--ui-h,100vh) - var(--sheet-bottom) - 70px)}.phone .inspector.sheet>.text-scaled{overscroll-behavior:contain;min-height:0;overflow-y:auto}.phone:not(.tall) .inspector.sheet{width:380px;max-height:none;padding-top:14px;top:70px;right:auto}.phone:not(.tall) .sheet-handle{display:none}.sheet-handle{touch-action:none;background:0 0;border:0;width:140px;height:24px;padding:0;position:absolute;top:0;left:50%;transform:translate(-50%)}.sheet-grip{background:var(--ui-muted);opacity:.7;border-radius:3px;width:46px;height:5px;margin:0 auto;display:block}.phone .inspector .close{width:var(--tap,44px);height:var(--tap,44px);font-size:26px;top:6px;right:6px}.phone .inspector h2{padding-right:var(--tap,44px)}.phone .inspector.sheet .close{z-index:2}.phone .inspector.sheet h2{z-index:1;background:var(--wood-top);min-height:30px;margin-bottom:4px;padding-bottom:6px;position:sticky;top:0}.phone .touch-button{width:var(--tap,44px);height:var(--tap,44px);font-size:26px}.phone .tutorial .link{min-width:var(--tap,44px);min-height:var(--tap,44px)}.phone{--sheet-bottom:166px}.phone .tutorial{top:auto;bottom:var(--sheet-bottom);width:calc(var(--ui-w,100vw) - 16px);max-width:none}.phone .toast{bottom:var(--sheet-bottom)}.phone:not(.tall) .tutorial{width:min(440px, calc(var(--ui-w,100vw) * .42));top:66px;bottom:auto;left:8px;transform:none}.more-wrap{position:relative}.more-menu{z-index:4;flex-direction:column;min-width:190px;padding:6px;animation:.12s ease-out pop-in;display:flex;position:absolute;top:calc(100% + 8px);right:0}.more-menu button{min-height:44px;color:var(--ui-text);text-align:left;background:0 0;border:0;border-radius:9px;justify-content:space-between;align-items:center;gap:8px;padding:6px 12px;font-weight:700;display:flex}.more-menu button:active{background:var(--slot)}.bottom-nav-wrap{z-index:5;position:absolute;bottom:6px;left:8px;right:8px}.bottom-nav-wrap:has(.nav-sheet,.seed-picker){z-index:7}.bottom-nav{grid-template-columns:repeat(5,1fr);gap:4px;padding:5px;display:grid}.nav-tab{font-family:var(--font-display);background:0 0;border:2px solid #0000;border-radius:11px;flex-direction:column;align-items:center;gap:2px;padding:4px 2px 3px;font-size:13px;font-weight:600;display:flex;position:relative}.nav-tab img,.nav-tab .icon-fallback{width:30px;height:30px}.nav-tab.lit{color:var(--ui-text);border-color:var(--ui-accent)}.nav-tab.open{color:var(--ui-text);background:var(--slot)}.tab-badge{color:#173009;background:var(--ui-ok);border-radius:5px;padding:0 4px;font-size:9px;font-weight:800;position:absolute;top:1px;right:6px}.nav-sheet{z-index:2;max-height:calc(var(--ui-h,100vh) * .62);flex-direction:column;padding:10px 10px 6px;animation:.14s ease-out pop-in;display:flex;position:absolute;bottom:calc(100% + 8px);left:0;right:0}.sheet-head{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:8px;display:flex}.sheet-head h2{font-family:var(--font-display);color:#fff3d6;margin:0 auto 0 2px;font-size:19px;font-weight:600}.sheet-chips{gap:5px;display:flex}.sheet-chip{min-height:34px;color:var(--ui-text);background:var(--slot);border:2px solid var(--slot-edge);border-radius:999px;padding:3px 10px;font-weight:700}.sheet-list{overscroll-behavior:contain;flex-direction:column;gap:5px;display:flex;overflow-y:auto}.sheet-list h3{letter-spacing:.08em;text-transform:uppercase;color:var(--ui-accent);margin:8px 2px 2px;font-size:11px;font-weight:800}.sheet-list>.text-scaled,.sheet-list section{flex-direction:column;gap:5px;display:flex}.sheet-item{text-align:left;background:var(--slot);border:2px solid var(--slot-edge);border-radius:11px;align-items:center;gap:10px;width:100%;padding:6px 8px;display:flex}.sheet-item.active{border-color:var(--ui-accent)}.sheet-grid{grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:6px;display:grid}.sheet-item.sheet-tile{text-align:center;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;flex-direction:column;align-items:center;gap:4px;padding:8px 4px 6px}.sheet-tile .sheet-text{align-items:center}.sheet-tile .sheet-text strong{font-size:13px;line-height:1.15}.sheet-tile .sheet-meta{font-size:11px}.sheet-tile[aria-disabled=true]{opacity:.6}.sheet-detail{background:var(--slot);border:2px solid var(--ui-accent);border-radius:11px;flex-direction:column;gap:4px;margin-bottom:8px;padding:10px 52px 10px 12px;display:flex;position:relative}.sheet-detail .close-button{position:absolute;top:6px;right:6px}.sheet-item.unaffordable .sheet-icon{opacity:.45}.sheet-icon img,.sheet-icon .icon-fallback{width:40px;height:40px;display:block}.sheet-text{flex-direction:column;flex:1;min-width:0;display:flex}.sheet-text strong{font-family:var(--font-display);color:var(--ui-text);font-weight:600}.sheet-meta{color:var(--ui-accent);font-size:12px;font-weight:700}.sheet-meta.short{color:var(--ui-danger)}.sheet-desc{color:var(--ui-muted);font-size:12px}.bottom-nav-wrap .seed-picker{width:auto;max-height:calc(var(--ui-h,100vh) * .6);right:0}.coin-pill-wrap{z-index:7;position:relative}.coin-pill-wrap.lowered{margin-top:52px}.coin-pill{font-variant-numeric:tabular-nums;height:100%;min-height:44px;color:var(--ui-text);align-items:center;gap:8px;padding:4px 10px;font-size:15px;display:flex}.coin-pill .permits{color:var(--ui-muted);font-size:13px}.coin-pill .permits.full{color:var(--ui-danger)}.coin-pill .caret{color:var(--ui-muted);font-size:11px}.stock-drawer{z-index:4;width:min(300px, calc(var(--ui-w,100vw) - 16px));max-height:calc(var(--ui-h,100vh) * .6);padding:10px 12px;animation:.12s ease-out pop-in;position:absolute;top:calc(100% + 8px);right:0;overflow-y:auto}.stock-drawer p{margin:0 0 8px;font-size:12px}.stock-drawer ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;margin:0;padding:0;list-style:none;display:grid}.stock-drawer li{white-space:nowrap;align-items:center;gap:6px;min-width:0;font-size:13px;display:flex}.stock-drawer img,.stock-drawer .icon-fallback{width:20px;height:20px}.stock-drawer .stock-name{text-overflow:ellipsis;flex:1;overflow:hidden}.stock-drawer .num{font-variant-numeric:tabular-nums;color:var(--ui-text)}.factory-list{flex-direction:column;gap:5px;display:flex}.factory-row{align-items:stretch;gap:5px;display:flex}.factory-row>.sheet-item{flex:1;min-width:0}.factory-row-actions{flex-direction:column;gap:4px;display:flex}.factory-row-actions button{min-width:64px;color:var(--ui-text);background:var(--slot);border:2px solid var(--slot-edge);border-radius:9px;flex:1;padding:2px 8px;font-weight:700}.factory-row-actions button.danger{color:#fff;background:var(--ui-danger)}.factory-locked{margin:4px 2px}.factory-popover{z-index:3;width:min(380px, calc(var(--ui-w,100vw) - 32px));max-height:calc(var(--ui-h,100vh) * .6);flex-direction:column;padding:10px;animation:.14s ease-out pop-in;display:flex;position:absolute;bottom:calc(100% + 10px);left:50%;overflow-y:auto;transform:translate(-50%)}.builder-bar{width:min(420px, calc(var(--ui-w,100vw) - 28px));flex-direction:column;padding:10px 12px;display:flex}.builder-row{align-items:center;gap:10px;display:flex}.builder-title{font-family:var(--font-display);color:#fff3d6;white-space:nowrap;font-size:17px}.builder-name{min-width:0;min-height:34px;font:inherit;color:var(--ui-text);background:var(--slot);border:2px solid var(--slot-edge);border-radius:9px;flex:1;padding:4px 8px;font-weight:700}.builder-status,.builder-problem{margin:6px 0 0;font-size:12px}.builder-status{color:var(--ui-muted)}.builder-problem{color:var(--ui-danger);font-weight:700}.builder-actions{justify-content:flex-end;gap:8px;margin-top:8px;display:flex}.builder-actions button{min-height:38px;color:var(--ui-text);background:var(--slot);border:2px solid var(--slot-edge);border-radius:10px;padding:4px 14px;font-weight:800}.builder-actions button.primary{color:#173009;background:var(--ui-ok)}.builder-actions button:disabled{opacity:.5}.phone-top .builder-bar{width:auto}.inside-panel{width:min(360px, calc(var(--ui-w,100vw) - 28px));max-height:calc(var(--ui-h,100vh) * .6);flex-direction:column;padding:10px 12px;display:flex;overflow-y:auto}.phone-top .inside-panel{width:auto;max-height:calc(var(--ui-h,100vh) * .42)}.inside-panel h3{letter-spacing:.08em;text-transform:uppercase;color:var(--ui-accent);margin:8px 0 2px;font-size:11px;font-weight:800}.inside-buffer{margin:0;font-size:12px}.inside-machines{flex-direction:column;gap:6px;margin:0;padding:0;font-size:12px;list-style:none;display:flex}.inside-machines li{flex-direction:column;gap:2px;display:flex}.inside-machine-name{font-weight:700}.freight-routes{flex-direction:column;gap:8px;margin:6px 0;padding:0;list-style:none;display:flex}.freight-routes li{background:var(--slot);border:2px solid var(--slot-edge);border-radius:10px;flex-direction:column;gap:4px;padding:6px;display:flex}.route-ends{flex-direction:column;gap:4px;display:flex}.route-settings{flex-wrap:wrap;align-items:flex-start;gap:6px;display:flex}.route-settings>.dropdown{flex:140px}.route-settings>.route-remove{flex:none}.route-ends button{text-align:left;text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.route-settings>*{flex:1;min-width:0}.dropdown{min-width:0;position:relative}.dropdown-button{width:100%;min-height:34px;font:inherit;color:var(--ui-text);text-align:left;background:var(--slot);border:2px solid var(--slot-edge);cursor:pointer;border-radius:9px;align-items:center;gap:6px;padding:4px 10px;font-weight:700;display:flex}.dropdown-button[aria-expanded=true]{border-color:var(--ui-accent)}.dropdown-label{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.dropdown-caret{color:var(--ui-accent)}.dropdown-list{max-height:240px;box-shadow:none;flex-direction:column;gap:2px;margin:4px 0 0;padding:4px;list-style:none;animation:.12s ease-out pop-in;display:flex;overflow-y:auto}.dropdown-option{white-space:normal;overflow-wrap:anywhere;width:100%;font:inherit;color:var(--ui-text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;padding:6px 8px}.dropdown-option:hover:not(:disabled),.dropdown-option.active{background:var(--slot)}.dropdown-option.active{color:var(--ui-accent);font-weight:800}.dropdown-option:disabled{cursor:not-allowed;opacity:.45}.panel-buttons{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.panel-buttons button,.route-ends>button,.route-settings>button,.freight-routes>li>button{min-height:34px;font:inherit;color:var(--ui-text);background:var(--slot);border:2px solid var(--slot-edge);cursor:pointer;border-radius:9px;flex:auto;padding:4px 10px;font-weight:700}.freight-routes li{background:#0000001f}.panel-buttons button:hover,.route-ends>button:hover,.route-settings>button:hover,.freight-routes>li>button:hover{border-color:#ffc83d99}.goal-dock{top:calc(68px + var(--titlebar-h));z-index:3;position:fixed;left:50%;transform:translate(-50%)}.goal-chip{min-width:0;max-width:340px;min-height:44px;color:var(--ui-text);text-align:left;flex-direction:column;gap:4px;padding:5px 12px 6px;display:flex}.goal-label{white-space:nowrap;align-items:baseline;gap:6px;min-width:0;font-size:13px;display:flex;overflow:hidden}.goal-label strong{font-family:var(--font-display);color:var(--ui-accent);font-weight:600}.goal-detail{color:var(--ui-muted);text-overflow:ellipsis;overflow:hidden}.goal-bar{background:var(--slot);border-radius:3px;height:5px;display:block;overflow:hidden}.goal-fill{background:var(--ui-ok);height:100%;display:block}.phone .phone-status{justify-content:flex-end;align-self:stretch}.phone .phone-status .goal-chip{flex:0 auto;margin-right:auto}.research-supply{margin:6px 0 0;padding:0;font-size:12px;list-style:none}.research-supply li{padding:2px 0}.research-supply .fetching{color:var(--ui-ok)}.research-supply .stuck{color:var(--ui-danger)}.hud-layer{display:contents}.demo-bar{box-sizing:border-box;z-index:1;color:var(--ink);background:var(--parchment);border:2px solid var(--wood-edge);border-radius:var(--ui-radius);box-shadow:var(--press), 0 10px 30px #00000059;padding:12px 16px 10px;animation:.4s ease-out both pop-in;position:relative}.top-right .demo-bar{width:346px}.demo-on .top-right .weather,.demo-on .top-right .speed-controls{display:none}.demo-on .hud-layer *{pointer-events:none!important}.demo-on .hud-layer .demo-bar,.demo-on .hud-layer .demo-bar *{pointer-events:auto!important}.demo-progress{gap:5px;margin-bottom:8px;display:flex}.demo-dot{background:var(--parchment-edge);border-radius:3px;flex:1;height:5px}.demo-dot.done{background:var(--ui-accent-deep)}.demo-title{font:700 calc(19px * var(--text-scale,1)) / 1.2 var(--font-display);margin:0 0 4px}.demo-fast{color:var(--ui-accent-deep);font-size:.7em;animation:1s steps(2,end) infinite blink}.demo-text{font-size:calc(15px * var(--text-scale,1));margin:0 0 10px;line-height:1.4}.demo-actions{justify-content:flex-end;gap:10px;display:flex}.demo-button{min-height:var(--tap,36px);color:var(--ink);background:var(--parchment);border:2px solid var(--parchment-edge);cursor:pointer;border-radius:9px;padding:6px 16px;font-weight:800}.demo-button.primary{color:#2b1d05;background:linear-gradient(#ffd766,#f2b21e);border-color:#5c3d06;box-shadow:0 3px #8a5c0a}.demo-button:active{transform:translateY(2px)}.demo-ring{z-index:1000;pointer-events:none;border:3px solid var(--ui-accent);border-radius:12px;animation:1.1s ease-in-out infinite demo-pulse;position:fixed;box-shadow:0 0 0 4px #ffc83d59,0 0 18px #ffc83dcc}@keyframes demo-pulse{50%{opacity:.7;transform:scale(1.06)}}.phone-top .demo-bar{width:100%;padding:8px 10px}.phone-top .demo-title{font-size:calc(16px * var(--text-scale,1))}.phone-top .demo-text{font-size:calc(13px * var(--text-scale,1));margin-bottom:6px}.phone:not(.tall) .phone-top .demo-bar{width:min(440px,55%)}.demo-on.phone.tall .inspector.sheet{max-height:calc((var(--ui-h,100vh) - var(--sheet-bottom)) * .4)}.demo-on:not(.phone) .tech-panel{right:376px}.demo-on.phone .tech-panel{top:calc(var(--demo-bottom,0px) + 8px)}.demo-clip{z-index:3;background:#140d0780;place-items:center;padding:16px;animation:.3s ease-out fade-in;display:grid;position:fixed;inset:0}.demo-clip .clip{background:var(--ui-bg-strong);border-radius:16px;width:min(680px,100%);padding:10px;box-shadow:0 12px 40px #00000080}.demo-clip .clip-caption{color:var(--ui-accent);font-size:calc(16px * var(--text-scale,1));text-align:center}.ui-scale:not(.phone) .demo-clip{padding:90px 390px 100px 16px}.phone.tall .demo-clip{padding:calc(var(--demo-bottom,0px) + 12px) 12px 110px}.demo-on .touch-view{display:none}@media (prefers-reduced-motion:reduce){.demo-ring,.demo-fast{animation:none}}.clip{margin:0}.clip-stage{aspect-ratio:16/9;border:2px solid var(--wood-edge);background:radial-gradient(circle at 30% 20%,#ffffff1f,#0000 60%),linear-gradient(#7fbf4d,#6aa83f);border-radius:12px;position:relative;overflow:hidden;container-type:inline-size}.clip-stage>*{position:absolute}.clip-icon{image-rendering:auto;pointer-events:none;filter:drop-shadow(0 1px 1px #00000059);height:auto}.clip-icon-missing{background:#0003;border-radius:4px}.clip-belt{background:#2b3140;border:1px solid #151922;border-radius:2px;overflow:hidden}.clip-chevron{font:800 2.6cqw/1 var(--font-body);color:#f5c542;opacity:.45;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.clip-belt.on .clip-chevron{opacity:1}.clip-tile{border-radius:2px}.clip-tile.zone{background:#ffeb9659;outline:1px dashed #fff5c8e6}.clip-tile.soil{background:#7a5233}.clip-tile.sown{background:#6b472b;box-shadow:inset 0 0 0 1px #0003}.clip-ghost{border:2px dashed #ffffffd9;border-radius:4px}.clip-bar{background:#00000059;border-radius:3px;overflow:hidden}.clip-bar-fill{background:var(--ui-accent);position:absolute;inset:0 auto 0 0}.clip-no{font:900 4.5cqw/1 var(--font-body);color:var(--ui-danger);text-shadow:0 1px #00000080}.clip-coin{font:800 3.4cqw/1 var(--font-body);color:#ffe27a;text-shadow:0 1px 1px #0009}.clip-bubble{font:800 2.9cqw/1.2 var(--font-body);color:var(--ink);white-space:nowrap;background:var(--parchment);border:1px solid var(--wood-edge);border-radius:2cqw;padding:.6cqw 1.6cqw}.clip-label{font:700 2.8cqw/1.2 var(--font-body);color:#fff;white-space:nowrap;text-shadow:0 1px 2px #000000b3}.clip-panel{background:#2b1e14f0;border:1px solid #1b120b;border-radius:1.6cqw;box-shadow:0 1cqw 2cqw #00000059}.clip-panel-title{font:800 3cqw/1.1 var(--font-display);color:#fff3d6;white-space:nowrap;position:absolute;top:1.2cqw;left:2cqw}.clip-button{font:800 2.4cqw/1 var(--font-body);color:#f3e6cc;white-space:nowrap;background:#3a2a1c;border:1px solid #120c07;border-radius:1.2cqw;place-items:center;display:grid}.clip-button.on{color:#2b1d05;background:linear-gradient(#ffd766,#f2b21e);border-color:#5c3d06}.clip-cursor{z-index:2;pointer-events:none;width:3.4cqw}.clip-cursor-arrow{fill:#fff;stroke:#1a1a1a;stroke-width:1px;filter:drop-shadow(0 1px 1px #00000080);width:100%;display:block}.clip-click{border:.6cqw solid #ffd766;border-radius:50%;width:7cqw;height:7cqw;position:absolute;top:0;left:0}.clip-caption{min-height:2.6em;margin-top:6px;font-weight:700;line-height:1.35}.guide-backdrop{z-index:35}.guide-card{width:min(760px, calc(var(--ui-w,100vw) - 24px));max-height:calc(var(--ui-h,100vh) - 24px);flex-direction:column;padding:14px 18px 18px;animation:.2s ease-out pop-in;display:flex;overflow:auto}.guide-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.guide-head .menu-title{text-align:left;margin:0}.guide-close{min-width:var(--tap,36px);min-height:var(--tap,36px);color:var(--ui-text);background:var(--slot);border:2px solid var(--slot-edge);border-radius:10px;font-size:18px;font-weight:800}.guide-topic-title{font:800 15px/1.2 var(--font-display);color:var(--ui-accent);letter-spacing:.03em;text-transform:uppercase;margin:16px 0 0}.guide-list{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;margin:8px 0 0;padding:0;list-style:none;display:grid}.guide-item{width:100%;color:var(--ui-text);text-align:left;background:var(--slot);border:2px solid var(--slot-edge);cursor:pointer;border-radius:12px;flex-direction:column;gap:6px;padding:6px;display:flex}.guide-item:hover{border-color:var(--ui-accent)}.guide-item-title{font-weight:800}.guide-one{margin-top:12px}.guide-one .clip-caption{color:var(--ui-accent)}.guide-text{color:var(--ui-text);margin:8px 0 12px}.guide-nav{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.phone .guide-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tutorial{flex-wrap:wrap}.tutorial-clip{flex-basis:100%;max-width:420px;margin:2px auto 0}.tech-clip{margin:8px 0}.tech-clip .clip-caption{font-size:12px}.keep-row{justify-content:space-between;align-items:center;gap:8px;margin:4px 0;font-size:12px;display:flex}.goal-dock{flex-direction:column;align-items:center;gap:6px;display:flex}.storage-alert{max-width:min(520px,100vw - 24px);color:var(--ui-text);border-left:4px solid var(--ui-accent);flex-wrap:wrap;align-items:center;gap:4px 10px;padding:6px 10px;font-size:12px;display:flex}.storage-alert.full{border-left-color:var(--ui-danger)}.storage-alert-text{flex:200px}.storage-alert-actions{flex-wrap:wrap;gap:6px;display:flex}.storage-alert-actions button{min-height:32px;font:inherit;color:var(--ui-text);cursor:pointer;border:1px solid var(--ui-border);background:#ffe2b414;border-radius:8px;padding:2px 10px}.storage-alert-actions .storage-alert-close{padding:2px 8px}.logistics-panel .storage-alert{border:1px solid var(--ui-border);border-left:4px solid var(--ui-accent);background:#ffe2b40f;border-radius:10px;margin:0 0 8px;padding:8px 10px}.logistics-panel .storage-alert.full{border-left-color:var(--ui-danger)}.storage-button{position:relative}.storage-button.icon-only{justify-content:center;min-width:44px;padding:4px 8px}.storage-chest{object-fit:contain;width:28px;height:28px;margin:-4px 0}.storage-dot{min-width:16px;height:16px;font-family:var(--font-body);color:#2b1d05;background:var(--ui-accent);border-radius:8px;place-items:center;padding:0 4px;font-size:11px;font-weight:900;line-height:1;display:grid;position:absolute;top:-5px;right:-5px;box-shadow:0 1px #00000059}.storage-dot.full{color:#fff;background:var(--ui-danger)}.logistics-panel{width:320px}.logi-search{box-sizing:border-box;width:100%;min-height:36px;font:inherit;color:var(--ui-text);border:1px solid var(--ui-border);background:#00000040;border-radius:8px;margin:4px 0 8px;padding:4px 10px}.logi-list{margin:0;padding:0;list-style:none}.logi-item{border-bottom:1px solid var(--ui-border);padding:6px 0}.logi-item.waiting{border-left:3px solid var(--ui-danger);padding-left:6px}.logi-item .hint{margin:2px 0}.logi-head{align-items:center;gap:8px;display:flex}.logi-head strong{flex:1}.logi-places{flex-wrap:wrap;gap:4px;margin-top:4px;display:flex}.logi-places button{min-height:30px;font:inherit;color:var(--ui-text);cursor:pointer;border:1px solid var(--ui-border);background:#ffe2b414;border-radius:8px;padding:2px 8px;font-size:11px}.mark-counter{flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 10px;margin:0 auto 6px;padding:4px 10px;font-size:12px;display:flex}.mark-counter button{min-height:30px;font:inherit;color:var(--ui-text);cursor:pointer;border:1px solid var(--ui-border);background:#ffe2b414;border-radius:8px;padding:2px 10px}.touch-bar.stepping{flex-wrap:wrap;justify-content:flex-end}.touch-bar.stepping .touch-hint{white-space:normal;flex:100%}.touch-steps{gap:6px;margin-right:auto;display:flex}.trader-list{margin:4px 0;padding:0;list-style:none}.trader-list li{flex-wrap:wrap;align-items:center;gap:4px 10px;padding:3px 0;display:flex}.trader-list li>span:first-child{flex:1}.trader-list .contract-action{grid-area:auto}.build-categories{grid-template-columns:auto auto;gap:3px;display:grid}.build-category{height:calc((var(--slot-size) - 3px) / 2);font-family:var(--font-display);color:var(--ui-text);cursor:pointer;background:radial-gradient(circle at 50% 35%, #3b2a1e, var(--slot) 70%);border:2px solid var(--slot-edge);border-radius:8px;flex:none;justify-content:space-between;align-items:center;gap:6px;padding:0 8px;font-size:12px;font-weight:600;display:inline-flex}.build-category.active,.build-category:hover{border-color:var(--ui-accent)}.build-count{color:var(--ui-muted);background:#0000004d;border-radius:8px;padding:0 6px;font-size:11px}.build-palette{z-index:3;width:min(760px, calc(var(--ui-w,100vw) - 32px));max-height:calc(var(--ui-h,100vh) * .55);flex-direction:column;gap:8px;padding:10px;animation:.14s ease-out pop-in;display:flex;position:absolute;bottom:calc(100% + 10px);left:50%;transform:translate(-50%)}.build-palette-head{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.build-tabs{gap:4px;display:flex}.build-tabs button{font:inherit;color:var(--ui-muted);cursor:pointer;background:0 0;border:2px solid #0000;border-radius:9px;padding:6px 12px;font-weight:700}.build-tabs button.active{color:var(--ui-text);border-color:var(--ui-accent)}.build-search{min-height:34px;font:inherit;color:var(--ui-text);border:1px solid var(--ui-border);background:#00000040;border-radius:8px;flex:200px;padding:4px 10px}.build-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:6px;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.build-tile{width:100%;font:inherit;color:var(--ui-text);text-align:left;cursor:pointer;background:var(--slot);border:2px solid var(--slot-edge);border-radius:10px;grid-template-rows:auto auto;grid-template-columns:40px minmax(0,1fr);align-items:center;column-gap:8px;padding:6px 8px;display:grid}.build-tile:hover:not(:disabled),.build-tile.active{border-color:var(--ui-accent)}.build-tile:disabled{cursor:not-allowed;opacity:.55}.build-tile.unaffordable .build-icon img{filter:grayscale(.7)}.build-tile.kit{border-color:var(--ui-ok)}.build-icon{grid-row:span 2;width:40px;height:40px}.build-icon img{width:100%;height:100%}.build-name{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:700;overflow:hidden}.build-name .hotkey{color:var(--ui-muted);margin-left:6px;font-size:10px}.build-price{color:var(--ui-muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.build-price.short{color:var(--ui-danger)}.command-bar>.mark-counter{white-space:nowrap;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%)}.map-panel{z-index:28;border-radius:0;grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr);padding:0;display:grid;position:fixed;inset:0}.phone .map-panel{padding-top:env(safe-area-inset-top,0);padding-bottom:env(safe-area-inset-bottom,0)}.map-top{border-bottom:2px solid var(--wood-edge);flex-wrap:wrap;align-items:center;gap:8px 12px;padding:8px 12px;display:flex}.map-top h2{font-family:var(--font-display);margin:0;font-size:20px;font-weight:600}.map-top .close-button{margin-left:4px}.map-layers{flex-wrap:wrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex}.phone .map-layers{flex-wrap:nowrap;flex-basis:100%;order:3;overflow-x:auto}.map-layer,.map-zoom button{min-height:34px;font:inherit;color:var(--ui-muted);cursor:pointer;border:1px solid var(--ui-border);background:#ffe2b40f;border-radius:17px;flex:none;padding:2px 12px}.map-layer.on{color:#2b1d05;background:var(--ui-accent);border-color:var(--ui-accent-deep)}.map-zoom{gap:6px;margin-left:auto;display:flex}.map-zoom button{min-width:40px;color:var(--ui-text);font-size:18px}.map-body{min-height:0;display:flex}.phone .map-body{flex-direction:column}.map-stage{flex-direction:column;flex:1;gap:6px;min-width:0;min-height:0;padding:8px;display:flex}.map-canvas{touch-action:none;cursor:crosshair;border:1px solid var(--ui-border);border-radius:10px;flex:1;width:100%;min-height:0}.map-foot{min-height:1.4em;margin:0}.map-log{border:1px solid var(--ui-border);background:#00000038;border-radius:10px;flex:none;max-height:128px;padding:6px 8px;overflow-y:auto}.phone .map-log{max-height:72px}.map-log ol{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.map-log button{width:100%;font:inherit;text-align:left;color:var(--ui-text);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:2px 4px;font-size:13px}.map-log button:hover{background:#ffe2b414}.map-log strong{color:var(--ui-accent)}.map-log li:first-child button{font-weight:800}.map-side{border-left:2px solid var(--wood-edge);flex-direction:column;flex:none;gap:10px;width:340px;padding:12px 14px;display:flex;overflow-y:auto}.phone .map-side{border-top:2px solid var(--wood-edge);border-left:0;width:auto;max-height:44%}.map-side h3{font-family:var(--font-display);margin:0;font-size:18px;font-weight:600}.map-side .inspector.map-inspector{z-index:auto;width:auto;max-height:none;padding:0;animation:none;position:static;overflow:visible}.map-summary{margin:0}.map-back,.map-goto{font:inherit;color:var(--ui-text);cursor:pointer;border:1px solid var(--ui-border);background:#ffe2b40f;border-radius:10px;align-self:flex-start;padding:6px 12px}.map-goto{color:#2b1d05;background:var(--ui-accent);border-color:var(--ui-accent-deep)}.map-facts{background:#00000038;border-radius:10px;flex-direction:column;gap:4px;padding:8px 10px;display:flex}.map-facts p{margin:0}.map-facts .stop{color:#ff8a70}.map-facts .slow{color:#f5c55a}.map-history h3{font-size:15px}.map-history ol{flex-direction:column;gap:4px;margin:6px 0 0;padding-left:18px;font-size:13px;display:flex}.map-history li:first-child{font-weight:800}.map-problems{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.map-problems button{width:100%;font:inherit;text-align:left;color:var(--ui-text);cursor:pointer;border:1px solid var(--ui-border);background:#ffffff0d;border-radius:8px;align-items:center;gap:8px;padding:6px 8px;display:flex}.map-problems .dot{border-radius:50%;flex:none;width:10px;height:10px}.map-problems .dot.stop{background:#e5533d}.map-problems .dot.slow{background:#f2b632}.map-legend{color:var(--ui-muted);flex-wrap:wrap;gap:4px 12px;margin-top:4px;font-size:12px;display:flex}.map-legend h4{letter-spacing:.08em;text-transform:uppercase;color:var(--ui-accent);flex-basis:100%;margin:6px 0 0;font-size:11px;font-weight:800}.map-legend span{align-items:center;gap:5px;display:inline-flex}.map-legend i{border:1px solid #1e140abf;border-radius:3px;width:12px;height:12px;display:inline-block}.map-legend-efficiency{background:linear-gradient(90deg,#c62f2f,#c6c62f,#2fc62f)}.map-legend i.map-legend-efficiency,.map-legend i.map-legend-gauge{width:30px}.map-legend i.map-legend-gauge{background:linear-gradient(90deg,#97dc6e 0 33%,#ffc83d 33% 66%,#ff7b5c 66%)}.guide-tabs{border-bottom:2px solid var(--slot-edge);gap:4px;margin-top:10px;display:flex}.guide-tab{font:inherit;color:var(--ui-muted);cursor:pointer;background:0 0;border:0;border-radius:10px 10px 0 0;padding:8px 14px;font-weight:800}.guide-tab[aria-selected=true]{color:var(--ui-text);background:var(--slot)}.guide-card.guide-handbook{box-sizing:border-box;width:min(1060px, calc(var(--ui-w,100vw) - 24px));height:min(760px, calc(var(--ui-h,100vh) - 24px));overflow:hidden}.guide-card.guide-phone.guide-handbook{box-sizing:border-box;width:var(--ui-w,100vw);height:var(--ui-h,100vh);max-height:none;padding:calc(10px + env(safe-area-inset-top,0px)) 10px env(safe-area-inset-bottom,0px);border-radius:0}.hb{background:var(--slot);border-radius:0 0 12px 12px;flex-direction:column;flex:1;min-height:0;display:flex}.hb-split{flex:1;grid-template-columns:300px minmax(0,1fr);min-height:0;display:grid}.hb-side{border-right:2px solid var(--slot-edge);grid-template-rows:auto auto minmax(0,1fr);gap:8px;min-height:0;padding:12px;display:grid}.hb-phone .hb-side{border-right:0;flex:1}.hb-sections{background:#00000040;border-radius:12px;grid-template-columns:repeat(3,1fr);gap:4px;padding:3px;display:grid}.hb-section{font:inherit;color:var(--ui-muted);cursor:pointer;background:0 0;border:0;border-radius:9px;padding:7px 4px;font-size:13.5px;font-weight:800}.hb-section[aria-selected=true]{color:#2b1d05;background:var(--ui-accent)}.hb-section b{opacity:.75;font-variant-numeric:tabular-nums}.hb-search{box-sizing:border-box;width:100%;font:inherit;color:var(--ui-text);border:1px solid var(--ui-border);background:#00000040;border-radius:10px;padding:8px 10px}.hb-list{min-height:0;overflow-y:auto}.hb-group h4,.hb-block h4{letter-spacing:.1em;text-transform:uppercase;color:var(--ui-accent);margin:10px 4px 4px;font-size:11px;font-weight:800}.hb-row{width:100%;font:inherit;text-align:left;color:var(--ui-text);cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;padding:5px 8px;display:flex}.hb-row:hover{background:#ffe2b412}.hb-row[aria-current=true]{background:#ffc83d29;box-shadow:inset 0 0 0 1px #ffc83d80}.hb-row>span:not(.hb-icon){flex:1;min-width:0;display:grid}.hb-row small{color:var(--ui-muted);text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;overflow:hidden}.hb-row i{color:var(--ui-muted);font-size:20px;font-style:normal;font-weight:800}.hb-icon{flex:none;width:34px;height:34px}.hb-phone .hb-row{padding:8px}.hb-phone .hb-row .hb-icon{width:40px;height:40px}.hb-swatch{box-sizing:border-box;border:2px solid #00000059;border-radius:8px}.hb-detail{flex-direction:column;gap:14px;min-height:0;padding:16px 20px 22px;display:flex;overflow-y:auto}.hb-page{flex-direction:column;flex:1;min-height:0;display:flex}.hb-page .hb-detail{flex:1;padding:12px}.hb-back{max-width:100%;font:inherit;color:var(--ui-accent);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:0;align-self:flex-start;padding:10px 8px;font-size:16px;font-weight:800;overflow:hidden}.hb-top{align-items:center;gap:16px;display:flex}.hb-top .hb-icon{width:72px;height:72px}.hb-phone .hb-top .hb-icon{width:54px;height:54px}.hb-top h3{font-family:var(--font-display);margin:0;font-size:24px;font-weight:600}.hb-top p{color:var(--ui-muted);margin:2px 0 0}.hb-pills{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.hb-pill{color:var(--ui-muted);background:#ffe2b41a;border-radius:999px;padding:2px 9px;font-size:12.5px;font-weight:800}.hb-pill.ok{color:var(--ui-ok);background:#97dc6e29}.hb-pill.gold{color:var(--ui-accent);background:#ffc83d29}.hb-block{flex-direction:column;gap:8px;display:flex}.hb-block h4,.hb-block p{margin:0}.hb-way{border:1px solid var(--ui-border);background:#ffe2b40d;border-radius:12px;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:8px 10px;display:flex}.hb-note{color:var(--ui-muted);font-size:13.5px}.hb-recipe,.hb-recipe-part,.hb-wrap{flex-wrap:wrap;align-items:center;gap:4px;display:inline-flex}.hb-op{color:var(--ui-muted);padding:0 2px;font-weight:800}.hb-chip{font:inherit;color:var(--ui-text);cursor:pointer;background:#00000038;border:0;border-radius:8px;align-items:center;gap:4px;padding:2px 8px 2px 2px;font-size:13.5px;font-weight:800;display:inline-flex}.hb-chip:hover{background:#ffc83d33}.hb-chip .hb-icon{width:26px;height:26px}.hb-steps{gap:4px;margin:0;padding-left:20px;display:grid}.hb-steps li::marker{color:var(--ui-accent);font-weight:800}.hb-foot{color:var(--ui-muted);border-top:2px solid var(--slot-edge);margin:0;padding:8px 14px;font-size:13px}.hb-none{padding:16px 4px}.account-form{gap:10px;margin-top:10px;display:grid}.account-or{text-align:center;color:var(--ui-muted);margin:4px 0 0;font-size:12px}.account-field{gap:4px;display:grid}.account-field input{box-sizing:border-box;width:100%;min-height:var(--tap,44px);font:inherit;color:var(--ui-text);background:var(--slot);border:2px solid var(--slot-edge);border-radius:8px;padding:6px 10px}.account-google{width:100%;margin-top:10px}.account-conflict,.account-confirm{border:2px solid var(--ui-border);border-radius:10px;margin:12px 0;padding:10px 12px}.account-actions{margin-top:12px}.account-message{background:var(--slot);border-radius:8px;margin:12px 0 0;padding:8px 10px;font-size:13px}.account-privacy{margin-top:14px}.account-privacy a{color:var(--ui-text)}.planting-panel{width:360px;max-height:calc(var(--ui-h,100vh) - 220px);overflow-y:auto}.planting-panel p{margin:0 0 8px;font-size:12px}.planting-panel .planting-now{font-size:14px}.planting-rules{gap:6px;margin:0 0 10px;padding:0;list-style:none;display:grid}.planting-rule{background:var(--slot);border:2px solid var(--slot-edge);border-radius:10px;grid-template-columns:1fr auto;gap:2px 8px;padding:6px 8px;display:grid}.planting-rule.off{opacity:.6}.planting-rule>p,.planting-rule>.dropdown{grid-column:1/-1;margin:0}.planting-rule-head{cursor:pointer;align-items:center;gap:6px;display:flex}.planting-rule-moves{gap:4px;display:flex}.planting-rule-moves button{width:26px;height:24px;font:inherit;color:var(--ui-text);cursor:pointer;border:2px solid var(--slot-edge);background:0 0;border-radius:6px;font-size:11px}.planting-rule-moves button:disabled{cursor:default;opacity:.35}.planting-crops{flex-wrap:wrap;gap:6px;display:flex}.planting-crop{font:inherit;color:var(--ui-muted);cursor:pointer;background:var(--slot);border:2px solid var(--slot-edge);border-radius:8px;align-items:center;gap:5px;padding:3px 8px 3px 4px;font-size:12px;font-weight:800;display:flex}.planting-crop img,.planting-crop .icon-fallback{width:22px;height:22px}.planting-crop.active{color:var(--ui-text);border-color:var(--ui-accent)}.link-button{font:inherit;color:var(--ui-accent);cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}
