.edge-opening {
  position:absolute; inset:0; z-index:1; pointer-events:none;
  opacity:1; visibility:visible; transition:opacity .35s ease, visibility 0s;
  --edge-opening-scale:1.075; --edge-opening-x:-.9%; --edge-opening-y:.45%;
}
.edge-opening.edge-opening--dismissed { opacity:0; visibility:hidden; transition:opacity .35s ease, visibility 0s .35s; }
.edge-opening[hidden], .edge-opening [hidden] { display:none !important; }
.edge-opening__photos { position:absolute; inset:0; overflow:hidden; }
.edge-sfh .edge-opening__photos::after { content:""; position:absolute; inset:0; pointer-events:none; background:var(--edge-sfh-overlay, transparent); }
.edge-opening .edge-opening__photo {
  display:block; position:absolute; inset:0; width:100% !important; height:100% !important; max-width:none; margin:0;
  border:0; border-radius:0; object-fit:cover; object-position:center;
}
@keyframes edge-sfh-opening-zoom {
  from { transform:scale(1) translate(0,0); }
  to { transform:scale(var(--edge-opening-scale)) translate(var(--edge-opening-x),var(--edge-opening-y)); }
}
.edge-opening[data-effect="ken-burns"][data-movement="on"] .edge-opening__photo {
  animation:edge-sfh-opening-zoom var(--edge-opening-duration,6s) var(--edge-opening-easing,ease-in-out) both;
  animation-play-state:paused;
}
.edge-opening[data-effect="ken-burns"][data-movement="on"] .edge-opening__photo[data-path="out"] { animation-direction:reverse; }
.edge-opening[data-effect="ken-burns"][data-movement="on"][data-running="yes"] .edge-opening__photo { animation-play-state:running; }
.edge-opening__controls {
  position:absolute; right:clamp(14px,3.2%,46px); bottom:clamp(14px,5%,38px); z-index:1;
  display:flex; align-items:center; gap:0; pointer-events:auto; isolation:isolate;
  padding:2px; border:1px solid rgba(255,255,255,.48); border-radius:5px;
  background:rgba(17,25,21,.86); color:#fff; font:500 13px/1 "EDGE-Book","Helvetica Neue",Arial,sans-serif;
}
.edge-opening .edge-opening__controls button {
  display:inline-grid; place-items:center; width:38px; height:38px; min-width:0; min-height:0;
  margin:0; padding:0; border:0; border-radius:3px; color:#fff; background:transparent; box-shadow:none;
  font:400 25px/1 Arial,sans-serif; cursor:pointer;
}
.edge-opening .edge-opening__controls button:is(:hover,:focus-visible) { background:rgba(255,255,255,.17); color:#fff; }
.edge-opening .edge-opening__controls button:focus-visible { outline:2px solid #fff !important; outline-offset:-3px; }
.edge-opening__count { min-width:4ch; text-align:center; white-space:nowrap; font-variant-numeric:tabular-nums; }
.edge-opening .edge-opening__controls [data-opening-toggle] { border-left:1px solid rgba(255,255,255,.34); border-radius:0 2px 2px 0; }
.edge-opening [data-opening-toggle] span { width:8px; height:11px; box-sizing:content-box; border-inline:2px solid currentColor; }
.edge-opening [data-opening-toggle][data-paused="true"] span { width:0; height:0; border:6px solid transparent; border-left:9px solid currentColor; border-right:0; }
.edge-places[data-position="right"] .edge-opening__controls,
.edge-sfh[data-edge-sfh-panel-position="right"] .edge-opening__controls { left:clamp(14px,3.2%,46px); right:auto; }
.edge-sfh:has(.edge-opening) .edge-sfh__align { pointer-events:none; }
.edge-sfh:has(.edge-opening) .edge-sfh__panel { pointer-events:auto; }
.edge-places[data-mode="compact"] .edge-opening,
.edge-sfh[data-edge-sfh-mode="compact"] .edge-opening { --edge-opening-scale:1.04; --edge-opening-x:-.45%; --edge-opening-y:.2%; }
@media (pointer: coarse) { .edge-opening .edge-opening__controls button { width:44px; height:44px; } }
@media (prefers-reduced-motion: reduce) {
  .edge-opening, .edge-opening.edge-opening--dismissed { transition:none; }
  .edge-opening .edge-opening__photo { animation:none !important; }
}
