#hsg26-popup {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: min(92vw, 480px);
  max-height: 92vh;
  margin: auto;
  padding: 12px;
  overflow: auto;
  background: #081628;
  border: 1px solid #d5ae60;
  border-radius: 15px;
  box-shadow: 0 18px 70px #000a;
}
#hsg26-popup[hidden], #hsg26-popup:not([open]) { display: none; }
#hsg26-popup::backdrop { background: #030a16c9; }
#hsg26-popup form { margin: 0; }
#hsg26-popup .hsg26-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #f4d58e;
  border-radius: 50%;
  background: #081628;
  color: white;
  font: 28px/1 system-ui, sans-serif;
  cursor: pointer;
}
#hsg26-popup img { display: block; width: 100%; max-height: 72vh; object-fit: contain; margin: 0; }
#hsg26-popup .hsg26-popup-cta {
  display: block;
  margin-top: 10px;
  padding: 12px;
  border-radius: 6px;
  background: #f4d58e;
  color: #081628;
  font: 800 16px/1.35 system-ui, sans-serif;
  text-align: center;
  text-decoration: none;
}
#hsg26-popup :focus-visible { outline: 3px solid white; outline-offset: 2px; }
