/* Fixed OBS geometry. Radar windows contain no painted content. */
html, body[data-view="obs"] { background: transparent !important; }
.forecast-scene { background: transparent; }
.forecast-scene::before { display: none; }
.channel-brand,.current-panel,.sponsor-panel,.broadcast-footer { position:absolute; background:#081b32; color:#f4f7fb; }
.channel-brand { left:0;top:0;width:500px;height:180px;display:flex;align-items:center;justify-content:center;background:#02080e;padding:24px;box-sizing:border-box; }
.channel-brand strong { font-size:42px;overflow-wrap:anywhere;text-align:center; }
.channel-brand img,.sponsor-panel img { max-width:100%;max-height:100%;object-fit:contain; }
.current-panel { left:0;top:180px;width:500px;height:360px;box-sizing:border-box;padding:0 50px 12px; }
#current-city { margin:0 -50px 16px;background:#f4f7fb;color:#0a203b;text-align:center;height:58px;line-height:58px;font-size:29px;font-weight:900;text-transform:uppercase;overflow:hidden;white-space:nowrap; }
#current-temp { font-size:92px;font-weight:850;line-height:1; }
#current-icon { position:absolute;right:48px;top:76px;width:116px;height:110px; }
#current-icon .weather-icon { transform:scale(.9);transform-origin:top left; }
.radius-control { display:flex;align-items:center;gap:12px;grid-column:1/-1;font-size:14px; }
#rotation-radius { padding:10px 16px;border:1px solid #53677b;border-radius:8px;background:#081b32;color:#fff;font:inherit; }
#current-summary { font-size:18px;margin:8px 0; }
.current-panel dl { display:grid;grid-template-columns:1fr auto;gap:8px;margin:10px 0;font-size:20px;text-transform:uppercase; }
.current-panel dd { margin:0;font-weight:800; }
.current-panel small { color:#b1c1d0;font-size:12px; }
.radar-label { position:absolute;left:0;top:540px;width:500px;height:50px;background:#f4f7fb;color:#0a203b;display:grid;place-items:center;font-size:28px;font-weight:900; }
.radar-slot { position:absolute;background:transparent;pointer-events:none; }
.radar-small { left:0;top:590px;width:500px;height:226px; }
.radar-main { left:500px;top:0;width:1420px;height:770px; }
.sponsor-panel { left:0;top:816px;width:500px;height:200px;box-sizing:border-box;padding:24px 36px;display:flex;align-items:center;justify-content:center;text-align:center;background:#02080e; }
.sponsor-panel strong { font-size:44px;line-height:1.15; }
.forecast-overlay { left:500px;right:0;bottom:64px;height:246px;display:block; }
.city-ribbon { display:none; }
.forecast-strip { height:246px;min-height:0;border:0;border-radius:0;background:#081b32;box-shadow:none;backdrop-filter:none; }
.forecast-strip::before { display:none; }
.day-card { padding:0 16px 10px;border-right:3px solid #02080e;animation:none !important; }
.day-name { margin:0 -16px 12px;padding:14px 2px;background:#f4f7fb;color:#0a203b;text-align:center;font-size:22px; }
.day-main { min-height:110px;grid-template-columns:116px 1fr;gap:8px; }
.condition { margin-top:14px;font-size:12px; }
.forecast-overlay.is-animating .forecast-strip { animation:none; }
.broadcast-footer { left:0;bottom:0;width:1920px;height:64px;box-sizing:border-box;border-top:4px solid #338f89;display:flex;align-items:center;gap:28px;padding:0 24px;font-size:20px; }
#local-clock { width:452px;flex-shrink:0;font-weight:800;text-transform:uppercase; }
.broadcast-footer>span:first-of-type { color:#ffd54a;font-weight:850; }
#broadcast-attribution { font-size:16px;color:#c6d2df; }
#brand-controls { margin-top:18px;display:grid;grid-template-columns:1fr 1fr;gap:16px; }
#brand-controls label { display:grid;gap:8px;font-size:14px; }
#brand-controls input { max-width:100%;color:inherit; }
#brand-controls p { grid-column:1/-1; }
@media(max-width:650px){#brand-controls{grid-template-columns:1fr}}

/* Production studio controls; these never appear in the OBS canvas. */
.control-panel { width:min(1180px,calc(100% - 32px));margin:32px auto; }
.control-card { padding:clamp(20px,4vw,44px);border-radius:24px;background:linear-gradient(135deg,rgba(16,32,44,.96),rgba(4,9,15,.98));border-color:rgba(145,197,215,.18); }
.brand { font-size:25px;gap:0;text-transform:none;letter-spacing:-1px; }
.studio-eyebrow { margin-top:8px;font-size:10px;font-weight:700;letter-spacing:.18em;color:#9ab5c6; }
.control-card h1 { font-size:clamp(26px,4vw,42px);font-weight:600;letter-spacing:-.04em;margin:28px 0 10px; }
.studio-intro { max-width:660px;color:#a9bac7;line-height:1.65;margin:0 0 28px; }
.status { padding:9px 12px;border:1px solid #245345;background:#0b2923;color:#7be3b8;border-radius:30px;font-size:10px;letter-spacing:.08em; }
.settings-section { margin-top:16px;padding:24px;border:1px solid rgba(255,255,255,.09);border-radius:16px;background:rgba(255,255,255,.025); }
.settings-section h2 { margin:0 0 20px;font-size:18px;font-weight:600;letter-spacing:-.02em;display:flex;align-items:center;gap:12px; }
.settings-section h2 span { font-size:11px;color:#65d5eb;background:#12333d;padding:7px;border-radius:7px;letter-spacing:.05em; }
.control-panel .action { font-size:12px;letter-spacing:.035em;text-transform:none;border-radius:10px;transition:filter .2s; }
.control-panel .action:hover { filter:brightness(1.15); }
.control-panel :is(input,select,button,summary):focus-visible { outline:2px solid #75e5ff;outline-offset:4px; }
.control-panel button:disabled { cursor:wait;opacity:.55; }
.helper { font-size:12px;line-height:1.7;color:#a7b9c7;overflow-wrap:anywhere; }
.motion-control { display:flex;align-items:center;gap:10px;font-size:13px;margin-top:18px;color:#d8e5ed; }
.motion-control input { accent-color:#53d7e8;width:18px;height:18px; }
#brand-controls { margin-top:0; }
#brand-controls label { padding:16px;background:#0a1722;border:1px solid #223644;border-radius:12px;color:#d0e0eb; }
#brand-controls input[type=file] { width:100%;font-size:12px; }
#brand-controls input::file-selector-button { background:#1c3847;color:#e4f2f8;border:0;border-radius:6px;padding:9px;margin:5px 8px 5px 0;cursor:pointer; }
#brand-controls input[type=color] { width:100%;height:38px;padding:2px;background:transparent;border:0;cursor:pointer; }
#clear-branding { align-self:center;justify-self:start; }
.export-label { display:block;font-size:13px;margin-bottom:10px;color:#d0e0eb; }
.export-path { font-size:12px;color:#9cb6c7;overflow-wrap:anywhere;line-height:1.6; }
.export-path strong { color:#6addd8; }
.export-actions { display:flex;gap:12px;flex-wrap:wrap;margin-top:20px; }
.obs-link-details { border-top:1px solid #263441;margin-top:22px;padding-top:18px; }
.obs-link-details summary { font-size:13px;color:#c9e2ef;cursor:pointer;margin-bottom:14px; }
@media(max-width:650px) { .settings-section{padding:16px}.brand-row{align-items:flex-start}.status{max-width:120px;line-height:1.5}.export-actions .action{width:100%}.form-grid{grid-template-columns:1fr 1fr}.city-input{grid-column:1/-1}.radius-control{flex-wrap:wrap}.control-card{padding:18px} }

/* Brief entrances on each synchronized city update, without moving radar windows. */
@keyframes broadcast-enter { from { opacity:0;transform:translateY(14px) } to { opacity:1;transform:translateY(0) } }
body[data-motion="on"] .current-panel.is-animating > :not(#current-icon) { animation:broadcast-enter .65s ease both; }
body[data-motion="on"] .current-panel.is-animating #current-icon { animation:broadcast-enter .8s ease both; }
body[data-motion="on"] .forecast-overlay.is-animating .day-card { animation:broadcast-enter .65s ease both !important; }
body[data-motion="on"] .forecast-overlay.is-animating .day-card:nth-child(2) { animation-delay:.07s !important; }
body[data-motion="on"] .forecast-overlay.is-animating .day-card:nth-child(3) { animation-delay:.14s !important; }
body[data-motion="on"] .forecast-overlay.is-animating .day-card:nth-child(4) { animation-delay:.21s !important; }
body[data-motion="on"] .forecast-overlay.is-animating .day-card:nth-child(5) { animation-delay:.28s !important; }
@media(prefers-reduced-motion:reduce) { body[data-motion="on"] .current-panel.is-animating > *,body[data-motion="on"] .forecast-overlay.is-animating .day-card { animation:none !important; } }
