@font-face{font-family:Outfit;src:url(../outfit-bold.woff);font-weight:700 900;font-display:swap}@font-face{font-family:Inter;src:url(../inter-regular.woff);font-display:swap}
:root{font:16px Inter,system-ui,sans-serif;color:#38217c;background:#eee8fc}*{box-sizing:border-box}body{margin:0}h1,h2,h3,p{margin:0}h1,h2,h3,b{font-family:Outfit,system-ui,sans-serif}[hidden]{display:none!important}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}a{color:#5130ad}
#weather-game{min-height:100svh;padding:clamp(8px,1.3vw,20px);border:5px solid #ded4f4;border-radius:26px;background:#fff;display:flex;flex-direction:column;gap:14px;overflow:hidden}
.weather-toolbar,.weather-nav{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.weather-toolbar{justify-content:space-between;border-radius:20px;background:#fff5bd;padding:10px 14px;flex:none}.wx-button{--c:var(--fill,#5b3cc4);position:relative;isolation:isolate;overflow:hidden;background:#fff;color:#5b3cc4;border:3px solid #5b3cc4;border-radius:999px;box-shadow:0 5px 0 #c9bdf5;min-height:46px;padding:10px 18px;font:700 1rem/1.2 Outfit,system-ui,sans-serif;text-decoration:none;cursor:pointer;transition:border-color .3s,box-shadow .3s,transform .1s;display:inline-flex;align-items:center;justify-content:center}
.wx-button::before{content:"";position:absolute;inset:0 -30% 0 0;z-index:0;background:var(--c);border-radius:0 60% 60% 0/0 50% 50% 0;transform:translateX(-101%);transition:transform .6s cubic-bezier(.3,1.35,.5,1)}.wx-label{position:relative;z-index:1;transition:color .3s .12s;pointer-events:none}.wx-button.fill::before{transform:none}.wx-button.fill{border-color:var(--c);box-shadow:0 5px 0 #38217c}.wx-button.fill>.wx-label{color:#fff}.wx-button:active{transform:translateY(4px)}.wx-button:focus-visible{outline:3px solid #e7a638;outline-offset:4px}.wx-button:disabled{cursor:default}.wx-button:disabled:not(.chosen){opacity:.4}.wx-button:disabled:not(.chosen)::before{transform:translateX(-101%)}.wx-button:disabled:not(.chosen)>.wx-label{color:#5b3cc4}.wx-button svg{width:26px;height:26px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.icon-button{width:52px;padding:10px}
@media(hover:hover){.wx-button:not(:disabled):hover::before{transform:none}.wx-button:not(:disabled):hover{border-color:var(--c);box-shadow:0 5px 0 #38217c}.wx-button:not(:disabled):hover>.wx-label{color:#fff}}
#weather-content{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(10px,1.5vh,18px);padding:clamp(12px,1.5vw,22px);background:radial-gradient(ellipse at 15% 10%,#fff5d080,transparent 40%),linear-gradient(#f4effe,#e7dff8);border:3px solid #7957c7;border-radius:25px;min-width:0}
.home-heading{text-align:center}.home-heading h2{font:800 clamp(38px,5.4vw,70px)/1.05 Outfit,sans-serif;filter:drop-shadow(0 5px 0 #3b2487);margin-bottom:12px}.home-heading h2 i{font-style:normal;display:inline-block;-webkit-text-stroke:5px white;paint-order:stroke fill;transform:rotate(var(--r))}.home-heading p{font:700 clamp(15px,1.7vw,21px) Outfit,sans-serif;color:#6d5798}
#round-heading{width:min(100%,1040px);display:flex;flex-direction:column;gap:12px;align-items:center}.weather-progress{display:flex;align-items:center;gap:14px;width:100%;font:700 1rem Outfit,sans-serif;white-space:nowrap}.weather-progress progress{width:100%;height:13px;accent-color:#5b3cc4;min-width:30px}.prompt-row{display:flex;gap:14px;align-items:center;justify-content:center}.prompt-row h2{font-size:clamp(26px,3vw,42px);color:#38217c}.prompt-row .wx-button{--fill:#075c51}
.weather-scene{position:relative;width:min(100%,1050px,calc((100dvh - 340px)*1.6129));aspect-ratio:1000/620;flex:none;border:4px solid white;border-radius:28px;overflow:hidden;box-shadow:0 7px 0 #c8b9e8,0 12px 30px #50308012;background:#d3e8ed;transition:box-shadow .2s}.weather-scene svg.park-art{display:block;width:100%;height:100%}.weather-scene.drop-ready{box-shadow:0 0 0 5px #ecb962,0 7px 0 #c8b9e8}.scene-badge{position:absolute;bottom:12px;left:14px;padding:7px 14px;border-radius:20px;background:#ffffffdf;color:#42615a;font:700 .9rem Outfit,sans-serif;pointer-events:none}
.menu-actions{display:grid;grid-template-columns:1fr 1fr;gap:22px;width:min(100%,780px);padding-top:8px}.menu-actions .wx-button{border-radius:24px;padding:16px 24px;min-height:82px;font-size:clamp(22px,2.2vw,30px)}.menu-actions small{display:block;font:400 14px Inter,sans-serif;margin-top:5px}.words-button{--fill:#075c51}.sentences-button{--fill:#4c2499}
.weather-tiles{display:flex;justify-content:center;align-items:stretch;gap:clamp(14px,2vw,24px);width:min(100%,750px);padding-top:8px}.weather-tile{width:31%;min-width:0;padding:10px 16px;border-radius:22px;touch-action:none;user-select:none;-webkit-user-select:none}.weather-tile .wx-label{display:flex;flex-direction:column;align-items:center;gap:5px}.weather-tile svg{width:clamp(56px,7vw,88px);height:clamp(56px,7vw,88px);stroke:none;fill:initial}.weather-tile b{font-size:clamp(18px,2vw,25px)}.weather-tile.chosen{--fill:#075c51;border-color:#075c51}.weather-tile.wrong{animation:wx-shake .3s;border-color:#ac4e64}
.feedback{font:700 1.1rem Outfit,sans-serif;color:#176746;text-align:center;min-height:1.5em}.weather-drag{position:fixed;z-index:2147483647;pointer-events:none;width:92px;height:92px;padding:8px;background:#fff;border:3px solid #5b3cc4;border-radius:22px;box-shadow:0 7px 12px #38217c35;transform:translate(-50%,-70%)}.weather-drag svg{width:100%;height:100%}
#result{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;min-height:520px;padding:40px 20px;border:3px solid #7957c7;border-radius:25px;background:linear-gradient(#f4effe,#e7dff8);text-align:center;overflow:hidden}.result-trophy{font-size:clamp(90px,12vw,150px);filter:drop-shadow(0 7px 0 #c9b9e8)}#result-stars{font:700 40px Outfit,sans-serif;color:#e7a638}#result-title{font-size:clamp(32px,5vw,60px)}#result-copy{font-size:clamp(18px,2vw,24px)}.result-buttons{display:flex;justify-content:center;gap:18px;flex-wrap:wrap}.result-buttons .wx-button{font-size:22px;padding:15px 24px}.wx-confetti{position:absolute;top:-20px;width:10px;height:16px;pointer-events:none;animation:wx-confetti 2.5s ease-in both}
.guide{max-width:1050px;margin:32px auto;padding:28px;color:#46365f;line-height:1.75}.guide h1{font-size:clamp(26px,4vw,42px);line-height:1.2}.guide h2{margin:24px 0 8px;font-size:25px}.guide p{margin:14px 0}.guide table{width:100%;border-collapse:collapse}.guide td,.guide th{border:1px solid #e4daf2;padding:12px;text-align:left}.guide th{background:#f5effe}
#weather-game:fullscreen,#weather-game.expanded{width:100%;height:100%;min-height:100dvh;border:0;border-radius:0;overflow:auto}#weather-game.expanded{position:fixed;inset:0;z-index:1000}body:has(#weather-game.expanded){overflow:hidden}
@keyframes wx-confetti{to{transform:translate(var(--dx),95vh) rotate(650deg);opacity:0}}@keyframes wx-shake{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}
@media(max-width:700px){#weather-game{padding:7px;border-width:3px;gap:10px}.weather-toolbar{padding:8px;gap:9px}.weather-nav{gap:6px}.weather-nav .wx-button{padding:8px 10px;border-width:2px;min-height:43px;font-size:13px}.weather-nav .icon-button{width:43px}#weather-content{padding:18px 10px;gap:18px;border-width:2px}.home-heading h2{font-size:43px;margin-bottom:10px}.home-heading h2 i{-webkit-text-stroke-width:4px}.weather-scene{width:100%;border-width:3px;border-radius:20px}.scene-badge{font-size:12px;padding:5px 9px;bottom:8px;left:8px}.menu-actions{gap:14px;grid-template-columns:1fr;width:min(100%,420px)}.menu-actions .wx-button{min-height:76px;font-size:23px;padding:12px}.menu-actions small{font-size:13px}.weather-progress{font-size:14px;gap:10px}.prompt-row h2{font-size:29px}.weather-tiles{gap:10px;width:100%}.weather-tile{padding:8px 5px;border-width:2px;border-radius:17px}.weather-tile svg{width:56px;height:56px}.weather-tile b{font-size:17px}.feedback{font-size:16px}.guide{margin:20px 4px;padding:20px 14px}.result-buttons{gap:14px}#result{padding:24px 12px;min-height:480px}.result-buttons .wx-button{font-size:18px}}
@media(max-width:360px){.weather-tile b{font-size:15px}.weather-tile svg{width:49px;height:49px}.weather-tiles{gap:8px}.home-heading h2{font-size:37px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.wx-confetti{display:none}.rain-drop,.snow-flake{opacity:.9}}
/* Wide displays put the forecast scene beside the controls, keeping the park large. */
@media(min-width:801px){
 #weather-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,300px);grid-template-rows:auto 1fr auto;column-gap:clamp(24px,3vw,48px);row-gap:16px;align-items:center}
 #home-heading,#round-heading{grid-column:1/-1;grid-row:1;justify-self:center}
 #weather-scene{grid-column:1;grid-row:2;justify-self:center;width:min(100%,1050px,calc((100dvh - 350px)*1.6129))}
 #menu-actions,#weather-tiles{grid-column:2;grid-row:2;width:100%;align-self:center}
 #menu-actions{grid-template-columns:1fr;gap:22px}.menu-actions .wx-button{min-height:110px;padding:20px 18px}
 #weather-tiles{flex-direction:column;gap:16px}.weather-tile{width:100%;padding:12px 18px}.weather-tile .wx-label{flex-direction:row;gap:18px}.weather-tile svg{width:68px;height:68px}.weather-tile b{font-size:26px}
 #feedback{grid-column:1/-1;grid-row:3}
}
@media(min-width:801px) and (max-height:600px){
 #weather-game{padding:6px;gap:8px}.weather-toolbar{padding:5px 10px}#weather-content{padding:10px 14px;gap:10px;grid-template-columns:minmax(0,1fr) 220px}.home-heading h2{font-size:36px;margin-bottom:6px}.home-heading p{font-size:15px}#weather-scene{width:min(100%,calc((100dvh - 210px)*1.6129))}.weather-tile{padding:7px 12px;min-height:54px}.weather-tile svg{width:36px;height:36px}.weather-tile b{font-size:20px}#weather-tiles{gap:9px}.menu-actions .wx-button{min-height:74px;font-size:22px}.prompt-row h2{font-size:27px}#round-heading{gap:6px}
}

/* Weather pictures and independent Review carousel. */
.weather-scene{aspect-ratio:4/3;width:min(100%,900px,calc((100dvh - 310px)*1.333))}.weather-scene img{display:block;width:100%;height:100%;object-fit:cover}#weather-content:has(#menu-actions:not([hidden])){display:flex;justify-content:center;gap:clamp(30px,6vh,70px)}#menu-actions{max-width:780px;grid-template-columns:1fr 1fr}#weather-game[data-screen=home] .home-heading h2{font-size:clamp(48px,7vw,90px)}#weather-tiles .weather-tile{min-height:86px;font-size:clamp(20px,2.2vw,29px)}#review-arrows{display:flex;align-items:center;justify-content:center;gap:28px;width:100%;font:700 22px Outfit,sans-serif}#review-arrows .wx-button{width:64px;height:58px;font-size:28px}.slide-left{animation:slide-left .4s ease-out}.slide-right{animation:slide-right .4s ease-out}@keyframes slide-left{from{opacity:.3;transform:translateX(35px)}to{opacity:1;transform:none}}@keyframes slide-right{from{opacity:.3;transform:translateX(-35px)}to{opacity:1;transform:none}}
@media(min-width:801px){#weather-scene{width:min(100%,900px,calc((100dvh - 310px)*1.333))}#weather-content:has(#review-arrows:not([hidden])){display:flex;gap:18px}#weather-content:has(#review-arrows:not([hidden])) #weather-scene{width:min(100%,800px,calc((100dvh - 410px)*1.333))}#weather-tiles .weather-tile .wx-label{display:block}}
@media(max-width:800px){.weather-scene{width:100%;max-width:700px}#weather-tiles{flex-direction:column;width:100%;max-width:700px}.weather-tile{width:100%}#weather-tiles .weather-tile{min-height:58px;font-size:21px}#menu-actions{grid-template-columns:1fr;width:min(100%,480px)}#weather-content{justify-content:center}.weather-progress{font-size:14px}.prompt-row h2{font-size:26px}}

#weather-content:has(#review-arrows:not([hidden])) #feedback{display:none}

#weather-animation{width:100%;height:100%}#weather-animation svg{display:block;width:100%;height:100%}#weather-game[data-screen=round] .weather-scene:has(#weather-animation:not([hidden])){aspect-ratio:3/2;background:#d7edfc}#weather-scene .animated-weather{stroke:none;fill:initial}.sun-float{animation:sun-bob 5s ease-in-out infinite}.turn-rays{animation:sun-spin 28s linear infinite}.cloud-move{animation:cloud-sail 6s ease-in-out infinite alternate}.fall-rain{animation:rain-stream .85s linear infinite;animation-delay:var(--delay)}.fall-snow{animation:snow-drift 5s linear infinite;animation-delay:var(--delay)}.water-ring{transform-origin:290px 530px;animation:water-ripple 1.7s ease-out infinite}.blow-leaf{animation:leaf-blow 3.5s linear infinite;animation-delay:var(--delay)}.wind-sweep{animation:wind-flow 2s ease-in-out infinite}.heat-haze{animation:heat-wave 2.3s ease-in-out infinite}.frost-pulse{animation:frost-glow 3s ease-in-out infinite}.cold-breeze{animation:wind-flow 3s ease-in-out infinite}.lightning-soft{animation:gentle-lightning 5s ease-in-out infinite}
@keyframes sun-bob{50%{translate:0 -10px}}@keyframes sun-spin{to{rotate:360deg}}@keyframes cloud-sail{to{translate:25px 0}}@keyframes rain-stream{from{translate:18px -75px;opacity:0}20%{opacity:1}to{translate:-30px 110px;opacity:0}}@keyframes snow-drift{from{translate:-10px -90px;opacity:0}20%{opacity:1}to{translate:35px 130px;opacity:0}}@keyframes water-ripple{to{transform:scale(1.8);opacity:0}}@keyframes leaf-blow{from{translate:-110px -15px;rotate:-15deg;opacity:0}20%{opacity:1}to{translate:130px 35px;rotate:60deg;opacity:0}}@keyframes wind-flow{50%{translate:20px 0;opacity:.4}}@keyframes heat-wave{50%{translate:0 -20px;opacity:.4}}@keyframes frost-glow{50%{opacity:.55}}@keyframes gentle-lightning{0%,65%,100%{opacity:.25}80%{opacity:1}}
@media(prefers-reduced-motion:reduce){.animated-weather *{animation:none!important}.fall-rain,.fall-snow{opacity:1}}
/* Fullscreen Play: keep the picture and its three answers together. */
@media(min-width:801px){
 #weather-game:is(:fullscreen,.expanded)[data-screen=round] #weather-content:has(#weather-animation:not([hidden])){display:flex;flex-direction:column;justify-content:center;gap:14px}
 #weather-game:is(:fullscreen,.expanded)[data-screen=round] #weather-content:has(#weather-animation:not([hidden])) #round-heading{flex:none;gap:8px}
 #weather-game:is(:fullscreen,.expanded)[data-screen=round] #weather-content:has(#weather-animation:not([hidden])) #weather-scene{width:min(100%,1100px,max(240px,calc((100dvh - 405px)*1.5)));max-width:none;flex:none}
 #weather-game:is(:fullscreen,.expanded)[data-screen=round] #weather-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));flex-direction:row;width:min(100%,1100px,max(480px,calc((100dvh - 405px)*1.5)));gap:14px;padding-top:0;align-self:center}
 #weather-game:is(:fullscreen,.expanded)[data-screen=round] #weather-tiles .weather-tile{width:100%;min-height:68px;padding:12px 14px;font-size:clamp(20px,2.1vw,29px)}
 #weather-game:is(:fullscreen,.expanded)[data-screen=round] #feedback{margin:0;min-height:1.4em}
}
@media(min-width:801px) and (max-height:600px){
 #weather-game:is(:fullscreen,.expanded)[data-screen=round] #weather-content:has(#weather-animation:not([hidden])){gap:8px}
 #weather-game:is(:fullscreen,.expanded)[data-screen=round] #weather-content:has(#weather-animation:not([hidden])) #weather-scene{width:min(100%,calc((100dvh - 240px)*1.5))}
 #weather-game:is(:fullscreen,.expanded)[data-screen=round] #weather-tiles{width:min(100%,780px)}
 #weather-game:is(:fullscreen,.expanded)[data-screen=round] #weather-tiles .weather-tile{min-height:50px;padding:8px 12px;font-size:20px}
}

