/* Overlay */
.image-slider-overlay {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(0,0,0,0.92);
  display: flex; flex-direction: column;
}

/* 3D canvas host */
#image-gl { position: absolute; inset: 0; pointer-events: auto; }

/* Close button */
.image-slider-overlay > button[type="button"] {
  position: absolute; top: 20px; right: 2.375em;
  padding: 0.8em 1em; background: #000; color: var(--wp--preset--color--white); border: 0; cursor: pointer;
  font-size: 16px;
}

/* HUD */
.slider-hud {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 96px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; pointer-events: auto; color: var(--wp--preset--color--white); z-index: 100000;
  font-family: system-ui, sans-serif;
}

/* Counter */
.hud-counter { font-size: 16px; opacity: .8; user-select: none; }

/* Arrows */
.hud-prev, .hud-next {
  background: transparent; color: var(--wp--preset--color--white); font-size: 2rem;
  font-family: var(--wp--preset--font-family--heading, system-ui);
  border: none; padding: 6px 10px; cursor: pointer;
}

/* Dots */
.hud-dots {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex: 1 1 auto; pointer-events: auto;
}
.hud-dots button {
  width: 4px; height: 4px; border: 0; border-radius: 2px;
  background: var(--wp--preset--color--white, var(--wp--preset--color--white));
  opacity: .7; cursor: pointer; padding: 0;
  transition: width 160ms ease, opacity 160ms ease;
}
.hud-dots button[aria-current="true"] {
  width: 35px; opacity: 1;
}

/* Optional: accessibility */
@media (prefers-reduced-motion: reduce) {
  .hud-dots button { transition: none; }
}

.image-slider-overlay { display:flex; flex-direction:column; }
.image-slider-host { position:relative; flex:1 1 auto; overflow:hidden; min-height: 200px; }
#image-gl { position:absolute; inset:0; pointer-events:auto; }