.casino-world-controls{position:absolute;z-index:10;width:min(330px,calc(100vw - 32px));padding:10px 12px;border-radius:12px;background:#f7faf4f0;color:#244133;box-shadow:0 5px 18px #1533222e;pointer-events:auto}.casino-world-summary{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:12px}.casino-world-summary span{font-variant-numeric:tabular-nums;color:#425b50}.casino-world-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:8px}.casino-world-actions button{min-height:38px;padding:7px 10px;background:#edf3e8;font-size:12px}.casino-world-actions button[aria-label="Play game (E)"]{background:#24554a;color:#f7faf4;flex:1}.casino-world-bet{font-size:12px;font-variant-numeric:tabular-nums}.casino-world-result{margin:8px 0 0;font-size:11px;line-height:1.4}.casino-world-controls [hidden]{display:none!important}@media(max-width:760px){.casino-world-controls{width:calc(100vw - 92px)}.casino-world-actions button{min-height:44px}}body[data-place=casino] #journey,body[data-place=casino] #bottombar{display:none}.casino-world-controls.casino-slot-controls{width:min(260px,calc(100vw - 92px));padding:8px}.casino-slot-controls .casino-world-summary strong{display:none}.casino-slot-controls .casino-world-summary span{margin-left:auto;font-size:11px}.casino-slot-controls .casino-world-actions{margin-top:5px;gap:5px}.casino-slot-controls .casino-world-bet{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.casino-slot-controls .casino-world-result{font-size:11px;margin-top:5px}.casino-cashier-controls{width:min(330px,calc(100vw - 92px))}.cashier-balances,.cashier-cost{font-size:12px;line-height:1.5;font-variant-numeric:tabular-nums}.cashier-balances{margin:8px 0}.cashier-quantity{display:flex;gap:12px;align-items:center;font-size:12px}.cashier-quantity input{width:110px;min-width:0;margin-left:auto;min-height:38px;background:#fff;color:#244133;caret-color:#24554a;font-variant-numeric:tabular-nums}.cashier-cost{display:block;margin-top:6px}.cashier-note{margin:8px 0 0;color:#425b50;font-size:11px;line-height:1.4}.casino-cashier-controls .casino-world-actions button:first-child{background:#24554a;color:#f7faf4}@media(max-width:760px){.cashier-quantity input{min-height:44px;font-size:16px}}.casino-world-hint{position:absolute;z-index:10;width:auto;padding:4px 8px;min-height:32px;background:#14281fb8;color:#f7faf4;border:0;box-shadow:none;font-size:12px;pointer-events:auto}.casino-world-hint[hidden]{display:none}.modal.cashier-dialog{width:min(540px,calc(100vw - 32px))}.cashier-workspace.casino-cashier-controls{position:static;width:100%;padding:0;box-shadow:none;background:transparent}.cashier-workspace .casino-world-summary{font-size:14px;margin-bottom:16px}.cashier-workspace .casino-world-summary strong{font-size:22px}.cashier-workspace .cashier-balances{font-size:14px;margin-bottom:18px}.cashier-workspace .cashier-quantity,.cashier-workspace .cashier-cost{font-size:14px}.cashier-workspace .cashier-quantity input{width:150px;min-height:44px;font-size:16px}.cashier-workspace .casino-world-actions{margin-top:18px}.cashier-workspace .casino-world-actions button{min-height:44px;font-size:14px}.cashier-workspace .cashier-note{font-size:12px;margin-top:18px}@media(max-width:760px){.casino-world-hint{min-height:44px}}.casino-world-controls:not(.casino-cashier-controls){width:max-content;max-width:calc(100vw - 100px);padding:0;background:transparent;box-shadow:none;border-radius:0;color:#f7faf4;text-shadow:0 1px 3px #102218}.casino-world-controls:not(.casino-cashier-controls) .casino-world-summary{font-size:11px}.casino-world-controls:not(.casino-cashier-controls) .casino-world-summary span{color:#f7faf4}.casino-world-controls:not(.casino-cashier-controls) .casino-world-actions{gap:4px;margin-top:2px}.casino-world-controls:not(.casino-cashier-controls) .casino-world-actions button{background:#11241bb3;color:#f7faf4;border:0;padding:4px 6px;min-height:30px;font-size:11px}.casino-world-controls:not(.casino-cashier-controls) .casino-world-result{max-width:260px}@media(max-width:760px){.casino-world-controls:not(.casino-cashier-controls) .casino-world-actions button{min-height:44px}}.roulette-table-controls{position:absolute;bottom:max(18px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:min(780px,calc(100vw - 110px));color:#f7faf4;z-index:15;text-shadow:0 1px 3px #102218}.roulette-table-controls[hidden],.roulette-table-controls [hidden]{display:none!important}.roulette-table-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.roulette-table-actions button,.roulette-table-actions select{background:#f7faf4;color:#244133;min-height:44px;font-size:13px;padding:8px 10px}.roulette-table-status{font-size:14px;font-weight:650}.roulette-table-help,.roulette-table-draft{font-size:12px;line-height:1.4;margin:6px 0}.roulette-table-actions output{font-size:12px}.roulette-table-actions select{max-width:145px}body[data-camera=table] #touch-stick,body[data-camera=table] #jump{display:none!important}@media(max-width:760px){body:has(.roulette-table-controls:not([hidden])) .chat-open{display:none}}.cashier-workspace[hidden],.cashier-workspace [hidden]{display:none!important}body[data-casino-table=blackjack] #tabs,body[data-casino-table=blackjack] #minimap,body[data-casino-table=blackjack] #journey{display:none}.casino-chip-denomination:before{content:"";display:inline-block;width:14px;height:14px;margin-right:7px;vertical-align:-2px;border:2px dashed #f7faf4;border-radius:50%;background:var(--casino-chip-colour);box-shadow:0 1px 2px #101d2280}.racing-world-controls{position:absolute;z-index:10;width:min(360px,calc(100vw - 32px));padding:12px;border-radius:12px;background:#f7faf4f0;color:#244133;box-shadow:0 5px 18px #1533222e;pointer-events:auto}.racing-summary{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:13px}.racing-summary span{font-size:12px;color:#425b50;font-variant-numeric:tabular-nums}.racing-select{display:block;width:100%;min-height:40px;margin-top:8px;padding:8px;border:1px solid #9db39c;border-radius:8px;background:#f7faf4;color:#244133;font:inherit;font-size:12px}.racing-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px}.racing-actions button{min-height:38px;padding:8px 10px;background:#edf3e8;font-size:12px}.racing-actions button[aria-label="Place race bet"],.racing-actions button[aria-label="Enter horse in race"]{background:#244c3a;color:#f7faf4}.racing-wager{font-size:12px;font-variant-numeric:tabular-nums}.racing-status{margin:8px 0 0;font-size:12px;line-height:1.4}.racing-world-controls [hidden]{display:none!important}.race-live-caption{display:flex;align-items:center;gap:10px;position:absolute;z-index:5;left:50%;bottom:28px;transform:translate(-50%);width:max-content;max-width:calc(100vw - 32px);padding:10px 16px;background:#f7faf4e5;color:#244133;border-radius:10px;font-size:12px;text-align:center;pointer-events:none}.race-live-caption[hidden],body[data-place=racetrack] #journey{display:none}@media(max-width:760px){.racing-world-controls{width:calc(100vw - 92px)}.racing-actions button{min-height:44px}.race-live-caption{bottom:92px}}.race-live-caption button{pointer-events:auto;min-height:38px;padding:7px 10px;white-space:nowrap;background:#244c3a;color:#f7faf4}body[data-place=racetrack] #bottombar{display:none}@media(max-width:760px){.race-live-caption button{min-height:44px}}@font-face{font-family:Manrope;src:url(/fonts/manrope.woff2) format("woff2");font-style:normal;font-weight:200 800;font-display:swap}:root{--text: #244133;--muted: #576c5d;--panel: #f7faf4;--panel-solid: #f7faf4;--bg: #d5e8e5;--border: #d8e2d3;--border-strong: #9db39c;--green: #244c3a;--gold: #886016;--blue: #326b86;--purple: #69518b;--red: #a43b32;--font: Manrope, sans-serif;--mono: ui-monospace, monospace;--shadow: 0 8px 28px #263e3226;--radius: 16px}*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden;background:var(--bg);color:var(--text);font-family:var(--font);font-size:13px;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible{outline:3px solid #bd8822;outline-offset:3px}::selection{background:#d5e6bf;color:#244133}input,textarea{caret-color:var(--green)}*{scrollbar-width:thin;scrollbar-color:#a5b99b transparent}svg{flex-shrink:0;display:block}button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--border);border-radius:10px;padding:9px 12px;background:#edf2e7;min-height:38px;font-weight:650;transition:background .15s ease}button:hover:not(:disabled){background:#dfead4}button.primary{background:var(--green);color:#f7faf4;border-color:transparent}button.primary:hover:not(:disabled){background:#346348}button.selected{background:#e3ecd8;border-color:#709664}button.ghost{background:transparent}button.tiny{padding:6px 9px;min-height:32px;font-size:11px}button.danger{color:#a43b32;background:#f5e6df}button.wide{width:100%}kbd{font:inherit;font-size:10px;color:var(--muted);border:1px solid var(--border);border-radius:4px;padding:1px 4px;font-weight:700}h1,h2,h3,h4,p{margin:0}h2{font-size:22px;letter-spacing:-.04em}h3{font-size:17px;letter-spacing:-.025em;margin-top:12px}h4{font-size:13px}.note{font-size:12px;color:var(--muted);line-height:1.6}.note.warn{color:#895724}.grow{flex:1;min-width:0}#app{position:fixed;inset:0}#scene{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none;outline-offset:-4px}#loading{position:absolute;inset:0;display:grid;place-items:center;background:#e7f0df;z-index:50;transition:opacity .4s}#loading.hidden{opacity:0;pointer-events:none}.loading-inner{text-align:center}.loading-inner h1{font-size:38px;letter-spacing:-.04em;margin-top:20px}.loading-mark{width:72px;height:72px;background:var(--green);border-radius:24px;margin:auto;color:#e8bb58;display:grid;place-items:center}.loading-sub{margin-top:10px;color:var(--muted)}#topbar{position:absolute;left:24px;right:24px;top:max(18px,env(safe-area-inset-top));display:flex;align-items:center;gap:24px;z-index:10;pointer-events:none}.brand{display:flex;align-items:center;gap:11px;background:var(--panel);padding:12px 18px 12px 12px;border-radius:18px;box-shadow:var(--shadow);min-width:204px;pointer-events:auto}.brand-mark{width:40px;height:40px;border-radius:13px;background:var(--green);color:#e8bb58;display:grid;place-items:center}.brand div>span{display:block;font-size:14px;font-weight:650;color:var(--text);max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stats{display:flex;align-items:center;background:var(--panel);box-shadow:var(--shadow);border-radius:16px;min-height:64px;margin-left:auto;pointer-events:auto}.stat{display:flex;align-items:center;gap:9px;padding:10px 16px;border-right:1px solid var(--border);white-space:nowrap}.stat:last-child{border:0}.stat>svg{color:#74935a}.stat-label{display:block;font-size:10px;color:var(--muted);margin-bottom:3px}.stat .val{font-size:14px;font-variant-numeric:tabular-nums;font-weight:750}.stat.coins>svg{color:#ab7824}.stat.tokens>svg{color:#57804a}.top-actions{display:flex;gap:6px;pointer-events:auto}.top-actions button{width:40px;height:40px;padding:0;background:var(--panel);box-shadow:0 4px 12px #263e321a;border:0}#journey{position:absolute;top:108px;left:24px;display:flex;align-items:center;gap:12px;max-width:330px;background:var(--panel);padding:15px 16px;border-radius:14px;box-shadow:var(--shadow);z-index:8}#journey>svg{color:#789553}#journey strong{display:block;font-size:12px}#journey .note{display:block;font-size:10px;margin-top:3px}#journey button:not(.primary){border:0;background:transparent;padding:0;min-width:25px}.tabs{position:absolute;right:24px;top:110px;z-index:12;display:flex;flex-direction:column;gap:5px;max-height:calc(100dvh - 130px);padding:4px;margin:-4px;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin}.tab{flex-shrink:0;width:68px;min-height:58px;background:var(--panel);border:0;box-shadow:0 3px 12px #263e321f;display:flex;flex-direction:column;gap:4px;padding:9px 4px;border-radius:13px;color:var(--muted);font-size:10px}.tab.active{background:var(--green);color:#fff}.tab:hover:not(:disabled){background:#e4eedb}.tab.active:hover:not(:disabled){background:#346348}.tab .dot{width:5px;height:5px;position:absolute;right:8px;background:#e8bb58;border-radius:50%}#panel{position:absolute;right:104px;top:110px;bottom:120px;width:360px;background:var(--panel);box-shadow:var(--shadow);border-radius:18px;overflow:hidden;z-index:11;display:flex;flex-direction:column}#panel.collapsed{display:none}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:19px 20px 14px;border-bottom:1px solid var(--border)}.panel-heading button{border:0;background:transparent;padding:0;width:32px;min-height:32px}.panel-body{padding:16px 20px 24px;flex:1;overflow:auto;display:flex;flex-direction:column;gap:12px}.panel-body h3:first-child{margin-top:0}#toolbar{position:absolute;left:50%;transform:translate(-50%);bottom:max(25px,env(safe-area-inset-bottom));z-index:10;background:var(--panel);padding:7px;border-radius:18px;box-shadow:var(--shadow)}.tool-list{display:flex;gap:4px}.tool{width:72px;min-height:64px;display:flex;flex-direction:column;gap:5px;position:relative;background:transparent;border:0;font-size:10px;padding:8px 5px}.tool>svg{color:#657d56}.tool kbd{position:absolute;right:5px;top:4px;border:0;font-size:8px;padding:0;color:#8a9980}.tool.active{background:var(--green);color:#fff;border-radius:12px}.tool.active>svg,.tool.active kbd{color:#e8eecb}.bulk-list{display:flex;gap:4px;padding:7px 0 0}.bulk-list[hidden]{display:none}.bulk-list button{flex:1}.hint{color:var(--muted);font-size:12px}#bottombar{position:absolute;bottom:126px;left:50%;transform:translate(-50%);z-index:8;min-width:280px;max-width:470px;background:var(--panel);padding:10px 14px;border-radius:13px;box-shadow:var(--shadow)}#hint:empty{display:none}#bottombar:has(#hint:empty):has(#plot-card:empty){display:none}.plot-card{display:flex;align-items:center;gap:12px}.plot-card:empty{display:none}.plot-copy{min-width:160px;flex:1}.plot-copy>span,.plot-copy>strong{display:block}.plot-copy>strong{font-size:13px}.plot-copy .note{font-size:10px}.plot-copy .bar{margin-top:6px}.bar{height:4px;border-radius:4px;background:#dce6d3;overflow:hidden}.bar>i{height:100%;display:block;background:#789b53}.bar.water>i{background:#5d9eba}.meter{display:flex;gap:7px;align-items:center}.meter .bar{flex:1}#minimap{position:absolute;bottom:25px;left:24px;padding:8px;background:var(--panel);border-radius:16px;box-shadow:var(--shadow);z-index:7;width:144px}#map-canvas{display:block;width:128px;height:128px;border-radius:11px}#map-caption{display:block;text-align:center;font-size:9px;color:var(--muted);padding:5px 0 0}#interact{position:absolute;right:112px;bottom:28px;background:var(--green);color:#fff;border:0;min-height:47px;padding:12px 18px;box-shadow:var(--shadow);z-index:8}#interact kbd{color:#e3eddb;border-color:#678469}#touch-stick{display:none}.field{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}.field>span{flex:1}.field>input:not([type=range]):not([type=color]),.field>select{max-width:180px;min-width:0;width:58%}input[type=color]{width:43px;height:34px;min-height:34px;padding:3px}input[type=range]{width:55%;padding:0;accent-color:var(--green)}.palette-options{display:flex;gap:6px;flex-wrap:wrap}.palette-options button{font-size:10px;padding:8px}.color-dot{width:10px;height:10px;border-radius:50%;background:var(--swatch)}.catalog-row,.goal-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--border)}.catalog-row strong,.goal-row strong{display:block;font-size:12px}.catalog-row .note,.goal-row .note{display:block;font-size:10px}.catalog-row button{font-size:10px;padding:8px;flex-shrink:0}.catalog-row>svg,.goal-row>svg{color:#68874d}.order{padding:15px;background:#e8efde;border-radius:14px}.order-crop{display:flex;align-items:center;gap:12px;margin:14px 0 8px}.order-crop>svg{color:#997020}.order-crop strong{font-size:20px;letter-spacing:-.03em}.order-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:13px}.order-footer>strong{font-size:10px}.order-footer button{font-size:11px}.color-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}details{border-top:1px solid var(--border);padding-top:12px}details .field{margin-top:10px}summary{cursor:pointer;font-weight:700;font-size:14px;padding:5px 0}.section-title{font-weight:750;font-size:15px;margin-top:15px;color:var(--text)}.section-title:first-child{margin:0}.row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--border)}.row.selected{background:#e7efdf;padding:12px;border-radius:12px;border:0}.row.locked{opacity:.55}.row .name{font-weight:700;display:flex;gap:7px;align-items:center}.row .meta{font-size:11px;color:var(--muted);line-height:1.55;margin-top:3px}.row .ico{width:24px;text-align:center;font-size:20px}.row .cost{font-weight:750;color:var(--gold);font-size:11px}.chip{font-size:9px;font-weight:700;padding:3px 6px;border-radius:5px;background:#e0e8d7;white-space:nowrap}.chip.demand{background:#efdfb9;color:#72541b}.chip.rare{background:#e3edf2;color:#326b86}.chip.epic{background:#ece5f1;color:#69518b}.chip.legendary{background:#efe1b9;color:#765519}.mini-map{display:grid;grid-template-columns:repeat(16,1fr);gap:2px}.mini-map .cell{padding:0;min-height:0;aspect-ratio:1;background:#e0e8d7;border:0;border-radius:2px}.mini-map .cell.tilled{background:#8d6c4e}.mini-map .cell.growing{background:#719650}.mini-map .cell.ripe{background:#d2b64e}.mini-map .cell.deed{box-shadow:inset 0 0 0 1px currentColor}.kv{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;padding:4px 0}.kv>span:first-child{color:var(--muted)}.kv>span:last-child{font-weight:650;max-width:60%;text-align:right;overflow-wrap:anywhere}.addr{font-family:var(--mono);font-size:10px;overflow-wrap:anywhere;color:var(--muted)}.tx{display:flex;gap:8px;font-size:10px}.tx .hash{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--mono)}.market-row{padding:10px 0;border-bottom:1px solid var(--border);display:flex;flex-direction:column;gap:8px}.market-head{display:flex;gap:8px;align-items:center}.spark{display:none}.toggle-row{display:flex;gap:10px;align-items:center;padding:10px 0;cursor:pointer}.toggle-row .switch{width:36px;height:20px;flex-shrink:0;background:#bacbb1;border-radius:12px;position:relative}.toggle-row .switch:after{content:"";position:absolute;left:3px;top:3px;width:14px;height:14px;border-radius:50%;background:#fff}.toggle-row.on .switch{background:var(--green)}.toggle-row.on .switch:after{left:19px}.toasts{position:absolute;top:105px;left:50%;transform:translate(-50%);display:flex;flex-direction:column;gap:8px;align-items:center;z-index:30;pointer-events:none}.toast{padding:12px 18px;border-radius:12px;background:var(--panel);box-shadow:var(--shadow);font-size:12px;max-width:340px;animation:toast-in .2s ease-out}.toast.bad{color:var(--red);background:#f9e8e0}.toast.good{background:#edf4de}.toast.gold{background:#f3e5b9}.floaters{position:absolute;inset:0;pointer-events:none;z-index:20;overflow:hidden}.floater{position:absolute;transform:translate(-50%,-50%);font-size:13px;font-weight:750;color:#fff;text-shadow:0 2px 4px #244133;animation:float-up 1s ease-out forwards;white-space:nowrap}.floater.tok{color:#e2fbc5}.floater.plus{color:#fff2bb}.floater.bad{color:#f7b2a5}@keyframes float-up{to{opacity:0;margin-top:-50px}}@keyframes toast-in{0%{opacity:.8;transform:translateY(-6px)}to{opacity:1;transform:none}}#modal-root:empty{display:none}.modal-backdrop{position:absolute;inset:0;background:#15332266;z-index:40;display:grid;place-items:center;padding:20px}.modal{width:min(540px,100%);max-height:85dvh;overflow:auto;background:var(--panel);padding:24px;border-radius:20px;box-shadow:0 20px 60px #183e324d}.modal h2{margin-bottom:14px}.modal .sub{line-height:1.6;margin-bottom:15px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}pre.meta{overflow:auto;padding:12px;background:#e7eedf;border-radius:10px;font-size:10px}.report-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.report-cell{padding:12px;background:#e7eedf;border-radius:10px}.report-cell b,.report-cell span{display:block}.report-cell span{font-size:11px;color:var(--muted)}#build-strip{position:absolute;left:50%;transform:translate(-50%);bottom:116px;z-index:15;background:var(--panel);padding:10px 14px;border-radius:12px;box-shadow:var(--shadow);display:flex;gap:10px;align-items:center;font-size:11px}#build-strip[hidden],body[data-building=true] #bottombar{display:none}@media(max-width:1150px){#topbar{gap:12px;left:18px;right:18px}.brand{min-width:175px;padding-right:14px}.stat{padding:10px 11px}.stat.day{display:none}.tabs{right:18px}.tab{width:57px;min-height:51px}.tabs{gap:4px}#panel{right:84px;width:340px}#journey{left:18px}#interact{right:90px}#minimap{left:18px}}@media(max-width:760px){#topbar{top:max(12px,env(safe-area-inset-top));left:12px;right:12px;gap:8px;flex-wrap:wrap}.brand{min-width:0;padding:8px 12px 8px 8px;gap:8px;border-radius:14px}.brand-mark{width:32px;height:32px;border-radius:10px}.brand div>span{font-size:12px;max-width:155px}.top-actions{margin-left:auto;gap:4px;order:2}.top-actions button{width:34px;height:34px;min-height:34px}.stats{width:100%;order:3;margin:0;min-height:46px;border-radius:12px;justify-content:space-between}.stat{padding:8px 10px;gap:6px;border:0}.stat>svg{width:16px;height:16px}.stat-label{font-size:10px}.stat .val{font-size:12px}.stat.day{display:none}#journey{top:126px;left:12px;max-width:calc(100vw - 88px);padding:12px;gap:9px}#journey strong{font-size:11px}#journey>svg{width:18px}.tabs{top:126px;right:12px;gap:4px;max-height:calc(100dvh - 218px)}.tab{width:49px;min-height:44px;padding:5px;font-size:10px;gap:3px;border-radius:10px}.tab svg{width:18px;height:18px}#panel{inset:120px 74px 118px 12px;width:auto;max-height:none;border-radius:14px}body:has(#panel:not(.collapsed)) #journey{display:none}.panel-heading{padding:15px}.panel-body{padding:14px}.panel-body .note{font-size:11px}.panel-heading h2{font-size:19px}#toolbar{bottom:max(16px,env(safe-area-inset-bottom));padding:5px;max-width:calc(100vw - 24px);border-radius:14px}.tool-list{gap:1px}.tool{width:51px;min-height:54px;font-size:10px;padding:7px 4px}.tool svg{width:20px;height:20px}.tool kbd{display:none}#bottombar{bottom:86px;min-width:0;width:calc(100vw - 40px);max-width:360px;padding:10px}#bottombar .hint{font-size:10px;text-align:center}.plot-copy{min-width:0}.plot-copy .note{font-size:9px}.plot-card{gap:8px}.plot-card>svg{display:none}.plot-card button{font-size:11px;min-height:34px}.plot-copy>strong{font-size:12px}#minimap{display:none}#interact{right:15px;bottom:150px;width:78px;height:49px;padding:8px;font-size:11px;border-radius:14px}#interact kbd{display:none}#touch-stick{position:absolute;left:22px;bottom:154px;width:90px;height:90px;border-radius:50%;border:2px solid #f7faf48c;background:#f7faf42e;display:grid;place-items:center;z-index:9;touch-action:none}#touch-stick span{display:block;width:37px;height:37px;border-radius:50%;background:#f7faf4d9;box-shadow:0 3px 12px #24413326}body[data-camera=overview] #touch-stick{display:none}body:has(#panel:not(.collapsed)) #touch-stick,body:has(#panel:not(.collapsed)) #interact{display:none}.toasts{top:116px;width:calc(100vw - 30px)}.toast{font-size:11px}#build-strip{bottom:90px;width:calc(100vw - 24px);max-width:500px;justify-content:space-between}.order-crop strong{font-size:18px}.catalog-row{gap:8px}.catalog-row>svg{width:19px}.catalog-row button{font-size:9px}.color-fields{grid-template-columns:1fr}.field>select{max-width:150px}.palette-options button{font-size:9px;padding:6px}.bulk-list{flex-wrap:wrap}.modal{padding:20px}body[data-building=true] #interact{display:none}}@media(max-height:680px)and (min-width:761px){.tabs{gap:3px}.tab{min-height:43px;padding:6px}.tab svg{width:17px;height:17px}#minimap{width:112px}#map-canvas{width:96px;height:96px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.floater{display:none}}.todo-sync{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px;border-radius:12px;background:#edf2e7;font-size:12px}.todo-sync>svg{color:var(--green);flex-shrink:0}.todo-sync .grow{min-width:145px}.todo-sync .note{display:block;margin-top:4px}.todo-form{display:flex;flex-direction:column;gap:12px}.todo-field{display:flex;flex-direction:column;gap:6px;font-size:12px}.todo-field input,.todo-field select,.todo-field textarea{width:100%;min-width:0}.todo-field textarea{resize:vertical;max-height:220px}.todo-form-actions{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px}.todo-form-actions .todo-field{flex:1;min-width:90px}.todo-more{font-size:12px}.todo-more summary{cursor:pointer;color:var(--muted)}.todo-more .todo-field{margin-top:8px}.todo-filters{display:flex;gap:6px;margin-top:8px}.todo-filters button{flex:1}.todo-empty{margin:0;padding:18px 0;color:var(--muted);font-size:12px;line-height:1.6}.todo-item{border-top:1px solid var(--border);padding-top:16px}.todo-item-head,.todo-item-footer{display:flex;align-items:center;gap:10px}.todo-item-head{align-items:flex-start}.todo-item-head .grow{min-width:0}.todo-item h4{margin:5px 0 0;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.todo-item.done h4{text-decoration:line-through}.todo-item-head button{flex-shrink:0}.todo-details{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.6;margin:8px 0}.todo-item-footer{justify-content:space-between;margin-top:12px}.todo-resolution{background:#edf2e7;border-radius:8px;padding:10px;margin-top:10px;font-size:12px}.todo-resolution .todo-details{margin-bottom:0}.todo-context{margin-top:12px;font-size:12px;color:var(--muted)}.todo-context summary{cursor:pointer}.todo-context pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.6}body[data-editing=true] #toolbar,body[data-editing=true] #interact,body[data-editing=true] #bottombar{display:none}@media(max-width:760px){body[data-editing=true] #panel{top:auto;bottom:16px;height:40dvh}body[data-editing=true] #toolbar{display:none}body[data-editing=true] .toasts{top:120px}}#topbar .brand,#stat-row,#journey,#toolbar,#minimap,.tab:not(.active){background:#f7faf4e0}#bottombar{pointer-events:none}body[data-camera=third] #plot-card,body[data-camera=third] #hint{display:none}#interact{position:absolute;right:auto;bottom:auto;transform:translate(-50%,-100%);min-height:38px;max-width:min(260px,calc(100vw - 32px));padding:9px 12px;border-radius:10px;background:#f7faf4f0;color:var(--text);font-size:12px;box-shadow:0 4px 12px #263e321a;white-space:normal}#interact[hidden]{display:none}#toasts{inset:auto 104px 24px auto;transform:none;max-width:min(340px,calc(100vw - 110px));align-items:flex-end}#tool-list .tool{min-width:64px}body[data-building=true] #toolbar,body[data-building=true] #bottombar,body[data-building=true] #touch-stick,body[data-building=true] #interact,body[data-building=true] #jump{display:none}#build-strip{max-width:calc(100vw - 32px);flex-wrap:wrap;justify-content:center}#build-status{max-width:42ch;font-size:12px}.build-filters{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 20px}.welcome-form{display:grid;gap:12px;margin-top:20px}.welcome-form .field{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.welcome-form .field>input:not([type=range]):not([type=color]){width:100%;min-width:0;max-width:none}#jump{display:none}@media(max-width:760px){#toasts{right:12px;bottom:100px;max-width:calc(100vw - 24px)}#build-strip{bottom:max(12px,env(safe-area-inset-bottom));padding:12px}#build-status{flex-basis:100%;text-align:center}#jump{display:block;position:absolute;right:12px;bottom:110px;min-height:44px;background:#f7faf4f0}body:has(#panel:not(.collapsed)) #jump{display:none}}@media(max-width:760px){body[data-building=true] #panel{top:auto;bottom:100px;height:42dvh}body[data-building=true] #journey{display:none}}body[data-camera=third] #bottombar{display:none}#interact{width:max-content}@media(max-width:760px){#toasts{right:74px;max-width:calc(100vw - 148px)}#touch-stick,#jump{bottom:max(22px,env(safe-area-inset-bottom))}body[data-editing=true] #toasts{top:auto;bottom:calc(40dvh + 28px)}body[data-building=true] #toasts{top:auto;bottom:calc(42dvh + 112px)}}.visitor-bubbles{position:absolute;inset:0;pointer-events:none;z-index:4}.visitor-order{position:absolute;left:0;top:0;display:flex;align-items:center;gap:6px;min-height:32px;padding:6px 10px;background:#f7faf4f5;color:var(--text);border:0;border-radius:10px;box-shadow:0 4px 12px #263e321a;font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:auto}.visitor-order:after{content:"";position:absolute;width:6px;height:6px;bottom:-3px;left:calc(50% - 3px);background:inherit;transform:rotate(45deg)}.visitor-order:disabled{opacity:1;cursor:default}.visitor-order[hidden],.visitor-bubbles[hidden]{display:none}.visitor-order svg{color:var(--green);flex-shrink:0}@media(max-width:760px){.visitor-order{font-size:10px;padding:5px 8px}}@media(max-width:760px){body[data-camera=overview]:not([data-editing=true]):not([data-building=true]):has(#plot-card:not(:empty)) #toasts{bottom:calc(86px + var(--overview-card-height, 72px) + 12px)}}.farmer-studio{position:fixed;inset:0;z-index:80;height:100dvh;background:#f7f9f5}body[data-editing=true] #panel{visibility:hidden;pointer-events:none}.studio-error{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px}.studio-error p{max-width:60ch}:root{--shop-stage: #e5efdf;--shop-shelf: #edf3e8;--motion-ease: cubic-bezier(.16, 1, .3, 1);--shadow: 0 14px 40px rgb(21 51 34 / 20%)}button{transition:background .15s ease,color .15s ease,scale .15s var(--motion-ease)}button:active:not(:disabled){scale:.96}button:disabled{opacity:.65}#panel{width:400px;bottom:32px;border-radius:16px}#panel.collapsed.closing{display:flex;pointer-events:none}.panel-heading{padding:22px 24px 18px;background:#edf3e8;border:0}.panel-heading h2{font-size:24px;letter-spacing:-.035em}.panel-heading button{min-height:40px;width:40px;border-radius:10px}.panel-heading button:hover{background:#dce8d4}.panel-body{padding:22px 24px 28px;gap:16px}.panel-body>.section-title{margin-top:14px}.panel-body>.section-title:first-child{margin-top:0}.panel-body .meta{font-size:12px;line-height:1.55}.panel-body .row{padding:14px 0}.panel-body .row.locked{opacity:1}.panel-body .row.locked .name{color:var(--muted)}.panel-body .chip{font-size:11px}.panel-body .catalog-row .note,.panel-body .goal-row .note{font-size:12px}.panel-body .catalog-row strong,.panel-body .goal-row strong{font-size:14px}.panel-body .catalog-row button{font-size:12px;min-height:40px}.panel-body>.note{max-width:65ch}.order{padding:18px}.order h4{font-size:15px}.order-footer>strong{font-size:12px}.tabs{gap:8px}.tab{min-height:62px;font-size:11px;border-radius:12px}.tab>svg{transition:rotate .18s var(--motion-ease)}.tab:hover>svg{rotate:-7deg}.tab.active{box-shadow:0 6px 18px #1533223d}#panel[data-surface=more]{width:min(480px,calc(100vw - 148px))}#panel[data-surface=more] .panel-body{gap:24px}.more-section{flex-shrink:0}.more-section h3{margin:0 0 12px;font-size:16px}.more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.more-item{width:100%;min-width:0;min-height:64px;justify-content:flex-start;gap:12px;padding:12px 16px;background:var(--shop-shelf);border:0;border-radius:12px;text-align:left;line-height:1.4}.more-item>span{overflow-wrap:anywhere}.more-item>svg{color:var(--green)}.more-item:hover:not(:disabled){background:#dfead4}#panel[data-surface=upgrades]{width:min(1000px,calc(100vw - 148px));top:106px;bottom:32px}#panel[data-surface=upgrades] .panel-heading{padding:18px 24px}#panel[data-surface=upgrades] .panel-heading h2{font-size:27px}#panel[data-surface=upgrades] .panel-body{padding:0;overflow:hidden}.shop-catalogue{min-height:0;flex:1;display:flex;flex-direction:column}.shop-toolbar{display:flex;gap:16px;align-items:center;padding:20px 24px 14px}.shop-search{flex:1;width:100%;min-width:0;background:#fff;border:1px solid var(--border-strong);border-radius:10px;padding:12px 14px;color:var(--text);font-size:13px}.shop-search::placeholder{color:var(--muted)}.shop-balance{display:flex;align-items:center;gap:8px;flex-shrink:0;font-size:14px;font-variant-numeric:tabular-nums}.shop-balance>svg{color:var(--gold)}.shop-balance .note{margin-left:6px}.shop-filters{display:flex;flex-shrink:0;gap:5px;padding:0 24px 16px;overflow-x:auto}.shop-filters button{background:transparent;border:0;min-height:40px;padding:8px 13px;flex-shrink:0}.shop-filters button[aria-pressed=true]{background:var(--green);color:var(--panel-solid)}.shop-workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;min-height:0;flex:1}.shop-browsing{display:flex;flex-direction:column;min-width:0;min-height:0;padding:0 24px 24px}.shop-list-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 0 12px}.shop-availability{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);cursor:pointer}.shop-availability input,.shop-auto-sell input{accent-color:var(--green);width:16px;height:16px}.shop-grid{overflow:auto;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(218px,auto);gap:12px;align-content:start;padding:3px}.shop-item{min-height:218px;height:auto;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:5px;text-align:left;background:var(--shop-shelf);border:1.5px solid transparent;padding:10px 12px 14px;border-radius:12px;min-width:0;position:relative}.shop-item:hover:not(:disabled){background:#e5eedc}.shop-item[aria-pressed=true]{border-color:#648952;background:#e4eedb}.shop-item-visual{min-height:0;flex-shrink:0;height:114px;display:grid;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);place-items:center;color:#59764b}.shop-item-visual img{min-width:0;min-height:0;width:100%;height:100%;object-fit:contain}.shop-item-name{font-size:14px;line-height:1.4;font-weight:750}.shop-item-price{color:var(--gold);font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}.shop-item-state{color:var(--muted);font-size:11px;font-weight:500;margin-top:2px}.shop-item.is-locked .shop-item-visual{opacity:.7}.shop-detail{min-width:0;min-height:0;overflow-y:auto;background:#edf3e8;display:flex;flex-direction:column}.shop-detail[hidden]{display:none}.shop-stage{position:relative;height:clamp(190px,28vh,285px);flex-shrink:0;background:var(--shop-stage);overflow:hidden}.shop-stage canvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab}.shop-stage canvas:active{cursor:grabbing}.shop-preview-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;color:#59764b;font-size:12px}.shop-rotate-hint{position:absolute;left:20px;bottom:16px;color:var(--muted);font-size:11px;pointer-events:none}.shop-reset{position:absolute;right:14px;bottom:10px;width:36px;min-height:36px;padding:0;background:#f7faf4d9;border:0}.shop-info{padding:22px 24px 24px;display:flex;flex:1;flex-direction:column;gap:12px}.shop-owned{color:#496841;font-size:12px;font-weight:650}.shop-info h3{margin:0;font-size:25px;line-height:1.2;letter-spacing:-.035em;text-wrap:balance}.shop-description{font-size:13px;line-height:1.65;color:var(--muted)}.shop-purchase{margin-top:auto;padding-top:24px;display:flex;flex-direction:column;gap:12px}.shop-cost{font-size:25px;letter-spacing:-.03em;color:var(--gold);font-variant-numeric:tabular-nums}.shop-purchase-actions{display:flex;gap:8px;flex-wrap:wrap}.shop-purchase-actions .primary{flex:1;min-height:46px}.shop-purchase-actions .ghost{min-height:46px}.shop-status{color:var(--muted);font-size:12px;line-height:1.55;min-height:38px}.shop-auto-sell{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.5}.shop-empty{grid-column:1 / -1;padding:24px 8px;display:grid;gap:14px}.toast{position:relative;display:flex;align-items:center;gap:12px;padding:16px 18px;overflow:hidden;animation:none;font-weight:600;line-height:1.5}.toast>svg{color:#5f854b}.toast.bad>svg{color:var(--red)}.toast.gold>svg{color:var(--gold)}.toast-lifetime{position:absolute;left:0;bottom:0;height:3px;width:100%;background:currentColor;opacity:.25;transform-origin:left;animation:notice-life 3.6s linear forwards}@keyframes notice-life{to{transform:scaleX(0)}}.modal-backdrop,.modal-exit{background:#1533226b}.modal-exit{position:absolute;inset:0;z-index:40;display:grid;place-items:center;padding:20px;pointer-events:none}.modal{border-radius:16px;padding:28px}.modal.welcome-back{width:min(440px,100%);padding:28px;text-align:center}.welcome-back:focus{outline:none}.welcome-back h2{margin:0;font-size:28px;letter-spacing:-.035em;line-height:1.2}.welcome-time{display:flex;align-items:center;justify-content:center;gap:6px;margin:10px 0 24px;color:var(--muted);font-size:12px}.welcome-rewards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px;margin:0 0 24px;text-align:left}.welcome-reward{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0}.welcome-reward-copy{min-width:0}.welcome-reward-label{display:block;color:var(--muted);font-size:12px}.welcome-reward-value{display:block;margin:2px 0 0;font-size:23px;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.2;letter-spacing:-.025em;overflow-wrap:anywhere}.welcome-featured{grid-column:1 / -1;justify-content:flex-start;gap:22px;padding:22px 26px;border-radius:12px;background:#e8efde;color:var(--green)}.welcome-featured .welcome-reward-label{color:inherit}.welcome-featured .welcome-reward-value{font-size:clamp(32px,6vw,42px)}.welcome-featured .welcome-reward-icon{position:relative;display:grid;place-items:center;width:64px;height:64px;flex:0 0 64px;border-radius:50%;background:#d5e6bf}.welcome-coins .welcome-reward-icon{color:var(--gold)}.welcome-featured.welcome-coins{background:#f4e6b9;color:var(--gold)}.welcome-featured.welcome-coins .welcome-reward-icon{background:#e8bb58}.welcome-featured.welcome-tokens{background:#eee7f4;color:var(--purple)}.welcome-featured.welcome-tokens .welcome-reward-icon{background:#e1d3ef}.welcome-harvests .welcome-reward-icon{color:var(--green)}.welcome-tokens .welcome-reward-icon{color:var(--purple)}.welcome-burst{position:absolute;inset:0;pointer-events:none}.welcome-final{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.welcome-spark{position:absolute;top:50%;left:50%;width:5px;height:9px;border-radius:2px;background:currentColor;opacity:0}.welcome-level{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 0 18px;color:var(--green);font-weight:700}.welcome-limit,.welcome-care{margin:0 0 18px;color:var(--muted);font-size:12px}.welcome-rest{display:grid;justify-items:center;gap:14px;padding:8px 0 24px;color:var(--green)}.welcome-rest p{margin:0;font-size:14px}.welcome-return{width:100%;min-height:48px}@media(max-width:480px){.modal.welcome-back{padding:24px 20px}.welcome-featured{padding:20px;gap:18px}}.toggle-row .switch:after{transition:left .18s var(--motion-ease)}@media(max-width:1100px){#panel{width:360px}#panel[data-surface=upgrades]{right:84px;width:calc(100vw - 108px)}.shop-workspace{grid-template-columns:minmax(0,1fr) 300px}.shop-item-visual{height:100px}.shop-balance .note{display:none}}@media(max-width:760px){.tabs{gap:6px}.tab-label{max-width:100%;line-height:1.2}.tab{width:49px;min-height:50px;font-size:10px;padding:5px 1px}#panel{inset:120px 74px 110px 12px;width:auto}.panel-heading{padding:14px 16px}.panel-heading h2{font-size:21px}.panel-body{padding:18px 16px 24px}#panel[data-surface=upgrades]{inset:120px 12px 14px;width:auto;z-index:14}#panel[data-surface=upgrades] .panel-heading{padding:12px 16px}#panel[data-surface=upgrades] .panel-heading h2{font-size:22px}.shop-toolbar{padding:12px 16px 10px;gap:10px}.shop-search{padding:10px;font-size:12px}.shop-balance{font-size:12px;gap:4px}.shop-balance>svg{width:16px}.shop-filters{padding:0 12px 10px;gap:2px}.shop-filters button{font-size:12px;padding:8px 10px}.shop-workspace{display:flex;flex-direction:column;overflow:auto}.shop-browsing{flex:0 0 auto;padding:0 16px 14px}.shop-list-summary{padding-bottom:8px}.shop-grid{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;padding:3px 3px 8px}.shop-item{flex:0 0 132px;min-height:140px;padding:8px 10px}.shop-item-visual{height:62px}.shop-item-name{font-size:12px}.shop-item-price{font-size:11px}.shop-item-state{font-size:10px}.shop-detail{overflow:visible;flex-shrink:0}.shop-stage{height:96px}.shop-info{padding:16px 16px 24px;gap:9px}.shop-info h3{font-size:22px}.shop-purchase{padding-top:12px;gap:10px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center}.shop-cost{font-size:22px}.shop-status{min-height:0;grid-column:1 / -1}#panel[data-surface=more]{width:auto}.more-item{flex-direction:column;justify-content:center;gap:8px;min-height:88px;padding:12px 8px;text-align:center;font-size:12px}body:has(#panel[data-surface=upgrades]:not(.collapsed)) #toasts{bottom:24px;right:24px;max-width:calc(100vw - 48px);z-index:30}}@media(max-height:660px)and (min-width:761px){#panel[data-surface=upgrades]{top:94px;bottom:16px}.shop-stage{height:170px}.shop-info{padding:16px}.shop-info h3{font-size:22px}.shop-purchase{padding-top:12px}}@media(prefers-reduced-motion:reduce){button,.tab>svg,.toggle-row .switch:after{transition:none}button:active:not(:disabled){scale:1}.toast-lifetime{animation:none}}.settings-pages{display:flex;flex-wrap:wrap;gap:6px}.settings-pages button{border:0;background:transparent;padding:9px 10px;font-size:12px}.settings-pages button[aria-pressed=true]{color:var(--panel-solid);background:var(--green)}.settings-page{display:flex;flex-direction:column;gap:16px}.settings-page .section-title{margin-top:12px}.settings-page .section-title:first-child{margin-top:0}[role=button]:focus-visible,[role=switch]:focus-visible{outline:3px solid #bd8822;outline-offset:3px}.debug-overlay{position:absolute;top:196px;left:24px;width:272px;z-index:9;pointer-events:none;padding:16px;border-radius:12px;color:var(--text);background:#f7faf4f0;box-shadow:0 6px 24px #1533222e}.debug-overlay[hidden]{display:none}.debug-heading{display:flex;align-items:center;gap:8px;margin-bottom:12px}.debug-heading h2{font-size:16px;letter-spacing:-.025em}.debug-heading button{pointer-events:auto;margin-left:auto;min-height:32px;width:32px;padding:0;border:0;background:transparent}.debug-metrics{display:grid;gap:9px;margin:0;font-size:11px}.debug-metrics>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.debug-metrics dt{color:var(--muted)}.debug-metrics dd{margin:0;font-weight:650;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.debug-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-top:16px}.debug-actions button{pointer-events:auto;min-height:38px;padding:8px 4px;font-size:11px}.debug-actions button[aria-pressed=true]{background:var(--green);color:var(--panel)}.debug-overlay[data-profiler=true]{width:min(650px,calc(100vw - 120px));max-height:calc(100dvh - 220px);display:flex;flex-direction:column}.debug-overlay[data-profiler=true]>.debug-metrics,.debug-overlay[data-profiler=true]>.debug-hint{display:none}.debug-overlay[data-profiler=true]>.debug-actions{margin:0 0 12px;max-width:min(272px,calc(100% - 40px))}.debug-overlay[data-profiler=true]>.debug-heading{position:absolute;top:18px;right:12px;margin:0}.debug-overlay[data-profiler=true]>.debug-heading h2,.debug-overlay[data-profiler=true]>.debug-heading kbd{display:none}.performance-panel:not([hidden]){display:flex;flex-direction:column;min-height:0;overflow:auto;pointer-events:auto;scrollbar-color:var(--muted) transparent;scrollbar-width:thin}.performance-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.performance-heading h3{font-size:15px}.performance-heading button{pointer-events:auto;font-size:11px;min-height:38px}.performance-scroller{pointer-events:auto;overflow:auto;min-height:84px;margin-top:16px;scrollbar-color:var(--muted) transparent;scrollbar-width:thin}.performance-table{width:100%;border-collapse:collapse;font-size:11px;font-variant-numeric:tabular-nums}.performance-table th,.performance-table td{padding:7px 6px;text-align:right;white-space:nowrap;border-bottom:1px solid var(--border)}.performance-table th{color:var(--muted)}.performance-table caption{text-align:left;color:var(--muted);padding-bottom:6px}.performance-notes{margin-top:10px;flex-shrink:0;font-size:11px;color:var(--muted)}.performance-notes summary{cursor:pointer;min-height:24px}.performance-table th:first-child,.performance-table td:first-child{text-align:left}.performance-metrics{grid-template-columns:1fr 1fr;column-gap:24px}@media(max-width:760px){.debug-overlay[data-profiler=true]{width:min(650px,calc(100vw - 86px));max-height:calc(100dvh - 380px)}.performance-metrics{grid-template-columns:1fr;gap:5px}.performance-heading button{min-height:44px}.performance-panel .performance-extra{display:none}.performance-notes .debug-hint{font-size:10px}.performance-scroller{min-height:176px}.performance-table th,.performance-table td{padding:7px 4px}}@media(max-height:660px)and (min-width:761px){.debug-overlay[data-profiler=true]{max-height:calc(100dvh - 130px)}}.debug-hint{color:var(--muted);margin-top:10px;font-size:11px}body[data-editing=true] #debug-overlay{visibility:hidden}@media(max-width:1150px){.debug-overlay{left:18px}}@media(max-width:760px){.debug-overlay{top:210px;left:12px;width:min(272px,calc(100vw - 86px));padding:12px}.debug-actions button{min-height:44px}body:has(#panel:not(.collapsed)) #debug-overlay,body[data-building=true] #debug-overlay{visibility:hidden}}@media(max-height:660px)and (min-width:761px){.debug-overlay{top:108px;padding:12px}body[data-debug=true] #journey{visibility:hidden}.debug-heading{margin-bottom:8px}.debug-metrics{gap:5px}.debug-metrics>div:nth-child(3),.debug-metrics>div:nth-child(4),.debug-metrics>div:last-child{display:none}.debug-actions{margin-top:12px}}.tab{position:relative}.tab-hotkey{position:absolute;top:5px;right:5px;font-size:10px;padding:0 3px;line-height:1.3;border-color:currentColor;color:inherit}#build-strip.build-shelf{left:0;right:0;bottom:max(24px,env(safe-area-inset-bottom));transform:none;margin-inline:auto;width:min(1080px,calc(100vw - 208px));max-width:none;display:flex;flex-direction:column;align-items:stretch;flex-wrap:nowrap;gap:6px;padding:10px 12px;border-radius:16px;background:#f7faf49e;box-shadow:0 6px 24px #1533221f;font-size:12px}#build-strip.build-shelf[hidden],#build-status[hidden]{display:none}#build-strip.build-shelf>div{min-width:0;width:100%}.build-shelf-tools{display:flex;align-items:center;gap:8px}.build-inventory-filter{width:112px;min-height:44px;padding:6px 8px;border:0;background:#f7faf4e0;font-size:12px}.build-snap{display:flex;gap:6px;align-items:center;white-space:nowrap;font-size:12px;min-height:44px;margin-right:auto;color:#173727}.build-snap input{margin:0;accent-color:var(--green);width:16px;height:16px}.build-shelf-tools>button{min-height:44px;padding:6px 12px;font-size:12px}.build-shelf-tools>.build-tool-icon{width:44px;min-width:44px;flex-shrink:0;padding:0;background:#f7faf4e0}.build-shelf-tools>button[aria-pressed=true]{background:var(--green);color:var(--panel-solid)}.build-inventory-items{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;padding:2px 2px 4px;scroll-snap-type:x proximity}.build-inventory-item{flex:0 0 112px;min-width:0;min-height:100px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:2px;padding:4px 8px 6px;text-align:left;border:1.5px solid transparent;background:#f7faf4c7;border-radius:12px;scroll-snap-align:start}.build-inventory-item[hidden]{display:none}.build-inventory-item[aria-pressed=true]{background:#e4eedbf0;border-color:#648952}.build-item-visual{height:46px;flex-shrink:0;display:grid;grid-template:minmax(0,1fr) / minmax(0,1fr);place-items:center;color:#59764b}.build-item-visual img{width:100%;height:100%;min-width:0;min-height:0;object-fit:contain}.build-item-name{font-size:12px;line-height:1.4}.build-item-stock{font-size:11px;color:#73500f;font-variant-numeric:tabular-nums}.build-item-stock.owned{color:#34532d}.build-inventory-empty{padding:20px 0;color:#173727}#build-strip #build-status{position:absolute;bottom:calc(100% + 8px);left:0;max-width:min(42ch,100%);padding:6px 10px;border-radius:8px;background:#f7faf4eb;color:var(--text);font-size:12px}#build-strip #build-status[data-valid=false]{color:#913d30}body[data-building=true] #minimap{display:none}body[data-building=true] #toasts{bottom:calc(var(--build-shelf-height, 280px) + 40px)}#panel[data-surface=seeds],#panel[data-surface=market]{width:min(620px,calc(100vw - 148px))}.seed-summary{display:flex;align-items:center;justify-content:space-between;gap:12px}.seed-summary>strong{color:var(--gold);font-variant-numeric:tabular-nums}.seed-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.seed-card{position:relative;display:flex;flex-direction:column;justify-content:flex-start;gap:5px;min-width:0;padding:10px 8px 12px;min-height:130px;background:#edf3e8;border:1.5px solid transparent;border-radius:12px}.seed-card[aria-pressed=true]{border-color:#648952;background:#e4eedb}.seed-card.seed-locked{opacity:1;background:#eef2e9;color:var(--muted)}.seed-card.seed-locked .seed-visual{opacity:.65}.seed-visual{display:grid;grid-template:minmax(0,1fr) / minmax(0,1fr);place-items:center;flex-shrink:0;width:100%;height:66px;color:#59764b}.seed-visual img{width:100%;height:100%;min-width:0;min-height:0;object-fit:contain}.seed-name{font-size:12px;line-height:1.4}.seed-card-state{display:flex;align-items:center;justify-content:center;gap:4px;font-size:11px;line-height:1.4}.seed-card-state>span{overflow-wrap:anywhere}.market-card{min-height:158px}.market-card:disabled{opacity:1;color:var(--text)}.market-card:disabled .seed-visual{opacity:.65}.market-card-metrics{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 8px;width:100%;font-size:11px;font-weight:650;font-variant-numeric:tabular-nums}.market-price,.market-quantity{display:flex;align-items:center;gap:4px}.market-price{color:var(--gold)}.market-quantity,.market-card .seed-card-state{color:var(--muted)}.market-in-demand{border-color:#648952;background:#e4eedb}.market-in-demand .seed-card-state{color:#496841;font-weight:650}.seed-detail{background:#edf3e8;padding:20px;border-radius:12px}.seed-detail-heading{display:flex;align-items:center;gap:10px;margin-bottom:18px}.seed-detail-heading h3{margin:0;font-size:22px;letter-spacing:-.035em}.seed-detail-heading>span:first-child{color:#68874d}.seed-selected{margin-left:auto;font-size:11px;font-weight:650;color:#496841}.seed-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 16px;margin:0}.seed-metrics dt{color:var(--muted);font-size:11px}.seed-metrics dd{margin:5px 0 0;font-size:20px;font-weight:750;letter-spacing:-.025em;font-variant-numeric:tabular-nums}.seed-status{color:var(--muted);font-size:11px;line-height:1.5;margin-top:18px}.seed-bulk{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.seed-bulk[hidden]{display:none}.seed-bulk button{font-size:12px;padding:8px 4px}.farm-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 12px;margin:0 0 12px}.farm-summary dt{color:var(--muted);font-size:11px}.farm-summary dd{margin:5px 0 0;font-size:21px;font-weight:750;font-variant-numeric:tabular-nums}.farm-style-choices{display:grid;gap:10px}.farm-style-choice{display:flex;justify-content:flex-start;gap:12px;padding:18px;background:#edf3e8;border:1.5px solid transparent}.farm-style-choice[aria-pressed=true]{border-color:#648952;background:#e4eedb}.farm-style-swatches{margin-left:auto;display:flex;gap:5px}.farm-style-swatches i{width:24px;height:24px;border-radius:6px}@media(max-width:1100px){#panel[data-surface=seeds],#panel[data-surface=market]{width:min(560px,calc(100vw - 108px))}#build-strip.build-shelf{width:calc(100vw - 116px)}}@media(max-width:760px){#build-strip.build-shelf{width:calc(100vw - 24px);bottom:max(12px,env(safe-area-inset-bottom));padding:8px 10px}.build-shelf-tools{gap:4px}.build-inventory-filter{width:100px}.build-snap{gap:4px}.build-shelf-tools>button{padding-inline:10px}.build-shelf-tools>.build-tool-icon{padding:0}body[data-building=true] #toasts{bottom:calc(var(--build-shelf-height, 300px) + 24px)}#panel[data-surface=seeds],#panel[data-surface=market]{inset:120px 12px 14px;width:auto;z-index:14}.seed-grid{gap:7px}.market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.seed-card{min-height:116px;padding:8px 4px}.seed-visual{height:50px}.seed-name{font-size:11px}.seed-card-state{font-size:10px;gap:3px}.seed-detail{padding:16px}.seed-detail-heading{margin-bottom:14px}.seed-detail-heading h3{font-size:20px}.seed-metrics{gap:14px 10px}.seed-metrics dt{font-size:10px}.seed-metrics dd{font-size:17px}.seed-bulk{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:360px){.build-inventory-filter{flex:0 0 72px;width:72px;padding-inline:6px}.build-snap{gap:4px}.build-shelf-tools>.primary{flex:0 0 48px;padding-inline:6px}}@media(max-height:660px){.build-item-visual{height:36px}.build-inventory-item{min-height:90px}}.economic-action{position:absolute;top:88px;left:50%;transform:translate(-50%);z-index:9;width:min(280px,calc(100vw - 32px));display:grid;grid-template-columns:1fr auto auto;gap:6px 12px;align-items:center;padding:10px 14px;background:var(--panel);border-radius:12px;box-shadow:var(--shadow)}.economic-action[hidden]{display:none}.economic-action-time{color:var(--muted);font-variant-numeric:tabular-nums}.economic-action-cancel{padding:4px;min-width:28px}.economic-action progress{grid-column:1 / -1;width:100%;height:4px;border:0;border-radius:4px;overflow:hidden;accent-color:var(--green)}.economic-action progress::-webkit-progress-bar{background:var(--border)}.economic-action progress::-webkit-progress-value{background:var(--green)}.economic-action progress::-moz-progress-bar{background:var(--green)}.inventory-balances{display:flex;gap:20px;font-weight:700;font-variant-numeric:tabular-nums;margin-bottom:16px}#panel[data-surface=inventory] .panel-body{gap:12px}.inventory-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}.inventory-category{display:flex;align-items:center;gap:8px;min-width:0;font-size:12px;color:var(--muted)}.inventory-category-select{min-width:0;width:100%;font-size:12px;color:var(--text)}.inventory-summary{display:grid;justify-items:end;gap:3px}.inventory-summary .inventory-balances{margin:0;gap:8px;font-size:12px}.inventory-summary .resource-name{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.inventory-count{margin:0;font-size:11px;font-variant-numeric:tabular-nums}.inventory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.inventory-item{position:relative;display:grid;grid-template-rows:78px auto;align-content:start;gap:8px;padding:12px 8px;min-width:0;min-height:132px;text-align:center;background:var(--catalogue-shelf, #edf3e8);border-color:transparent;border-radius:12px}.inventory-item[aria-pressed=true]{background:#e4eedb;border-color:#648952}.inventory-item,.inventory-detail-actions button{-webkit-tap-highlight-color:transparent}.inventory-visual{display:grid;place-items:center;min-width:0;color:var(--muted)}.inventory-visual img{width:100%;height:78px;object-fit:contain}.inventory-item-name{font-size:12px;line-height:1.4;overflow-wrap:anywhere}.inventory-item-quantity{position:absolute;top:8px;right:8px;color:var(--text);font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}.inventory-item-state{color:var(--muted);font-size:11px}.inventory-detail{position:fixed;inset:auto;box-sizing:border-box;width:min(272px,calc(100vw - 16px));max-height:calc(100dvh - 16px);overflow-y:auto;margin:0;padding:14px;border:0;border-radius:12px;background:var(--panel);color:var(--text);box-shadow:0 8px 28px #152e302b;font-family:inherit}.inventory-detail-heading{display:flex;align-items:baseline;justify-content:space-between;gap:14px}.inventory-detail-heading h3{margin:0;font-size:15px;overflow-wrap:anywhere}.inventory-detail-quantity{font-size:16px;font-variant-numeric:tabular-nums}.inventory-facts{display:grid;gap:6px;margin:12px 0;font-size:12px}.inventory-facts>div{display:flex;justify-content:space-between;gap:14px}.inventory-facts dt{color:var(--muted)}.inventory-facts dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}.inventory-detail-actions{display:flex;flex-direction:column;gap:3px}.inventory-detail-actions button{width:100%;min-height:44px;padding:10px;border:0;border-radius:7px;background:transparent;color:var(--text);text-align:left;font-size:13px}.inventory-detail-actions button:hover,.inventory-detail-actions button:focus-visible{background:var(--button-hover)}.inventory-detail>.note{margin:10px 0;font-size:12px;line-height:1.5}@media(max-width:360px){.inventory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.inventory-empty{padding:40px 12px;display:grid;justify-items:center;gap:12px;text-align:center}.inventory-empty .note{margin:0}.inventory-pagination{display:flex;justify-content:space-between;margin-top:20px}.remote-player-label{position:absolute;z-index:7;transform:translate(-50%,-100%);display:flex;flex-direction:column;align-items:center;gap:5px;max-width:min(240px,calc(100vw - 24px));pointer-events:none}.remote-player-name,.remote-typing{color:#fff;text-shadow:0 1px 3px #000,0 0 2px #000;font-size:12px;font-weight:650;white-space:nowrap}.remote-typing{font-size:11px}.remote-chat-bubble{padding:9px 12px;border-radius:12px;background:#f7faf4f5;color:var(--text);font-size:12px;line-height:1.5;overflow-wrap:anywhere;text-align:center;max-height:6em;overflow:hidden;box-shadow:0 4px 12px #263e321a}.remote-player-label[hidden],.remote-chat-bubble[hidden],.remote-typing[hidden]{display:none}#scene:focus-visible{outline:none}.social-location{display:flex;gap:12px;align-items:center;margin-bottom:16px}.social-location .note{margin-left:auto;font-variant-numeric:tabular-nums}.social-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}.social-farms{display:grid}.trade-field{display:grid;gap:6px;margin:16px 0}.trade-field input,.trade-field select{width:100%}.trade-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:16px 0;border-bottom:1px solid var(--border)}.trade-row .grow{min-width:100px;display:grid;gap:4px}.trade-price{font-variant-numeric:tabular-nums}[aria-label="Farm invitation link"]{width:100%;margin-top:12px}@media(max-width:700px){.economic-action{top:136px}}.resource-amount{display:inline-flex;align-items:center;gap:6px;font-variant-numeric:tabular-nums}.resource-amount svg{color:var(--gold);flex:none}.resource-name{font-size:12px;font-weight:400;color:var(--muted)}.modal.sale-review{width:min(500px,calc(100vw - 24px))}.sale-review-rows{display:grid;margin:18px 0;max-height:min(40vh,350px);overflow-y:auto}.sale-review-row{display:grid;grid-template-columns:76px 1fr auto;align-items:center;gap:14px;padding:10px 0}.sale-review-row+.sale-review-row{border-top:1px solid var(--border)}.sale-review-visual{display:grid;place-items:center;height:58px}.sale-review-visual img{width:88px;height:60px;object-fit:contain}.sale-review-quantity{display:grid;gap:2px;font-variant-numeric:tabular-nums}.sale-review-quantity strong{font-size:26px;line-height:1.2;letter-spacing:-.025em}.sale-review-quantity span{color:var(--muted)}.sale-review-reward{display:grid;gap:6px;text-align:right}.sale-review-total{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:18px 0;border-top:1px solid var(--border-strong)}.sale-review-total .resource-amount strong{font-size:24px}.sale-review-status{margin:6px 0 16px;color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}@media(max-width:480px){.sale-review-row{grid-template-columns:56px 1fr auto;gap:10px}.sale-review-visual img{width:64px}.sale-review-quantity strong{font-size:23px}}.modal-backdrop.conversation-backdrop{place-items:end center;padding:20px;background:transparent}.modal.visitor-dialogue{width:min(920px,100%);max-height:48dvh;padding:24px 28px;border-radius:16px}.dialogue-body{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:32px;align-items:center}.visitor-dialogue h2{margin-bottom:8px;font-size:21px}.dialogue-speech{max-width:52ch;line-height:1.7;font-size:15px;margin:0}.dialogue-request{display:grid;grid-template-columns:42px auto;align-items:center;gap:10px 12px}.dialogue-quantity{display:grid;gap:2px}.dialogue-quantity strong{font-size:24px;font-variant-numeric:tabular-nums}.dialogue-quantity span{color:var(--muted)}.dialogue-rewards{display:flex;grid-column:1 / -1;flex-wrap:wrap;gap:16px}.dialogue-options{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:12px}.dialogue-status{margin:18px 0 0;font-size:12px;color:var(--muted)}@media(max-width:760px){.modal-backdrop.conversation-backdrop{padding:12px}.modal.visitor-dialogue{padding:20px;max-height:56dvh}.dialogue-body{grid-template-columns:minmax(0,1fr);gap:14px}.dialogue-request{grid-template-columns:36px 1fr auto;gap:8px}.dialogue-quantity strong{font-size:20px}.dialogue-rewards{grid-column:auto;gap:10px;flex-direction:column}.dialogue-speech{font-size:13px;line-height:1.6}.dialogue-options>button{flex:1 1 auto}}body[data-conversation=open] #journey{visibility:hidden}.room-chat{position:absolute;z-index:12;left:24px;bottom:max(24px,env(safe-area-inset-bottom));width:min(340px,calc(100vw - 110px));color:var(--text);pointer-events:none}.room-chat[hidden]{display:none}.chat-header{display:flex;align-items:center;gap:8px;min-height:36px}.chat-header button{pointer-events:auto;min-height:36px}.chat-open{background:#f7faf4e0;font-size:12px}.chat-open kbd{font-size:10px;color:var(--muted)}.chat-room-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650}.room-chat[data-log-visible=true]{padding:12px;border-radius:16px;background:#f7faf4e0;box-shadow:0 14px 40px #15332233}.chat-log{list-style:none;padding:0;margin:10px 0 0;max-height:min(200px,28dvh);overflow-y:auto;scrollbar-color:#9db39c transparent;scrollbar-width:thin;pointer-events:auto}.room-chat[data-log-visible=false] .chat-log{display:none}.chat-message{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;margin:0 0 10px;font-size:12px;line-height:1.5}.chat-sender{font-weight:700;overflow-wrap:anywhere}.chat-text{grid-column:1 / -1;grid-row:2;overflow-wrap:anywhere;unicode-bidi:plaintext}.chat-time{grid-column:2;grid-row:1;color:var(--muted);font-size:10px;font-variant-numeric:tabular-nums}.chat-delivery{color:var(--muted);grid-column:1 / -1;font-size:11px}.chat-failed .chat-delivery{color:var(--danger, #a43b32)}.chat-message button{justify-self:start;pointer-events:auto}.chat-empty{color:var(--muted);font-size:12px}.chat-compose{display:flex;align-items:center;gap:6px;margin-top:12px;pointer-events:auto}.chat-compose[hidden],.chat-header [hidden]{display:none}.chat-input{min-width:0;width:100%;min-height:40px;border:1px solid var(--border-strong);border-radius:8px;padding:8px 10px;background:var(--panel, #f7faf4);color:var(--text);caret-color:var(--green);font:inherit;font-size:13px}.chat-send{flex:none}body[data-chat-visible=true] #minimap,body[data-chat-focused=true] #touch-stick,body[data-chat-focused=true] #jump{visibility:hidden}body[data-building=true] .room-chat,body:has(#panel:not(.collapsed)) .room-chat,body:has(.modal-backdrop) .room-chat{display:none}@media(max-width:760px){.room-chat{left:12px;bottom:max(258px,env(safe-area-inset-bottom));width:min(310px,calc(100vw - 86px))}body[data-chat-focused=true] .room-chat{bottom:max(12px,env(safe-area-inset-bottom));width:calc(100vw - 24px)}.chat-header button,.chat-send{min-height:44px}.chat-input{font-size:16px;min-height:44px}.chat-log{max-height:min(150px,23dvh)}}@media(prefers-reduced-motion:no-preference){.room-chat[data-log-visible=true]{animation:chat-reveal .18s ease-out}@keyframes chat-reveal{0%{opacity:.65;transform:translateY(5px)}to{opacity:1;transform:none}}}.feedback-form{display:grid;gap:14px}.feedback-field{display:grid;gap:6px;font-weight:650}.feedback-field input,.feedback-field textarea,.feedback-field select{width:100%;min-width:0}.feedback-field textarea{resize:vertical;min-height:100px}.feedback-actions,.feedback-history-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.feedback-history-heading{margin-top:10px}.feedback-history-heading h3{margin:0}.feedback-history{display:grid}.feedback-report{padding:14px 0;border-top:1px solid var(--border)}.feedback-report-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.feedback-report-heading strong{overflow-wrap:anywhere}.feedback-report-heading .badge{flex-shrink:0}.feedback-report-details,.feedback-resolution{margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.feedback-status:empty{display:none}.feedback-actions [hidden]{display:none}.feedback-field textarea:focus-visible{outline:3px solid #bd8822;outline-offset:3px}.club-toolbar,.club-actions,.club-share{display:flex;align-items:center;justify-content:space-between;gap:8px}.club-content{display:grid;gap:16px}.club-name{margin:0;font-size:24px;letter-spacing:-.035em;overflow-wrap:anywhere}.club-form{display:grid;gap:10px}.club-form+.club-form{padding-top:16px;border-top:1px solid var(--border)}.club-field{display:grid;gap:6px;font-weight:650}.club-field input{width:100%;min-width:0}.club-share input{min-width:0;flex:1}.club-actions{flex-wrap:wrap;justify-content:flex-start}.club-member{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 0;border-top:1px solid var(--border)}.club-member-identity{display:grid;grid-template-columns:20px minmax(0,1fr);gap:3px 8px}.club-member-identity svg{grid-row:span 2;align-self:center}.club-member-identity strong{overflow-wrap:anywhere}.club-member-identity .note{grid-column:2}.club-member-action{max-width:132px;min-width:0}.club-directory-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid var(--border)}.club-directory-row strong{overflow-wrap:anywhere}.club-directory-row .note{flex-shrink:0}.club-manage .club-form{margin-top:12px}.club-status:empty,#panel[data-surface=clubs] button[hidden]{display:none}@media(max-width:420px){.club-member{gap:8px}.club-member-action{max-width:105px}}.club-identity{display:flex;align-items:center;gap:12px}.club-identity .club-name{margin:0;min-width:0;overflow-wrap:anywhere}.club-badge{display:grid;place-items:center;width:48px;height:48px;flex:none;border-radius:12px;background:#e3ecd8;color:#244c3a}.club-pages{display:flex;gap:6px;flex-wrap:wrap;margin:4px 0 0}.club-pages button{flex:1;min-width:76px}.club-section{display:grid;gap:12px}.club-section h3{margin:12px 0 0}.club-badges{display:flex;gap:8px;flex-wrap:wrap}.club-badges button{display:grid;place-items:center;min-width:44px;min-height:44px}.club-badges button[aria-pressed=true]{background:#244c3a;color:#fff}.social-inbox-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.social-inbox-status:empty{display:none}.social-inbox{display:grid;gap:16px}.social-invitation{padding:16px 0;border-bottom:1px solid #d8e2d3}.social-invitation-heading{display:flex;gap:12px;align-items:center}.social-invitation-heading .grow{min-width:0;overflow-wrap:anywhere}.social-invitation-heading h3{margin:0 0 5px}.social-invitation-heading p{margin:0}.social-invitation-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}#panel[data-surface=player-social] button[hidden]{display:none}.chat-channel{pointer-events:auto;width:auto;max-width:120px;min-height:36px;padding:4px 8px;font-size:12px}@media(max-width:600px){.chat-channel{min-height:44px}}.quest-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:16px}.quest-toolbar select{flex:1;min-width:0}.quest-detail{display:grid;gap:12px}.quest-name{margin:0;font-size:24px;line-height:1.2;letter-spacing:-.025em}.quest-guide{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}.quest-giver-badge{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#e3ecd8;color:var(--green)}.quest-detail .note{margin:0}.quest-progress-numbers{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-variant-numeric:tabular-nums}.quest-progress-numbers strong{font-size:20px}.quest-progress{width:100%;height:8px;border:0;border-radius:8px;overflow:hidden;background:#e3ecd8;accent-color:var(--green)}.quest-progress::-webkit-progress-bar{background:#e3ecd8}.quest-progress::-webkit-progress-value{background:var(--green);border-radius:8px}.quest-progress::-moz-progress-bar{background:var(--green)}.quest-rewards{display:flex;flex-wrap:wrap;gap:12px;font-variant-numeric:tabular-nums}.quest-groups{display:grid;gap:24px;margin-top:24px}.quest-group-title{margin:0 0 8px;font-size:16px}.quest-group .note{margin:0}.quest-list{display:grid}.quest-row{display:flex;align-items:center;gap:12px;padding:12px 8px;border:0;border-top:1px solid var(--border);border-radius:0;text-align:left;background:transparent}.quest-row[aria-pressed=true]{background:#e3ecd8}.quest-row .grow{display:grid;gap:4px;min-width:0}.quest-row strong{overflow-wrap:anywhere}.quest-status:empty{display:none}.quest-conversation-list{display:grid;margin-top:16px}.quest-conversation-row{display:flex;align-items:center;gap:12px;border-top:1px solid var(--border);padding:8px 0}.quest-conversation-view{flex:1;display:flex;gap:12px;align-items:center;text-align:left;min-width:0;border:0;padding:8px 0}.quest-conversation-view .grow{display:grid;gap:4px}.quest-conversation-view strong{font-size:13px;overflow-wrap:anywhere}.quest-conversation-reward{font-size:12px;font-variant-numeric:tabular-nums}@media(max-width:760px){.quest-conversation-row{flex-wrap:wrap;gap:8px}.quest-conversation-view{flex-basis:100%}}.quest-toolbar button[hidden]{display:none}.quest-conversation:focus-visible{outline:3px solid #bd8822;outline-offset:3px}.social-pages{display:flex;gap:6px;margin:16px 0}.social-pages button{flex:1;padding:8px 6px;min-width:0;font-size:12px}.social-pages button[aria-pressed=true]{background:#e3ecd8}.social-add-friend{display:grid;gap:10px;margin-bottom:12px}.social-add-friend .field{display:grid;justify-content:stretch;gap:6px;font-weight:650}.social-content>h3{margin:24px 0 8px}.social-person{display:grid;gap:12px;padding:16px 0;border-top:1px solid var(--border)}.social-person-heading{display:flex;align-items:center;gap:12px}.social-person-heading .grow{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}.social-person-badge{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:12px;background:#e3ecd8;color:var(--green)}.social-person-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.social-person-manage{width:auto;min-width:100px}.social-retry[hidden]{display:none}.social-add-friend .field>input[type=text]{width:100%;max-width:none;min-width:0}.building-picker{display:grid;gap:6px;margin-bottom:16px;font-size:12px;font-weight:650}.building-picker select{width:100%;min-width:0}.building-empty{display:grid;gap:12px}.building-empty>svg{color:var(--green)}.building-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:16px;align-items:center}.building-preview{display:grid;place-items:center;height:144px;min-width:0}.building-preview canvas{width:100%;height:100%;touch-action:pan-y}.building-preview>svg{color:var(--green)}.building-numbers{margin:0;display:grid;gap:10px;font-variant-numeric:tabular-nums}.building-numbers>div{display:flex;justify-content:space-between;gap:12px}.building-numbers dt{font-size:12px;color:var(--muted)}.building-numbers dd{margin:0;font-weight:750}.building-status{margin:12px 0 8px;font-weight:650;font-size:13px}.building-progress{width:100%;height:8px;border:0;background:#e3ecd8;accent-color:var(--green);border-radius:8px;overflow:hidden}.building-progress::-webkit-progress-bar{background:#e3ecd8}.building-progress::-webkit-progress-value{background:var(--green)}.building-progress::-moz-progress-bar{background:var(--green)}.building-pages{display:flex;gap:8px;margin:16px 0}.building-pages button{flex:1}.building-pages button[aria-pressed=true]{background:#e3ecd8}.building-hen{display:flex;align-items:center;gap:8px;padding:12px 0;border-bottom:1px solid var(--border)}.building-hen img{width:68px;height:52px;object-fit:contain;flex:none}.building-hen .grow{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}.building-hen .grow strong{font-size:13px}.building-hen select{max-width:120px;min-width:0;font-size:12px}.building-management .field{display:grid;gap:6px;justify-content:stretch;font-size:12px;font-weight:650}.building-management .field>input:not([type=range]):not([type=color]),.building-management .field>select{width:100%;max-width:none}.building-management form{display:grid;gap:12px}.building-management h3{margin:24px 0 4px}.building-supplies{display:grid;gap:12px}.building-management [hidden],.building-empty[hidden],.building-picker[hidden],.building-management[hidden]{display:none}@media(max-width:480px){.building-hero{gap:8px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.building-preview{height:128px}.building-hen{flex-wrap:wrap}.building-hen select{flex-basis:100%;max-width:none}}.building-hen-visual{display:grid;place-items:center;width:68px;height:52px;flex:none;color:var(--green)}.marketplace-field{display:grid;gap:6px;font-weight:650;min-width:0}.marketplace-field>input,.marketplace-field>select{width:100%;max-width:none;min-width:0}.marketplace-sell{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}.marketplace-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.marketplace-refresh{display:flex;align-items:center;justify-content:space-between;gap:8px}.marketplace-refresh p{margin:0}.marketplace-offer{display:grid;grid-template-columns:56px minmax(0,1fr)}.marketplace-offer .grow{min-width:0;overflow-wrap:anywhere}.marketplace-preview{width:56px;height:56px;display:grid;place-items:center;background:var(--button-wash,#edf3e8);border-radius:12px}.marketplace-preview img{width:100%;height:100%;object-fit:contain}.marketplace-terms{grid-column:2;display:flex;justify-content:space-between;align-items:center;gap:8px;font-variant-numeric:tabular-nums}.marketplace-status{margin:0}#panel[data-surface=trading] .panel-body>*{flex-shrink:0}#panel[data-surface=trading] [hidden]{display:none}@media(max-width:480px){.marketplace-sell{grid-template-columns:minmax(0,1fr)}}.marketplace-filters summary{cursor:pointer;padding:10px 0;font-weight:650}.marketplace-filters .marketplace-tools{padding-top:8px}#journey[hidden]{display:none}.performance-graph{display:block;width:100%;height:56px;margin-top:12px;flex-shrink:0}.performance-section{margin-top:10px;flex-shrink:0;font-size:11px;pointer-events:auto}.performance-section summary{cursor:pointer;min-height:24px}.performance-slow{margin:4px 0 0;padding-left:18px;font-variant-numeric:tabular-nums}.world-anchor,#interact.world-anchor{position:absolute;inset:0 auto auto 0;transition:background .15s ease,color .15s ease}.building-manage-prompt{position:absolute;z-index:8;min-height:32px;padding:6px 10px;border-radius:8px;background:var(--panel);color:var(--text);font-size:11px;box-shadow:0 4px 12px #263e321a}.building-manage-prompt[hidden]{display:none}.modal.visitor-dialogue{display:flex;flex-direction:column;width:min(760px,100%);height:min(260px,32dvh);padding:16px 20px;background:#f7faf4c7;box-shadow:0 8px 24px #15332224;overflow:hidden}.visitor-dialogue .dialogue-body,.visitor-dialogue .quest-conversation-list{flex:1;min-height:0;overflow-y:auto;scrollbar-gutter:stable;overscroll-behavior:contain}.visitor-dialogue .dialogue-body{align-items:start;gap:20px}.visitor-dialogue>.dialogue-copy{flex:none}.visitor-dialogue .dialogue-status{flex:none;height:2.4em;margin-top:8px;overflow-y:auto}.visitor-dialogue .dialogue-options{flex:none;margin-top:6px;gap:6px}.visitor-dialogue h2{font-size:18px;margin-bottom:6px}.dialogue-nameplate{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;margin-bottom:8px;padding-bottom:8px;border-bottom:1px solid var(--border)}.visitor-dialogue .dialogue-nameplate h2{margin:0}.dialogue-role{color:var(--text);font-size:12px}.visitor-dialogue .dialogue-speech{font-size:14px;line-height:1.5}.visitor-dialogue .dialogue-options>button{min-height:34px;padding:6px 10px;font-size:12px}.visitor-dialogue .dialogue-status,.visitor-dialogue .dialogue-quantity span,.visitor-dialogue .resource-name,.visitor-dialogue .quest-conversation-view .note{color:var(--text)}@media(max-width:760px){.modal.visitor-dialogue{height:min(310px,46dvh);padding:14px 16px}.visitor-dialogue .dialogue-body{gap:10px}.visitor-dialogue .dialogue-speech{font-size:13px}.visitor-dialogue .dialogue-options>button{min-height:38px}}.modal.visitor-dialogue.quest-conversation{height:auto;max-height:min(560px,calc(100dvh - 150px));min-height:min(340px,55dvh)}.quest-conversation .quest-conversation-list{flex:1 1 auto;min-height:120px}@media(max-width:760px){.modal.visitor-dialogue.quest-conversation{max-height:calc(100dvh - 130px);min-height:min(380px,60dvh)}.quest-conversation .dialogue-options>button{min-height:44px}}:where(input:not(:where(.noodle-editor *)):not([type=range]):not([type=color]):not([type=checkbox]):not([type=radio]),textarea:not(:where(.noodle-editor *)),select:not(:where(.noodle-editor *))){background:#fdfef9!important;color:var(--text)!important;border:1px solid #b4c4ac!important;border-radius:10px;min-height:42px;padding:10px 12px;box-shadow:inset 0 1px 2px #24413306;transition:border-color .15s ease,background-color .15s ease}input::placeholder,textarea::placeholder{color:#72816d;opacity:1}textarea:focus-visible{outline:3px solid #bd8822;outline-offset:3px}input:disabled,select:disabled,textarea:disabled{opacity:.6;cursor:not-allowed}select:not(:where(.noodle-editor *)){cursor:pointer}.number-field{--number-step-width: 40px;display:grid;grid-template-columns:var(--number-step-width) minmax(0,1fr) var( --number-step-width );align-items:stretch;min-width:0;max-width:100%;width:156px;border:1px solid #b4c4ac;border-radius:10px;background:#fdfef9;overflow:clip}.number-field:focus-within{outline:3px solid #bd8822;outline-offset:3px}.number-field>input[type=number]{min-width:0;width:100%;padding:8px 2px;border:0!important;border-radius:0;outline:none;text-align:center;font-variant-numeric:tabular-nums;box-shadow:none;appearance:textfield;-moz-appearance:textfield}.number-field input::-webkit-inner-spin-button,.number-field input::-webkit-outer-spin-button{appearance:none;margin:0}.number-field>.number-field-step{min-width:0;width:100%;min-height:42px;padding:0;border:0;border-radius:9px;background:transparent;font-size:20px;font-weight:500;box-shadow:none}.number-field-step:hover:not(:disabled){background:#e7efde}.field>.number-field{width:58%;max-width:180px}#panel-header-controls{display:flex;align-items:center;margin-left:14px;margin-right:auto}#panel-header-controls[hidden]{display:none}#panel-header-controls .shop-modes{padding:3px;gap:2px;border-radius:11px;background:#e1eadb}#panel-header-controls button{width:auto;min-height:34px;padding:7px 14px;font-size:11px;letter-spacing:.04em;text-transform:uppercase}@media(max-width:760px){input:not(:where(.noodle-editor *)):not([type=range]):not([type=color]),textarea:not(:where(.noodle-editor *)),select:not(:where(.noodle-editor *)){font-size:16px;min-height:44px}.number-field{--number-step-width: 44px}.number-field>.number-field-step{min-height:44px}#panel-header-controls{margin-left:12px}#panel-header-controls button{min-height:44px;padding-inline:12px}}@media(prefers-reduced-motion:reduce){input,select,textarea{transition:none}}.hat-equipment form{display:grid;gap:16px;margin-top:20px}.hat-equipment label{display:grid;gap:7px;font-weight:650}.hat-equipment select{width:100%;min-width:0;min-height:44px;font:inherit;color:inherit}.hat-equipment-preview{width:min(100%,240px);height:150px;object-fit:contain;justify-self:center}.hat-equipment-actions{display:flex;flex-wrap:wrap;gap:8px}.hat-equipment .note{max-width:60ch}.farmer-studio .universal-hat-row{display:grid;grid-template-columns:68px minmax(0,1fr) auto;align-items:center;gap:12px;padding-block:12px;border-bottom:1px solid #c6d3cd}.farmer-studio .universal-hat-row img{width:68px;height:56px;object-fit:contain}.farmer-studio .universal-hat-row .note{display:block}.farmer-studio .universal-hat-row .wardrobe-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}@media(max-width:480px){.farmer-studio .universal-hat-row{grid-template-columns:48px minmax(0,1fr)}.farmer-studio .universal-hat-row img{width:48px}.farmer-studio .universal-hat-row .wardrobe-actions{grid-column:2;justify-content:flex-start}}.hat-colour-label{display:inline-flex;align-items:center;gap:6px}.hat-colour-swatch{display:inline-block;width:16px;height:16px;border:1px solid currentColor;border-radius:4px;flex-shrink:0}.noodle-editor{color:#253d37;font-synthesis:none;--forest:#244b45;--muted:#60746a;--line:#e3e8df;--mint:#e6eddf;--accent:#cbe4ab;--radius:12px;background:#f7f9f5;font-family:Manrope,sans-serif}.noodle-editor *{box-sizing:border-box}.noodle-editor.transparent-stage{background:0 0}.noodle-editor button,.noodle-editor input,.noodle-editor select{font:inherit}.noodle-editor button{text-align:left;min-height:0;box-shadow:none;justify-content:flex-start;margin:0;padding:0;font-weight:400;line-height:normal;transition:none;display:inline-block}.noodle-editor input,.noodle-editor select{min-height:0;box-shadow:none;margin:0;padding:0;line-height:normal}.noodle-editor input[type=range]{border:0;min-height:0;padding:0}.noodle-editor .brand{box-shadow:none;background:0 0;border-radius:0;padding:0}.noodle-editor button{cursor:pointer}.noodle-editor button:disabled{cursor:wait;opacity:.5}.noodle-editor button,.noodle-editor input,.noodle-editor select{-webkit-tap-highlight-color:transparent}.noodle-editor button:focus-visible,.noodle-editor input:focus-visible,.noodle-editor select:focus-visible,.noodle-editor a:focus-visible{outline-offset:4px;outline:3px solid #719346}.noodle-editor ::selection{color:#fff;background:#3f7666}.noodle-editor input{caret-color:#3f7666}.noodle-editor svg{stroke-width:1.7px;flex-shrink:0;width:20px;height:20px}.noodle-editor button{color:inherit;background:0 0;border:0}.noodle-editor .app-shell{grid-template:82px minmax(0,1fr)/218px minmax(0,1fr);height:100dvh;min-height:680px;display:grid}.noodle-editor .topbar{border-bottom:1px solid var(--line);z-index:4;background:#fff;grid-column:1/-1;align-items:center;gap:48px;padding:0 32px;display:flex}.noodle-editor .brand{color:var(--forest);letter-spacing:-.04em;align-items:center;gap:10px;font-size:30px;font-weight:800;text-decoration:none;display:flex}.noodle-editor .brand-mark{width:34px;height:34px}.noodle-editor .topnav{align-items:center;gap:28px;height:100%;display:flex}.noodle-editor .topnav button{height:100%;color:var(--muted);align-items:center;gap:8px;padding:0 4px;font-size:13px;font-weight:600;display:flex;position:relative}.noodle-editor .topnav button.active{color:var(--forest)}.noodle-editor .topnav button.active:after{content:"";background:var(--forest);border-radius:3px 3px 0 0;height:3px;position:absolute;bottom:0;left:0;right:0}.noodle-editor .topnav .step{border:1px solid #cbd5ca;border-radius:50%;place-items:center;width:21px;height:21px;font-size:10px;display:grid}.noodle-editor .topnav .active .step{background:var(--forest);border-color:var(--forest);color:#fff}.noodle-editor .header-actions{align-items:center;gap:18px;margin-left:auto;display:flex}.noodle-editor .saved{color:var(--muted);align-items:center;gap:6px;font-size:11px;display:flex}.noodle-editor .saved svg{width:15px;height:15px}.noodle-editor .icon-button{border-radius:8px;justify-content:center;align-items:center;padding:9px;display:inline-flex}.noodle-editor .icon-button:hover{background:#edf2e9}.noodle-editor .header-actions .icon-button{border:1px solid var(--line)}.noodle-editor .sidebar{background:var(--forest);color:#edf3e6;flex-direction:column;gap:28px;min-height:0;padding:22px 16px;display:flex}.noodle-editor .category-list{flex-direction:column;gap:7px;min-height:0;display:flex;overflow-y:auto}.noodle-editor .category{text-align:left;color:#c1d3c6;border-radius:10px;align-items:center;gap:13px;padding:15px 14px;display:flex}.noodle-editor .category svg{width:21px;height:21px}.noodle-editor .category strong{font-size:13px;font-weight:600;display:block}.noodle-editor .category small{color:#b3c9ba;margin-top:4px;font-size:10px;display:block}.noodle-editor .category:hover{background:#315950}.noodle-editor .category.active{color:#244b45;background:#d5e8bf}.noodle-editor .category.active small{color:#4c684a}.noodle-editor .sidebar-bottom{flex-shrink:0;margin-top:auto;padding:0 12px}.noodle-editor .reset{color:#d8e5d7;align-items:center;gap:9px;padding:6px 0;font-size:11px;display:flex}.noodle-editor .reset:hover{color:#fff}.noodle-editor .reset svg{width:15px;height:15px}.noodle-editor .workspace{grid-template:minmax(0,1fr) 105px/minmax(300px,1fr) 352px;min-width:0;display:grid}.noodle-editor .stage{isolation:isolate;background:#e8eedf 50%/cover;position:relative;overflow:hidden}.noodle-editor .stage canvas{touch-action:none;width:100%;height:100%;display:block}.noodle-editor .stage-intro{pointer-events:none;z-index:1;position:absolute;top:32px;left:36px}.noodle-editor .stage-intro h1{color:var(--stage-ink,#253d37);letter-spacing:-.035em;margin:0 0 12px;font-size:clamp(24px,2.9vw,40px);font-weight:700;line-height:1.2}.noodle-editor .stage-intro p{color:var(--stage-muted,#5b7261);margin:0;font-size:12px}.noodle-editor .preview-tools{justify-content:space-between;align-items:center;gap:12px;display:flex;position:absolute;bottom:27px;left:28px;right:28px}.noodle-editor .orbit-hint{color:var(--stage-muted,#5b7161);align-items:center;gap:7px;font-size:10px;display:flex}.noodle-editor .orbit-hint svg{width:16px;height:16px}.noodle-editor .view-tools{background:#f7f9f3;border-radius:10px;align-items:center;gap:4px;padding:4px;display:flex;box-shadow:0 3px 12px #244b4510}.noodle-editor .view-tools button{border-radius:7px;padding:8px 10px;font-size:10px;font-weight:600}.noodle-editor .view-tools button.active{background:#dfe9d3}.noodle-editor .view-tools .icon-button{padding:7px}.noodle-editor .view-tools svg{width:15px;height:15px}.noodle-editor .loading{z-index:3;color:var(--stage-ink,#253d37);text-align:center;background:0 0;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:30px;font-size:13px;display:flex;position:absolute;inset:0}.noodle-editor .loading[hidden]{display:none}.noodle-editor .loading .spinner{border:2px solid #bed0ae;border-top-color:var(--forest);border-radius:50%;width:28px;height:28px;animation:1s linear infinite noodle-spin}@keyframes noodle-spin{to{transform:rotate(360deg)}}.noodle-editor .panel{border-left:1px solid var(--line);background:#fff;flex-direction:column;min-width:0;display:flex;overflow:hidden}.noodle-editor .panel-header{border-bottom:1px solid var(--line);padding:31px 27px 24px}.noodle-editor .panel-header h2{letter-spacing:-.025em;margin:0;font-size:19px;font-weight:700}.noodle-editor .panel-header p{color:var(--muted);margin:7px 0 0;font-size:11px;line-height:1.7}.noodle-editor .panel-content{scrollbar-width:thin;scrollbar-color:#c2d0bc transparent;flex:1;padding:26px 27px;overflow-y:auto}.noodle-editor .control-section{margin-bottom:30px}.noodle-editor .control-section:last-child{margin-bottom:0}.noodle-editor .control-section h3{margin:0 0 15px;font-size:12px;font-weight:700}.noodle-editor .swatches{flex-wrap:wrap;gap:10px;display:flex}.noodle-editor .swatch{background:var(--swatch);border:1px solid #00000012;border-radius:50%;width:30px;height:30px;position:relative}.noodle-editor .swatch:hover{transform:scale(1.08)}.noodle-editor .swatch.selected:after{content:"";border:1.5px solid var(--forest);border-radius:50%;position:absolute;inset:-4px}.noodle-editor .swatch.selected svg{width:13px;height:13px;color:var(--check-color,#fff);stroke-width:2.5px;position:absolute;top:7px;left:7px}.noodle-editor .custom-color{color:var(--muted);align-items:center;gap:9px;margin-top:15px;font-size:10px;display:inline-flex}.noodle-editor .custom-color input{cursor:pointer;background:0 0;border:1px solid #d3ddce;border-radius:5px;width:21px;height:21px;padding:0}.noodle-editor .custom-color input::-webkit-color-swatch-wrapper{padding:2px}.noodle-editor .custom-color input::-webkit-color-swatch{border:0;border-radius:3px}.noodle-editor .slider-row{margin-bottom:22px}.noodle-editor .slider-label{justify-content:space-between;align-items:center;margin-bottom:12px;font-size:11px;display:flex}.noodle-editor .slider-label output{color:#52674c;text-align:center;font-variant-numeric:tabular-nums;background:#eff3e9;border-radius:5px;min-width:31px;padding:3px 6px;font-size:10px}.noodle-editor input[type=range]{appearance:none;cursor:pointer;width:100%;height:4px;accent-color:var(--forest);background:#e5ebdf;border-radius:2px;margin:0}.noodle-editor input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:var(--forest);border:3px solid #fff;border-radius:50%;width:14px;height:14px;box-shadow:0 1px 5px #244b4538}.noodle-editor input[type=range]::-moz-range-thumb{background:var(--forest);border:3px solid #fff;border-radius:50%;width:10px;height:10px}.noodle-editor .slider-ends{color:var(--muted);justify-content:space-between;margin-top:8px;font-size:9px;display:flex}.noodle-editor .choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.noodle-editor .choice{color:#596a54;border:1px solid #dde5d6;border-radius:8px;min-height:37px;padding:11px 4px;font-size:10px}.noodle-editor .choice:hover{background:#f4f7f0;border-color:#99b487}.noodle-editor .choice.selected{color:#26483b;background:#e9f1df;border-color:#557851;font-weight:700}.noodle-editor .panel-bottom{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;padding:17px 27px;display:flex}.noodle-editor .shuffle{align-items:center;gap:8px;padding:8px 0;font-size:11px;font-weight:600;display:flex}.noodle-editor .shuffle svg{width:15px;height:15px}.noodle-editor .creation-bar{border-top:1px solid var(--line);background:#fff;grid-column:1/-1;align-items:center;gap:18px;padding:20px 28px 20px 36px;display:flex}.noodle-editor .name-control{flex:1;max-width:310px}.noodle-editor .name-control label{margin-bottom:8px;font-size:10px;font-weight:600;display:block}.noodle-editor .name-input{position:relative}.noodle-editor .name-input input{width:100%;color:var(--forest);background:#fbfcf9;border:1px solid #d9e2d3;border-radius:9px;padding:11px 48px 11px 13px;font-size:12px}.noodle-editor .name-input span{color:var(--muted);font-variant-numeric:tabular-nums;font-size:9px;position:absolute;top:13px;right:12px}.noodle-editor .creation-caption{color:var(--muted);margin-left:auto;font-size:10px;line-height:1.7}.noodle-editor .creation-bar>.primary{margin-left:auto}.noodle-editor .primary{background:var(--forest);color:#f6faef;border-radius:10px;justify-content:center;align-items:center;gap:16px;min-width:174px;padding:16px 22px;font-size:12px;font-weight:600;display:flex}.noodle-editor .primary:hover{background:#35695b}.noodle-editor .primary svg{width:17px;height:17px}.noodle-editor .toast{color:#fff;z-index:10;background:#244b45;border-radius:10px;max-width:calc(100vw - 32px);padding:13px 22px;font-size:12px;position:fixed;bottom:28px;left:50%;transform:translate(-50%);box-shadow:0 8px 28px #244b4520}.noodle-editor .toast[hidden]{display:none}@container noodle (width>=1600px){.noodle-editor .app-shell{grid-template-columns:240px minmax(0,1fr)}.noodle-editor .workspace{grid-template-columns:minmax(0,1fr) 390px}.noodle-editor .panel-header,.noodle-editor .panel-content{padding-left:32px;padding-right:32px}}@container noodle (width<=1150px){.noodle-editor .app-shell{grid-template-columns:174px minmax(0,1fr)}.noodle-editor .workspace{grid-template-columns:minmax(260px,1fr) 310px}.noodle-editor .topbar{gap:32px;padding:0 24px}.noodle-editor .sidebar{padding-left:9px;padding-right:9px}.noodle-editor .category{gap:10px;padding-left:12px}.noodle-editor .category small{font-size:9px}.noodle-editor .stage-intro{top:29px;left:25px}.noodle-editor .stage-intro p{max-width:190px;line-height:1.8}.noodle-editor .panel-header,.noodle-editor .panel-content{padding-left:23px;padding-right:23px}.noodle-editor .creation-caption{display:none}.noodle-editor .creation-bar{justify-content:space-between;padding-left:25px}.noodle-editor .orbit-hint{display:none}.noodle-editor .preview-tools{justify-content:center}.noodle-editor .saved{max-width:120px}}@container noodle (width<=820px){.noodle-editor .app-shell{grid-template:68px 60px auto/1fr;height:auto;min-height:100dvh}.noodle-editor .topbar{gap:20px;padding:0 20px}.noodle-editor .brand{font-size:26px}.noodle-editor .brand-mark{width:29px;height:29px}.noodle-editor .topnav{gap:13px}.noodle-editor .topnav button{gap:5px;font-size:11px}.noodle-editor .topnav .step{display:none}.noodle-editor .header-actions{gap:5px}.noodle-editor .saved{display:none}.noodle-editor .header-actions .icon-button{border:0;padding:7px}.noodle-editor .sidebar{scrollbar-width:none;flex-direction:row;gap:0;padding:8px 15px;overflow-x:auto}.noodle-editor .sidebar-bottom{display:none}.noodle-editor .category-list{flex-direction:row;flex-shrink:0;justify-content:space-between;gap:5px;width:100%;overflow:visible}.noodle-editor .category{border-radius:8px;flex-shrink:0;gap:7px;padding:10px 12px}.noodle-editor .category strong{font-size:11px}.noodle-editor .category small{display:none}.noodle-editor .category svg{width:16px;height:16px}.noodle-editor .workspace{grid-template:430px auto 103px/1fr}.noodle-editor .stage-intro{top:24px;left:24px}.noodle-editor .stage-intro h1{margin-bottom:8px;font-size:27px}.noodle-editor .stage-intro p{max-width:none;font-size:11px}.noodle-editor .preview-tools{justify-content:space-between;bottom:17px;left:20px;right:20px}.noodle-editor .orbit-hint{font-size:9px;display:flex}.noodle-editor .panel{border-left:0;border-top:1px solid var(--line)}.noodle-editor .panel-header{padding:23px 24px 16px}.noodle-editor .panel-header h2{font-size:17px}.noodle-editor .panel-content{grid-template-columns:1fr 1fr;column-gap:28px;padding:22px 24px;display:grid;overflow:visible}.noodle-editor .control-section{margin-bottom:22px}.noodle-editor .control-section h3{font-size:12px}.noodle-editor .panel-bottom{padding:10px 24px}.noodle-editor .creation-bar{z-index:4;grid-column:auto;gap:18px;padding:16px 24px;position:sticky;bottom:0;box-shadow:0 -4px 20px #244b4508}.noodle-editor .name-control{max-width:none}.noodle-editor .primary{min-width:160px;padding:15px 17px}}@container noodle (width<=520px){.noodle-editor .topbar{gap:18px;padding:0 15px}.noodle-editor .topnav{gap:14px}.noodle-editor .topnav button{font-size:10px}.noodle-editor .brand{gap:7px;font-size:25px}.noodle-editor .brand-mark{width:25px;height:25px}.noodle-editor .header-actions{gap:0}.noodle-editor .header-actions .icon-button{padding:6px}.noodle-editor .header-actions svg{width:17px;height:17px}.noodle-editor .category{gap:5px;padding:10px 8px}.noodle-editor .category-list{gap:2px}.noodle-editor .sidebar{padding-left:10px;padding-right:10px}.noodle-editor .workspace{grid-template-rows:400px auto 100px}.noodle-editor .stage-intro h1{font-size:25px}.noodle-editor .stage-intro p{max-width:190px;font-size:10px}.noodle-editor .orbit-hint{max-width:122px;line-height:1.7}.noodle-editor .view-tools button{padding:7px 8px;font-size:9px}.noodle-editor .panel-content{display:block}.noodle-editor .choices{grid-template-columns:repeat(3,1fr)}.noodle-editor .creation-bar{gap:13px;padding:14px 18px}.noodle-editor .primary{gap:9px;min-width:148px;padding:15px 13px;font-size:11px}.noodle-editor .name-input input{padding-right:35px;font-size:11px}.noodle-editor .name-input span{font-size:8px;right:8px}}@media(prefers-reduced-motion:reduce){.noodle-editor *,.noodle-editor :before,.noodle-editor :after{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important}}.noodle-editor{height:100%;min-height:0;container:noodle/inline-size}.noodle-editor .app-shell{height:100%;min-height:0}.noodle-editor .workspace,.noodle-editor .panel-content{min-height:0}.noodle-editor [hidden]{display:none!important}.noodle-editor .toast{position:absolute}.noodle-editor .stage-intro h1{text-wrap:balance}.noodle-editor button:disabled{cursor:not-allowed}.noodle-editor .wardrobe-balance{color:var(--muted);margin:0 0 18px;font-size:12px}.noodle-editor .wardrobe-row{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:14px 0;display:flex}.noodle-editor .wardrobe-row .grow{flex:1;min-width:0}.noodle-editor .wardrobe-row strong{font-size:12px;display:block}.noodle-editor .wardrobe-row .note{color:var(--muted);margin-top:5px;font-size:11px;display:block}.noodle-editor .wardrobe-actions{gap:6px;display:flex}.noodle-editor .wardrobe-actions button{background:#edf2e9;border-radius:8px;min-height:38px;padding:9px 10px;font-size:11px}.noodle-editor .wardrobe-actions button.primary{background:var(--forest);color:#fff;min-width:0}.noodle-editor .wardrobe-actions button.selected{outline:2px solid var(--forest)}@container noodle (width<=820px){.noodle-editor .app-shell{grid-template:60px 60px minmax(0,1fr)/1fr;height:100%;min-height:0}.noodle-editor .workspace{grid-template:minmax(180px,.85fr) minmax(0,1fr) 88px/1fr}.noodle-editor .panel-content{padding:18px 22px;display:block;overflow-y:auto}.noodle-editor .panel-header{padding:13px 22px 10px}.noodle-editor .panel-bottom{padding:7px 22px}.noodle-editor .creation-bar{padding:12px 18px;position:static}.noodle-editor .stage-intro{top:16px;left:20px}.noodle-editor .stage-intro h1{margin-bottom:6px;font-size:25px}.noodle-editor .preview-tools{bottom:12px}.noodle-editor .topbar{gap:12px;padding:0 15px}.noodle-editor .brand{white-space:nowrap;gap:7px;font-size:20px}.noodle-editor .brand-mark{width:24px;height:24px}.noodle-editor .topnav{gap:10px}.noodle-editor .topnav button{font-size:10px}.noodle-editor .icon-button{min-height:38px}.noodle-editor .name-input input{min-height:42px}}@container noodle (width<=520px){.noodle-editor .brand-mark{display:none}.noodle-editor .category{min-height:44px}.noodle-editor .swatch{width:34px;height:34px}.noodle-editor .swatch.selected svg{top:9px;left:9px}.noodle-editor .choice{min-height:44px;font-size:11px}.noodle-editor .control-section h3{font-size:13px}.noodle-editor .slider-label,.noodle-editor .custom-color{font-size:12px}.noodle-editor .slider-row{margin-bottom:24px}.noodle-editor .slider-ends{font-size:10px}.noodle-editor .stage-intro p{max-width:200px}.noodle-editor .creation-bar .primary{min-width:130px}}.noodle-editor button.swatch:hover:not(:disabled){background:var(--swatch)}.noodle-editor button.category:hover:not(:disabled){background:#315950}.noodle-editor button.category.active:hover:not(:disabled){background:#d5e8bf}.noodle-editor button.primary:hover:not(:disabled){background:#35695b}.noodle-editor button.choice:hover:not(:disabled){background:#f4f7f0}.noodle-editor .wardrobe-actions button{text-align:center}.farmer-studio #farmer-creation-form>.name-control:not(.farmer-name-control){display:none}.farmer-name-backdrop{position:absolute;inset:0;z-index:20;display:grid;place-items:center;padding:20px;background:#15332261}.farmer-studio.noodle-editor .farmer-name-dialog{width:min(100%,440px);max-height:calc(100dvh - 40px);overflow-y:auto;padding:28px;border-radius:16px;background:#f7faf4;color:#244133;box-shadow:0 14px 40px #15332233}.farmer-studio.noodle-editor .farmer-name-dialog h2{margin:0 0 24px;font-size:24px;line-height:1.25}.farmer-studio.noodle-editor .farmer-name-control{width:100%;max-width:none;min-width:0}.farmer-name-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px;margin-top:24px}.farmer-studio.noodle-editor .farmer-name-actions button{min-height:44px;padding:10px 14px}.farmer-studio.noodle-editor .farmer-name-heading{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:6px}.farmer-studio.noodle-editor .farmer-name-heading label{margin:0;color:var(--forest);font-size:12px;font-weight:650}.farmer-studio.noodle-editor .farmer-name-count{color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}.farmer-studio.noodle-editor .farmer-name-input{width:100%;min-height:44px;padding:10px 14px;border:1px solid #9db39c;border-radius:8px;background:#f7faf4;color:#244133;caret-color:#244c3a;text-align:center;font:inherit;font-size:16px}.farmer-studio.noodle-editor .farmer-name-input::placeholder{color:#576c5d;opacity:1}.farmer-studio.noodle-editor .farmer-name-input:focus-visible{outline:2px solid #bd8822;outline-offset:2px}.farmer-studio.noodle-editor .farmer-name-input::selection{background:#d5e8bf;color:#244133}.farmer-studio.noodle-editor .farmer-name-help{min-height:17px;margin:6px 0 0;color:#425b50;font-size:11px;line-height:1.5;text-align:center}.farmer-studio.noodle-editor .invalid .farmer-name-input{border-color:#a43b32}.farmer-studio.noodle-editor .invalid .farmer-name-help{color:#a43b32}.employee-team,.employee-applicants{min-width:0}.employee-team [hidden],.employee-applicants [hidden]{display:none!important}.employee-pages{margin-bottom:16px}.employee-roster{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-color:var(--green) var(--button-wash);padding:4px 4px 12px;margin:0 -4px 16px}.employee-roster button{display:flex;flex-direction:column;align-items:center;gap:5px;flex:0 0 96px;min-width:96px;padding:8px 6px;text-align:center;scroll-snap-align:start;font-size:11px;line-height:1.3;overflow-wrap:anywhere}.employee-roster .character-portrait{width:48px;height:48px}.employee-roster button>span:not(.character-portrait):not(.employee-roster-activity){min-height:2.6em;white-space:normal}.employee-roster button[aria-pressed=true]{background:var(--green);color:var(--panel);border-color:var(--green)}.employee-roster-activity{font-size:11px;font-weight:500;opacity:.8}.employee-detail .employee-heading{display:flex;gap:12px;align-items:center}.employee-heading-copy{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:10px;row-gap:3px;min-width:0}.employee-detail .employee-heading h3{margin:0;font-size:19px;line-height:1.25}.employee-phase{color:var(--muted);font-size:11px;font-weight:650}.employee-activity{margin:10px 0 12px;color:var(--text);font-size:12px;line-height:1.5}.employee-facts{display:flex;margin:0 0 18px;padding-bottom:14px;border-bottom:1px solid var(--border);gap:28px}.employee-facts>div{display:flex;gap:8px;align-items:baseline}.employee-facts dt{color:var(--muted);font-size:11px}.employee-facts dd{margin:0;font-size:14px;font-weight:750;font-variant-numeric:tabular-nums}.employee-progress{display:block;width:100%;margin:-6px 0 16px}.employee-assignment{display:grid;gap:12px;min-width:0}.employee-settings{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.employee-field{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;min-width:0;color:var(--muted);font-size:11px;font-weight:650}.employee-field select{width:100%;min-width:0;max-width:100%;font-size:12px}.employee-budget{display:grid;grid-template-columns:minmax(0,156px) minmax(0,1fr);gap:16px;align-items:end}.employee-budget .number-field{width:156px;max-width:100%}.employee-charge{display:grid;gap:7px;min-width:0;padding-bottom:10px}.employee-charge span{font-size:11px;color:var(--muted)}.employee-charge strong{font-size:14px;line-height:1.3;font-variant-numeric:tabular-nums}.employee-wage{margin:1px 0 -3px;font-size:11px;font-weight:650;color:var(--muted)}.employee-terms{margin:0;font-size:11px;line-height:1.55}.employee-authorize{width:100%;min-height:44px}.employee-options{margin-top:16px;border-top:1px solid var(--border);padding-top:12px}.employee-options summary{width:fit-content;padding:4px 0;cursor:pointer;color:var(--muted);font-size:11px;font-weight:650}.employee-controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.employee-controls button{flex:1;font-size:11px}.employee-controls .employee-dismiss{color:var(--red)}.employee-hiring-terms{margin:0 0 12px;line-height:1.6}.employee-applicants .employee-applicant{display:grid;grid-template-columns:40px minmax(0,1fr);column-gap:12px;padding:16px 0;border-top:1px solid var(--border);align-items:center}.employee-applicants .employee-applicant .character-portrait{width:40px;height:40px}.employee-applicant-copy{min-width:0}.employee-applicants .employee-applicant h3{margin:0 0 4px;font-size:14px}.employee-applicants .employee-applicant .note{margin:0;font-size:11px;line-height:1.5}.employee-applicants .employee-applicant>button{grid-column:2;justify-self:start;margin-top:10px;min-height:40px}.employee-no-applicants{padding:18px 0;border-top:1px solid var(--border)}.employee-message{margin:12px 0 0;color:var(--muted);font-size:11px;line-height:1.5}.employee-message:empty,.employee-availability[hidden]{display:none}.employee-message[data-state=error]{color:var(--red)}.employee-availability{margin-top:16px}@media(max-width:420px){.employee-budget{grid-template-columns:minmax(0,156px) minmax(0,1fr);gap:12px}.employee-facts{gap:20px}}.employee-detail .employee-heading .character-portrait{width:56px;height:56px}.employee-detail{container-type:inline-size}@container (max-width: 260px){.employee-budget{grid-template-columns:minmax(0,1fr);gap:10px}.employee-charge{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-bottom:0}}@container (max-width: 240px){.employee-settings{grid-template-columns:minmax(0,1fr)}}.character-portrait{display:grid;place-items:center;flex:none;width:56px;height:56px;overflow:hidden;border-radius:12px;background:var(--selected-wash, #e3ecd8);color:var(--green)}.character-portrait img{display:block;width:100%;height:100%;object-fit:contain}.employee-heading{display:flex;align-items:center;gap:12px;margin:12px 0}.employee-heading h3{margin:0;overflow-wrap:anywhere}.employee-heading .character-portrait{width:72px;height:72px}.employee-applicant{display:grid;grid-template-columns:56px minmax(0,1fr);gap:10px 12px;align-items:center;padding:14px 0}.employee-applicant h3{margin:0;overflow-wrap:anywhere}.employee-applicant>button{grid-column:2;justify-self:start;max-width:100%;white-space:normal}.modal.marketplace-listing{width:min(560px,100%);padding:24px}.listing-item-heading{display:flex;align-items:center;gap:16px;margin-bottom:20px}.listing-item-heading>div{min-width:0}.listing-item-heading h2{margin:0 0 4px;overflow-wrap:anywhere}.listing-item-heading p{margin:0}.listing-item-preview{display:grid;place-items:center;flex:0 0 76px;width:76px;height:76px;background:var(--button-wash, #edf2e7);border-radius:12px}.listing-item-preview img{width:76px;height:76px;object-fit:contain}.listing-fields{display:grid;grid-template-columns:minmax(156px,1fr) minmax(0,1.2fr) minmax(0,1fr);gap:12px}.listing-fields .trade-field{grid-template-columns:minmax(0,1fr);min-width:0;margin:0}.listing-fields .number-field{width:100%}.listing-feedback{display:grid;grid-template-columns:minmax(0,1fr);align-content:center;min-height:84px;margin-top:16px;padding-top:12px;border-top:1px solid var(--border, #d8e2d3)}.listing-settlement{display:flex;justify-content:space-between;gap:16px;margin:0;font-variant-numeric:tabular-nums}.listing-settlement dt{color:var(--muted, #576c5d);font-size:12px}.listing-settlement dd{margin:4px 0 0;font-size:17px;font-weight:700}.listing-settlement>div:last-child{text-align:right}.listing-form-status{margin:0;line-height:1.5}.listing-form-status:empty{display:none}.listing-comparables{margin-top:24px;padding-top:20px;border-top:1px solid var(--border, #d8e2d3)}.listing-comparables-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.listing-comparables h3{font-size:15px;margin:0}.listing-comparables>p{margin:8px 0}.listing-offers{max-height:170px;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#9db39c #edf2e7;scrollbar-width:thin}.listing-comparable{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--border, #d8e2d3);font-variant-numeric:tabular-nums}.listing-comparable>div{display:grid;gap:2px;min-width:0}.listing-comparable .note{overflow-wrap:anywhere}.listing-comparable>strong{text-align:right}.marketplace-listing input{caret-color:#244c3a}.marketplace-listing ::selection{background:#e3ecd8;color:#244133}@media(max-width:480px){.modal.marketplace-listing{padding:20px}.listing-fields{grid-template-columns:1fr 1fr}.listing-fields .trade-field:first-child{grid-column:1 / -1}.listing-item-heading{gap:12px}.listing-item-preview,.listing-item-preview img{width:64px;height:64px}.listing-item-preview{flex-basis:64px}}.listing-comparables>button[hidden],.listing-settlement[hidden]{display:none}#panel[data-surface=trading] .panel-body{gap:14px}#panel[data-surface=trading] .marketplace-pages{margin:0;align-items:center}#panel[data-surface=trading] .marketplace-pages>button:last-child{margin-left:auto;flex:0 0 auto}#panel[data-surface=trading] .marketplace-discovery{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-items:end}#panel[data-surface=trading] [data-market-page=selling] .marketplace-discovery{grid-template-columns:minmax(280px,1.25fr) minmax(150px,1fr) minmax(120px,.55fr)}#panel[data-surface=trading] .marketplace-sell{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}#panel[data-surface=trading] .marketplace-field{font-size:12px;gap:5px}#panel[data-surface=trading] .marketplace-field>:is(input,select){min-height:42px;margin:0}#panel[data-surface=trading] .marketplace-sell>button{min-height:42px;white-space:nowrap;padding:8px 12px}#panel[data-surface=trading] .marketplace-filters{margin:-4px 0;width:auto;min-width:0;border:0}#panel[data-surface=trading] .marketplace-filters summary{margin:0;padding:6px 0;font-size:12px;min-height:32px}#panel[data-surface=trading] .marketplace-tools{grid-template-columns:repeat(3,minmax(0,1fr));padding:8px 0}#panel[data-surface=trading] .marketplace-refresh{padding:0 0 12px;border-top:0;gap:12px;align-items:baseline}#panel[data-surface=trading] .marketplace-refresh .marketplace-status{text-align:right;max-width:60ch}#panel[data-surface=trading] .marketplace-status:empty{display:none}#panel[data-surface=trading] .marketplace-field>span{color:var(--muted)}#panel[data-surface=trading] .marketplace-field ::selection{color:#244133;background:#e3ecd8}@media(max-width:1100px){#panel[data-surface=trading] [data-market-page=selling] .marketplace-discovery{grid-template-columns:minmax(0,1fr) minmax(120px,.5fr)}#panel[data-surface=trading] .marketplace-sell{grid-column:1 / -1}}@media(max-width:760px){#panel[data-surface=trading] .marketplace-discovery{gap:10px}#panel[data-surface=trading] .marketplace-pages button{flex:1;min-height:44px;padding:8px 12px}#panel[data-surface=trading] .marketplace-pages>button:last-child{padding:8px 10px}#panel[data-surface=trading] .marketplace-field>:is(input,select),#panel[data-surface=trading] .marketplace-sell>button{min-height:44px}#panel[data-surface=trading] .marketplace-refresh{display:grid;gap:5px}#panel[data-surface=trading] .marketplace-refresh .marketplace-status{text-align:left}}#panel[data-surface=trading] [hidden]{display:none!important}@media(max-width:760px){#panel[data-surface=trading] .marketplace-filters summary{min-height:44px;padding:10px 0}}.leaderboard-tabs{display:flex;gap:6px;flex-wrap:wrap}.leaderboard-tabs button{display:inline-flex;align-items:center;gap:6px;min-height:40px}.leaderboard-tabs button[aria-selected=true]{background:var(--green);border-color:var(--green);color:var(--panel)}.leaderboard-status{margin:12px 0 8px}.leaderboard-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}.leaderboard-list li{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--border);border-radius:12px;background:var(--panel-solid);font-variant-numeric:tabular-nums}.leaderboard-list li.you{border-color:var(--border-strong);box-shadow:inset 4px 0 0 var(--green)}.leaderboard-list li.leaderboard-empty{display:block;color:var(--muted)}.leaderboard-rank{font-weight:750;color:var(--muted)}.leaderboard-list li:nth-child(-n+3) .leaderboard-rank{color:var(--gold)}.leaderboard-who{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;min-width:0}.leaderboard-who strong{overflow-wrap:anywhere}.leaderboard-who .note{flex-basis:100%;font-size:12px}.leaderboard-ribbon{display:inline-flex;align-items:center;gap:3px;padding:1px 7px;border-radius:999px;border:1px solid var(--gold);color:var(--gold);font-size:11px;font-weight:700}.leaderboard-value{font-weight:700;white-space:nowrap}.leaderboard-own{margin:10px 0 0;color:var(--muted);font-size:13px}#panel[data-surface=trading],#panel[data-surface=buildings]{width:min(940px,calc(100vw - 148px));top:106px;bottom:32px}#panel[data-surface=land]{width:min(540px,calc(100vw - 148px))}#panel:is([data-surface=trading],[data-surface=buildings]) .panel-heading{padding:18px 24px}#panel:is([data-surface=trading],[data-surface=buildings]) .panel-heading h2{font-size:27px}.marketplace-intro{display:flex;align-items:center;gap:16px}.marketplace-intro>svg{color:var(--green);flex:none}.marketplace-intro>div{flex:1;min-width:0}.marketplace-intro h3{margin:0 0 4px;font-size:21px}.marketplace-intro p{margin:0}.marketplace-pages{margin:8px 0 0}.marketplace-pages button{flex:0 1 160px;min-height:44px}.marketplace-discovery{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:start}.marketplace-discovery>.marketplace-field{align-self:start}.marketplace-filters{min-width:140px}.marketplace-filters summary{margin-top:18px}.marketplace-filters[open]{width:340px}.marketplace-tools{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.marketplace-refresh{padding:12px 0;border-block:1px solid var(--border)}.trade-list.marketplace-catalogue{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}.trade-row.marketplace-offer{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:14px;border:1px solid var(--border);border-radius:14px;background:var(--panel)}.marketplace-offer .marketplace-preview{width:100%;height:144px;border-radius:10px;background:#edf3e8;overflow:hidden}.marketplace-offer .marketplace-preview img{width:100%;height:144px;min-width:0;min-height:0;object-fit:contain}.marketplace-offer .grow{display:grid;gap:4px}.marketplace-item-name{font-size:16px;line-height:1.35}.marketplace-offer .marketplace-terms{margin-top:auto;gap:12px}.marketplace-price-copy{display:grid;gap:4px}.marketplace-price-copy .trade-price{font-size:18px;color:var(--green)}.marketplace-terms button{min-height:42px;padding:8px 14px}.marketplace-status{font-size:13px;color:var(--muted)}.marketplace-catalogue[aria-busy=true]{opacity:.65}.building-management{display:grid;grid-template-columns:minmax(200px,.85fr) minmax(0,1.4fr);gap:32px;container-type:inline-size}.building-overview{min-width:0}.building-management .building-name{margin:0 0 16px;font-size:21px}.building-overview .building-hero{display:flex;flex-direction:column;align-items:stretch;gap:20px}.building-overview .building-preview{height:240px;background:#edf3e8;border-radius:14px}.building-overview .building-numbers{gap:0}.building-overview .building-numbers>div{padding:12px 0;border-bottom:1px solid var(--border)}.building-overview .building-numbers dd{font-size:18px}.building-workspace{min-width:0}.building-workspace .building-pages{margin:0 0 20px}.building-workspace .building-pages button{min-height:44px}.building-workspace .building-hen{padding:16px 0}.building-workspace .building-hen .grow strong{font-size:15px}.building-workspace :is(.building-adopt,.building-assign,.building-rename,.building-feed){margin-top:20px;padding-top:20px;border-top:1px solid var(--border);grid-template-columns:repeat(2,minmax(0,1fr))}.building-workspace form>:is(h3,button){grid-column:1 / -1}.building-workspace form h3{margin:0 0 4px;font-size:18px}.building-workspace :is(.building-rename,.building-feed,.building-assign){grid-template-columns:minmax(0,1fr)}.building-workspace button{min-height:44px}.farm-overview{margin:8px 0;padding:20px 0;border-block:1px solid var(--border)}.farm-overview h3{margin:0 0 16px;font-size:21px;overflow-wrap:anywhere}.farm-land-facts{display:grid;gap:12px;margin:0 0 16px}.farm-land-facts>div{display:flex;justify-content:space-between;gap:16px}.farm-land-facts dt{color:var(--muted)}.farm-land-facts dd{margin:0;font-weight:750;font-variant-numeric:tabular-nums}.farm-overview button{width:100%;min-height:44px}@media(max-width:1100px){#panel[data-surface=trading],#panel[data-surface=buildings]{right:84px;width:calc(100vw - 108px)}}@media(max-width:760px){#panel[data-surface=trading],#panel[data-surface=buildings]{inset:120px 12px 14px;width:auto;z-index:14}#panel[data-surface=land]{inset:120px 74px 110px 12px;width:auto}#panel:is([data-surface=trading],[data-surface=buildings]) .panel-heading{padding:12px 16px}#panel:is([data-surface=trading],[data-surface=buildings]) .panel-heading h2{font-size:22px}.marketplace-intro{flex-wrap:wrap;gap:12px}.marketplace-intro>svg{display:none}.marketplace-intro h3{font-size:18px}.marketplace-intro>button{width:auto;min-height:44px}.marketplace-intro p{display:none}.marketplace-discovery{grid-template-columns:minmax(0,1fr);gap:0}.marketplace-filters[open]{width:auto}.marketplace-filters summary{margin-top:0}.marketplace-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.marketplace-catalogue .marketplace-preview,.marketplace-offer .marketplace-preview img{height:128px}.building-management{grid-template-columns:minmax(0,1fr);gap:24px}.building-overview .building-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:center}.building-overview .building-preview{height:150px}.building-overview .building-numbers dd{font-size:15px}.building-overview .building-numbers>div{padding:8px 0;gap:8px;flex-wrap:wrap}}@media(prefers-reduced-motion:no-preference){.marketplace-terms button{transition:background-color .15s,transform .15s cubic-bezier(.16,1,.3,1)}.marketplace-terms button:active{transform:scale(.97)}}#panel[data-surface=upgrades] .panel-body{gap:0}.shop-modes{display:flex;gap:4px;align-items:center}.shop-modes button{font-size:13px;font-weight:700}.shop-modes button[aria-pressed=true]{background:var(--green);color:var(--panel)}.shop-crop-preview{display:block;width:100%;height:100%;object-fit:contain;padding:14px}.shop-growing-details{color:var(--muted);font-size:12px}.shop-growing-details summary{cursor:pointer}.shop-growing-details p{margin:8px 0 0}.shop-action-slot>[data-sell-all]{padding:6px 8px;min-height:36px;font-size:11px}@media(max-width:760px){.shop-modes button{font-size:12px}.shop-catalogue .shop-browsing{padding-bottom:8px}.shop-catalogue .shop-item{min-height:124px}.shop-catalogue .shop-item-visual{height:50px}.shop-catalogue .shop-stage{height:76px}.shop-catalogue .shop-info{padding-top:12px;gap:6px}.shop-catalogue .shop-description{line-height:1.45}.shop-catalogue .shop-purchase{padding-top:8px;gap:8px}}.shop-bulk{color:var(--muted);font-size:12px}.shop-bulk summary{cursor:pointer}.shop-bulk-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}@media(max-width:760px){.shop-catalogue .shop-info>h3,.shop-catalogue .shop-info>.shop-owned{order:0}.shop-catalogue .shop-info>.number-field{order:1}.shop-catalogue .shop-info>.shop-purchase{order:2}.shop-catalogue .shop-info>.shop-description{order:3}.shop-catalogue .shop-info>button{order:4}.shop-catalogue .shop-info>details{order:5}.shop-catalogue .shop-info>.shop-model-credits{order:6}}.shop-catalogue [hidden]{display:none!important}.shop-catalogue .shop-filters{height:56px;flex:0 0 56px;overflow-y:hidden}.shop-catalogue .shop-list-summary{display:grid;grid-template-columns:minmax(0,1fr) 120px 136px;align-items:center;gap:8px;min-height:48px}.shop-catalogue .shop-availability{min-width:0}.shop-action-slot{min-width:0;height:36px}.shop-action-slot>button{width:100%;height:36px;white-space:nowrap}.shop-action-slot.is-inactive{visibility:hidden;pointer-events:none}@media(max-width:760px){.shop-catalogue .shop-filters{height:50px;flex-basis:50px}.shop-catalogue .shop-list-summary{grid-template-columns:minmax(0,1fr) 92px 112px;gap:6px;min-height:44px}.shop-catalogue .shop-availability{font-size:11px}}#minimap[role=button]{cursor:pointer}#minimap[role=button]:focus-visible{outline:3px solid var(--focus, #bd8822);outline-offset:3px}#panel[data-surface=world-map]{width:min(660px,calc(100vw - 148px))}.world-map-workspace{display:grid;gap:16px}.world-map-workspace>p{margin:0}.world-map-current{display:flex;align-items:center;gap:10px;font-weight:650}.world-map-current>span{min-width:0;overflow-wrap:anywhere}.world-map-current>svg{flex-shrink:0}.valley-atlas{position:relative;min-height:300px;background:#e5efdf;border-radius:14px;overflow:hidden}.valley-routes{position:absolute;inset:0;width:100%;height:100%}.valley-routes path{fill:none;stroke:#9db39c;stroke-width:3;stroke-dasharray:5 8;stroke-linecap:round}.world-map-place{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:16px;min-height:108px;color:#244133;background:#f7faf4;border:none;border-radius:12px;text-align:center;overflow-wrap:anywhere;transition:background .15s ease,transform .15s ease}.world-map-place:hover:not(:disabled){background:#dfead4;transform:translateY(-2px)}.world-map-place[aria-current=location]{background:#244c3a;color:#f7faf4;opacity:1}.world-map-place:disabled:not([aria-current=location]){opacity:.65}.world-map-place:focus-visible,.world-map-directory-head button:focus-visible{outline:3px solid #bd8822;outline-offset:3px}.world-map-place-action{font-size:12px}.valley-home,.valley-village,.valley-casino{position:absolute;width:38%;max-width:190px}.valley-home{left:5%;top:8%}.valley-village{right:5%;top:8%}.valley-neighbors{position:absolute;right:8%;bottom:16px;font-size:12px;color:#576c5d}.world-map-status{min-height:20px}.world-map-directory-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.world-map-directory-head h3{margin:0}.world-map-farms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.world-map-farms>.note{grid-column:1 / -1;margin:0}.world-map-farms .world-map-place{background:#edf3e8}.world-map-farms .world-map-place[aria-current=location]{background:#244c3a}@media(max-width:760px){#panel[data-surface=world-map]{width:auto}.valley-atlas{min-height:250px}.world-map-place{padding:12px 8px}.world-map-place strong{font-size:13px}.world-map-farms{grid-template-columns:minmax(0,1fr)}}@media(prefers-reduced-motion:reduce){.world-map-place{transition:none}.world-map-place:hover:not(:disabled){transform:none}}.valley-casino{left:29%;bottom:20px}.valley-neighbors{right:14px;bottom:12px;max-width:22%;text-align:right}.valley-atlas{min-height:340px}@media(max-width:760px){.valley-atlas{min-height:290px}.valley-casino{left:25%;width:50%;bottom:36px}.valley-neighbors{max-width:none;right:12px;bottom:10px}}.valley-racetrack{position:absolute;right:5%;bottom:36px;width:38%;max-width:190px}.valley-casino{left:5%;bottom:36px}.valley-neighbors{max-width:none;right:14px;bottom:10px}@media(max-width:760px){.valley-racetrack{bottom:36px;width:43%;right:4%}.valley-casino{left:4%;width:43%}}.valley-pub{grid-column:1 / -1;width:min(240px,100%);justify-self:center}.valley-atlas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:22px;min-height:420px}.valley-atlas .world-map-place{position:relative;inset:auto;width:100%;max-width:none}.valley-atlas .valley-pub{grid-column:1 / -1;width:min(280px,100%);justify-self:center}.valley-atlas .valley-neighbors{position:relative;inset:auto;grid-column:1 / -1;justify-self:center}.valley-routes{pointer-events:none}@media(max-width:760px){.valley-atlas{gap:12px;padding:14px}.valley-atlas .world-map-place{padding:12px;min-height:100px}}
