.geo-flyover {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 240px;
  background: #0a0a0a;
  color: #f5f5f5;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
}

.geo-flyover--modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.geo-flyover-toolbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding: 0.65rem 0.75rem;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}

.geo-flyover-slider {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.55);
  font-size: 0.8rem;
  font-weight: 600;
}

.geo-flyover-slider:first-of-type {
  margin-right: auto;
}

.geo-flyover-slider-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  margin-right: 0.15rem;
}

.geo-flyover-slider-end {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.85;
  white-space: nowrap;
}

.geo-flyover-slider-input {
  width: min(28vw, 9rem);
  margin: 0;
  accent-color: #00b9fe;
  cursor: pointer;
}

.geo-flyover-transport {
  pointer-events: auto;
  display: flex;
  flex-wrap: nowrap;
  flex-shrink: 0;
  align-items: center;
  gap: 0.5rem;
}

.geo-flyover-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.55);
  color: #f5f5f5;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

@media (orientation: portrait) {
  .geo-flyover-toolbar {
    justify-content: flex-start;
  }

  .geo-flyover-slider:first-of-type {
    margin-right: 0;
  }

  .geo-flyover-slider {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
  }

  .geo-flyover-slider-input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  .geo-flyover-transport {
    flex-wrap: nowrap;
  }
}

.geo-flyover-btn:hover {
  background: rgba(0, 0, 0, 0.75);
  border-color: rgba(255, 255, 255, 0.55);
}

.geo-flyover-btn[data-flyover-look] {
  width: 4.25rem;
  box-sizing: border-box;
  justify-content: center;
  text-align: center;
}

.geo-flyover-btn[aria-pressed="true"] {
  background: rgba(0, 185, 254, 0.35);
  border-color: rgba(0, 185, 254, 0.85);
}

.geo-flyover-btn--close {
  border-color: rgba(220, 38, 38, 0.7);
}

.geo-flyover-btn--close:hover {
  background: rgba(185, 28, 28, 0.85);
  border-color: rgba(255, 255, 255, 0.5);
}

.geo-flyover-map {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.geo-flyover--embed .geo-flyover-map {
  position: absolute;
}

.geo-flyover-attrib {
  position: absolute;
  right: 0.5rem;
  bottom: 0.35rem;
  z-index: 2;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.45);
  font-size: 10px;
  line-height: 1.3;
  pointer-events: auto;
}

.geo-flyover-attrib a {
  color: #eee;
  text-decoration: none;
}

.geo-flyover-attrib a:hover {
  text-decoration: underline;
}
