@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;650;700;750;800&family=Noto+Sans+JP:wght@400;500;600;700&display=swap');
:root{font-family:'DM Sans','Noto Sans JP',sans-serif;color:#25334e;background:#e7edf6;font-synthesis:none;--blue:#3268ef;--muted:#8390a5;--line:#e9edf3;--shadow:0 8px 30px #354b7620,0 2px 6px #40567708}*{box-sizing:border-box}body{margin:0}button,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.48}button,select,a{-webkit-tap-highlight-color:transparent}button:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #739fff;outline-offset:3px}button{transition:background .18s,transform .18s}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}.topbar{height:82px;background:#fafcffed;border-bottom:1px solid #fff;display:flex;align-items:center;justify-content:space-between;padding:0 30px;position:relative;z-index:10}.brand{color:inherit;text-decoration:none;display:flex;gap:13px;align-items:center;font-size:19px;font-weight:800;letter-spacing:-.7px;line-height:1.2}.brand b{font-weight:500}.brand small{display:block;color:#8793a8;font-size:11px;font-weight:500;letter-spacing:2px;margin-top:7px}.brand-symbol{position:relative;background:var(--blue);color:white;font-size:28px;letter-spacing:-3px;width:43px;height:45px;border-radius:12px;display:grid;place-items:center;box-shadow:0 6px 12px #3268ef40;transform:rotate(-5deg)}.brand-symbol span{font-size:18px;position:absolute;right:3px;top:0}.island-name{display:flex;gap:11px;align-items:center;font-size:14px;font-weight:700}.island-name small{display:block;font-size:10px;letter-spacing:1.5px;font-weight:500;margin-top:5px;color:var(--muted)}.island-mark{font-size:13px;background:#e9efff;border:1px solid #d2defa;border-radius:9px;padding:9px;color:var(--blue)}.top-actions{display:flex;align-items:center;gap:20px}.weather{font-size:14px;color:#6b7a91}.weather>span:first-child{color:#edb440;font-size:24px;vertical-align:middle;margin-right:4px}.weather-temp{margin-left:10px}.avatar{width:36px;height:36px;background:#e0e9fb;color:#5476b6;display:grid;place-items:center;font-weight:700;border:3px solid white;border-radius:50%}.icon-button{border:1px solid #e0e6f0;color:#8996aa;background:white;width:28px;height:28px;border-radius:50%;font-weight:600}.game{position:relative;height:calc(100dvh - 82px);min-height:620px;overflow:hidden}#viewport{position:absolute;inset:0}#viewport canvas{display:block;width:100%;height:100%;touch-action:none}.stats{position:absolute;left:26px;top:24px;display:flex;gap:10px}.stat{display:flex;align-items:center;gap:13px;background:#ffffffee;border:1px solid white;border-radius:14px;padding:14px 20px 14px 14px;min-width:176px;box-shadow:var(--shadow)}.stat-icon{display:grid;place-items:center;border-radius:11px;height:43px;width:43px;font-size:27px}.coin{color:#d89a29;background:#fff5db}.blue{color:var(--blue);background:#eaf0ff}.green{color:#42a877;background:#e6f7ee}.stat div>span{font-size:12px;color:#7c899f;display:block;margin-bottom:4px}.stat strong{font-size:23px;line-height:1;font-weight:750;letter-spacing:-.5px}.stat small{font-size:12px;font-weight:500;color:#8d98aa;letter-spacing:0}.panel{position:absolute;width:308px;right:25px;top:24px;max-height:calc(100% - 118px);background:#ffffffef;border:1px solid white;box-shadow:var(--shadow);border-radius:18px;overflow:auto;scrollbar-width:thin;padding:21px 20px 0;backdrop-filter:blur(18px)}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:700;color:#8190a6}h1{font-size:18px;margin:7px 0 0;font-weight:700;letter-spacing:.4px}.panel-number{font-size:13px;background:#edf2ff;color:#557cd1;border-radius:9px;padding:9px}.panel-tabs{display:flex;gap:5px;background:#f0f3f8;border-radius:10px;padding:4px;margin-bottom:22px}.panel-tabs button{flex:1;border:0;background:transparent;color:#7b899e;border-radius:7px;padding:9px 1px;font-size:13px;font-weight:600}.panel-tabs button[aria-selected=true]{background:white;color:#30405a;box-shadow:0 2px 6px #3444650c}.panel-tabs span{font-size:10px;background:#e5ebf5;border-radius:4px;padding:1px 5px;margin-left:3px}.section-label{font-size:13px;font-weight:600;display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.section-label>span{font-size:10px;font-weight:400;color:#93a0b0}.crop-list{display:grid;gap:8px}.crop-card{display:flex;align-items:center;width:100%;gap:11px;text-align:left;background:#fff;border:1px solid #e6ebf2;border-radius:11px;padding:11px;color:inherit}.crop-card:hover{background:#f5f8ff}.crop-card.selected{border-color:#7196f5;background:#f0f5ff;box-shadow:0 0 0 2px #3268ef08}.crop-art{height:41px;width:41px;background:#f5f7fb;border-radius:9px;display:grid;place-items:center;font-size:26px;line-height:1}.crop-info{flex:1}.crop-info strong{display:block;font-size:13px;margin-bottom:4px;font-weight:600}.crop-info small{font-size:10px;color:#91a0b3}.crop-price{font-size:14px;font-weight:700}.crop-price small{font-size:10px;color:#90a0b5;font-weight:400}.selected-plot{border-top:1px solid var(--line);margin-top:20px;padding-top:17px}.plot-heading{display:flex;gap:9px;align-items:center}.plot-icon{font-size:26px;color:#91a7c6}h2{font-size:14px;margin:4px 0 0;font-weight:600}.plot-heading .eyebrow{font-size:9px;letter-spacing:1px}.pill{font-size:10px;white-space:nowrap;margin-left:auto;border-radius:5px;background:#eef2f7;color:#7d8ca3;padding:4px 6px}.pill.ready{background:#e3f7e9;color:#39976d}.selected-plot p{font-size:12px;color:#8491a5;line-height:1.8;margin:13px 0}.primary-button{background:var(--blue);color:white;border:0;border-radius:9px;width:100%;padding:12px 8px;font-size:13px;font-weight:600;box-shadow:0 4px 9px #3268ef17}.primary-button:hover:not(:disabled){background:#2459db}.primary-button:disabled{background:#edf1f7;color:#8290a8;opacity:1;box-shadow:none}.plot-picker{display:flex;align-items:center;gap:8px;margin:15px 0;font-size:10px;color:#8c99ad}.plot-picker select{min-width:0;flex:1;border:1px solid #e6ebf3;background:#fff;border-radius:5px;padding:5px;color:#75849b;font-size:10px}.panel-footer{border-top:1px solid var(--line);margin-top:18px;min-height:41px;display:flex;justify-content:center;align-items:center;gap:6px;font-size:10px;color:#94a0b0}.save-dot,.live-dot{width:5px;height:5px;border-radius:50%;background:#79b5a4;display:inline-block}.camera-controls{position:absolute;right:348px;top:24px;display:flex;flex-direction:column;gap:2px;padding:5px;background:#fff;border:1px solid white;border-radius:11px;box-shadow:var(--shadow)}.camera-controls button{border:0;background:transparent;font-size:20px;color:#697992;width:33px;height:35px;border-radius:6px}.camera-controls button:hover{background:#edf3ff;color:var(--blue)}.camera-controls>span{height:1px;background:#edf0f5;margin:2px 3px}.goal-card{position:absolute;bottom:88px;left:26px;background:#ffffffec;border:1px solid white;box-shadow:var(--shadow);border-radius:14px;padding:16px 18px;width:270px}.goal-top{display:flex;align-items:center;gap:10px}.goal-icon{color:var(--blue);background:#eef3ff;border-radius:8px;font-size:23px;width:35px;height:37px;display:grid;place-items:center}.goal-top h2{font-size:12px}.goal-top .eyebrow{font-size:8px}.goal-top>span:last-child{font-size:10px;margin-left:auto;color:#9aa5b7}.goal-card p{font-size:10px;color:#8592a6;margin:13px 0 12px}.goal-progress{height:4px;border-radius:2px;background:#eaf0f7}.goal-progress span{display:block;height:100%;width:16%;background:var(--blue);border-radius:2px;transition:width .3s}.tool-dock{position:absolute;bottom:22px;left:calc((100% - 320px)/2);transform:translateX(-50%);display:flex;gap:5px;align-items:center;background:#ffffffed;border:1px solid white;box-shadow:var(--shadow);padding:7px;border-radius:15px;backdrop-filter:blur(12px)}.tool-dock button{display:flex;align-items:center;gap:7px;white-space:nowrap;padding:12px 15px;border:0;border-radius:10px;background:transparent;color:#8b97aa}.tool-dock button>span{font-size:23px;line-height:1}.tool-dock b{font-size:12px;font-weight:600}.tool-dock button.active{background:#edf3ff;color:var(--blue)}.tool-dock button:hover{background:#f0f4fa}.tool-dock kbd{font-family:inherit;font-size:9px;color:#a1b0c3;background:#fff;border:1px solid #e8edf5;padding:1px 4px;border-radius:3px}.tool-dock>div{height:25px;width:1px;background:#e7ebf2;margin:0 3px}.world-caption{position:absolute;left:29px;bottom:34px;display:flex;align-items:center;gap:8px;font-size:10px;color:#7e8fa9}.caption-divider{color:#b1bdcf;margin:0 2px}.camera-hint{position:absolute;bottom:27px;right:27px;font-size:10px;color:#92a1b9;margin:0}.camera-hint span{margin:0 6px}.growth-copy{display:flex;justify-content:space-between;font-size:10px;color:#7f90a7;margin:12px 0 5px}progress{width:100%;height:5px;border:0;border-radius:5px;margin-bottom:14px;overflow:hidden}progress::-webkit-progress-bar{background:#edf1f6}progress::-webkit-progress-value{background:#66b491}progress::-moz-progress-bar{background:#66b491}.inventory-row{display:flex;align-items:center;gap:11px;padding:14px 0;border-bottom:1px solid var(--line);font-size:13px}.inventory-row>div:nth-child(2){flex:1}.inventory-row small{display:block;color:#8a98ac;font-size:10px;margin-top:5px}.market-total{display:flex;justify-content:space-between;align-items:center;margin:25px 0;font-size:12px}.market-total strong{font-size:28px}.market-total small{font-size:13px;color:#93a0b4}.panel-note{font-size:11px;line-height:1.9;color:#8a97aa}.inventory-empty{padding:25px 0;color:#9ba6b7;font-size:12px;line-height:1.8}#toast{position:absolute;left:calc((100% - 320px)/2);bottom:97px;transform:translate(-50%,10px);background:#24344beF;color:white;border-radius:12px;padding:13px 20px;box-shadow:var(--shadow);font-size:13px;opacity:0;transition:.25s;pointer-events:none;z-index:15;max-width:calc(100% - 30px);text-align:center}#toast.visible{opacity:1;transform:translate(-50%,0)}#loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;background:#eaf0f8;z-index:20;transition:opacity .5s}#loading strong{font-size:14px;font-weight:500;color:#8191a9}.loading-mark{font-size:48px;font-weight:800;color:var(--blue)}dialog{border:1px solid white;border-radius:22px;padding:35px;max-width:430px;width:calc(100% - 30px);color:#293954;box-shadow:0 20px 100px #18305230}dialog::backdrop{background:#21385155;backdrop-filter:blur(6px)}dialog h2{font-size:28px;line-height:1.6;margin:15px 0 25px;letter-spacing:-1px}dialog ol{list-style:none;counter-reset:steps;padding:0}dialog li{counter-increment:steps;padding-left:38px;position:relative;margin-bottom:20px;font-size:14px}dialog li:before{content:counter(steps);position:absolute;left:0;top:0;background:#ecf2ff;color:var(--blue);font-size:12px;padding:5px 9px;border-radius:7px}dialog li p{font-size:12px;color:#7e8da2;line-height:1.8;margin:7px 0}.dialog-close{position:absolute;top:13px;right:15px;background:transparent;border:0;color:#9ca8ba;font-size:24px}.error-message{padding:30px;text-align:center;max-width:450px;color:#5b6c86;line-height:1.8}.error-message button{margin-top:12px}
@media(min-width:1500px){.panel{width:330px}.camera-controls{right:370px}.stat{min-width:200px}.panel{padding:25px 23px 0}.crop-card{padding:14px}.panel h1{font-size:20px}.crop-info strong{font-size:14px}}
@media(max-width:1150px){.stat{min-width:142px;padding:12px;gap:9px}.stat-icon{width:34px;height:36px;font-size:23px}.stats{gap:7px;left:18px}.stat strong{font-size:21px}.panel{right:18px;width:285px;padding:18px 16px 0}.camera-controls{right:318px}.tool-dock{left:calc((100% - 290px)/2)}.tool-dock button{padding:12px 10px}.tool-dock kbd{display:none}.world-caption{display:none}.goal-card{left:18px;width:250px}.camera-hint{font-size:9px;right:18px}}
@media(max-width:850px){.topbar{height:68px;padding:0 18px}.brand{font-size:17px}.brand-symbol{width:36px;height:38px;font-size:24px}.island-name{display:none}.top-actions{gap:13px}.brand small{font-size:9px}.game{height:calc(100dvh - 68px);min-height:850px}.stats{top:16px;right:16px;left:16px}.stat{flex:1;min-width:0}.stat-icon{display:none}.stat div>span{font-size:10px}.stat small{font-size:10px}.panel{width:calc(100% - 32px);right:16px;top:auto;bottom:90px;max-height:310px;padding:15px 17px 0;display:grid;grid-template-columns:1fr;overflow:auto}.panel-heading{display:none}.panel-tabs{margin-bottom:13px;flex-shrink:0}.crop-list{grid-template-columns:repeat(3,1fr);gap:7px}.crop-card{padding:8px;gap:6px;flex-wrap:wrap}.crop-art{width:28px;height:30px;font-size:22px}.crop-info strong{font-size:11px}.crop-info small{font-size:9px}.crop-price{font-size:11px;margin-left:auto}.selected-plot{margin-top:12px;padding-top:12px;display:grid;grid-template-columns:1fr 140px;gap:0 12px;align-items:center}.selected-plot p{margin:8px 0;font-size:10px}.selected-plot .primary-button{grid-column:2;grid-row:1 / span 3}.plot-heading h2{font-size:12px}.plot-heading .eyebrow{font-size:8px}.plot-picker{margin:6px 0;font-size:10px}.panel-footer{min-height:28px;margin-top:4px}.section-label{margin-bottom:8px;font-size:11px}.goal-card{bottom:auto;top:96px;width:210px;padding:11px 13px;pointer-events:none}.goal-card p{font-size:9px;margin:8px 0}.goal-top h2{font-size:10px}.goal-icon{display:none}.goal-progress{height:3px}.camera-controls{right:16px;top:97px}.camera-controls button{height:29px;width:28px}.tool-dock{left:50%;bottom:21px;max-width:calc(100% - 20px)}.tool-dock button{padding:12px 13px}.camera-hint{bottom:73px;left:0;right:0;text-align:center;font-size:9px}#toast{left:50%;bottom:410px;font-size:11px}.inventory-row{padding:8px 0}.market-total{margin:12px 0}.market-total strong{font-size:21px}#market-view .panel-note{margin-bottom:4px}.weather-temp{display:none}}
@media(max-width:440px){.game{min-height:760px}.brand small{letter-spacing:1px}.top-actions{gap:10px}.weather{font-size:12px}.avatar{display:none}.stat{padding:10px}.stat strong{font-size:19px}.crop-card{display:grid;grid-template-columns:26px 1fr;gap:4px}.crop-price{grid-column:2;font-size:10px;margin:0}.crop-info small{font-size:8px}.crop-art{font-size:22px;width:26px}.tool-dock button{padding:11px 9px;gap:6px}.tool-dock b{font-size:11px}.selected-plot{grid-template-columns:1fr 115px}.primary-button{font-size:11px}.section-label>span{font-size:9px}.goal-card{width:205px}.panel{max-height:305px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Compact desktop panels keep the primary action above the fold. */
@media(min-width:851px){.panel{max-height:calc(100% - 47px);padding-top:17px}.panel-heading{margin-bottom:15px}.panel-tabs{margin-bottom:15px}.crop-card{padding:9px}.selected-plot{margin-top:15px;padding-top:13px}.panel-footer{margin-top:8px}.crop-info strong,.primary-button{font-size:14px}.crop-info small{font-size:12px}.section-label>span{font-size:11px}.crop-list{gap:7px}.plot-picker{margin:10px 0}.selected-plot p{font-size:12px;margin:10px 0}.panel-tabs button{font-size:14px}.tool-dock b{font-size:14px}.stat div>span{font-size:13px}}
@media(min-width:851px) and (max-height:820px){.panel{padding-top:13px}.panel-heading{margin-bottom:10px}.panel-tabs{margin-bottom:12px}.crop-card{padding:7px}.crop-art{height:33px;width:33px;font-size:23px}.crop-info strong{margin-bottom:3px}.selected-plot{padding-top:10px;margin-top:12px}.selected-plot p{margin:7px 0}.panel-footer{min-height:30px}.panel-heading h1{font-size:16px}.growth-copy{margin-top:5px}progress{margin-bottom:9px}.section-label{margin-bottom:9px}}
@media(max-width:850px){.panel{max-height:330px}.crop-card{display:grid;grid-template-columns:27px 1fr;grid-template-rows:auto auto;gap:3px 5px;padding:8px;min-height:56px}.crop-art{grid-row:1 / span 2}.crop-info{min-width:0}.crop-info strong{font-size:12px;white-space:nowrap;margin-bottom:0}.crop-info small{display:none}.crop-price{grid-column:2;grid-row:2;margin:0;font-size:11px}.selected-plot p{font-size:11px}.panel-footer{font-size:10px}.goal-card{width:195px}.goal-card p{line-height:1.6}.panel-tabs button{font-size:14px}.selected-plot .primary-button{font-size:12px}.plot-picker{min-height:24px}}
/* Sound controls match the existing light, floating toolbar. */
.sound-widget{position:relative}.sound-buttons{display:flex;align-items:center;border:1px solid #dce5f1;background:#f2f6fc;border-radius:10px;overflow:hidden}.sound-toggle,.sound-settings{border:0;background:transparent;color:#7c8ba4;display:flex;align-items:center;justify-content:center;gap:6px;height:35px;padding:0 9px;font-size:12px;white-space:nowrap}.sound-toggle svg{width:19px;height:19px}.sound-toggle.is-playing{color:#3268ef;background:#e8efff}.sound-settings{border-left:1px solid #dce5f1;width:29px;padding:6px}.sound-settings svg{width:17px;height:17px}.sound-toggle:hover,.sound-settings:hover{background:#e7eefb}.sound-panel{position:absolute;right:0;top:48px;width:285px;padding:19px;background:#fffffff7;border:1px solid white;border-radius:15px;box-shadow:0 12px 42px #273e6b2b;backdrop-filter:blur(18px);z-index:30;color:#2e3c56}.sound-heading{display:flex;align-items:center;justify-content:space-between}.sound-heading h2{font-size:16px;margin:0}.sound-heading button{border:0;background:transparent;color:#92a0b5;font-size:22px;width:26px;height:26px;padding:0}#sound-status{font-size:12px;line-height:1.7;color:#7e8fa8;margin:9px 0 20px;min-height:21px}.volume-label{display:flex;justify-content:space-between;font-size:14px;margin-top:15px}.volume-label output{font-size:13px;color:#8a99b0;font-variant-numeric:tabular-nums}.sound-panel input[type=range]{display:block;width:100%;margin:8px 0 15px;accent-color:#3268ef;height:20px;cursor:pointer}.sound-test{width:100%;padding:10px;font-size:13px;border:1px solid #d8e4fc;border-radius:8px;color:#4b73c2;background:#eef4ff;margin-top:6px}.sound-test:hover{background:#e1ebff}.sound-note{font-size:11px;line-height:1.7;color:#95a2b5;margin:12px 0 0}
@media(max-width:850px){.top-actions{gap:12px}.sound-panel{position:fixed;top:62px;right:14px;max-width:calc(100vw - 28px)}.sound-toggle{padding:0 8px}.sound-toggle span{display:none}.top-actions .weather{display:none}}
@media(max-width:440px){.topbar{gap:9px;padding:0 14px}.top-actions{gap:10px}.sound-settings{width:26px}.brand{font-size:15px;gap:9px}.brand small{font-size:8px}}

/* Daily orders and the live delivery status. */
.daily-heading{display:flex;align-items:center;justify-content:space-between}.daily-heading h2{font-size:18px;margin-top:5px}.daily-heading .pill{color:#5274b8;background:#eef3ff}.daily-intro{font-size:11px;line-height:1.8;color:#8a98ac;margin:12px 0 15px}#quest-list{display:grid;gap:10px}.quest-card{border:1px solid #e3eaf4;border-radius:12px;padding:13px;background:#fff}.quest-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.quest-head small{font-size:10px;color:#8899b0}.quest-head h2{font-size:13px;margin:5px 0}.quest-reward{font-size:22px;color:#3268ef;white-space:nowrap;font-weight:700}.quest-reward small{font-size:11px;color:#6684bf}.quest-items{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.quest-items>span{font-size:10px;color:#8b97a9;background:#f2f5f9;padding:5px 7px;border-radius:6px}.quest-items b{margin-left:4px;font-variant-numeric:tabular-nums}.quest-items .enough{color:#328765;background:#eaf7ef}.quest-deliver{width:100%;border:0;border-radius:7px;padding:9px 4px;font-size:11px;font-weight:600;background:#3268ef;color:white}.quest-deliver:disabled{opacity:1;background:#f0f3f8;color:#91a0b5}.quest-card.completed{background:#f3faf6;border-color:#dcece2}.completed .quest-reward{color:#46a078}.completed .quest-deliver{color:#49a27a;background:#e8f5ed}.daily-footer{text-align:center;margin-top:13px}.daily-footer>span{display:block;font-size:10px;color:#8c9aae}.daily-footer button{border:0;background:none;color:#6885b8;font-size:11px;margin-top:7px;padding:6px}.shipment-status{position:absolute;top:116px;left:26px;min-width:238px;padding:11px 15px 13px;background:#ffffffed;box-shadow:var(--shadow);border:1px solid white;border-radius:12px;display:flex;gap:11px;align-items:center;overflow:hidden;pointer-events:none}.truck-icon{color:#5588e3;letter-spacing:-5px;font-size:27px;margin-right:5px}.shipment-status strong{font-size:11px;font-weight:600;display:block}.shipment-status div>span{font-size:10px;color:#8192a9;display:block;margin-top:4px}.shipment-status[data-phase=parked]{min-width:205px;background:#ffffffbd}.shipment-status[data-phase=parked] #shipment-time{display:none}.shipment-track{position:absolute;bottom:0;left:0;right:0;height:3px;background:#edf2fa}.shipment-track #shipment-progress{height:100%;background:#699af3;margin:0;transition:width .5s linear}.weekly-dialog{max-width:750px;max-height:85dvh}.weekly-dialog h2{font-size:24px;margin-bottom:8px}#weekly-orders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0}#weekly-orders section{padding:14px;border:1px solid #e6ecf5;border-radius:12px}#weekly-orders h3{margin:0 0 10px;font-size:13px;color:#3268ef}#weekly-orders section>div{display:grid;grid-template-columns:1fr auto;gap:5px;font-size:11px;border-top:1px solid #f0f3f7;padding:9px 0}#weekly-orders strong{font-weight:500}#weekly-orders span{grid-column:1;color:#8292a8;font-size:10px}#weekly-orders b{grid-column:2;grid-row:1 / span 2;align-self:center;color:#6885b5;font-weight:600}
@media(max-width:1150px){.shipment-status{left:18px;top:110px}}
@media(max-width:850px){.shipment-status{top:184px;left:16px;min-width:195px;padding:8px 11px 11px}.shipment-status[data-phase=parked]{min-width:195px}.shipment-status strong{font-size:10px}#quest-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.daily-intro{display:none}.daily-heading{margin-bottom:10px}.daily-heading h2{font-size:14px}.daily-heading .eyebrow{font-size:8px}.quest-card{padding:9px}.quest-head{display:block}.quest-head small{font-size:9px}.quest-head h2{font-size:11px;min-height:30px}.quest-reward{font-size:19px}.quest-items{min-height:43px;display:block;margin:6px 0}.quest-items>span{display:block;font-size:9px;padding:3px;margin-top:3px;white-space:nowrap}.quest-deliver{font-size:9px;line-height:1.6;min-height:41px;padding:6px}.daily-footer{margin-top:10px}.daily-footer button{padding:3px}.quest-card.completed .quest-head h2{min-height:30px}.daily-footer>span{font-size:9px}}
@media(max-width:520px){#weekly-orders{grid-template-columns:1fr}.weekly-dialog{padding:25px}.weekly-dialog h2{font-size:22px}.quest-items>span{font-size:8px;padding:3px 1px}.quest-items b{margin-left:2px}.quest-reward{font-size:17px}.quest-head small{font-size:8px}}

#motion-toggle[aria-pressed=true]{color:#467bed;background:#f0f5ff}@media(min-width:851px){.quest-card{padding:11px}.quest-items{margin:7px 0}.quest-deliver{padding:8px 4px}#quest-list{gap:8px}.daily-intro{margin:10px 0 12px}.quest-head h2{font-size:12px}}

/* Release layout: readable controls and a separate play area on small screens. */
.secondary-button{font:inherit;font-size:13px;min-height:42px;border:1px solid #cbd9f6;border-radius:8px;background:#f4f7ff;color:#335caa;padding:9px 12px;cursor:pointer}
.text-button{border:0;background:none;color:#526b95;padding:5px 0;font-size:12px;text-decoration:underline;text-underline-offset:3px}
.first-steps{border:1px solid #dae5fa;background:#f3f7ff;padding:13px;border-radius:11px;margin-bottom:15px}
.guide-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#5675ab;font-size:12px}.guide-heading button{font-size:11px}
.first-steps h2{font-size:15px;line-height:1.5;margin:7px 0}.first-steps p{font-size:13px;line-height:1.7;color:#5b6c87;margin:7px 0 10px}.first-steps .secondary-button{width:100%}
.completion-card{background:#eef8ef;border:1px solid #d2e7d5;border-radius:11px;margin-bottom:15px;padding:14px;color:#386b47}.completion-card>span{float:right;color:#cc9f42;font-size:24px}.completion-card h2{font-size:15px}.completion-card p{font-size:13px;line-height:1.7;margin:8px 0 0}
.connection-banner{background:#fff5e6;border:1px solid #ead6b4;border-radius:11px;padding:13px;margin-bottom:15px;color:#745934}.connection-banner p{font-size:13px;line-height:1.7;margin:0 0 9px}.connection-banner button{width:100%}
a.primary-button{display:block;box-sizing:border-box;text-decoration:none;text-align:center}.entry-card{max-width:420px;padding:30px 24px;text-align:center}.entry-card h2{font-size:25px;line-height:1.5;margin:18px 0}.entry-card p{font-size:15px;line-height:1.9;color:#5a6e8b}.entry-card small{display:block;font-size:12px;line-height:1.8;color:#6d7f99;margin-top:17px}.entry-actions{margin:20px 0}.entry-card .text-button{margin-top:14px}
dialog{max-height:calc(100dvh - 32px);overflow:auto}dialog p,dialog li p{font-size:14px;line-height:1.85;color:#586c86}dialog h3{font-size:16px;margin:25px 0 10px}dialog ul{padding-left:20px;font-size:14px;line-height:1.9}dialog a{color:#3669c4}dialog .panel-note{font-size:12px}dialog .secondary-button{width:100%;margin-bottom:12px}dialog .primary-button{min-height:44px;font-size:14px}
.section-label>span{max-width:160px;text-align:right;line-height:1.5}.crop-info small,.selected-plot p,.panel-note,.plot-picker,.growth-copy{color:#687b95}.plot-picker{font-size:12px}.plot-picker select{font-size:12px;min-height:36px}.panel-footer{font-size:12px;color:#627893}.daily-intro{font-size:13px;color:#61758f}.quest-head h2{font-size:14px}.quest-items>span{font-size:12px}.quest-deliver{min-height:42px;font-size:13px}.daily-footer>span{font-size:12px}.daily-footer button{font-size:13px;min-height:40px}.goal-card p{font-size:12px;line-height:1.65}.goal-top h2{font-size:13px}
#about-dialog ul li{padding-left:0;margin-bottom:9px;counter-increment:none}#about-dialog ul li::before{content:none}
@media(max-width:850px){
 body{min-width:0}.topbar{height:64px;padding:0 12px}.brand{font-size:15px;gap:8px}.brand small{font-size:9px}.brand-symbol{width:32px;height:35px}.top-actions{gap:6px}.icon-button{min-width:36px;min-height:40px}.sound-toggle,.sound-settings{height:40px}.sound-toggle{padding:0 6px}.sound-settings{width:27px}
 .game{height:auto;min-height:0;display:flex;flex-direction:column;overflow:visible;padding-bottom:max(12px,env(safe-area-inset-bottom));--world-height:clamp(290px,47svh,420px)}
 #viewport{position:relative;inset:auto;flex:none;order:0;width:100%;height:var(--world-height);touch-action:none}
 .stats{top:10px;left:10px;right:10px;gap:6px;z-index:2;pointer-events:none}.stat{padding:9px;min-width:0;border-radius:10px}.stat strong{font-size:20px}.stat div>span,.stat small{font-size:11px}.stats .stat-icon{display:none}
 .camera-controls{top:85px;right:10px;z-index:2;gap:0;padding:3px}.camera-controls button{width:34px;height:36px}.camera-controls>span{margin:1px}
 .shipment-status,.shipment-status[data-phase=parked]{top:calc(var(--world-height) - 47px);left:10px;min-width:0;padding:7px 10px;max-width:235px}.shipment-status strong{font-size:11px}.shipment-status div>span{font-size:11px}.truck-icon{font-size:21px}.shipment-status[data-phase=parked] .shipment-track{display:none}
 .tool-dock{position:relative;order:1;left:auto;bottom:auto;transform:none;width:calc(100% - 20px);max-width:none;margin:4px 10px 12px;padding:4px;justify-content:space-between;gap:0;box-shadow:0 3px 12px #354b7610}.tool-dock button{flex:1;justify-content:center;min-height:45px;padding:8px 3px;gap:4px}.tool-dock button>span{font-size:20px}.tool-dock b{font-size:12px}.tool-dock>div{margin:0 1px}.tool-dock kbd{display:none}
 .panel{position:relative;order:2;inset:auto;width:calc(100% - 20px);max-height:none;overflow:visible;margin:0 10px 12px;padding:15px 14px 0;border-radius:14px;display:block}.panel-heading{display:none}.panel-tabs{margin-bottom:16px}.panel-tabs button{min-height:44px;font-size:14px}.panel-tabs span{font-size:11px}
 .section-label{font-size:14px;gap:8px}.section-label>span{font-size:12px;max-width:165px}.crop-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.crop-card{padding:8px 5px;grid-template-columns:23px 1fr;gap:4px;min-height:62px}.crop-art{font-size:21px;width:23px}.crop-info strong{font-size:12px}.crop-price,.crop-price small{font-size:12px}
 .selected-plot{display:block;margin-top:16px;padding-top:14px}.plot-heading h2{font-size:16px}.plot-heading .eyebrow{font-size:11px}.pill{font-size:12px}.selected-plot p{font-size:14px;line-height:1.7;margin:12px 0}.selected-plot .primary-button,.primary-button{min-height:46px;font-size:15px}.growth-copy{font-size:12px}.plot-picker{font-size:12px;min-height:44px;margin:10px 0}.plot-picker select{font-size:13px;min-height:40px}.panel-footer{min-height:42px;margin-top:8px;font-size:12px}
 .first-steps{padding:12px}.guide-heading{font-size:12px}.guide-heading button{font-size:12px;min-height:30px}.first-steps h2{font-size:16px}.first-steps p{font-size:14px}.first-steps .secondary-button{font-size:14px;min-height:44px}
 .goal-card{position:relative;order:3;inset:auto;width:calc(100% - 20px);margin:0 10px 8px;padding:13px 15px;pointer-events:auto}.goal-icon{display:grid}.goal-top h2{font-size:14px}.goal-top .eyebrow{font-size:10px}.goal-top>span:last-child{font-size:12px}.goal-card p{font-size:13px;margin:11px 0}.goal-progress{height:4px}
 .camera-hint,.world-caption{display:none}#toast{position:fixed;left:50%;top:auto;bottom:max(20px,env(safe-area-inset-bottom));font-size:14px;width:max-content;max-width:calc(100% - 28px);z-index:50}
 #quest-list{display:grid;grid-template-columns:1fr;gap:10px}.daily-heading h2{font-size:18px}.daily-heading .eyebrow{font-size:10px}.daily-intro{display:block;font-size:14px}.quest-card{padding:14px}.quest-head{display:flex}.quest-head h2{font-size:15px;min-height:0}.quest-head small{font-size:12px}.quest-reward{font-size:23px}.quest-items{display:flex;min-height:0;margin:12px 0}.quest-items>span{font-size:13px;padding:5px 8px}.quest-deliver{font-size:14px;min-height:44px}.completed .quest-head h2{min-height:0}.daily-footer>span{font-size:12px}.daily-footer button{font-size:14px;min-height:44px}
 .inventory-row{font-size:15px;padding:12px 0}.inventory-row small{font-size:12px}.market-total{font-size:14px}.panel-note{font-size:13px}
 #loading{position:fixed;inset:64px 0 0;z-index:20}.entry-card h2{font-size:24px}.entry-card .primary-button{font-size:15px}dialog{padding:26px 22px}.weekly-dialog{padding:26px 20px}.weekly-dialog h2{font-size:23px}#weekly-orders{grid-template-columns:1fr}#weekly-orders h3{font-size:15px}#weekly-orders section>div{font-size:13px}#weekly-orders span{font-size:12px}
}
@media(max-width:359px){.brand small{display:none}.top-actions{gap:3px}.brand{font-size:13px}.brand-symbol{width:29px}.sound-settings{width:24px}.icon-button{min-width:30px}.crop-card{grid-template-columns:1fr}.crop-art{display:none}.crop-info,.crop-price{grid-column:1}.section-label{flex-wrap:wrap}.section-label>span{max-width:none;text-align:left}}
.tracked-order{border:1px solid #dce6f5;background:#f4f8ff;border-radius:10px;padding:11px;margin-bottom:14px}.tracked-order>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.tracked-order strong{font-size:12px;line-height:1.6}.tracked-order p{font-size:12px;line-height:1.7;color:#5e7390;margin:6px 0 0}.tracked-order .text-button{font-size:11px;flex:none;min-height:34px}
.workshop-link{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:52px;border:1px solid #dbe5f5;border-radius:10px;background:#f4f8ff;color:#3d5e8c;padding:10px;margin-top:13px;text-align:left;cursor:pointer}.workshop-link span{font-size:12px;flex:none}.workshop-link strong{font-size:11px;line-height:1.6;text-align:right}.workshop-job{background:#eff5ff;border-radius:10px;padding:14px;margin:16px 0;font-size:14px;color:#3e659e}.workshop-job progress{display:block;width:100%;margin:10px 0 0;accent-color:#4678e0}.workshop-job .primary-button{margin-top:12px}.recipe-card{border:1px solid #dde5f0;border-radius:11px;padding:14px;margin:12px 0}.recipe-heading{display:flex;align-items:center;gap:13px}.recipe-heading>span{font-size:29px}.recipe-heading h3{font-size:16px;margin:0}.recipe-card p{font-size:13px;line-height:1.7;margin:8px 0}.recipe-heading p{margin:3px 0 0}.recipe-availability{min-height:22px}#workshop-dialog{width:min(460px,calc(100% - 24px))}#workshop-dialog>h2{font-size:25px}#workshop-dialog .primary-button{font-size:14px}#workshop-dialog .secondary-button{margin:0}.inventory-row>div small{display:block}
.quest-track{width:100%;border:0;border-radius:7px;min-height:38px;margin-top:5px;background:#f3f7fd;color:#58749d;font-size:12px}.quest-track[aria-pressed=true]{background:#e5eeff;color:#3268ef}.protect-row{background:#f3f7fd;border-radius:10px;padding:12px}.protect-row label{display:flex;gap:8px;align-items:center;min-height:34px;font-size:13px;cursor:pointer}.protect-row input{width:18px;height:18px;accent-color:#3268ef}.protect-row p{font-size:12px;line-height:1.7;color:#637a96;margin:5px 0 0}.completion-card .secondary-button{margin-top:12px;width:100%}input:focus-visible{outline:3px solid #739fff;outline-offset:3px}
body.photo-mode{overflow:hidden}body.photo-mode .topbar{display:none}body.photo-mode .game{height:100dvh;min-height:0;padding:0;overflow:hidden}body.photo-mode .game>:not(#viewport):not(#photo-toolbar){display:none!important}body.photo-mode #viewport{position:fixed;inset:0;width:100%;height:100dvh;outline:0}#photo-toolbar{position:fixed;z-index:60;left:50%;bottom:max(18px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(520px,calc(100% - 24px));border-radius:14px;padding:13px;background:#ffffffed;box-shadow:var(--shadow)}#photo-toolbar p{font-size:12px;line-height:1.7;color:#63748d;margin:0 0 10px}#photo-toolbar>div{display:flex;gap:7px}#photo-toolbar button{flex:1;width:auto;min-height:44px;font-size:13px;white-space:nowrap;padding:9px 7px}body.photo-clean #photo-toolbar{display:none}
@media(max-width:850px){.tracked-order strong,.tracked-order p{font-size:13px}.quest-track{min-height:44px;font-size:14px}.camera-controls{top:81px}.camera-controls button{height:31px}.protect-row label{font-size:14px}.inventory-row small{line-height:1.8}#photo-toolbar button{font-size:12px}.goal-top h2{font-size:13px}}

#workshop-dialog .dialog-close{min-width:44px;min-height:44px;top:6px;right:7px}#workshop-feedback{color:#886431;background:#fff5e6;padding:10px;border-radius:8px}
#welcome-dialog{width:min(430px,calc(100% - 28px));padding:27px 28px 19px;border:1px solid #e2eaf5;border-radius:20px;background:#fff;max-height:calc(100dvh - 28px)}
#welcome-dialog::backdrop{background:#21385138;backdrop-filter:blur(3px)}
#welcome-dialog .dialog-close{top:5px;right:5px;min-width:44px;min-height:44px;color:#63748b;cursor:pointer}
.welcome-label{display:block;color:#426bbb;font-size:13px;font-weight:600;letter-spacing:.06em;padding-right:22px}
#welcome-dialog h2{font-size:24px;line-height:1.4;letter-spacing:-.03em;margin:8px 0 10px}
#welcome-intro{font-size:14px;line-height:1.7;margin:0 0 20px}
#welcome-dialog ol{margin:0 0 23px}#welcome-dialog li{padding-left:40px;margin:0 0 17px;font-size:15px}#welcome-dialog li:last-child{margin-bottom:0}
#welcome-dialog li::before{font-size:13px;min-width:28px;line-height:28px;text-align:center;padding:0;border-radius:8px;font-weight:600}
#welcome-dialog li p{font-size:14px;line-height:1.65;margin:5px 0 0}
.welcome-actions{display:grid;gap:8px}.welcome-actions .primary-button{min-height:44px;width:100%;font-size:15px}.welcome-actions .text-button{min-height:36px;font-size:14px;color:#4264a0}
#welcome-dialog .welcome-note{font-size:12px;line-height:1.6;text-align:center;margin:5px 0 0;color:#697b91}
@media(max-width:380px){#welcome-dialog{padding:25px 20px 17px}#welcome-dialog h2{font-size:22px}#welcome-intro{margin-bottom:16px}#welcome-dialog li{padding-left:37px;margin-bottom:14px}}

#workshop-dialog{width:min(600px,calc(100% - 24px));max-width:600px;padding:25px}#workshop-dialog>h2{margin:10px 0 14px;font-size:24px}#workshop-dialog>p{font-size:13px;line-height:1.75}#recipe-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.recipe-card{margin:0}.recipe-card .recipe-availability{min-height:47px}.recipe-card>p:not(.recipe-availability){min-height:44px}.workshop-job{margin:12px 0}#workshop-dialog>.panel-note{font-size:12px}
@media(max-width:520px){#workshop-dialog{padding:24px 19px}#workshop-dialog>h2{font-size:22px}#recipe-list{grid-template-columns:1fr;gap:10px}.recipe-card .recipe-availability,.recipe-card>p:not(.recipe-availability){min-height:0}}

.goal-top>div{min-width:0}.goal-top>span:last-child{white-space:nowrap;flex:none}.goal-top h2{line-height:1.6}
