#atlas-flight {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  isolation: isolate;
  box-sizing: border-box;
  background: #193b32;
  color: #fffbee;
  touch-action: none;
  overscroll-behavior: contain;
}

#atlas-flight::backdrop { background: transparent; }
.atlas-flight-arrival { pointer-events: none; }
.atlas-flight-stage, .atlas-flight-hud { position: absolute; inset: 0; pointer-events: none; }
.atlas-flight-stage { overflow: hidden; }
.atlas-flight-layer {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  will-change: transform, opacity;
  pointer-events: none;
}
.atlas-flight-travelling {
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent),
              linear-gradient(to bottom, transparent, black 6%, black 94%, transparent);
  mask-composite: intersect;
}
.atlas-flight-point {
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  box-sizing: border-box;
  border: 2px solid #f5d88e;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #27372d;
  opacity: 0;
  pointer-events: none;
}

.atlas-flight-caption, .atlas-flight-skip {
  position: absolute;
  border: 1px solid #f7f1dc70;
  border-radius: 5px;
  background: #173a32f2;
  color: #fffbee;
  box-shadow: 0 2px 10px #0a201c24;
}

.atlas-flight-caption {
  bottom: max(13px, env(safe-area-inset-bottom));
  left: max(14px, env(safe-area-inset-left));
  padding: 6px 13px;
  font: 400 clamp(1.12rem, 2vw, 1.45rem)/1.25 Baskervville, Georgia, serif;
}
.atlas-flight-skip {
  top: max(12px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  min-height: 44px;
  padding: 6px 14px;
  font: 650 .875rem/1.25 'DM Sans', system-ui, sans-serif;
  pointer-events: auto;
  cursor: pointer;
}
.atlas-flight-skip:hover { background: #315544; }
.atlas-flight-skip:focus-visible { outline: 3px solid #f4ca76; outline-offset: 3px; }
.atlas-flight-credit {
  position: absolute;
  right: max(6px, env(safe-area-inset-right));
  bottom: max(4px, env(safe-area-inset-bottom));
  padding: 2px 5px;
  border-radius: 2px;
  background: #f6f5efed;
  color: #253c32;
  font: .69rem/1.3 'DM Sans', system-ui, sans-serif;
  pointer-events: auto;
}
.atlas-flight-arrival .atlas-flight-credit { pointer-events: none; }
