@font-face {
  font-family: Fraunces;
  src: url("./assets/fonts/Fraunces-latin.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
}
@font-face {
  font-family: DM Sans;
  font-weight: 100 1000;
  src: url("./assets/fonts/DM-Sans.ttf");
}
@font-face {
  font-family: Barlow;
  src: url("./assets/fonts/Barlow-SemiBold.ttf");
  font-weight: 600;
}
:root {
  --discovery-serif: Fraunces, Georgia, serif;
  --discovery-sans: "DM Sans", system-ui, sans-serif;
  color-scheme: dark;
  --bg: #0e161e;
  --ink: #f1f5f4;
  --muted: #a1b1bf;
  --mint: #73e5c4;
  --line: #28343f;
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}
button {
  border: 0;
  background: none;
}
a {
  color: inherit;
}
button:hover {
  color: white;
}
button:disabled {
  cursor: default;
}
svg {
  display: block;
}
button i,
.searchbox > i {
  display: inline-flex;
  font-style: normal;
}
.mast {
  height: 74px;
  display: flex;
  align-items: center;
  padding: 0 30px;
  background: #0d151d;
  border-bottom: 1px solid var(--line);
  gap: 14px;
  position: relative;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font:
    600 36px/0.95 Barlow,
    system-ui;
  text-decoration: none;
  letter-spacing: -1.6px;
}
.brand-dot {
  color: var(--mint);
}
.brandmark {
  width: 37px;
  height: 37px;
  fill: none;
  stroke: var(--mint);
  stroke-width: 1.55;
}
.brandmark .orbit {
  stroke-width: 2.5;
}
.brandmark .sat {
  fill: var(--mint);
  stroke: #0d151d;
}
.byline {
  text-decoration: none;
  font-size: 13px;
  border-left: 1px solid #394652;
  padding-left: 14px;
  color: #a6b6c3;
}
.mast nav {
  display: flex;
  height: 100%;
  margin-left: clamp(14px, 4vw, 82px);
  gap: 20px;
}
.nav-item {
  white-space: nowrap;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9dadbb;
  padding: 0 4px;
  font-size: 14px;
}
.nav-item.active {
  color: var(--mint);
}
.nav-item.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 2px;
  right: 2px;
  height: 2px;
  background: var(--mint);
}
.mast-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.mode-label {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1a282d;
  border: 1px solid #354749;
  border-radius: 20px;
  font-size: 12px;
  padding: 7px 11px;
  color: #d4ede4;
}
.light {
  background: var(--mint);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #73e5c435;
}
.mast time,
.foot {
  font-variant-numeric: tabular-nums;
}
.mast time {
  font: 13px monospace;
  color: #c5d0d6;
  white-space: nowrap;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(325px, 27vw, 415px);
  height: calc(100dvh - 106px);
  min-height: 530px;
}
.geopanel {
  position: relative;
  overflow: hidden;
  background: #101e2b;
  isolation: isolate;
}
#map {
  position: absolute;
  inset: 0;
}
.map-heading {
  position: absolute;
  z-index: 2;
  left: clamp(20px, 2.4vw, 42px);
  top: clamp(20px, 3.8vh, 44px);
  pointer-events: none;
}
.map-heading:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -48px -80px -55px -50px;
  background: radial-gradient(
    ellipse at 18% 25%,
    #101b25ed 8%,
    #101b25c4 38%,
    transparent 73%
  );
  pointer-events: none;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--mint);
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 750;
  margin: 0 0 6px;
}
.eyebrow > span {
  display: inline-block;
  width: 19px;
  height: 2px;
  background: var(--mint);
}
h1 {
  font:
    600 clamp(35px, 3.35vw, 61px) / 1.08 Barlow,
    system-ui;
  letter-spacing: -1.65px;
  margin: 0 0 19px;
  text-shadow: 0 2px 15px #10182388;
}
.searchbox {
  height: 38px;
  width: 232px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #41505c;
  border-radius: 7px;
  padding: 0 11px;
  background: #111d27f5;
  color: #aebdca;
  box-shadow: 0 3px 12px #080f1626;
  pointer-events: auto;
}
.searchbox input {
  width: 100%;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 13px;
}
.searchbox input::placeholder {
  color: #afbdc8;
}
.searchbox kbd {
  font: 11px monospace;
  border: 1px solid #41505e;
  border-radius: 3px;
  padding: 1px 5px;
}
.results,
.detail {
  border: 1px solid #465865;
  border-radius: 8px;
  background: #12212bf8;
  box-shadow: 0 6px 26px #05090f66;
}
.results {
  position: absolute;
  top: 44px;
  left: 0;
  min-width: 100%;
  width: min(310px, 80vw);
  padding: 4px;
  max-height: 250px;
  overflow: auto;
}
.results button,
.results p {
  display: block;
  text-align: left;
  width: 100%;
  padding: 9px;
  font-size: 14px;
  margin: 0;
}
.results small {
  display: block;
  color: #aab8c5;
}
.coverage-key {
  display: flex;
  align-items: center;
  width: fit-content;
  gap: 7px;
  margin-top: 8px;
  padding: 3px 7px;
  border-radius: 4px;
  background: #0d1922d9;
  color: #b9ccdb;
  font-size: 11px;
}
.coverage-key span {
  width: 13px;
  height: 13px;
  border: 1px dashed #88c4ee;
  border-radius: 50%;
}
.detail .detail-region {
  color: var(--mint);
  font-size: 0.77rem;
}
.results button:hover {
  background: #263644;
}
.map-tools {
  position: absolute;
  right: 18px;
  bottom: 85px;
  z-index: 2;
  display: grid;
  gap: 9px;
}
.map-tools button,
.close {
  display: grid;
  place-items: center;
}
.map-tools button {
  width: 38px;
  height: 38px;
  background: #13212cf5;
  color: #d7e4ea;
  border: 1px solid #3b4b58;
  border-radius: 6px;
  font-size: 23px;
}
.map-tools div button:first-child {
  border-radius: 6px 6px 0 0;
}
.map-tools div button:last-child {
  border-radius: 0 0 6px 6px;
  border-top: 0;
}
.map-tools button:hover,
.filter:hover,
.close:hover {
  background: #2b3a46;
}
.filters {
  position: absolute;
  max-width: calc(100% - 35px);
  z-index: 2;
  bottom: 31px;
  left: clamp(18px, 2.4vw, 42px);
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 7px 9px 7px 15px;
  border: 1px solid #354754;
  border-radius: 9px;
  background: #0e1a24f5;
  box-shadow: 0 4px 18px #040a1233;
}
.filter-label {
  font-size: 12px;
  color: #bac7cf;
}
.filters > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.filter {
  color: #c8d1d6;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 5px;
  padding: 5px 8px;
  font-size: 12px;
}
.filter[aria-pressed="true"] {
  background: #26343e;
  border-color: #364854;
}
.filter[aria-pressed="true"] i {
  color: var(--mode-color);
}
.filter[aria-pressed="false"] {
  opacity: 0.64;
}
.filter i {
  display: flex;
}
.foot {
  height: 32px;
  padding: 0 22px;
  background: #0b141c;
  border-top: 1px solid var(--line);
  color: #acbac5;
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 11px;
}
.foot-count {
  display: flex;
  align-items: center;
  gap: 6px;
}
.foot-count .light {
  width: 5px;
  height: 5px;
}
.foot-count b {
  color: #e1e9ed;
}
.foot-edition {
  margin-left: auto;
  font: 10px monospace;
  letter-spacing: 1.4px;
}
.foot-edition b {
  color: #638777;
  margin: 0 4px;
}
#stats {
  min-width: 0;
  overflow: auto;
  background: #101821;
  border-left: 1px solid #33404b;
  scrollbar-width: thin;
  scrollbar-color: #37454f transparent;
}
.detail {
  position: absolute;
  z-index: 4;
  bottom: 90px;
  left: 24px;
  width: min(290px, calc(100% - 88px));
  padding: 16px;
}
.detail h2,
.dialog-title h2 {
  font:
    600 27px/1.1 Barlow,
    sans-serif;
  margin: 6px 24px 8px 0;
}
.detail p {
  font-size: 13px;
  color: #b5c5ce;
  margin: 5px 0;
}
.detail .close {
  position: absolute;
  right: 7px;
  top: 7px;
}
.close {
  font-size: 23px;
  background: #25343f;
  border-radius: 5px;
  width: 30px;
  height: 30px;
}
.detail .datum {
  font-size: 16px;
  color: #f1f5f4;
}
.detail small {
  font-size: 11px;
  color: #a6b9c5;
}
.detail .event-link {
  display: block;
  width: fit-content;
  color: var(--mint);
  font-size: 0.77rem;
  margin-top: 8px;
}
dialog {
  color: var(--ink);
  background: #121d27;
  border: 1px solid #41505b;
  border-radius: 14px;
  padding: 0;
  width: min(470px, calc(100vw - 28px));
  max-height: 85dvh;
  box-shadow: 0 20px 70px #0007;
}
dialog::backdrop {
  background: #040b13a6;
  backdrop-filter: blur(4px);
}
.dialog-inner {
  padding: 27px;
}
.dialog-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.dialog-title h2 {
  font-size: 34px;
}
.intro,
.source-row p {
  color: #b4c3ce;
  font-size: 14px;
}
.choice {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 4px;
  padding: 12px;
  margin: 6px 0;
  background: #1a2934;
  border: 1px solid #374956;
  border-radius: 7px;
}
.choice[aria-pressed="true"] {
  border-color: var(--mint);
}
.choice small {
  color: #b9c9d3;
}
.dialog-inner h3 {
  margin: 22px 0 4px;
  font:
    600 20px Barlow,
    sans-serif;
}
.source-row {
  padding: 11px 0;
  border-top: 1px solid #30404a;
}
.source-row p {
  margin: 3px 0;
}
.source-row a {
  font-size: 12px;
  color: var(--mint);
}
.source-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.source-heading strong {
  font-weight: 620;
  font-size: 0.94rem;
}
.source-good,
.source-down {
  font-size: 0.7rem;
  line-height: 1.55;
  border-radius: 4px;
  padding: 1px 5px;
}
.source-good {
  color: #ace6cf;
  background: #1e3934;
}
.source-down {
  color: #ffd1a0;
  background: #392d25;
}
@media (max-width: 450px) {
  .geopanel .map-tools {
    bottom: 94px;
    gap: 5px;
  }
  .geopanel .map-tools button {
    width: 33px;
    height: 33px;
  }
  .geopanel .map-heading h1 {
    font-size: clamp(26px, 7vw, 33px);
  }
  .geopanel .filters {
    max-width: calc(100% - 24px);
  }
}
[hidden] {
  display: none !important;
}
@media (max-width: 890px) {
  .mast {
    padding: 0 18px;
  }
  .mast nav {
    margin-left: 10px;
  }
  .mast-end {
    gap: 10px;
  }
  .workspace {
    grid-template-columns: minmax(0, 1fr) 310px;
  }
  .filter-label {
    display: none;
  }
  .filters {
    padding: 5px;
    left: 12px;
  }
  .filter {
    padding: 5px;
  }
  .map-heading h1 {
    font-size: 36px;
  }
}
@media (max-width: 710px) {
  #explore {
    display: none;
  }
  .searchbox kbd {
    display: none;
  }
  .mast {
    height: 60px;
    padding: 0 12px;
    gap: 7px;
  }
  .brand {
    font-size: 29px;
    gap: 6px;
  }
  .brandmark {
    width: 30px;
    height: 30px;
  }
  .byline,
  .mast time,
  .nav-item i {
    display: none;
  }
  .mast nav {
    gap: 9px;
    margin-left: 6px;
  }
  .nav-item {
    font-size: 12px;
  }
  .mode-label {
    font-size: 11px;
    padding: 6px 8px;
    gap: 5px;
  }
  .workspace {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
  }
  .geopanel {
    height: 64svh;
    min-height: 390px;
  }
  .map-heading {
    top: 18px;
    left: 16px;
  }
  .map-heading h1 {
    font-size: 33px;
    margin-bottom: 12px;
  }
  .map-heading .eyebrow {
    font-size: 9px;
  }
  .searchbox {
    height: 34px;
    width: 200px;
  }
  .map-tools {
    right: 12px;
    bottom: 74px;
  }
  .filters {
    bottom: 25px;
  }
  #stats {
    overflow: visible;
    border-left: 0;
    border-top: 1px solid #35434e;
  }
  .foot {
    padding: 0 12px;
    font-size: 10px;
    gap: 8px;
  }
  .foot-edition {
    display: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .detail,
  .results,
  dialog[open] {
    animation: appear 0.18s ease-out;
  }
  @keyframes appear {
    from {
      transform: translateY(4px);
      opacity: 0;
    }
    to {
      transform: none;
      opacity: 1;
    }
  }
}
@media (max-width: 360px) {
  .mast {
    gap: 5px;
    padding-inline: 8px;
  }
  .mast nav {
    margin-left: 0;
  }
  .brand {
    font-size: 25px;
  }
  .brandmark {
    width: 25px;
    height: 25px;
  }
  .mode-label {
    padding-inline: 6px;
  }
}
.ocean-control {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  pointer-events: auto; border: 1px solid #425561; border-radius: 20px;
  background: #101c27eb; color: #a7bbc6; font-weight: 550; line-height: 1.2; text-decoration: none;
  font-family: inherit; font-size: 11px; padding: 4px 10px; cursor: pointer;
}
.ocean-control span { font-size: 18px; line-height: 12px; }
.ocean-control[aria-pressed=true] { color: #98e3e5; border-color: #46757b; }
.seasons {
  pointer-events:auto; width:min(262px,calc(100vw - 106px)); margin-top:10px;
  padding:10px 12px 8px; border:1px solid #3c5151; border-radius:8px;
  background:linear-gradient(115deg,#112327f5,#101c27ee); color:#d5e6df;
}
.season-head,.season-controls {display:flex;align-items:center;justify-content:space-between;gap:8px;}
.season-head {font-size:11px;font-weight:650;}
.season-head time {color:#b4d498;font-weight:500;white-space:nowrap;font-size:10px;}
.season-controls {margin:5px 0;}
.season-controls button {width:27px;height:24px;padding:0;border:1px solid #587362;border-radius:4px;color:#c2eca7;background:#1a3030;cursor:pointer;font-size:11px;}
.season-controls input {min-width:0;flex:1;accent-color:#a6d78e;cursor:pointer;}
.seasons small {font-size:10px;color:#b4c7c1;}
@media(max-width:710px){.seasons{margin-top:5px;padding:6px 9px;}.season-controls{margin:2px 0;}.seasons small{font-size:9px;}}
.season-key {display:flex;align-items:center;gap:6px;color:#c5d2ca;font-size:9px;margin-top:3px;}
.season-key i{flex:1;height:4px;border-radius:4px;box-shadow:0 0 0 1px #a5bba32b;}
.season-controls button:disabled{opacity:.55;}
.atlas-views { display:flex; flex-wrap:wrap; gap:5px; pointer-events:auto; width:fit-content; }
.weather-key { margin-top:10px; padding:9px 11px; max-width:265px; width:fit-content; border:1px solid #354b5b; border-radius:7px; color:#d5e0e7; background:#101c26ef; }
.weather-key-head,.weather-key #weather-status div {display:flex;align-items:baseline;justify-content:space-between;gap:12px;}
.weather-key-head {margin-bottom:4px;}
.weather-key-head strong {font-size:12px;font-weight:600;}
.weather-key-head span {font:10px monospace;color:#91cadc;}
.weather-key #weather-status div {font-size:11px;line-height:1.55;color:#b8c5ce;}
.weather-key time {color:#dae6ec;font-variant-numeric:tabular-nums;}
@media(max-width:710px){.weather-key{margin-top:5px;padding:5px 8px;}.weather-key-head{margin-bottom:1px;}.weather-view .map-heading h1{font-size:30px;}.atlas-views .ocean-control{margin-top:5px;}}
@media (max-width:710px) {
  .filters { right:12px;left:12px;max-width:none;padding:5px 6px;bottom:32px; }
  .filters > div { flex-wrap:nowrap;overflow-x:auto;min-width:0;scrollbar-width:thin;scrollbar-color:#46616b transparent; }
  .filters .filter { flex:none; }
}

#global-lightning { pointer-events:auto; background:transparent; color:#f6cb80; border:0; border-top:1px solid #354552; margin-top:5px; padding:6px 0 0; width:100%; text-align:left; font:inherit; font-size:12px; cursor:pointer; }
#global-lightning span { float:right; }
#lightning-area { display:block; pointer-events:auto; width:100%; margin-top:6px; background:#142330; color:#f1d398; border:1px solid #53616b; border-radius:4px; padding:4px; font:inherit; font-size:12px; }
#lightning-area[hidden] { display:none; }
#lightning-dialog { width:min(940px,calc(100vw - 24px)); }
#lightning-dialog .dialog-inner { padding:clamp(14px,3vw,26px); }
#lightning-dialog h2 { font-size:clamp(22px,4vw,36px); }
#lightning-dialog p { margin:8px 0 12px; color:#c0ccd4; font-size:14px; }
#lightning-frame { display:block; width:100%; height:min(62dvh,580px); border:0; background:#0b141c; }
#lightning-dialog a { display:inline-block; margin-top:9px; color:#f6cb80; font-size:13px; }

/* The masthead and folio share an edge with the map and its field notes. */
:root {
  --bg: #10191c;
  --ink: #f3efe3;
  --muted: #a6b6b5;
  --mint: #e6c27e;
  --line: #334142;
  --page-edge: clamp(16px, 2.1vw, 38px);
  --mast-height: 56px;
  --title-height: 82px;
}
.mast { height: var(--mast-height); padding-inline: var(--page-edge); background: #10191c; }
.brand { font: 500 34px/1 Georgia, serif; letter-spacing: -2px; }
.brandmark { width: 30px; height: 30px; }
.brand-dot { color: #e8c585; }
.byline { color: #b2bfbb; font-size: 12px; }
.mast nav { align-items: center; gap: 20px; }
.nav-item { font-size: 13px; }
.nav-item.active:after { left: 0; right: 0; }
.discoveries-nav {
  height: 32px; border: 1px solid #827251; border-radius: 4px;
  background: #312e24; color: #f4d899; padding: 0 11px; font-weight: 650;
}
.discoveries-nav:hover { background: #493d29; color: #fff3d4; }
.light { background: #80dfbd; }
.atlas-titlebar {
  height: var(--title-height); display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--page-edge); gap: 12px; border-bottom: 1px solid #56605a;
  background: #172225;
}
.atlas-title { min-width: 0; }
.atlas-title .eyebrow {
  text-transform: uppercase; font: 600 9px/1.2 "DM Sans", sans-serif;
  letter-spacing: .19em; color: #e7c787; margin: 0 0 4px;
}
.atlas-title h1 { margin: 0; font: normal clamp(28px,3vw,47px)/1 Georgia, serif; letter-spacing: -.045em; text-shadow: none; }
#panel-toggle, #return-map {
  display: inline-flex; gap: 8px; align-items: center; justify-content: center;
  font: 600 12px/1.2 "DM Sans", sans-serif; background: #202e30;
  border: 1px solid #50605c; border-radius: 4px; padding: 9px 12px; white-space: nowrap;
}
#panel-toggle:hover, #return-map:hover { background: #32403e; }
#return-map { display: none; }
.workspace { grid-template-columns: minmax(0,1fr) clamp(295px,23vw,370px); height: calc(100dvh - var(--mast-height) - var(--title-height) - 32px); min-height: 420px; }
.map-wide .workspace { grid-template-columns: minmax(0,1fr); }
#stats[hidden] { display: none; }
#stats { background: #152023; border-color: #44524e; }
#map { isolation: isolate; }
.map-heading { left: var(--page-edge); top: 16px; }
.map-heading:before { content: none; }
.searchbox { width: 235px; border-radius: 4px; background: #112026f5; }
.searchbox:focus-within { border-color: #d3b77f; z-index: 4; }
.atlas-views { gap: 0; margin-top: 6px; border: 1px solid #4f6060; border-radius: 4px; background: #102026f5; }
.atlas-views .ocean-control { margin: 0; border: 0; border-radius: 0; padding: 7px 12px; background: transparent; color: #dee6df; font-size: 12px; }
.atlas-views .ocean-control + .ocean-control { border-left: 1px solid #3c4f52; }
.atlas-views .ocean-control:hover { background: #32403b; color: #ffdfa3; }
.weather-key { position: relative; pointer-events: auto; padding: 0; border-radius: 4px; width: fit-content; }
.weather-key-head { margin: 0; align-items: center; justify-content: start; gap: 8px; padding: 7px 10px; cursor: pointer; list-style: none; }
.weather-key-head::-webkit-details-marker { display:none; }
.weather-key-head::after { content: "⌄"; font: 14px/1 sans-serif; color: #e6c27e; }
.weather-key[open] .weather-key-head::after { transform: rotate(180deg); }
.weather-key-body { position: absolute; top: 100%; left: -1px; border: 1px solid #526164; border-radius: 0 4px 4px; width: min(285px,calc(100vw - 80px)); padding: 8px 11px; background: #132128fa; box-shadow: 0 8px 20px #080f1666; }
.map-tools button { border-radius: 4px; background: #122026f5; }
.filters { left: var(--page-edge); border-radius: 4px; background: #101d24f7; }
.foot { padding-inline: var(--page-edge); }
@media (max-width: 710px) {
  :root { --mast-height: 51px; --title-height: 71px; --page-edge: 12px; }
  .mast { gap: 6px; }
  .mast nav { margin-left: auto; gap: 8px; }
  .mast-end { margin-left: 2px; }
  .brand { font-size: 26px; gap: 5px; }
  .brandmark { width: 25px; height: 25px; }
  .nav-item { font-size: 11px; }
  .discoveries-nav { padding-inline: 8px; gap: 4px; }
  .discoveries-nav svg { width: 13px; }
  .atlas-title h1 { font-size: clamp(23px,6.3vw,35px); }
  .atlas-title .eyebrow { font-size: 8px; margin-bottom: 5px; }
  #panel-toggle { padding: 8px; font-size: 11px; gap: 5px; }
  .workspace { height: auto; min-height: 0; }
  .geopanel { height: calc(78svh - var(--mast-height)); min-height: 365px; }
  .map-wide .geopanel { height: calc(100dvh - var(--mast-height) - var(--title-height) - 32px); }
  .map-heading { top: 10px; }
  .searchbox { width: min(205px,55vw); }
  .atlas-views .ocean-control { padding: 6px 9px; font-size: 11px; }
  #return-map { display: inline-flex; width: 100%; border-radius: 0; min-height: 42px; }
  .map-wide #return-map { display: none; }
  .map-tools { right: 10px; bottom: 81px; gap: 6px; }
  .geopanel .atlas-atmosphere-key { max-width: calc(100% - 78px); }
  .filters { bottom: 34px; }
  .foot { min-height: 32px; height: auto; }
}
@media (max-width: 370px) {
  .mast { padding-inline: 7px; }
  .mast nav { gap: 5px; }
  .discoveries-nav svg { display: none; }
  .brandmark { width: 20px; }
  .brand { font-size: 24px; }
  .mode-label { padding-inline: 4px; }
  #panel-toggle { padding: 8px 6px; }
}
.weather-key-body .atlas-atmosphere-key {
  position: static; max-width: none; padding: 0 0 7px; margin: 0 0 7px;
  border: 0; border-bottom: 1px solid #495654; border-radius: 0; background: none;
  color: #e2e8de; font-size: 11px; line-height: 1.6;
}
.weather-key[open] { z-index: 3; }
.atlas-title h1, .brand { font-family:var(--discovery-serif); }
.detail[data-discovery] {background:#142326f8;border:1px solid #6b715e;border-top:2px solid #dcbf83;border-radius:7px;box-shadow:0 10px 28px #06121677;width:min(345px,calc(100% - 78px));max-height:calc(100% - 105px);overflow:auto;}
.detail[data-discovery] h2 {font:480 clamp(22px,2.1vw,30px)/1.1 var(--discovery-serif);letter-spacing:-.04em;color:#fbf4df;margin:7px 17px 9px 0;}
.detail[data-discovery] .eyebrow {color:#ebcc8d;letter-spacing:.085em}
.detail[data-discovery] p {color:#e1e6e2;line-height:1.45}
.detail[data-discovery] .detail-region {color:#dfc795}
.detail[data-discovery] .event-link {padding-block:3px;text-decoration:underline;text-underline-offset:3px}
.discovery-back {display:block;margin-top:8px;padding:5px 0;background:none;color:#dfc795;text-align:left;font:600 .8rem/1.3 var(--discovery-sans);cursor:pointer}
.discovery-back:hover {text-decoration:underline;text-underline-offset:3px}
