.rt-page{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rt-hero{
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 24px 26px;
}

.rt-hero h1{
  margin: 6px 0 10px;
  font-size: clamp(1.7rem, 2.4vw, 2.5rem);
}

.rt-hero__text{
  max-width: 680px;
}

.rt-hero__meta{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rt-hero__summary{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin-top: 6px;
}

.rt-tag{
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.05);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.rt-panel{
  padding: 18px 22px;
  display: grid;
  gap: 12px;
}

.rt-panel__title{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
}

.rt-panel__toggles{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rt-toggle{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.04);
  font-size: 13px;
  cursor: pointer;
}

.rt-toggle input{
  accent-color: var(--accent-2);
}

.rt-panel__note{
  font-size: 13px;
}

.rt-map{
  overflow: hidden;
}

.rt-top-temps{
  padding: 18px 22px 20px;
  display: grid;
  gap: 14px;
}

.rt-top-temps__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.rt-top-temps__eyebrow{
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  font-weight: 800;
}

.rt-top-temps__title{
  margin: 6px 0 0;
  font-size: 1.2rem;
  font-weight: 800;
}

.rt-top-temps__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rt-top-temps__block{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(6, 14, 26, .55);
  padding: 12px 14px;
  display: grid;
  gap: 8px;
}

.rt-top-temps__block-title{
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.7);
}

.rt-top-temps__table{
  display: grid;
  gap: 6px;
}

.rt-top-temps__body{
  display: grid;
  gap: 6px;
}

.rt-top-temps__row{
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) auto;
  gap: 10px;
  align-items: center;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  font-size: 12px;
}

.rt-top-temps__row--head{
  background: rgba(255,255,255,0.06);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
}

.rt-top-temps__name{
  font-weight: 700;
}

.rt-top-temps__temp{
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}
.rt-top-temps__temp.is-hot{ color: #f97316; }
.rt-top-temps__temp.is-cold{ color: #38bdf8; }

.rt-top-temps__time{
  white-space: nowrap;
}

.rt-top-temps__empty{
  padding: 12px;
  border-radius: 12px;
  border: 1px dashed rgba(255,255,255,0.12);
  text-align: center;
}

@media (max-width: 900px){
  .rt-top-temps__grid{
    grid-template-columns: 1fr;
  }
}

.rt-map__top{
  padding: 16px 20px;
  border-bottom: 1px solid var(--stroke);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.rt-map__heading{
  display: grid;
  gap: 4px;
}

.rt-map__summary{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.rt-pill{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.04);
  font-size: 12px;
}

.rt-pill__help{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
  font-size: 11px;
  font-weight: 800;
  color: rgba(255,255,255,0.85);
}

.rt-map__top h2{
  margin: 0 0 4px;
  font-size: 1.15rem;
}

.rt-map__tools{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 16px;
}

.rt-panel--inline{
  margin: 0 20px 16px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(6, 14, 26, .45);
}

.rt-radar-panel--below{
  margin: 12px 18px 0;
}

.rt-map__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  width: 100%;
}

.rt-panel__filters{
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}
.rt-filter{
  display: grid;
  gap: 6px;
}
.rt-filter label{
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
}
.rt-filter__range{
  display: flex;
  align-items: center;
  gap: 10px;
}
.rt-filter__value{
  min-width: 40px;
  text-align: right;
  font-size: 12px;
  font-weight: 800;
  color: rgba(255,255,255,.8);
}
.rt-filter--range input[type="range"]{
  width: 100%;
}
.rt-filter__chips{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.rt-chip{
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.85);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.rt-chip:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.25);
}
.rt-chip.is-active{
  background: linear-gradient(135deg, rgba(0,10,255,0.28), rgba(1,170,255,0.22));
  border-color: rgba(1,170,255,0.45);
}

.rt-radar-player{
  display: grid;
  gap: 10px;
  align-items: center;
  width: min(720px, 100%);
  margin: 12px auto 12px;
  padding: 12px 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background:
    radial-gradient(140% 120% at 0% 0%, rgba(0,10,255,.16), transparent 60%),
    radial-gradient(140% 120% at 100% 0%, rgba(1,170,255,.16), transparent 60%),
    linear-gradient(180deg, rgba(10,16,28,.9), rgba(10,16,28,.65));
  box-shadow: 0 14px 30px rgba(2,6,23,.35);
  backdrop-filter: blur(6px);
}

.rt-radar-controls{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.rt-radar-controls svg{
  width: 14px;
  height: 14px;
  display: block;
}

.rt-play-btn{
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(15,23,42,0.6);
}
.rt-play-btn:hover{
  background: rgba(15,23,42,0.8);
}
.rt-play-btn .rt-pause-icon{ display: none; }
.rt-play-btn.is-playing .rt-play-icon{ display: none; }
.rt-play-btn.is-playing .rt-pause-icon{ display: inline-flex; }

.rt-live-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.18);
  display: inline-block;
}

.rt-refresh-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.rt-radar-shortcuts{
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
}

.rt-radar-speed{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.03);
}
.rt-radar-speed label{
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.rt-radar-speed .input--sm{
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
}

.rt-radar-timeline{
  display: grid;
  gap: 6px;
  min-width: min(360px, 100%);
}

.rt-radar-timeline__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  padding: 0 2px;
}

.rt-below{
  display: grid;
  gap: 12px;
  padding: 16px 18px 18px;
  border-top: 1px solid var(--stroke);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(0,10,255,.10), transparent 60%),
    radial-gradient(120% 140% at 100% 0%, rgba(1,170,255,.10), transparent 60%),
    rgba(6, 14, 26, .35);
}

.rt-radar-panel{
  display: grid;
  gap: 6px;
  padding: 8px 10px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background:
    linear-gradient(180deg, rgba(8, 16, 28, .7), rgba(8, 16, 28, .55));
  box-shadow: 0 16px 30px rgba(0,0,0,.22);
}
.rt-radar-resize{
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, transparent 0 45%, rgba(255,255,255,.7) 45% 60%, transparent 60% 100%),
    linear-gradient(135deg, transparent 0 60%, rgba(255,255,255,.35) 60% 75%, transparent 75% 100%);
  opacity: .7;
  cursor: nwse-resize;
}
.rt-radar-resize:hover{
  opacity: 1;
}

.rt-radar-panel__head{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.rt-radar-panel__eyebrow{
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  font-weight: 800;
}
.rt-radar-panel__title{
  font-size: 13px;
  font-weight: 900;
  color: rgba(255,255,255,.92);
}
.rt-radar-panel__hint{
  font-size: 10px;
}

.rt-dept-panel{
  display: grid;
  gap: 12px;
  padding: 14px 16px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(6, 14, 26, .55);
  color: #e2e8f0;
}
.rt-dept-panel__head{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.rt-dept-panel__eyebrow{
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  font-weight: 800;
}
.rt-dept-panel__title{
  font-size: 16px;
  font-weight: 900;
  color: rgba(255,255,255,.92);
}
.rt-dept-panel__metrics{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
}
.rt-dept-metric{
  display: grid;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  overflow: hidden;
  min-height: 56px;
}
.rt-dept-metric span{
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 800;
  display: block;
  line-height: 1.2;
  white-space: normal;
}
.rt-dept-metric strong{
  font-size: 15px;
  font-weight: 900;
  color: rgba(255,255,255,0.92);
  display: block;
  line-height: 1.2;
  white-space: normal;
  word-break: break-word;
}

@media (max-width: 720px){
  .rt-radar-panel__head{
    flex-direction: column;
    align-items: flex-start;
  }
  .rt-radar-controls{
    justify-content: flex-start;
  }
}

.rt-radar-bars{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(2px, 1fr);
  gap: 2px;
  align-items: end;
  height: 34px;
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
}

.rt-radar-bar{
  width: 100%;
  height: var(--h, 60%);
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.18);
  background: linear-gradient(180deg, rgba(59,130,246,0.9), rgba(14,165,233,0.5));
  opacity: .55;
  cursor: pointer;
  padding: 0;
}
.rt-radar-bar.is-nowcast{
  background: linear-gradient(180deg, rgba(34,197,94,0.95), rgba(16,185,129,0.5));
}
.rt-radar-bar.is-active{
  opacity: 1;
  border-color: rgba(255,255,255,0.75);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.25), 0 8px 16px rgba(0,0,0,0.35);
}

#rtRadarLive.is-active{
  box-shadow: 0 0 0 2px rgba(34,197,94,0.35);
}
#rtRadarLive{
  border-radius: 999px;
}

.rt-radar-timeline input[type="range"]{
  width: 100%;
  accent-color: var(--accent-2);
  height: 6px;
}
.rt-radar-timeline input[type="range"]::-webkit-slider-thumb{
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #e2e8f0;
  border: 2px solid rgba(0,0,0,0.2);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.rt-radar-timeline input[type="range"]::-moz-range-thumb{
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #e2e8f0;
  border: 2px solid rgba(0,0,0,0.2);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.rt-search{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.rt-search input{
  min-width: 240px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  color: var(--text);
}

.rt-search .btn{
  white-space: nowrap;
}

.rt-map__hint{
  font-size: 12px;
}

.rt-legend{
  background: rgba(15, 23, 42, .88);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, .3);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 11px;
  line-height: 1.2;
}

.rt-legend--prealert{
  min-width: 140px;
}

.rt-prealert-legend{
  display: grid;
  gap: 6px;
  margin-top: 6px;
}

.rt-prealert-legend div{
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}

.rt-prealert-dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
}

.rt-prealert-dot--yellow{ background: #ffd400; }
.rt-prealert-dot--orange{ background: #ff7a00; }
.rt-prealert-dot--red{ background: #ff1f1f; }
.rt-prealert-dot--violet{ background: #7f00ff; }

.rt-legend__title{
  font-weight: 600;
  margin-bottom: 6px;
}
.rt-legend__title--temp{
  margin-top: 12px;
}

.rt-legend__scale{
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 2px;
}

.rt-legend__scale span{
  height: 8px;
  border-radius: 2px;
}

.rt-legend__labels{
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 2px;
  margin-top: 4px;
}

.rt-legend__labels span{
  text-align: center;
  font-size: 10px;
}

.rt-temp-legend-wrap{
  display: none;
}

.rt-temp-legend{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 12px;
  margin-top: 6px;
  font-size: 11px;
  color: rgba(255,255,255,0.8);
}

.rt-temp-legend div{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.rt-snow-legend{
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(148,163,184,.28);
}

.rt-snow-legend__scale{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
}

.rt-snow-legend__scale span{
  height: 8px;
  border-radius: 2px;
}

.rt-snow-lv1{ background: #f0f9ff; }
.rt-snow-lv2{ background: #dbeafe; }
.rt-snow-lv3{ background: #bfdbfe; }
.rt-snow-lv4{ background: #93c5fd; }
.rt-snow-lv5{ background: #60a5fa; }
.rt-snow-lv6{ background: #1d4ed8; }

.rt-snow-legend__labels{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  margin-top: 4px;
}

.rt-snow-legend__labels span{
  text-align: center;
  font-size: 10px;
  color: rgba(255,255,255,.82);
}

.rt-temp-swatch{
  width: 12px;
  height: 12px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.25);
  display: inline-block;
}

.rt-map__canvas{
  height: 68vh;
  min-height: 420px;
  width: 100%;
  background: #050505;
  position: relative;
}

.rt-map__wrap{
  position: relative;
  z-index: 1;
}

.rt-map__fullscreen{
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(8,12,20,0.75);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.rt-map__fullscreen:hover{
  background: rgba(8,12,20,0.9);
}
.rt-map__fullscreen-ic{
  font-size: 14px;
}

.rt-map__wrap:fullscreen{
  background: #050505;
}
.rt-map__wrap:fullscreen .rt-map__canvas{
  height: 100vh;
  min-height: 100vh;
  border-radius: 0;
}
.rt-map__canvas::after{
  content: attr(data-radar-time);
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15,23,42,0.75);
  border: 1px solid rgba(148,163,184,0.35);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}

.rt-map__canvas[data-radar-time]::after{
  opacity: 1;
  transform: translateY(0);
}

.rt-map__canvas[data-radar-is-live="1"]::after{
  content: attr(data-radar-time) " - LIVE";
  border-color: rgba(34,197,94,0.55);
  box-shadow: 0 0 0 2px rgba(34,197,94,0.2);
}

.rt-map__status{
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(6, 14, 26, .55);
  font-size: 12px;
  color: #ffffff;
  text-align: center;
}

.rt-popup{
  display: grid;
  gap: 6px;
}

.rt-map .leaflet-popup-content-wrapper{
  background: rgba(8,12,20,0.92);
  color: #e2e8f0;
  border: 1px solid rgba(148,163,184,0.25);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(2,6,23,0.55);
}
.rt-map .leaflet-popup-tip{
  background: rgba(8,12,20,0.92);
  border: 1px solid rgba(148,163,184,0.25);
}
.rt-map .leaflet-popup-close-button{
  color: #e2e8f0 !important;
}

.rt-map .leaflet-interactive:focus{
  outline: none;
}

.rt-popup__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.rt-popup__title{
  font-weight: 800;
  letter-spacing: .02em;
}
.rt-popup__subtitle{
  font-size: 12px;
  color: rgba(226,232,240,0.8);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.rt-popup__time{
  font-size: 11px;
  color: rgba(226,232,240,0.65);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.rt-popup__reasons{
  font-size: 12px;
  color: rgba(226,232,240,0.85);
}
.rt-popup__badge{
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: #e2e8f0;
}
.rt-popup__badges{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.rt-popup__badge--obs{
  background: linear-gradient(135deg, rgba(0,10,255,0.25), rgba(1,170,255,0.18));
  border-color: rgba(1,170,255,0.45);
}
.rt-popup__badge--media{
  background: rgba(25,193,180,0.2);
  border-color: rgba(25,193,180,0.45);
  color: #d1fae5;
}
.rt-popup__badge--phen{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
  color: rgba(248,250,252,0.92);
}
.rt-popup__badge--vert{ background: rgba(34,197,94,0.2); border-color: rgba(34,197,94,0.45); }
.rt-popup__badge--jaune{ background: rgba(250,204,21,0.2); border-color: rgba(250,204,21,0.45); color: #fef9c3; }
.rt-popup__badge--orange{ background: rgba(249,115,22,0.2); border-color: rgba(249,115,22,0.45); color: #ffedd5; }
.rt-popup__badge--rouge{ background: rgba(239,68,68,0.2); border-color: rgba(239,68,68,0.45); color: #fee2e2; }
.rt-popup__badge--violet{ background: rgba(139,92,246,0.2); border-color: rgba(139,92,246,0.45); color: #ede9fe; }

.rt-popup__metrics{
  margin-top: 6px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 6px 10px;
}
.rt-popup__metric{
  display: grid;
  gap: 2px;
  align-items: start;
  justify-content: start;
  min-width: 0;
  width: 100%;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  box-sizing: border-box;
}
.rt-popup__metric span{
  color: rgba(226,232,240,0.7);
  display: block;
  line-height: 1.2;
  word-break: break-word;
}
.rt-popup__metric strong{
  color: #f8fafc;
  font-weight: 700;
  display: block;
  line-height: 1.2;
  word-break: break-word;
}

.rt-popup__meta{
  font-size: 12px;
  color: rgba(226,232,240,0.65);
}

.rt-popup img{
  width: 100%;
  max-width: 220px;
  border-radius: 10px;
  margin-top: 6px;
}

.rt-dept-tooltip.leaflet-tooltip{
  background: rgba(8,12,20,0.9);
  color: #e2e8f0;
  border: 1px solid rgba(148,163,184,0.25);
  border-radius: 10px;
  padding: 6px 10px;
  box-shadow: 0 12px 28px rgba(2,6,23,0.45);
  font-size: 12px;
  font-weight: 600;
}

.rt-popup__link{
  color: #38bdf8;
  font-weight: 600;
  text-decoration: none;
}

.rt-popup__list{
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
  font-size: 12px;
}

.rt-popup__list li{
  margin: 0;
  padding: 0;
}

.rt-obs-marker-wrap{
  background: transparent;
  border: none;
  box-shadow: none;
}

.rt-obs-marker-wrap.leaflet-div-icon{
  background: transparent;
  border: none;
  box-shadow: none;
}

.rt-obs-marker{
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid #00c853;
  background: rgba(8, 12, 20, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.2), 0 4px 12px rgba(0,0,0,0.3);
  position: relative;
}

.rt-obs-marker img{
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.rt-obs-marker__badge{
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.rt-obs-marker--green{ border-color: #00c853; }
.rt-obs-marker--yellow{ border-color: #ffd400; }
.rt-obs-marker--orange{ border-color: #ff7a00; }
.rt-obs-marker--red{ border-color: #ff1f1f; }

.rt-station-temp-wrap{
  background: transparent;
  border: none;
  box-shadow: none;
}

.rt-station-temp-wrap.leaflet-div-icon{
  background: transparent;
  border: none;
  box-shadow: none;
}

.rt-station-temp{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0b1020;
  background: #e2e8f0;
  border: 2px solid rgba(255,255,255,0.7);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.25), 0 6px 14px rgba(0,0,0,0.35);
  text-shadow: 0 1px 0 rgba(255,255,255,0.3);
}

.rt-station-temp--cold{ background: #3b82f6; color: #f8fafc; }
.rt-station-temp--frost{ background: #38bdf8; color: #0b1020; }
.rt-station-temp--cool{ background: #22c55e; color: #0b1020; }
.rt-station-temp--mild{ background: #eab308; color: #1f2937; }
.rt-station-temp--warm{ background: #f97316; color: #fff7ed; }
.rt-station-temp--hot{ background: #ef4444; color: #fff1f2; }
.rt-station-temp--na{ background: #64748b; color: #f8fafc; }

.rt-map .leaflet-container{
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.rt-map .leaflet-basemap-pane .leaflet-tile{
  filter: grayscale(1) contrast(1.1) brightness(0.95);
}

@media (max-width: 820px){
  .rt-map__canvas{
    height: 60vh;
  }
}

/* Light theme fixes */
body[data-theme="clair"] .rt-radar-panel--below,
body[data-theme="clair"] .rt-radar-player,
body[data-theme="clair"] .rt-dept-panel,
body[data-theme="clair"] .rt-top-temps__block,
body[data-theme="clair"] .rt-panel,
body[data-theme="clair"] .rt-panel--inline{
  background: rgba(255,255,255,.96);
  border-color: rgba(0,10,255,.45);
  color: #0f172a;
  box-shadow: 0 14px 30px rgba(0,10,255,.08);
}
body[data-theme="clair"] .rt-radar-player{
  background:
    radial-gradient(140% 120% at 0% 0%, rgba(0,90,255,.12), transparent 60%),
    radial-gradient(140% 120% at 100% 0%, rgba(1,170,255,.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(242,246,255,.92));
}
body[data-theme="clair"] .rt-radar-panel__title,
body[data-theme="clair"] .rt-dept-panel__title,
body[data-theme="clair"] .rt-top-temps__title,
body[data-theme="clair"] .rt-top-temps__block-title{
  color: #0f172a;
}
body[data-theme="clair"] .rt-radar-panel__hint,
body[data-theme="clair"] .rt-dept-panel__meta,
body[data-theme="clair"] .rt-top-temps__note,
body[data-theme="clair"] .rt-top-temps__time,
body[data-theme="clair"] .rt-panel__note,
body[data-theme="clair"] .rt-top-temps__eyebrow{
  color: #475569;
}
body[data-theme="clair"] .rt-dept-panel{
  color: #0f172a;
}
body[data-theme="clair"] .rt-dept-panel__eyebrow{
  color: #475569;
}
body[data-theme="clair"] .rt-dept-metric{
  background: rgba(15,23,42,0.04);
  border-color: rgba(15,23,42,0.12);
}
body[data-theme="clair"] .rt-dept-metric span{
  color: rgba(15,23,42,0.62);
}
body[data-theme="clair"] .rt-dept-metric strong{
  color: rgba(15,23,42,0.92);
}
