:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#f5f3ed;--panel:#1b1d19f2;--border:#ffffff30;--muted:#c5c7be;--accent:#ebc270;--gutter:clamp(12px, 2vw, 24px);background:#1b1d19;font:14px/1.4 system-ui}*{box-sizing:border-box}body{flex-direction:column;height:100dvh;margin:0;display:flex;overflow:hidden}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button:disabled{opacity:.55;cursor:not-allowed}[hidden]{display:none!important}svg{vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.65px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:17px;height:17px}.sprites{width:0;height:0;position:absolute;overflow:hidden}.topbar{min-height:48px;padding:6px var(--gutter);border-bottom:1px solid var(--border);z-index:1;flex:none;justify-content:space-between;align-items:center;gap:12px;display:flex}.topbar h1{margin:0;font-size:16px;font-weight:650}.top-actions{gap:6px;display:flex}#field-trigger{anchor-name:--field-picker}#field-trigger svg{width:13px;height:13px}.field-prefix{color:var(--muted)}#field-options{inset:48px var(--gutter) auto auto;min-width:148px;color:inherit;background:#1b1d19;margin:0;padding:4px}#field-options:popover-open{gap:2px;display:grid}#field-options button{text-align:left;background:0 0;border:0;border-radius:3px;padding:7px 9px;font-size:13px}#field-options button[aria-current=true]{color:var(--accent)}#field-options button:hover,#field-options button:focus-visible{background:#ffffff19}#field-options button:focus-visible{outline-offset:-2px}@supports (position-area:bottom span-left){#field-options{position-anchor:--field-picker;position-area:bottom span-left;justify-self:end;margin-top:4px;inset:auto}}.icon-btn{border:1px solid var(--border);background:0 0;border-radius:4px;justify-content:center;align-items:center;gap:6px;min-width:34px;height:34px;padding:0 7px;font-size:12px;display:inline-flex}button:hover,.icon-btn[aria-pressed=true]{background:#ffffff19}#game{isolation:isolate;background:linear-gradient(#8cabb4 0%,#f0d5a8 54%,#6b512b 56%,#302b1c 100%);flex:1;min-height:0;position:relative;overflow:hidden}#scene{pointer-events:none;position:absolute;inset:0}#scene canvas{width:100%;height:100%;display:block}#game noscript{text-align:center;margin:12px;display:block;position:relative}.panel{background:var(--panel);border:1px solid var(--border);border-radius:5px}.harvest-hud{top:var(--gutter);left:var(--gutter);width:min(236px, calc(100% - 2 * var(--gutter)));padding:10px 12px;font-size:13px;position:absolute}.progress-caption{justify-content:space-between;gap:8px;font-weight:650;display:flex}.harvest-hud progress{appearance:none;background:#ffffff30;border:0;width:100%;height:4px;margin-top:6px;display:block}.harvest-hud progress::-webkit-progress-bar{background:#ffffff30}.harvest-hud progress::-webkit-progress-value{background:var(--accent)}.harvest-hud progress::-moz-progress-bar{background:var(--accent)}.readings{grid-template-columns:1fr auto;gap:4px 10px;margin:9px 0 0;display:grid}.readings dt{color:var(--muted)}.readings dd{text-align:right;white-space:nowrap;margin:0}.harvest-hud output{font-variant-numeric:tabular-nums;font-weight:650}.map-panel,.center-controls{bottom:var(--gutter);position:absolute}.map-panel{left:var(--gutter);width:170px;padding:8px}.map-heading{justify-content:space-between;margin-bottom:5px;font-size:12px;display:flex}.map-heading span{color:var(--muted)}.map-panel canvas{background:#313c2b;width:100%;height:auto;display:block}.legend{color:var(--muted);grid-template-columns:1fr 1fr;gap:4px;margin-top:5px;font-size:10px;display:grid}.legend span{align-items:center;gap:3px;display:flex}.legend i{width:7px;height:7px;display:inline-block}.standing{background:#7bd761}.cut{background:#766347}.turbine-dot{background:#d69564}.combine-dot{background:#fff4c4}.center-controls{justify-items:center;gap:6px;display:grid;left:50%;transform:translate(-50%)}.hint{padding:5px 8px;font-size:12px}.drive-controls,.drive-keys{align-items:center;gap:4px;display:flex}.drive-controls{white-space:nowrap;gap:7px;padding:6px}.drive-controls button{border:1px solid var(--border);-webkit-user-select:none;user-select:none;touch-action:none;background:#ffffff0d;border-radius:3px;place-items:center;min-width:27px;height:27px;padding:0 5px;font-size:12px;font-weight:650;display:inline-grid}.drive-controls button:hover,.drive-controls button[data-held=true]{color:#ffe2a3;background:#604d2c;border-color:#9f8050}.drive-label{color:var(--muted);font-size:11px}.divider{background:var(--border);width:1px;height:17px}#overlay{color:inherit;border:1px solid var(--border);background:#1b1d19;border-radius:5px;width:min(420px,100% - 30px);max-height:calc(100% - 30px);padding:18px}#overlay::backdrop{background:#141511b3}#overlay h2{margin:0 0 10px;font-size:20px;font-weight:650}#dialog-content p{margin:0 0 10px}.dialog-actions{justify-content:flex-end;gap:8px;margin-top:16px;display:flex}.dialog-actions button{border:1px solid var(--border);border-radius:4px;padding:7px 10px;font-weight:650}.primary{background:var(--accent);color:#1b1d19}.primary:hover{background:#f8d687}.secondary{background:0 0}@media (width<=740px),(height<=540px){.map-panel{left:auto;right:var(--gutter);width:124px;padding:6px}.center-controls{left:var(--gutter);justify-items:start;transform:none}}@media (height<=360px){.map-panel{display:none}}@media (width<=560px){.topbar h1{font-size:14px}.top-actions{gap:4px}.field-prefix,.help-button span,.drive-label,.drive-controls .divider{display:none}.hint{max-width:178px}.drive-controls{grid-template-columns:repeat(3,1fr);gap:4px;display:grid}.drive-keys{display:contents}.drive-controls button{width:40px;height:36px}.drive-controls [data-drive=KeyW]{grid-area:1/2}.drive-controls [data-drive=KeyA]{grid-area:2/1}.drive-controls [data-drive=KeyS]{grid-area:2/2}.drive-controls [data-drive=KeyD]{grid-area:2/3}.drive-controls .space{grid-area:3/1/3/4;width:auto}}
