/* DVOJKA v4.3.10 — old LG weather polish only.
   Scope is strictly html.page-weather.tv-legacy. Modern LG is untouched. */

/* Sunrise / sunset: reserve a real icon column and keep all text in a separate column. */
html.page-weather.tv-legacy .fix5y-sun,
html.page-weather.tv-legacy .fix4zw-astro>.fix4zw-chip:nth-child(1),
html.page-weather.tv-legacy .fix4zw-astro>.fix4zw-chip:nth-child(2){
  position:absolute!important;
  overflow:hidden!important;
  padding-left:3.10vw!important;
  padding-right:.48vw!important;
}
html.page-weather.tv-legacy .fix5y-sun .fix4zw-chip-ico,
html.page-weather.tv-legacy .fix4zw-astro>.fix4zw-chip:nth-child(1)>.fix4zw-chip-ico,
html.page-weather.tv-legacy .fix4zw-astro>.fix4zw-chip:nth-child(2)>.fix4zw-chip-ico{
  position:absolute!important;
  left:.48vw!important;
  top:.72vh!important;
  width:2.15vw!important;
  height:3.35vh!important;
  margin:0!important;
  display:block!important;
  overflow:hidden!important;
}
html.page-weather.tv-legacy .fix5y-sun .fix4zw-chip-ico svg,
html.page-weather.tv-legacy .fix4zw-astro>.fix4zw-chip:nth-child(1)>.fix4zw-chip-ico svg,
html.page-weather.tv-legacy .fix4zw-astro>.fix4zw-chip:nth-child(2)>.fix4zw-chip-ico svg{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
}
html.page-weather.tv-legacy .fix5y-sun>div:nth-child(2),
html.page-weather.tv-legacy .fix4zw-astro>.fix4zw-chip:nth-child(1)>div:nth-child(2),
html.page-weather.tv-legacy .fix4zw-astro>.fix4zw-chip:nth-child(2)>div:nth-child(2){
  display:block!important;
  position:relative!important;
  left:0!important;
  top:0!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  white-space:nowrap!important;
}
html.page-weather.tv-legacy .fix5y-sun .fix4zw-chip-label{font-size:.68vw!important;line-height:1!important}
html.page-weather.tv-legacy .fix5y-sun .fix4zw-chip-value{font-size:1.16vw!important;line-height:1!important;margin-top:.14vh!important}
html.page-weather.tv-legacy .fix5y-sun .fix4zy-yesterday{font-size:.60vw!important;line-height:1!important;margin-top:.20vh!important}

/* Old webOS sometimes renders the original rain/pressure glyph as a tofu rectangle.
   The JS replaces those two icon holders with local SVG <img> files. */
html.page-weather.tv-legacy .fix4zw-stat-ico.v4310-legacy-icon-host{
  display:block!important;
  position:absolute!important;
  left:.72vw!important;
  top:.78vh!important;
  width:2.15vw!important;
  height:3.50vh!important;
  margin:0!important;
  overflow:visible!important;
  font-size:0!important;
  line-height:0!important;
}
html.page-weather.tv-legacy .fix4zw-stat-ico.v4310-legacy-icon-host img.v4310-legacy-icon{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  border:0!important;
}

/* Give the text a guaranteed clear lane to the right of the stat icon. */
html.page-weather.tv-legacy .fix4zw-stat.v4310-has-icon{padding-left:3.15vw!important}
html.page-weather.tv-legacy .fix4zw-stat.v4310-has-icon>div:not(.fix4zw-stat-ico){min-width:0!important}

html.page-weather.tv-legacy{--dvojka-v4310-weather-legacy:1}
