.updown-home-widgets { padding-block: 4px 28px; }
.updown-widget-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.updown-information-widget { display: flex; flex-direction: column; min-width: 0; padding: 20px 24px 16px; background: #fff; border: 1px solid #e4e4e4; border-radius: 7px; color: #202020; font-family: var(--updown-text-font); }
.updown-widget-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid #eee; }
.updown-widget-heading h2 { margin: 0; padding: 0; font-size: 18px; line-height: 1.4; font-weight: 600; white-space: nowrap; }
.updown-widget-heading > span { color: #888; font-size: 12px; }
.updown-widget-heading select { min-width: 0; width: 210px; max-width: 55%; height: 34px; padding: 4px 24px 4px 8px; border: 1px solid #ddd; border-radius: 4px; background: #fff; color: #555; font: 12px var(--updown-text-font); }
.updown-widget-rate-row { display: grid; grid-template-columns: minmax(100px,1fr) auto minmax(80px,auto); align-items: center; gap: 14px; padding-block: 6px; }
.updown-widget-rate-name { display: flex; align-items: baseline; gap: 10px; font-size: 13px; }
.updown-widget-rate-name b { font-size: 14px; font-weight: 600; }
.updown-widget-rate-name > span { color: #888; }
.updown-widget-rate-row > strong { font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.updown-widget-rate-change { color: #777; font-size: 12px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.updown-widget-rate-change.is-up { color: #28764e; }
.updown-widget-rate-change.is-down { color: #aa3939; }
.updown-widget-sparkline { display: block; width: 100%; height: 58px; margin-top: 6px; }
.updown-widget-sparkline path { fill: none; stroke: #888; stroke-width: 1.8; vector-effect: non-scaling-stroke; }
.updown-widget-sparkline circle { fill: #dc0003; }
.updown-widget-caption { font-size: 11px; line-height: 1.6; color: #888; margin: 6px 0 0; }
.updown-widget-weather-now { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 4px 0 12px; }
.updown-widget-weather-now > div:first-child { display: flex; align-items: center; gap: 14px; }
.updown-widget-weather-now strong { font-size: 34px; line-height: 1.3; font-weight: 500; }
.updown-widget-weather-now > div:first-child > span { color: #666; font-size: 13px; }
.updown-widget-weather-details { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: #777; }
.updown-widget-weather-days { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid #eee; padding-top: 10px; }
.updown-widget-weather-days > div { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 3px 8px; padding-inline: 6px; text-align: center; font-size: 13px; }
.updown-widget-weather-days > div + div { border-left: 1px solid #eee; }
.updown-widget-weather-days > div > span:first-child,.updown-widget-day-label { flex-basis: 100%; }
.updown-widget-weather-days .updown-widget-day-label { font-size: 11px; color: #888; min-height: 18px; }
.updown-widget-weather-days strong { font-size: 17px; font-weight: 600; }
.updown-widget-night { color: #888; font-size: 13px; }
.updown-information-widget footer { margin-top: auto; padding-top: 12px; }
.updown-information-widget footer a { color: #555; font-size: 13px; }
.updown-information-widget footer a:hover { color: #dc0003; }
.updown-widget-status { margin: 16px 0; color: #777; font-size: 14px; min-height: 130px; }
@media(max-width:767px) { .updown-widget-grid { grid-template-columns: minmax(0,1fr); gap: 16px; } .updown-information-widget { padding: 16px; } .updown-widget-rate-row { gap: 8px; grid-template-columns: minmax(90px,1fr) auto auto; } .updown-widget-rate-name { gap: 6px; } .updown-widget-rate-row > strong { font-size: 18px; } .updown-widget-heading h2 { font-size: 17px; } }
@media(max-width:420px) { .updown-widget-rate-row { grid-template-columns: minmax(45px,1fr) auto auto; gap: 6px; } .updown-widget-rate-name > span { display: none; } .updown-widget-rate-row > strong { font-size: 17px; } .updown-widget-rate-change { font-size: 11px; } }
