/* Uma instrução, um destino e espaço livre sobre o cenário. */
:root { --cream:#fff8e7; --green:#276b50; --green-deep:#1c513d; --ink:#294838; }
html,body,.game-shell { background:#b8c58b; }
.game-shell { max-width:none; }
.game-shell[hidden],.boot-screen[hidden],.boot-actions[hidden],.boot-browser-hint[hidden] { display:none!important; }
body[data-session="loading"],body[data-session="error"],body[data-session="signin"] { background:#fff8e7; }
.boot-screen { position:fixed;inset:0;z-index:40;display:grid;place-items:center;overflow:auto;padding:calc(24px + var(--safe-top)) 20px calc(24px + var(--safe-bottom));background:radial-gradient(ellipse at 50% 25%,#fffdf2,#f6ebce);color:#294838;text-align:center;touch-action:pan-y; }
.boot-card { width:min(100%,360px);margin:auto; }
.boot-art { display:block;width:104px;height:104px;object-fit:contain;margin:0 auto 20px;filter:drop-shadow(0 7px 7px #7b643322); }
.boot-card>.eyebrow { margin:0 0 9px;color:#80683e;font-size:10px;letter-spacing:1.6px; }
.boot-card h2 { margin:0;font:1000 27px/1.2 Nunito,system-ui,sans-serif;letter-spacing:-.5px; }
#boot-message { margin:14px auto 0;max-width:30ch;font-size:15px;line-height:1.5;color:#5e6e54;overflow-wrap:anywhere; }
.boot-progress { width:152px;height:7px;margin:23px auto 0;overflow:hidden;border-radius:8px;background:#e5dcc0; }
.boot-progress span { display:block;width:45%;height:100%;border-radius:inherit;background:#397855;animation:boot-warming 1.5s ease-in-out infinite alternate; }
.boot-actions { display:grid;gap:10px;margin-top:22px; }
.boot-actions button { width:100%;min-height:48px; }
.boot-browser-hint { padding:12px;margin:18px 0 0;border:1px solid #ddc792;border-radius:12px;background:#fff5d9;color:#765b32;font-size:13px;line-height:1.5; }
.boot-back { display:inline-block;margin-top:26px;padding:10px 4px;min-height:44px;font-size:13px;font-weight:800;color:#42634b;text-underline-offset:3px; }
body[data-session="error"] .boot-progress { display:none; }
@keyframes boot-warming { from{transform:translateX(0)}to{transform:translateX(122%)} }
@media(prefers-reduced-motion:reduce){.boot-progress span{animation:none;transform:translateX(60%)} }
@media(max-height:600px){.boot-art{width:76px;height:76px;margin-bottom:12px}.boot-card h2{font-size:23px}.boot-progress{margin-top:16px}.boot-back{margin-top:15px} }
.webgl-recovery { position:absolute;inset:0;z-index:20;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;background:#fff8e7f5;color:#294838;text-align:center;touch-action:none; }
.webgl-recovery strong { font:1000 22px/1.25 Nunito,sans-serif; }.webgl-recovery p { max-width:28ch;margin:12px 0 0;font:800 16px/1.45 Nunito,sans-serif; }.webgl-recovery[hidden] { display:none; }
.game-shell:after,.vignette,.game-edition,.toast,.context-card,.world-feedback-layer { display:none!important; }
.customer-order-layer { position:absolute;inset:0;z-index:2;pointer-events:none; }
.customer-order { position:absolute;left:0;top:0;width:38px;height:36px;display:grid;place-items:center;border:2px solid #427454;border-radius:12px;background:#fff9e8;box-shadow:0 2px 3px #29483840;pointer-events:none; }
.customer-order:after { content:'';position:absolute;left:var(--order-tail-left,15px);bottom:-5px;width:8px;height:8px;rotate:45deg;background:#fff9e8;border-right:2px solid #427454;border-bottom:2px solid #427454;z-index:-1; }
.customer-order img { width:30px;height:30px;object-fit:contain;pointer-events:none; }
.customer-order[hidden] { display:none; }
.customer-order[data-mood=impaciente] { border-color:#bf812a;background:#fff0be; }
.customer-order[data-mood=bravo] { border-color:#b24d34;background:#ffe3ce; }
.customer-order[data-mood=impaciente]:after { background:#fff0be;border-color:#bf812a; }
.customer-order[data-mood=bravo]:after { background:#ffe3ce;border-color:#b24d34; }
.customer-order-mood { position:absolute;right:-5px;top:-7px;min-width:16px;height:16px;border:1px solid #fff9e8;border-radius:50%;background:#bd7827;color:white;font:1000 12px/14px Nunito,sans-serif;text-align:center; }
.customer-order-mood:empty { display:none; }.customer-order[data-mood=bravo] .customer-order-mood { background:#b24d34; }
.world-capacity-layer { position:absolute;inset:0;z-index:2;pointer-events:none; }
.world-capacity { position:absolute;left:0;top:0;width:132px;min-height:39px;padding:5px 7px;border:2px solid #bd7336;border-radius:9px;background:#fff0ce;color:#704523;box-shadow:0 2px 3px #5a412e38;text-align:center;pointer-events:none; }
.world-capacity strong { display:block;font:1000 11px/1.15 Nunito,sans-serif; }.world-capacity small { display:block;margin-top:2px;font:900 11px/1.2 Nunito,sans-serif; }.world-capacity[hidden] { display:none; }
.objective-indicator { position:absolute;left:0;top:0;z-index:4;display:flex;align-items:center;gap:4px;width:max-content;max-width:116px;min-height:44px;padding:6px;border:2px solid #467354;border-radius:14px;background:#fff8e7f5;color:#294838;box-shadow:0 2px 5px #29483835;transform:translate(-50%,-50%);font:900 13px/1.2 Nunito,sans-serif;pointer-events:auto; }.objective-indicator[hidden] { display:none; }.objective-arrow { flex-shrink:0;font-size:18px;line-height:24px;transform:rotate(var(--bearing,0deg)); }.objective-product { flex-shrink:0;width:20px;height:20px;object-fit:contain; }.objective-name { min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.game-header { top:calc(10px + var(--safe-top));left:12px;right:12px;gap:6px; }
.back-button,.menu-toggle { width:44px;height:44px;border-radius:14px;font-size:23px;border:1px solid #fffc;background:#286b50;color:#fff8e7;box-shadow:0 2px #184c37; }
.game-brand { color:#244d3b;text-shadow:0 1px #fff9;min-width:0; }
.game-brand h1 { font:1000 18px/1.15 Nunito,sans-serif;letter-spacing:-.5px;margin:0; }
.preview-mark { display:none; }
.money { min-width:58px;gap:4px;font-size:18px;padding:8px 7px 8px 5px;border:1px solid #fff4bf;background:#ffe6a3;box-shadow:0 2px #be8e3f; }
.coin-symbol { width:21px;height:21px;font-size:13px;background:#efbc49;color:#9f6923;border-color:#bb8a31; }
.session-line { position:static;display:block;margin-top:3px;font-size:11px;line-height:1.15;color:#36533c;text-shadow:0 1px #fff8; }
#save-status { display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
#save-status:before { display:inline-block;margin-right:5px;background:#387c55;vertical-align:middle; }
.task-stack { position:absolute;top:calc(66px + var(--safe-top));left:12px;right:12px;z-index:5;display:grid;gap:6px;pointer-events:none; }
.mission-card { position:relative;inset:auto;width:100%;max-width:none;display:grid;grid-template-columns:28px minmax(0,1fr) 44px;align-items:start;gap:6px 8px;padding:10px;border:1px solid #fff8;border-left:3px solid #b48a49;border-radius:14px;background:#fff9eaf5;box-shadow:0 2px #7c926b55;pointer-events:auto; }
.mission-illustration { grid-column:1;grid-row:1;width:28px;height:36px;border-radius:10px;background:#f2dfaa;align-self:center; }
.mission-illustration img { width:27px;height:27px;object-fit:contain; }
.mission-copy { min-width:0;grid-column:2;grid-row:1; }
.mission-copy .eyebrow { display:none; }
.mission-copy h2 { font-size:18px;font-weight:1000;line-height:1.2;margin:0;color:#254b38; }
.mission-copy p { font-size:14px;line-height:1.35;margin:0;color:#526d4b;white-space:normal;overflow:visible; }
.task-stack[data-compact=false] .mission-copy { grid-column:2/-1; }.task-stack[data-compact=false] .mission-copy h2 { padding-right:48px;margin-bottom:8px; }.mission-card[data-can-collapse=false] .mission-copy h2 { padding-right:0; }
.mission-copy progress { display:block;width:100%;height:6px;margin-top:9px; }
.mission-copy progress[hidden] { display:none; }
.mission-reward { display:none; }
.mission-detail-toggle { position:absolute;right:10px;top:10px;width:44px;min-width:44px;height:44px;min-height:44px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;padding:1px;border:1px solid #b6c29e;border-radius:10px;background:#edf0d9;color:#366244;box-shadow:none; }
.mission-detail-toggle span { font:900 19px/17px Nunito,sans-serif; }.mission-detail-toggle small { font:900 11px/14px Nunito,sans-serif; }.mission-detail-toggle[hidden] { display:none; }
.task-stack[data-compact=true] .mission-copy { min-height:44px;display:flex;flex-direction:column;justify-content:center; }
.task-stack[data-compact=true] .mission-copy h2 { margin:0;font-size:18px;line-height:1.2; }
.task-stack[data-compact=true] .mission-copy>.eyebrow,.mission-copy p[hidden] { display:none; }
.task-stack[data-compact=true] #staff-status:not([data-important=true]),.task-stack[data-compact=true] #world-feedback-notice:not([data-priority-until]):not([data-social=true]) { display:none; }
#mission-go { grid-column:1/-1;width:100%;min-height:44px;padding:9px 14px;border:1px solid #1e6543;border-radius:11px;background:#337b51;color:#fffaf0;font:1000 15px/1.2 Nunito,sans-serif;box-shadow:0 3px #205d3f; }
#mission-go:disabled { background:#e5e7cf;color:#657858;border-color:#c1caa9;box-shadow:none;opacity:1; }
#mission-go[data-walking=true] { background:#f0e4bd;border-color:#bca66a;color:#65582f;box-shadow:0 3px #c7b77e; }
#staff-status { pointer-events:auto;width:100%;min-height:44px;padding:8px 12px;text-align:left;font:800 13px/1.35 Nunito,sans-serif;border:1px solid #e6d9a3;border-radius:10px;color:#67562f;background:#fff4cfea; }
#world-feedback-notice { padding:7px 12px;border-radius:9px;background:#2c664ce8;color:#fff9df;font-size:12px;line-height:1.3;font-weight:900;box-shadow:0 2px #1e503d44; }
#staff-status[hidden],#world-feedback-notice[hidden] { display:none; }
.inventory-bar { left:auto;right:12px;bottom:calc(24px + var(--safe-bottom));width:calc(100% - 162px);max-width:240px;translate:none;display:block;min-height:44px;padding:9px;border:1px solid #fff9;border-radius:13px;background:#fff9e8ef;box-shadow:0 2px #8f9c6c44;cursor:pointer;pointer-events:auto; }
.inventory-title { display:flex;gap:6px;align-items:center;font-size:13px;font-weight:900;letter-spacing:0;color:#486b48; }
.inventory-title span { display:inline;font-size:13px;color:#2e6545;margin:0; }.inventory-title .inventory-open { margin-left:auto;font-size:18px;line-height:16px; }
.inventory-bar[data-full=true] { background:#fff0cf;border:2px solid #b96b32; }.inventory-bar[data-full=true] .inventory-title,.inventory-bar[data-full=true] #load-count { color:#9b4b28;font-weight:1000; }
.inventory-items { display:flex;flex-wrap:wrap;gap:4px 6px;margin-top:5px; }
.inventory-item { display:inline-flex;gap:3px;min-height:25px;padding:2px 4px;border-radius:7px;background:#f0ead0;font-size:14px; }
.inventory-item img { width:20px;height:20px; }.inventory-label { display:none; }.inventory-short { display:inline;font-size:12px;font-weight:800;color:#506949; }
.inventory-empty { font-size:12px;color:#778566; }
.inventory-bar[data-empty=true] .inventory-items { display:none; }
.joystick { left:23px;bottom:calc(29px + var(--safe-bottom));width:115px;height:115px; }
.joystick-ring { background:#ffffff45;border:2px solid #fffa;box-shadow:inset 0 0 0 11px #fff2; }
.joystick-ring:before { top:14px;box-shadow:0 81px #fff8; }
.joystick-ring:after { transform-origin:1px 44px; }
.joystick-knob { width:58px;height:58px;left:27px;top:27px;background:#f8f6deed;border:2px solid #fffc;box-shadow:0 4px #647d4f55; }
.joystick-knob span { color:#477b56;font-size:27px; }
.joystick-hint { top:auto;bottom:-16px;left:-15px;width:145px;font-size:9px;letter-spacing:.5px;color:#36563e;text-shadow:0 1px #fff9; }
.camera-controls { position:absolute;z-index:5;top:45%;right:12px;display:grid;grid-template-columns:48px;gap:6px;pointer-events:auto; }.camera-controls[hidden],.camera-controls[data-obscured=true] { display:none; }.camera-controls button { display:flex;flex-direction:column;align-items:center;justify-content:center;width:48px;height:44px;min-width:44px;min-height:44px;padding:3px;border:1px solid #c2cba4;border-radius:12px;background:#fff8e7f2;color:#315b43;box-shadow:0 2px #647d4f55;font:900 11px/1.15 Nunito,sans-serif;white-space:nowrap; }.camera-controls button:disabled { cursor:default;opacity:1;background:#e9ead9;color:#7b8875;box-shadow:none; }.camera-controls button[aria-pressed=true] { background:#306f4d;color:#fff8e7;border-color:#85b97c; }.camera-symbol { font:900 27px/1 Nunito,sans-serif; }.camera-view-symbol { font-size:19px;line-height:20px; }.camera-controls[data-layout=grid] { grid-template-columns:48px 48px; }.camera-controls[data-layout=row] { grid-template-columns:repeat(4,48px); }.camera-controls[data-obscured=true] { pointer-events:none; }body:has(dialog[open]) .camera-controls { visibility:hidden; }
.village-menu { width:min(360px,calc(100% - 24px));max-height:calc(100dvh - var(--safe-top) - var(--safe-bottom) - 24px);padding:24px 18px 18px;border:2px solid #e2d1a7;border-radius:22px;background:#fff8e8;color:var(--ink);box-shadow:0 12px 50px #173a3755; }.village-menu::backdrop { background:#183b3466; }.village-menu h2 { margin:7px 0 20px;font:1000 25px/1.2 Nunito,sans-serif; }.village-menu>.eyebrow { margin:0;color:#80683e; }
.game-nav { position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;height:auto;max-width:none;gap:8px;translate:none; }
.game-nav button { min-width:0;min-height:76px;gap:6px;border:1px solid #d6c39e;border-radius:13px;background:#fffdf3;box-shadow:0 2px #c7bb9277;font-size:14px;letter-spacing:0; }
.game-nav button>span:first-child { font-size:23px; }
.game-nav .nav-featured { background:#306f4d;border-color:#85b97c;box-shadow:0 3px #20523b;color:#fff7dc; }
.world-controls { position:static;display:grid;grid-template-columns:1fr 1fr;gap:8px; }.world-controls button { display:flex;align-items:center;justify-content:center;gap:7px;min-height:48px;padding:8px;border:1px solid #d6c39e;border-radius:12px;background:#f3ecd7;font-size:14px;font-weight:900; }.world-controls button[aria-pressed=true] { background:#dce9cc;color:#294838; }.world-controls button>span:first-child { font-size:23px; }
#session-button { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px;margin:18px 0 12px;padding:12px;text-align:left;width:100%;min-height:62px;border:1px solid #d6c39e;border-radius:12px;background:#fffdf3; }#session-button .account-label { font-size:14px;font-weight:900; }#resident-name { grid-column:1;grid-row:2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#526d4b; }#session-button>span:last-child { grid-column:2;grid-row:1/3;align-self:center;font-size:24px; }.dialog-close { width:44px;height:44px; }
.sheet { background:#fff8e8;border-radius:22px 22px 0 0; }
.sheet h2 { font-family:Nunito,sans-serif;font-size:25px;font-weight:1000; }
.pv-summary { padding:15px;border:1px solid #d7c49a;border-radius:15px;background:#fffdf3; }.pv-total { display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:6px 12px; }.pv-total h3 { margin:0;font-size:16px; }.pv-total strong { font-size:22px;color:#276b50;white-space:nowrap; }.pv-summary>progress { display:block;width:100%;height:9px;margin:10px 0; }.pv-summary p { margin:6px 0 0;font-size:14px;line-height:1.4;color:#52674b; }.pv-confirmation[data-pending=true] { padding:8px;border-radius:8px;background:#fff0c9;color:#795327; }.pv-component { margin-top:15px; }.pv-component-heading { display:flex;align-items:baseline;justify-content:space-between;gap:6px; }.pv-component h4 { margin:0;font-size:14px; }.pv-component b { font-size:14px;white-space:nowrap; }.pv-component progress { display:block;width:100%;height:6px;margin-top:6px; }.pv-summary .pv-explanation { margin-top:16px;padding-top:12px;border-top:1px solid #e4d9b9; }.mission-list-title { margin:22px 0 3px;font-size:17px; }.mission-item h3 { font-size:16px; }.mission-item p { font-size:14px;line-height:1.4; }.mission-item .mission-reward { display:block;font-size:14px;white-space:normal;padding:0;margin-top:7px;background:none;color:#745b34; }.mission-item[data-pending=true] .mission-reward { color:#93601f; }
.sheet>p:not(.eyebrow),.shop-card p,.employee-item p { font-size:14px;line-height:1.4; }
.shop-card { border-radius:13px;background:#fffdf3; }
.shop-card h3,.employee-item h3 { font-size:16px; }
.shop-card button { font-size:13px;min-height:44px; }
.primary-button,.secondary-button { font-size:15px;min-height:46px;border-radius:12px; }
.primary-button { background:#337b51;border-color:#83b67a;box-shadow:0 3px #20563c; }
.welcome-dialog h2 { font:1000 28px/1.15 Nunito,sans-serif; }
.welcome-dialog>p:not(.eyebrow) { font-size:14px;line-height:1.5; }
@media(max-width:360px) {
 .game-header{left:10px;right:10px;gap:5px}.game-brand h1{font-size:16px}.money{font-size:16px;padding:8px 5px;min-width:53px}.coin-symbol{width:18px;height:18px;font-size:11px}
 .task-stack{left:10px;right:10px}.mission-card{grid-template-columns:24px minmax(0,1fr) 44px;gap:6px}.mission-illustration{width:24px;height:30px}.mission-illustration img{width:23px;height:23px}.mission-copy h2,.task-stack[data-compact=true] .mission-copy h2{font-size:16px}
 .inventory-bar{right:10px;width:calc(100% - 142px);padding:8px}.inventory-title,.inventory-title span{font-size:12px}.inventory-items{gap:4px}.inventory-short{font-size:11px}
 .joystick{left:15px;bottom:calc(24px + var(--safe-bottom));width:102px;height:102px}.joystick-knob{width:54px;height:54px;left:22px;top:22px}
 .camera-controls{right:10px}
}
@media(max-height:670px) {
 .mission-copy h2,.task-stack[data-compact=true] .mission-copy h2 { font-size:16px; }
 #staff-status:not([data-important=true]),#world-feedback-notice:not([data-priority-until]):not([data-social=true]){display:none!important}
}
@media(min-width:700px) {
 .game-header{left:24px;right:24px;top:calc(16px + var(--safe-top))}.game-brand{flex:0 1 auto;margin-right:auto}.game-brand h1{font-size:21px}.money{font-size:20px;margin-right:6px}
 .task-stack{left:24px;right:auto;width:360px;top:calc(76px + var(--safe-top))}.inventory-bar{right:24px;bottom:calc(28px + var(--safe-bottom));width:240px}
 .joystick{left:32px;bottom:calc(28px + var(--safe-bottom))}
 .camera-controls{right:24px}
}
.audio-settings { margin:16px 0 0;padding:10px 12px 8px;border:1px solid #d6c39e;border-radius:14px;background:#faf2dd;min-width:0; }
.audio-settings legend { padding:0 5px;font-size:13px;font-weight:900;color:#365540; }
.audio-option { display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;font-size:14px;font-weight:800;cursor:pointer; }
.audio-option input { width:22px;height:22px;margin:0;accent-color:#365540;flex:none; }
.audio-volume { display:block;padding-top:4px;font-size:14px;font-weight:800; }
.audio-volume>span { display:flex;align-items:center;justify-content:space-between;gap:12px; }
.audio-volume output { font-size:13px;color:#5e604f;font-variant-numeric:tabular-nums; }
.audio-volume input { display:block;width:100%;height:44px;margin:0;accent-color:#365540;touch-action:pan-x; }
.audio-status { min-height:2.5em;margin:0;font-size:11px;line-height:1.4;color:#676651; }
.pantry-supply { padding:14px;border:1px solid #d6c39e;border-radius:14px;background:#faf2dd;margin:0 0 20px; }
.pantry-supply h3 { margin:0 0 8px;font-size:17px; }.pantry-supply p { font-size:14px;line-height:1.5; }
.pantry-supply>button { width:100%;min-height:48px;margin:8px 0 12px; }
.pantry-priority { display:block;font-size:13px;font-weight:900; }.pantry-priority select { display:block;width:100%;min-height:48px;padding:10px;margin:7px 0;font:inherit;border:1px solid #cbb993;border-radius:10px;background:#fffaf0;color:#294838; }
.recipe-help { margin-top:14px;border-top:1px solid #d6c39e;padding-top:12px; }.recipe-help summary { min-height:44px;cursor:pointer;font-size:14px;font-weight:900; }
.recipe-route h4 { margin:10px 0;font-size:14px; }.recipe-route ol { padding-left:20px;margin:0;font-size:13px;line-height:1.55; }.recipe-route li+li { margin-top:5px; }
