/* Approved game-feel-v1: the world is the primary surface. */
.game-shell{max-width:1600px;width:100%;height:100dvh;margin:0;box-shadow:none}.game-shell::after{display:none}.game-nav{display:none!important}.game-header{position:absolute;inset:0 0 auto;height:76px;border:0;padding:12px 18px;background:linear-gradient(#08130eed,transparent);pointer-events:none;z-index:9}.game-header button{pointer-events:auto}.world-location{flex:1;min-width:0;margin-left:10px}.world-location small{font:600 9px system-ui;letter-spacing:2px;color:var(--lime)}.world-location h1{font:25px/1.2 Georgia,serif;letter-spacing:0;margin-top:4px}.header-actions{gap:6px}.header-actions .icon-button{width:auto;min-width:44px;min-height:44px;background:#102019c9;border:1px solid #82917a40;padding:8px}#world-bag{display:flex;gap:5px}#world-bag b{font:12px system-ui}.game-header #sound{display:none}.screens{height:100%;flex:1}.explore-hud{top:86px}.map-tools{top:140px}.map-status{top:145px}.home-settings-screen{padding-top:90px}.game-shell.interior-mode .game-header{display:none}.game-shell.interior-mode .interior-screen{height:100%;padding:0}.scene-wordmark{font:600 10px system-ui!important;letter-spacing:1px!important}.map-first-top.scene-top{height:68px}.map-first-top [data-open-bag]{display:flex;align-items:center;gap:6px;white-space:nowrap}.map-first-top [data-open-bag] svg{width:20px;height:20px}.scene-location{top:75px}.scene-location>p:last-child{display:none}.map-first-stage .scene-map{inset:115px 0 48px}.home-resource-hud.resource-hud{position:absolute;top:113px;left:16px;right:auto;margin:0;padding:5px 0;z-index:2;max-width:330px;width:calc(100% - 32px);border:0;background:#0b1814a8;box-shadow:none}.home-resource-hud.resource-hud .game-art{width:25px;height:25px}.home-resource-hud.resource-hud b{font:14px system-ui}.map-first-stage:has(.home-resource-hud) .scene-map{top:155px}.map-first-tray.scene-tray{border-radius:4px;margin:0 16px calc(20px + env(safe-area-inset-bottom));border:0;border-top:1px solid #cfdfaa55;max-height:40%;background:#0b1b15ed;width:calc(100% - 32px);max-width:650px;align-self:center;padding:14px 18px 6px}.scene-dock-links{margin-top:8px}.map-first-tray .action.primary{border-radius:5px}.world-panel{position:fixed;inset:auto 0 0;width:min(660px,100%);max-height:85dvh;margin:0 auto;padding:24px 20px;background:#13241efc;border:1px solid #81946a66;border-bottom:0;border-radius:16px 16px 0 0;color:var(--cream);overflow:auto}.world-panel::backdrop{background:#050e0a66;backdrop-filter:blur(2px)}.panel-close{position:sticky;top:0;float:right;z-index:2;font-size:24px;min-width:44px;min-height:44px}.panel-screen{clear:none;padding:0;background:none}.panel-screen .screen-heading,.panel-screen .workshop-banner{padding:8px 0 18px;background:none;min-height:0}.panel-screen h1{font-size:29px}.panel-screen .screen-heading>p:last-child,.panel-screen .workshop-banner>p:last-child{font:12px/1.4 system-ui;margin-top:8px}.panel-screen .recipe-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.panel-screen .recipe-card{border-radius:4px;padding:12px 6px}.panel-screen .recipe-card h3{font-size:16px}.panel-screen .item-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.panel-screen .item-slot{border-radius:3px}.panel-screen .item-slot .game-art{width:60px;height:60px}#workshop-equipment{font:14px system-ui;margin:12px 0;min-height:44px}.loot-reveal{position:absolute;left:50%;top:40%;width:max-content;max-width:calc(100% - 24px);translate:-50% -50%;display:flex;flex-wrap:wrap;justify-content:center;gap:12px;z-index:30;pointer-events:none;filter:drop-shadow(0 0 25px #d9e99a55)}.loot-find{text-align:center;max-width:140px}.loot-find .game-art{display:block;width:90px;height:90px;margin:0 auto 6px}.loot-find strong{display:block;font:650 17px/1.3 system-ui;color:#f2f4d7;text-shadow:0 2px 7px #000}.bag-pulse{animation:bag-pulse .3s ease-out}@keyframes bag-pulse{50%{background:#52663a;transform:scale(1.08)}}.shelter-screen .shelter-copy{padding-top:0}.shelter-screen .shelter-copy>.overline{display:none}.shelter-screen #resource-hud{margin-top:90px}.shelter-screen .refuge-title h1{font-size:29px}.shelter-screen .survivor-next{display:none}.shelter-screen .shelter-shortcuts{margin-bottom:8px}
@media(min-width:761px){.game-shell{margin:0;height:100dvh}.game-shell.interior-mode .scene-map{left:8%;right:8%}.game-shell .detail-dialog{max-width:620px}.game-shell .shelter-copy{max-width:600px;align-self:center;width:100%}.map-footer{max-width:650px;margin:auto}.signal-sheet{max-width:650px;margin:auto}.explore-hud{left:24px;right:24px}}
@media(max-width:360px){.game-header{padding:10px;gap:4px}.world-location h1{font-size:21px}.map-first-top.scene-top{padding:8px;gap:5px}.scene-wordmark{display:none}.map-first-tray.scene-tray{margin-inline:10px;width:calc(100% - 20px);padding:12px 12px 4px}.scene-dock-links{gap:3px}.scene-dock-links button{font-size:11px}.panel-screen .recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.panel-screen .item-slot .game-art{width:45px;height:45px}.world-panel{padding:16px 12px}.loot-find .game-art{width:70px;height:70px}}
@media(max-height:650px){.map-first-stage .scene-map{inset:105px 0 42px}.map-first-stage:has(.home-resource-hud) .scene-map{top:137px}.home-resource-hud.resource-hud{top:98px}.map-first-tray.scene-tray{margin-bottom:8px;padding-top:8px}.scene-location{top:65px}.map-first-tray h2{font-size:19px}.scene-dock-links{margin-top:4px}}
@media(prefers-reduced-motion:reduce){.bag-pulse{animation:none}.loot-reveal{transition:none}}
