/* The map uses its own night palette inside each Christmas setting. */
.atlas-viewport {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  touch-action: none;
  cursor: grab;
  border-radius: .85rem;
  border: 1px solid #3e7e7d;
  background: #102d40;
  box-shadow: inset 0 0 0 1px #7fdbc533;
}
.atlas-viewport:active { cursor: grabbing; }
.atlas-viewport:focus-visible { outline: 3px solid #b07137; outline-offset: 2px; }
.route-map.atlas-viewport { height: clamp(15.25rem, 55vw, 26rem); }
.atlas-viewport::after {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  border: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 26px #081a3445;
  pointer-events: none;
  background: repeating-linear-gradient(0deg,transparent 0 3px,#d2fdff05 3px 4px);
}
.atlas-north {
  position: absolute; z-index: 1; top: .7rem; left: .77rem;
  display: grid; justify-items: center; gap: 3px;
  color: #bfeae1; font: 700 .58rem ui-monospace, monospace;
  pointer-events: none; text-shadow: 0 1px 2px #123348;
}
.atlas-north::after {
  content: ''; width: 13px; height: 24px;
  background: linear-gradient(90deg,#61b6b2 50%,#e6f9df 50%);
  clip-path: polygon(50% 0,93% 89%,50% 67%,7% 89%);
}
.atlas-snow { position: absolute; inset: 0; container-type: size; overflow: hidden; pointer-events: none; z-index: 0; }
.atlas-snow i {
  position: absolute; left: var(--left); top: -4%;
  width: var(--size); height: var(--size); border-radius: 50%;
  opacity: .73; background: #e6fff6; box-shadow: 0 0 3px #a3eee6;
  animation: atlas-snowfall var(--duration) linear var(--delay) infinite;
}
@keyframes atlas-snowfall {
  0% { transform: translate3d(0,0,0); opacity: 0; }
  12% { opacity: .75; }
  86% { opacity: .56; }
  100% { transform: translate3d(22px,108cqh,0); opacity: 0; }
}
.atlas-offscreen .atlas-snow i { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .atlas-snow { display: none; } }
.route-map .map-city {
  width: 46px; min-height: 45px; padding: 0;
  transform: translate(-50%,-7px); z-index: 2; gap: .15rem;
}
.route-map .map-city::before {
  width: 13px; height: 13px; border: 2px solid #cbfff6;
  border-radius: 50%; background: #2b777c;
  box-shadow: 0 0 0 3px #3bc9cb4a, 0 0 7px #66eae1;
}
.route-map .map-city[aria-pressed=true]::before { background: #ffd799; border-color: #fff0b6; box-shadow: 0 0 0 3px #ffc28d4d,0 0 9px #ffba888c; }
.route-map .map-city span {
  padding: .11rem .28rem; background: #0e263eea; border: 1px solid #60969a; color: #d7ffef;
  font: 700 .61rem/1.15 ui-monospace, monospace; letter-spacing: .085em;
}
.route-map-tools {
  display: flex; flex-direction: column; position: absolute; right: .4rem; top: .4rem; z-index: 3;
  overflow: hidden; border-radius: .4rem; border: 1px solid #69939b;
  background: #102b40ed;
}
.route-map-tools button {
  display: grid; place-content: center; width: 32px; min-height: 32px; padding: 0;
  border: 0; border-radius: 0; background: transparent; color: #daf7e9;
  font: 600 1.05rem ui-monospace, monospace;
}
.route-map-tools button + button { border-top: 1px solid #6cb6b342; }
.route-map-tools button:last-child { font-size: .63rem; }
.route-map-tools button:disabled { opacity: .45; }
.atlas-credit { display: block; font-size: .65rem; line-height: 1.4; color: var(--muted); text-align: right; }
.atlas-credit a { color: inherit; text-underline-offset: .14em; }
.photo-map-viewport.atlas-viewport { height: clamp(17rem,65vw,30rem); }
.photo-map .photo-map-marker {
  background: radial-gradient(circle, #83f4df 0 34%,#173c4a 35% 44%,#88d9c780 45% 50%, transparent 51%);
  border: none; color: #0c3843; box-shadow: none;
  font: 700 .75rem ui-monospace,monospace;
}
.photo-map .photo-map-marker[aria-pressed=true] {
  background: radial-gradient(circle, #ffdcac 0 34%,#543c44 35% 44%,#f8d3989c 45% 51%, transparent 52%);
  color: #473731;
}
.map-city[hidden],.photo-map-marker[hidden] { display: none; }
