.scc-hotspot-host,
.scc-hotspots,
.scc-hp-markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scc-hotspots {
  --hp-ink: #342922;
  --hp-wine: #682137;
  --hp-paper: #fffcf5;
  overflow: hidden;
  color: var(--hp-ink);
  font-family: "DM Sans", system-ui, sans-serif;
}
.scc-hotspots *,
.scc-hotspots *::before,
.scc-hotspots *::after { box-sizing: border-box; }
.scc-hotspots [hidden] { display: none !important; }
.scc-hotspots button { appearance: none; cursor: pointer; }

.scc-hp-pin {
  position: absolute;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  pointer-events: auto;
  touch-action: manipulation;
}
.scc-hp-glyph {
  position: relative;
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid #fff9ee;
  background: #401a23df;
  box-shadow: 0 0 0 3px #44232130, 0 2px 5px #30181750;
}
.scc-hp-glyph::before, .scc-hp-glyph::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.6px;
  background: #fffcf7;
  transform: translate(-50%, -50%);
}
.scc-hp-glyph::after { transform: translate(-50%, -50%) rotate(90deg); }
.scc-hp-pin:hover .scc-hp-glyph,
.scc-hp-pin:focus-visible .scc-hp-glyph,
.scc-hp-pin[aria-expanded="true"] .scc-hp-glyph { background: var(--hp-wine); box-shadow: 0 0 0 4px #fffbec88; }
.scc-hp-label {
  position: absolute;
  top: calc(100% - 6px);
  left: 50%;
  transform: translateX(-50%);
  display: none;
  padding: 4px 8px;
  border-radius: 5px;
  background: #302321f2;
  color: white;
  font: 550 12px/1.4 "DM Sans", system-ui, sans-serif;
  white-space: nowrap;
  pointer-events: none;
}
.scc-hp-pin:focus-visible .scc-hp-label { display: block; }
@media (hover: hover) { .scc-hp-pin:hover .scc-hp-label { display: block; } }
.scc-hp-pin[aria-expanded="true"] .scc-hp-label { display: none; }

.scc-hp-card {
  position: absolute;
  z-index: 3;
  width: min(298px, calc(100% - 16px));
  max-height: calc(100% - 16px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 15px 17px 13px;
  background: var(--hp-paper);
  border: 1px solid #b9a797;
  border-radius: 10px;
  box-shadow: 0 7px 28px #211b1640;
  color: var(--hp-ink);
  pointer-events: auto;
  text-align: left;
}
.scc-hp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.scc-hp-head h3 {
  margin: 0;
  color: var(--hp-ink);
  font: 500 22px/1.16 "Baskervville", Georgia, serif;
  letter-spacing: -.025em;
  text-transform: none;
}
.scc-hp-close {
  background: transparent;
  color: var(--hp-ink);
  border: 0;
  padding: 0;
  width: 33px;
  height: 33px;
  flex: 0 0 33px;
  margin: -5px -7px 0 0;
  border-radius: 5px;
  font: 24px/1 system-ui, sans-serif;
}
.scc-hp-close:hover { background: #eee5d8; }
.scc-hp-card .scc-hp-detail,
.scc-hp-card .scc-hp-question {
  margin: 9px 0;
  font: 400 14px/1.42 "DM Sans", system-ui, sans-serif;
  color: var(--hp-ink);
}
.scc-hp-card .scc-hp-question { font-weight: 620; }
.scc-hp-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 11px;
}
.scc-hp-source { color: var(--hp-wine); font-size: 12px; text-underline-offset: 3px; }
.scc-hp-action {
  padding: 6px 10px;
  min-height: 31px;
  background: var(--hp-wine);
  color: #fff;
  border: 1px solid var(--hp-wine);
  border-radius: 5px;
  font: 600 12px/1.3 "DM Sans", system-ui, sans-serif;
}
.scc-hotspots :focus-visible { outline: 3px solid #166faa; outline-offset: 2px; }
.scc-hp-head h3:focus { outline: none; }

.scc-hp-pin[data-aimed="true"] .scc-hp-glyph {
  background: var(--hp-wine);
  border-color: #fff9e6;
  box-shadow: 0 0 0 3px #fff2ceae, 0 2px 7px #35151477;
}
.scc-hp-listen {
  min-height: 32px;
  padding: 5px 9px;
  border: 1px solid #b9a797;
  border-radius: 5px;
  background: var(--hp-paper);
  color: var(--hp-wine);
  font: 600 12px/1.3 "DM Sans", system-ui, sans-serif;
}
.scc-hp-pin[data-portal="true"] .scc-hp-glyph::after {
  width: 6px;
  height: 6px;
  background: transparent;
  border-top: 1.5px solid #fffcf7;
  border-right: 1.5px solid #fffcf7;
  transform: translate(-30%, -50%) rotate(45deg);
}
.scc-hp-flag { margin: 10px 0; }
.scc-hp-flag img { display: block; width: 100%; height: auto; max-height: 108px; object-fit: contain; }
.scc-hp-flag figcaption { margin-top: 4px; color: #65544c; font: 400 12px/1.35 "DM Sans",system-ui,sans-serif; }
