.ldl-slides {
  width: 100%;
  padding-right: 6%;
  min-height: 0;
  flex: 1 1 auto;
  font-family: var(--tertiary-font-family);
  padding-bottom: 0;
}
.ldl-slide {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content:space-evenly;
}

/* LDL DISPLAY CONTROL */
#ldl-alert {
  position: relative;
  display: none;
}
#ldl-current {
  position: relative;
  display: none;
}

#ldl-hourly {
  position: relative;
  display: none;
}

#ldl-period-summary {
  position: relative;
  display: none;
}

#ldl-shortterm {
  position: relative;
  display: none;
}

#ldl-riseset {
  position: relative;
  display: none;
}

#ldl-daily {
  position: relative;
  display: none;
}

.temp-point {
  font-size: var(--text-sm);
  vertical-align: top;
  letter-spacing: 0px;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.836);
}

.point-highest {
  color: var(--text-temp-hi);
}

.point-lowest {
  color: var(--text-temp-lo);
}

/* CAROUSEL */
.ldl-carousel-current {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  flex: 0 0 252px;
  width: 252px;
  min-width: 252px;
  flex-shrink: 0;
  font-size: var(--text-xs);
  color: var(--text-soft);
  text-shadow: 1px 1px 4px var(--color-panel);
  backdrop-filter: blur(120px);
  white-space: nowrap;
  height: 100%;
  border-radius: 8px;
  background: #0a0d11 !important;
  border-left: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
  border-right: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 2px 4px 12px var(--color-panel), inset 0 0 0 color-mix(in srgb, var(--text) 10%, transparent), 2px 4px 12px var(--color-panel);
  box-sizing: border-box;
  z-index: 1;
}

.ldl-carousel-current:empty {
  visibility: hidden;
}
.ldl-carousel-container {
  position: relative;
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 56px;
  align-items: center;
  background: var(--gradient-raised);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 2px 4px 12px var(--color-panel);
  border: 2px solid color-mix(in srgb, var(--text) 10%, transparent);
  overflow: hidden;
}
.ldl-carousel-locations {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 100%;
  flex: 1 0 auto;
  min-width: 0;
  width: max-content;
  gap: 8px;
  padding: 6px 4px;
  box-sizing: border-box;
  flex-shrink: 0;
}
.ldl-carousel-location-entry {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  font-size: var(--text-sm);
  color: var(--text-soft);
  text-shadow: 1px 1px 4px var(--color-panel);
  white-space: nowrap;
  height: 100%;
  border-radius: 8px;
  background: var(--color-raised);
  border-left: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
  border-right: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.ldl-location-carousel-current {
  background: var(--color-highlight) !important;
  color: var(--text) !important;
  border-color: color-mix(in srgb, var(--text) 30%, transparent) !important;
  box-shadow: 0 0 12px color-mix(in srgb, var(--color-accent) 40%, transparent);
}

/* LDL MAIN CONTAINER */
.ldl-weather {
  flex: 0 0 var(--ldl-height);
  align-self: stretch;
  position: relative;
  z-index: 487845785;
  overflow: hidden;
  backdrop-filter: blur(70px) saturate(350%) brightness(60%);
  background-image: var(--gradient-base);
  border-top: 1px solid var(--color-accent-dim);
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
}

.ldl-branding-area {
  flex: 0 0 var(--sidebar-rail-width);
  width: var(--sidebar-rail-width);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
  overflow: hidden;
  gap: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, color-mix(in srgb, var(--color-accent) 10%, transparent), color-mix(in srgb, var(--color-accent) 3%, transparent));
  border-bottom-right-radius: 75px;
  box-shadow: inset -1px 0 0 color-mix(in srgb, var(--text) 5%, transparent);
}

.ldl-date-time-container {
  position: relative;
  width: 100%;
  min-height: 118px;
  text-align: right;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 4px;
  background: linear-gradient(135deg, rgba(8, 32, 58, 0.34), rgba(2, 8, 18, 0.18));
  border-top: 1px solid color-mix(in srgb, var(--text) 30%, transparent);
  border-bottom: 1px solid rgba(205, 232, 255, 0.18);
  padding: 14px 28px 12px 22px;
  backdrop-filter: blur(120px) saturate(145%);
}

.ldl-date {
  color: var(--text-soft);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
  padding: 0;
  border: 0;
  line-height: 1;
  width: 100%;
  text-align: right;
  opacity: 0.78;
}

.ldl-time {
  font-weight: 350;
  font-size: var(--text-lg);
  letter-spacing: 0;
  line-height: 0.98;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.55);
}

.provider-logo-container {
  position: relative;
  top: auto;
  width: 100%;
  flex: 1 1 auto;
  min-height: 82px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  align-self: flex-end;
  justify-content: flex-end;
  background: linear-gradient(135deg, rgba(2, 8, 18, 0.08), rgba(18, 78, 132, 0.14));
  border-bottom: 0;
  padding: 48px 28px 18px 60px;
  border-bottom-right-radius: 0;
}

.ldl-provider-logo {
  max-width: 72%;
  max-height: 96px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 1;
  transition: opacity 0.45s ease;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.45));
}

.ldl-provider-logo.fading {
  opacity: 0;
}

.ldl-main-content {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: auto;
  /* 75% of the LDL proper plus the ticker on top; the bottom 25% stays clear as safe area. */
  height: calc((100% - var(--cityticker-height)) * 0.75 + var(--cityticker-height));
  width: 85%;
  overflow: hidden;
  container: ldl-main / inline-size;
}

/* BULLETIN/ALERTS */

/* Top strip of the LDL's main column (beside the brand rail). */
.cityticker {
  position: sticky;
  width: 100%;
  height: var(--cityticker-height);
  background: var(--gradient-raised);
  display: flex;
  flex: 0 0 var(--cityticker-height);
  flex-direction: row;
  align-items: center;
  color: var(--text);
  font-size: var(--text-sm);
  overflow: hidden;
  z-index: 10;
  box-sizing: border-box;
  backdrop-filter: blur(72px) saturate(185%);
  -webkit-backdrop-filter: blur(72px) saturate(185%);
  box-shadow: 0 8px 8px rgba(255, 255, 255, 0.06), 0 16px 16px rgba(255, 255, 255, 0.06);
}

.ldl-bulletin-crawl {
  position: sticky;
  width: 100%;
  height: 46px;
  z-index: 20;
  flex: 1 1 1;
  box-shadow: 0 4px 24px rgba(22, 22, 22, 0.4);
  background-color: var(--color-panel);
}

.ldl-bulletin-metadata-text {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--monospace-font), monospace;
  font-size: var(--text-sm);
  border-radius: 4px;
  white-space: nowrap;
  font-weight: 600;
  padding-left: 16px;
  padding-right: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.ldl-bulletin-text-container {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-soft);
  text-shadow: 0 1px 4px var(--color-panel);
  white-space: nowrap;
}

#ldl-bulletin-text {
  padding-left: 0;
  margin: 0;
  white-space: nowrap;
}

.ldl-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  flex: 1;
}

.ldl-presentation {
  display: flex;
  margin-top: 8px;
  flex-direction: column;
  width: 90%;
  overflow: hidden;
}

.ldl-presentation-container {
  position: relative;
  display: flex;
  width: 100%;
  height: 50%;
  line-height: 1;
}

.ldl-presentation-slide {
  position: relative;
  height: 100%;
  width: 100%;
}


.ldl-slide-container {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  line-height: 1;
  width: 100%;
  height: 100%;
}

.ldl-location-progressbar-container {
  display: block;
  width: 100%;
  height: 1.5px;
  position: relative;
  margin-bottom: 1pt;
  background-color: var(--color-overlay);
  border-radius: 15px;
}

#ldl-location-progressbar {
  position: absolute;
  height: 100%;
  width: 100%;
  max-width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background-color: var(--text-soft);
  border-radius: 15px;
}

.ldl-bottomtext-container {
  display: flex;
  justify-content: space-between;
  height: 100%;
}

.ldl-locationlabel-container {
  width: 100%;
  height: 100%;
}

#ldl-location-label {
  overflow: visible;
  white-space: nowrap;
  font-size: var(--text-xs);
}

#ldl-location {
  height: 25.5%;
}
/* LDL CURRENT CONDITIONS */
#ldl-current {
  align-items: stretch;
  justify-content: stretch;
  gap: 18px;
  padding: 0 22px;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  background: transparent !important;
  background-image: none !important;
  border: 0;
  box-shadow: none;
}

.ldl-current-details-group {
  display: grid;
  grid-template-columns: 184px repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "wind dewpoint dewpoint visibility visibility uv uv"
    "wind humidity humidity humidity pressure pressure pressure";
  align-items: stretch;
  gap: 0;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  height: 100%;
}

.ldl-current-icon {
  width: 92px;
  height: 92px;
  flex: 0 0 auto;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.38));
}

.ldl-current-summary-texts {
  min-width: 0;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  gap: 0;
  line-height: 0.86;
}

.ldl-current-summary-group {
  display: flex;
  width: auto;
  height: 100%;
  flex-direction: row;
  align-items: center;
  align-self: center;
  gap: 16px;
  margin-left: 0;
  background: transparent !important;
  background-image: none !important;
  border-radius: 0;
  padding: 0 10px 0 0;
  box-shadow: none;
  border: 0;
  box-sizing: border-box;
}

.ldl-current-details-extra {
  display: contents;
}

.ldl-current-label {
  font-size: 15pt;
  color: rgba(226, 241, 255, 0.54);
  font-weight: 620;
  text-shadow: none;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.035em;
  line-height: 1;
}

.ldl-current-condition {
  font-size: var(--text-vs);
  font-weight: 560;
  line-height: 0.96;
  color: var(--text);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ldl-small-degrees {
  font-size: var(--text-2xs);
  vertical-align: top;
  letter-spacing: 0px;
  font-weight: 500;

}

.ldl-current-temp {
  font-size: 58pt;
  letter-spacing: 0;
  font-weight: 260;
  line-height: 0.76;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.54);
}

.ldl-current-value {
  font-size: 24pt;
  font-weight: 540;
  text-shadow: none;
}

.ldl-current-detail {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-width: 0;
  min-height: 0;
  padding: 8px 12px;
  border-radius: 0;
  box-shadow: none;
  border: 0;
  border-left: 1px solid rgba(205, 232, 255, 0.24);
  width: 100%;
  background: none !important;
  background-image: none !important;
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-sizing: border-box;
}

.ldl-current-detail::before {
  content: none;
  display: none;
}

.ldl-current-detail > :first-child,
.ldl-current-detail > :last-child {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

.ldl-current-detail > :last-child {
  color: var(--text);
  font-size: 24pt;
  font-weight: 540;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-variant-numeric: tabular-nums;
}

#ldl-current-dewpoint { grid-area: dewpoint; }
#ldl-current-visibility { grid-area: visibility; }
#ldl-current-uv { grid-area: uv; }
#ldl-current-humidity {
  grid-area: humidity;
  border-top: 1px solid rgba(205, 232, 255, 0.24);
}
#ldl-current-pressure {
  grid-area: pressure;
  border-top: 1px solid rgba(205, 232, 255, 0.24);
}

.ldl-current-wind-direction-indicator {
  grid-area: wind;
  display: flex;
  width: 100%;
  height: calc(100% - 4px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  white-space: nowrap;
  letter-spacing: 0.001em;
  line-height: 0.2;
  padding-right: 14px;
  box-sizing: border-box;
}

@keyframes ldl-wind-ticks-cw {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes ldl-wind-ticks-ccw {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

.ldl-current-wind-compass {
  position: relative;
  width: 184px;
  height: 184px;
  flex: 0 0 184px;
  --ldl-wind-arrow-radius: -80px;
  isolation: isolate;
}

.ldl-current-wind-ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: transparent;
  border: 11px solid rgba(247, 251, 255, 0.82);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.48), inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}


.ldl-current-wind-inner {
  position: absolute;
  inset: 24px;
  border-radius: 999px;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.ldl-current-wind-arrow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 11px solid #3a9bf6;
  transform: translate(-50%, -50%) rotate(0deg) translateY(var(--ldl-wind-arrow-radius));
  transform-origin: center center;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

#ldl-current-wind-direction {
  font-weight: 600;
  letter-spacing: -0.001em;
  color: var(--text-soft);
  line-height: 0.82;
  font-size: var(--text-vs);
}

#ldl-current-wind-speed {
  font-weight: 400;
  line-height: 0.86;
  color: #eef5ff;
  font-size: var(--text-sm);
}

#ldl-current-wind-gusts {
  font-size: 16pt;
  color: var(--text-soft);
  line-height: 1;
}

@container ldl-main (min-width: 1500px) {
  #ldl-current {
    gap: 24px;
    padding-inline: 26px;
  }

  .ldl-current-summary-group {
    flex-basis: 340px;
  }

  .ldl-current-details-group {
    grid-template-columns: 200px repeat(5, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr);
    grid-template-areas: "wind dewpoint visibility uv humidity pressure";
  }

  #ldl-current-humidity,
  #ldl-current-pressure {
    border-top: 0;
  }
}

/* LDL HOURLY */

.ldl-hourly-forecast-container {
  padding: 10px 22px;
  display: flex;
  flex-direction: row;
  justify-content: stretch;
  height: 100%;
  width: 100%;
  gap: 0;
}

.ldl-hourly-icon {
  width: 58px;
  height: 58px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.38));
}

.ldl-hourly-period {
  position: relative;
  display: flex;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  height: 100%;
  padding: 0 18px;
  gap: 2px;
  border: 0;
  border-right: 1px solid rgba(205, 232, 255, 0.28);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  flex-shrink: 0;
}

.ldl-hourly-period + .ldl-hourly-period::before {
  content: none;
  display: none;
}

.ldl-hourly-period::after {
  content: none;
  display: none;
}

.ldl-hourly-time {
  font-size: var(--text-xs);
  color: var(--text-soft);
  line-height: 1;
  white-space: nowrap;
}

.ldl-hourly-condition {
  line-height: 0.95;
  font-size: var(--text-xs);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ldl-hourly-temp {
  line-height: 0.9;
  font-size: var(--text-xl);
  font-weight: 200;
  letter-spacing: 0;
}

/* LDL PERIOD SUMMARY */
.ldl-period-summary-container {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  height: 100%;
  width: 100%;
}

.ldl-period-high-lows-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  height: 100%;
  justify-content: space-evenly;
  gap: 4px;
}

.ldl-period-lowest-temp {
  font-size: var(--text-3xl);
  color: var(--text-temp-lo);
  letter-spacing: 0.001em;
  margin-top: 24px;
  line-height: 0.7;
}

.ldl-now-temp {
  font-size: var(--text-3xl);
  letter-spacing: 0.001em;
  margin-top: 24px;
  line-height: 0.7;
}

.ldl-period-lowest-temp {
  font-size: var(--text-3xl);
  color: var(--text-temp-lo);
  letter-spacing: 0.001em;
  margin-top: 24px;
  line-height: 0.7;
}

.ldl-period-highest-temp {
  font-size: var(--text-3xl);
  color: var(--text-temp-hi);
  letter-spacing: 0.001em;
  margin-top: 24px;
  line-height: 0.7;
}

.ldl-daytemp-label {
  color: var(--text-soft);
  text-shadow: 1px 1px 4px var(--color-panel);
  letter-spacing: 0.001em;
}

/* LDL SHORT TERM */
.ldl-shortterm-forecast-container {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  height: 100%;
  align-items: center;
  width: 80%;
  background: var(--gradient-panel);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 2px 6px var(--color-panel), inset 0 0 0 color-mix(in srgb, var(--text) 10%, transparent), 2px 4px 12px var(--color-panel);
  border: 2px solid color-mix(in srgb, var(--text) 10%, transparent);
  border-radius: var(--radius);
  margin: 16px;
  gap: 32px;
  background: var(--color-surface-dim);
}
.ldl-shortterm-period-text {
  line-height: 1.25;
  display: flex;
  flex-direction: column;
}
.ldl-shortterm-period-summary {
  position: relative;
  display: flex;
  text-align: center;
  font-size : var(--text-xs);
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 10%;
  padding: 8px 12px;
  border-radius: 0;
  border: 0;
  border-right: 1px solid rgba(205, 232, 255, 0.28);
}

.ldl-shortterm-period-summary::after {
  content: none;
  display: none;
}
.ldl-shortterm-period-text {
  color: var(--text-soft);
  text-shadow: 1px 1px 4px var(--color-panel);
  letter-spacing: 0.001em;
  font-size: var(--text-lg);
  width: 85%;
  align-self: flex-start; /* top-aligned: the strip's bottom edge is hidden by the LDL, so this fits a third line */
}
.ldl-shortterm-period-title {
  border-bottom: 0.8px solid var(--color-accent-dim);
}
/* ldl.js fits this to the lines the strip holds and scrolls it a line at a time when a forecast runs long. */
#ldl-shortterm-period-narrative0 {
  display: block;
  overflow: hidden;
  box-sizing: content-box;
  padding-bottom: 0.1em; /* keeps the bottom line's descenders inside the clip */
}
.ldl-shortterm-icon {
  width: 96px;
  height: 96px;
}
.ldl-shortterm-period-temp {
  line-height: 0.7;
  font-size: var(--text-xl);
  font-weight: 200;
  letter-spacing: -0.064em;
}

.ldl-shortterm-period-temp.ldl-temp-high {
  color: var(--text-temp-hi);
}

.ldl-shortterm-period-temp.ldl-temp-low {
  color: var(--text-temp-lo);
}

.ldl-daily-forecast-container {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  height: 100%;
  width: 100%;
  padding: 8px 22px;
  box-sizing: border-box;
  overflow: hidden;
  gap: 0;
}

.ldl-daily-cards-row {
  display: flex;
  flex-direction: row;
  gap: 4px;
  flex: 1;
  min-height: 0;
}

.ldl-daily-period-summary {
  position: relative;
  display: grid;
  grid-template-rows: 30px 48px minmax(28px, 1fr) 24px 44px 32px;
  align-items: center;
  justify-items: center;
  flex: 1;
  height: 100%;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(205, 232, 255, 0.28);
  box-shadow: none;
  overflow: hidden;
  text-align: center;
  box-sizing: border-box;
  padding: 4px 12px 2px;
  isolation: isolate;
}

.ldl-daily-period-summary + .ldl-daily-period-summary::before {
  content: none;
  display: none;
}

.ldl-daily-period-summary::after {
  content: none;
  display: none;
}

.ldl-daily-period-summary > * {
  position: relative;
  z-index: 1;
}

.ldl-daily-period-title {
  width: 100%;
  color: var(--text-soft);
  background: transparent;
  border: 0;
  margin-bottom: 0;
  font-size: var(--text-vs);
  font-weight: 750;
  letter-spacing: 0.08em;
}

.ldl-daily-period-header {
  width: 100%;
  padding: 3px 0 2px;
  font-size: var(--text-vs);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
  text-transform: uppercase;
  background: color-mix(in srgb, var(--color-accent) 22%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
  flex-shrink: 0;
}

.ldl-daily-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.38));
}

.ldl-daily-period-condition {
  font-size: var(--text-2xs);
  color: var(--text-soft);
  text-align: center;
  line-height: 1.05;
  padding: 0 3px;
  max-width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ldl-daily-period-pop {
  font-size: var(--text-xs);
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}

.ldl-daily-period-high {
  font-size: var(--text-lg);
  font-weight: 200;
  letter-spacing: 0;
  color: var(--text-temp-hi);
  line-height: 0.95;
}

.ldl-daily-lows-row {
  display: flex;
  flex-direction: row;
  gap: 4px;
  height: 22px;
  align-items: center;
  flex-shrink: 0;
  padding-top: 2px;
  transform: translateX(calc((100% + 4px) / 14));
}

.ldl-daily-period-low {
  flex: 1;
  text-align: center;
  font-size: var(--text-md);
  font-weight: 300;
  letter-spacing: 0;
  color: var(--text-temp-lo);
  opacity: 0.9;
  line-height: 0.95;
}

/* Frosted LDL skin */
.ldl-weather {
  background: linear-gradient(180deg, rgba(2, 8, 18, 0.9), rgba(3, 17, 34, 0.76));
  backdrop-filter: blur(96px) saturate(185%);
  -webkit-backdrop-filter: blur(96px) saturate(185%);
  border-top: 1px solid rgba(205, 232, 255, 0.2);
}

.ldl-branding-area {
  background:
    linear-gradient(180deg, rgba(2, 8, 18, 0.92), rgba(1, 5, 12, 0.86)),
    linear-gradient(135deg, rgba(31, 155, 255, 0.14), transparent 46%);
  border-right: 1px solid rgba(205, 232, 255, 0.18);
  border-bottom-right-radius: 0;
  box-shadow:
    inset -1px 0 0 rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ldl-date-time-container,
.provider-logo-container,
.cityticker,
.ldl-bulletin-crawl,
.ldl-carousel-container {
  backdrop-filter: blur(72px) saturate(185%);
  -webkit-backdrop-filter: blur(72px) saturate(185%);
  box-shadow: var(--glass-highlight);
}

.cityticker,
.ldl-bulletin-crawl,
.ldl-carousel-container {
  background: rgba(2, 8, 18, 0.62);
}

.ldl-date-time-container,
.provider-logo-container {
  border-radius: 0 !important;
  border-top: 0;
  border-bottom: 1px solid rgba(205, 232, 255, 0.14);
}

.ldl-date {
  border-right: 0;
  border-bottom: 0;
  border-bottom-right-radius: 0;
}

.provider-logo-container {
  border-bottom: 0;
  box-shadow: none;
}

.ldl-time,
.ldl-current-temp,
.ldl-hourly-temp,
.ldl-shortterm-period-temp,
.ldl-daily-period-high,
.ldl-daily-period-low {
  letter-spacing: 0;
}

.ldl-provider-logo {
  filter: none;
}

.ldl-carousel-container {
  border: 0;
  border-bottom: 1px solid rgba(205, 232, 255, 0.14);
}

.ldl-carousel-current,
.ldl-carousel-location-entry {
  background: var(--glass-surface-soft) !important;
  border: var(--glass-border);
  box-shadow: var(--glass-highlight);
  border-radius: 8px;
}

.ldl-current-summary-group,
.ldl-current-detail {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: var(--radius);
}

.ldl-current-summary-group {
  border: 0 !important;
}

.ldl-carousel-current,
.ldl-carousel-location-entry {
  text-shadow: none;
}

.ldl-location-carousel-current {
  background: linear-gradient(135deg, rgba(47, 158, 244, 0.42), rgba(15, 63, 96, 0.5)) !important;
  border-color: rgba(150, 205, 255, 0.52) !important;
  box-shadow: 0 0 18px rgba(47, 158, 244, 0.16), var(--glass-highlight);
}

.ldl-current-icon {
  background: transparent;
  border-right: 0;
  border-radius: 0;
}

.ldl-current-label,
.ldl-current-condition,
.ldl-current-temp,
.ldl-current-value,
.ldl-daytemp-label,
.ldl-shortterm-period-text,
.ldl-bulletin-text-container,
.temp-point {
  text-shadow: none;
}

.ldl-current-wind-ring {
  border: 11px solid rgba(247, 251, 255, 0.82);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.ldl-current-wind-ticks,
.ldl-current-wind-ticks-inner {
  display: none;
}

.ldl-current-wind-arrow {
  filter: none;
}

.ldl-shortterm-forecast-container {
  width: 100%;
  margin: 0 16px;
  padding: 4px 10px;
  background: transparent !important;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  gap: 26px;
}

.ldl-shortterm-period-summary {
  background: transparent !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.ldl-shortterm-period-summary::after {
  content: '';
  position: absolute;
  right: -13px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: rgba(205, 232, 255, 0.28);
  box-shadow: none;
}

.ldl-shortterm-period-text {
  text-shadow: none;
}

.ldl-shortterm-period-title {
  background: transparent;
  border-right: 0;
  border-bottom: 1px solid rgba(205, 232, 255, 0.12);
  border-radius: 0;
}

.ldl-location-progressbar-container,
#ldl-location-progressbar {
  border-radius: 4px;
}

/* LDL hourly should read as a timeline, not a row of cards. Keep this late so
   older panel rules and cached-glass overrides cannot re-box the periods. */
.ldl-hourly-forecast-container {
  padding: 10px 22px !important;
  gap: 0 !important;
}

.ldl-hourly-period {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-right: 1px solid rgba(205, 232, 255, 0.28) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.ldl-hourly-period + .ldl-hourly-period::before {
  content: none;
  display: none;
}

.ldl-hourly-period::after {
  content: none;
  display: none;
}

.ldl-shortterm-period-summary,
.ldl-daily-period-summary {
  border: 0 !important;
  border-right: 1px solid rgba(205, 232, 255, 0.28) !important;
  box-shadow: none !important;
}

.ldl-shortterm-period-summary::after,
.ldl-daily-period-summary::after {
  content: none !important;
  display: none !important;
}

body.performance-static-glass #ldl-current,
body.performance-cached-glass #ldl-current,
body.performance-static-glass #ldl-current .ldl-current-summary-group,
body.performance-cached-glass #ldl-current .ldl-current-summary-group,
body.performance-static-glass #ldl-current .ldl-current-details-group,
body.performance-cached-glass #ldl-current .ldl-current-details-group,
body.performance-static-glass #ldl-current .ldl-current-details-extra,
body.performance-cached-glass #ldl-current .ldl-current-details-extra,
body.performance-static-glass #ldl-current .ldl-current-detail,
body.performance-cached-glass #ldl-current .ldl-current-detail {
  background: transparent !important;
  background-image: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.performance-static-glass #ldl-current .ldl-current-summary-group,
body.performance-cached-glass #ldl-current .ldl-current-summary-group {
  border-right: 0 !important;
}
