/* Sky Theater keeps the existing forecast data and day-detail buttons. */
.dc-scene { display:none; }
#desk.balanced-desk.outlook-view { --font:system-ui,-apple-system,"Segoe UI",sans-serif; }
#desk.outlook-view #daycards { --st-rain:#9de2ff; --st-rain-bg:#142832; --st-sky:color-mix(in srgb,var(--panel2),#517589 20%); }
html #desk.outlook-view #daycards > .daycard:is(:first-child,:nth-child(n)) {
  display:flex; flex-direction:column; justify-content:flex-start; gap:2px; padding:8px 5px;
  min-height:232px; border:1px solid color-mix(in srgb,var(--line),#9cbacb 25%); border-radius:12px;
  background:linear-gradient(180deg,var(--st-sky),var(--panel) 78%); isolation:isolate; overflow:hidden;
}
html #desk.outlook-view #daycards > .daycard[data-sky="sunny"] { --st-sky:color-mix(in srgb,var(--panel2),#c4a767 15%); }
html #desk.outlook-view #daycards > .daycard[data-sky="storm"] { --st-sky:color-mix(in srgb,var(--panel2),#274254 25%); }
html #desk.outlook-view #daycards > .daycard:is(:hover,:focus-visible,[aria-pressed="true"]) { border-color:var(--st-rain); transform:none; }
html #desk.outlook-view #daycards .dc-head,html #desk.balanced-desk.outlook-view #daycards .dc-head { order:0; flex-direction:column; align-items:center; justify-content:center; gap:2px; padding:0; margin:0; line-height:1.15; min-height:28px; }
html #desk.outlook-view #daycards .dc-name { color:var(--text); font-size:calc(12 * var(--fd-text)); font-weight:650; }
html #desk.outlook-view #daycards .dc-date { color:var(--muted); font-size:calc(10 * var(--fd-text)); }
html #desk.outlook-view #daycards .dc-icon { display:none; animation:none!important; }
html #desk.outlook-view #daycards :is(.dc-body,.dc-mid) { display:contents; }
html #desk.outlook-view #daycards > .daycard:is(:first-child,:nth-child(n)) .dc-pop {
  order:1; display:flex; flex-direction:column; align-items:center; justify-content:center; flex:none;
  width:100%; min-height:50px; margin:4px 0 0; padding:4px 2px; border:1px solid #9de2ff29; border-radius:8px;
  background:var(--st-rain-bg); color:var(--st-rain); font:750 calc(29 * var(--fd-reading))/1 var(--num); text-align:center; font-variant-numeric:tabular-nums;
}
html #desk.outlook-view #daycards .dc-pop::before { content:none; }
html #desk.outlook-view #daycards .dc-pop::after { content:'Rain chance'; display:block; margin-top:3px; font-family:system-ui,sans-serif; font-size:11px; font-weight:600; line-height:1.2; letter-spacing:0; color:#d5edf7; }
html #desk.outlook-view #daycards .dc-scene { order:2; display:block; flex:1 0 62px; width:100%; min-height:62px; max-height:110px; position:relative; margin:0 auto; }
html #desk.outlook-view #daycards .dc-mid .dc-cond { order:3; display:block; width:100%; margin:1px 0 0; min-height:13px; color:var(--text); font-size:calc(10 * var(--fd-text)); font-weight:600; text-align:center; line-height:1.2; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
html #desk.outlook-view #daycards > .daycard:is(:first-child,:nth-child(n)) .dc-temp { order:4; justify-content:center; align-items:baseline; gap:5px; line-height:1.1; }
html #desk.outlook-view #daycards > .daycard:is(:first-child,:nth-child(n)) .dc-temp b { font-size:calc(24 * var(--fd-reading)); font-weight:650; }
html #desk.outlook-view #daycards > .daycard:is(:first-child,:nth-child(n)) .dc-temp span { font-size:calc(13 * var(--fd-text)); color:var(--muted); }
html #desk.outlook-view #daycards .dc-wind { order:5; margin:1px 0 0; font-size:calc(10 * var(--fd-text)); line-height:1.2; }
/* Dimensional artwork uses transform/opacity motion; no individual SVG animation documents. */
#daycards .sf-scene { --st-cloud-hi:#f8fcff; --st-cloud-mid:#c8dde9; --st-cloud-low:#8ba7b9; position:absolute; inset:0; width:min(100%,126px); margin:auto; isolation:isolate; }
#daycards .sf-scene span { position:absolute; }
#daycards .sf-aura { inset:0; background:radial-gradient(ellipse,#70bce326,transparent 72%); }
#daycards .sf-sun { left:32%; top:14%; width:36%; aspect-ratio:1; max-width:44px; border-radius:50%; background:radial-gradient(circle at 35% 25%,#fff4c9,#ffd764 54%,#eaa624 96%); box-shadow:0 0 18px #ffd36f40,inset 0 1px 2px #fffbd6; }
#daycards .sf-rays { inset:-30%; border-radius:50%; background:repeating-conic-gradient(transparent 0deg 13deg,#ffd36f 13deg 17deg,transparent 17deg 45deg); mask:radial-gradient(transparent 55%,#000 56% 69%,transparent 70%); }
#daycards .sf-cloud { display:none; left:19%; top:38%; width:64%; height:24%; max-height:28px; border-radius:40px; background:linear-gradient(165deg,var(--st-cloud-hi),var(--st-cloud-mid) 58%,var(--st-cloud-low)); box-shadow:0 5px 9px #07141e35,inset 0 -2px 2px #7398ae32; }
#daycards .sf-cloud::before,#daycards .sf-cloud::after { content:''; position:absolute; background:linear-gradient(145deg,var(--st-cloud-hi),var(--st-cloud-mid)); border-radius:50%; z-index:-1; }
#daycards .sf-cloud::before { width:48%; height:125%; left:11%; top:-61%; }
#daycards .sf-cloud::after { width:60%; height:145%; right:8%; top:-89%; }
#daycards .sf-cloud-back { display:none; width:48%; height:19%; max-height:23px; left:12%; top:31%; border-radius:40px; background:linear-gradient(140deg,#a9c1ce,#627e91); opacity:.7; }
#daycards .sf-cloud-back::before { content:''; position:absolute; width:58%; height:160%; left:20%; top:-70%; background:inherit; border-radius:50%; }
#daycards .sf-rainfall,#daycards .sf-snowfall { display:none; top:57%; left:25%; width:53%; height:37%; overflow:hidden; }
#daycards .sf-drop { top:6px; width:3px; height:11px; border-radius:6px; background:linear-gradient(#9aeaff,#49b5ee); transform:rotate(17deg); }
#daycards .sf-drop:nth-child(1) { left:12%; }
#daycards .sf-drop:nth-child(2) { left:42%; top:12px; }
#daycards .sf-drop:nth-child(3) { left:72%; top:2px; }
#daycards .sf-lightning { display:none; top:48%; left:41%; width:22%; height:41%; background:linear-gradient(120deg,#fff5a3,#ffc544); clip-path:polygon(33% 0,93% 0,54% 40%,92% 40%,12% 100%,36% 54%,0 54%); }
#daycards .sf-ground { inset:65% -5px 0; background:linear-gradient(165deg,color-mix(in srgb,var(--panel2),#496978 35%),var(--panel)); clip-path:polygon(0 60%,17% 43%,33% 51%,56% 12%,77% 34%,100% 4%,100% 100%,0 100%); z-index:-1; }
#daycards .sf-ground::after { content:''; position:absolute; inset:50% 0 0; background:var(--panel); clip-path:polygon(0 70%,40% 10%,75% 40%,100% 16%,100% 100%,0 100%); }
#daycards :is(.partly,.showers) .sf-sun { width:26%; left:19%; top:9%; }
#daycards :is(.partly,.cloudy,.showers,.rain,.storm,.snow,.sleet,.fog) .sf-cloud { display:block; }
#daycards :is(.cloudy,.rain,.storm,.snow,.sleet,.fog,.wind,.unknown) .sf-sun { display:none; }
#daycards :is(.cloudy,.rain,.storm,.snow,.sleet) .sf-cloud-back { display:block; }
#daycards :is(.rain,.showers,.storm,.sleet) .sf-rainfall { display:block; }
#daycards .storm { --st-cloud-hi:#d6e4ed; --st-cloud-mid:#8ca7b8; --st-cloud-low:#586f85; }
#daycards .storm .sf-lightning { display:block; }
#daycards .storm .sf-drop:nth-child(2) { display:none; }
#daycards .sunny .sf-aura { background:radial-gradient(ellipse,#ffc7602b,transparent 72%); }
#daycards .sf-moon { display:none; left:36%; top:12%; width:30%; aspect-ratio:1; border-radius:50%; box-shadow:inset 9px -4px #d7e9ff; transform:rotate(-25deg); }
#daycards .night:is(.sunny,.partly,.showers) .sf-sun { display:none; }
#daycards .night:is(.sunny,.partly,.showers) .sf-moon { display:block; }
#daycards .night:is(.partly,.showers) .sf-moon { width:25%; left:19%; top:9%; }
#daycards :is(.snow,.sleet) .sf-snowfall { display:block; }
#daycards .sf-flake { width:5px; height:5px; border-radius:50%; background:#e4f4ff; box-shadow:0 0 3px #fff4; left:15%; top:5px; font-size:0; }
#daycards .sf-flake:nth-child(2) { left:45%; top:14px; }
#daycards .sf-flake:nth-child(3) { left:73%; top:2px; }
#daycards .sleet .sf-flake:nth-child(2),#daycards .sleet .sf-drop:not(:nth-child(2)) { display:none; }
#daycards .sf-fog,#daycards .sf-wind-lines { display:none; left:17%; right:17%; top:53%; height:28%; }
#daycards .fog .sf-fog,#daycards .wind .sf-wind-lines { display:block; }
#daycards .sf-fog-line,#daycards .sf-wind-line { left:0; right:0; top:0; height:2px; border-radius:4px; background:#c1dce9; opacity:.75; }
#daycards .sf-fog-line:nth-child(2),#daycards .sf-wind-line:nth-child(2) { top:8px; left:10%; right:7%; }
#daycards .sf-fog-line:nth-child(3),#daycards .sf-wind-line:nth-child(3) { top:16px; left:22%; right:16%; }
#daycards .wind .sf-wind-lines { top:30%; height:40%; }
#daycards .sf-unknown { display:none; inset:20% 0; text-align:center; color:var(--muted); font:32px/1.2 var(--num); }
#daycards .unknown .sf-unknown { display:block; }
#daycards .unknown :is(.sf-ground,.sf-aura) { display:none; }
@media(prefers-reduced-motion:no-preference) {
  html[data-motion="full"] #desk.outlook-view #daycards .sf-sun { animation:st-sun-breathe 6s ease-in-out infinite; }
  html[data-motion="full"] #desk.outlook-view #daycards .sf-rays { animation:st-sun-spin 36s linear infinite; }
  html[data-motion="full"] #desk.outlook-view #daycards .sf-cloud { animation:st-cloud-drift 7s ease-in-out infinite; }
  html[data-motion="full"] #desk.outlook-view #daycards .sf-cloud-back { animation:st-cloud-drift 9s ease-in-out reverse infinite; }
  html[data-motion="full"] #desk.outlook-view #daycards .sf-drop { animation:st-rain-fall 1.2s linear infinite; top:-12px; }
  html[data-motion="full"] #desk.outlook-view #daycards .sf-drop:nth-child(2) { animation-delay:-.8s; }
  html[data-motion="full"] #desk.outlook-view #daycards .sf-drop:nth-child(3) { animation-delay:-.4s; }
  html[data-motion="full"] #desk.outlook-view #daycards .sf-lightning { animation:st-storm-glow 6.5s ease-in-out infinite; }
  html[data-motion="full"] #desk.outlook-view #daycards .sf-flake { animation:st-snow-fall 3s linear infinite; }
  html[data-motion="full"] #desk.outlook-view #daycards .sf-flake:nth-child(2) { animation-delay:-2s; }
  html[data-motion="full"] #desk.outlook-view #daycards .sf-flake:nth-child(3) { animation-delay:-1s; }
  html[data-motion="full"] #desk.outlook-view #daycards :is(.sf-fog,.sf-wind-lines) { animation:st-cloud-drift 5s ease-in-out infinite; }
}
html[data-gauges-paused] #daycards .sf-scene * { animation-play-state:paused!important; }
@keyframes st-sun-spin { to { transform:rotate(360deg); } }
@keyframes st-sun-breathe { 50% { transform:scale(1.04); } }
@keyframes st-cloud-drift { 0%,100% { transform:translate(-2px,0); } 50% { transform:translate(2px,-2px); } }
@keyframes st-rain-fall { 0% { transform:translate(3px,0) rotate(17deg); opacity:0; } 20%,80% { opacity:1; } 100% { transform:translate(-5px,42px) rotate(17deg); opacity:0; } }
@keyframes st-storm-glow { 0%,62%,100% { opacity:.6; } 75% { opacity:1; } }
@keyframes st-snow-fall { 0% { transform:translate(0,-7px); opacity:.2; } 20%,70% { opacity:1; } 100% { transform:translate(6px,28px); opacity:0; } }
@media(min-width:1200px) and (min-height:1100px) {
  #desk.balanced-desk.outlook-view #observatory-grid { grid-template-rows:auto minmax(282px,1fr) minmax(360px,1.2fr) minmax(128px,.4fr); }
}
@media(min-width:1200px) and (max-height:1199px) {
  html #desk.outlook-view #daycards > .daycard:is(:first-child,:nth-child(n)) { min-height:210px; gap:1px; padding:6px 5px; }
  html #desk.outlook-view #daycards .dc-scene { flex-basis:52px; min-height:52px; max-height:72px; }
  html #desk.outlook-view #daycards .dc-head { min-height:24px; }
  html #desk.outlook-view #daycards > .daycard:is(:first-child,:nth-child(n)) .dc-pop { min-height:44px; font-size:27px; }
  #desk.balanced-desk.outlook-view .fd-hour-chart { height:43px; }
  #desk.balanced-desk.outlook-view .fd-hour-cell { padding-block:5px; }
  #desk.balanced-desk.outlook-view .fd-hour-detail > div { display:flex; align-items:baseline; gap:6px; }
  #daycards .sunny .sf-sun { width:30%; max-width:36px; top:10%; }
  #daycards .sunny .sf-rays { inset:-20%; }
}
@media(min-width:1200px) and (max-height:1099px) {
  #desk.balanced-desk.outlook-view #observatory-grid { flex:none; grid-template-rows:auto auto minmax(360px,auto) minmax(128px,auto); }
}
@media(max-width:1199px) {
  html #desk.outlook-view #daycards { grid-template-columns:repeat(5,minmax(0,1fr)); }
  html #desk.outlook-view #daycards .dc-scene { height:86px; flex:none; }
}
@media(max-width:600px) { html #desk.outlook-view #daycards { grid-template-columns:repeat(2,minmax(0,1fr)); } }
html[data-theme="light"] #desk.outlook-view #daycards,html[data-palette="eink"] #desk.outlook-view #daycards { --st-rain:#075476; --st-rain-bg:#deeff7; }
html[data-theme="light"] #desk.outlook-view #daycards .dc-pop::after,html[data-palette="eink"] #desk.outlook-view #daycards .dc-pop::after { color:#17495e; }
html[data-palette="eink"] #daycards .sf-scene span { animation:none!important; }
