/* Winter 2026 art direction. Presentation only; coordinates belong to scene-layout.js. */
:root { --wood:#62320f; --wood-dark:#341b12; --gold:#dba34e; --paper:#ffe8b9; --ink:#542d18; }
.game { min-height:0; background:#152b4d; }
.scene { background:#6672a0 url('assets/winter26/landscape.webp') center / cover no-repeat !important; }
.scene .world-object { filter:none; transition:transform .2s ease; isolation:isolate; }
.scene .world-object img { filter:none !important; opacity:1; width:100%; height:100%; max-height:100%; object-fit:contain; object-position:center bottom; }
.scene .illustrated-building .building-art, .scene .house-object #house-art { height:100% !important; width:100%; transform:none; }
.scene .world-object:hover { transform:translateY(-3px); filter:none; }
.scene .world-object:focus-visible { outline:3px solid #fff1a8 !important; outline-offset:4px; border-radius:24px; }
.scene .world-object.selected:after { opacity:.35; }
.scene .world-object::before { pointer-events:none; }
.scene .building-sign, .scene .object-tag { position:absolute; left:50%; top:auto; bottom:0; transform:translateX(-50%); white-space:nowrap; color:#fff1d5 !important; text-shadow:0 2px #35180e !important; font:700 clamp(10px,1.2vw,18px)/1.1 Georgia,serif !important; letter-spacing:0 !important; padding:9px 18px !important; border:3px solid #b77837 !important; border-radius:18px !important; background:linear-gradient(#9b592a,#542609) !important; box-shadow:inset 0 2px #f8d18d, inset 0 -3px #3a1a0a,0 3px 4px #1a10234d !important; }
.scene .house-object .object-tag,.scene .illustrated-building .building-sign { bottom:9%; }
.scene .tree-object .object-tag { font-size:12px !important; bottom:-1%; }
.scene .varya-object .object-tag,.scene .ded-object .object-tag,.scene .pet-object .object-tag { font:700 11px/1.1 Georgia,serif !important; padding:4px 8px !important; border-width:2px !important; }
.scene .tree-star { display:none; }
.scene .tree-lights { opacity:.3; pointer-events:none; }
.scene .tree-object { transform-origin:50% 95%; }
.scene .tree-halo { top:auto; bottom:0; height:28%; width:90%; background:radial-gradient(ellipse,#ffdf7740,transparent 70%); }
.scene .lock-badge { top:14%; right:6%; background:#2a3f54; color:#fff2d1; border:2px solid #c49a5d; padding:5px 9px; font-size:11px; }
.scene .world-state-label { bottom:-14px; padding:4px 9px; background:#ffe6ac; border:1px solid #936532; color:#673c1b; border-radius:9px; font-size:10px; }
.scene .building-status { bottom:0; color:#fff0c8; background:#385c26; border:1px solid #9ab65a; padding:4px 10px; border-radius:8px; }
.scene .house-upgrade-meter,.scene .tree-upgrade-meter { bottom:-8px; height:6px; border:1px solid #c29b5b; background:#664526; }
.scene-hint { bottom:106px; background:#162640b3; border:1px solid #dbbd7e66; color:#fff0cf; }
.topbar { left:0; right:0; height:84px; padding:10px 18px; gap:10px; background:linear-gradient(#0c1d3c88,transparent) !important; }
.brand { min-width:155px; gap:8px; }
.brand small { letter-spacing:1px; color:#e5d9ca; }
.brand-mark { background:linear-gradient(#925524,#47240d); border:2px solid #d2a05d; border-radius:15px; box-shadow:inset 0 2px #f8db9b,0 4px #2f180e; }
.resources { margin:0 auto; gap:0; padding:4px 8px; border:3px solid #b47b42; border-radius:28px; background:linear-gradient(#995727,#663413 48%,#44200c); box-shadow:inset 0 3px #f3d9a2, inset 0 -3px #321809,0 5px 7px #14203d66; }
.resource { background:none; border:0; border-right:1px solid #dcb07566; border-radius:0; min-width:125px; padding:4px 12px; box-shadow:none; color:#fff4de; gap:10px; }
.resource:last-child { border-right:0; }
.resource small { color:#e2c2a0; font-size:10px; }
.resource b { font-size:21px; color:#fff4de; text-shadow:0 2px #3e1b0d; }
.resource-icon,.resource:nth-child(2) .resource-icon,.resource:nth-child(3) .resource-icon { display:grid; background:radial-gradient(circle at 35% 25%,#fff5b8,#ffc441 45%,#b7660d 75%); color:#ffeb9b; border:2px solid #ffd886; box-shadow:0 3px 2px #2c100b80; width:36px; height:36px; font-size:26px; border-radius:50%; }
.resource:nth-child(2) .resource-icon { border:0; background:none; color:#b7efff; font-size:38px; text-shadow:0 2px #287ca8,0 0 8px #9ddfff; box-shadow:none; }
.resource:nth-child(3) .resource-icon { border-radius:9px; background:linear-gradient(145deg,#ffb4ba,#e43b65 45%,#8e173c); color:#ffdfed; border-color:#fb849c; }
.energy-resource .resource-icon { color:#ffe5df; background:linear-gradient(#fc8073,#b92c2c); border-color:#ffae81; }
.icon-button { flex:0 0 48px; width:48px; height:48px; margin-left:0; background:linear-gradient(#a76c38,#4d240f); border:3px solid #c99150; border-radius:15px; color:#ffe8bc; box-shadow:inset 0 2px #ffe3a7,0 4px #341c12; font-size:25px; }
.quest-card { left:18px; right:auto; top:100px; width:244px; padding:24px 18px 18px; border:7px ridge #bb8950; border-radius:22px; background:radial-gradient(ellipse at center,#fff2d2,#f3d29d) !important; box-shadow:inset 0 0 0 2px #ffe9b6,0 7px 12px #10234366; }
.quest-card::before,.object-panel::after,.modal::after { content:""; position:absolute; pointer-events:none; left:10px; right:10px; top:-9px; height:19px; border-radius:50%; background:repeating-linear-gradient(125deg,#183d25 0 7px,#376b32 8px 11px,#23512a 12px 17px); box-shadow:0 3px 0 #102b1b,0 -3px 0 #f0f0db; }
.quest-eyebrow { color:#8b5128; font-size:9px; letter-spacing:.7px; }
.quest-star { color:#b57622; background:none; }
.quest-card h2 { color:#5c2b13; font:700 23px/1.1 Georgia,serif; margin-top:18px; }
.quest-card p { color:#775039; font-size:12px; line-height:1.45; }
.quest-card .quest-progress { height:11px; border:1px solid #b0864c; background:#c9aa7b; box-shadow:inset 0 2px 3px #54351244; }
.quest-card .quest-progress span { background:linear-gradient(#a6ca4c,#4f7e21); }
.quest-footer { display:grid; gap:10px; }
.quest-footer span { color:#805c36; font-size:11px; }
.quest-toggle { background:linear-gradient(#e7af5c,#9b581f); border:2px solid #ffe1a0; color:white; top:8px; right:8px; }
.quest-card.collapsed { width:230px; padding:14px; }
.bottom-nav { left:50%; right:auto; bottom:14px; width:min(1100px,calc(100% - 40px)); display:flex; gap:10px; padding:0; background:transparent !important; box-shadow:none; border:0; }
.nav-item { flex:1; min-width:0; min-height:70px; display:flex; flex-direction:row; justify-content:center; padding:9px 18px; border:4px solid #b67d40; border-radius:22px; background:linear-gradient(#8c4b24,#522508); box-shadow:inset 0 3px #ebc58a,inset 0 -3px #321708,0 5px 7px #0c213d99; font-size:16px; color:#fff1d5; text-shadow:0 2px #351b10; }
.nav-item span { font-size:32px; color:#ffdc86; }
.nav-item.active { background:linear-gradient(#8d4b1c,#4e230b); border:4px solid #ffd87f; color:#fff3cd; box-shadow:inset 0 2px #fff0b7,0 0 16px #ffc12e,0 4px 5px #3c1e15; }
.nav-item:hover:not(.active) { background:linear-gradient(#a96731,#613414); }
.nav-dot { background:#ff5b36; border:2px solid #ffe8ac; }
/* Rooms retain real state, timers and merge controls above the painted backdrop. */
#object-panel.object-panel { position:absolute; z-index:40; top:50%; left:50%; right:auto; bottom:auto; transform:translate(-50%,-50%); width:min(990px,calc(100vw - 44px)); height:min(690px,calc(100dvh - 46px)); grid-template-columns:minmax(0,1fr) minmax(290px,.72fr); grid-template-rows:minmax(0,1fr); gap:0; padding:18px; overflow:visible; border:8px ridge #af7839; border-radius:24px; background:var(--wood-dark) url('assets/winter26/interior-1.webp') left center / cover; box-shadow:0 0 0 100vmax #071327ab,0 20px 65px #071323cc; backdrop-filter:none; animation:room-enter .22s ease-out; }
#object-panel[data-view="workshop"] { background-image:url('assets/winter26/interior-0.webp'); }
#object-panel[data-view="nursery"],#object-panel[data-view="pet"] { background-image:url('assets/winter26/interior-2.webp'); }
#object-panel[data-view="post"] { background-image:url('assets/winter26/interior-3.webp'); }
#object-panel .panel-content { grid-column:2; grid-row:1; align-self:center; max-height:100%; overflow:auto; padding:25px 22px 20px; margin:8px 0; border:5px ridge #cb9651; border-radius:17px; background:radial-gradient(ellipse at center,#fff2cd,#efd09b); box-shadow:0 5px 20px #1c100b88,inset 0 0 18px #bc813755; }
#object-panel .panel-art { grid-column:1; grid-row:1; width:100%; height:100%; min-height:0; padding:30px; margin:0; border:0; border-radius:0; background:linear-gradient(90deg,#21100900,#21100944); box-shadow:none; overflow:hidden; display:flex; align-items:end; justify-content:center; }
#object-panel .panel-art::after { content:none; }
#object-panel .panel-art img { width:100%; height:auto; max-height:68%; object-fit:contain; filter:drop-shadow(0 8px 5px #0a102655); }
#object-panel[data-view="workshop"] .panel-art img,#object-panel[data-view="post"] .panel-art img,#object-panel[data-view="nursery"] .panel-art img { visibility:hidden; }
#object-panel .panel-kicker { text-align:left; color:#97612c; font-size:10px; margin:0 0 8px; letter-spacing:1.5px; }
#object-panel .panel-content h2 { color:#613014; font:700 clamp(22px,2.4vw,32px)/1.08 Georgia,serif; text-align:left; margin:0 0 16px; padding:0 10px 15px 0; border-bottom:1px solid #bd8c4a; }
#object-panel .panel-content>p { text-align:left; color:#785236; font-size:13px; line-height:1.5; margin:0 0 14px; }
#object-panel .panel-stat { padding:12px 0; border:0; border-radius:0; background:none; box-shadow:none; color:#89613b; font-size:12px; }
#object-panel .panel-stat b { color:#653c20; font-size:13px; }
#object-panel .panel-progress { height:12px; border:1px solid #a57843; background:#b6996e; margin:5px 0 0; }
#object-panel .panel-progress span { background:linear-gradient(#c8dc69,#669125); }
#object-panel #panel-progress-text { color:#805e3b; font-size:11px; text-align:left; margin-top:7px; }
#object-panel .primary-action,.primary-action,.quest-footer button,.collection-buy { background:linear-gradient(#b1cf4c,#72992d 45%,#49781e); border:2px solid #e3d18c; color:#fffada; text-shadow:0 1px #40621b; box-shadow:inset 0 1px #ebf5ac,0 3px #664819,0 4px 6px #79552d44; border-radius:14px; font-size:13px; padding:12px; }
#object-panel .primary-action { width:100%; margin:18px 0 0; }
#object-panel .primary-action:disabled { background:linear-gradient(#bdac8e,#99896f); border-color:#d6c5a2; color:#f3e7d5; text-shadow:none; box-shadow:inset 0 1px #eee0c0; }
#object-panel .panel-close,.modal .panel-close { top:-18px; right:-18px; width:43px; height:43px; border:4px solid #edc37b; border-radius:50%; background:linear-gradient(#db9b42,#8e4a18); box-shadow:0 3px #492511; color:#fff7dd; z-index:5; font-size:28px; }
#object-panel .workshop-board { margin:16px 0 8px; padding:8px; gap:5px; border:3px ridge #bd8c47; background:#61371b; border-radius:12px; }
#object-panel .factory-slot { min-height:76px; border:1px solid #d3aa61; background:linear-gradient(#f8dfa5,#c89c57); border-radius:8px; }
#object-panel .factory-runner { height:44px; }
#object-panel .elf-portrait { height:44px; width:40px; }
#object-panel .factory-slot small { font-size:9px; padding:0; color:#74441c; }
#object-panel .workshop-hint { font-size:11px; padding:9px; margin:8px 0; background:#ddbd81; color:#654220; border:1px solid #b99254; }
#object-panel .panel-feedback { font-size:11px !important; color:#a0442a !important; }
.modal-backdrop { background:#071327bb; }
.modal { position:relative; overflow:visible; width:min(600px,calc(100vw - 34px)); padding:28px; border:8px ridge #b8803f; border-radius:20px; background:radial-gradient(ellipse,#fff0ce,#efd09b); box-shadow:0 15px 50px #080f22aa; color:#6d3c1a; }
#modal-body { max-height:55dvh; overflow:auto; }
.modal h2 { color:#65351b; font-family:Georgia,serif; }
.modal-note,.collection-item { background:#eacb92; color:#78532f; border-color:#b68b4b; }
.collection-icon { background:#c39a5d; color:#fff3be; }
.collection-item-copy b { color:#6b3a1a; }
.collection-item-copy small { color:#7b5737; }
.toast { border:2px solid #dbb46c; background:#52301a; color:#fff2cc; z-index:70; }
@keyframes room-enter { from { opacity:0; translate:0 10px; } to { opacity:1; translate:0 0; } }
@keyframes sprite-arrive { from { opacity:.6; translate:0 6px; } to { opacity:1; translate:0 0; } }
.sprite-arrive { animation:sprite-arrive .45s ease-out; }
@media(max-width:1050px) {
 .brand { min-width:110px; }.brand small { display:none; }.resource { min-width:95px; padding:3px 8px; }.resource b { font-size:17px; }.quest-card { width:205px; padding:20px 13px 12px; }.quest-card h2 { font-size:20px; }
 .nav-item { font-size:13px; padding:8px; min-height:60px; }.bottom-nav { gap:7px; }.icon-button { flex-basis:40px; width:40px; height:40px; }
}
@media(max-width:700px) {
 .topbar { padding:7px; height:65px; gap:5px; }.brand { display:none; }.resources { padding:3px; border-width:2px; border-radius:16px; margin:0 auto 0 0; flex:1; justify-content:space-evenly; }.resource { min-width:0; padding:3px 7px; gap:4px; }.resource-icon,.resource:nth-child(2) .resource-icon,.resource:nth-child(3) .resource-icon { display:grid; width:23px; height:23px; font-size:19px; }.resource b { font-size:13px; }.resource small { font-size:8px; }.energy-resource .resource-icon { display:none; }.icon-button { flex-basis:33px; height:33px; width:33px; font-size:20px; border-width:2px; border-radius:10px; }
 .quest-card { top:76px; left:8px; width:185px; padding:14px 12px; border-width:5px; }.quest-card.collapsed { width:185px; padding:11px; }.quest-card h2 { font-size:18px; }.quest-card p { font-size:11px; }.quest-toggle { width:25px; height:25px; right:5px; top:5px; }
 .bottom-nav { left:8px; right:8px; width:auto; transform:none; bottom:calc(9px + env(safe-area-inset-bottom)); gap:5px; }.nav-item { flex-direction:column; min-height:59px; border-width:3px; border-radius:15px; padding:5px 2px; font-size:9px; gap:3px; }.nav-item span { font-size:24px; }.nav-item.active { border-width:3px; }.scene-hint { bottom:84px; font-size:9px; }
 #object-panel.object-panel { width:calc(100vw - 24px); height:min(810px,calc(100dvh - 38px)); padding:10px; border-width:5px; border-radius:17px; grid-template-columns:1fr; grid-template-rows:minmax(100px,.65fr) minmax(0,1fr); }
 #object-panel .panel-art { grid-column:1; grid-row:1; padding:8px; background:none; }
 #object-panel .panel-art img { height:100%; width:auto; max-height:100%; max-width:50%; }
 #object-panel .panel-content { grid-column:1; grid-row:2; padding:17px; margin:0; border-width:3px; align-self:stretch; }
 #object-panel .panel-content h2 { font-size:23px; margin-bottom:10px; padding-bottom:10px; } #object-panel .panel-content>p { font-size:12px; margin-bottom:9px; }
 #object-panel .panel-close { width:36px; height:36px; top:-13px; right:-10px; border-width:3px; font-size:24px; }
 #object-panel .primary-action { margin-top:12px; }.modal { padding:20px; border-width:5px; }
}
@media(max-height:600px) and (min-width:701px) {
 .topbar { height:60px; padding:7px 12px; }.brand small { display:none; }.resource { padding:2px 8px; }.resource b { font-size:16px; }.resource-icon { width:27px; height:27px; }.quest-card { top:75px; width:190px; padding:14px; }.quest-card h2 { font-size:18px; }.quest-card p { font-size:10px; }.bottom-nav { bottom:8px; width:min(900px,calc(100% - 25px)); }.nav-item { min-height:48px; font-size:12px; padding:6px; }.nav-item span { font-size:24px; }.scene-hint { display:none; }
 #object-panel.object-panel { height:calc(100dvh - 26px); }.panel-content { font-size:12px; }#object-panel .panel-content h2 { font-size:23px; }#object-panel .panel-content { padding:15px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; } }
/* Status badges must have an intrinsic height; old top/bottom rules cannot stretch them. */
.scene .illustrated-building .building-status { top:auto; bottom:0; height:auto; }
.scene .world-state-label { top:-8px; bottom:auto; height:auto; }
.scene .world-object { filter:none !important; }
.scene .illustrated-building[data-object="post"],.scene .illustrated-building[data-object="nursery"] { filter:none !important; }
.scene .tree-object .tree-lights { display:none !important; }
.scene .world-object .building-sign { text-transform:none; }
.scene .house-object .house-upgrade-meter,.scene .tree-object .tree-upgrade-meter { bottom:-4px; }
.scene .world-object .object-tag::before { content:none; }
.nav-item .nav-art { display:block; width:50px; height:48px; flex:0 0 50px; font-size:0; background:center/contain no-repeat; }
.nav-item .nav-home { background-image:url('assets/winter26/building-0.png'); }
.nav-item .nav-workshop { background-image:url('assets/winter26/building-1.png'); }
.nav-item .nav-sleigh { background-image:url('assets/winter26/prop-2.png'); }
.nav-item .nav-collection { background-image:url('assets/stage2/decor-gift.png'); }
@media(max-width:700px) { .nav-item .nav-art { height:29px; width:35px; flex-basis:29px; } }
.scene { background-image:url('assets/winter26/landscape.webp'),url('assets/winter26/landscape.webp') !important; background-size:auto 100%,cover !important; background-repeat:no-repeat !important; }
@media(max-height:500px) and (min-width:701px) { .bottom-nav { bottom:6px; }.nav-item { min-height:40px; height:40px; padding:3px 8px; }.nav-item .nav-art { width:30px; height:28px; flex-basis:30px; } }
.quest-card::before,.object-panel::after,.modal::after { border:0; border-radius:0; height:58px; top:-29px; left:0; right:0; background:url('assets/winter26/garland.png') center / 310px 95px repeat-x; box-shadow:none; }
.quest-card::before { height:43px; top:-23px; left:-8px; right:-8px; background-size:260px 80px; }
@media(max-width:700px) { .quest-card::before { height:33px; top:-18px; background-size:215px 66px; } }
#object-panel[data-view="sleigh"] { background-image:url('assets/winter26/journey-0.webp'); background-position:left center; background-size:auto 100%; background-repeat:no-repeat; }
#object-panel[data-view="chest"] { background-image:url('assets/winter26/journey-1.webp'); background-position:left center; background-size:auto 100%; background-repeat:no-repeat; }
#object-panel[data-view="sleigh"] .panel-art img { max-height:40%; }
#object-panel[data-view="chest"] .panel-art img { max-height:50%; }
@media(max-width:700px) { #object-panel[data-view="sleigh"],#object-panel[data-view="chest"] { background-size:cover; } }
/* Feather only the environmental side margins; gameplay sprites use the exact world origin. */
.game .scene { background-image:url('assets/winter26/landscape.webp') !important; background-size:cover !important; }
.game .scene::before { content:"" !important; position:absolute; pointer-events:none; z-index:-1; top:0; bottom:0; left:var(--world-left,0); width:var(--world-width,100%); height:100%; background:url('assets/winter26/landscape.webp') center / 100% 100% no-repeat; mask-image:linear-gradient(to right,transparent,#000 48px,#000 calc(100% - 48px),transparent); }
.bottom-nav { transform:translateX(-50%); }
@media(max-width:700px) { .bottom-nav { transform:none; } }
@media(max-height:500px) and (min-width:701px) {
 .scene .building-sign,.scene .object-tag { font-size:9px !important; padding:4px 8px !important; border-width:2px !important; }
 .scene .tree-object .object-tag,.scene .varya-object .object-tag,.scene .ded-object .object-tag,.scene .pet-object .object-tag { font-size:8px !important; padding:3px 6px !important; }
 .scene .world-state-label,.scene .illustrated-building .building-status { font-size:8px; padding:2px 4px; }
}
