@import url("ui/raster/weather-overview/runtime-frames.css");

/* The legacy sibling divider also matches the new inner value spans. */
body.play-screen .game-hud :is(#coins-value,#stars-value) { border: 0; padding: 0; }

body.play-screen #weather[data-weather=sunny][data-phase=night]::before,
body.play-screen #weather-details[data-weather=sunny][data-phase=night] h2::before { content: ""; background: var(--weather-moon-icon) center / contain no-repeat; font-size: 0; }
body.play-screen #weather-details[data-weather=fog] h2::before,
body.play-screen #weather-details[data-next-weather=fog] [data-weather-forecast]::before { background-image: linear-gradient(#c1d8f4,#c1d8f4),linear-gradient(#a4bde8,#a4bde8),var(--hud-cloud-icon); background-size: 70% 2px,50% 2px,100% calc(100% - 8px); background-position: center bottom,center calc(100% - 4px),center top; background-repeat: no-repeat; }

@media (max-width: 699px) {
  body.play-screen #weather-details { width: min(360px,calc(100vw - 24px)); padding: 0 0 32px; border: 2px solid transparent; border-image: var(--farm-weather-panel) 160 fill / 36px stretch; border-radius: 0; background: transparent; mask: none; filter: none; font-size: 14px; line-height: 1.4; }
  body.play-screen #weather-details h2 { min-height: 64px; margin: 0; padding: 12px 62px 12px 18px; gap: 8px; border-bottom: 1px solid #f1d2cc; font-size: 18px; line-height: 1.2; }
  body.play-screen #weather-details h2::before { content: ""; display: block; flex: none; width: 36px; height: 32px; background: var(--hud-cloud-icon) center / contain no-repeat; }
  body.play-screen #weather-details[data-weather=storm] h2::before { background-image: var(--ui-storm-art); }
  body.play-screen #weather-details[data-weather=rain] h2::before { background-image: var(--hud-rain-icon); }
  body.play-screen #weather-details[data-weather=sunny] h2::before { background-image: var(--hud-sun-icon); }
  body.play-screen #weather-details .weather-close { --close-size: 44px; top: 10px; margin: 10px 10px -54px auto; }
  body.play-screen #weather-details [data-weather-description] { margin: 14px 20px; color: #51414e; font-size: 14px; }
  body.play-screen #weather-details .weather-rates { margin: 0 16px; padding: 12px; border: 2px solid #efcac7; border-radius: 12px; background: #f5e5df; }
  body.play-screen #weather-details .weather-rates h3 { font-size: 12px; }
  body.play-screen #weather-details .weather-rate { min-height: 30px; font-size: 14px; font-weight: 700; }
  body.play-screen #weather-details [data-weather-forecast] { display: flex; align-items: center; gap: 8px; margin: 14px 20px 10px; color: #51414e; font-size: 13px; }
  body.play-screen #weather-details [data-weather-forecast]::before { content: ""; display: block; flex: none; width: 20px; height: 22px; background: var(--hud-cloud-icon) center / contain no-repeat; }
  body.play-screen #weather-details[data-next-weather=sunny] [data-weather-forecast]::before { background-image: var(--hud-sun-icon); }
  body.play-screen #weather-details[data-next-weather=rain] [data-weather-forecast]::before { background-image: var(--hud-rain-icon); }
  body.play-screen #weather-details[data-next-weather=storm] [data-weather-forecast]::before { background-image: var(--ui-storm-art); }
  body.play-screen #weather-details[data-next-weather=stable] [data-weather-forecast]::before { display: none; }
}
