/* fcc-geo-map (Beaglefoot) — только внутри #ac-meteo-root, без влияния на сайт */
#ac-meteo-root {
  position: relative;
  width: 100%;
  max-width: min(920px, 100%);
  margin: clamp(8px, 2vw, 16px) auto 0;
  border-radius: 14px;
  isolation: isolate;
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  background-image: url("https://raw.githubusercontent.com/Beaglefoot/fcc-geo-map/master/assets/images/nasa-53884.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#ac-meteo-root,
#ac-meteo-root * {
  box-sizing: border-box;
}

#ac-meteo-root #app {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 10px 20px;
  min-height: 280px;
  user-select: none;
  cursor: default;
  color: #fff;
  font-family: Roboto, system-ui, sans-serif;
  font-size: 14px;
}

#ac-meteo-root .svg {
  position: relative;
  background: rgba(19, 24, 31, 0.9);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.85);
  border-radius: 10px;
  max-width: 100%;
}

#ac-meteo-root .globe {
  all: initial;
}

#ac-meteo-root .water {
  fill: #2b879e;
}

#ac-meteo-root .land {
  fill: #f2e8c4;
  stroke: #7a7158;
  stroke-width: 0.1px;
}

#ac-meteo-root .graticule {
  stroke: #000;
  stroke-width: 0.1;
  fill: none;
}

#ac-meteo-root .meteorite {
  fill: rgba(255, 215, 0, 0.6);
  stroke: rgba(184, 134, 11, 0.85);
  transition: fill 0.3s;
}

#ac-meteo-root .meteorite:hover {
  fill: rgba(255, 99, 71, 0.8);
  stroke: rgba(178, 34, 34, 0.9);
}

#ac-meteo-root .help-text {
  color: #fff;
  text-shadow:
    -1px 0 #000,
    0 1px #000,
    1px 0 #000,
    0 -1px #000,
    0 0 5px #000;
  font-size: 16px;
}

#ac-meteo-root .mouse-icon svg {
  width: 2em;
  height: 2em;
  transform: translateY(3px);
}

#ac-meteo-root #mouse-scroll,
#ac-meteo-root #mouse-left-button,
#ac-meteo-root #mouse-right-button {
  fill: #fff;
}

#ac-meteo-root .mouse-highlight-left #mouse-left-button,
#ac-meteo-root .mouse-highlight-scroll #mouse-scroll {
  fill: tomato;
}

#ac-meteo-root .ctrl-button {
  display: inline-block;
  width: 2.5em;
  text-align: center;
  background: #fff;
  font-size: 12px;
  font-weight: bold;
  text-shadow: none;
  color: #000;
  border: 0.5px solid #000;
  border-radius: 3px;
  transform: translateY(-3px);
}

#ac-meteo-root .help {
  position: absolute;
  text-align: right;
  line-height: 1.3em;
  padding: 0.4em 0.6em;
}

#ac-meteo-root .loading {
  font-size: 22px;
  text-align: center;
  margin-top: 20vh;
}

#ac-meteo-root .tooltip {
  position: absolute;
  background: #faf6e8;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  padding: 0.3em 0.5em;
  color: rgba(43, 135, 158, 0.85);
  line-height: 1.3;
  z-index: 50;
}

#ac-meteo-root .tooltip--hide {
  display: none;
}

#ac-meteo-root .tooltip--show {
  display: block;
}

#ac-meteo-root .ac-meteo-nasa-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  transform: scale(0.78) translateY(16%);
  background-color: #000;
  color: #fff;
  text-decoration: none;
  padding: 4px 6px;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "San Francisco",
    "Helvetica Neue",
    Helvetica,
    Ubuntu,
    Roboto,
    Noto,
    "Segoe UI",
    Arial,
    sans-serif;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.2;
  display: inline-block;
  border-radius: 3px;
  z-index: 5;
}

#ac-meteo-root .ac-meteo-nasa-badge:hover {
  color: #fff;
}
