body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #000000;
    letter-spacing: -0.01em;
  }

  main {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
  }

  :root {
    --radar-map-top: 64px;
    --radar-toolbar-top: 64px;
  }

  a {
        color: white;
  }

  .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  @media only screen and (max-width: 768px) {
    .container {
    flex-wrap: wrap;
    align-items: flex-start;
    }
    .buttons {
      order: 2;
    }
    .links {
      order: 3;
    }
  }

  
#timestamp {
    position: absolute;
    top: calc(var(--radar-map-top) + 14px);
    right: 16px;
    z-index: 1000;
    min-width: 148px;
    max-width: min(260px, calc(100vw - 32px));
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(12, 16, 22, 0.82);
    color: rgba(255,255,255,0.96);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  #locationNotice {
    position: absolute;
    top: calc(var(--radar-map-top) + 68px);
    right: 16px;
    z-index: 1000;
    max-width: min(280px, calc(100vw - 32px));
    padding: 9px 11px;
    border-radius: 10px;
    background: rgba(18, 24, 32, 0.88);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.92);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  #locationNotice.visible {
    opacity: 1;
    transform: translateY(0);
  }

  #locationNotice.error {
    border-color: rgba(255, 140, 140, 0.32);
    color: rgba(255, 226, 226, 0.97);
  }

  #mapid {
    position: absolute;
    top: var(--radar-map-top);
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
  }

  #mapid .leaflet-top {
    top: 8px;
  }

  #mapid .leaflet-left {
    left: 8px;
  }
  
  #legend {
    position: absolute;
    bottom: 50px;
    left: 20px;
    padding: 10px;
    z-index: 3;
    opacity: 80%;
    width: 45%;
    max-width: 200px;
    max-height: 400px;
}

@media screen and (max-width: 780px) { 
    #legend {
      max-width: 125px;
    }
}

  p{
    position: absolute;
    font-size: 10;
    background-color: #0000;
    color: white;
    border-radius: 20px;
    bottom: 5px;
    left: 20px;
    padding: 10px;
    z-index: 3;
    opacity: 0.9;
    max-width: 35%;
    z-index: 4;
  }
  h1 {
    opacity: 0;
  } 

.siteNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 14px;
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  box-sizing: border-box;
}

.navLogo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.navLogo img {
  display: block;
  height: 34px;
}

.siteNavLinksDesktop {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-left: auto;
}

.siteNavToggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.siteNavToggle:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22);
}

.siteNavPanel {
  position: absolute;
  top: calc(100% + 8px);
  right: 18px;
  width: min(250px, calc(100vw - 24px));
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(10, 12, 18, 0.94);
  box-shadow: 0 18px 46px rgba(0,0,0,0.34);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.siteNavPanel[hidden] {
  display: none !important;
}

.menuIcon {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}

.menuIcon span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.controlIcon {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr;
  gap: 3px;
  width: 18px;
}

.controlIcon::before {
  content: "";
  position: absolute;
  inset: -3px -4px;
  border: 1px solid rgba(125, 220, 255, 0.26);
  border-radius: 6px;
  box-shadow: inset 0 0 12px rgba(64, 184, 255, 0.12);
}

.controlIcon span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #86f3ff 0%, #d3fbff 100%);
  box-shadow: 0 0 10px rgba(134, 243, 255, 0.26);
}

.controlIcon span:nth-child(1) {
  width: 14px;
  margin-left: 2px;
}

.controlIcon span:nth-child(2) {
  width: 10px;
  margin-left: 6px;
}

.controlIcon span:nth-child(3) {
  width: 14px;
  margin-left: 2px;
}

.siteNavLink {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: left;
  text-decoration: none;
  line-height: 1.15;
}

.siteNavLink.active {
  background-color: rgba(255,255,255,0.16);
}

.siteNavLink--desktop {
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
}

.navLogo::before,
.siteNavLink::before {
  display: none;
}

.siteNavLink:hover {
  background-color: rgba(255,255,255,0.12);
}

.navLogo:hover {
  background-color: transparent;
}
  
  a {
    position: relative;
    text-decoration: none;
    z-index: 2;
  }
  a:hover::before {
    visibility: visible;
    transform: scaleX(1);
  }
  
  a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: white;
    visibility: hidden;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
    z-index: 2;
  }
/* Modern Toolbar */
.radarToolbar {
  position: fixed;
  right: 16px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.toolbarGroup {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.toolbarGroup--menu {
  margin-left: 0;
}
.toolbarSubnote {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 14px 8px;
  color: rgba(255,255,255,0.58);
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.toolbarDivider {
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,0.14);
  margin: 0 4px;
}
.pillToggle {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.pillToggle input { display: none; }
.pillToggle span {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.pillToggle input:checked + span,
.pillToggle.lightning input:checked + span {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border-color: rgba(255,255,255,0.28);
  box-shadow: 0 0 12px rgba(255,255,255,0.08);
}
.pillToggle:hover span {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.20);
}
.tbBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.82);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  gap: 4px;
}
.tbBtn:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.22);
}
.tbBtn.playBtn {
  min-width: 72px;
  background: rgba(255,255,255,0.12);
}
.radarMenuToggle {
  min-width: 176px;
  padding: 10px 14px;
  border-color: rgba(255,255,255,0.18);
  background: rgba(10, 12, 18, 0.94);
  box-shadow: 0 14px 32px rgba(0,0,0,0.30);
}
.radarMenuToggleText {
  display: inline-flex;
  align-items: center;
}
.radarMenuPanel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  width: min(420px, calc(100vw - 32px));
  margin: 0;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(10, 12, 18, 0.94);
  box-shadow: 0 18px 46px rgba(0,0,0,0.34);
  max-height: calc(100svh - var(--radar-map-top) - 96px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.radarMenuPanel[hidden] {
  display: none !important;
}
.radarMenuHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.radarMenuTitle {
  color: rgba(255,255,255,0.96);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.radarMenuClose {
  min-width: 72px;
}
.radarMenuSection {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.radarMenuSection + .radarMenuSection {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.radarMenuLabel {
  color: rgba(255,255,255,0.56);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.radarSliderGroup {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.radarSliderRow {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.84);
  font-size: 12px;
  font-weight: 700;
}
.radarSliderRow label {
  white-space: nowrap;
}
.radarSliderRow input[type="range"] {
  width: 100%;
  min-width: 0;
}
.radarSliderRow span {
  text-align: right;
}

.radarUtilityBar {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 54px;
  z-index: 1650;
  display: flex;
  align-items: center;
  gap: 8px;
}

.opacityToggle {
  margin-left: auto;
  background: rgba(30, 30, 30, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.9);
}

.opacityToggle:hover {
  background: rgba(42, 42, 42, 0.92);
  border-color: rgba(255,255,255,0.2);
}

.opacityPanel {
  position: absolute;
  right: 16px;
  bottom: 102px;
  z-index: 1651;
  width: min(320px, calc(100vw - 32px));
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(30, 30, 30, 0.96);
  box-shadow: 0 18px 46px rgba(0,0,0,0.34);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.opacityPanel[hidden] {
  display: none !important;
}

.opacityPanelHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.opacityPanelTitle {
  color: rgba(255,255,255,0.96);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

@media (max-width: 600px) {
  .siteNav {
    min-height: 46px;
    padding: 4px 10px;
  }
  .navLogo img {
    height: 30px;
  }
  .siteNavLinksDesktop {
    display: none;
  }
  .siteNavToggle {
    display: inline-flex;
  }
  .siteNavPanel {
    right: 12px;
    width: min(240px, calc(100vw - 24px));
  }
  .siteNavLink {
    min-height: 38px;
    font-size: 12px;
  }
  .toolbarInner { gap: 4px; padding: 0; }
  .toolbarDivider { display: none; }
  .pillToggle span, .tbBtn { font-size: 12px; padding: 5px 10px; }
  .radarToolbar {
    position: absolute;
    top: var(--radar-toolbar-top);
    left: 0;
    right: 0;
    bottom: auto;
    z-index: 1750;
    padding: 8px 12px;
    background: rgba(8, 12, 18, 0.9);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    justify-content: flex-start;
  }
  .radarMenuPanel {
    position: absolute;
    left: 8px;
    right: 8px;
    top: calc(100% + 8px);
    bottom: auto;
    padding: 16px;
    width: auto;
    max-height: calc(100svh - var(--radar-map-top) - 16px);
    border-radius: 22px;
    z-index: 1701;
  }
  .radarMenuToggle {
    position: relative;
    right: auto;
    bottom: auto;
    min-width: 186px;
    padding: 10px 12px;
    z-index: 1702;
  }
  .locBtn {
    display: none;
  }
  .radarUtilityBar {
    left: 16px;
    right: 16px;
    bottom: 54px;
  }
  .opacityPanel {
    right: 16px;
    bottom: 102px;
    width: min(320px, calc(100vw - 32px));
  }
  .radarSliderRow {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .radarSliderRow span {
    text-align: left;
  }
  .locText { display: none; }
}

@media (min-width: 601px) {
  .siteNavPanel {
    display: none !important;
  }
}

.stormMotionLabel {
  pointer-events: none;
  white-space: nowrap;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(10, 14, 20, 0.72);
  backdrop-filter: blur(4px);
  color: rgba(255,255,255,0.92);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 18px rgba(0,0,0,0.24);
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
}

.stormMotionLabel--rain {
  border-color: rgba(167, 219, 255, 0.35);
  color: rgba(223, 241, 255, 0.96);
}

.stormMotionLabel--storm {
  border-color: rgba(255, 198, 91, 0.38);
  color: rgba(255, 232, 177, 0.98);
}

.stormMotionLabelType {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.72;
}

.stormMotionArrowHost,
.stormMotionLabelHost {
  background: transparent;
  border: 0;
}

.stormMotionArrowMarker {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: 50% 50%;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.28));
}

.stormMotionArrowMarker svg {
  overflow: visible;
}

/* Legend: toggle button on mobile, always visible on desktop */
#legendBtn {
  display: none;
}

@media (max-width: 700px) {
  #legend {
    display: none !important;
  }
  #legend.legendVisible {
    display: block !important;
  }
  #legendBtn {
    display: inline-flex;
    position: static;
    z-index: auto;
    background: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.9);
    font-size: 12px;
    padding: 8px 14px;
    border-radius: 999px;
  }
}

/* Below-fold SEO content */
.seoContent {
  background: #000;
  color: rgba(255,255,255,0.88);
  font-family: 'Inter', system-ui, sans-serif;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.seoInner {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 20px 56px;
}
.seoContent h2 {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  color: #fff;
}
.seoContent h2 + .faqList { margin-top: 8px; }
.seoContent p {
  position: static;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.76);
  margin: 0 0 18px;
  max-width: none;
  background: none;
  padding: 0;
  opacity: 1;
}

#stormMotionDisclaimer {
  position: static;
  max-width: 720px;
  margin: 18px auto 0;
}
.seoValue {
  font-size: clamp(17px, 2vw, 21px) !important;
  line-height: 1.45 !important;
  color: rgba(255,255,255,0.94) !important;
  margin-bottom: 14px !important;
}
.seoGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0 40px;
}
.seoCard {
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
}
.seoCard h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff;
}
.seoCard p {
  font-size: 14px;
  margin: 0;
}
.faqList {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}
.faqList details {
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  overflow: hidden;
}
.faqList summary {
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  list-style: none;
}
.faqList summary::-webkit-details-marker { display: none; }
.faqList summary::before {
  content: "+";
  display: inline-block;
  width: 20px;
  font-weight: 800;
  color: rgba(255,255,255,0.5);
  margin-right: 8px;
}
.faqList details[open] summary::before { content: "-"; }
.faqList details p {
  padding: 0 18px 16px;
  font-size: 14px;
  margin: 0;
}
.seoNote {
  font-size: 13px !important;
  color: rgba(255,255,255,0.5) !important;
  margin-top: 8px !important;
}
.seoLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 16px;
}
.seoLinks a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.seoLinks a::before {
  display: none;
}
.seoLinks a:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.22);
}
.seoNote a {
  color: rgba(255,255,255,0.72);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.seoFooterNote {
  padding-top: 18px !important;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px !important;
  color: rgba(255,255,255,0.56) !important;
  text-align: center;
}

@media (max-width: 600px) {
    #timestamp {
        right: 14px;
        min-width: 132px;
        max-width: min(220px, calc(100vw - 28px));
    }
    #locationNotice {
        right: 14px;
        max-width: min(260px, calc(100vw - 28px));
    }
}

.americaFirstNote {
  padding: 6px 4px 0;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
}

#radarCopyright {
  position: absolute;
  bottom: 10px;
  left: 20px;
  z-index: 3;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
