:root {
  --map-bg-0: #0b1320;
  --map-bg-1: #18283c;
  --map-bg-2: #28445f;
  --map-text: #f3ece1;
  --map-soft: rgba(243, 236, 225, 0.8);
  --map-line: rgba(191, 222, 255, 0.28);
  --map-accent: #ffbf72;
  --map-accent-2: #71d5f2;
  --map-panel: rgba(8, 21, 31, 0.76);
  --map-border: rgba(255, 191, 114, 0.26);
}

.hotspot-map-page {
  margin: 0;
  color: var(--map-text);
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 191, 114, 0.2), transparent 28%),
    radial-gradient(circle at 88% 4%, rgba(113, 213, 242, 0.2), transparent 26%),
    linear-gradient(160deg, var(--map-bg-0) 0%, var(--map-bg-1) 48%, var(--map-bg-2) 100%);
  background-attachment: fixed;
  font-family: Cambria, "Palatino Linotype", "Book Antiqua", serif;
}

.hotspot-map-page .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem 2.8rem;
}

.hotspot-map-page .page-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  margin: 0 -1rem;
  padding: 0.8rem 1rem;
  backdrop-filter: blur(8px);
  background: rgba(8, 18, 28, 0.7);
  border-bottom: 1px solid rgba(255, 191, 114, 0.22);
}

.hotspot-hero {
  padding: 1.1rem 0 0.7rem;
}

.hotspot-hero h1 {
  margin: 0.7rem 0 0.9rem;
  font-size: clamp(1.85rem, 4.4vw, 3.1rem);
  line-height: 1.08;
  max-width: 19ch;
  color: #fff5e7;
}

.hero-kicker,
.detail-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.72rem;
  color: #ffd9ad;
  font-weight: 700;
}

.hero-lead {
  margin: 0;
  max-width: 66ch;
  color: var(--map-soft);
  line-height: 1.6;
}

.map-layout {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 1rem;
}

.map-panel,
.detail-panel {
  border-radius: 16px;
  border: 1px solid var(--map-border);
  background: var(--map-panel);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.map-panel {
  padding: 0.8rem;
}

#map-svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  background: rgba(7, 16, 24, 0.72);
  border: 1px solid rgba(191, 222, 255, 0.22);
}

.map-plate {
  fill: rgba(255, 255, 255, 0.03);
  stroke: rgba(191, 222, 255, 0.18);
  stroke-width: 1.5;
}

.route-line {
  stroke: rgba(191, 222, 255, 0.26);
  stroke-dasharray: 4 6;
  animation: dashFlow 12s linear infinite;
}

@keyframes dashFlow {
  to { stroke-dashoffset: -100; }
}

.hotspot {
  cursor: pointer;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.18s ease, filter 0.18s ease, opacity 0.18s ease;
}

.hotspot:hover,
.hotspot.active {
  transform: scale(1.05);
  filter: drop-shadow(0 0 14px rgba(255, 191, 114, 0.25));
}

.hotspot circle.base {
  fill: rgba(255, 191, 114, 0.14);
  stroke: rgba(255, 191, 114, 0.55);
  stroke-width: 2;
}

.hotspot circle.ring {
  fill: none;
  stroke: rgba(113, 213, 242, 0.45);
  stroke-width: 2;
  stroke-dasharray: 6 6;
}

.hotspot text {
  fill: #f6efe3;
  text-anchor: middle;
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
}

.hotspot.dimmed {
  opacity: 0.26;
}

.detail-panel {
  position: sticky;
  top: 1rem;
  min-height: 400px;
  padding: 1rem;
}

.detail-panel h2 {
  margin: 0.65rem 0 0.55rem;
  color: #ffe8c5;
}

#place-summary {
  margin: 0;
  color: var(--map-soft);
  line-height: 1.6;
}

.detail-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.detail-row {
  display: grid;
  grid-template-columns: 102px 1fr;
  gap: 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(191, 222, 255, 0.16);
}

.detail-row dt {
  color: #96def1;
  font-weight: 700;
}

.detail-row dd {
  margin: 0;
  color: #f5eee4;
}

.empty-state {
  margin-top: 0.85rem;
  border: 1px dashed rgba(255, 191, 114, 0.34);
  border-radius: 10px;
  padding: 0.75rem;
  color: #ffdcb2;
  background: rgba(8, 21, 31, 0.4);
}

@media (max-width: 880px) {
  .map-layout {
    grid-template-columns: 1fr;
  }

  .hotspot-map-page .container {
    padding: 0 0.75rem 2.2rem;
  }

  .hotspot-map-page .page-topbar {
    margin: 0 -0.75rem;
    padding: 0.75rem;
  }
}
