.rv-atlas-map {
  width: 100%;
  height: 100%;
  min-height: inherit;
  position: relative;
  overflow: hidden;
  background: #bddde0;
  background-image:
    linear-gradient(90deg, rgba(80, 142, 156, 0.065) 1px, transparent 1px),
    linear-gradient(0deg, rgba(80, 142, 156, 0.065) 1px, transparent 1px);
  background-size: 47px 47px;
  isolation: isolate;
}
.rv-atlas-canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  touch-action: none;
  user-select: none;
  cursor: grab;
  -webkit-user-select: none;
}
.rv-atlas-map.is-panning .rv-atlas-canvas,
.rv-atlas-map.is-panning .rv-pref-hit,
.rv-atlas-map.is-panning .rv-marker {
  cursor: grabbing;
}
.rv-atlas-sprite {
  image-rendering: pixelated;
}
.rv-map-source {
  position: absolute;
  bottom: 5px;
  right: 54px;
  font:
    8px/1.2 system-ui,
    sans-serif;
  opacity: 0.7;
  color: #36595b;
  background: #d1e5dfbf;
  border-radius: 2px;
  padding: 2px 4px;
  text-decoration: none;
}
.rv-water-name {
  font:
    italic 16px Georgia,
    serif;
  letter-spacing: 3.4px;
  fill: #527e87;
  opacity: 0.75;
}
.rv-context-name,
.rv-inset-name {
  font:
    600 8px system-ui,
    sans-serif;
  letter-spacing: 1.4px;
  fill: #738b7c;
}
.rv-inset-name {
  font-size: 8.8px;
  fill: #526e71;
}
.rv-pref-hit {
  fill: none;
  pointer-events: fill;
  stroke: none;
  cursor: pointer;
}
.rv-pref-hit:hover {
  fill: rgba(255, 243, 186, 0.24);
  stroke: #677858;
  stroke-width: 1;
}
.rv-marker {
  cursor: pointer;
  outline: 0;
}
.rv-marker-dot {
  fill: #fbf5df;
  stroke: #485f51;
  stroke-width: 1.5px;
  transition: fill 0.15s;
}
.rv-city-name {
  font:
    650 11.5px "DM Sans",
    system-ui,
    sans-serif;
  letter-spacing: 0.02px;
  fill: #344c44;
  stroke: #f2f2da;
  stroke-width: 2.8px;
  stroke-linejoin: round;
  paint-order: stroke;
}
.rv-label rect {
  fill: none;
}
.rv-marker.is-selected .rv-marker-dot {
  fill: #e65d47;
  stroke: #fff0d6;
  stroke-width: 2.4px;
}
.rv-marker.is-selected .rv-label rect {
  fill: #b94f3d;
  stroke: #f4d6aa;
  stroke-width: 1;
}
.rv-marker.is-selected .rv-city-name {
  fill: #fff7e9;
  stroke: none;
  font-size: 12px;
}
.rv-marker:focus-visible .rv-marker-dot,
.rv-marker:hover .rv-marker-dot {
  fill: #df8a4c;
  stroke: #463d32;
  stroke-width: 2;
}
.rv-atlas-canvas:focus-visible {
  outline: 2px solid #7a6034;
  outline-offset: -3px;
}
.rv-marker,
.rv-label {
  pointer-events: bounding-box;
}
.rv-marker .rv-label rect {
  pointer-events: all;
}
.rv-poi {
  cursor: pointer;
  outline: none;
}
.rv-poi-count {
  fill: #fff9e7;
  font:
    700 8.5px/1 system-ui,
    sans-serif;
}
.rv-poi:is(:hover, :focus-visible) .rv-cluster-face {
  stroke: #2c483b;
  stroke-width: 2.3;
}
.rv-cluster-list {
  position: absolute;
  z-index: 4;
  left: 12px;
  bottom: 15px;
  width: min(240px, 74%);
  max-height: 60%;
  overflow: auto;
  border: 1px solid #9ba790;
  border-radius: 5px;
  background: #fffbed;
  color: #314d3e;
  box-shadow: 0 4px 18px #213a3425;
  padding: 2px 9px;
}
.rv-cluster-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font:
    650 12px/1.4 system-ui,
    sans-serif;
  border-bottom: 1px solid #d3d7c3;
  padding: 4px 0;
}
.rv-cluster-head button {
  font-size: 19px;
  padding: 0 5px;
}
.rv-poi-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  text-align: left;
  color: inherit;
  font:
    500 12px/1.3 system-ui,
    sans-serif;
  padding: 7px 2px;
}
.rv-poi-item small {
  font:
    600 9px/1.3 system-ui,
    sans-serif;
  color: #80592d;
}
.rv-poi-item[data-kind="municipality"] small {
  color: #386a76;
}
.rv-cluster-list input {
  width: 100%;
  font:
    13px/1.4 system-ui,
    sans-serif;
  margin: 5px 0;
  padding: 4px 6px;
  border: 1px solid #aab69f;
  border-radius: 3px;
  background: #fffef5;
}
.rv-poi-item + button {
  border-top: 1px solid #dfdecf;
}
.rv-poi-item:hover,
.rv-poi-item:focus {
  background: #efefdb;
}
.rv-map-compass {
  position: absolute;
  pointer-events: none;
  right: 9%;
  bottom: 7%;
  color: #406766;
}
.rv-map-compass.is-compact {
  right: auto;
  bottom: auto;
  left: 4%;
  top: 17%;
}
.rv-compass-n {
  font:
    700 8.5px Georgia,
    serif;
  fill: #466964;
}
.rv-atlas-map.is-compact .rv-map-source {
  right: 52px;
}
.rv-trail-line {
  fill: none;
  stroke: #934438;
  stroke-width: 2.4;
  stroke-dasharray: 5 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.rv-waypoint {
  cursor: pointer;
  outline: none;
}
.rv-waypoint-edge {
  fill: #fff6d5;
  stroke: #6e4736;
  stroke-width: 1.25;
}
.rv-waypoint-face {
  fill: #aa4c37;
}
.rv-waypoint-number {
  fill: #fff8e3;
  font: 700 11px var(--mono, monospace);
  pointer-events: none;
}
.rv-waypoint-leader {
  stroke: #704832;
  stroke-width: 1.4;
  pointer-events: none;
}
.rv-waypoint:hover .rv-waypoint-face,
.rv-waypoint:focus-visible .rv-waypoint-face {
  fill: #713b26;
}
.rv-waypoint:focus-visible .rv-waypoint-edge {
  stroke: #172f26;
  stroke-width: 3;
}
.rv-marker-halo {
  display: none;
  pointer-events: none;
}
.rv-marker.is-selected .rv-marker-halo {
  display: block;
  stroke: #cb563c;
  stroke-width: 1;
  opacity: 0.45;
}
@media (prefers-reduced-motion: no-preference) {
  .rv-marker.is-selected .rv-marker-halo {
    animation: rv-marker-pulse 2.8s ease-out 3;
  }
  @keyframes rv-marker-pulse {
    0% {
      r: 5;
      opacity: 0.75;
    }
    80%,
    100% {
      r: 10;
      opacity: 0.18;
    }
  }
}

/* Inked signs and illustrated topography stay legible as the camera changes scale. */
.rv-atlas-map {
  --rv-sea: #9acdd0;
  --rv-sign: #fff1c9;
  --rv-sign-ink: #344e43;
}
.rv-atlas-map[data-season="spring"] {
  --rv-sea: #a5d3ce;
}
.rv-atlas-map[data-season="autumn"] {
  --rv-sea: #a7ced0;
}
.rv-atlas-map[data-season="winter"] {
  --rv-sea: #b0d5dc;
}
.rv-open-sea {
  fill: var(--rv-sea);
}
.rv-region-sign {
  cursor: pointer;
  outline: none;
}
.rv-region-paper {
  fill: var(--rv-sign);
  stroke: #59715b;
  stroke-width: 1.2;
}
.rv-region-mark {
  fill: #d58b4d;
}
.rv-region-name {
  font:
    750 11.8px "DM Sans",
    system-ui,
    sans-serif;
  letter-spacing: 0.08px;
  fill: var(--rv-sign-ink);
  paint-order: stroke;
}
.rv-region-leader {
  fill: none;
  stroke: #547565;
  stroke-width: 1.1;
  stroke-dasharray: 2 2;
  pointer-events: none;
}
.rv-region-beacon {
  fill: #eaaa61;
  stroke: #f9efd0;
  stroke-width: 1.3;
  pointer-events: none;
}
.rv-region-sign:is(:hover, :focus-visible) .rv-region-paper {
  fill: #ffe7a5;
  stroke: #2f5745;
  stroke-width: 2;
}
.rv-region-sign:is(:hover, :focus-visible) .rv-region-mark {
  fill: #b8503b;
}
.rv-map-spot-name {
  font:
    600 10px "DM Sans",
    system-ui,
    sans-serif;
  fill: #334a41;
  stroke: #fff6d9;
  stroke-width: 3;
  stroke-linejoin: round;
  paint-order: stroke;
}
.rv-map-compass,
.rv-map-compass.is-compact {
  top: auto;
  left: auto;
  right: 4%;
  bottom: 8%;
  opacity: 0.84;
}
.rv-map-source,
.rv-atlas-map.is-compact .rv-map-source {
  right: 10px;
  bottom: 5px;
  font-size: 9px;
}
.rv-atlas-map[data-tier="national"] .rv-inset-name {
  display: none;
}
.rv-atlas-map[data-tier="national"] .rv-water-name {
  font-size: 17px;
  letter-spacing: 4px;
}
@media (max-width: 600px) {
  .rv-map-compass,
  .rv-map-compass.is-compact {
    bottom: 15%;
    right: 3%;
  }
  .rv-region-name {
    font-size: 11.5px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .rv-drift-cloud {
    animation: rv-cloud-drift 22s ease-in-out infinite alternate;
  }
  .rv-drift-gulls {
    animation: rv-gulls-drift 15s ease-in-out infinite alternate;
  }
  .rv-drift-whale {
    animation: rv-whale-drift 12s ease-in-out infinite alternate;
  }
  @keyframes rv-cloud-drift {
    from {
      transform: translate(-6px, 0);
    }
    to {
      transform: translate(8px, -2px);
    }
  }
  @keyframes rv-gulls-drift {
    from {
      transform: translate(-3px, 1px);
    }
    to {
      transform: translate(5px, -2px);
    }
  }
  @keyframes rv-whale-drift {
    from {
      transform: translate(-1px, 1px);
    }
    to {
      transform: translate(2px, -1px);
    }
  }
}

.rv-margin-land {
  opacity: 0.26;
  pointer-events: none;
}
.rv-region-sign {
  pointer-events: none;
}
.rv-region-plaque {
  pointer-events: visiblePainted;
}

@media (max-width: 600px) {
  .rv-atlas-map .rv-map-source,
  .rv-atlas-map.is-compact .rv-map-source {
    bottom: calc(var(--dock-bottom, 11px) + 75px);
    right: var(--world-right, 7px);
  }
}

.rv-gsi-source,
.rv-gsi-status {
  position: absolute;
  right: 8px;
  bottom: 23px;
  border-radius: 3px;
  padding: 3px 5px;
  color: #284b48;
  background: #fffae8e8;
  font:
    600 10px/1.2 system-ui,
    sans-serif;
}
.rv-gsi-status {
  font-weight: 500;
}
.rv-gsi-tile {
  image-rendering: auto;
}
@media (max-width: 600px) {
  .rv-gsi-source,
  .rv-gsi-status {
    bottom: calc(var(--dock-bottom, 11px) + 92px);
    right: var(--world-right, 7px);
  }
}

.rv-photo-leader {
  stroke: #725336;
  stroke-width: 1.2;
  fill: none;
  pointer-events: none;
}
.rv-photo-frame {
  fill: #fff1c7;
  stroke: #926c46;
  stroke-width: 1;
}
.rv-poi:is(:hover, :focus-visible) .rv-photo-frame {
  stroke: #4e5034;
  stroke-width: 2;
}

.rv-atlas-canvas {
  transform: translateZ(0);
  backface-visibility: hidden;
}
.rv-atmosphere {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  contain: layout paint style;
}
.rv-sky-anchor {
  display: block;
  position: absolute;
}
.rv-sky-anchor img {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}
.rv-sky-anchor .rv-drift-cloud {
  opacity: 0.78;
}
.rv-sky-anchor .rv-drift-whale {
  opacity: 0.9;
}
@media (prefers-reduced-motion: no-preference) {
  .rv-sky-anchor img {
    will-change: transform;
  }
}

.rv-overview-coasts {
  display: none;
}
.rv-atlas-map:is([data-tier="national"], [data-tier="regional"])
  .rv-overview-coasts {
  display: inline;
}
.rv-atlas-map:is([data-tier="national"], [data-tier="regional"])
  :is(.rv-vector-coast, .rv-vector-water) {
  display: none;
}


@media (max-width: 650px), (max-height: 520px) and (orientation: landscape) {
  .rv-cluster-list {
    left: var(--world-left, 10px);
    bottom: calc(var(--dock-bottom, 11px) + 70px);
    overscroll-behavior: contain;
  }
}
@media (pointer: coarse) {
  .rv-cluster-head button,
  .rv-poi-item {
    min-height: 44px;
  }
  .rv-cluster-head button {
    min-width: 44px;
  }
  .rv-cluster-list input {
    min-height: 44px;
    font-size: 16px;
  }
}
#atlas-root:has(.rv-cluster-list[data-keyboard]) {
  z-index: 4;
}
.rv-cluster-list[data-keyboard] {
  top: calc(var(--dialog-visible-top) + 8px);
  bottom: auto;
  width: min(350px, calc(100% - var(--world-left, 10px) - var(--world-right, 10px)));
  max-height: calc(var(--dialog-visible-height) - 16px);
}
