.scene-top{display:grid;grid-template-columns:auto 1fr;gap:10px 20px;align-items:center}
.scene-caption{justify-self:end}
.season-switch{grid-column:1/-1;display:flex;width:max-content;gap:3px;padding:4px;border:1px solid #cbd6d1;border-radius:8px;background:#eef2efc9}
.season-switch button{display:flex;align-items:center;justify-content:center;gap:7px;background:none;font-size:12px;min-height:35px;padding:8px 15px;border-radius:5px}
.season-switch button[aria-pressed=true]{background:var(--pine);color:var(--paper)}
.season-switch button:hover:not([aria-pressed=true]){background:#fbfcfa}
.season-switch button span{font-size:15px;line-height:1}
#viewport{top:119px}
body[data-season=spring]{--sky:#e8efea;background:var(--sky)}
body[data-season=autumn]{--sky:#efe8de;background:var(--sky)}
body[data-season=winter]{--sky:#e7eef4;background:var(--sky)}
body.evening[data-season=spring]{--sky:#1c3339}
body.evening[data-season=autumn]{--sky:#302c35}
body.evening[data-season=winter]{--sky:#192e45}
body.evening .season-switch{background:#273f4bcc;border-color:#536974}
body.evening .season-switch button[aria-pressed=true]{background:#e8be92;color:#26392d}
body.evening .season-switch button:hover:not([aria-pressed=true]){background:#344f5b}
@media(max-width:1050px) and (min-width:721px){.scene-top{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.season-switch{width:100%}.season-switch button{padding:8px 9px;flex:1;gap:5px;font-size:11px}#viewport{top:123px}}
@media(max-width:720px){.world{min-height:510px}.scene-top{gap:10px}.season-switch{width:100%;justify-content:space-between}.season-switch button{padding:8px 10px;flex:1;font-size:11px;gap:5px}#viewport{top:108px}}
.season-row{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.cycle-controls{display:flex;gap:14px;align-items:center}
.cycle-controls button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:37px;padding:8px 12px;border:1px solid #c7d3ce;border-radius:6px;background:#fbfcfac9;font-size:11px;min-width:114px}
.cycle-controls button:hover{background:#fff}.cycle-status{width:135px;font-size:11px;color:var(--muted)}
#season-progress{height:3px;margin-top:7px;background:#cbd6d1;border-radius:3px;overflow:hidden}
#season-progress span{display:block;height:100%;background:var(--pine);transform:scaleX(var(--progress,0));transform-origin:left}
body.evening .cycle-controls button{background:#233e49;border-color:#536974;color:var(--ink)}
body.evening .cycle-controls button:hover{background:#344f5b}body.evening #season-progress{background:#536974}body.evening #season-progress span{background:#e8be92}
body{transition:background 4s,color .6s}
@media(max-width:1190px) and (min-width:721px){.season-row{gap:8px;width:100%}.cycle-controls{width:100%;justify-content:space-between}.cycle-status{width:155px}#viewport{top:175px}}
@media(max-width:720px){.world{min-height:568px}.season-row{width:100%;display:grid;gap:9px}.cycle-controls{justify-content:space-between;gap:12px}.cycle-status{width:160px}#viewport{top:166px}}
@media(prefers-reduced-motion:reduce){body.weather-motion{transition:background 4s,color .6s!important}}
#weather-toggle[aria-pressed=false]{border-style:dashed}
@media(max-width:720px){.world{min-height:594px}.cycle-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cycle-controls button{width:100%;padding:8px;font-size:11px}.cycle-status{grid-column:1/-1;display:flex;align-items:center;gap:12px;width:100%}.cycle-status>span{white-space:nowrap}#season-progress{flex:1;margin:0}#viewport{top:192px}}
