/* TerraNava · Globo Cinematográfico — sección dedicada */

#globe-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: radial-gradient(ellipse at 50% 40%,
    #0d1830 0%,
    #050810 55%,
    #000 100%);
  overflow: hidden;
  isolation: isolate;
}

/* Background limpio sin star-field CSS (las estrellas reales son 3D vía Three.js) */

#globe-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* Header overlay (eyebrow + título + lead) */
.globe-header {
  position: absolute;
  top: clamp(var(--sp-7), 7vh, var(--sp-9));
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  max-width: 760px;
  width: 90%;
  pointer-events: none;
}
.globe-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--tn-sepia);
  margin-bottom: var(--sp-3);
  opacity: 0;
  animation: globeFadeIn 1.2s 0.3s var(--ease-cinematic) forwards;
}
.globe-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--tn-bone);
  margin: 0 0 var(--sp-3);
  opacity: 0;
  animation: globeFadeIn 1.2s 0.6s var(--ease-cinematic) forwards;
}
.globe-title em {
  font-style: italic;
  color: var(--tn-sepia);
}
.globe-lead {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.5;
  color: rgba(251, 249, 244, 0.65);
  margin: 0;
  max-width: 56ch;
  margin-inline: auto;
  opacity: 0;
  animation: globeFadeIn 1.2s 0.9s var(--ease-cinematic) forwards;
}

/* Stats bottom bar */
.globe-stats {
  position: absolute;
  bottom: clamp(var(--sp-6), 6vh, var(--sp-8));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: clamp(var(--sp-4), 4vw, var(--sp-7));
  z-index: 10;
  opacity: 0;
  animation: globeFadeIn 1.2s 1.4s var(--ease-cinematic) forwards;
  background: rgba(5, 8, 16, 0.55);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(201, 169, 110, 0.18);
  border-radius: var(--r-pill);
  padding: var(--sp-3) clamp(var(--sp-4), 4vw, var(--sp-6));
}
/* Globe header con backdrop sutil para legibilidad sobre Earth */
.globe-header {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}
.globe-stat {
  text-align: center;
}
.globe-stat-value {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  color: var(--tn-bone);
  line-height: 1;
}
.globe-stat-value.is-crit { color: #ff6b5a; }
.globe-stat-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(251, 249, 244, 0.55);
  margin-top: 6px;
}

/* Loading state */
.globe-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  background: radial-gradient(circle at center, #0d1830 0%, transparent 70%);
  transition: opacity 600ms;
}
.globe-loading.is-done {
  opacity: 0;
  pointer-events: none;
}
.globe-loading-text {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--tn-sepia);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.globe-loading-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tn-sepia);
  animation: globePulse 1.4s infinite ease-in-out;
}

/* Hint para interacción — muy sutil para no agregar carga visual */
.globe-hint {
  position: absolute;
  bottom: clamp(var(--sp-3), 3vh, var(--sp-4));
  right: clamp(var(--sp-4), 3vw, var(--sp-6));
  z-index: 10;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(251, 249, 244, 0.28);
  letter-spacing: 0.04em;
  opacity: 0;
  animation: globeFadeIn 1.5s 2s var(--ease-cinematic) forwards;
}
.globe-hint kbd {
  display: inline-block;
  padding: 2px 6px;
  background: rgba(251, 249, 244, 0.08);
  border: 1px solid rgba(251, 249, 244, 0.15);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  margin: 0 2px;
}

@keyframes globeFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes globePulse {
  0%, 100% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
}

/* Mobile fallback */
.globe-mobile-fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: var(--sp-5);
  z-index: 3;
}
.globe-mobile-fallback img {
  max-width: 80%;
  max-height: 60%;
  opacity: 0.7;
  filter: drop-shadow(0 20px 40px rgba(125, 211, 252, 0.25));
}
.globe-mobile-fallback p {
  color: rgba(251, 249, 244, 0.7);
  font-family: var(--font-display);
  font-size: 15px;
  margin: var(--sp-4) 0 0;
  max-width: 36ch;
  line-height: 1.5;
}

/* ── F4: Tooltip rico ─────────────────────────────────────────── */
.globe-tooltip {
  position: absolute;
  background: rgba(10, 14, 20, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(201, 169, 110, 0.32);
  border-radius: var(--r-4);
  padding: var(--sp-4);
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms var(--ease-out);
  z-index: 50;
  min-width: 240px;
  max-width: 280px;
  color: var(--tn-bone);
  font-family: var(--font-sans);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}
.globe-tooltip.is-visible { opacity: 1; }
.tt-head {
  display: flex; align-items: center; gap: var(--sp-3);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.tt-flag { font-size: 28px; line-height: 1; }
.tt-name {
  font-family: var(--font-display); font-size: 18px; font-weight: 500;
  color: var(--tn-bone); line-height: 1.15;
}
.tt-state {
  font-family: var(--font-display); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  margin-top: 2px;
}
.tt-state[data-state="full"]  { color: var(--tn-sepia); }
.tt-state[data-state="major"] { color: #d7b97c; }
.tt-state[data-state="pilot"] { color: #7DD3FC; }
.tt-badge {
  display: inline-block; padding: 3px 9px;
  border-radius: var(--r-pill); color: #fff;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.06em;
}
.tt-stats {
  display: flex; flex-direction: column; gap: 4px;
  padding: var(--sp-3) 0;
}
.tt-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 12px;
}
.tt-l { color: rgba(251, 249, 244, 0.55); }
.tt-v {
  font-family: var(--font-mono); font-weight: 600;
  color: var(--tn-bone);
}
.tt-v.tt-crit { color: #ff6b5a; }
.tt-cta {
  padding-top: var(--sp-2);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-display); font-size: 10.5px;
  font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--tn-sepia);
}

/* ── F5: Panel lateral con datos país ─────────────────────────── */
.globe-panel {
  position: absolute;
  top: 50%; right: var(--sp-5);
  transform: translateY(-50%) translateX(120%);
  width: clamp(280px, 30vw, 360px);
  background: rgba(10, 14, 20, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(201, 169, 110, 0.28);
  border-radius: var(--r-4);
  padding: var(--sp-6) var(--sp-5);
  color: var(--tn-bone);
  font-family: var(--font-sans);
  z-index: 20;
  box-shadow: var(--sh-d-3);
  transition: transform 600ms var(--ease-cinematic);
}
.globe-panel.is-visible { transform: translateY(-50%) translateX(0); }
.panel-close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--tn-bone);
  border-radius: var(--r-2);
  cursor: pointer; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast);
}
.panel-close:hover { background: rgba(255,255,255,0.12); }
.panel-flag { font-size: 38px; line-height: 1; margin-bottom: var(--sp-3); }
.panel-name {
  font-family: var(--font-display); font-size: 30px;
  font-weight: 500; letter-spacing: -0.02em; line-height: 1;
  margin: 0 0 var(--sp-2); color: var(--tn-bone);
}
.panel-state {
  font-family: var(--font-display); font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.22em;
  margin-bottom: var(--sp-5);
}
.panel-state[data-state="full"]  { color: var(--tn-sepia); }
.panel-state[data-state="major"] { color: #d7b97c; }
.panel-state[data-state="pilot"] { color: #7DD3FC; }
.panel-kpis {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2); margin-bottom: var(--sp-4);
}
.panel-kpi {
  text-align: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-3);
  padding: var(--sp-3) 4px;
}
.panel-kpi .kpi-v {
  font-family: var(--font-mono); font-size: 22px; font-weight: 500;
  color: var(--tn-bone); line-height: 1;
}
.panel-kpi .kpi-v.kpi-crit { color: #ff6b5a; }
.panel-kpi .kpi-l {
  font-size: 9.5px; color: rgba(251,249,244,0.5);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-top: 6px;
}
.panel-rows {
  display: flex; flex-direction: column;
  margin-bottom: var(--sp-5);
}
.panel-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
}
.panel-row:last-child { border-bottom: none; }
.panel-row span { color: rgba(251,249,244,0.55); }
.panel-row strong { font-family: var(--font-mono); color: var(--tn-bone); font-weight: 600; }
.panel-cta {
  display: block;
  padding: 12px;
  background: var(--tn-sepia);
  color: var(--tn-carbon);
  text-decoration: none;
  border-radius: var(--r-2);
  text-align: center;
  font-family: var(--font-sans); font-weight: 600;
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  transition: background var(--dur-fast);
}
.panel-cta:hover { background: var(--tn-sepia-deep); }
.panel-note {
  font-size: 12.5px; color: rgba(251,249,244,0.6);
  font-style: italic; line-height: 1.5;
}

/* ── Panel rico Bolivia ───────────────────────────────────────── */
.globe-panel {
  width: clamp(320px, 30vw, 400px);
  max-height: 80vh;
  overflow-y: auto;
}
.panel-loading {
  font-family: var(--font-display); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--tn-sepia); padding: var(--sp-5) 0;
  text-align: center;
}
.panel-head-row {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.panel-head-row .panel-flag {
  margin-bottom: 0; font-size: 34px;
}
.panel-head-row .panel-name {
  margin: 0; font-size: 26px; line-height: 1.05;
}
.panel-head-row .panel-state { margin-top: 4px; }

.panel-section {
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.panel-section-title {
  font-family: var(--font-display); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--tn-sepia); margin-bottom: var(--sp-3);
}

/* Top 5 municipios */
.muni-list { display: flex; flex-direction: column; gap: 6px; }
.muni-row {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: 10px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--r-2);
  text-decoration: none; color: var(--tn-bone);
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.muni-row:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(201,169,110,0.3);
}
.muni-info { flex: 1; min-width: 0; }
.muni-name {
  font-family: var(--font-display); font-size: 14px; font-weight: 500;
  color: var(--tn-bone); margin-bottom: 1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.muni-dep { font-size: 10.5px; color: rgba(251,249,244,0.5); }
.muni-ivh-wrap {
  display: flex; flex-direction: column; align-items: flex-end; gap: 3px;
  width: 70px; flex-shrink: 0;
}
.muni-ivh {
  font-family: var(--font-mono); font-size: 13px; font-weight: 700;
  color: #ff6b5a; line-height: 1;
}
.muni-bar {
  width: 60px; height: 3px;
  background: rgba(255,255,255,0.08); border-radius: 2px;
  overflow: hidden;
}
.muni-bar-fill {
  height: 100%; background: linear-gradient(90deg, #ff6b5a, #ff9a4d);
  border-radius: 2px;
}
.muni-arrow {
  color: rgba(251,249,244,0.4); font-size: 14px; flex-shrink: 0;
}

/* Departamentos por IVH */
.dep-list { display: flex; flex-direction: column; }
.dep-row {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 12.5px;
}
.dep-row:last-child { border-bottom: none; }
.dep-name { flex: 1; color: var(--tn-bone); font-weight: 500; }
.dep-meta { color: rgba(251,249,244,0.45); font-size: 11px; }
.dep-ivh {
  font-family: var(--font-mono); font-weight: 600;
  color: var(--tn-sepia); width: 42px; text-align: right;
}

/* Action buttons (multiple) */
.panel-actions {
  display: flex; flex-direction: column; gap: 6px;
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.panel-cta-sec {
  display: block;
  padding: 9px 12px;
  background: transparent;
  color: rgba(251,249,244,0.78);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-2);
  text-align: center;
  font-family: var(--font-sans); font-weight: 500;
  font-size: 12px; letter-spacing: 0.04em;
  transition: background var(--dur-fast), color var(--dur-fast),
              border-color var(--dur-fast);
}
.panel-cta-sec:hover {
  background: rgba(255,255,255,0.05);
  color: var(--tn-bone);
  border-color: rgba(201,169,110,0.3);
}

/* ── Botones zoom flotantes ───────────────────────────────────── */
.globe-zoom-controls {
  position: absolute; bottom: 80px; right: 20px; z-index: 30;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s;
}
#globe-section:hover .globe-zoom-controls,
#globe-section:focus-within .globe-zoom-controls {
  opacity: 1; pointer-events: auto;
}
.globe-zoom-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(10,12,18,0.82); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.80); font-size: 20px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.18s, border-color 0.18s, transform 0.12s;
  font-family: system-ui, sans-serif; font-weight: 300;
}
.globe-zoom-btn:hover { background: rgba(201,162,39,0.18); border-color: var(--tn-sepia); transform: scale(1.08); }
.globe-zoom-btn:active { transform: scale(0.95); }

/* ── Leyenda coropleta IVH (aparece con fade) ─────────────────── */
.globe-choropleth-legend {
  position: absolute; bottom: 88px; left: 20px; z-index: 30;
  background: rgba(8,12,18,0.88); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.10); border-radius: var(--r-3);
  padding: 10px 14px; min-width: 130px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s ease-in-out;
}
.globe-choropleth-legend.visible { opacity: 1; pointer-events: auto; }
.gcl-title {
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 8px;
}
.gcl-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,0.80); margin-bottom: 4px;
}
.gcl-swatch {
  width: 13px; height: 13px; border-radius: 3px; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.18);
}

/* ── Tooltip hover municipio ──────────────────────────────────── */
.globe-muni-tooltip {
  position: absolute; z-index: 40; pointer-events: none;
  background: rgba(8,12,18,0.92); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--r-2);
  padding: 6px 12px;
  font-family: var(--font-mono); font-size: 11.5px;
  color: rgba(255,255,255,0.88); white-space: nowrap;
  opacity: 0; transition: opacity 0.15s;
  transform: translate(14px, -50%);
}
.globe-muni-tooltip.visible { opacity: 1; }

/* ── Popup click municipio ────────────────────────────────────── */
.globe-muni-popup {
  position: absolute; z-index: 50;
  background: rgba(8,12,18,0.96); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.13); border-radius: var(--r-3);
  padding: 16px 18px; width: 260px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}
.globe-muni-popup.visible { opacity: 1; pointer-events: auto; }
.globe-muni-popup .gmp-close {
  position: absolute; top: 10px; right: 12px;
  background: 0; border: 0; cursor: pointer;
  color: rgba(255,255,255,0.45); font-size: 16px; line-height: 1;
  padding: 2px 4px;
}
.globe-muni-popup .gmp-eyebrow {
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 4px;
}
.globe-muni-popup .gmp-name {
  font-family: var(--font-display); font-size: 19px; font-weight: 600;
  line-height: 1.1; margin: 0 0 4px;
}
.globe-muni-popup .gmp-nivel {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px;
}
.globe-muni-popup .gmp-gate {
  font-size: 11.5px; line-height: 1.45; color: rgba(255,255,255,0.70);
  padding: 9px 11px; background: rgba(201,162,39,0.08);
  border: 1px solid rgba(201,162,39,0.22); border-radius: var(--r-2);
  margin-bottom: 10px;
}
.globe-muni-popup .gmp-cta {
  display: block; text-align: center; padding: 9px 14px;
  background: var(--tn-sepia); color: var(--tn-carbon);
  border-radius: var(--r-2); text-decoration: none;
  font-family: var(--font-display); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.04em; margin-bottom: 6px;
}
.globe-muni-popup .gmp-cta:hover { filter: brightness(1.08); }
.globe-muni-popup .gmp-preview {
  display: block; text-align: center;
  font-family: var(--font-mono); font-size: 10.5px;
  color: rgba(255,255,255,0.45); text-decoration: none;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.globe-muni-popup .gmp-preview:hover { color: var(--tn-sepia); }

@media (max-width: 768px) {
  #globe-section { min-height: 100vh; }
  #globe-canvas[data-mobile-fallback="true"] { display: none; }
  #globe-section[data-no-webgl] .globe-mobile-fallback { display: flex; }
  #globe-section[data-no-webgl] #globe-canvas { display: none; }
  .globe-header { top: var(--sp-5); }
  .globe-title { font-size: clamp(28px, 8vw, 44px); }
  .globe-lead { font-size: 14px; }
  .globe-stats { gap: var(--sp-3); bottom: var(--sp-4); padding: 0 var(--sp-3); }
  .globe-stat-value { font-size: 22px; }
  .globe-stat-label { font-size: 9px; letter-spacing: 0.12em; }
  .globe-hint { display: none; }
  .globe-zoom-controls { bottom: 60px; right: 12px; }
}

/* ════════════════════════════════════════════════════════════════
   Panel lateral municipal (click en coropleta del globo)
   ════════════════════════════════════════════════════════════════ */
.globe-muni-panel {
  position: absolute;
  top: 88px; right: 24px;
  width: 360px; max-height: calc(100vh - 120px);
  background: rgba(8, 12, 18, 0.94);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-3);
  padding: 24px 26px 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  z-index: 35;
  opacity: 0;
  transform: translateX(20px);
  pointer-events: none;
  transition: opacity 0.32s ease, transform 0.32s ease;
  overflow-y: auto;
  font-family: var(--font-body);
  color: rgba(255,255,255,0.86);
}
.globe-muni-panel.is-visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.gmsp-close {
  position: absolute; top: 12px; right: 14px;
  background: 0; border: 0; cursor: pointer;
  color: rgba(255,255,255,0.45); font-size: 22px; line-height: 1;
  padding: 4px 8px; transition: color 0.18s;
}
.gmsp-close:hover { color: rgba(255,255,255,0.95); }
.gmsp-eyebrow {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--tn-sepia); margin-bottom: 8px;
}
.gmsp-name {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 500;
  line-height: 1.08; letter-spacing: -0.018em;
  margin: 0 0 14px;
  color: white;
}
.gmsp-nivel {
  display: inline-block;
  padding: 6px 14px; border-radius: var(--r-pill);
  border: 1px solid;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.10em; text-transform: uppercase;
  margin-bottom: 20px;
}
.gmsp-nivel strong { font-weight: 700; }
.gmsp-section {
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.gmsp-section-title {
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.20em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 12px;
}
.gmsp-kv {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; padding: 5px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.05);
}
.gmsp-kv:last-child { border-bottom: 0; }
.gmsp-kv span { color: rgba(255,255,255,0.55); }
.gmsp-kv strong {
  font-family: var(--font-mono); font-weight: 600;
  color: white; font-size: 12px;
}
.gmsp-gated .gmsp-section-title { color: var(--tn-sepia); }
.gmsp-locked-list {
  list-style: none; padding: 0; margin: 0;
  font-size: 12.5px; line-height: 1.8;
  color: rgba(255,255,255,0.62);
}
.gmsp-locked-list li {
  padding: 4px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.05);
}
.gmsp-locked-list li:last-child { border-bottom: 0; }
.gmsp-actions {
  margin-top: 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.gmsp-cta {
  display: block; text-align: center; padding: 11px 16px;
  background: var(--tn-sepia); color: var(--tn-carbon);
  border-radius: var(--r-2); text-decoration: none;
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: 0.02em;
  transition: filter 0.15s, transform 0.15s;
}
.gmsp-cta:hover { filter: brightness(1.10); transform: translateY(-1px); }
.gmsp-preview {
  display: block; text-align: center;
  font-family: var(--font-mono); font-size: 11px;
  color: rgba(255,255,255,0.55); text-decoration: none;
  letter-spacing: 0.10em; text-transform: uppercase;
  padding: 4px;
  transition: color 0.18s;
}
.gmsp-preview:hover { color: var(--tn-sepia); }

@media (max-width: 720px) {
  .globe-muni-panel {
    top: auto; right: 8px; left: 8px; bottom: 8px;
    width: auto; max-height: 70vh;
  }
}
