.atlas-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
  outline-offset: -3px;
}
.atlas-canvas:active {
  cursor: grabbing;
}
.atlas-canvas.is-hovered {
  cursor: pointer;
}
.atlas-map-caption {
  position: absolute;
  bottom: 3px;
  right: 7px;
  color: #b7c8d3;
  font:
    10px/1.35 "DM Sans",
    sans-serif;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 3px #05131e;
  background: #101f2ac7;
  padding: 1px 4px;
  border-radius: 2px;
  z-index: 1;
}
.atlas-map-caption a {
  color: inherit;
  text-decoration: none;
}
.atlas-map-caption a:hover,
.atlas-map-caption a:focus-visible {
  text-decoration: underline;
}
.atlas-map-tip {
  pointer-events: none;
  position: absolute;
  z-index: 2;
  background: #11212df5;
  color: #e8f3fa;
  border: 1px solid #536674;
  padding: 6px 9px;
  max-width: 230px;
  box-shadow: 0 4px 14px #0005;
  border-radius: 5px;
  font:
    12px/1.4 "DM Sans",
    sans-serif;
}
@media (max-width: 600px) {
  .atlas-map-caption {
    max-width: calc(100% - 14px);
    text-align: right;
    line-height: 1.3;
  }
}
.atlas-map-chooser {
  position: absolute;
  z-index: 4;
  min-width: 154px;
  max-width: min(280px, 85%);
  max-height: min(230px, 50%);
  overflow-y: auto;
  padding: 8px;
  color: #e7f2f5;
  background: #12222e;
  border: 1px solid #536674;
  border-radius: 6px;
  box-shadow: 0 6px 22px #0005;
  font:
    13px/1.5 "DM Sans",
    sans-serif;
}
.atlas-map-chooser strong {
  display: block;
  padding: 3px 6px 5px;
}
.atlas-map-chooser button {
  width: 100%;
  display: block;
  color: inherit;
  text-align: left;
  background: transparent;
  padding: 6px 8px;
  border: 0;
  border-left: 2px solid var(--entity-color);
  margin: 3px 0;
}
.atlas-map-chooser button:hover,
.atlas-map-chooser button:focus-visible {
  background: #263d4c;
}
.atlas-base-layer,
.atlas-wave-layer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.atlas-base-layer {
  z-index: 0;
}
.atlas-wave-layer {
  z-index: 1;
}
.atlas-canvas {
  z-index: 2;
}
.atlas-map-caption,
.atlas-map-tip {
  z-index: 3;
}
.atlas-wave-legend {
  white-space: nowrap;
  margin-right: 6px;
  color: #b5dce2;
}
.atlas-wave-legend::before {
  content: "≈";
  display: inline-block;
  font:
    600 13px/1 Georgia,
    serif;
  color: #8dcbd6;
  margin-right: 3px;
  vertical-align: -1px;
}
.atlas-wind-layer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.atlas-wind-legend {
  white-space: nowrap;
  margin-right: 7px;
  color: #d3e6e5;
}
.atlas-wind-legend i {
  display: inline-block;
  vertical-align: 1px;
  margin: 0 3px 0 1px;
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    #8eaab7,
    #72bdcf 20%,
    #71d7d0 40%,
    #a4dfbd 60%,
    #e3d99b 80%,
    #f4b77f
  );
}
.atlas-season-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
}
.atlas-season-layer[hidden] {
  display: none;
}
.atlas-cloud-layer,
.atlas-rain-layer,
.atlas-rain-drops,
.atlas-lightning-layer,
.atlas-map-labels {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 1;
}
.atlas-atmosphere-key {
  position: absolute;
  z-index: 2;
  right: 12px;
  top: 14px;
  pointer-events: none;
  border: 1px solid #53667499;
  border-radius: 6px;
  background: #10232ee8;
  color: #e2edf1;
  padding: 6px 9px;
  font:
    11px/1.45 "DM Sans",
    sans-serif;
  font-variant-numeric: tabular-nums;
}
.atlas-atmosphere-key > div {
  display: flex;
  align-items: center;
  gap: 7px;
}
.atlas-atmosphere-key[hidden],
.atlas-lightning-layer[hidden],
.atlas-atmosphere-key > div[hidden] {
  display: none;
}
.atlas-weather-swatch {
  display: block;
  width: 20px;
  height: 4px;
  border-radius: 2px;
}
.atlas-weather-swatch.cloud {
  background: linear-gradient(90deg, #394a58, #99b1c0);
}
.atlas-weather-swatch.lightning {
  height: 6px;
  background: radial-gradient(circle at center, #b58e50 0 2px, transparent 3px);
}
.atlas-weather-swatch.rain {
  background: linear-gradient(90deg, #4094d4, #647bea, #a86add, #e068a8);
}
.atlas-weather-swatch.storm {
  height: 0;
  border-top: 2px dashed #efb972;
  border-radius: 0;
}
@media (max-width: 700px) {
  .atlas-atmosphere-key {
    right: auto;
    top: auto;
    bottom: 69px;
    left: 12px;
    font-size: 10px;
    padding: 4px 7px;
  }
}
.atlas-map-stories {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.atlas-map-story {
  --story-ink: #e7c384;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  box-sizing: border-box;
  position: absolute;
  padding: 8px 19px 9px 13px;
  border: 1px solid #9a8561;
  border-radius: 2px 9px 9px 2px;
  color: #fff3d9;
  background: #142326f5;
  box-shadow: inset 2px 0 var(--story-ink), 0 3px 13px #07151b73;
  pointer-events: auto;
  text-align: left;
  cursor: pointer;
}
.atlas-map-story.is-live { --story-ink: #95d7c1; border-color: #698f85; }
.atlas-map-story small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 650 10px/1.1 "DM Sans", sans-serif;
  letter-spacing: .045em;
  color: var(--story-ink);
}
.atlas-map-story strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font: 500 19px/1.03 var(--discovery-serif, Georgia, serif);
  letter-spacing: -.025em;
}
.atlas-map-story small::after {
  content: "›";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font: 18px/1 Georgia, serif;
}
.atlas-map-story::before, .atlas-map-story::after {
  content: "";
  position: absolute;
  left: calc(var(--pin-x) - 1px);
  color: var(--story-ink);
  pointer-events: none;
}
.atlas-map-story::before { top: 100%; width: 1px; height: 13px; background: currentColor; }
.atlas-map-story::after {
  top: calc(100% + 13px);
  width: 5px;
  height: 5px;
  transform: translate(-2px,-50%);
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 2px #0e2226, 0 0 0 3px var(--story-ink);
}
.atlas-map-story.below-pin::before { top: auto; bottom: 100%; }
.atlas-map-story.below-pin::after { top: -13px; }
.atlas-map-story:hover, .atlas-map-story:focus-visible { background: #203639; border-color: var(--story-ink); }
.atlas-map-story:focus-visible { outline: 2px solid #f3dfb2; outline-offset: 3px; }
#map-stories-toggle svg { width: 19px; height: 19px; }
#map-stories-toggle[aria-pressed="true"] { color: #ebcb8f; }
@media (prefers-reduced-motion: no-preference) {
  .atlas-map-story { animation: atlas-story-appear .4s ease-out; }
  @keyframes atlas-story-appear { from { opacity: 0; } to { opacity: 1; } }
}
@media (max-width: 630px) {
  .atlas-map-story { padding-left: 11px; }
  .atlas-map-story strong { font-size: 17px; }
}
