/* ============================================================
   gos:choke-map v1.0 - Choke-Point-Map for Pass-Through Sub-Pages
   Vanilla SVG, dark theme matching methodik.css
   ============================================================ */

.choke-map-section {
  margin: 28px 0 16px;
  padding: 20px 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: 12px;
}

.choke-map-title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text, #eaf2ff);
}

.choke-map-lead {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--text-dim, #b4c2d9);
  line-height: 1.55;
}

.choke-map-wrap {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  isolation: isolate;
}

.choke-map-svg {
  display: block;
  width: 100%;
  height: auto;
  background: linear-gradient(180deg, rgba(8, 14, 26, 0.6), rgba(12, 19, 32, 0.4));
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.choke-map-svg .cp-water { fill: rgba(8, 14, 26, 0.4); }
.choke-map-svg .cp-land {
  fill: rgba(180, 194, 217, 0.10);
  stroke: rgba(245, 158, 11, 0.32);
  stroke-width: 0.7;
}

.choke-map-svg .cp-route {
  fill: none;
  stroke: rgba(245, 158, 11, 0.22);
  stroke-width: 1;
  stroke-dasharray: 4 3;
}

/* Marker - clickable, ≥44pt touch target */
.cp-marker {
  cursor: pointer;
  outline: none;
}
.cp-marker:focus-visible .cp-marker-ring,
.cp-marker:hover .cp-marker-ring {
  stroke-width: 2.5;
  stroke: #fbbf24;
}

.cp-marker-hit {
  fill: transparent;
  /* invisible 22px-radius circle = 44pt touch target */
}

.cp-marker-ring {
  fill: rgba(245, 158, 11, 0.18);
  stroke: rgba(245, 158, 11, 0.85);
  stroke-width: 1.5;
}

.cp-marker-dot {
  fill: #f59e0b;
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.7));
}

@keyframes cpPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.4); opacity: 0.25; }
}

.cp-marker-pulse {
  fill: rgba(245, 158, 11, 0.5);
  transform-origin: center;
  transform-box: fill-box;
  animation: cpPulse 2.4s ease-in-out infinite;
}

.cp-label {
  font-family: var(--ff-display, 'Barlow Condensed', system-ui, sans-serif);
  font-size: 12px;
  fill: rgba(234, 242, 255, 0.92);
  pointer-events: none;
  text-anchor: middle;
  font-weight: 600;
  letter-spacing: 0.4px;
}
.cp-label-bg {
  fill: rgba(12, 19, 32, 0.78);
  stroke: rgba(245, 158, 11, 0.3);
  stroke-width: 0.6;
  rx: 4;
  ry: 4;
}

/* Tooltip Card */
.choke-map-tooltip {
  margin-top: 14px;
  padding: 14px 16px;
  background: rgba(245, 158, 11, 0.06);
  border-left: 3px solid rgba(245, 158, 11, 0.55);
  border-radius: 6px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-dim, #b4c2d9);
  min-height: 88px;
  transition: opacity 200ms ease;
}

.choke-map-tooltip[hidden] {
  display: none;
}

.choke-map-tooltip-title {
  display: block;
  font-weight: 700;
  color: var(--amber, #f59e0b);
  margin-bottom: 4px;
  font-size: 15px;
}

.choke-map-tooltip-share {
  display: inline-block;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 13px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.32);
  border-radius: 6px;
  padding: 2px 8px;
  margin: 0 0 8px;
  color: var(--amber, #f59e0b);
}

.choke-map-hint {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--muted, #7a8da6);
  font-style: italic;
}

@media (max-width: 640px) {
  .choke-map-section { padding: 16px 14px; }
  .choke-map-title { font-size: 1rem; }
  .choke-map-tooltip { font-size: 14px; padding: 12px 14px; }
  .cp-label { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .cp-marker-pulse { animation: none; }
}
