.pdh-layer { overflow: hidden; }
.pdh-stage, .pdh-stage picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.pdh-stage { z-index: 1; overflow: hidden; }
.pdh-stage picture {
  display: block;
  margin: 0;
  opacity: 0;
  transition: opacity var(--pdh-fade, 800ms) ease;
}
.pdh-stage picture.pdh-visible { opacity: 1; }
.pdh-stage img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  object-fit: cover;
  border: 0;
}
.pdh-element { isolation: isolate; }
.pdh-element > .pdh-stage { z-index: 0; }
.pdh-element > :not(.pdh-stage):not(.pdh-control):not(.x-bg) { position: relative; z-index: 2; }
.pillar-drive-hero > .pdh-control {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 24px;
  background: rgb(0 0 0 / 65%);
  color: #fff;
  font: 500 12px/1.2 system-ui, sans-serif;
  letter-spacing: .02em;
  cursor: pointer;
  pointer-events: auto;
}
.pillar-drive-hero > .pdh-control:hover { background: rgb(0 0 0 / 85%); color: #fff; }
.pillar-drive-hero > .pdh-control:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.pillar-drive-hero > .pdh-control[hidden] { display: none; }
.pdh-preview {
  position: fixed;
  z-index: 2147483646;
  left: 12px;
  bottom: 12px;
  max-width: min(460px, calc(100vw - 24px));
  padding: 12px 16px;
  border: 1px solid #94b8a2;
  border-radius: 8px;
  background: #153a29;
  color: #fff;
  box-shadow: 0 4px 24px rgb(0 0 0 / 20%);
  font: 13px/1.5 system-ui, sans-serif;
}
.pdh-preview a { color: #fff; text-decoration: underline; }
@media (max-width: 767px) {
  .pillar-drive-hero > .pdh-control { right: 12px; bottom: 12px; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .pdh-stage picture { transition: none !important; }
}
