/* Globe by stops (geo-globe.js). The container is square by default; size it
   with width (or width and height) in the page. Canvas colours are custom
   properties on .mw-globe, read on resize: plain colours (the canvas parses
   them), including the specular light at the upper left (--mw-globe-specular)
   and the 1 px outline of the sphere (--mw-globe-rim). */

.mw-globe {
  --mw-globe-ocean: #0e3b43;
  --mw-globe-ocean-hi: #1d6670;
  --mw-globe-land: #ead9bb;
  --mw-globe-border: rgb(14 59 67 / .35);
  --mw-globe-grid: rgb(255 255 255 / .12);
  --mw-globe-accent: #e2552b;
  --mw-globe-accent-line: #fff4e3;
  --mw-globe-route: #fff4e3;
  --mw-globe-marker: #fff4e3;
  --mw-globe-glow: rgb(29 102 112 / .35);
  --mw-globe-shade: rgb(3 18 22 / .45);
  --mw-globe-specular: rgb(255 255 255 / .08);
  --mw-globe-rim: rgb(255 255 255 / .18);
  --mw-globe-label-bg: #1f130c;
  --mw-globe-label-fg: #fff4e3;
  --mw-globe-label-active-bg: #b8400f;
  --mw-globe-label-active-fg: #fff;
  --mw-globe-label-shadow: 0 10px 24px -12px rgb(0 0 0 / .6);
  --mw-globe-label-radius: 999px;
  --mw-globe-label-weight: 700;
  position: relative;
  aspect-ratio: 1;
}

.mw-globe__canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }

/* Labels: HTML in screen space, horizontal, on an opaque pill; hidden on the
   back of the globe by class, with a short timed fade. */
.mw-globe__labels { position: absolute; inset: 0; pointer-events: none; }
.mw-globe__label {
  position: absolute;
  top: 0;
  left: 0;
  padding: 5px 11px 6px;
  border-radius: var(--mw-globe-label-radius);
  background: var(--mw-globe-label-bg);
  color: var(--mw-globe-label-fg);
  box-shadow: var(--mw-globe-label-shadow);
  font-size: .82rem;
  font-weight: var(--mw-globe-label-weight);
  line-height: 1.2;
  white-space: nowrap;
  transition: opacity .3s var(--mw-ease, cubic-bezier(.16, 1, .3, 1)), visibility 0s, background-color .3s;
}
.mw-globe__label--active { background: var(--mw-globe-label-active-bg); color: var(--mw-globe-label-active-fg); }
.mw-globe__label--back { opacity: 0; visibility: hidden; transition: opacity .2s linear, visibility 0s .2s, background-color .3s; }

/* Copy panels (the `panels` option). Armed only while the globe runs: the
   active one shows, the others wait at opacity 0 and stay readable by screen
   readers. The swap is a class and a timed transition. */
.mw-globe__panel[data-mw-armed] {
  transition: opacity .45s var(--mw-ease, cubic-bezier(.16, 1, .3, 1)) .1s, transform .55s var(--mw-ease, cubic-bezier(.16, 1, .3, 1)) .1s;
}
.mw-globe__panel[data-mw-armed]:not([data-mw-active]) {
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .2s linear, transform .2s linear;
}
.mw-globe__panel[data-mw-armed][data-mw-active] { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .mw-globe__label, .mw-globe__panel { transition: none !important; }
}
