:root[data-season="autumn"],:root[data-season="thanksgiving"] {--season-cream:#fff7e8;--season-ink:#49382b;--season-accent:#a95c37}
html[data-season]:not([data-season="original"]) :is(.search-bar,.world-switch-trigger,.language-trigger,.camera-control,.music-control,.resident-profile,.world-switch-menu,.language-menu){background:#fff7e8f2;color:#49382b;border-color:#d6b58b;box-shadow:0 6px 25px #68492a1a}
html[data-season]:not([data-season="original"]) :is(.profile-eyebrow,.goal-label,.world-switch-action){color:#a95c37}
html[data-season]:not([data-season="original"]) :is(.profile-follow,.account-launcher){background:#9a583b;color:#fff8eb}
html[data-season]:not([data-season="original"]) #loading{background:radial-gradient(ellipse at 20% 15%,#f0d8ad,transparent 55%),#fff7e8;color:#49382b}
html[data-season]:not([data-season="original"]) #loading progress{accent-color:#a95c37}
#season-launch {position:fixed;inset-block-start:20px;left:50%;transform:translateX(-50%);z-index:24;border:1px solid #d3b78f;border-radius:30px;background:#fff7e8ed;color:#59412b;padding:9px 17px;box-shadow:0 4px 18px #5036181a;font:600 13px system-ui;cursor:pointer}
#season-launch::before{content:'🍂';margin-inline-end:8px}
#season-dialog{border:1px solid #dcc5a2;border-radius:24px;padding:28px;background:#fff9ee;color:#49382b;width:min(430px,calc(100vw - 64px));box-shadow:0 24px 90px #30211555;font:15px/1.5 system-ui}
#season-dialog::backdrop{background:#362b204d;backdrop-filter:blur(3px)}
#season-dialog h2{font:600 27px Georgia,serif;margin:0 0 8px}#season-dialog p{color:#78634e;margin:8px 0 20px}
#season-dialog label{display:block;font-weight:600;margin-top:16px}#season-dialog select{box-sizing:border-box;width:100%;padding:12px;margin:7px 0;border:1px solid #d4b990;border-radius:12px;background:#fffdf7;color:#49382b;font:inherit}
#season-dialog button{border:0;border-radius:12px;background:#9a583b;color:#fff7e8;padding:11px 21px;margin-top:18px;font:600 14px system-ui;cursor:pointer}
#season-dialog .season-close{float:inline-end;background:transparent;color:#49382b;font-size:24px;padding:0 5px;margin:0}
#season-dialog .season-art{height:65px;margin:12px 0 18px;background:radial-gradient(ellipse at 25% 80%,#c6823e 0 13%,transparent 14%),radial-gradient(ellipse at 46% 88%,#dfbd79 0 10%,transparent 11%),radial-gradient(ellipse at 70% 80%,#aa6440 0 14%,transparent 15%);border-bottom:2px solid #d9c59f}
#season-dialog :focus-visible,#season-launch:focus-visible{outline:3px solid #87522e;outline-offset:3px}
@media(max-width:700px){#season-launch{inset-block-start:78px;font-size:12px;padding:7px 12px}}
@media(prefers-reduced-motion:reduce){#season-dialog *{animation:none!important;transition:none!important}}

/* Autumn edition: a complete, high-contrast shell with clear camera space. */
html[data-season]:not([data-season="original"]) #world::after{content:'';position:absolute;inset:0;pointer-events:none;z-index:2;border:7px solid #77351d;box-shadow:inset 0 0 70px #78351826}
html[data-season]:not([data-season="original"]) :is(.search-bar,.world-switch-trigger,.language-trigger,.camera-control,.music-control,.world-stats){background:#452b23;color:#fff1d6;border:2px solid #dda25b;box-shadow:0 6px 0 #281b1940,0 12px 30px #40241735;border-radius:15px}
html[data-season]:not([data-season="original"]) :is(.world-switch-action,.world-switch-current,.stat-unit,.stat-number,.search-icon,#clear-search){color:#ffdfab;stroke:currentColor}
html[data-season]:not([data-season="original"]) #search{color:#fff7e6}
html[data-season]:not([data-season="original"]) #search::placeholder{color:#e6c8a8}
html[data-season]:not([data-season="original"]) .shortcut{color:#efc993;border-color:#95715b}
html[data-season]:not([data-season="original"]) :is(.resident-profile,.search-popover,.world-switch-menu,.language-menu){background:#fff0d1;border:2px solid #bd7a42;border-radius:18px;box-shadow:0 12px 40px #40241740}
html[data-season]:not([data-season="original"]) :is(.profile-follow,.account-launcher){background:#a33e22;border:2px solid #edb55d;color:#fff6db}
html[data-season]:not([data-season="original"]) #season-launch{background:#9d371e;color:#fff3d7;border:2px solid #edb55d;border-radius:6px 6px 22px 22px;padding:14px 24px;font:700 17px Georgia,serif;box-shadow:0 6px 0 #542b2440;letter-spacing:.3px}
html[data-season]:not([data-season="original"]) #season-launch::before{content:'❧';font-size:25px;color:#ffd17b;vertical-align:middle}
html[data-season]:not([data-season="original"]) #season-dialog{background:#fff0d1;border:3px solid #a55b31;border-top:12px solid #9d371e;border-radius:12px}
html[data-season]:not([data-season="original"]) #season-dialog .season-art{height:110px;background:var(--season-art) center 64%/cover;border:0;border-radius:10px}
html[data-season]:not([data-season="original"]) #loading{z-index:30;background:#3a221d url('/autumn-scene.svg') center bottom/cover no-repeat;color:#fff1ce;padding:28px;isolation:isolate;overflow:hidden}
html[data-season]:not([data-season="original"]) #loading::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(#301d19c9 0%,#41251d88 60%,#41251d00)}
html[data-season]:not([data-season="original"]) #loading>h1{font:600 clamp(28px,4vw,54px)/1.1 Georgia,serif;letter-spacing:-1px;color:#fff0c9;text-shadow:0 3px 12px #25161280;margin:8px 0 10px}
html[data-season]:not([data-season="original"]) #loading-text{color:#ffe2b0;font-size:15px}
html[data-season]:not([data-season="original"]) #loading #progress{width:min(340px,78vw);height:12px;border:1px solid #f3bb6a;border-radius:20px;background:#41251d;overflow:hidden;margin-top:18px;accent-color:#ed9a36}
html[data-season]:not([data-season="original"]) #progress::-webkit-progress-bar{background:#41251d}
html[data-season]:not([data-season="original"]) #progress::-webkit-progress-value{background:linear-gradient(90deg,#b44321,#ffc969);border-radius:20px}
html[data-season]:not([data-season="original"]) #retry{background:#ffcc78;color:#3a221d;border:0;border-radius:10px;padding:12px 24px}
html[data-season]:not([data-season="original"]) #loading #peekaboo-pop{padding:8px 14px;border:1px solid #e6ae6555;border-radius:25px;background:#fff0d116;backdrop-filter:blur(5px)}
html[data-season]:not([data-season="original"]) #loading .season-loading-title{font:600 clamp(24px,3vw,38px)/1.2 Georgia,serif;color:#ffd38c;margin:0 0 18px;max-width:90vw}
.season-loading-title{display:none}html[data-season]:not([data-season="original"]) .season-loading-title{display:block}
@media(max-width:700px){html[data-season]:not([data-season="original"]) #season-launch{font-size:13px;padding:7px 14px;inset-block-start:80px}html[data-season]:not([data-season="original"]) #world::after{border-width:4px}html[data-season]:not([data-season="original"]) #loading{padding:18px}html[data-season]:not([data-season="original"]) #loading .season-loading-title{margin-bottom:10px}}
@media(max-height:650px){html[data-season]:not([data-season="original"]) #loading .season-loading-title{font-size:20px;margin:0 0 7px}html[data-season]:not([data-season="original"]) #loading>h1{font-size:26px}}
html[data-season]:not([data-season="original"]) :is(.pal-account-launcher,.coffee-support){background-color:#fff0d1;border:2px solid #c88a45;color:#663722;box-shadow:0 5px 0 #542b2426}
html[data-season]:not([data-season="original"]) :is(.coffee-support small,.coffee-support-arrow){color:#845b37}
html[data-season]:not([data-season="original"]) .coffee-support-cup{background:#ebc68d}
@media(max-width:700px){html[data-season]:not([data-season="original"]) #season-launch{inset-block-start:138px}html[data-season]:not([data-season="original"]) .coffee-support{max-width:145px}html[data-season]:not([data-season="original"]) .world-switch{max-width:180px}html[data-season]:not([data-season="original"]) .world-switch-trigger{max-width:100%}html[data-season]:not([data-season="original"]) .world-switch-titles{min-width:0}html[data-season]:not([data-season="original"]) .world-switch-current{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}

html[data-season]:not([data-season="original"]) #loading #peekaboo-residents{color:#fff0d1}

/* Cozy revision: green landscape, cream surfaces, soft terracotta accents. */
html[data-season]:not([data-season="original"]) #world::after{border:0;box-shadow:none}
html[data-season]:not([data-season="original"]) :is(.search-bar,.world-switch-trigger,.language-trigger,.camera-control,.music-control,.world-stats){background:#fff8edee;color:#625348;border:1px solid #ffffffd9;box-shadow:0 5px 22px #69544922;border-radius:22px}
html[data-season]:not([data-season="original"]) :is(.world-switch-action,.world-switch-current,.stat-unit,.stat-number,.search-icon,#clear-search){color:#71604e;stroke:currentColor}
html[data-season]:not([data-season="original"]) #search{color:#564b40}
html[data-season]:not([data-season="original"]) #search::placeholder{color:#89796a}
html[data-season]:not([data-season="original"]) .shortcut{color:#89796a;border-color:#dfd3c3}
html[data-season]:not([data-season="original"]) :is(.resident-profile,.search-popover,.world-switch-menu,.language-menu){background:#fff8ed;border:1px solid #eadbca;border-radius:24px;box-shadow:0 12px 36px #5c49312b}
html[data-season]:not([data-season="original"]) #season-launch{background:#bf795e;color:#fffaf1;border:1px solid #ecc4a8;border-radius:28px;box-shadow:0 4px 16px #87554326;font-weight:600}
html[data-season]:not([data-season="original"]) #season-launch::before{color:#ffe6b9}
html[data-season]:not([data-season="original"]) #season-dialog{background:#fff8ed;border:1px solid #e1c6ab;border-top:6px solid #bf795e;border-radius:24px}
html[data-season]:not([data-season="original"]) :is(.pal-account-launcher,.coffee-support){background-color:#fff8ed;border:1px solid #eed8bf;color:#665347;box-shadow:0 4px 18px #6f52321f}
html[data-season]:not([data-season="original"]) .coffee-support-cup{background:#f1dfc5}
html[data-season]:not([data-season="original"]) #loading{background-color:#f8ecda;color:#645146}
html[data-season]:not([data-season="original"]) #loading::before{background:linear-gradient(#fff5e4c9 0%,#fff3e699 55%,#fff5e400)}
html[data-season]:not([data-season="original"]) #loading>h1{color:#695044;text-shadow:0 2px 0 #fff9}
html[data-season]:not([data-season="original"]) #loading .season-loading-title{color:#9d5d49}
html[data-season]:not([data-season="original"]) #loading-text{color:#76604e}
html[data-season]:not([data-season="original"]) #loading #peekaboo-pop{background:#fffaf1b8;border:1px solid #fff8;box-shadow:0 10px 40px #76513c1a}
html[data-season]:not([data-season="original"]) #loading #peekaboo-residents{color:#76513c}
html[data-season]:not([data-season="original"]) #loading #progress{background:#f5e6d0;border-color:#d5af8b}
html[data-season]:not([data-season="original"]) #progress::-webkit-progress-bar{background:#f5e6d0}
html[data-season]:not([data-season="original"]) #progress::-webkit-progress-value{background:linear-gradient(90deg,#c88061,#e4b980)}

/* The harvest illustration has its own space; progress remains real and visible. */
#season-loading-art{display:none}
html[data-season]:not([data-season="original"]) #loading{background:#faf3e7;align-items:flex-start;text-align:center;padding-inline:3vw}
html[data-season]:not([data-season="original"]) #loading::before{background:linear-gradient(90deg,#faf3e7 0%,#faf3e7 36%,#faf3e700 58%);z-index:0;pointer-events:none}
html[data-season]:not([data-season="original"]) #season-loading-art{display:block;position:absolute;inset:0 0 0 34%;width:66%;height:100%;z-index:-1;pointer-events:none}
#season-loading-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
html[data-season]:not([data-season="original"]) #loading>:not(#season-loading-art){position:relative;z-index:1;width:min(36vw,460px);flex-shrink:0}
html[data-season]:not([data-season="original"]) #loading>h1{font-size:clamp(24px,3vw,42px)}
html[data-season]:not([data-season="original"]) #loading .season-loading-title{font-size:clamp(22px,2.4vw,34px)}
html[data-season]:not([data-season="original"]) #loading #progress{width:min(32vw,340px);margin-inline:2vw}
html[data-season]:not([data-season="original"]) #loading #peekaboo-pop{width:min(36vw,440px)}
@media(max-width:700px){
 html[data-season]:not([data-season="original"]) #loading{align-items:center;justify-content:flex-start;padding:18px 14px}
 html[data-season]:not([data-season="original"]) #loading::before{background:linear-gradient(#faf3e7 0%,#faf3e7cc 13%,#faf3e700 26%,#faf3e700 60%,#faf3e7 77%)}
 html[data-season]:not([data-season="original"]) #season-loading-art{inset:105px 0 auto;width:100%;height:52%;z-index:-1}
 #season-loading-art img{object-fit:contain}
 html[data-season]:not([data-season="original"]) #loading>:not(#season-loading-art){width:100%;max-width:360px}
 html[data-season]:not([data-season="original"]) #loading>h1{font-size:25px;margin:0 0 6px}
 html[data-season]:not([data-season="original"]) #loading .season-loading-title{font-size:21px;margin:0 0 8px}
 html[data-season]:not([data-season="original"]) #loading #loading-text{font-size:12px;margin:0}
 html[data-season]:not([data-season="original"]) #loading #peekaboo-pop{width:min(290px,78vw,calc((100dvh - 430px)*1.64));margin-top:auto;padding:5px 8px}
 html[data-season]:not([data-season="original"]) #loading #progress{width:78vw;margin:12px 0 4px}
}

/* Recognizable seasonal chrome. Colors come from season-theme.js. */
html[data-season]:not([data-season="original"]) :is(.search-bar,.world-switch-trigger,.world-stats,.language-trigger,.camera-control,.music-control){background:var(--season-cream);color:var(--season-ink);border:2px solid var(--season-border);box-shadow:0 4px 0 #95634520,0 8px 25px #7f59321a}
html[data-season]:not([data-season="original"]) .search-bar{border-top:5px solid var(--season-accent)}
html[data-season]:not([data-season="original"]) #season-launch{background:var(--season-accent);border:2px solid var(--season-border)}
html[data-season]:not([data-season="original"]) .world-stats{border-bottom:4px solid var(--season-accent)}
html[data-season]:not([data-season="original"]) .search-icon{color:var(--season-accent);stroke:currentColor}
html[data-season]:not([data-season="original"]) .coffee-support{border-color:var(--season-border);background:var(--season-cream)}
html[data-season]:not([data-season="original"]) #world::before{content:'🍁';position:absolute;z-index:4;pointer-events:none;bottom:95px;left:calc(50% - 245px);font-size:35px;transform:rotate(-22deg);filter:drop-shadow(0 3px 2px #6b472722)}
@media(max-width:700px){html[data-season]:not([data-season="original"]) #world::before{left:12px;bottom:76px;font-size:25px}}

html[data-season]:not([data-season="original"]) #world::before{content:"";width:32px;height:38px;background:var(--season-leaf);mask:var(--season-mark) center/contain no-repeat;filter:drop-shadow(0 3px 2px #6b472722)}

/* A compact landscape loader keeps progress and the game inside short screens. */
@media (max-height:560px) and (min-width:701px){
 html[data-season]:not([data-season="original"]) #loading{padding-block:10px;justify-content:center}
 html[data-season]:not([data-season="original"]) #loading>h1{font-size:22px;margin:0 0 4px}
 html[data-season]:not([data-season="original"]) #loading .season-loading-title{font-size:18px;margin:0 0 4px}
 html[data-season]:not([data-season="original"]) #loading #peekaboo-pop{width:min(30vw,260px);margin:4px 0;padding:4px}
 html[data-season]:not([data-season="original"]) #loading #progress{margin-block:6px}
}
@media (max-width:700px) and (max-height:560px){
 html[data-season]:not([data-season="original"]) #loading #peekaboo-pop{width:120px}
 html[data-season]:not([data-season="original"]) #season-loading-art{inset:80px 0 auto;height:40%}
}

/* The illustration replaces the normal spinner; keep retry clear of the mobile art. */
html[data-season]:not([data-season="original"]) #loading>.loading-orbit{display:none}
@media(max-width:700px){html[data-season]:not([data-season="original"]) #loading:not(.peekaboo-active) #progress{margin-top:auto}}

/* Mirror the two-column composition for right-to-left languages. */
@media(min-width:701px){
 html[dir="rtl"][data-season]:not([data-season="original"]) #season-loading-art{inset:0 34% 0 0}
 html[dir="rtl"][data-season]:not([data-season="original"]) #loading::before{background:linear-gradient(270deg,#faf3e7 0%,#faf3e7 36%,#faf3e700 58%)}
}

/* Mobile harvest loading: edge-to-edge artwork, with readable UI overlays.
   Presentation only; no additional image, script, animation or engine work. */
@media (max-width:700px), (max-height:560px) {
 html[data-season]:not([data-season="original"]) #season-loading-art{inset:0;width:100%;height:100%;max-width:none}
 html[data-season]:not([data-season="original"]) #season-loading-art img{object-fit:cover;object-position:50% 50%}
 html[data-season]:not([data-season="original"]) #loading::before{background:linear-gradient(180deg,#faf3e7d9 0%,#faf3e730 18%,transparent 35%,transparent 63%,#faf3e75c 100%)}
 html[data-season]:not([data-season="original"]) #loading{padding-top:max(22px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom))}
 html[data-season]:not([data-season="original"]) #loading>h1{letter-spacing:-.6px;text-shadow:0 1px 8px #fff8}
 html[data-season]:not([data-season="original"]) #loading #peekaboo-pop{background:#fffaf1c9;box-shadow:0 8px 28px #3e382322;border:1px solid #fff9;backdrop-filter:none}
 html[data-season]:not([data-season="original"]) #loading #progress{background:#fff8e9e0;border-color:#a27653;box-shadow:0 1px 8px #fff4}
}
@media(max-width:700px){
 html[data-season]:not([data-season="original"]) #loading #peekaboo-pop{width:min(260px,74vw,calc((100dvh - 330px)*1.45));margin-top:auto}
 html[data-season]:not([data-season="original"]) #loading #progress{margin-top:12px}
 html[data-season]:not([data-season="original"]) #loading:not(.peekaboo-active) #progress{margin-top:auto}
}
@media(max-height:560px) and (min-width:701px){
 html[data-season]:not([data-season="original"]) #loading::before{background:linear-gradient(90deg,#faf3e7dd 0%,#faf3e7b0 28%,#faf3e720 55%,transparent 75%)}
 html[dir="rtl"][data-season]:not([data-season="original"]) #loading::before{background:linear-gradient(270deg,#faf3e7dd 0%,#faf3e7b0 28%,#faf3e720 55%,transparent 75%)}
 html[dir="rtl"][data-season]:not([data-season="original"]) #season-loading-art{inset:0}
}
