.map3d-body {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}


.map3d-container {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  background: #1a1a1a;
}

.map3d-container gmp-map-3d {
  display: block;
  width: 100%;
  height: 100%;
}

.map3d-status {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
  padding: 2rem;
}

.map3d-status[hidden] {
  display: none;
}

.map3d-status span {
  max-width: 480px;
  color: #eee;
  font-size: 1rem;
  line-height: 1.6;
  background: rgba(20, 20, 20, 0.85);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
}

.map3d-panel {
  position: fixed;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 6rem;
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  z-index: 50;
  max-height: 60vh;
  overflow-y: auto;
}

.map3d-panel[hidden] {
  display: none;
}

.map3d-panel-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #888;
}

.map3d-panel-close:hover {
  color: var(--ink);
}

.map3d-panel h2 {
  margin: 0 0 0.5rem;
  color: var(--accent-dark);
  padding-right: 1.25rem;
}

.map3d-panel p {
  margin: 0 0 0.75rem;
  line-height: 1.5;
  color: #3a3a3a;
}

.map3d-panel img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.map3d-panel img[hidden] {
  display: none;
}
