/* MeteoSensor Local v0.13.006 — ajustos de Previsió sobre v0.13.005. */

/* ========================================================================
   1. PROBABILITAT DE PLUJA PRINCIPAL
   El 0 validat queda immòbil; només s'eleven lleument paraigües i %.
   ======================================================================== */
:root[data-theme] .forecast-v012005.ui-system-master .v67-rain-value>.v47-rain-icon{
  position:relative!important;
  top:-2px!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v67-rain-value .v4-measure-line>small{
  position:relative!important;
  top:-2px!important;
}

/* ========================================================================
   2. PROPERES 48 HORES
   Ordre: icona → humitat → pluja → temperatura horària → mínima diària → hora.
   ======================================================================== */
:root[data-theme] .forecast-v012005.ui-system-master>.v13006-hourly{
  padding:var(--arch-s4) 0 0!important;
}
:root[data-theme] .forecast-v012005.ui-system-master>.v13006-hourly>.v46-card-title,
:root[data-theme] .forecast-v012005.ui-system-master>.v4-daily-list>.v46-card-title{
  margin:0 0 var(--arch-s3)!important;
  padding:0 var(--arch-s4)!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13006-hourly .v4-hour-scroll{
  padding:0!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13006-hour-canvas{
  position:relative!important;
  min-width:100%!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13006-hour-grid{
  display:grid!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13006-hour-hit{
  display:grid!important;
  grid-template-rows:46px 24px 24px 44px 44px 30px!important;
  justify-items:center!important;
  align-items:center!important;
  padding:0 4px!important;
  border-inline-end:1px solid color-mix(in srgb,var(--arch-border) 55%,transparent)!important;
  scroll-snap-align:start!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13006-hour-hit:last-child{
  border-inline-end:none!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13006-hour-symbol{
  font-size:40px!important;
  line-height:1!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13006-max-space,
:root[data-theme] .forecast-v012005.ui-system-master .v13006-min-space{
  display:block!important;
  width:100%!important;
  height:44px!important;
}

/* Hora = segon nivell dins de cada columna. */
:root[data-theme] .forecast-v012005.ui-system-master .v13006-hour-hit>time{
  display:flex!important;
  align-items:baseline!important;
  justify-content:center!important;
  gap:2px!important;
  color:var(--arch-text)!important;
  font-size:19px!important;
  font-weight:700!important;
  line-height:1!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13006-hour-hit>time small{
  color:inherit!important;
  font-size:.70em!important;
  font-weight:inherit!important;
  line-height:1!important;
}

/* Temperatura, humitat i pluja = mateix nivell secundari gris. */
:root[data-theme] .forecast-v012005.ui-system-master .v13006-hour-number,
:root[data-theme] .forecast-v012005.ui-system-master .v13006-hour-unit,
:root[data-theme] .forecast-v012005.ui-system-master .v13006-temp-max-label,
:root[data-theme] .forecast-v012005.ui-system-master .v13006-temp-min-label{
  color:var(--arch-text-2)!important;
  fill:var(--arch-text-2)!important;
  font-size:16px!important;
  font-weight:600!important;
  line-height:1!important;
}

/* Files d'humitat/pluja: mateix eix d'icona, números alineats a la dreta. */
:root[data-theme] .forecast-v012005.ui-system-master .v13006-hour-meta{
  display:grid!important;
  grid-template-columns:19px 2.1ch 13px!important;
  align-items:baseline!important;
  justify-content:center!important;
  column-gap:4px!important;
  width:max-content!important;
  height:18px!important;
  margin:0 auto!important;
  color:var(--arch-text-2)!important;
  white-space:nowrap!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13006-hour-icon{
  display:inline-flex!important;
  align-items:flex-end!important;
  justify-content:center!important;
  align-self:baseline!important;
  width:19px!important;
  height:18px!important;
  color:var(--ui-weather-glyph,var(--arch-text-2))!important;
  font-family:"Segoe UI Symbol","Noto Sans Symbols 2","Apple Symbols",sans-serif!important;
  font-style:normal!important;
  font-weight:900!important;
  line-height:18px!important;
  transform:none!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13006-rain-icon{
  font-size:19px!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13006-hum-icon{
  font-size:14px!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13006-hour-number{
  min-width:2.1ch!important;
  text-align:right!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13006-hour-unit{
  text-align:left!important;
}

/* Gràfica superior: temperatura horària (taronja). */
:root[data-theme] .forecast-v012005.ui-system-master .v13006-temp-max-curve{
  position:absolute!important;
  left:0!important;
  top:94px!important;
  width:100%!important;
  height:44px!important;
  pointer-events:none!important;
  overflow:visible!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13006-temp-max-line{
  fill:none!important;
  stroke:var(--temp)!important;
  stroke-width:1.45!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  vector-effect:non-scaling-stroke!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13006-temp-max-dot{
  fill:var(--surface)!important;
  stroke:var(--temp)!important;
  stroke-width:1.35!important;
  vector-effect:non-scaling-stroke!important;
}

/* Gràfica inferior: mínima diària de la font (blau), amb punts i valors. */
:root[data-theme] .forecast-v012005.ui-system-master .v13006-temp-min-curve{
  position:absolute!important;
  left:0!important;
  top:138px!important;
  width:100%!important;
  height:44px!important;
  pointer-events:none!important;
  overflow:visible!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13006-temp-min-line{
  fill:none!important;
  stroke:#2485c7!important;
  stroke-width:1.25!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  vector-effect:non-scaling-stroke!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13006-temp-min-dot{
  fill:var(--surface)!important;
  stroke:#2485c7!important;
  stroke-width:1.25!important;
  vector-effect:non-scaling-stroke!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13006-temp-max-label,
:root[data-theme] .forecast-v012005.ui-system-master .v13006-temp-min-label{
  letter-spacing:0!important;
}

/* El peu recupera només el marge canònic; no se suma padding del scroll. */
:root[data-theme] .forecast-v012005.ui-system-master .v13006-hourly>footer{
  margin-top:13px!important;
}
