.eip-auto-plan-root {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eip-auto-plan-root[hidden] {
  display: block !important;
}

.eip-fullscreen-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  --eip-bg-color: #1a1a1c;
  --eip-bg-base: linear-gradient(180deg, #242428 0%, #1e1e22 55%, #1a1a1c 100%);
  background-color: var(--eip-bg-color);
  background-image: var(--eip-bg-base);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
}

.eip-fullscreen-overlay[hidden] {
  display: none !important;
}

.eip-fullscreen-stage {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}

.eip-fullscreen-stage > .eip-map-wrap {
  width: 100%;
  height: 100%;
  min-height: 100dvh;
}

.eip-fullscreen-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2147483001;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(38, 38, 42, 0.94);
  color: #ece8e0;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  transition: background 160ms ease, transform 160ms ease;
}

.eip-fullscreen-close:hover,
.eip-fullscreen-close:focus-visible {
  background: rgba(58, 58, 64, 0.98);
  transform: scale(1.04);
  outline: none;
}

.eip-fullscreen-overlay:has(.eip-map-wrap.sidebar-open) .eip-fullscreen-close,
.eip-fullscreen-overlay.eip-zone-sidebar-open .eip-fullscreen-close {
  visibility: hidden;
  pointer-events: none;
}

html.eip-fullscreen-open,
body.eip-fullscreen-open {
  overflow: hidden;
}

.eip-plan-modal-host {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eip-map-wrap--fullscreen .top-bar {
  padding-right: 4.5rem;
}

@media (max-width: 600px) {
  .eip-fullscreen-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
  }
}
