
/* V8.27 — Eclipse rendered image + interactive SVG overlay
   Integrated from the user-supplied Eclipse_Interactive_Map_With_Image_Overlay package. */

.eclipse-overlay-map-section{
  --e-bg:#05070a;
  --e-panel:#0b0e13;
  --e-text:#f1ede4;
  --e-muted:#a9b1bc;
  --e-gold:#d9bc7d;
  --e-cyan:#82dff3;
  --e-violet:#aa7ae4;
  color:var(--e-text);
  padding-top:78px;
  padding-bottom:110px;
  overflow:visible;
  scroll-margin-top:100px;
}

.eclipse-overlay-map-section *{box-sizing:border-box}
.eclipse-overlay-map-section button{font:inherit;color:inherit}
.eclipse-overlay-map-section .eclipse-rendered-heading{color:var(--e-text)}
.eclipse-overlay-map-section .eclipse-rendered-heading>p:last-child{color:var(--e-muted)}

.eclipse-overlay-map-section .eclipse-rendered-model-shell{
  width:min(1920px,calc(100vw - 24px));
  margin-left:50%;
  transform:translateX(-50%);
}

.eclipse-overlay-map-section .eclipse-explorer{width:100%}

.eclipse-overlay-map-section .map-stage{
  position:relative;
  width:100%;
  overflow:hidden;
  background:#030406;
  border:1px solid rgba(218,188,125,.2);
  border-radius:22px;
  box-shadow:0 36px 118px rgba(0,0,0,.52);
}

.eclipse-overlay-map-section .map-base-image{
  display:block;
  width:100%;
  height:auto;
  user-select:none;
  -webkit-user-drag:none;
}

.eclipse-overlay-map-section .eclipse-overlay{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
}

.eclipse-overlay-map-section .region{
  fill:rgba(255,255,255,0);
  stroke:rgba(255,255,255,0);
  stroke-width:3;
  cursor:pointer;
  transition:fill .18s ease,stroke .18s ease,filter .18s ease,opacity .18s ease;
  outline:none;
}

.eclipse-overlay-map-section .region:hover,
.eclipse-overlay-map-section .region.is-focused,
.eclipse-overlay-map-section .region.is-selected{
  stroke:rgba(255,235,185,.96);
  stroke-width:5;
  filter:drop-shadow(0 0 10px rgba(240,220,170,.34));
}

.eclipse-overlay-map-section .region:hover,
.eclipse-overlay-map-section .region.is-focused{
  fill:rgba(120,180,205,.20);
}

.eclipse-overlay-map-section .region.is-selected{
  fill:rgba(170,120,224,.22);
}

.eclipse-overlay-map-section .map-hint{
  position:absolute;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  max-width:calc(100% - 28px);
  padding:9px 13px;
  border:1px solid rgba(220,193,137,.28);
  background:rgba(4,6,9,.72);
  color:#d8d3ca;
  font-size:13px;
  letter-spacing:.02em;
  backdrop-filter:blur(7px);
  pointer-events:none;
}

.eclipse-overlay-map-section .hover-card{
  position:absolute;
  z-index:12;
  display:flex;
  align-items:center;
  gap:10px;
  transform:translate(14px,14px);
  pointer-events:none;
  padding:9px 12px 9px 9px;
  border:1px solid rgba(229,205,150,.55);
  background:rgba(4,6,9,.92);
  backdrop-filter:blur(9px);
  box-shadow:0 10px 30px rgba(0,0,0,.35);
  white-space:nowrap;
}

.eclipse-overlay-map-section .hover-number{
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border-radius:999px;
  border:1px solid var(--e-gold);
  color:#ffecc0;
  font-weight:800;
  font-size:12px;
}

.eclipse-overlay-map-section .hover-name{
  color:#fff0ca;
  font-family:Georgia,"Times New Roman",serif;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:13px;
}

.eclipse-overlay-map-section .location-dialog[hidden]{display:none}

.eclipse-overlay-map-section .location-dialog{
  position:fixed;
  inset:0;
  z-index:999;
  display:grid;
  place-items:center;
  padding:20px;
}

.eclipse-overlay-map-section .dialog-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.9);
  backdrop-filter:blur(9px);
}

.eclipse-overlay-map-section .dialog-panel{
  position:relative;
  z-index:1;
  width:min(1420px,96vw);
  max-height:94vh;
  overflow:auto;
  background:#080b10;
  border:1px solid rgba(218,188,125,.34);
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(300px,.7fr);
}

.eclipse-overlay-map-section .dialog-media{
  min-width:0;
  background:#020305;
}

.eclipse-overlay-map-section .dialog-media img{
  width:100%;
  height:100%;
  max-height:90vh;
  object-fit:contain;
  display:block;
}

.eclipse-overlay-map-section .dialog-copy{
  min-width:0;
  align-self:center;
  padding:clamp(24px,4vw,56px);
}

.eclipse-overlay-map-section .dialog-kicker{
  color:var(--e-gold);
  letter-spacing:.18em;
  font-weight:700;
  font-size:12px;
}

.eclipse-overlay-map-section .dialog-copy h2{
  margin:10px 0 18px;
  font:400 clamp(30px,3vw,52px)/1.02 Georgia,"Times New Roman",serif;
  color:#f3dfb1;
}

.eclipse-overlay-map-section .dialog-copy p{
  margin:0;
  color:#ccd0d4;
  line-height:1.7;
  font-size:15px;
}

.eclipse-overlay-map-section .dialog-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:28px;
}

.eclipse-overlay-map-section .return-button{
  min-height:44px;
  padding:11px 15px;
  border:1px solid var(--e-gold);
  background:transparent;
  color:#f2dfb6;
  text-transform:uppercase;
  letter-spacing:.07em;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}

.eclipse-overlay-map-section .dialog-close{
  position:absolute;
  right:12px;
  top:12px;
  z-index:3;
  width:44px;
  height:44px;
  border-radius:50%;
  border:1px solid rgba(220,193,137,.45);
  background:rgba(5,7,10,.82);
  font-size:27px;
  cursor:pointer;
}

.eclipse-overlay-map-section .region:focus-visible,
.eclipse-overlay-map-section .dialog-close:focus-visible,
.eclipse-overlay-map-section .return-button:focus-visible{
  outline:2px solid var(--e-cyan);
  outline-offset:3px;
}

@media(max-width:850px){
  .eclipse-overlay-map-section .dialog-panel{grid-template-columns:1fr}
  .eclipse-overlay-map-section .dialog-media img{max-height:56vh}
  .eclipse-overlay-map-section .dialog-copy{padding:24px}
  .eclipse-overlay-map-section .hover-card{display:none!important}
  .eclipse-overlay-map-section .map-hint{font-size:12px;bottom:10px}
  .eclipse-overlay-map-section .eclipse-rendered-model-shell{width:calc(100vw - 10px)}
}

@media(prefers-reduced-motion:reduce){
  .eclipse-overlay-map-section *{
    transition:none!important;
    scroll-behavior:auto!important;
  }
}
