/* VE2NIR TERRESTRIAL WEATHER DEMO V1 */
.terrestrial-weather {
  margin-top: 5rem;
  padding: clamp(1.3rem, 3vw, 2.4rem);
  border: 1px solid rgba(50, 203, 255, .24);
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at 88% 0, rgba(17, 127, 213, .16), transparent 34rem),
    linear-gradient(150deg, rgba(5, 24, 41, .9), rgba(2, 8, 15, .96));
  box-shadow: 0 28px 80px rgba(0, 0, 0, .32);
}
.weather-section-heading {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 2rem;
  padding: .4rem .15rem 2rem;
}
.weather-section-heading .eyebrow { margin-top: 0; }
.weather-section-heading h2 {
  margin: .75rem 0 0;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: .95;
  letter-spacing: -.055em;
}
.weather-section-heading h2 span { color: transparent; -webkit-text-stroke: 1px rgba(235, 247, 255, .48); }
.weather-section-heading > p { max-width: 520px; margin: 0; color: var(--muted); line-height: 1.7; }

.weather-location-search {
  padding: 1.2rem;
  border: 1px solid rgba(130, 196, 235, .18);
  border-radius: .9rem;
  background: rgba(2, 10, 18, .72);
}
.weather-location-search > label {
  display: block;
  margin-bottom: .65rem;
  color: #bfd6e7;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.weather-search-row { display: grid; grid-template-columns: auto minmax(180px, 1fr) auto; align-items: center; gap: .65rem; }
.weather-search-icon { color: var(--cyan); font-size: 1.45rem; }
.weather-search-field { position: relative; min-width: 0; }
.weather-search-row input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(130, 196, 235, .25);
  border-radius: .65rem;
  background: #071725;
  color: var(--ink);
  padding: 0 .95rem;
  font: inherit;
}
.weather-search-row input:focus { border-color: var(--cyan); outline: 2px solid rgba(50, 203, 255, .16); }
.weather-search-row > button {
  min-height: 48px;
  border: 1px solid var(--cyan);
  border-radius: .65rem;
  padding: 0 1rem;
  background: var(--cyan);
  color: #02111c;
  font: inherit;
  font-size: .78rem;
  font-weight: 900;
  cursor: pointer;
}
.weather-search-row > button:hover, .weather-search-row > button:focus-visible { filter: brightness(1.1); outline: 2px solid rgba(50, 203, 255, .2); }
.weather-suggestions {
  position: absolute;
  z-index: 40;
  top: calc(100% + .42rem);
  right: 0;
  left: 0;
  max-height: 310px;
  margin: 0;
  padding: .35rem;
  overflow-y: auto;
  border: 1px solid rgba(50, 203, 255, .42);
  border-radius: .72rem;
  background: #061522;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .52);
  list-style: none;
}
.weather-suggestions[hidden] { display: none; }
.weather-suggestions li + li { border-top: 1px solid rgba(130, 196, 235, .12); }
.weather-suggestions button {
  display: grid;
  gap: .18rem;
  width: 100%;
  border: 0;
  border-radius: .5rem;
  padding: .72rem .8rem;
  background: transparent;
  color: #e6f6fc;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.weather-suggestions button:hover,
.weather-suggestions button:focus-visible,
.weather-suggestions button.is-active { background: rgba(50, 203, 255, .13); outline: none; }
.weather-suggestions strong { font-size: .82rem; }
.weather-suggestions span { color: #83a2b8; font-size: .68rem; }
.weather-search-feedback { display: flex; justify-content: space-between; gap: 1rem; margin: .8rem 0 0 2rem; color: #819cb1; font-size: .75rem; }
.weather-search-feedback strong { color: #dff7ff; }
.weather-search-status { text-align: right; }
.weather-search-status.is-searching { color: #80dcff; }
.weather-search-status.is-success { color: #7ee7b7; }
.weather-search-status.is-error { color: #ff9898; font-weight: 800; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.weather-now {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, .7fr) minmax(0, 1.6fr);
  gap: clamp(1.2rem, 3vw, 3rem);
  align-items: center;
  margin-top: .9rem;
  padding: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(50, 203, 255, .28);
  border-radius: .9rem;
  background: radial-gradient(circle at 85% 18%, rgba(50, 203, 255, .12), transparent 24rem), linear-gradient(120deg, rgba(5, 48, 75, .8), rgba(3, 13, 23, .92));
}
.weather-now article { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: .1rem .85rem; }
.weather-now article > span { grid-column: 1 / -1; color: var(--cyan); font-family: "Courier New", monospace; font-size: .65rem; letter-spacing: .14em; }
.weather-now article strong { font-size: clamp(3rem, 6vw, 5.2rem); line-height: 1; }
.weather-now article small { padding-bottom: .48rem; color: #c2d7e6; line-height: 1.35; }
.weather-now dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin: 0; }
.weather-now dl div { padding: .9rem; border-left: 1px solid rgba(130, 196, 235, .2); }
.weather-now dt { color: #7f9bb0; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.weather-now dd { margin: .45rem 0 0; font-family: "Courier New", monospace; font-weight: 800; }
.weather-jump-nav { display: grid; grid-template-columns: repeat(7, 1fr); gap: .55rem; margin: 1.4rem 0 .9rem; }
.weather-jump-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 50px;
  border: 1px solid rgba(130, 196, 235, .2);
  border-radius: .68rem;
  background: rgba(7, 25, 41, .74);
  color: #c8dce9;
  font-size: .75rem;
  font-weight: 800;
  text-align: center;
}
.weather-jump-nav a span { color: var(--cyan); font-family: "Courier New", monospace; font-size: .64rem; }
.weather-jump-nav a:hover, .weather-jump-nav a:focus-visible { border-color: var(--cyan); background: rgba(17, 127, 213, .16); outline: none; }

.weather-demo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.weather-demo-card {
  scroll-margin-top: 115px;
  min-width: 0;
  padding: 1.15rem;
  border: 1px solid rgba(130, 196, 235, .2);
  border-radius: .9rem;
  background: rgba(2, 10, 18, .78);
}
.weather-demo-card > header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: .9rem; }
.weather-card-index { display: block; margin-bottom: .42rem; color: var(--cyan); font-family: "Courier New", monospace; font-size: .62rem; letter-spacing: .12em; }
.weather-demo-card h3 { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.9rem); letter-spacing: -.03em; }
.weather-demo-card > header em { flex: 0 0 auto; border: 1px solid rgba(93, 229, 176, .28); border-radius: 999px; padding: .38rem .52rem; background: rgba(93, 229, 176, .06); color: #7ee7b7; font-size: .53rem; font-style: normal; font-weight: 900; letter-spacing: .08em; }
.weather-demo-card > p { min-height: 3.2em; margin: .85rem 0; color: #93adc1; font-size: .82rem; line-height: 1.55; }
.weather-demo-card > footer { display: flex; justify-content: flex-end; align-items: center; gap: 1rem; margin-top: .85rem; color: #6f8ca3; font-size: .68rem; }
.weather-demo-card > footer a { color: var(--cyan); font-weight: 800; }
.weather-forecast-card, #foudre, .weather-windy-card, .weather-accuweather-card { grid-column: 1 / -1; }

.forecast-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .55rem; }
.forecast-day { display: grid; justify-items: center; gap: .4rem; min-height: 164px; padding: .85rem .55rem; border: 1px solid rgba(130, 196, 235, .16); border-radius: .68rem; background: linear-gradient(155deg, rgba(11, 42, 64, .65), rgba(5, 17, 28, .88)); text-align: center; }
.forecast-day.is-today { border-color: rgba(50, 203, 255, .52); box-shadow: inset 0 0 30px rgba(50, 203, 255, .06); }
.forecast-day span { color: #c6dbea; font-size: .7rem; font-weight: 800; }
.forecast-day b { color: #ffd65a; font-size: 2rem; font-weight: 400; }
.forecast-day strong { font-size: 1.55rem; }
.forecast-day small { color: #7f9aae; font-size: .68rem; }

.weather-health-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  margin-top: .8rem;
}
.weather-health-card {
  --health-accent: #5de5b0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .85rem;
  min-width: 0;
  padding: .9rem 1rem;
  border: 1px solid color-mix(in srgb, var(--health-accent) 34%, transparent);
  border-radius: .68rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--health-accent) 9%, #061522), rgba(3, 13, 23, .92));
}
.weather-health-card[data-level="moderate"] { --health-accent: #ffd65a; }
.weather-health-card[data-level="sensitive"] { --health-accent: #ff9d4d; }
.weather-health-card[data-level="poor"],
.weather-health-card[data-level="very-poor"],
.weather-health-card[data-level="hazardous"] { --health-accent: #ff6868; }
.weather-health-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--health-accent) 45%, transparent);
  border-radius: 50%;
  color: var(--health-accent);
  font-size: 1.35rem;
  box-shadow: inset 0 0 20px color-mix(in srgb, var(--health-accent) 10%, transparent);
}
.weather-health-icon-uv { color: #ffd65a; }
.weather-health-card > div:nth-child(2) > span {
  color: #8caabd;
  font-family: "Courier New", monospace;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .1em;
}
.weather-health-card > div:nth-child(2) > strong { display: block; margin-top: .22rem; color: var(--health-accent); }
.weather-health-card > div:nth-child(2) > strong b { font-size: 1.9rem; }
.weather-health-card > div:nth-child(2) > strong small { color: #a9c0d0; font-size: .62rem; text-transform: uppercase; }
.weather-health-card p { margin: .12rem 0 0; color: #d2e5ef; font-size: .7rem; }
.weather-health-card dl { display: flex; gap: .75rem; margin: 0; }
.weather-health-card dl div { padding-left: .7rem; border-left: 1px solid rgba(130, 196, 235, .18); }
.weather-health-card dt { color: #7895aa; font-size: .56rem; text-transform: uppercase; }
.weather-health-card dd { margin: .22rem 0 0; color: #e3f4fb; font-family: "Courier New", monospace; font-size: .68rem; font-weight: 800; white-space: nowrap; }

.cape-readout {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 116px;
  padding: 1rem;
  border: 1px solid rgba(130, 196, 235, .16);
  border-radius: .68rem;
  background: radial-gradient(circle at 15% 50%, rgba(50, 203, 255, .12), transparent 12rem), #061522;
}
.cape-value { display: flex; align-items: baseline; gap: .3rem; min-width: 122px; color: #7fe5ff; }
.cape-value strong { font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: 1; }
.cape-value span { color: #8caabd; font-family: "Courier New", monospace; font-size: .65rem; }
.cape-readout b { color: #e5f6fc; font-size: 1rem; }
.cape-readout p { min-height: 0; margin: .35rem 0 0; color: #8da7ba; font-size: .73rem; line-height: 1.45; }
.cape-scale {
  position: relative;
  height: 8px;
  margin: .8rem 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #5de5b0 0 12%, #d6dd63 24%, #ffd65a 42%, #ff9d4d 68%, #ff6868 100%);
}
.cape-scale i {
  position: absolute;
  left: var(--cape-position, 1.5%);
  top: 50%;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #071725;
  box-shadow: 0 0 12px rgba(255, 255, 255, .45);
  transform: translate(-50%, -50%);
  transition: left .45s ease;
}
.cape-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem; margin: 0; }
.cape-details div { padding: .7rem .8rem; border-left: 1px solid rgba(130, 196, 235, .2); background: rgba(7, 25, 41, .5); }
.cape-details dt { color: #7895aa; font-size: .58rem; text-transform: uppercase; }
.cape-details dd { margin: .28rem 0 0; color: #e4f6fd; font-family: "Courier New", monospace; font-size: .75rem; font-weight: 800; }
.weather-cape-card[data-level="high"] .cape-value,
.weather-cape-card[data-level="extreme"] .cape-value { color: #ff9d4d; }
.weather-storm-card > footer { justify-content: flex-start; line-height: 1.45; }
.weather-map-state.is-calm { border-color: rgba(93, 229, 176, .34); color: #d7f7e8; }
.weather-map-state.is-calm i { background: #5de5b0; box-shadow: 0 0 11px rgba(93, 229, 176, .72); animation: none; }

.weather-map { position: relative; height: 330px; overflow: hidden; border: 1px solid rgba(130, 196, 235, .2); border-radius: .68rem; background-color: #061522; isolation: isolate; }
.weather-live-map-shell {
  position: relative;
  height: 330px;
  overflow: hidden;
  border: 1px solid rgba(130, 196, 235, .2);
  border-radius: .68rem;
  background: #061522;
}
.weather-live-map { width: 100%; height: 100%; background: #071725; }
.kcxx-animation-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  opacity: 1;
  transition: opacity .18s ease;
}
.kcxx-animation-image.is-switching { opacity: .68; }
.weather-live-map .ol-viewport { font-family: inherit; }
.weather-live-map .ol-control button {
  border-radius: .3rem;
  background: rgba(2, 12, 21, .88);
  color: #dff7ff;
}
.weather-live-map .ol-control button:hover,
.weather-live-map .ol-control button:focus { background: #087fad; }
.weather-live-map .ol-attribution {
  border-radius: .35rem 0 0 0;
  background: rgba(2, 10, 18, .84);
  color: #a7bfce;
  font-size: .58rem;
}
.weather-live-map .ol-attribution a { color: #67dcff; }
.weather-map-state {
  position: absolute;
  z-index: 8;
  left: .75rem;
  bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .48rem;
  max-width: calc(100% - 1.5rem);
  padding: .55rem .68rem;
  border: 1px solid rgba(93, 229, 176, .28);
  border-radius: .48rem;
  background: rgba(1, 10, 17, .9);
  color: #cde6f4;
  font-size: .68rem;
  line-height: 1.35;
  pointer-events: none;
}
.weather-map-state i {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5de5b0;
  box-shadow: 0 0 11px rgba(93, 229, 176, .8);
  animation: weather-live-pulse 1.25s ease-in-out infinite;
}
@keyframes weather-live-pulse {
  0%, 100% { opacity: .6; transform: scale(.84); }
  50% { opacity: 1; transform: scale(1.18); }
}
.weather-map-state.is-outside { border-color: rgba(245, 200, 107, .42); color: #ffe3a5; }
.weather-map-state.is-outside i { background: #f5c86b; box-shadow: 0 0 11px rgba(245, 200, 107, .72); }
.weather-animation-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .8rem;
  margin-top: .7rem;
  padding: .72rem .8rem;
  border: 1px solid rgba(130, 196, 235, .18);
  border-radius: .62rem;
  background: rgba(6, 21, 34, .74);
}
.weather-animation-toggle {
  min-width: 86px;
  border: 1px solid rgba(50, 203, 255, .38);
  border-radius: .45rem;
  padding: .52rem .68rem;
  background: rgba(17, 127, 213, .16);
  color: #dff7ff;
  font: inherit;
  font-size: .68rem;
  font-weight: 900;
  cursor: pointer;
}
.weather-animation-toggle:hover,
.weather-animation-toggle:focus-visible { border-color: var(--cyan); background: rgba(17, 127, 213, .28); outline: none; }
.weather-animation-toggle[aria-pressed="true"] { border-color: rgba(93, 229, 176, .48); background: rgba(93, 229, 176, .1); color: #9cf0c9; }
.weather-animation-controls label { display: grid; gap: .34rem; min-width: 0; color: #9eb8ca; font-size: .64rem; }
.weather-animation-controls time { color: #e1f6ff; font-weight: 800; }
.weather-animation-controls input[type="range"] { width: 100%; height: 5px; margin: 0; border-radius: 999px; accent-color: var(--cyan); cursor: pointer; }
.weather-animation-controls output { min-width: 46px; color: #7fe5ff; font-family: "Courier New", monospace; font-size: .64rem; font-weight: 800; text-align: right; }
.weather-animation-controls.is-refresh .weather-animation-toggle,
.weather-animation-controls.is-refresh input { cursor: not-allowed; opacity: .55; }
.map-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(130,196,235,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(130,196,235,.07) 1px, transparent 1px); background-size: 42px 42px; transform: rotate(-8deg) scale(1.2); }
.weather-map::before { content: ""; position: absolute; inset: 7% 9%; z-index: -1; border: 1px solid rgba(130, 196, 235, .18); border-radius: 43% 57% 56% 44% / 47% 34% 66% 53%; transform: rotate(-8deg); box-shadow: inset 0 0 50px rgba(17, 127, 213, .08); }
.map-city { position: absolute; z-index: 5; color: #d5e7f2; font-size: .65rem; text-shadow: 0 1px 2px #000; }
.map-city span { color: inherit; }
.city-montreal { left: 32%; top: 58%; }
.city-marieville { left: 57%; top: 70%; color: #fff; font-weight: 900; }
.radar-band { position: absolute; width: 54%; height: 55%; border-radius: 50%; filter: blur(8px); opacity: .78; transform: rotate(-30deg); }
.radar-band-one { left: 8%; top: 2%; background: radial-gradient(ellipse, rgba(255,219,87,.7) 0 9%, rgba(79,232,126,.68) 10% 28%, rgba(26,148,232,.52) 29% 48%, transparent 50%); }
.radar-band-two { right: -2%; bottom: -8%; background: radial-gradient(ellipse, rgba(255,106,64,.75) 0 9%, rgba(255,219,87,.65) 10% 25%, rgba(79,232,126,.5) 26% 46%, transparent 48%); }
.map-scale { position: absolute; left: 1rem; bottom: 1rem; display: grid; grid-template-columns: repeat(4, 18px) auto auto; align-items: center; gap: .2rem; padding: .42rem; border-radius: .35rem; background: rgba(1, 7, 13, .82); color: #a5bbcb; font-size: .5rem; }
.map-scale i { width: 18px; height: 7px; background: #2e9bec; }.map-scale i:nth-child(2){background:#4fe87e}.map-scale i:nth-child(3){background:#ffdb57}.map-scale i:nth-child(4){background:#ff6a40}.map-scale span:first-of-type{margin-left:.3rem}.map-scale span:last-child{margin-left:.15rem}

.kcxx-map { background: radial-gradient(circle at 50% 58%, rgba(17,127,213,.15), transparent 44%), #03101a; }
.radar-rings { position: absolute; left: 50%; top: 58%; width: 285px; height: 285px; transform: translate(-50%, -50%); }
.radar-rings i { position: absolute; inset: 0; border: 1px solid rgba(50,203,255,.28); border-radius: 50%; }
.radar-rings i:nth-child(2) { inset: 18%; }.radar-rings i:nth-child(3) { inset: 36%; }.radar-rings i:nth-child(4) { inset: 47%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
.radar-sweep { position: absolute; left: 50%; top: 58%; width: 49%; height: 49%; transform-origin: 0 0; background: conic-gradient(from -6deg, rgba(50,203,255,.24), transparent 20deg); clip-path: polygon(0 0,100% 0,100% 100%); }
.kcxx-station { position: absolute; left: 50%; top: 58%; z-index: 4; transform: translate(-50%, -50%); color: #020b12; font-size: .55rem; font-weight: 1000; }
.kcxx-burlington { left: 53%; top: 65%; }
.kcxx-marieville {
  left: 50%;
  top: 24%;
  max-width: 42%;
  padding: .24rem .36rem .24rem 1rem;
  border: 1px solid rgba(93, 229, 176, .35);
  border-radius: 999px;
  background: rgba(2, 15, 24, .86);
  color: #c6f8df;
  font-weight: 900;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kcxx-marieville::before {
  content: "";
  position: absolute;
  left: .4rem;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5de5b0;
  box-shadow: 0 0 8px rgba(93, 229, 176, .85);
  transform: translateY(-50%);
}
.kcxx-marieville.is-outside { border-color: rgba(245, 200, 107, .45); color: #ffe3a5; }
.kcxx-marieville.is-outside::before { background: #f5c86b; box-shadow: 0 0 8px rgba(245, 200, 107, .75); }
#kcxx-coverage-status.is-outside { color: #f5c86b; }
.kcxx-product { position: absolute; right: .8rem; bottom: .7rem; color: #78dfff; font-family: "Courier New", monospace; font-size: .56rem; letter-spacing: .08em; }

.lightning-map { background: radial-gradient(circle at 30% 35%, rgba(90,54,212,.3), transparent 25%), radial-gradient(circle at 72% 64%, rgba(17,127,213,.2), transparent 28%), #06111c; }
.lightning-bolt { position: absolute; z-index: 4; color: #ffe963; font-size: 2.5rem; text-shadow: 0 0 16px #ffe963; }.bolt-one{left:26%;top:29%}.bolt-two{right:24%;top:57%}.bolt-three{left:61%;top:22%;font-size:1.6rem}
.lightning-pulse { position: absolute; width: 145px; height: 145px; border: 1px solid rgba(255,233,99,.38); border-radius: 50%; box-shadow: 0 0 25px rgba(255,233,99,.18); }.pulse-one{left:17%;top:13%}.pulse-two{right:14%;bottom:8%;width:170px;height:170px}
.lightning-marieville { left: 49%; top: 49%; font-weight: 900; }

.lightning-density-legend {
  position: absolute;
  z-index: 8;
  top: .7rem;
  right: .7rem;
  display: grid;
  justify-items: center;
  gap: .35rem;
  padding: .5rem;
  border: 1px solid rgba(130, 196, 235, .24);
  border-radius: .55rem;
  background: rgba(2, 12, 21, .9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
}
.lightning-density-legend span { color: #9adfff; font: 800 .54rem "Courier New", monospace; letter-spacing: .08em; }
.lightning-density-legend img { display: block; width: auto; height: 180px; }

.blitzortung-fixed-panel {
  margin-top: 1.15rem;
  padding: 1rem;
  border: 1px solid rgba(130, 196, 235, .22);
  border-radius: .72rem;
  background: #020910;
}
.blitzortung-fixed-panel > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: .85rem;
}
.blitzortung-fixed-panel h4 { margin: .2rem 0 0; color: #eefbff; font-size: clamp(1.15rem, 2vw, 1.55rem); }
.blitzortung-fixed-panel > header em {
  flex: 0 0 auto;
  border: 1px solid rgba(93, 229, 176, .28);
  border-radius: 999px;
  padding: .38rem .52rem;
  color: #7ee7b7;
  font-size: .53rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .08em;
}
.blitzortung-map-viewport {
  position: relative;
  width: min(100%, 925px);
  aspect-ratio: 16 / 9;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(83, 205, 255, .3);
  border-radius: .55rem;
  background: #000;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .36);
  transition: aspect-ratio .45s ease;
}
.blitzortung-map-viewport iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.blitzortung-place-label {
  position: absolute;
  z-index: 2;
  bottom: 8.45rem;
  left: .7rem;
  width: fit-content;
  max-width: calc(100% - 1.4rem);
  padding: .42rem .58rem;
  border: 1px solid rgba(83, 205, 255, .3);
  border-radius: .42rem;
  background: rgba(0, 8, 14, .86);
  color: #b6d8e9;
  font-size: .66rem;
  pointer-events: none;
}
.blitzortung-place-label strong { color: #fff; }
.blitzortung-age-legend {
  position: absolute;
  z-index: 2;
  bottom: .7rem;
  left: .7rem;
  display: grid;
  gap: .16rem;
  min-width: 7.2rem;
  padding: .48rem .58rem;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: .32rem;
  background: rgba(35, 48, 40, .82);
  box-shadow: 0 5px 18px rgba(0, 0, 0, .35);
  color: #fff;
  font: 700 .63rem/1.15 "Courier New", monospace;
  pointer-events: none;
}
.blitzortung-age-legend strong { margin-bottom: .15rem; color: #e9f7ff; font-size: .52rem; letter-spacing: .06em; }
.blitzortung-age-legend span { display: flex; align-items: center; gap: .48rem; }
.blitzortung-age-legend i { width: .52rem; height: .52rem; flex: 0 0 auto; border: 1px solid rgba(0, 0, 0, .35); }
.blitzortung-age-legend .age-20 { background: #f4f4f0; }
.blitzortung-age-legend .age-40 { background: #d6e62b; }
.blitzortung-age-legend .age-60 { background: #ffae00; }
.blitzortung-age-legend .age-80 { background: #ff6b00; }
.blitzortung-age-legend .age-100 { background: #ed1c24; }
.blitzortung-age-legend .age-120 { background: #d91472; }
.blitzortung-view-controls { display: flex; justify-content: center; gap: .55rem; margin-top: .75rem; }
.blitzortung-view-controls button {
  border: 1px solid rgba(83, 205, 255, .26);
  border-radius: 999px;
  padding: .48rem .75rem;
  background: rgba(7, 31, 48, .82);
  color: #a7c4d6;
  font: 800 .6rem "Courier New", monospace;
  letter-spacing: .05em;
  cursor: pointer;
}
.blitzortung-view-controls button.is-active { border-color: #25c6ff; background: #0a6f9a; color: #fff; }
.blitzortung-fixed-panel > footer {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  margin-top: .7rem;
  color: #7895aa;
  font-size: .64rem;
}
.blitzortung-fixed-panel > footer a { color: var(--cyan); font-weight: 800; }

.windy-frame { height: 430px; overflow: hidden; border: 1px solid rgba(130, 196, 235, .2); border-radius: .68rem; background: #10253a; }
.windy-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.weather-accuweather-card > header em[data-state="active"] {
  border-color: rgba(93, 229, 176, .45);
  background: rgba(93, 229, 176, .1);
  color: #99f1cb;
}
.weather-accuweather-card > header em[data-state="error"] {
  border-color: rgba(245, 200, 107, .42);
  background: rgba(245, 200, 107, .08);
  color: #ffe2a0;
}
.accuweather-radar-shell {
  position: relative;
  height: 540px;
  overflow: hidden;
  border: 1px solid rgba(130, 196, 235, .22);
  border-radius: .68rem;
  background:
    linear-gradient(rgba(52, 130, 170, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 130, 170, .08) 1px, transparent 1px),
    radial-gradient(circle at 50% 42%, rgba(13, 95, 136, .25), transparent 48%),
    #061522;
  background-size: 52px 52px, 52px 52px, auto, auto;
}
.accuweather-radar-shell > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #061522;
}
.accuweather-radar-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .7rem;
  padding: 2rem;
  color: #dff4ff;
  text-align: center;
}
.accuweather-radar-placeholder::before {
  content: "";
  position: absolute;
  width: min(54vw, 470px);
  aspect-ratio: 1;
  border: 1px solid rgba(130, 196, 235, .13);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(50, 203, 255, .018), 0 0 0 140px rgba(50, 203, 255, .012);
  pointer-events: none;
}
.accuweather-mark {
  position: relative;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid rgba(255, 141, 40, .55);
  border-radius: 50%;
  background: rgba(255, 108, 20, .1);
  color: #ff8b35;
  font-size: 2.25rem;
  box-shadow: 0 0 38px rgba(255, 108, 20, .14);
}
.accuweather-radar-placeholder strong { position: relative; font-size: clamp(1.2rem, 2.4vw, 1.75rem); }
.accuweather-radar-placeholder p { position: relative; max-width: 580px; margin: 0; color: #8faec2; font-size: .78rem; line-height: 1.6; }
.accuweather-radar-shell[data-state="active"] .accuweather-radar-placeholder { display: none; }
.accuweather-radar-shell[data-state="loading"] .accuweather-mark { animation: accuweather-loading 1.2s linear infinite; }
@keyframes accuweather-loading { to { transform: rotate(360deg); } }
.weather-accuweather-card > footer { justify-content: space-between; }
.weather-demo-notice { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; margin-top: .9rem; padding: 1rem 1.15rem; border-left: 3px solid var(--cyan); background: rgba(17, 127, 213, .08); }
.weather-demo-notice strong { color: #dff6ff; white-space: nowrap; }
.weather-demo-notice p { margin: 0; color: #8fa8ba; font-size: .77rem; line-height: 1.5; }

@media (max-width: 900px) {
  .weather-section-heading { grid-template-columns: 1fr; }
  .weather-search-row { grid-template-columns: auto 1fr; }
  .weather-search-row > button { grid-column: span 1; }
  .weather-now { grid-template-columns: 1fr; }
  .weather-jump-nav { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .terrestrial-weather { margin-top: 3rem; padding: 1rem; }
  .weather-demo-grid { grid-template-columns: 1fr; }
  .weather-forecast-card, #foudre, .weather-windy-card, .weather-accuweather-card { grid-column: auto; }
  .forecast-days { grid-template-columns: repeat(2, 1fr); }
  .forecast-day:last-child { grid-column: 1 / -1; }
  .weather-health-grid { grid-template-columns: 1fr; }
  .weather-health-card { grid-template-columns: auto 1fr; }
  .weather-health-card dl { grid-column: 1 / -1; }
  .weather-now dl { grid-template-columns: repeat(2, 1fr); }
  .weather-demo-card > footer { align-items: flex-start; flex-direction: column; }
  .weather-demo-notice { grid-template-columns: 1fr; }
  .weather-animation-controls { grid-template-columns: auto 1fr; }
  .weather-animation-controls label { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 520px) {
  .weather-search-row { grid-template-columns: auto 1fr; }
  .weather-search-row > button { grid-column: 1 / -1; }
  .weather-search-feedback { margin-left: 0; flex-direction: column; }
  .weather-jump-nav { grid-template-columns: 1fr; }
  .weather-map { height: 270px; }
  .weather-live-map-shell { height: 290px; }
  .lightning-density-legend img { height: 140px; }
  .weather-map-state { right: .6rem; left: .6rem; bottom: .6rem; max-width: none; }
  .windy-frame { height: 360px; }
  .accuweather-radar-shell { height: 360px; }
  .weather-accuweather-card > footer { align-items: flex-start; flex-direction: column; }
  .blitzortung-fixed-panel { padding: .65rem; }
  .blitzortung-fixed-panel > header, .blitzortung-fixed-panel > footer { align-items: flex-start; flex-direction: column; }
  .blitzortung-place-label { font-size: .58rem; }
  .blitzortung-age-legend { transform: scale(.88); transform-origin: bottom left; }
}
