
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;600;700;800;900&family=JetBrains+Mono:wght@500;700;800&display=swap');

/* PlacefileNation adaptation of the working VolWX forecast interface.
   Layout/functionality follows the proven forecast page, color/logo system is PFN. */
:root{
  --navy:#050506;
  --navy-2:#0b0b0d;
  --navy-3:#141416;
  --orange:#e50914;
  --orange-2:#ff2a2a;
  --red:#e50914;
  --bg:#070708;
  --panel:#111114;
  --panel-2:#18181d;
  --text:#ffffff;
  --muted:#a6a6ad;
  --border:rgba(255,255,255,.12);
  --border-dark:rgba(255,255,255,.18);
  --shadow:0 24px 70px rgba(0,0,0,.30);
  --radius:18px;
  --max:1240px;
}

body{
  background:
    radial-gradient(circle at 82% 4%,rgba(229,9,20,.18),transparent 30rem),
    linear-gradient(180deg,#141416 0%,#070708 45%,#050506 100%) !important;
  color:var(--text) !important;
  font-family:Inter,Arial,sans-serif !important;
}

.main{
  width:min(var(--max), calc(100% - 34px)) !important;
  padding:34px 0 52px !important;
}

.forecast-command-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px,.55fr);
  gap:24px;
  align-items:end;
  margin-bottom:24px;
}
.forecast-command-hero h1{
  margin:0;
  max-width:900px;
  font-family:'Bebas Neue',sans-serif;
  font-size:clamp(62px,8vw,120px);
  line-height:.88;
  letter-spacing:.025em;
  text-transform:uppercase;
}
.forecast-command-hero h1 .red{color:#ff2a2a}
.forecast-command-hero p{
  max-width:760px;
  color:rgba(255,255,255,.72);
  font-size:18px;
  line-height:1.65;
  margin:16px 0 0;
}
.forecast-source-card{
  border:1px solid rgba(255,255,255,.13);
  border-radius:24px;
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.035));
  box-shadow:0 24px 70px rgba(0,0,0,.26);
  padding:22px;
}
.forecast-source-card h2{
  margin:0;
  font-family:'Bebas Neue',sans-serif;
  font-size:38px;
  letter-spacing:.05em;
}
.forecast-source-card p{
  margin:10px 0 0;
  color:rgba(255,255,255,.58);
  font-size:13px;
  line-height:1.55;
}

.section-title-row .mini-sponsor{
  background:rgba(229,9,20,.12)!important;
  border:1px solid rgba(229,9,20,.28)!important;
  color:#ff6b6b!important;
}
:root {
  --navy: #071a33;
  --navy-2: #0b2342;
  --navy-3: #0d2f5a;
  --orange: #ff7f00;
  --orange-2: #f15f00;
  --red: #d80032;
  --bg: #eef2f6;
  --panel: #ffffff;
  --panel-2: #f7f9fc;
  --text: #06152c;
  --muted: #60718a;
  --border: #cfd7e3;
  --border-dark: #213852;
  --shadow: 0 12px 35px rgba(7, 26, 51, 0.10);
  --radius: 0;
  --max: 1180px;
}

:root.dark {
  --bg: #07111f;
  --panel: #0d1c31;
  --panel-2: #10223b;
  --text: #f4f8ff;
  --muted: #b7c4d7;
  --border: #243c5a;
  --shadow: 0 18px 40px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 15px;
}

a { color: inherit; }

button,
input {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.top-bar {
  background: var(--navy);
  color: white;
  border-bottom: 3px solid var(--orange);
}

.top-bar-inner {
  width: min(var(--max), calc(100% - 28px));
  margin: 0 auto;
  min-height: 132px;
  display: grid;
  grid-template-columns: minmax(320px, auto) 1fr;
  align-items: center;
  gap: 14px 22px;
  padding: 12px 0 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  width: clamp(260px, 36vw, 470px);
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 7px rgba(0,0,0,.38));
}

.brand-text {
  display: none;
}

.brand-text strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.75rem);
  text-transform: uppercase;
  line-height: .88;
  letter-spacing: -.035em;
  font-weight: 950;
}

.brand-text span {
  display: block;
  color: #d8e5f5;
  text-transform: uppercase;
  font-size: .74rem;
  font-weight: 900;
  margin-top: 5px;
  letter-spacing: .06em;
}

.nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.nav a,
.nav button,
.mobile-drawer-nav a,
.theme-toggle {
  border: 1px solid rgba(255,255,255,.38);
  background: #0a1a30;
  color: white;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 950;
  text-decoration: none;
  min-height: 34px;
  padding: 9px 14px;
  cursor: pointer;
}

.nav a:hover,
.nav button:hover,
.nav a.active,
.mobile-drawer-nav a.active {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
}

.mobile-menu-button {
  display: none;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255,255,255,.45);
  background: #0a1a30;
  color: white;
  padding: 9px 12px;
  text-transform: uppercase;
  font-weight: 950;
}

.mobile-drawer {
  display: none;
}

.main {
  width: min(var(--max), calc(100% - 28px));
  margin: 0 auto;
  padding: 22px 0 42px;
}

.panel,
.location-control,
.current-conditions,
.radar-panel,
.radar-cta,
.home-screen-tip {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.location-control {
  padding: 18px;
  border-left: 4px solid var(--orange);
  margin-bottom: 18px;
}

.location-search label,
.radar-location-form label {
  display: block;
  color: var(--navy);
  text-transform: uppercase;
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .05em;
  margin-bottom: 8px;
}

:root.dark .location-search label,
:root.dark .radar-location-form label {
  color: #dce7f7;
}

.location-search-row,
.radar-location-row {
  display: flex;
  gap: 8px;
}

input {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--text);
  padding: 10px 12px;
  min-height: 38px;
}

.button,
.location-search-row button,
.radar-location-row button,
.radar-location-button,
.radar-control-button,
.location-current-button {
  border: 0;
  background: var(--orange);
  color: white;
  padding: 10px 14px;
  min-height: 38px;
  font-size: .76rem;
  font-weight: 950;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  cursor: pointer;
}

.button:hover,
.location-search-row button:hover,
.radar-location-row button:hover,
.radar-location-button:hover,
.radar-control-button:hover,
.location-current-button:hover {
  background: var(--orange-2);
}

.location-current-button {
  margin-top: 10px;
  background: transparent;
  color: var(--orange);
  padding: 0;
  min-height: auto;
}

.location-note {
  color: var(--muted);
  font-size: .8rem;
  margin: 12px 0 0;
}

.current-conditions {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .9fr);
  gap: 20px;
  padding: 24px;
  border-top: 4px solid var(--orange);
  margin-bottom: 24px;
}

.eyebrow {
  display: block;
  color: var(--orange);
  font-size: .68rem;
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: .07em;
  margin-bottom: 8px;
}

.current-temp-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0 0;
}

.current-temp {
  font-size: clamp(4.5rem, 9vw, 6.8rem);
  line-height: .8;
  font-weight: 950;
  letter-spacing: -.04em;
  color: var(--navy);
  margin: 0;
  display: inline-flex;
  align-items: flex-start;
  gap: .05em;
}

.current-temp .temp-number {
  display: block;
}

.current-temp .temp-degree {
  display: block;
  font-size: .55em;
  line-height: 1;
  transform: translateY(.12em);
  margin-left: .01em;
}

:root.dark .current-temp {
  color: white;
}

.current-icon {
  font-size: 4.6rem;
  line-height: 1;
}

.current-primary h1 {
  margin: 10px 0 8px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  text-transform: uppercase;
  letter-spacing: -.04em;
  line-height: .95;
}

.current-location {
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 950;
  font-size: .82rem;
  margin: 0 0 12px;
}

.current-insight {
  border-left: 5px solid var(--orange);
  padding-left: 10px;
  font-weight: 850;
  line-height: 1.35;
  margin: 0 0 18px;
}

.weather-snapshot {
  border: 1px solid var(--border);
  background: var(--panel-2);
  padding: 12px 14px;
}

.weather-snapshot span {
  display: block;
  color: var(--orange);
  text-transform: uppercase;
  font-weight: 950;
  font-size: .7rem;
  margin-bottom: 8px;
}

.weather-snapshot ul {
  margin: 0;
  padding-left: 18px;
  font-size: .86rem;
  font-weight: 750;
  line-height: 1.4;
}

.current-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
}

.current-details-title,
.observation-note,
.refresh-button {
  grid-column: 1 / -1;
}

.current-details-title {
  display: none;
}

.current-metric {
  border: 1px solid var(--border);
  background: var(--panel-2);
  padding: 12px 13px;
  min-height: 70px;
}

.current-metric span {
  display: block;
  color: var(--orange);
  text-transform: uppercase;
  font-size: .68rem;
  font-weight: 950;
  margin-bottom: 6px;
}

.current-metric strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.05;
}

.observation-note {
  margin: 2px 0 0;
  color: var(--muted);
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 850;
  line-height: 1.35;
}

.refresh-button {
  justify-self: start;
}

.forecast-heading {
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}

.forecast-heading h2,
.radar-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  text-transform: uppercase;
  line-height: .96;
  letter-spacing: -.045em;
}

.outdoor-section {
  margin-bottom: 24px;
}

.outdoor-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.outdoor-card {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.outdoor-card-button {
  width: 100%;
  min-height: 158px;
  border: 0;
  background: transparent;
  color: var(--text);
  display: grid;
  grid-template-columns: 28px 1fr 55px;
  gap: 10px;
  text-align: left;
  padding: 18px;
  cursor: pointer;
}

.outdoor-icon {
  color: var(--orange);
  font-size: 1.35rem;
}

.outdoor-card strong {
  display: block;
  text-transform: uppercase;
  font-size: 1rem;
  line-height: .96;
  margin-bottom: 4px;
}

.outdoor-card small {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 850;
  line-height: 1.14;
}

.outdoor-card b {
  display: block;
  text-align: center;
  background: var(--navy);
  color: white;
  padding: 10px 8px;
  font-size: 1.5rem;
  align-self: center;
}

.outdoor-card b small {
  color: white;
  font-size: .58rem;
  margin-top: 2px;
  text-transform: uppercase;
}

.radar-cta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px;
  margin-top: 18px;
}

.button.secondary {
  background: var(--navy);
}

.button.secondary:hover {
  background: var(--orange);
}

.home-screen-tip {
  margin-top: 24px;
  padding: 16px 18px;
}

.home-screen-tip summary {
  cursor: pointer;
  font-weight: 950;
  text-transform: uppercase;
}

.home-screen-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.page-header {
  margin: 12px 0 24px;
}

.page-header h1 {
  font-size: clamp(3rem, 6vw, 4.9rem);
  line-height: .9;
  margin: 0 0 10px;
  color: var(--text);
  letter-spacing: -.06em;
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

.radar-panel {
  background: var(--navy);
  border: 1px solid var(--border-dark);
  border-top: 4px solid var(--orange);
  padding: 14px;
  color: white;
  box-shadow: 0 20px 45px rgba(7, 26, 51, .18);
}

.radar-location-tools {
  border: 1px solid var(--border-dark);
  background: #0a1729;
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 14px;
  padding: 12px;
  align-items: end;
}

.radar-location-tools p {
  margin: 0;
  font-weight: 850;
  color: #d8e4f1;
}

.radar-location-form label {
  color: #d8e4f1;
}

.radar-location-row input {
  background: #07111f;
  color: white;
  border-color: #314960;
}

.radar-tabs {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0;
  align-items: center;
}

.radar-tab-group,
.radar-control-group {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.radar-tab {
  border: 1px solid var(--border-dark);
  background: #0a1729;
  color: white;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 950;
  padding: 12px 16px;
  cursor: pointer;
}

.radar-tab.active {
  background: var(--orange);
  border-color: var(--orange);
}

.radar-control-button {
  background: #0a1729;
  border: 1px solid var(--border-dark);
}

.radar-frame-wrap {
  border: 1px solid var(--border-dark);
  background: #050b14;
  min-height: 780px;
  position: relative;
}

.radar-frame {
  display: block;
  border: 0;
  width: 100%;
  height: min(82vh, 880px);
  min-height: 720px;
  background: #050b14;
}

.radar-fallback {
  margin: 0;
  padding: 10px;
  background: #050b14;
  border-top: 1px solid var(--border-dark);
  color: #d8e4f1;
  font-size: .8rem;
  font-weight: 850;
}

.radar-fallback a {
  color: #ffbf6d;
}

.weatherwise-attribution {
  border: 1px solid var(--border-dark);
  border-top: 0;
  background: #0a1729;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 12px;
  text-transform: uppercase;
  font-size: .76rem;
  font-weight: 950;
}

.weatherwise-attribution p {
  margin: 0;
}

.weatherwise-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: white;
  text-decoration: none;
  padding: 9px 12px;
}

.weatherwise-logo-link img {
  width: 22px;
  height: 22px;
  background: white;
}

.footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .8rem;
}

.footer-inner {
  width: min(var(--max), calc(100% - 28px));
  margin: 0 auto;
  padding: 22px 0;
}

@media (min-width: 1040px) {
  .brand-logo {
    width: clamp(290px, 35vw, 470px);
  }
}

@media (max-width: 980px) {
  .top-bar-inner {
    min-height: 98px;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .nav {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: min(320px, 68vw);
  }

  .mobile-drawer[aria-hidden="false"] {
    display: block;
    position: fixed;
    z-index: 50;
    inset: 0 0 auto auto;
    width: min(360px, 100vw);
    min-height: 100vh;
    background: var(--navy);
    color: white;
    padding: 18px;
    box-shadow: -22px 0 45px rgba(0,0,0,.25);
  }

  .mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
  }

  .mobile-drawer-header span {
    display: block;
    color: #d8e5f5;
    text-transform: uppercase;
    font-size: .75rem;
    font-weight: 950;
  }

  .mobile-drawer-header strong {
    display: block;
    font-size: 2rem;
    text-transform: uppercase;
    line-height: .95;
  }

  .mobile-drawer-header button {
    background: var(--orange);
    color: white;
    border: 0;
    width: 42px;
    height: 42px;
    font-size: 2rem;
    cursor: pointer;
  }

  .mobile-drawer-nav {
    display: grid;
    gap: 9px;
  }

  .current-conditions {
    grid-template-columns: 1fr;
  }

  .outdoor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .radar-location-tools {
    grid-template-columns: 1fr;
  }

  .radar-tabs,
  .weatherwise-attribution,
  .radar-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .radar-frame-wrap {
    min-height: 580px;
  }

  .radar-frame {
    height: 68vh;
    min-height: 560px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 14px;
  }

  .main {
    width: min(100% - 18px, var(--max));
  }

  .location-search-row,
  .radar-location-row {
    flex-direction: column;
  }

  .current-conditions {
    padding: 16px;
  }

  .current-details {
    grid-template-columns: 1fr;
  }

  .outdoor-grid,
  .home-screen-steps {
    grid-template-columns: 1fr;
  }

  .outdoor-card-button {
    min-height: 132px;
  }

  .page-header h1 {
    font-size: 3rem;
  }

  .radar-panel {
    padding: 9px;
  }

  .radar-frame-wrap {
    min-height: 520px;
  }

  .radar-frame {
    min-height: 500px;
    height: 66vh;
  }
}


/* Step 1B homepage data sections */
.section-title-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.mini-sponsor {
  display: inline-flex;
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 950;
  font-size: .65rem;
  padding: 5px 8px;
}

.alerts-section {
  padding: 18px;
  margin: 0 0 24px;
  border-top: 4px solid var(--orange);
}

.alert-badge {
  align-self: start;
  background: var(--navy);
  color: #fff;
  padding: 9px 12px;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 950;
}

.alerts-list {
  display: grid;
  gap: 10px;
}

.alert-item {
  border: 1px solid var(--border);
  background: var(--panel-2);
  padding: 14px;
}

.alert-item h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  text-transform: uppercase;
  line-height: 1.05;
}

.alert-item p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.35;
}

.alert-item .alert-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.alert-item .alert-meta span {
  background: var(--navy);
  color: #fff;
  padding: 5px 8px;
  text-transform: uppercase;
  font-size: .66rem;
  font-weight: 950;
}

.alert-item.warning {
  border-left: 5px solid var(--orange);
}

.alert-item.quiet {
  border-left: 5px solid #4fbc79;
}

.forecast-section {
  margin: 0 0 24px;
}

.hourly-scroll-wrap {
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 10px;
  overflow-x: auto;
}

.hourly-scroll {
  display: grid;
  grid-template-columns: repeat(12, 126px);
  gap: 9px;
  min-width: max-content;
}

.hour-card {
  border: 1px solid var(--border);
  background: var(--panel-2);
  border-top: 4px solid var(--navy);
  padding: 12px 10px;
  min-height: 160px;
}

.hour-card span,
.day-card span {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  font-size: .68rem;
  font-weight: 950;
  margin-bottom: 8px;
}

.hour-card strong {
  display: block;
  font-size: 2rem;
  line-height: .9;
  color: var(--text);
  margin-bottom: 8px;
}

.hour-card small,
.day-card small {
  display: block;
  color: var(--muted);
  font-weight: 850;
  line-height: 1.35;
}

.hour-icon {
  display: block;
  font-size: 1.55rem;
  margin-bottom: 8px;
}

.hour-details {
  display: grid;
  gap: 3px;
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .76rem;
  font-weight: 850;
}

.daily-heading {
  margin-top: 22px;
}

.daily-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  gap: 10px;
}

.day-card {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 14px;
  border-top: 4px solid var(--orange);
}

.day-card strong {
  display: block;
  font-size: 1.15rem;
  line-height: 1.05;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.day-card .day-temps {
  font-size: 1.45rem;
  font-weight: 950;
  color: var(--navy);
  margin-bottom: 5px;
}

:root.dark .day-card .day-temps {
  color: white;
}

.score-excellent b { background: var(--navy); }
.score-good b { background: #0b5b2b; }
.score-manageable b { background: #9a6400; }
.score-poor b { background: #9d1e24; }

.loading {
  opacity: .78;
}

@media (max-width: 980px) {
  .forecast-heading {
    display: block;
  }

  .alert-badge {
    display: inline-flex;
    margin-bottom: 12px;
  }

  .daily-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hourly-scroll {
    grid-template-columns: repeat(12, 118px);
  }
}

@media (max-width: 640px) {
  .daily-grid {
    grid-template-columns: 1fr;
  }

  .hourly-scroll {
    grid-template-columns: repeat(12, 112px);
  }

  .hour-card {
    min-height: 150px;
  }
}


/* Step 1C fixes: bigger current data, no card text overflow, clickable alerts */
.current-conditions {
  grid-template-columns: minmax(0, 1.28fr) minmax(390px, .95fr);
  gap: 28px;
  padding: 30px 32px;
}

.current-temp {
  font-size: clamp(6.1rem, 11vw, 9.2rem);
}

.current-icon {
  font-size: clamp(5.5rem, 7vw, 7rem);
}

.current-primary h1 {
  font-size: clamp(2.35rem, 4.2vw, 3.55rem);
}

.current-insight {
  font-size: 1.15rem;
  line-height: 1.38;
}

.weather-snapshot {
  padding: 16px 18px;
}

.weather-snapshot ul {
  font-size: .96rem;
}

.current-metric {
  min-height: 82px;
  padding: 15px 16px;
}

.current-metric strong {
  font-size: 1.28rem;
}

.observation-note {
  font-size: .78rem;
}

/* Outdoor matrix: prevent score badges/text from running outside cards */
.outdoor-grid {
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  align-items: stretch;
}

.outdoor-card {
  min-width: 0;
  overflow: hidden;
}

.outdoor-card-button {
  min-height: 178px;
  grid-template-columns: 34px minmax(0, 1fr) 74px;
  gap: 13px;
  padding: 20px 18px;
  overflow: hidden;
}

.outdoor-card-button > span:not(.outdoor-icon) {
  min-width: 0;
  overflow-wrap: anywhere;
}

.outdoor-card strong {
  font-size: 1.02rem;
  line-height: .98;
  overflow-wrap: anywhere;
}

.outdoor-card small {
  font-size: .80rem;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.outdoor-card b {
  width: 64px;
  min-width: 64px;
  padding: 10px 6px;
  font-size: 1.55rem;
  overflow: hidden;
}

.outdoor-card b small {
  font-size: .55rem;
  white-space: normal;
  line-height: 1.05;
}

/* 7-day forecast: allow long condition names to wrap cleanly */
.daily-grid {
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  align-items: stretch;
}

.day-card {
  min-width: 0;
  min-height: 185px;
  overflow: hidden;
}

.day-card strong {
  font-size: clamp(.98rem, 1.25vw, 1.12rem);
  line-height: 1.02;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

.day-card .day-temps {
  font-size: clamp(1.65rem, 2vw, 2.05rem);
  line-height: 1;
}

.day-card small {
  overflow-wrap: anywhere;
}

/* Clickable/expandable NWS alerts */
.alerts-list details.alert-item {
  cursor: pointer;
}

.alert-summary {
  list-style: none;
  display: block;
}

.alert-summary::-webkit-details-marker {
  display: none;
}

.alert-summary h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.alert-summary h3::after {
  content: "READ ALERT";
  background: var(--navy);
  color: white;
  padding: 6px 9px;
  font-size: .62rem;
  line-height: 1;
  white-space: nowrap;
}

details[open] .alert-summary h3::after {
  content: "CLOSE";
  background: var(--orange);
}

.alert-full-text {
  margin-top: 14px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  color: var(--text);
  line-height: 1.45;
  white-space: pre-wrap;
}

.alert-full-text strong {
  display: block;
  margin: 12px 0 4px;
  color: var(--orange);
  text-transform: uppercase;
  font-size: .75rem;
}

.alert-areas {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.35;
}

/* Radar iframe page polish */
.radar-frame-wrap {
  min-height: 820px;
}

.radar-frame {
  height: min(84vh, 920px);
  min-height: 760px;
}

@media (max-width: 980px) {
  .current-conditions {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .current-temp {
    font-size: clamp(5.25rem, 18vw, 7.4rem);
  }

  .current-icon {
    font-size: clamp(4.8rem, 13vw, 6.3rem);
  }

  .outdoor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .daily-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .radar-frame {
    min-height: 640px;
  }
}

@media (max-width: 640px) {
  .current-conditions {
    padding: 18px;
  }

  .current-temp-row {
    gap: 8px;
  }

  .current-temp {
    font-size: clamp(4.6rem, 22vw, 6.2rem);
  }

  .current-icon {
    font-size: clamp(4rem, 18vw, 5.2rem);
  }

  .current-primary h1 {
    font-size: 2.2rem;
  }

  .outdoor-grid,
  .daily-grid {
    grid-template-columns: 1fr;
  }

  .outdoor-card-button {
    grid-template-columns: 34px minmax(0, 1fr) 68px;
    min-height: 145px;
  }

  .radar-frame {
    min-height: 540px;
    height: 68vh;
  }

  .alert-summary h3 {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* Step 1D: cleaner Outdoor Matrix and 7-day forecast cards */

/* Outdoor cards: bigger, readable, no squeezed words */
.outdoor-section {
  margin-top: 8px;
}

.outdoor-grid {
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr)) !important;
  gap: 16px !important;
}

.outdoor-card {
  min-height: 0;
  overflow: visible;
}

.outdoor-card-button {
  position: relative;
  display: block !important;
  width: 100%;
  min-height: 178px;
  padding: 22px 92px 20px 22px !important;
  text-align: left;
  overflow: hidden;
}

.outdoor-card-button .outdoor-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-right: 10px;
  font-size: 1.55rem;
  vertical-align: top;
}

.outdoor-card-button > span:not(.outdoor-icon) {
  display: inline-block;
  width: calc(100% - 48px);
  min-width: 0;
  vertical-align: top;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.outdoor-card strong {
  display: block;
  font-size: 1.18rem !important;
  line-height: 1.02 !important;
  letter-spacing: .01em;
  margin: 0 0 9px;
  white-space: normal;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.outdoor-card small {
  display: block;
  max-width: 95%;
  font-size: .92rem !important;
  line-height: 1.22 !important;
  color: var(--muted);
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.outdoor-card b {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 68px !important;
  min-width: 68px !important;
  min-height: 68px;
  padding: 8px 6px !important;
  background: var(--navy);
  color: white;
  font-size: 1.65rem !important;
  line-height: .95;
  text-align: center;
}

.outdoor-card b small {
  display: block;
  max-width: none;
  color: white;
  font-size: .57rem !important;
  line-height: 1.05 !important;
  margin-top: 2px;
  text-align: center;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

/* 7-day section: make it feel like a clean professional forecast strip */
.daily-heading {
  margin-top: 30px;
}

.daily-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(145px, 1fr)) !important;
  gap: 12px !important;
  align-items: stretch;
}

.day-card {
  position: relative;
  min-height: 198px;
  border: 1px solid var(--border);
  border-top: 5px solid var(--orange);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: var(--shadow);
  padding: 17px 16px 15px;
  overflow: hidden;
}

:root.dark .day-card {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
}

.day-card span {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 12px;
}

.day-card strong {
  display: block;
  min-height: 42px;
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1.25rem !important;
  line-height: 1.02 !important;
  text-transform: uppercase;
  letter-spacing: -.02em;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.day-card .day-temps {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 2rem !important;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.035em;
  white-space: nowrap;
}

:root.dark .day-card .day-temps {
  color: white;
}

.day-card small {
  display: block;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.25;
  font-weight: 900;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.day-card .day-icon {
  position: absolute;
  right: 14px;
  top: 14px;
  font-size: 1.3rem;
  opacity: .75;
}

/* Let the 7-day cards scroll on smaller desktop/tablet instead of smashing text */
.forecast-section {
  overflow: hidden;
}

.daily-grid {
  overflow: visible;
}

@media (max-width: 1200px) {
  .daily-grid {
    display: grid;
    grid-template-columns: repeat(7, 160px) !important;
    overflow-x: auto;
    padding-bottom: 10px;
  }
}

@media (max-width: 980px) {
  .outdoor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .outdoor-card-button {
    min-height: 160px;
  }

  .daily-grid {
    grid-template-columns: repeat(7, 158px) !important;
    overflow-x: auto;
  }
}

@media (max-width: 640px) {
  .outdoor-grid {
    grid-template-columns: 1fr !important;
  }

  .outdoor-card-button {
    min-height: 150px;
    padding: 20px 86px 18px 20px !important;
  }

  .outdoor-card strong {
    font-size: 1.12rem !important;
  }

  .outdoor-card small {
    font-size: .88rem !important;
  }

  .daily-grid {
    grid-template-columns: repeat(7, 155px) !important;
    overflow-x: auto;
  }

  .day-card {
    min-height: 190px;
  }
}


/* Step 1E: polished inline SVG weather icons */
.current-icon {
  display: inline-grid;
  place-items: center;
  width: clamp(88px, 9vw, 132px);
  height: clamp(88px, 9vw, 132px);
  color: var(--orange);
}

.current-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  stroke: currentColor;
  filter: drop-shadow(0 5px 0 rgba(7, 26, 51, .08));
}

.weather-svg {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.14em;
}

.weather-svg .fill-soft {
  fill: rgba(255, 127, 0, .14);
  stroke: currentColor;
}

.weather-svg .fill-cloud {
  fill: rgba(255, 255, 255, .55);
  stroke: currentColor;
}

.weather-svg .fill-navy {
  fill: rgba(7, 26, 51, .10);
  stroke: currentColor;
}

.current-metric {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.metric-icon {
  display: grid;
  place-items: center;
  color: var(--orange);
  width: 30px;
  height: 30px;
}

.metric-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.35;
}

.current-metric > div {
  min-width: 0;
}

.current-metric span:not(.metric-icon) {
  margin-bottom: 4px;
}

.hour-icon,
.day-icon,
.outdoor-icon {
  color: var(--orange);
}

.hour-icon {
  display: block;
  width: 32px;
  height: 32px;
  margin-bottom: 9px;
}

.hour-icon svg {
  width: 32px;
  height: 32px;
}

.day-card .day-icon {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 30px;
  height: 30px;
  opacity: .95;
}

.day-card .day-icon svg {
  width: 30px;
  height: 30px;
}

.outdoor-card-button .outdoor-icon {
  color: var(--orange);
  background: rgba(255, 127, 0, .09);
  border: 1px solid rgba(255, 127, 0, .22);
}

.outdoor-card-button .outdoor-icon svg {
  width: 24px;
  height: 24px;
}

:root.dark .weather-svg .fill-cloud {
  fill: rgba(255, 255, 255, .12);
}

:root.dark .weather-svg .fill-navy {
  fill: rgba(255, 255, 255, .08);
}

@media (max-width: 640px) {
  .current-icon {
    width: clamp(72px, 18vw, 96px);
    height: clamp(72px, 18vw, 96px);
  }

  .current-metric {
    grid-template-columns: 32px minmax(0, 1fr);
  }
}


/* Step 1F: Outdoor Matrix single-row clean cards */
.outdoor-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-items: stretch;
}

.outdoor-card {
  overflow: hidden;
}

.outdoor-card-button {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: 12px;
  row-gap: 6px;
  min-height: 185px;
  padding: 18px 18px 16px !important;
  position: relative;
}

.outdoor-card-button .outdoor-icon {
  grid-column: 1;
  grid-row: 1;
  width: 34px;
  height: 34px;
  margin: 0;
}

.outdoor-card-button > span:not(.outdoor-icon) {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: block;
  width: 100%;
  min-width: 0;
}

.outdoor-card strong {
  font-size: clamp(.95rem, 1.05vw, 1.08rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.01em;
  white-space: nowrap;
  margin-bottom: 8px;
}

.outdoor-card small {
  font-size: clamp(.78rem, .88vw, .9rem) !important;
  line-height: 1.22 !important;
  max-width: none;
  white-space: normal;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.outdoor-card b {
  position: static !important;
  transform: none !important;
  grid-column: 1 / -1;
  grid-row: 3;
  display: flex !important;
  align-items: baseline;
  justify-content: flex-start;
  gap: 8px;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 10px 0 0 !important;
  margin-top: 8px;
  border-top: 1px solid var(--border);
  background: transparent !important;
  color: var(--orange) !important;
  font-size: 2.15rem !important;
  line-height: .9;
  text-align: left;
}

.outdoor-card b small {
  color: var(--navy) !important;
  font-size: .68rem !important;
  line-height: 1 !important;
  letter-spacing: .04em;
  white-space: nowrap;
  text-transform: uppercase;
  font-weight: 950;
  margin: 0;
}

:root.dark .outdoor-card b small {
  color: #ffffff !important;
}

.score-good b,
.score-excellent b,
.score-manageable b,
.score-poor b {
  background: transparent !important;
}

.score-excellent b { color: var(--orange) !important; }
.score-good b { color: #16824b !important; }
.score-manageable b { color: #b56f00 !important; }
.score-poor b { color: #b8292e !important; }

@media (max-width: 1200px) {
  .outdoor-grid {
    grid-template-columns: repeat(5, minmax(185px, 1fr)) !important;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .outdoor-card {
    min-width: 185px;
  }
}

@media (max-width: 980px) {
  .outdoor-grid {
    grid-template-columns: repeat(5, 210px) !important;
    overflow-x: auto;
  }
}

@media (max-width: 640px) {
  .outdoor-grid {
    grid-template-columns: repeat(5, 210px) !important;
    overflow-x: auto;
  }

  .outdoor-card-button {
    min-height: 175px;
    padding: 16px !important;
  }

  .outdoor-card strong {
    font-size: 1rem !important;
  }

  .outdoor-card small {
    font-size: .82rem !important;
  }
}


/* Step 1G: Cleaner hourly and 7-day forecast readability */
.hourly-scroll-wrap {
  padding: 12px;
  background: var(--panel);
}

.hourly-scroll {
  grid-template-columns: repeat(12, 154px) !important;
  gap: 10px !important;
}

.hour-card {
  position: relative;
  min-height: 190px !important;
  padding: 15px 14px !important;
  border-top: 4px solid var(--navy);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  overflow: hidden;
}

:root.dark .hour-card {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
}

.hour-card span:first-child {
  font-size: .78rem;
  letter-spacing: .02em;
  margin-bottom: 9px;
}

.hour-icon {
  width: 34px !important;
  height: 34px !important;
  margin-bottom: 8px !important;
  color: #6b7c93;
}

.hour-icon svg {
  width: 34px !important;
  height: 34px !important;
}

.hour-card strong {
  font-size: 2.25rem !important;
  line-height: .95;
  margin-bottom: 7px;
}

.hour-card > small {
  min-height: 34px;
  color: var(--text);
  font-size: .9rem;
  line-height: 1.08;
  font-weight: 950;
  text-transform: uppercase;
  overflow-wrap: normal;
}

.hour-details {
  margin-top: 10px !important;
  padding-top: 9px !important;
  gap: 5px !important;
  font-size: .82rem !important;
  line-height: 1.15;
  text-transform: uppercase;
}

.hour-details span {
  display: block;
  margin: 0 !important;
  color: var(--muted);
  font-size: .82rem !important;
  font-weight: 950;
  white-space: nowrap;
}

/* Cleaner daily row */
.daily-grid {
  grid-template-columns: repeat(7, minmax(162px, 1fr)) !important;
  gap: 12px !important;
}

.day-card {
  min-height: 206px !important;
  padding: 17px 16px 15px !important;
  border-top: 5px solid var(--orange);
}

.day-card strong {
  min-height: 46px !important;
  font-size: 1.18rem !important;
  line-height: 1.02 !important;
  margin-bottom: 12px !important;
}

.day-card .day-temps {
  font-size: 2.15rem !important;
  line-height: .95 !important;
  white-space: nowrap;
  margin-bottom: 10px !important;
}

.day-card .day-meta {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.15;
  font-weight: 950;
}

.day-card .day-meta span {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.15;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
}

.day-card .day-icon {
  color: #6b7c93;
}

@media (max-width: 1200px) {
  .hourly-scroll {
    grid-template-columns: repeat(12, 150px) !important;
  }

  .daily-grid {
    grid-template-columns: repeat(7, 170px) !important;
    overflow-x: auto;
    padding-bottom: 10px;
  }
}

@media (max-width: 640px) {
  .hourly-scroll {
    grid-template-columns: repeat(12, 146px) !important;
  }

  .hour-card {
    min-height: 184px !important;
  }

  .daily-grid {
    grid-template-columns: repeat(7, 168px) !important;
  }

  .day-card {
    min-height: 200px !important;
  }
}


/* Step 1H: keep all 7 daily forecast tiles inside the page on desktop */
.daily-grid {
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  gap: 10px !important;
  overflow: visible !important;
  padding-bottom: 0 !important;
}

.day-card {
  min-width: 0 !important;
  padding: 15px 14px 14px !important;
}

.day-card span {
  font-size: .72rem !important;
}

.day-card strong {
  font-size: clamp(.96rem, 1.25vw, 1.12rem) !important;
  min-height: 42px !important;
}

.day-card .day-temps {
  font-size: clamp(1.55rem, 2.2vw, 2rem) !important;
  white-space: nowrap;
}

.day-card .day-meta {
  font-size: .84rem !important;
}

.day-card .day-meta span {
  font-size: .84rem !important;
  white-space: nowrap;
}

.day-card .day-icon {
  width: 26px !important;
  height: 26px !important;
  right: 10px !important;
}

.day-card .day-icon svg {
  width: 26px !important;
  height: 26px !important;
}

/* Only scroll the 7-day row on smaller screens where 7 cards cannot fit cleanly */
@media (max-width: 900px) {
  .daily-grid {
    grid-template-columns: repeat(7, 158px) !important;
    overflow-x: auto !important;
    padding-bottom: 10px !important;
  }
}

@media (max-width: 640px) {
  .daily-grid {
    grid-template-columns: repeat(7, 155px) !important;
  }
}


/* Step 1I: bring hourly/daily forecast colors back into VOL Weather branding */
.hour-card {
  border-top: 5px solid var(--orange) !important;
  background:
    linear-gradient(180deg, rgba(255, 127, 0, .035), rgba(255,255,255,0) 42%),
    linear-gradient(180deg, #ffffff, #f8fafc) !important;
}

:root.dark .hour-card {
  background:
    linear-gradient(180deg, rgba(255, 127, 0, .08), rgba(255,255,255,0) 44%),
    linear-gradient(180deg, var(--panel), var(--panel-2)) !important;
}

.hour-icon,
.day-card .day-icon {
  color: var(--orange) !important;
}

.hour-card span:first-child,
.day-card span:first-child {
  color: var(--muted) !important;
}

.hour-card > small,
.day-card strong {
  color: var(--navy) !important;
}

:root.dark .hour-card > small,
:root.dark .day-card strong {
  color: #ffffff !important;
}

.hour-details {
  border-top: 1px solid rgba(255, 127, 0, .32) !important;
}

.hour-details span,
.day-card .day-meta span {
  color: #5f718a !important;
}

:root.dark .hour-details span,
:root.dark .day-card .day-meta span {
  color: #c6d2e4 !important;
}

.day-card {
  border-top: 5px solid var(--orange) !important;
  background:
    linear-gradient(180deg, rgba(255, 127, 0, .035), rgba(255,255,255,0) 42%),
    linear-gradient(180deg, #ffffff, #f8fafc) !important;
}

:root.dark .day-card {
  background:
    linear-gradient(180deg, rgba(255, 127, 0, .08), rgba(255,255,255,0) 44%),
    linear-gradient(180deg, var(--panel), var(--panel-2)) !important;
}

.day-card .day-temps {
  color: var(--navy) !important;
}

:root.dark .day-card .day-temps {
  color: #ffffff !important;
}

/* Make the section divider/top feel intentional with orange accents */
.forecast-heading {
  border-bottom: 1px solid rgba(7, 26, 51, .15) !important;
}

.forecast-heading .eyebrow {
  color: var(--orange) !important;
}

.hourly-scroll-wrap {
  border-top: 1px solid rgba(255, 127, 0, .22) !important;
}

/* Keep weather SVGs in the brand palette */
.hour-icon .weather-svg,
.day-icon .weather-svg {
  stroke: currentColor;
}

.hour-icon .weather-svg .fill-cloud,
.day-icon .weather-svg .fill-cloud {
  fill: rgba(255, 127, 0, .10);
  stroke: currentColor;
}

.hour-icon .weather-svg .fill-soft,
.day-icon .weather-svg .fill-soft {
  fill: rgba(255, 127, 0, .16);
  stroke: currentColor;
}


/* Step 3A: Custom MapLibre radar engine */
.radar-engine-page .main {
  width: min(1380px, calc(100% - 28px));
}

.radar-page-title {
  margin: 12px 0 20px;
}

.radar-page-title h1 {
  margin: 0 0 8px;
  font-size: clamp(3.2rem, 6vw, 5.6rem);
  line-height: .88;
  letter-spacing: -.07em;
  text-transform: uppercase;
}

.radar-engine-panel {
  background: var(--navy);
  color: white;
  border: 1px solid var(--border-dark);
  border-top: 5px solid var(--orange);
  box-shadow: 0 20px 45px rgba(7, 26, 51, .20);
  padding: 14px;
}

.radar-engine-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 18px;
  align-items: end;
  padding: 4px 2px 14px;
}

.radar-engine-top h2 {
  margin: 0 0 6px;
  color: white;
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  line-height: 1;
  text-transform: uppercase;
}

.radar-engine-top p {
  margin: 0;
  color: #d7e3f1;
  font-weight: 850;
}

.radar-search label {
  display: block;
  color: #d8e4f1;
  text-transform: uppercase;
  font-size: .68rem;
  font-weight: 950;
  margin-bottom: 8px;
}

.radar-search div {
  display: flex;
  gap: 8px;
}

.radar-search input {
  background: #07111f;
  color: white;
  border-color: #314960;
}

.radar-search button,
.radar-map-actions button,
.radar-console-web button,
.radar-console-web select {
  border: 1px solid #314960;
  background: #0a1729;
  color: white;
  min-height: 38px;
  padding: 9px 12px;
  text-transform: uppercase;
  font-size: .74rem;
  font-weight: 950;
  cursor: pointer;
}

.radar-search button,
.radar-console-web button.active,
.radar-console-web .play-button,
.radar-map-actions button:hover,
.radar-console-web button:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.radar-map-shell {
  position: relative;
  border: 1px solid #314960;
  background: #101820;
  min-height: 760px;
  overflow: hidden;
}

#radarMap {
  position: absolute;
  inset: 0;
  background: #101820;
}

.maplibregl-ctrl-top-right {
  top: 84px;
}

.maplibregl-ctrl-attrib {
  background: rgba(7, 17, 31, .72) !important;
  color: #d7e3f1 !important;
}

.radar-time-bubble {
  position: absolute;
  z-index: 4;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  min-width: min(410px, calc(100% - 40px));
  padding: 13px 22px;
  background: rgba(7, 26, 51, .88);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 18px 34px rgba(0,0,0,.25);
  text-align: center;
  pointer-events: none;
}

.radar-time-bubble strong {
  display: block;
  color: var(--orange);
  text-transform: uppercase;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: .04em;
}

.radar-time-bubble span {
  display: block;
  margin-top: 5px;
  color: #f5f8fc;
  font-weight: 900;
  font-size: .86rem;
}

.radar-map-actions {
  position: absolute;
  z-index: 4;
  top: 18px;
  left: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 330px;
}

.radar-legend-custom {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 18px;
  width: min(430px, calc(100% - 36px));
  padding: 10px;
  background: rgba(7, 26, 51, .88);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 14px 30px rgba(0,0,0,.25);
}

.radar-legend-gradient {
  height: 16px;
  border: 1px solid rgba(255,255,255,.20);
}

.legend-ticks {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  color: #e8eff8;
  font-size: .7rem;
  font-weight: 900;
}

.radar-console-web {
  display: grid;
  grid-template-columns: auto auto minmax(230px, 1fr) 200px 150px;
  gap: 10px;
  align-items: center;
  background: #0a1729;
  border: 1px solid #314960;
  border-top: 0;
  padding: 12px;
}

.radar-product-buttons,
.radar-playback {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.radar-slider-wrap {
  display: grid;
  gap: 6px;
  color: #d8e4f1;
  text-transform: uppercase;
  font-size: .7rem;
  font-weight: 950;
}

.radar-slider-wrap input[type="range"] {
  accent-color: var(--orange);
  width: 100%;
}

.radar-slider-wrap select {
  width: 100%;
}

.radar-footnotes {
  display: grid;
  gap: 5px;
  border: 1px solid #314960;
  border-top: 0;
  background: #07111f;
  padding: 12px;
  color: #d7e3f1;
  font-size: .82rem;
  line-height: 1.35;
}

.radar-footnotes p {
  margin: 0;
}

.radar-footnotes strong {
  color: var(--orange);
}

.radar-map-shell:fullscreen {
  min-height: 100vh;
}

.radar-map-shell:fullscreen #radarMap {
  position: absolute;
}

@media (max-width: 1100px) {
  .radar-engine-top {
    grid-template-columns: 1fr;
  }

  .radar-console-web {
    grid-template-columns: 1fr 1fr;
  }

  .radar-slider-wrap {
    grid-column: 1 / -1;
  }

  .radar-map-shell {
    min-height: 680px;
  }
}

@media (max-width: 720px) {
  .radar-engine-page .main {
    width: min(100% - 16px, 1380px);
  }

  .radar-engine-panel {
    padding: 9px;
  }

  .radar-page-title h1 {
    font-size: 3rem;
  }

  .radar-search div {
    flex-direction: column;
  }

  .radar-map-shell {
    min-height: 600px;
  }

  .radar-map-actions {
    top: auto;
    bottom: 92px;
    left: 10px;
    right: 10px;
    max-width: none;
  }

  .radar-map-actions button {
    flex: 1 1 auto;
  }

  .radar-time-bubble {
    top: 10px;
    padding: 10px 14px;
  }

  .radar-time-bubble strong {
    font-size: 1.05rem;
  }

  .radar-legend-custom {
    right: 10px;
    left: 10px;
    bottom: 10px;
    width: auto;
  }

  .radar-console-web {
    grid-template-columns: 1fr;
  }
}


/* Step 3C radar map visual fixes */
.radar-map-shell {
  background: #d9dee5 !important;
}

#radarMap {
  background: #d9dee5 !important;
}

.radar-engine-panel {
  background: #071a33;
}

.radar-time-bubble {
  background: rgba(255, 255, 255, .92) !important;
  border: 1px solid rgba(7,26,51,.20) !important;
  color: var(--navy);
}

.radar-time-bubble strong {
  color: var(--orange) !important;
}

.radar-time-bubble span {
  color: var(--navy) !important;
}

.radar-map-actions button {
  background: rgba(255,255,255,.92) !important;
  color: var(--navy) !important;
  border: 1px solid rgba(7,26,51,.18) !important;
}

.radar-map-actions button:hover {
  background: var(--orange) !important;
  color: white !important;
}

.radar-legend-custom {
  background: rgba(255,255,255,.92) !important;
  border: 1px solid rgba(7,26,51,.18) !important;
}

.legend-ticks {
  color: var(--navy) !important;
}

.maplibregl-ctrl-group {
  background: rgba(255,255,255,.90) !important;
  box-shadow: 0 7px 20px rgba(7,26,51,.16) !important;
}

.maplibregl-ctrl-group button {
  background-color: rgba(255,255,255,.94) !important;
}

.maplibregl-ctrl-attrib,
.maplibregl-ctrl-scale {
  background: rgba(255,255,255,.82) !important;
  color: #111 !important;
  border-color: rgba(0,0,0,.12) !important;
}

.radar-footnotes strong {
  color: var(--orange);
}


/* Step 3D: final radar visibility fixes */
.radar-map-shell {
  min-height: 790px !important;
}

#radarMap canvas {
  outline: none;
}

/* Make light map city labels and local shapefile lines readable */
.maplibregl-map {
  font-family: Inter, Arial, Helvetica, sans-serif;
}

/* Controls stay readable on light-gray map */
.radar-time-bubble,
.radar-map-actions button,
.radar-legend-custom {
  backdrop-filter: blur(8px);
}

/* Slightly lower radar opacity default look so state/county outlines and labels stand out */
.radar-console-web {
  border-top: 1px solid #314960;
}


/* Step 3E boundary + smooth loop update */
.radar-map-shell {
  background: #d9dee5 !important;
}

#radarMap {
  background: #d9dee5 !important;
}

/* Better contrast for outlines/city labels over radar */
.radar-time-bubble {
  background: rgba(255, 255, 255, .94) !important;
  border: 1px solid rgba(7,26,51,.22) !important;
  color: var(--navy);
  backdrop-filter: blur(8px);
}

.radar-time-bubble strong {
  color: var(--orange) !important;
}

.radar-time-bubble span {
  color: var(--navy) !important;
}

.radar-map-actions button {
  background: rgba(255,255,255,.92) !important;
  color: var(--navy) !important;
  border: 1px solid rgba(7,26,51,.18) !important;
}

.radar-map-actions button:hover {
  background: var(--orange) !important;
  color: white !important;
}

.radar-legend-custom {
  background: rgba(255,255,255,.94) !important;
  border: 1px solid rgba(7,26,51,.18) !important;
  backdrop-filter: blur(8px);
}

.legend-ticks {
  color: var(--navy) !important;
}

.maplibregl-ctrl-group {
  background: rgba(255,255,255,.92) !important;
  box-shadow: 0 7px 20px rgba(7,26,51,.16) !important;
}

.maplibregl-ctrl-group button {
  background-color: rgba(255,255,255,.94) !important;
}

.maplibregl-ctrl-attrib,
.maplibregl-ctrl-scale {
  background: rgba(255,255,255,.84) !important;
  color: #111 !important;
  border-color: rgba(0,0,0,.12) !important;
}


/* Step 3F: smoother precise boundary layer */
.radar-map-shell {
  background: #e1e4e8 !important;
}

#radarMap {
  background: #e1e4e8 !important;
}


/* Step 3H: guaranteed black HTML city labels above radar */
.vol-city-marker {
  position: absolute;
  z-index: 5;
  transform: translate(-50%, -50%);
  color: #000000;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.015em;
  text-transform: none;
  white-space: nowrap;
  pointer-events: none;
  text-align: center;
  text-shadow:
    -2px -2px 0 #ffffff,
     0   -2px 0 #ffffff,
     2px -2px 0 #ffffff,
    -2px  0   0 #ffffff,
     2px  0   0 #ffffff,
    -2px  2px 0 #ffffff,
     0    2px 0 #ffffff,
     2px  2px 0 #ffffff,
     0    3px 8px rgba(0,0,0,.25);
}

.vol-city-marker.major {
  font-size: 21px;
  letter-spacing: -.025em;
}

.vol-city-marker.medium {
  font-size: 17px;
}

.vol-city-marker.small {
  font-size: 13px;
  font-weight: 850;
}

@media (max-width: 700px) {
  .vol-city-marker.major { font-size: 18px; }
  .vol-city-marker.medium { font-size: 15px; }
  .vol-city-marker.small { font-size: 12px; }
}


/* Step 3I: final black city-label override */
.maplibregl-marker.vol-city-marker-wrap {
  z-index: 50 !important;
  pointer-events: none !important;
}

.vol-city-marker-wrap {
  pointer-events: none !important;
}

.vol-city-label {
  color: #000000 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  letter-spacing: -.018em !important;
  white-space: nowrap !important;
  text-align: center !important;
  pointer-events: none !important;
  opacity: 1 !important;
  text-transform: none !important;
  text-shadow:
    -3px -3px 0 #ffffff,
    -2px -3px 0 #ffffff,
     0   -3px 0 #ffffff,
     2px -3px 0 #ffffff,
     3px -3px 0 #ffffff,
    -3px -2px 0 #ffffff,
     3px -2px 0 #ffffff,
    -3px  0   0 #ffffff,
     3px  0   0 #ffffff,
    -3px  2px 0 #ffffff,
     3px  2px 0 #ffffff,
    -3px  3px 0 #ffffff,
    -2px  3px 0 #ffffff,
     0    3px 0 #ffffff,
     2px  3px 0 #ffffff,
     3px  3px 0 #ffffff,
     0    4px 10px rgba(0,0,0,.35) !important;
}

.vol-city-label.major {
  font-size: 24px !important;
}

.vol-city-label.medium {
  font-size: 19px !important;
}

.vol-city-label.small {
  font-size: 15px !important;
  font-weight: 900 !important;
}

/* Hide the raster basemap labels completely. They were the gray city names. */
#radarMap .maplibregl-canvas {
  z-index: 1;
}

@media (max-width: 700px) {
  .vol-city-label.major { font-size: 20px !important; }
  .vol-city-label.medium { font-size: 17px !important; }
  .vol-city-label.small { font-size: 13px !important; }
}


/* Step 3J: professional radar label and boundary styling */
.vol-city-marker,
.vol-city-marker-wrap,
.vol-city-label {
  display: none !important;
}

/* Cleaner top status pill over the map */
.radar-time-bubble {
  min-width: min(330px, calc(100% - 40px)) !important;
  padding: 10px 18px !important;
  background: rgba(255, 255, 255, .90) !important;
  border: 1px solid rgba(7,26,51,.18) !important;
  box-shadow: 0 10px 24px rgba(7,26,51,.16) !important;
}

.radar-time-bubble strong {
  font-size: 1.05rem !important;
  letter-spacing: .03em !important;
}

.radar-time-bubble span {
  font-size: .76rem !important;
}

/* Reduce the heavy sticker-label feel from previous versions */
.radar-map-actions button,
.radar-legend-custom {
  box-shadow: 0 8px 20px rgba(7,26,51,.12) !important;
}

.radar-map-actions {
  gap: 6px !important;
}

.radar-map-actions button {
  min-height: 34px !important;
  padding: 7px 10px !important;
  font-size: .68rem !important;
}


/* Step 3K: restore radar after malformed label layer */
.vol-city-marker,
.vol-city-marker-wrap,
.vol-city-label {
  display: none !important;
}

.radar-time-bubble {
  min-width: min(330px, calc(100% - 40px)) !important;
  padding: 10px 18px !important;
  background: rgba(255, 255, 255, .90) !important;
  border: 1px solid rgba(7,26,51,.18) !important;
  box-shadow: 0 10px 24px rgba(7,26,51,.16) !important;
}

.radar-time-bubble strong {
  font-size: 1.05rem !important;
  letter-spacing: .03em !important;
}

.radar-time-bubble span {
  font-size: .76rem !important;
}

.radar-map-actions button,
.radar-legend-custom {
  box-shadow: 0 8px 20px rgba(7,26,51,.12) !important;
}


/* Step 3L: professional Weather-Front style radar map */
.radar-map-shell {
  background: #33404d !important;
}

#radarMap {
  background: #33404d !important;
}

/* Softer, pro-looking map controls */
.radar-time-bubble {
  min-width: min(340px, calc(100% - 40px)) !important;
  padding: 10px 18px !important;
  background: rgba(255, 255, 255, .90) !important;
  border: 1px solid rgba(7,26,51,.20) !important;
  box-shadow: 0 12px 26px rgba(0,0,0,.20) !important;
}

.radar-time-bubble strong {
  color: var(--orange) !important;
  font-size: 1.08rem !important;
}

.radar-time-bubble span {
  color: var(--navy) !important;
  font-size: .76rem !important;
}

/* Professional city labels: controlled, not crowded */
.radar-city-label {
  color: #f1f4f8 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: -.01em !important;
  white-space: nowrap !important;
  pointer-events: none !important;
  text-align: center !important;
  text-shadow:
    -1px -1px 0 rgba(0,0,0,.85),
     1px -1px 0 rgba(0,0,0,.85),
    -1px  1px 0 rgba(0,0,0,.85),
     1px  1px 0 rgba(0,0,0,.85),
     0    2px 5px rgba(0,0,0,.65) !important;
}

.radar-city-label.major {
  font-size: 22px !important;
  font-weight: 800 !important;
}

.radar-city-label.medium {
  font-size: 16px !important;
}

.radar-city-label.small {
  font-size: 12px !important;
  font-weight: 700 !important;
}

/* Remove previous label experiments */
.vol-city-marker,
.vol-city-marker-wrap,
.vol-city-label {
  display: none !important;
}

/* Legend and buttons should not dominate the map */
.radar-map-actions button,
.radar-legend-custom {
  background: rgba(255,255,255,.90) !important;
  color: var(--navy) !important;
  border: 1px solid rgba(7,26,51,.18) !important;
  box-shadow: 0 8px 20px rgba(0,0,0,.16) !important;
  backdrop-filter: blur(8px);
}

.radar-map-actions button:hover {
  background: var(--orange) !important;
  color: white !important;
}

.legend-ticks {
  color: var(--navy) !important;
}

.maplibregl-ctrl-group {
  background: rgba(255,255,255,.90) !important;
  box-shadow: 0 7px 20px rgba(0,0,0,.18) !important;
}

.maplibregl-ctrl-attrib,
.maplibregl-ctrl-scale {
  background: rgba(255,255,255,.82) !important;
  color: #111 !important;
}

/* hide earlier HTML marker experimental classes if any remain */
.maplibregl-marker.vol-city-marker-wrap {
  display: none !important;
}

@media (max-width: 700px) {
  .radar-city-label.major { font-size: 19px !important; }
  .radar-city-label.medium { font-size: 14px !important; }
  .radar-city-label.small { font-size: 11px !important; }
}


/* Step 3M: dependable city labels + final radar smoothing pass */
.radar-city-label,
.vol-city-marker,
.vol-city-marker-wrap,
.vol-city-label {
  display: none !important;
}

/* Let the professional raster labels do the work */
.radar-map-shell {
  background: #2d3540 !important;
}

#radarMap {
  background: #2d3540 !important;
}

.radar-time-bubble {
  background: rgba(255,255,255,.92) !important;
  border: 1px solid rgba(7,26,51,.18) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.18) !important;
}

.radar-time-bubble strong {
  color: var(--orange) !important;
}

.radar-time-bubble span {
  color: var(--navy) !important;
}


/* Step 3N: smoother radar frame transition */
.radar-map-shell {
  background: #2d3540 !important;
}

#radarMap {
  background: #2d3540 !important;
}

.radar-time-bubble {
  backdrop-filter: blur(8px);
}

/* Keep labels crisp while radar underneath crossfades */
.maplibregl-marker,
.radar-city-label {
  will-change: transform;
}


/* Step 4A: NWS/SPC/WPC overlay menu and alert styling */
.radar-layer-menu {
  position: absolute;
  z-index: 5;
  top: 18px;
  right: 58px;
}

.layer-menu-toggle {
  border: 1px solid rgba(7,26,51,.18);
  background: rgba(255,255,255,.92);
  color: var(--navy);
  min-height: 34px;
  padding: 7px 11px;
  text-transform: uppercase;
  font-size: .68rem;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,.16);
}

.layer-menu-panel {
  display: none;
  position: absolute;
  right: 0;
  top: 40px;
  min-width: 265px;
  padding: 12px;
  background: rgba(255,255,255,.96);
  color: var(--navy);
  border: 1px solid rgba(7,26,51,.20);
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
}

.layer-menu-panel.open {
  display: grid;
  gap: 9px;
}

.layer-menu-panel strong {
  display: block;
  color: var(--orange);
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 950;
  border-bottom: 1px solid rgba(7,26,51,.14);
  padding-bottom: 7px;
}

.layer-menu-panel label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 850;
  cursor: pointer;
}

.layer-menu-panel input {
  width: auto;
  accent-color: var(--orange);
}

.layer-menu-panel button {
  border: 0;
  background: var(--orange);
  color: white;
  min-height: 34px;
  padding: 7px 10px;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 950;
  cursor: pointer;
}

.radar-popup {
  color: #06152c;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.radar-popup strong {
  display: block;
  color: #06152c;
  font-size: 1rem;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.radar-popup p {
  margin: 0 0 8px;
  color: #334155;
  font-size: .84rem;
  line-height: 1.3;
}

.radar-popup small {
  display: block;
  color: #475569;
  font-size: .76rem;
  line-height: 1.3;
  margin-top: 5px;
}

@media (max-width: 820px) {
  .radar-layer-menu {
    top: auto;
    right: 10px;
    bottom: 146px;
  }

  .layer-menu-panel {
    right: 0;
    bottom: 40px;
    top: auto;
  }
}


/* Step 4B: NWS zone geometry plotting improvement */
.layer-menu-panel small {
  display: block;
  color: #64748b;
  font-size: .72rem;
  line-height: 1.25;
}


/* Step 4C: make NWS alert outlines easier to see */
.layer-menu-panel button + button {
  margin-top: -2px;
}

.maplibregl-popup-content {
  border-radius: 0;
  box-shadow: 0 16px 34px rgba(0,0,0,.28);
}


/* Step 4D NWS diagnostics */
.radar-engine-top p {
  min-height: 1.2em;
}


/* Step 4E alert priority layering */
.layer-menu-panel label {
  line-height: 1.2;
}


/* Step 4F: selected/current location pin */
.user-location-marker {
  position: relative;
  width: 34px;
  height: 34px;
  pointer-events: none;
  z-index: 60;
}

.user-location-marker .pin-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: var(--orange);
  border: 3px solid #ffffff;
  box-shadow:
    0 0 0 2px rgba(7, 26, 51, .95),
    0 8px 18px rgba(0, 0, 0, .45);
}

.user-location-marker .pin-pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(255, 127, 0, .26);
  border: 1px solid rgba(255, 255, 255, .75);
  animation: volPinPulse 1.8s ease-out infinite;
}

.user-location-marker .pin-label {
  position: absolute;
  left: 50%;
  top: 32px;
  transform: translateX(-50%);
  display: block;
  max-width: 210px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, .94);
  color: var(--navy);
  border: 1px solid rgba(7, 26, 51, .22);
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes volPinPulse {
  0% {
    transform: translate(-50%, -50%) scale(.55);
    opacity: .95;
  }

  80% {
    transform: translate(-50%, -50%) scale(1.55);
    opacity: 0;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.55);
    opacity: 0;
  }
}


/* Step 5B: richer NWS alert popup */
.vol-alert-popup .maplibregl-popup-content {
  padding: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(0,0,0,.35);
}

.vol-alert-popup .maplibregl-popup-close-button {
  color: #ffffff;
  font-size: 20px;
  padding: 6px 9px;
}

.radar-popup.nws-popup {
  --alert-color: #ff8c00;
  width: min(430px, 88vw);
  max-height: min(620px, 78vh);
  overflow-y: auto;
  background: #ffffff;
  color: #06152c;
  border-top: 7px solid var(--alert-color);
}

.nws-popup-top {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  background: #06152c;
  color: #ffffff;
  padding: 14px 16px 12px;
}

.alert-color-chip {
  display: block;
  width: 12px;
  height: 100%;
  min-height: 38px;
  background: var(--alert-color);
  box-shadow: 0 0 0 2px rgba(255,255,255,.25);
}

.nws-popup-top strong {
  display: block;
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0 0 5px;
}

.nws-popup-top small {
  display: block;
  color: #d8e4f1;
  font-size: .76rem;
  line-height: 1.2;
  font-weight: 850;
  text-transform: uppercase;
}

.radar-popup .popup-section {
  padding: 13px 16px;
  border-top: 1px solid #e2e8f0;
}

.radar-popup .popup-section.headline {
  background: #fff7ed;
  border-top: 0;
  color: #06152c;
  font-weight: 900;
}

.radar-popup .popup-section.action {
  background: #f8fafc;
  border-left: 5px solid var(--alert-color);
}

.radar-popup h4 {
  margin: 0 0 7px;
  color: #ff6b00;
  font-size: .76rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.radar-popup p {
  margin: 0 0 9px;
  color: #1e293b;
  font-size: .88rem;
  line-height: 1.38;
  font-weight: 700;
}

.radar-popup p:last-child {
  margin-bottom: 0;
}

.popup-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 10px 16px;
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
  color: #334155;
  font-size: .78rem;
  line-height: 1.2;
  font-weight: 800;
}

.popup-footer {
  display: grid;
  gap: 5px;
  padding: 12px 16px 14px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.popup-footer small {
  display: block;
  color: #475569;
  font-size: .76rem;
  line-height: 1.3;
  font-weight: 750;
}


/* Step 5C weather-front inspired radar polish */
.radar-map-wrap {
  background: #3f4650;
}

.radar-viewport {
  background: #4a5058;
}

.radar-engine-card {
  box-shadow: 0 12px 30px rgba(0,0,0,.26);
}

.radar-map-actions button,
.layer-menu-toggle {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(17,24,39,.18);
  color: #0f172a;
}

.radar-map-actions button:hover,
.layer-menu-toggle:hover {
  background: #ffffff;
}

.maplibregl-ctrl-group {
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0,0,0,.20);
  border: 1px solid rgba(17,24,39,.12);
}

.maplibregl-ctrl-group button {
  width: 34px;
  height: 34px;
}


/* Step 5D: Weather Front-style custom city labels */
.wf-city-label {
  --wf-label-scale: 1;
  transform: scale(var(--wf-label-scale));
  transform-origin: center center;
  pointer-events: none;
  color: #f4f5f7;
  font-family: "Arial Narrow", "Roboto Condensed", "Arial", sans-serif;
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.018em;
  white-space: nowrap;
  text-align: center;
  opacity: .96;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  text-shadow:
    -1.6px -1.6px 0 rgba(0,0,0,.95),
     0    -1.8px 0 rgba(0,0,0,.95),
     1.6px -1.6px 0 rgba(0,0,0,.95),
    -1.8px  0    0 rgba(0,0,0,.95),
     1.8px  0    0 rgba(0,0,0,.95),
    -1.6px  1.6px 0 rgba(0,0,0,.95),
     0     1.8px 0 rgba(0,0,0,.95),
     1.6px  1.6px 0 rgba(0,0,0,.95),
     0      3px  7px rgba(0,0,0,.70);
}

.wf-city-label.major {
  font-size: 25px;
  font-weight: 850;
  letter-spacing: -.026em;
}

.wf-city-label.medium {
  font-size: 18px;
  font-weight: 800;
}

.wf-city-label.small {
  font-size: 14px;
  font-weight: 760;
  opacity: .92;
}

/* Hide earlier custom label experiments */
.radar-city-label,
.vol-city-marker,
.vol-city-marker-wrap,
.vol-city-label {
  display: none !important;
}

/* Keep the faint raster labels from competing with the Weather Front style labels */
#radarMap .maplibregl-marker {
  z-index: 45;
}

/* Slightly deepen the basemap so white labels feel closer to the sample */
.radar-map-shell,
#radarMap {
  background: #4b4f55 !important;
}

@media (max-width: 700px) {
  .wf-city-label.major { font-size: 21px; }
  .wf-city-label.medium { font-size: 16px; }
  .wf-city-label.small { font-size: 12px; }
}


/* Step 5F: restored radar with alert click hit layers */
.layer-menu-panel small {
  display: block;
  margin-top: 2px;
}


/* Step 5G: collision-managed Weather Front city labels */
.radar-city-label,
.vol-city-marker,
.vol-city-marker-wrap,
.vol-city-label {
  display: none !important;
}


/* Step 5H: collision-managed HTML city labels */
.wf-city-label {
  pointer-events: none;
  color: #f6f7fb;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, Helvetica, sans-serif;
  font-weight: 850;
  line-height: .95;
  letter-spacing: -.018em;
  white-space: nowrap;
  text-align: center;
  opacity: .98;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  text-shadow:
    -1.7px -1.7px 0 rgba(0,0,0,.98),
     0    -1.9px 0 rgba(0,0,0,.98),
     1.7px -1.7px 0 rgba(0,0,0,.98),
    -1.9px  0    0 rgba(0,0,0,.98),
     1.9px  0    0 rgba(0,0,0,.98),
    -1.7px  1.7px 0 rgba(0,0,0,.98),
     0     1.9px 0 rgba(0,0,0,.98),
     1.7px  1.7px 0 rgba(0,0,0,.98),
     0      3px  8px rgba(0,0,0,.72);
}

.wf-city-label.major {
  font-size: 24px;
  font-weight: 900;
}

.wf-city-label.regional {
  font-size: 17px;
  font-weight: 850;
}

.wf-city-label.local {
  font-size: 13px;
  font-weight: 800;
  opacity: .94;
}

.maplibregl-marker:has(.wf-city-label) {
  z-index: 50;
}

/* Step 5I: denser WeatherFront-style labels + reliable alert popup layer */
#radarMap .maplibregl-popup,
.vol-alert-popup {
  z-index: 2500 !important;
}

/* City label markers must not steal clicks from NWS alert polygons. */
#radarMap .maplibregl-marker:has(.wf-city-label),
#radarMap .wf-city-label {
  pointer-events: none !important;
}

.wf-city-label.regional {
  font-size: 16px;
}

.wf-city-label.local {
  font-size: 12px;
}

@media (max-width: 700px) {
  .wf-city-label.regional { font-size: 14px; }
  .wf-city-label.local { font-size: 11px; }
}

/* Step 5J: cleaner essential NWS alert popup */
.radar-popup.nws-popup-essential {
  width: min(430px, 90vw);
  max-height: min(610px, 78vh);
}

.nws-popup-status {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #dbe3ec;
  border-top: 1px solid rgba(255,255,255,.14);
}

.nws-popup-status div {
  padding: 10px 12px;
  background: #fff7ed;
}

.nws-popup-status b,
.nws-popup-status span {
  display: block;
}

.nws-popup-status b {
  color: #9a3412;
  font-size: .68rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 4px;
}

.nws-popup-status span {
  color: #0f172a;
  font-size: .82rem;
  line-height: 1.18;
  font-weight: 900;
}

.nws-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 14px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.nws-chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #1e293b;
  font-size: .72rem;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.nws-threat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 14px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.nws-threat-card {
  min-height: 58px;
  padding: 9px 10px;
  border-left: 5px solid var(--alert-color);
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.nws-threat-card small {
  display: block;
  margin: 0 0 5px;
  color: #64748b;
  font-size: .67rem;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.nws-threat-card strong {
  display: block;
  margin: 0;
  color: #0f172a;
  font-size: .9rem;
  line-height: 1.15;
  font-weight: 950;
  text-transform: none;
}

.radar-popup .popup-section.compact {
  padding: 11px 14px;
}

.nws-fact-list {
  display: grid;
  gap: 7px;
}

.nws-fact-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding-bottom: 7px;
  border-bottom: 1px solid #e2e8f0;
}

.nws-fact-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.nws-fact-row b {
  color: #ff6b00;
  font-size: .72rem;
  line-height: 1.15;
  font-weight: 950;
  text-transform: uppercase;
}

.nws-fact-row span {
  color: #1e293b;
  font-size: .84rem;
  line-height: 1.3;
  font-weight: 800;
}

.nws-clean-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.nws-clean-list li {
  color: #1e293b;
  font-size: .86rem;
  line-height: 1.3;
  font-weight: 800;
}

@media (max-width: 520px) {
  .nws-popup-status,
  .nws-threat-grid {
    grid-template-columns: 1fr;
  }

  .nws-fact-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* Step 5K: final layer stack fix
   Keep WeatherFront-style city labels above the map/radar, but below ALL controls,
   the radar time box, the layer menu, zoom controls, color scale, and popups. */
.radar-map-shell {
  isolation: isolate;
}

#radarMap {
  z-index: 1;
}

/* City labels are map markers. Keep them visible, but never let them cover UI. */
#radarMap .maplibregl-marker.wf-city-label,
#radarMap .wf-city-label.maplibregl-marker,
#radarMap .maplibregl-marker:has(.wf-city-label) {
  z-index: 25 !important;
  pointer-events: none !important;
}

#radarMap .wf-city-label {
  pointer-events: none !important;
}

/* User pin stays above labels but still below controls. */
#radarMap .maplibregl-marker.user-location-marker,
#radarMap .user-location-marker {
  z-index: 80 !important;
}

/* Main custom UI controls must sit above city labels. */
.radar-time-bubble,
.radar-map-actions,
.radar-legend-custom {
  z-index: 1200 !important;
}

.radar-layer-menu {
  z-index: 1400 !important;
}

.layer-menu-panel,
.layer-menu-panel.open {
  z-index: 1450 !important;
}

/* Native MapLibre zoom/rotation/scale/attribution controls above labels too. */
#radarMap .maplibregl-control-container,
#radarMap .maplibregl-ctrl-top-left,
#radarMap .maplibregl-ctrl-top-right,
#radarMap .maplibregl-ctrl-bottom-left,
#radarMap .maplibregl-ctrl-bottom-right,
.maplibregl-ctrl-top-left,
.maplibregl-ctrl-top-right,
.maplibregl-ctrl-bottom-left,
.maplibregl-ctrl-bottom-right {
  z-index: 1300 !important;
}

/* Alert popups remain the very top map item. */
#radarMap .maplibregl-popup,
.vol-alert-popup,
.maplibregl-popup {
  z-index: 2500 !important;
}


/* Step 5L: let map drag/click events pass through city labels
   Fixes the issue where the mouse grabs the city label marker instead of panning the radar map. */
#radarMap .wf-city-marker,
#radarMap .wf-city-marker-shell,
#radarMap .maplibregl-marker.wf-city-marker,
#radarMap .maplibregl-marker.wf-city-label,
#radarMap .wf-city-label.maplibregl-marker,
#radarMap .maplibregl-marker:has(.wf-city-label) {
  pointer-events: none !important;
  cursor: grab !important;
}

#radarMap .wf-city-marker *,
#radarMap .wf-city-marker-shell *,
#radarMap .wf-city-label * {
  pointer-events: none !important;
}

#radarMap .maplibregl-canvas,
#radarMap canvas {
  cursor: grab;
}

#radarMap .maplibregl-canvas:active,
#radarMap canvas:active {
  cursor: grabbing;
}


/* Step 5M: normalized WeatherFront-style city label sizing
   Population/rank based, but much tighter so labels do not look all over the place. */
#radarMap .wf-city-label {
  transform: none !important;
  line-height: .98 !important;
  letter-spacing: -.012em !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  opacity: .96 !important;
  pointer-events: none !important;
  text-shadow:
    -1.45px -1.45px 0 rgba(0,0,0,.98),
     0     -1.65px 0 rgba(0,0,0,.98),
     1.45px -1.45px 0 rgba(0,0,0,.98),
    -1.65px  0     0 rgba(0,0,0,.98),
     1.65px  0     0 rgba(0,0,0,.98),
    -1.45px  1.45px 0 rgba(0,0,0,.98),
     0      1.65px 0 rgba(0,0,0,.98),
     1.45px  1.45px 0 rgba(0,0,0,.98),
     0       2.5px 6px rgba(0,0,0,.72) !important;
}

#radarMap .wf-city-label.metro {
  font-size: 22px !important;
  font-weight: 900 !important;
  letter-spacing: -.022em !important;
}

#radarMap .wf-city-label.major {
  font-size: 20px !important;
  font-weight: 900 !important;
  letter-spacing: -.020em !important;
}

#radarMap .wf-city-label.regional {
  font-size: 15px !important;
  font-weight: 860 !important;
}

#radarMap .wf-city-label.local {
  font-size: 12px !important;
  font-weight: 830 !important;
  opacity: .94 !important;
}

#radarMap .wf-city-label.small {
  font-size: 10px !important;
  font-weight: 800 !important;
  opacity: .88 !important;
}

/* Keep the new city label classes from ever covering buttons or grabbing the mouse. */
#radarMap .maplibregl-marker:has(.wf-city-label),
#radarMap .wf-city-marker,
#radarMap .wf-city-marker-shell,
#radarMap .wf-city-label,
#radarMap .wf-city-label * {
  pointer-events: none !important;
}

@media (max-width: 700px) {
  #radarMap .wf-city-label.metro { font-size: 18px !important; }
  #radarMap .wf-city-label.major { font-size: 17px !important; }
  #radarMap .wf-city-label.regional { font-size: 13px !important; }
  #radarMap .wf-city-label.local { font-size: 11px !important; }
  #radarMap .wf-city-label.small { font-size: 9px !important; }
}


/* Step 5N: restore city labels after normalized-size update.
   The MapLibre marker shell handles positioning; the inner .wf-city-label handles text styling. */
#radarMap .wf-city-marker-shell {
  display: block !important;
  visibility: visible !important;
  z-index: 25 !important;
  pointer-events: none !important;
}

#radarMap .wf-city-marker-shell .wf-city-label {
  display: block !important;
  visibility: visible !important;
  pointer-events: none !important;
}


/* Hourly graph card upgrade */
.hourly-graph-wrap {
  width: 100%;
}

.hourly-graph-card {
  background: linear-gradient(180deg, #0d2447 0%, #0a1e3d 100%);
  border: 1px solid rgba(102, 140, 198, 0.28);
  border-radius: 28px;
  padding: 24px 24px 26px;
  color: #f3f7ff;
  box-shadow: 0 18px 42px rgba(4, 14, 30, 0.25);
  overflow: hidden;
}

:root.dark .hourly-graph-card {
  background: linear-gradient(180deg, #0b1f3e 0%, #091730 100%);
  border-color: rgba(112, 150, 208, 0.24);
}

.hourly-graph-card.loading {
  min-height: 240px;
  display: grid;
  place-items: center;
}

.hourly-graph-loading {
  color: #dfe8f8;
  font-size: 1rem;
  font-weight: 700;
}

.hourly-graph-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.hourly-graph-header h3 {
  margin: 2px 0 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hourly-graph-header .eyebrow {
  color: #8fb0df;
}

.hourly-date-pill {
  border: 2px solid rgba(115, 148, 204, 0.42);
  background: rgba(255,255,255,0.04);
  color: #f2f6ff;
  border-radius: 999px;
  padding: 16px 24px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 800;
  white-space: nowrap;
}

.hourly-graph-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
}

.hourly-graph-stage {
  min-width: 100%;
}

.hourly-graph-stage.wide {
  min-width: 860px;
}

.hourly-columns-grid {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.hourly-column {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.hourly-time {
  font-size: clamp(1rem, 1.8vw, 1.55rem);
  font-weight: 900;
  color: #d7e5fb;
  letter-spacing: -0.03em;
}

.hourly-icon .weather-svg {
  width: 44px;
  height: 44px;
}

.hourly-condition {
  min-height: 32px;
  font-size: 0.82rem;
  line-height: 1.15;
  color: #bfcfea;
}

.hourly-wind {
  min-height: 62px;
  display: grid;
  place-items: center;
}

.hourly-wind-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.hourly-wind-badge svg {
  width: 46px;
  height: 46px;
  overflow: visible;
}

.hourly-wind-badge circle,
.hourly-wind-badge line,
.hourly-wind-badge path {
  fill: none;
  stroke: rgba(255,255,255,0.92);
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hourly-wind-badge path {
  fill: rgba(255,255,255,0.92);
  stroke: none;
}

.hourly-wind-badge text {
  fill: #ffffff;
  font-size: 12px;
  font-weight: 800;
  text-anchor: middle;
}

.hourly-wind-badge small {
  font-size: 0.78rem;
  font-weight: 700;
  color: #d5e4fa;
}

.hourly-pop {
  min-height: 28px;
  font-size: clamp(1rem, 1.9vw, 1.45rem);
  font-weight: 900;
  color: #8fd145;
}

.hourly-pop.muted {
  color: rgba(143, 209, 69, 0.28);
}

.hourly-line-panel {
  position: relative;
  height: 210px;
  border-top: 1px solid rgba(157, 182, 220, 0.18);
}

.hourly-line-panel-feels-like {
  height: 165px;
  margin-top: 6px;
}

.hourly-panel-label {
  position: absolute;
  top: 10px;
  left: 2px;
  z-index: 2;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9eb9de;
}

.hourly-line-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hourly-grid-line {
  stroke: rgba(157, 182, 220, 0.16);
  stroke-width: 0.75;
}

.hourly-line-temp {
  stroke: #f2f3f7;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hourly-dot-temp {
  fill: #ea955e;
  stroke: #f8f1e8;
  stroke-width: 0.9;
}

.hourly-line-feels-like {
  stroke: #8bcffc;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hourly-dot-feels-like {
  fill: #9dd8ff;
  stroke: #ebf8ff;
  stroke-width: 0.9;
}

.hourly-point-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hourly-point-label {
  position: absolute;
  transform: translateX(-50%);
  font-weight: 900;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.hourly-point-label-temp {
  color: #ee9a66;
  font-size: clamp(1.15rem, 2vw, 1.9rem);
}

.hourly-point-label-feels-like {
  color: #8fceff;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
}

@media (max-width: 900px) {
  .hourly-graph-card {
    padding: 18px 16px 20px;
    border-radius: 22px;
  }

  .hourly-graph-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hourly-date-pill {
    padding: 12px 18px;
  }
}

@media (max-width: 640px) {
  .hourly-column {
    gap: 4px;
  }

  .hourly-condition {
    min-height: 28px;
    font-size: 0.74rem;
  }

  .hourly-line-panel {
    height: 188px;
  }

  .hourly-line-panel-feels-like {
    height: 142px;
  }
}


/* Website-theme hourly graph reset: keep this section matching index.html, not the app-style dark card */
.hourly-graph-card {
  background: var(--panel) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  border-top: 4px solid var(--orange) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
  padding: 18px !important;
}

:root.dark .hourly-graph-card {
  background: var(--panel) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}

.hourly-graph-card * {
  text-shadow: none !important;
}

.hourly-graph-header {
  align-items: center !important;
  margin-bottom: 16px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid var(--border) !important;
}

.hourly-graph-header h3 {
  color: var(--text) !important;
  font-size: clamp(1.65rem, 2.7vw, 2.35rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.035em !important;
}

.hourly-graph-header .eyebrow {
  color: var(--orange) !important;
}

.hourly-date-pill {
  background: var(--panel-2) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  padding: 10px 14px !important;
  font-size: .95rem !important;
  font-weight: 950 !important;
}

.hourly-graph-stage.wide {
  min-width: 820px !important;
}

.hourly-columns-grid {
  gap: 10px !important;
  margin-bottom: 14px !important;
}

.hourly-column {
  gap: 5px !important;
}

.hourly-time {
  color: var(--navy) !important;
  font-size: clamp(.9rem, 1.4vw, 1.08rem) !important;
  font-weight: 950 !important;
  letter-spacing: -.02em !important;
}

:root.dark .hourly-time {
  color: #ffffff !important;
}

.hourly-icon {
  color: var(--navy) !important;
}

:root.dark .hourly-icon {
  color: #ffffff !important;
}

.hourly-icon .weather-svg {
  width: 36px !important;
  height: 36px !important;
  stroke: currentColor !important;
}

.hourly-condition {
  color: var(--muted) !important;
  min-height: 30px !important;
  font-size: .75rem !important;
  font-weight: 850 !important;
}

.hourly-wind {
  min-height: 50px !important;
}

.hourly-wind-badge svg {
  width: 38px !important;
  height: 38px !important;
}

.hourly-wind-badge circle,
.hourly-wind-badge line {
  stroke: var(--navy) !important;
  stroke-width: 2.2 !important;
}

.hourly-wind-badge path {
  fill: var(--navy) !important;
}

.hourly-wind-badge text {
  fill: var(--navy) !important;
  font-size: 12px !important;
}

:root.dark .hourly-wind-badge circle,
:root.dark .hourly-wind-badge line {
  stroke: #ffffff !important;
}

:root.dark .hourly-wind-badge path,
:root.dark .hourly-wind-badge text {
  fill: #ffffff !important;
}

.hourly-wind-badge small {
  color: var(--muted) !important;
  font-size: .7rem !important;
  text-transform: uppercase !important;
}

.hourly-pop {
  color: #54a51d !important;
  font-size: clamp(.95rem, 1.45vw, 1.1rem) !important;
}

.hourly-pop.muted {
  color: transparent !important;
}

.hourly-line-panel {
  height: 176px !important;
  border-top: 1px solid var(--border) !important;
  padding-top: 28px !important;
  margin-top: 8px !important;
}

.hourly-line-panel-feels-like {
  height: 145px !important;
}

.hourly-panel-label {
  top: 7px !important;
  left: 0 !important;
  color: var(--muted) !important;
  background: var(--panel) !important;
  padding-right: 10px !important;
  font-size: .72rem !important;
  font-weight: 950 !important;
  letter-spacing: .06em !important;
  z-index: 3 !important;
}

.hourly-line-svg {
  top: 28px !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: calc(100% - 28px) !important;
}

.hourly-point-labels {
  top: 28px !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  height: calc(100% - 28px) !important;
}

.hourly-grid-line {
  stroke: rgba(7, 26, 51, .14) !important;
  stroke-width: .7 !important;
}

:root.dark .hourly-grid-line {
  stroke: rgba(255, 255, 255, .15) !important;
}

.hourly-line-temp {
  stroke: var(--orange) !important;
  stroke-width: 2.1 !important;
}

.hourly-dot-temp {
  fill: var(--orange) !important;
  stroke: var(--panel) !important;
  stroke-width: 1.1 !important;
}

.hourly-line-feels-like {
  stroke: #1777b7 !important;
  stroke-width: 2 !important;
}

.hourly-dot-feels-like {
  fill: #1777b7 !important;
  stroke: var(--panel) !important;
  stroke-width: 1.1 !important;
}

:root.dark .hourly-line-feels-like {
  stroke: #89d0ff !important;
}

:root.dark .hourly-dot-feels-like {
  fill: #89d0ff !important;
}

.hourly-point-label {
  font-weight: 950 !important;
  letter-spacing: -.02em !important;
}

.hourly-point-label-temp {
  color: var(--orange) !important;
  font-size: clamp(.92rem, 1.35vw, 1.15rem) !important;
}

.hourly-point-label-feels-like {
  color: #1777b7 !important;
  font-size: clamp(.86rem, 1.2vw, 1.05rem) !important;
}

:root.dark .hourly-point-label-feels-like {
  color: #89d0ff !important;
}

@media (max-width: 900px) {
  .hourly-graph-card {
    padding: 14px !important;
  }

  .hourly-graph-header {
    align-items: flex-start !important;
  }
}

@media (max-width: 640px) {
  .hourly-graph-stage.wide {
    min-width: 760px !important;
  }

  .hourly-line-panel {
    height: 160px !important;
  }

  .hourly-line-panel-feels-like {
    height: 132px !important;
  }
}


/* Hourly graph polish: connected temperature-scale lines, round dots, wind flow arrows */
.hourly-columns-grid {
  gap: 12px !important;
  margin-bottom: 22px !important;
}

.hourly-column {
  gap: 5px !important;
}

.hourly-wind {
  min-height: 98px !important;
}

.hourly-wind-badge {
  gap: 2px !important;
  min-width: 54px !important;
}

.hourly-wind-ring {
  width: 38px !important;
  height: 38px !important;
  margin-bottom: 1px !important;
}

.hourly-wind-ring circle {
  fill: transparent !important;
  stroke: var(--navy) !important;
  stroke-width: 2.1 !important;
}

.hourly-wind-arrow path {
  fill: var(--navy) !important;
  stroke: none !important;
}

:root.dark .hourly-wind-ring circle {
  stroke: #ffffff !important;
}

:root.dark .hourly-wind-arrow path {
  fill: #ffffff !important;
}

.hourly-wind-badge small {
  display: block !important;
  line-height: 1.05 !important;
  color: var(--muted) !important;
  text-transform: uppercase !important;
}

.hourly-wind-dir {
  font-size: .68rem !important;
  font-weight: 950 !important;
  color: var(--navy) !important;
}

.hourly-wind-speed {
  font-size: .68rem !important;
  font-weight: 850 !important;
  text-transform: none !important;
}

.hourly-wind-gust {
  font-size: .62rem !important;
  font-weight: 750 !important;
  text-transform: none !important;
  opacity: .86 !important;
}

:root.dark .hourly-wind-dir {
  color: #ffffff !important;
}

.hourly-line-panel {
  height: 190px !important;
  padding-top: 34px !important;
  margin-top: 10px !important;
}

.hourly-line-panel-feels-like {
  height: 170px !important;
}

.hourly-line-svg {
  top: 34px !important;
  height: calc(100% - 34px) !important;
  overflow: visible !important;
}

.hourly-point-labels,
.hourly-plot-dots {
  position: absolute !important;
  top: 34px !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  height: calc(100% - 34px) !important;
  pointer-events: none !important;
}

.hourly-line-gradient {
  stroke-width: 3 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  vector-effect: non-scaling-stroke !important;
}

.hourly-line-temp,
.hourly-line-feels-like {
  stroke-width: 3 !important;
}

.hourly-plot-dot {
  position: absolute !important;
  width: 13px !important;
  height: 13px !important;
  border-radius: 999px !important;
  transform: translate(-50%, -50%) !important;
  background: var(--point-color) !important;
  border: 2px solid var(--panel) !important;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--point-color) 58%, transparent), 0 2px 5px rgba(0,0,0,.16) !important;
  z-index: 2 !important;
}

.temp-scale-label {
  color: var(--point-color) !important;
  z-index: 3 !important;
}

.hourly-point-label-temp,
.hourly-point-label-feels-like {
  font-size: clamp(1rem, 1.38vw, 1.18rem) !important;
}

.hourly-panel-label {
  z-index: 4 !important;
}

.hourly-icon .weather-svg .fill-soft {
  fill: currentColor !important;
}

@media (max-width: 640px) {
  .hourly-wind {
    min-height: 94px !important;
  }

  .hourly-line-panel {
    height: 175px !important;
  }

  .hourly-line-panel-feels-like {
    height: 152px !important;
  }
}

/* Final polish: keep Outdoor Comfort score rows even and professional */
.outdoor-grid {
  align-items: stretch !important;
}

.outdoor-card {
  height: 100% !important;
}

.outdoor-card-button {
  height: 100% !important;
  min-height: 230px !important;
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  grid-template-rows: auto 1fr 64px !important;
  align-items: start !important;
  column-gap: 12px !important;
  row-gap: 0 !important;
}

.outdoor-card-button .outdoor-icon {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

.outdoor-card-button > span:not(.outdoor-icon) {
  grid-column: 2 !important;
  grid-row: 1 / 3 !important;
  min-height: 126px !important;
  padding-bottom: 14px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

.outdoor-card strong {
  min-height: 38px !important;
  display: flex !important;
  align-items: flex-start !important;
  margin: 0 0 8px !important;
  white-space: normal !important;
}

.outdoor-card small {
  display: block !important;
  line-height: 1.22 !important;
}

.outdoor-card b {
  grid-column: 1 / -1 !important;
  grid-row: 3 !important;
  align-self: end !important;
  height: 64px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 12px 0 0 !important;
  border-top: 1px solid var(--border) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
}

.outdoor-card b small {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 18px !important;
}

@media (max-width: 980px) {
  .outdoor-card-button {
    min-height: 218px !important;
  }
}

@media (max-width: 640px) {
  .outdoor-card-button {
    min-height: 210px !important;
  }
}


/* Ensure feels-like values use the same dynamic temperature color scaling as temperature */
.hourly-point-label-feels-like.temp-scale-label,
.hourly-point-label-temp.temp-scale-label {
  color: var(--point-color) !important;
}

/* The feels-like line already uses the generated gradient in JS; keep class styling from forcing a single color. */
.hourly-line-feels-like.hourly-line-gradient {
  stroke: inherit !important;
}


/* Self-adjusting 7-day condition titles: prevents long words like Thunderstorms from running outside tiles */
.day-card {
  min-width: 0 !important;
  overflow: hidden !important;
}

.day-card .day-condition {
  display: block !important;
  max-width: 100% !important;
  min-height: 2.25em !important;
  line-height: 1.05 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  hyphens: auto !important;
  text-wrap: balance !important;
}

.day-card.cond-medium .day-condition {
  font-size: clamp(1.08rem, 1.8vw, 1.42rem) !important;
  letter-spacing: -.035em !important;
}

.day-card.cond-long .day-condition {
  font-size: clamp(.92rem, 1.48vw, 1.12rem) !important;
  letter-spacing: -.045em !important;
  line-height: 1 !important;
}

.day-card .day-meta {
  min-width: 0 !important;
  flex-wrap: wrap !important;
}

/* Aches & Pains uses an impact score: lower is better, higher is more impact. */
.outdoor-card b small {
  white-space: nowrap !important;
}


/* RobCo-style aches & pains impact color scale */
.impact-low b,
.impact-moderate b,
.impact-high b,
.impact-very-high b,
.impact-extreme b {
  background: transparent !important;
}

.impact-low b { color: #46d06f !important; }
.impact-moderate b { color: #f0ca38 !important; }
.impact-high b { color: #ff962d !important; }
.impact-very-high b { color: #ef4a4a !important; }
.impact-extreme b { color: #a55af5 !important; }


/* Daily tile wording cleanup: use compact labels and cleaner wrapping */
.day-card .day-condition {
  font-size: clamp(1.02rem, 1.45vw, 1.38rem) !important;
  font-weight: 900 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.035em !important;
  min-height: 2.2em !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  text-wrap: balance !important;
}

.day-card.cond-medium .day-condition {
  font-size: clamp(.98rem, 1.34vw, 1.24rem) !important;
}

.day-card.cond-long .day-condition {
  font-size: clamp(.92rem, 1.18vw, 1.08rem) !important;
  line-height: 1.0 !important;
}

/* Location panel reliability/cleanup */
.location-saved-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  border: 1px solid rgba(255, 127, 0, .28);
  background: rgba(255, 127, 0, .08);
  color: var(--text);
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: .84rem;
  font-weight: 800;
}

.location-saved-bar[hidden] {
  display: none !important;
}

.location-saved-bar strong {
  color: var(--orange);
  text-transform: uppercase;
}

.location-saved-bar button {
  border: 0;
  background: transparent;
  color: var(--orange);
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
  padding: 4px 2px;
}

.location-saved-bar button:hover {
  color: var(--orange-2);
  text-decoration: underline;
}

.location-search-row input {
  min-width: 0;
}

.location-note {
  min-height: 1.2em;
}

@media (max-width: 700px) {
  .location-search-row {
    flex-direction: column;
  }

  .location-search-row button {
    width: 100%;
  }
}


/* Typography bump for index section eyebrows and current detail labels */
.eyebrow {
  font-size: .84rem !important;
  letter-spacing: .08em !important;
  margin-bottom: 10px !important;
}

.current-conditions .eyebrow,
.forecast-heading .eyebrow {
  font-size: .92rem !important;
  letter-spacing: .085em !important;
}

.current-metric span:not(.metric-icon) {
  font-size: .84rem !important;
  font-weight: 950 !important;
  letter-spacing: .045em !important;
  margin-bottom: 7px !important;
}

.current-metric strong {
  font-size: 1.15rem !important;
}

@media (max-width: 640px) {
  .eyebrow {
    font-size: .78rem !important;
  }

  .current-conditions .eyebrow,
  .forecast-heading .eyebrow {
    font-size: .84rem !important;
  }

  .current-metric span:not(.metric-icon) {
    font-size: .78rem !important;
  }
}


/* VOLWX 2026 final brand theme — black, graphite, metallic silver, Tennessee orange */
:root {
  color-scheme: light;
  --navy: #101113;
  --navy-2: #17191d;
  --navy-3: #252a31;
  --black: #070708;
  --charcoal: #111214;
  --graphite: #191b20;
  --gunmetal: #252a31;
  --steel: #c9cdd3;
  --silver: #eef1f4;
  --orange: #ff7900;
  --orange-2: #e95700;
  --orange-glow: rgba(255, 121, 0, .30);
  --red: #e02025;
  --bg: #f1f2f4;
  --panel: #ffffff;
  --panel-2: #f5f6f8;
  --text: #101318;
  --muted: #596472;
  --border: rgba(18, 21, 26, .14);
  --border-dark: rgba(255,255,255,.16);
  --shadow: 0 18px 46px rgba(5, 6, 8, .13);
  --radius: 18px;
}

:root.dark {
  color-scheme: dark;
  --bg: #070708;
  --panel: #111214;
  --panel-2: #181a1f;
  --text: #f5f7fb;
  --muted: #b4bcc8;
  --border: rgba(255,255,255,.12);
  --border-dark: rgba(255,255,255,.18);
  --shadow: 0 22px 52px rgba(0,0,0,.46);
}

html {
  background: var(--bg);
}

body {
  background:
    radial-gradient(circle at 18% 8%, rgba(255,121,0,.16), transparent 32rem),
    radial-gradient(circle at 86% 4%, rgba(238,241,244,.14), transparent 28rem),
    linear-gradient(180deg, var(--bg) 0%, #dfe3e8 100%);
  color: var(--text);
}

:root.dark body {
  background:
    radial-gradient(circle at 18% 8%, rgba(255,121,0,.22), transparent 34rem),
    radial-gradient(circle at 88% 0%, rgba(190,197,207,.10), transparent 30rem),
    linear-gradient(180deg, #050506 0%, #0b0c0f 48%, #111318 100%);
}

.site-shell {
  position: relative;
  overflow-x: clip;
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .42;
  background:
    linear-gradient(120deg, transparent 0 46%, rgba(255,121,0,.065) 46.3% 46.7%, transparent 47% 100%),
    radial-gradient(circle at 82% 18%, transparent 0 4rem, rgba(255,255,255,.075) 4.1rem 4.16rem, transparent 4.25rem 7.2rem, rgba(255,121,0,.06) 7.26rem 7.33rem, transparent 7.44rem);
  z-index: 0;
}

.site-shell > * {
  position: relative;
  z-index: 1;
}

.top-bar {
  background:
    linear-gradient(90deg, #050506 0%, #111214 36%, #181a1f 62%, #070708 100%);
  color: #fff;
  border-bottom: 3px solid var(--orange);
  box-shadow: 0 12px 38px rgba(0,0,0,.36);
}

.top-bar::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,121,0,.95), rgba(238,241,244,.70), transparent);
}

.top-bar-inner {
  min-height: 124px;
  grid-template-columns: minmax(430px, auto) 1fr;
  padding: 10px 0 12px;
}

.brand-logo {
  width: clamp(380px, 44vw, 640px);
  filter: drop-shadow(0 12px 16px rgba(0,0,0,.48));
}

.nav a,
.nav button,
.mobile-menu-button,
.mobile-drawer-nav a,
.theme-toggle {
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  color: #f7f8fa;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
}

.nav a:hover,
.nav button:hover,
.nav a.active,
.mobile-drawer-nav a.active,
.theme-toggle:hover,
.mobile-menu-button:hover {
  background: linear-gradient(180deg, #ff8d1f, #e95700);
  border-color: rgba(255,121,0,.85);
  color: #fff;
  box-shadow: 0 10px 22px rgba(255,121,0,.22);
}

.mobile-drawer[aria-hidden="false"] {
  background:
    radial-gradient(circle at 20% 0%, rgba(255,121,0,.18), transparent 16rem),
    linear-gradient(180deg, #0a0b0d, #15171b);
}

.panel,
.location-control,
.current-conditions,
.alerts-section,
.outdoor-card,
.hourly-scroll-wrap,
.day-card,
.radar-cta,
.home-screen-tip {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.panel,
.location-control,
.current-conditions,
.alerts-section,
.outdoor-card,
.hourly-scroll-wrap,
.day-card,
.home-screen-tip {
  background:
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.96)),
    var(--panel);
}

:root.dark .panel,
:root.dark .location-control,
:root.dark .current-conditions,
:root.dark .alerts-section,
:root.dark .outdoor-card,
:root.dark .hourly-scroll-wrap,
:root.dark .day-card,
:root.dark .home-screen-tip {
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025)),
    var(--panel);
}

.location-control,
.current-conditions,
.alerts-section,
.day-card,
.hour-card,
.radar-engine-panel,
.radar-panel {
  border-top: 5px solid var(--orange) !important;
}

.location-control {
  border-left: 0;
  padding: 20px;
}

.location-search label,
.radar-location-form label,
.radar-search label {
  color: var(--muted) !important;
}

input,
.radar-search input,
.radar-location-row input {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

:root.dark input,
:root.dark .radar-search input,
:root.dark .radar-location-row input {
  background: #0b0c0f;
  border-color: rgba(255,255,255,.14);
  color: #fff;
}

.button,
.location-search-row button,
.radar-location-row button,
.radar-location-button,
.radar-control-button,
.location-current-button,
.refresh-button,
.radar-search button,
.radar-map-actions button,
.radar-console-web button,
.radar-console-web select,
.weatherwise-logo-link {
  border-radius: 999px;
  background: linear-gradient(180deg, #ff8c1a 0%, #f26c00 54%, #d84e00 100%);
  color: #fff;
  border: 1px solid rgba(255, 150, 50, .62);
  box-shadow: 0 10px 22px rgba(255,121,0,.18), inset 0 1px 0 rgba(255,255,255,.20);
}

.button:hover,
.location-search-row button:hover,
.radar-location-row button:hover,
.radar-location-button:hover,
.radar-control-button:hover,
.location-current-button:hover,
.refresh-button:hover,
.radar-search button:hover,
.radar-console-web button:hover {
  background: linear-gradient(180deg, #ff9b2f, #f26700);
  transform: translateY(-1px);
}

.location-current-button {
  margin-top: 12px;
  padding: 10px 16px;
  min-height: 38px;
  background: transparent;
  color: var(--orange);
  border: 1px solid rgba(255,121,0,.38);
  box-shadow: none;
}

:root.dark .location-current-button {
  background: rgba(255,121,0,.08);
  color: #ff9a2e;
}

.eyebrow,
.weather-snapshot span,
.current-metric span,
.alert-full-text strong,
.radar-footnotes strong {
  color: var(--orange) !important;
}

.current-temp,
.day-card .day-temps,
.hour-card > small,
.day-card strong {
  color: var(--text) !important;
}

:root.dark .current-temp,
:root.dark .day-card .day-temps,
:root.dark .hour-card > small,
:root.dark .day-card strong {
  color: #fff !important;
}

.current-insight {
  border-left-color: var(--orange);
}

.current-details-title,
.forecast-heading h2,
.radar-cta h2,
.page-header h1,
.radar-page-title h1,
.current-primary h1 {
  color: var(--text);
}

.weather-snapshot,
.current-metric,
.alert-item,
.hour-card,
.day-card,
.outdoor-card-button {
  border-radius: 14px;
  border-color: var(--border);
}

.weather-snapshot,
.current-metric,
.alert-item,
.hour-card {
  background: var(--panel-2);
}

:root.dark .weather-snapshot,
:root.dark .current-metric,
:root.dark .alert-item,
:root.dark .hour-card {
  background: linear-gradient(180deg, #17191e, #101114);
}

.alert-badge,
.alert-item .alert-meta span,
.alert-summary h3::after,
.outdoor-card b {
  border-radius: 999px;
  background: linear-gradient(180deg, #1b1d22, #0b0c0f) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.10);
}

.outdoor-card-button .outdoor-icon {
  border-radius: 12px;
  color: var(--orange);
  background: rgba(255,121,0,.10);
  border-color: rgba(255,121,0,.24);
}

.outdoor-card b {
  background: transparent !important;
  color: var(--orange) !important;
  border-radius: 0;
  border: 0;
}

.outdoor-card b small {
  color: var(--muted) !important;
}

:root.dark .outdoor-card b small {
  color: #fff !important;
}

.mini-sponsor {
  border-radius: 999px;
  border-color: rgba(255,121,0,.35);
  color: var(--orange);
  background: rgba(255,121,0,.08);
}

.footer {
  border-top: 1px solid var(--border);
  background: rgba(7,7,8,.03);
}

:root.dark .footer {
  background: #070708;
}

.radar-engine-panel,
.radar-panel {
  background:
    radial-gradient(circle at 82% 0%, rgba(255,121,0,.14), transparent 22rem),
    linear-gradient(180deg, #111214, #070708) !important;
  border-color: rgba(255,255,255,.16) !important;
  border-radius: 18px;
}

.radar-engine-top h2,
.radar-engine-top p,
.radar-footnotes,
.radar-slider-wrap {
  color: #e8edf4;
}

.radar-console-web,
.radar-footnotes,
.radar-location-tools,
.weatherwise-attribution {
  background: #0b0c0f !important;
  border-color: rgba(255,255,255,.13) !important;
}

.radar-map-shell {
  border-radius: 16px;
  border-color: rgba(255,255,255,.18) !important;
  background: #343b44 !important;
}

#radarMap {
  background: #343b44 !important;
}

.radar-time-bubble,
.radar-legend-custom,
.radar-map-actions button {
  border-radius: 14px !important;
}

.radar-time-bubble {
  background: rgba(14,15,18,.86) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  color: #fff !important;
}

.radar-time-bubble span {
  color: #f4f7fb !important;
}

.radar-map-actions button,
.radar-legend-custom {
  background: rgba(12,13,16,.84) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.16) !important;
}

.legend-ticks {
  color: #f4f7fb !important;
}

.radar-map-actions button:hover {
  background: linear-gradient(180deg, #ff8c1a, #e95700) !important;
}

.radar-city-label {
  color: #f3f5f8 !important;
  text-shadow:
    -1px -1px 0 rgba(0,0,0,.95),
     1px -1px 0 rgba(0,0,0,.95),
    -1px  1px 0 rgba(0,0,0,.95),
     1px  1px 0 rgba(0,0,0,.95),
     0    2px 6px rgba(0,0,0,.72) !important;
}

@media (max-width: 1100px) {
  .top-bar-inner {
    grid-template-columns: 1fr auto;
  }

  .brand-logo {
    width: min(520px, 62vw);
  }
}

@media (max-width: 980px) {
  .top-bar-inner {
    min-height: 94px;
  }

  .brand-logo {
    width: min(370px, 66vw);
  }
}

@media (max-width: 640px) {
  .main {
    width: min(100% - 18px, var(--max));
    padding-top: 16px;
  }

  .top-bar-inner {
    min-height: 82px;
  }

  .brand-logo {
    width: min(300px, 68vw);
  }

  .panel,
  .location-control,
  .current-conditions,
  .alerts-section,
  .outdoor-card,
  .hourly-scroll-wrap,
  .day-card,
  .home-screen-tip {
    border-radius: 14px;
  }
}


/* VOLWX social media footer links */
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  max-width: 690px;
  line-height: 1.45;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.social-links span {
  color: var(--text);
  text-transform: uppercase;
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .06em;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 8px 11px;
  border: 1px solid rgba(255,121,0,.45);
  background: rgba(255,121,0,.10);
  color: var(--orange);
  text-decoration: none;
  text-transform: uppercase;
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .02em;
}

.social-links a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #ffffff;
}

:root.dark .social-links span {
  color: #f4f8ff;
}

@media (max-width: 700px) {
  .footer-inner {
    align-items: flex-start;
  }

  .social-links {
    justify-content: flex-start;
  }
}


/* VOLWX final active-state fix: only the selected radar product is orange. */
.radar-product-buttons button {
  background: linear-gradient(180deg, #182231 0%, #08111f 100%) !important;
  border-color: #3a4b5f !important;
  color: #dce7f4 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 3px 10px rgba(0,0,0,.22) !important;
}

.radar-product-buttons button.active,
.radar-product-buttons button[aria-pressed="true"],
.radar-product-buttons button[aria-selected="true"] {
  background: linear-gradient(180deg, #ff8f22 0%, #ff6b00 48%, #d94b00 100%) !important;
  border-color: #ff8f22 !important;
  color: #ffffff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 8px 18px rgba(255,107,0,.28) !important;
}

.radar-product-buttons button:not(.active):not([aria-pressed="true"]):not([aria-selected="true"]):hover,
.radar-product-buttons button:not(.active):not([aria-pressed="true"]):not([aria-selected="true"]):focus-visible {
  background: linear-gradient(180deg, #223148 0%, #101a29 100%) !important;
  border-color: #7a8796 !important;
  color: #ffffff !important;
}

/* VOLWX final hourly temperature-scale fix: Temperature and Feels Like both use the same dynamic value colors. */
.hourly-point-label-temp.temp-scale-label,
.hourly-point-label-feels-like.temp-scale-label {
  color: var(--point-color) !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.38) !important;
}

.hourly-plot-dot {
  background: var(--point-color) !important;
  border-color: color-mix(in srgb, var(--point-color) 28%, var(--panel)) !important;
}

.hourly-line-temp.hourly-line-gradient,
.hourly-line-feels-like.hourly-line-gradient {
  stroke-width: 3 !important;
}

/* VOLWX footer no-wrap cleanup: keep the data attribution on one clean line. */
.footer-inner {
  flex-wrap: nowrap !important;
}

.footer-copy {
  flex: 1 1 auto;
  min-width: 0;
  max-width: none !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.35;
}

.social-links {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-copy {
    width: 100%;
  }

  .social-links {
    white-space: normal;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}


/* VOLWX embedded US city labels: white text + black border, no VOL_CITIES */
.radar-map-shell,
#radarMap,
#radarMap .maplibregl-canvas,
#radarMap .maplibregl-canvas-container {
  background: #5A5A5A !important;
}

#radarMap .volwx-us-city-marker-shell,
#radarMap .volwx-us-city-label {
  z-index: 9999 !important;
  pointer-events: none !important;
}

#radarMap .volwx-us-city-label {
  color: #FFFFFF !important;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, Helvetica, sans-serif !important;
  font-weight: 900 !important;
  line-height: .95;
  letter-spacing: -0.018em;
  white-space: nowrap;
  text-align: center;
  opacity: 1 !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  text-shadow:
    -2px -2px 0 #000,
     0   -2px 0 #000,
     2px -2px 0 #000,
    -2px  0   0 #000,
     2px  0   0 #000,
    -2px  2px 0 #000,
     0    2px 0 #000,
     2px  2px 0 #000,
     0    3px 8px rgba(0,0,0,.85) !important;
}

#radarMap .volwx-us-city-label.metro { font-size: 22px !important; }
#radarMap .volwx-us-city-label.major { font-size: 18.5px !important; }
#radarMap .volwx-us-city-label.regional { font-size: 15px !important; }
#radarMap .volwx-us-city-label.local { font-size: 12.5px !important; }
#radarMap .volwx-us-city-label.small { font-size: 9.5px !important; }

/* Hide only the OLD label systems. */
#radarMap .wf-city-label,
#radarMap .wf-city-marker-shell,
#radarMap .vol-city-marker,
#radarMap .vol-city-label,
#radarMap .radar-city-label {
  display: none !important;
}

#radarMap .volwx-us-city-label.small { font-size: 9.5px !important; }


/* VOLWX cleaner city label style pass
   Less chunky than the previous 2px hard outline.
   Still white with a black border, but cleaner and easier to read over radar. */
#radarMap .volwx-us-city-label {
  color: #FFFFFF !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.01em !important;
  white-space: nowrap !important;
  text-align: center !important;
  opacity: 0.98 !important;
  -webkit-font-smoothing: antialiased !important;
  text-rendering: geometricPrecision !important;
  text-shadow:
    -1.25px -1.25px 0 rgba(0,0,0,0.98),
     0     -1.35px 0 rgba(0,0,0,0.98),
     1.25px -1.25px 0 rgba(0,0,0,0.98),
    -1.35px  0      0 rgba(0,0,0,0.98),
     1.35px  0      0 rgba(0,0,0,0.98),
    -1.25px  1.25px 0 rgba(0,0,0,0.98),
     0      1.35px 0 rgba(0,0,0,0.98),
     1.25px  1.25px 0 rgba(0,0,0,0.98),
     0      2.25px 4px rgba(0,0,0,0.62) !important;
}

/* Slightly lighter hierarchy so small towns do not look like blobs */
#radarMap .volwx-us-city-label.metro {
  font-size: 21px !important;
  font-weight: 750 !important;
}

#radarMap .volwx-us-city-label.major {
  font-size: 17.5px !important;
  font-weight: 740 !important;
}

#radarMap .volwx-us-city-label.regional {
  font-size: 14px !important;
  font-weight: 720 !important;
}

#radarMap .volwx-us-city-label.local {
  font-size: 11.5px !important;
  font-weight: 700 !important;
}

#radarMap .volwx-us-city-label.small {
  font-size: 9.25px !important;
  font-weight: 680 !important;
  opacity: 0.94 !important;
}

/* Keep labels on top but let popups/controls remain interactive above the map canvas */
#radarMap .volwx-us-city-marker-shell,
#radarMap .volwx-us-city-label {
  z-index: 9999 !important;
  pointer-events: none !important;
}


/* VOLWX hard lock: map background must remain #5A5A5A */
.radar-map-shell,
#radarMap,
#radarMap .maplibregl-canvas,
#radarMap .maplibregl-canvas-container {
  background-color: #5A5A5A !important;
  background: #5A5A5A !important;
}


/* VOLWX UI z-index fix
   City labels should be above radar/map layers, but BELOW popups, alert cards,
   controls, and the radar color legend. */
#radarMap .volwx-us-city-marker-shell,
#radarMap .volwx-us-city-label,
#radarMap .maplibregl-marker.volwx-us-city-marker-shell {
  z-index: 40 !important;
  pointer-events: none !important;
}

/* MapLibre popups and custom NWS details must be above city labels. */
#radarMap .maplibregl-popup,
#radarMap .maplibregl-popup-content,
#radarMap .nws-popup,
#radarMap .nws-alert-popup,
#radarMap .alert-popup,
#radarMap .radar-alert-popup,
#radarMap .volwx-alert-popup,
#radarMap .weather-alert-popup,
.nws-popup,
.nws-alert-popup,
.alert-popup,
.radar-alert-popup,
.volwx-alert-popup,
.weather-alert-popup {
  z-index: 20000 !important;
}

/* If the alert detail is rendered as a standalone panel/card inside the radar shell. */
.alert-detail,
.alert-details,
.nws-alert-detail,
.nws-alert-details,
.alert-card,
.nws-card,
.radar-popup-card,
.volwx-popup-card,
.popup-card,
.radar-info-card,
#alertPopup,
#nwsAlertPopup,
#radarPopup {
  position: relative;
  z-index: 20000 !important;
}

/* Controls/menus and legend should sit above map labels, but below critical popups if they overlap. */
.radar-legend,
.dbz-legend,
.color-legend,
.radar-color-legend,
#radarLegend,
#dbzLegend,
#colorLegend,
.maplibregl-control-container,
.maplibregl-ctrl-top-left,
.maplibregl-ctrl-top-right,
.maplibregl-ctrl-bottom-left,
.maplibregl-ctrl-bottom-right {
  z-index: 12000 !important;
}

/* If the radar legend is inside the alert panel area, let the popup cover it. */
#radarMap .maplibregl-popup {
  pointer-events: auto !important;
}

#radarMap .maplibregl-popup-content {
  position: relative;
  z-index: 20001 !important;
}


/* VOLWX layer menu: keep overlay toggles readable */
.layer-menu-panel label {
  display: block;
  margin: 6px 0;
  line-height: 1.25;
}


/* VOLWX separate NWS layer toggles */
.layer-menu-panel label {
  display: block;
  margin: 7px 0;
  line-height: 1.25;
}


/* PFN polish for forecast interface */
.panel,
.location-control,
.current-conditions,
.alerts-section,
.home-screen-tip{
  border-radius:22px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.035))!important;
  border:1px solid rgba(255,255,255,.12)!important;
  box-shadow:0 24px 70px rgba(0,0,0,.26)!important;
}

.location-control{
  border-left:0!important;
  border-top:4px solid var(--orange)!important;
}
.location-search label,
.radar-location-form label{
  color:rgba(255,255,255,.74)!important;
  letter-spacing:.13em!important;
}
input{
  border-radius:14px!important;
  background:rgba(0,0,0,.22)!important;
  border:1px solid rgba(255,255,255,.14)!important;
  color:#fff!important;
}
input:focus{
  outline:none!important;
  border-color:rgba(229,9,20,.70)!important;
  box-shadow:0 0 0 4px rgba(229,9,20,.13)!important;
}
.button,
.location-search-row button,
.location-current-button,
.refresh-button{
  border-radius:14px!important;
  background:var(--orange)!important;
  color:#fff!important;
}
.location-current-button{
  background:transparent!important;
  color:#ff6b6b!important;
}
.eyebrow{
  color:#ff2a2a!important;
  letter-spacing:.16em!important;
}
.current-temp{
  font-family:'Bebas Neue',sans-serif!important;
  color:#fff!important;
}
.current-temp .temp-number,
.current-temp .temp-degree{
  font-family:'Bebas Neue',sans-serif!important;
}
.current-icon{
  filter:drop-shadow(0 0 18px rgba(229,9,20,.25));
}
.current-condition,
#currentCondition{
  font-family:'Bebas Neue',sans-serif!important;
  letter-spacing:.04em!important;
}
.weather-snapshot,
.current-details,
.current-metric,
.outdoor-card,
.hourly-graph-card,
.day-card,
.alert-item{
  border-radius:18px!important;
  background:rgba(0,0,0,.22)!important;
  border:1px solid rgba(255,255,255,.10)!important;
}
.current-metric strong,
.day-card strong,
.outdoor-card b{
  color:#fff!important;
}
.current-metric span,
.observation-note,
.location-note{
  color:rgba(255,255,255,.56)!important;
}
.forecast-heading h2,
.current-details-title{
  font-family:'Bebas Neue',sans-serif!important;
  letter-spacing:.04em!important;
}
.alert-badge{
  background:var(--orange)!important;
  color:#fff!important;
  border-radius:999px!important;
}
.hourly-graph-stage{
  background:rgba(0,0,0,.18)!important;
  border-radius:18px!important;
}
.hourly-line-temp{
  stroke:#ff2a2a!important;
}
.hourly-line-feels-like{
  stroke:#facc15!important;
}
.hourly-plot-dot{
  border:2px solid #111!important;
}
.day-card{
  overflow:hidden;
  position:relative;
}
.day-card:before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:3px;
  background:linear-gradient(90deg,var(--orange),#111);
}
.home-screen-tip summary{
  color:#fff!important;
}

@media(max-width:980px){
  .forecast-command-hero{grid-template-columns:1fr}
}


/* v4 forecast readability pass — high contrast, larger type, cleaner spacing */
:root{
  --pfn-readable-bg:#101114;
  --pfn-readable-panel:#1a1b20;
  --pfn-readable-panel-2:#22242a;
  --pfn-readable-card:#15161a;
  --pfn-readable-text:#f7f7f8;
  --pfn-readable-muted:#c5c7cf;
  --pfn-readable-soft:#979aa6;
  --pfn-readable-border:rgba(255,255,255,.18);
}

body.forecast-page,
.forecast-page{
  background:
    radial-gradient(circle at 85% 6%, rgba(229,9,20,.16), transparent 28rem),
    linear-gradient(180deg,#1b1c20 0%,#111216 46%,#0c0d10 100%) !important;
  color:var(--pfn-readable-text)!important;
  font-size:16px!important;
}

.forecast-page .main{
  width:min(1320px, calc(100% - 42px))!important;
  padding:38px 0 64px!important;
}

.forecast-command-hero{
  grid-template-columns:minmax(0,1.2fr) minmax(340px,.55fr)!important;
  gap:26px!important;
  margin-bottom:28px!important;
}

.forecast-command-hero h1{
  font-size:clamp(72px,8vw,132px)!important;
  line-height:.88!important;
  color:#fff!important;
  text-shadow:0 12px 30px rgba(0,0,0,.22)!important;
}

.forecast-command-hero p{
  color:#e7e8ec!important;
  font-size:20px!important;
  line-height:1.68!important;
  max-width:880px!important;
}

.forecast-source-card{
  background:linear-gradient(180deg,#22242a,#16171b)!important;
  border:1px solid var(--pfn-readable-border)!important;
  box-shadow:0 24px 70px rgba(0,0,0,.30)!important;
}

.forecast-source-card p{
  color:#d6d7dc!important;
  font-size:15px!important;
  line-height:1.65!important;
}

.panel,
.location-control,
.current-conditions,
.alerts-section,
.home-screen-tip,
.outdoor-section,
.forecast-section{
  background:linear-gradient(180deg,var(--pfn-readable-panel),#141519)!important;
  border:1px solid var(--pfn-readable-border)!important;
  box-shadow:0 22px 58px rgba(0,0,0,.28)!important;
  color:var(--pfn-readable-text)!important;
}

.location-control{
  padding:24px!important;
  margin-bottom:22px!important;
  border-top:5px solid var(--orange)!important;
}

.location-saved-bar{
  background:rgba(229,9,20,.10)!important;
  border:1px solid rgba(229,9,20,.28)!important;
  color:#fff!important;
  border-radius:16px!important;
  padding:12px 14px!important;
  margin-bottom:16px!important;
}

.location-search label,
.radar-location-form label{
  color:#ffffff!important;
  font-size:12px!important;
  letter-spacing:.14em!important;
  margin-bottom:10px!important;
}

.location-search-row,
.radar-location-row{
  gap:12px!important;
}

input,
.location-search input{
  min-height:54px!important;
  border-radius:16px!important;
  background:#0d0e11!important;
  border:1px solid rgba(255,255,255,.22)!important;
  color:#fff!important;
  font-size:17px!important;
  padding:0 16px!important;
}

input::placeholder{
  color:#a8abb5!important;
}

.button,
.location-search-row button,
.location-current-button,
.refresh-button{
  min-height:54px!important;
  border-radius:16px!important;
  font-size:12px!important;
  letter-spacing:.10em!important;
  font-weight:900!important;
}

.location-current-button{
  margin-top:14px!important;
  min-height:auto!important;
  color:#ff6b6b!important;
  font-size:13px!important;
}

.location-note,
#homeLocationNote{
  color:#d2d4db!important;
  font-size:14px!important;
  line-height:1.6!important;
  margin-top:14px!important;
}

.alerts-section{
  padding:22px!important;
  margin-bottom:24px!important;
}

.forecast-heading{
  align-items:center!important;
  margin-bottom:18px!important;
}

.forecast-heading h2,
.current-details-title{
  color:#fff!important;
  font-size:clamp(30px,3vw,46px)!important;
  line-height:1!important;
}

.eyebrow{
  color:#ff4b4b!important;
  font-size:12px!important;
  letter-spacing:.18em!important;
  margin-bottom:9px!important;
}

.alert-badge{
  font-size:12px!important;
  padding:10px 14px!important;
  box-shadow:0 0 18px rgba(229,9,20,.22)!important;
}

.alert-item{
  background:#141519!important;
  border:1px solid rgba(255,255,255,.16)!important;
  border-radius:18px!important;
  color:#fff!important;
  padding:16px!important;
}

.alert-item h3{
  color:#fff!important;
  font-size:19px!important;
}

.alert-item p,
.alert-full-text,
.alert-areas{
  color:#d9dbe2!important;
  font-size:14px!important;
  line-height:1.65!important;
}

.current-conditions{
  grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr)!important;
  gap:24px!important;
  padding:28px!important;
  margin-bottom:28px!important;
  border-top:5px solid var(--orange)!important;
}

.current-primary{
  min-width:0!important;
}

.section-title-row{
  margin-bottom:8px!important;
}

.current-temp-row{
  gap:18px!important;
  margin:6px 0 10px!important;
}

.current-temp{
  font-size:clamp(86px,12vw,138px)!important;
  line-height:.82!important;
  color:#fff!important;
}

.current-icon{
  font-size:clamp(52px,6vw,84px)!important;
}

#currentCondition{
  color:#fff!important;
  font-size:clamp(38px,4.8vw,64px)!important;
  line-height:.95!important;
  margin:10px 0 8px!important;
}

.current-location{
  color:#ff5b5b!important;
  font-size:15px!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
}

.current-insight{
  color:#e4e5ea!important;
  font-size:17px!important;
  line-height:1.65!important;
  max-width:760px!important;
}

.weather-snapshot{
  background:#101115!important;
  border:1px solid rgba(255,255,255,.16)!important;
  padding:18px!important;
  margin-top:20px!important;
}

.weather-snapshot span{
  color:#fff!important;
  font-size:13px!important;
  letter-spacing:.13em!important;
}

.weather-snapshot li{
  color:#d4d6dd!important;
  font-size:15px!important;
  line-height:1.55!important;
  margin:8px 0!important;
}

.current-details{
  background:#101115!important;
  border:1px solid rgba(255,255,255,.16)!important;
  padding:20px!important;
}

.current-details-title{
  margin-bottom:16px!important;
}

.current-metric{
  background:#18191f!important;
  border:1px solid rgba(255,255,255,.14)!important;
  border-radius:16px!important;
  padding:13px!important;
  min-height:76px!important;
}

.current-metric span:not(.metric-icon){
  color:#b8bbc6!important;
  font-size:12px!important;
  letter-spacing:.11em!important;
}

.current-metric strong{
  color:#fff!important;
  font-size:21px!important;
  margin-top:5px!important;
}

.metric-icon{
  color:#ff4b4b!important;
  background:rgba(229,9,20,.10)!important;
  border:1px solid rgba(229,9,20,.22)!important;
}

.observation-note{
  color:#c4c7d0!important;
  font-size:13px!important;
  line-height:1.55!important;
}

.outdoor-section,
.forecast-section{
  padding:24px!important;
  border-radius:22px!important;
  margin-bottom:26px!important;
}

.outdoor-grid{
  gap:14px!important;
}

.outdoor-card{
  background:#15161b!important;
  border:1px solid rgba(255,255,255,.14)!important;
  border-radius:18px!important;
}

.outdoor-card-button{
  padding:16px!important;
  gap:13px!important;
}

.outdoor-card strong{
  color:#fff!important;
  font-size:16px!important;
}

.outdoor-card small{
  color:#c0c3ce!important;
  font-size:12px!important;
  line-height:1.4!important;
}

.outdoor-card b{
  color:#fff!important;
  font-size:28px!important;
}

.hourly-graph-card{
  background:#111216!important;
  border:1px solid rgba(255,255,255,.16)!important;
  border-radius:20px!important;
  padding:18px!important;
}

.hourly-graph-stage{
  background:#0b0c0f!important;
  border:1px solid rgba(255,255,255,.13)!important;
}

.hourly-column{
  color:#fff!important;
}

.hourly-time{
  color:#fff!important;
  font-size:12px!important;
  font-weight:900!important;
}

.hourly-condition,
.hourly-wind{
  color:#cfd2db!important;
  font-size:11px!important;
}

.hourly-pop{
  color:#42f584!important;
  font-weight:900!important;
  font-size:12px!important;
}

.hourly-point-label{
  font-size:12px!important;
  font-weight:900!important;
  text-shadow:0 1px 4px rgba(0,0,0,.85)!important;
}

.daily-heading{
  margin-top:26px!important;
}

.daily-grid{
  gap:14px!important;
}

.day-card{
  background:#15161b!important;
  border:1px solid rgba(255,255,255,.14)!important;
  border-radius:18px!important;
  padding:17px!important;
  min-height:168px!important;
}

.day-card span:first-child{
  color:#ff6b6b!important;
  font-size:12px!important;
  letter-spacing:.10em!important;
}

.day-icon{
  font-size:30px!important;
  margin:10px 0!important;
}

.day-condition{
  color:#fff!important;
  font-size:17px!important;
  line-height:1.1!important;
}

.day-temps{
  color:#fff!important;
  font-size:22px!important;
  font-weight:900!important;
}

.day-meta{
  color:#cbd0db!important;
  font-size:12px!important;
}

.home-screen-tip{
  padding:18px 20px!important;
  color:#e7e8ed!important;
}

.home-screen-tip summary{
  font-size:18px!important;
  font-weight:900!important;
}

.home-screen-tip p,
.home-screen-tip li{
  color:#d5d7de!important;
  font-size:15px!important;
  line-height:1.55!important;
}

@media(max-width:980px){
  .current-conditions{
    grid-template-columns:1fr!important;
  }
  .forecast-command-hero{
    grid-template-columns:1fr!important;
  }
}

@media(max-width:700px){
  .forecast-page .main{
    width:min(100% - 24px, 1320px)!important;
    padding-top:24px!important;
  }
  .forecast-command-hero h1{
    font-size:64px!important;
  }
  .forecast-command-hero p{
    font-size:17px!important;
  }
  .location-search-row{
    flex-direction:column!important;
  }
  .current-conditions,
  .location-control,
  .alerts-section,
  .outdoor-section,
  .forecast-section{
    padding:18px!important;
  }
  .current-temp{
    font-size:92px!important;
  }
  #currentCondition{
    font-size:42px!important;
  }
}


/* v7 Forecast PFN cleanup — remove VolWX-style orange remnants and force readable PFN contrast */
:root,
body.forecast-page{
  --orange:#e50914!important;
  --orange-2:#ff2a2a!important;
  --accent:#e50914!important;
  --accent-2:#ff2a2a!important;
  --vol-orange:#e50914!important;
  --navy:#101114!important;
  --navy-2:#15161a!important;
  --navy-3:#1b1d22!important;
  --bg:#111216!important;
  --panel:#1b1d22!important;
  --panel-2:#24262d!important;
  --text:#ffffff!important;
  --muted:#d3d5dc!important;
  --border:rgba(255,255,255,.20)!important;
}

/* Page foundation */
body.forecast-page,
.forecast-page{
  background:
    radial-gradient(circle at 82% 6%,rgba(229,9,20,.18),transparent 30rem),
    linear-gradient(180deg,#202126 0%,#15161a 44%,#101115 100%)!important;
  color:#fff!important;
}

.forecast-page *{
  text-rendering:geometricPrecision;
}

.forecast-page .main{
  width:min(1360px,calc(100% - 44px))!important;
}

/* Remove remaining orange-market look and replace with PFN red */
.forecast-page [style*="orange"],
.forecast-page [class*="orange"]{
  color:inherit;
}

.forecast-command-hero h1 .red,
.forecast-page .eyebrow,
.forecast-page .current-location,
.forecast-page .section-title-row .mini-sponsor,
.forecast-page .day-card span:first-child,
.forecast-page .metric-icon,
.forecast-page .temp-scale-label{
  color:#ff3b3b!important;
}

.forecast-page .location-control,
.forecast-page .current-conditions,
.forecast-page .outdoor-section,
.forecast-page .forecast-section,
.forecast-page .alerts-section,
.forecast-page .home-screen-tip{
  background:linear-gradient(180deg,#202228,#17181d)!important;
  border:1px solid rgba(255,255,255,.22)!important;
  box-shadow:0 22px 60px rgba(0,0,0,.32)!important;
}

.forecast-page .location-control,
.forecast-page .current-conditions{
  border-top:5px solid #e50914!important;
}

.forecast-page .forecast-command-hero p,
.forecast-page .forecast-source-card p,
.forecast-page .location-note,
.forecast-page #homeLocationNote,
.forecast-page .current-insight,
.forecast-page .observation-note,
.forecast-page .weather-snapshot li,
.forecast-page .alert-item p,
.forecast-page .alert-full-text,
.forecast-page .alert-areas,
.forecast-page .home-screen-tip p,
.forecast-page .home-screen-tip li{
  color:#eef0f5!important;
  opacity:1!important;
}

/* Search/location block */
.forecast-page .location-search label,
.forecast-page .radar-location-form label{
  color:#fff!important;
  font-size:13px!important;
}

.forecast-page input,
.forecast-page .location-search input{
  background:#0b0c0f!important;
  color:#ffffff!important;
  border:1px solid rgba(255,255,255,.30)!important;
  font-size:17px!important;
}

.forecast-page input::placeholder{
  color:#c2c5cf!important;
}

.forecast-page .button,
.forecast-page .location-search-row button,
.forecast-page .refresh-button{
  background:#e50914!important;
  border:1px solid #e50914!important;
  color:#fff!important;
  text-shadow:none!important;
}

.forecast-page .location-current-button{
  background:rgba(229,9,20,.10)!important;
  border:1px solid rgba(229,9,20,.32)!important;
  color:#fff!important;
}

/* Current condition block */
.forecast-page .current-temp,
.forecast-page .current-temp .temp-number,
.forecast-page .current-temp .temp-degree{
  color:#fff!important;
  text-shadow:0 10px 30px rgba(0,0,0,.35)!important;
}

.forecast-page #currentCondition,
.forecast-page .current-condition{
  color:#ffffff!important;
  text-shadow:0 6px 20px rgba(0,0,0,.28)!important;
}

.forecast-page .current-icon,
.forecast-page .day-icon,
.forecast-page .hourly-icon{
  color:#ff3b3b!important;
  filter:drop-shadow(0 0 10px rgba(229,9,20,.32))!important;
}

/* Details cards */
.forecast-page .current-details,
.forecast-page .weather-snapshot,
.forecast-page .current-metric,
.forecast-page .outdoor-card,
.forecast-page .hourly-graph-card,
.forecast-page .day-card,
.forecast-page .alert-item{
  background:#14161b!important;
  border:1px solid rgba(255,255,255,.20)!important;
  color:#fff!important;
}

.forecast-page .current-metric{
  min-height:86px!important;
  padding:15px!important;
}

.forecast-page .current-metric span:not(.metric-icon),
.forecast-page .outdoor-card small,
.forecast-page .day-meta,
.forecast-page .hourly-condition,
.forecast-page .hourly-wind{
  color:#d7dae3!important;
  opacity:1!important;
}

.forecast-page .current-metric strong{
  color:#ffffff!important;
  font-size:23px!important;
  line-height:1.15!important;
  word-break:normal!important;
}

.forecast-page .metric-icon{
  background:rgba(229,9,20,.12)!important;
  border:1px solid rgba(229,9,20,.28)!important;
}

/* Today's snapshot */
.forecast-page .weather-snapshot{
  background:#101216!important;
}

.forecast-page .weather-snapshot span{
  color:#ff4b4b!important;
}

.forecast-page .weather-snapshot ul,
.forecast-page .weather-snapshot ol{
  padding-left:20px!important;
}

/* Outdoor score cards */
.forecast-page .outdoor-grid{
  grid-template-columns:repeat(auto-fit,minmax(205px,1fr))!important;
}

.forecast-page .outdoor-card{
  min-height:190px!important;
}

.forecast-page .outdoor-card-button{
  align-items:flex-start!important;
  min-height:188px!important;
}

.forecast-page .outdoor-icon{
  background:rgba(229,9,20,.10)!important;
  border:1px solid rgba(229,9,20,.24)!important;
  color:#ff4b4b!important;
}

.forecast-page .outdoor-card strong{
  color:#fff!important;
  font-size:17px!important;
}

.forecast-page .outdoor-card b{
  color:#fff!important;
  min-width:42px!important;
}

/* Hourly section readability */
.forecast-page .hourly-graph-card{
  padding:22px!important;
  overflow:hidden!important;
}

.forecast-page .hourly-graph-stage{
  background:#090a0d!important;
  border:1px solid rgba(255,255,255,.18)!important;
  min-height:420px!important;
}

.forecast-page .hourly-time,
.forecast-page .hourly-pop{
  color:#ffffff!important;
}

.forecast-page .hourly-point-label{
  color:#fff!important;
  background:rgba(0,0,0,.54)!important;
  border:1px solid rgba(255,255,255,.16)!important;
  border-radius:999px!important;
  padding:2px 5px!important;
  z-index:6!important;
}

.forecast-page .hourly-line-temp{
  stroke:#ff3b3b!important;
  stroke-width:3!important;
}

.forecast-page .hourly-line-feels-like{
  stroke:#f8d84a!important;
  stroke-width:3!important;
}

.forecast-page .hourly-plot-dot{
  box-shadow:0 0 0 2px rgba(0,0,0,.8),0 0 12px currentColor!important;
}

/* 7-day forecast cards */
.forecast-page .daily-grid{
  grid-template-columns:repeat(auto-fit,minmax(175px,1fr))!important;
  gap:14px!important;
}

.forecast-page .day-card{
  min-height:190px!important;
  padding:18px!important;
}

.forecast-page .day-card:before{
  background:linear-gradient(90deg,#e50914,#111)!important;
}

.forecast-page .day-condition,
.forecast-page .day-temps{
  color:#ffffff!important;
}

.forecast-page .day-temps{
  font-size:24px!important;
}

/* Alerts */
.forecast-page .alert-badge{
  background:#e50914!important;
  color:#fff!important;
}

.forecast-page .alert-summary h3,
.forecast-page .alert-item h3{
  color:#fff!important;
}

.forecast-page .alert-meta span{
  background:rgba(229,9,20,.12)!important;
  border:1px solid rgba(229,9,20,.28)!important;
  color:#ff7a7a!important;
}

/* Replace remaining orange buttons/lines with PFN red through common class patterns */
.forecast-page .install-button,
.forecast-page .home-screen-tip summary,
.forecast-page .section-title-row strong,
.forecast-page .forecast-heading h2,
.forecast-page .current-details-title{
  color:#fff!important;
}

.forecast-page a{
  color:#ff6b6b!important;
}

/* If old VolWX CSS creates orange borders/shadows, neutralize with PFN red */
.forecast-page .panel,
.forecast-page .location-control,
.forecast-page .current-conditions,
.forecast-page .forecast-section,
.forecast-page .outdoor-section,
.forecast-page .alerts-section{
  --orange:#e50914!important;
  --orange-2:#ff2a2a!important;
}

/* Mobile: prioritize readability */
@media(max-width:700px){
  .forecast-page .main{
    width:min(100% - 24px, 1360px)!important;
  }
  .forecast-command-hero h1{
    font-size:60px!important;
  }
  .forecast-page .current-temp{
    font-size:88px!important;
  }
  .forecast-page #currentCondition{
    font-size:38px!important;
  }
  .forecast-page .current-metric strong{
    font-size:20px!important;
  }
  .forecast-page .hourly-graph-stage{
    min-height:390px!important;
  }
}


/* v8 official logo compatibility */
.forecast-page .pfn-header-logo{
  filter:drop-shadow(0 10px 22px rgba(0,0,0,.28));
}


/* v9 UNIFIED PLACEFILENATION FORECAST THEME
   This final block makes forecast.php match radar.php and index.php:
   charcoal / black panels, PFN red accents, no VolWX orange look, readable labels/icons. */
:root{
  --pfn-red:#e50914;
  --pfn-red-2:#ff2a2a;
  --pfn-black:#050506;
  --pfn-black-2:#0b0b0d;
  --pfn-bg:#070708;
  --pfn-page-top:#151519;
  --pfn-panel:#111114;
  --pfn-panel-2:#18181d;
  --pfn-card:#15161a;
  --pfn-card-2:#1a1b20;
  --pfn-line:rgba(255,255,255,.12);
  --pfn-line-2:rgba(255,255,255,.18);
  --pfn-text:#ffffff;
  --pfn-muted:#a6a6ad;
  --pfn-soft:#d7d9e0;
  --orange:#e50914!important;
  --orange-2:#ff2a2a!important;
  --accent:#e50914!important;
}

body.forecast-unified-page,
body.forecast-page{
  background:
    radial-gradient(circle at 84% 4%,rgba(229,9,20,.16),transparent 30rem),
    linear-gradient(180deg,#151519 0%,#0e0e10 42%,#09090b 100%)!important;
  color:var(--pfn-text)!important;
}

/* Make forecast use the same page width/spacing feel as radar */
.forecast-page .main{
  width:min(1320px, calc(100% - 42px))!important;
  max-width:1320px!important;
  margin:0 auto!important;
  padding:32px 0 46px!important;
}

/* Hero aligns with radar/index look */
.forecast-command-hero{
  display:grid!important;
  grid-template-columns:minmax(0,1.05fr) minmax(320px,.55fr)!important;
  gap:24px!important;
  align-items:end!important;
  margin:0 0 22px!important;
}

.forecast-command-hero h1{
  margin:0!important;
  font-family:'Bebas Neue',sans-serif!important;
  font-size:clamp(60px,7vw,112px)!important;
  line-height:.88!important;
  letter-spacing:.03em!important;
  color:#fff!important;
  text-transform:uppercase!important;
}

.forecast-command-hero h1 .red{
  color:var(--pfn-red-2)!important;
}

.forecast-command-hero p{
  margin:14px 0 0!important;
  max-width:850px!important;
  color:rgba(255,255,255,.72)!important;
  font-size:17px!important;
  line-height:1.65!important;
}

.forecast-source-card{
  border:1px solid var(--pfn-line)!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.035))!important;
  box-shadow:0 24px 70px rgba(0,0,0,.28)!important;
}

.forecast-source-card h2{
  color:#fff!important;
}

.forecast-source-card p{
  color:rgba(255,255,255,.62)!important;
  font-size:14px!important;
  line-height:1.58!important;
}

/* Global text/readability */
.forecast-page .eyebrow{
  color:var(--pfn-red-2)!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.19em!important;
  text-transform:uppercase!important;
}

.forecast-page p,
.forecast-page li,
.forecast-page small,
.forecast-page span{
  text-shadow:none!important;
}

.forecast-page a{
  color:#ff6b6b!important;
}

/* Panels/cards */
.forecast-page .panel,
.forecast-page .location-control,
.forecast-page .current-conditions,
.forecast-page .alerts-section,
.forecast-page .outdoor-section,
.forecast-page .forecast-section,
.forecast-page .home-screen-tip{
  border:1px solid var(--pfn-line)!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.035))!important;
  box-shadow:0 24px 70px rgba(0,0,0,.28)!important;
  color:#fff!important;
}

.forecast-page .location-control,
.forecast-page .current-conditions{
  border-top:0!important;
}

/* Location control */
.forecast-page .location-control{
  padding:20px!important;
  margin-bottom:18px!important;
}

.forecast-page .location-saved-bar{
  background:rgba(229,9,20,.10)!important;
  border:1px solid rgba(229,9,20,.28)!important;
  color:#fff!important;
  border-radius:16px!important;
}

.forecast-page .location-search label,
.forecast-page .radar-location-form label{
  color:rgba(255,255,255,.72)!important;
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.13em!important;
  text-transform:uppercase!important;
}

.forecast-page input,
.forecast-page .location-search input{
  min-height:48px!important;
  border:1px solid rgba(255,255,255,.14)!important;
  border-radius:14px!important;
  background:rgba(0,0,0,.22)!important;
  color:#fff!important;
  font-size:15px!important;
}

.forecast-page input::placeholder{
  color:rgba(255,255,255,.42)!important;
}

.forecast-page input:focus{
  border-color:rgba(229,9,20,.65)!important;
  box-shadow:0 0 0 4px rgba(229,9,20,.12)!important;
  outline:none!important;
}

.forecast-page .button,
.forecast-page .location-search-row button,
.forecast-page .refresh-button{
  min-height:48px!important;
  border:1px solid var(--pfn-red)!important;
  border-radius:14px!important;
  background:var(--pfn-red)!important;
  color:#fff!important;
  box-shadow:none!important;
  text-shadow:none!important;
}

.forecast-page .location-current-button{
  background:rgba(255,255,255,.045)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  color:#fff!important;
  border-radius:999px!important;
}

.forecast-page .location-note,
.forecast-page #homeLocationNote{
  color:rgba(255,255,255,.55)!important;
  font-size:12px!important;
  line-height:1.55!important;
}

/* Alerts */
.forecast-page .alerts-section{
  padding:20px!important;
  margin-bottom:18px!important;
}

.forecast-page .alert-badge{
  background:var(--pfn-red)!important;
  color:#fff!important;
  border-radius:999px!important;
  box-shadow:none!important;
}

.forecast-page .alert-item{
  background:rgba(0,0,0,.20)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-left:4px solid var(--pfn-red)!important;
  border-radius:18px!important;
}

.forecast-page .alert-item h3{
  color:#fff!important;
  font-size:16px!important;
}

.forecast-page .alert-item p,
.forecast-page .alert-full-text,
.forecast-page .alert-areas{
  color:rgba(255,255,255,.68)!important;
  font-size:13px!important;
  line-height:1.55!important;
}

/* Current conditions layout */
.forecast-page .current-conditions{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(340px,.55fr)!important;
  gap:18px!important;
  padding:22px!important;
  margin-bottom:18px!important;
}

.forecast-page .section-title-row .mini-sponsor{
  background:rgba(229,9,20,.12)!important;
  border:1px solid rgba(229,9,20,.28)!important;
  color:#ff6b6b!important;
}

.forecast-page .current-temp{
  color:#fff!important;
  font-family:'Bebas Neue',sans-serif!important;
  font-size:clamp(76px,8vw,112px)!important;
  line-height:.88!important;
}

.forecast-page .current-temp .temp-number,
.forecast-page .current-temp .temp-degree{
  font-family:'Bebas Neue',sans-serif!important;
  color:#fff!important;
}

.forecast-page #currentCondition,
.forecast-page .current-condition{
  color:#fff!important;
  font-family:'Bebas Neue',sans-serif!important;
  font-size:clamp(34px,3.8vw,58px)!important;
  line-height:.95!important;
  letter-spacing:.04em!important;
}

.forecast-page .current-location{
  color:var(--pfn-red-2)!important;
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:.10em!important;
  text-transform:uppercase!important;
}

.forecast-page .current-insight{
  color:rgba(255,255,255,.72)!important;
  font-size:15px!important;
  line-height:1.62!important;
}

/* Weather SVGs: PFN red/white/gray, no orange VolWX weather icon look */
.forecast-page .weather-svg{
  width:1em!important;
  height:1em!important;
  display:block!important;
  color:var(--pfn-red-2)!important;
  stroke:currentColor!important;
  fill:none!important;
  stroke-width:1.85!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  filter:drop-shadow(0 0 14px rgba(229,9,20,.25))!important;
}

.forecast-page .weather-svg .fill-soft,
.forecast-page .weather-svg .fill-cloud{
  fill:rgba(229,9,20,.18)!important;
  stroke:var(--pfn-red-2)!important;
}

.forecast-page .weather-svg-cloud,
.forecast-page .weather-svg-fog,
.forecast-page .weather-svg-snow{
  color:#d7d9df!important;
  filter:drop-shadow(0 0 10px rgba(255,255,255,.12))!important;
}

.forecast-page .weather-svg-cloud .fill-cloud,
.forecast-page .weather-svg-fog .fill-cloud,
.forecast-page .weather-svg-snow .fill-cloud{
  fill:rgba(255,255,255,.12)!important;
  stroke:#d7d9df!important;
}

.forecast-page .current-icon,
.forecast-page .day-icon,
.forecast-page .hourly-icon{
  color:var(--pfn-red-2)!important;
  filter:none!important;
}

/* Current details */
.forecast-page .current-details,
.forecast-page .weather-snapshot,
.forecast-page .current-metric,
.forecast-page .outdoor-card,
.forecast-page .hourly-graph-card,
.forecast-page .day-card{
  background:rgba(0,0,0,.20)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:18px!important;
  color:#fff!important;
}

.forecast-page .current-details{
  padding:18px!important;
}

.forecast-page .current-details-title,
.forecast-page .forecast-heading h2{
  color:#fff!important;
  font-family:'Bebas Neue',sans-serif!important;
  letter-spacing:.04em!important;
}

.forecast-page .current-metric{
  min-height:78px!important;
  padding:14px!important;
}

.forecast-page .current-metric span:not(.metric-icon){
  color:rgba(255,255,255,.50)!important;
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.10em!important;
  text-transform:uppercase!important;
}

.forecast-page .current-metric strong{
  color:#fff!important;
  font-size:20px!important;
  line-height:1.18!important;
}

.forecast-page .metric-icon,
.forecast-page .outdoor-icon{
  background:rgba(229,9,20,.10)!important;
  border:1px solid rgba(229,9,20,.20)!important;
  color:var(--pfn-red-2)!important;
}

/* Snapshot */
.forecast-page .weather-snapshot{
  padding:16px!important;
}

.forecast-page .weather-snapshot span{
  color:var(--pfn-red-2)!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
}

.forecast-page .weather-snapshot li{
  color:rgba(255,255,255,.66)!important;
  font-size:13px!important;
  line-height:1.55!important;
}

/* Outdoor section */
.forecast-page .outdoor-section,
.forecast-page .forecast-section{
  padding:22px!important;
  margin-bottom:18px!important;
}

.forecast-page .outdoor-grid{
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr))!important;
  gap:12px!important;
}

.forecast-page .outdoor-card-button{
  padding:15px!important;
}

.forecast-page .outdoor-card strong{
  color:#fff!important;
  font-size:15px!important;
}

.forecast-page .outdoor-card small{
  color:rgba(255,255,255,.58)!important;
  font-size:12px!important;
  line-height:1.42!important;
}

.forecast-page .outdoor-card b{
  color:#fff!important;
}

/* Hourly graph */
.forecast-page .hourly-graph-card{
  background:rgba(0,0,0,.24)!important;
  padding:18px!important;
  overflow:hidden!important;
}

.forecast-page .hourly-graph-stage{
  background:#09090b!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:18px!important;
}

.forecast-page .hourly-time{
  color:#fff!important;
  font-size:11px!important;
  font-weight:900!important;
}

.forecast-page .hourly-condition,
.forecast-page .hourly-wind{
  color:rgba(255,255,255,.58)!important;
}

.forecast-page .hourly-pop{
  color:#20e070!important;
  font-weight:900!important;
}

.forecast-page .hourly-line-temp{
  stroke:var(--pfn-red-2)!important;
  stroke-width:3!important;
}

.forecast-page .hourly-line-feels-like{
  stroke:#facc15!important;
  stroke-width:2!important;
}

.forecast-page .hourly-point-label{
  color:#fff!important;
  font-weight:900!important;
  text-shadow:0 1px 4px rgba(0,0,0,.95)!important;
}

/* Daily */
.forecast-page .daily-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(165px,1fr))!important;
  gap:12px!important;
}

.forecast-page .day-card{
  min-height:168px!important;
  padding:16px!important;
  position:relative!important;
  overflow:hidden!important;
}

.forecast-page .day-card:before{
  content:""!important;
  position:absolute!important;
  left:0!important;
  top:0!important;
  height:3px!important;
  width:100%!important;
  background:linear-gradient(90deg,var(--pfn-red),#111)!important;
}

.forecast-page .day-card span:first-child{
  color:var(--pfn-red-2)!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.10em!important;
  text-transform:uppercase!important;
}

.forecast-page .day-condition,
.forecast-page .day-temps{
  color:#fff!important;
}

.forecast-page .day-meta{
  color:rgba(255,255,255,.56)!important;
}

/* Home-screen tip */
.forecast-page .home-screen-tip{
  color:rgba(255,255,255,.70)!important;
}

.forecast-page .home-screen-tip summary{
  color:#fff!important;
  font-weight:900!important;
}

/* Hard kill remaining orange-looking VolWX values */
.forecast-page [style*="#ff8c00"],
.forecast-page [style*="orange"]{
  color:var(--pfn-red-2)!important;
  border-color:rgba(229,9,20,.28)!important;
}

@media(max-width:980px){
  .forecast-command-hero,
  .forecast-page .current-conditions{
    grid-template-columns:1fr!important;
  }
}

@media(max-width:700px){
  .forecast-page .main{
    width:min(100% - 28px,1320px)!important;
    padding-top:24px!important;
  }
  .forecast-command-hero h1{
    font-size:58px!important;
  }
  .forecast-command-hero p{
    font-size:16px!important;
  }
  .forecast-page .location-search-row{
    flex-direction:column!important;
  }
  .forecast-page .current-temp{
    font-size:86px!important;
  }
  .forecast-page #currentCondition{
    font-size:38px!important;
  }
}


/* v10 let shared index navigation control forecast page */
body.forecast-page .nav.pfn-index-nav{
  background:rgba(5,5,5,.86)!important;
}
body.forecast-page .pfn-index-nav .nav-links a{
  color:rgba(255,255,255,.72)!important;
}
body.forecast-page .pfn-index-nav .nav-links a:hover,
body.forecast-page .pfn-index-nav .nav-links a.active{
  color:#fff!important;
  background:rgba(229,9,20,.22)!important;
}


/* v11 forecast logo fix: no orange pill/background on the nav logo */
body.forecast-page .nav.pfn-index-nav .site-logo,
body.forecast-page .nav.pfn-index-nav .site-logo *,
body.forecast-page .nav.pfn-index-nav .site-logo picture,
body.forecast-page .nav.pfn-index-nav .site-logo-img{
  background-color:transparent!important;
  background-image:none!important;
  border-color:transparent!important;
  box-shadow:none!important;
}

body.forecast-page .nav.pfn-index-nav .site-logo-img{
  filter:drop-shadow(0 8px 22px rgba(0,0,0,.55))!important;
}


/* v12 forecast/radar unified nav compatibility */
body.forecast-page .top-strip,
body.radar-engine-page .top-strip{
  background:linear-gradient(90deg,#2a0000,#e50914,#2a0000)!important;
  color:#fff!important;
}
body.forecast-page .nav.pfn-index-nav,
body.radar-engine-page .nav.pfn-index-nav{
  background:rgba(5,5,5,.86)!important;
}
body.forecast-page .nav.pfn-index-nav .site-logo,
body.forecast-page .nav.pfn-index-nav .site-logo *,
body.forecast-page .nav.pfn-index-nav .site-logo-img{
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  padding:0!important;
}
body.forecast-page .pfn-index-nav .nav-links a,
body.radar-engine-page .pfn-index-nav .nav-links a{
  color:rgba(255,255,255,.72)!important;
}
body.forecast-page .pfn-index-nav .nav-links a:hover,
body.forecast-page .pfn-index-nav .nav-links a.active,
body.radar-engine-page .pfn-index-nav .nav-links a:hover,
body.radar-engine-page .pfn-index-nav .nav-links a.active{
  color:#fff!important;
  background:rgba(229,9,20,.22)!important;
}
