.cover-framed {
 --cover-x:var(--cover-desktop-x); --cover-y:var(--cover-desktop-y);
 --cover-zoom:var(--cover-desktop-zoom); --cover-fit:var(--cover-desktop-fit);
}
.cover-framed > .cover-framed-image {
 display:block; width:100%; height:100%; object-fit:var(--cover-fit); object-position:var(--cover-x) var(--cover-y);
 transform:scale(var(--cover-zoom)); transform-origin:var(--cover-x) var(--cover-y);
}
.cover-framed[data-cover-view=mobile] {
 --cover-x:var(--cover-mobile-x); --cover-y:var(--cover-mobile-y);
 --cover-zoom:var(--cover-mobile-zoom); --cover-fit:var(--cover-mobile-fit);
}
@media(max-width:700px){
 .cover-framed:not([data-cover-view]) {
  --cover-x:var(--cover-mobile-x); --cover-y:var(--cover-mobile-y);
  --cover-zoom:var(--cover-mobile-zoom); --cover-fit:var(--cover-mobile-fit);
 }
}
.cover-crop-dialog { --workflow-dialog-width:900px; }
.cover-crop-dialog .dialog-heading { z-index:3; }
.cover-crop-dialog h2 { margin-bottom:var(--s2); }
.cover-crop-library { margin-block:var(--s4); }
.cover-crop-library summary { color:var(--navy); font-weight:650; cursor:pointer; }
.cover-crop-tools { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-block:var(--s3); }
.cover-crop-tools button[aria-pressed=true] { background:var(--navy); color:white; border-color:var(--navy); }
.cover-crop-tools button,.cover-crop-reset { min-height:44px; }
.cover-crop-stage { display:grid; place-items:center; background:var(--bg); border-radius:var(--radius-sm); padding:clamp(8px,2vw,18px); }
.cover-crop-frame { position:relative; isolation:isolate; overflow:hidden; width:100%; aspect-ratio:53/20; background:var(--navy); border-radius:var(--radius-sm); color:white; }
.cover-crop-frame[data-cover-view=mobile] { width:min(100%,230px); aspect-ratio:358/465; }
.cover-crop-frame[data-draggable] { cursor:grab; touch-action:none; }
.cover-crop-frame.is-dragging { cursor:grabbing; }
.cover-crop-frame > img { position:absolute; inset:0; z-index:-2; pointer-events:none; user-select:none; }
.cover-crop-frame::after { content:''; position:absolute; inset:0; z-index:-1; background:var(--intro-overlay); pointer-events:none; }
.cover-crop-caption { position:absolute; inset:0; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:5px; padding:0 5%; pointer-events:none; }
.cover-crop-frame[data-cover-view=mobile] .cover-crop-caption { padding-inline:7%; }
.cover-crop-caption small { color:white; font-size:clamp(6px,1.2vw,10px); }
.cover-crop-caption strong { color:white; font-size:clamp(12px,3vw,31px); line-height:1.1; overflow-wrap:anywhere; }
.cover-crop-frame[data-cover-view=mobile] strong { font-size:19px; }
.cover-crop-settings { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-block:var(--s3); }
.cover-crop-settings label { margin:0; font-size:var(--text-sm); }
.cover-crop-settings input { display:block; width:100%; min-height:32px; padding:0; accent-color:var(--navy); }
.cover-crop-actions { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.cover-crop-dialog .studio-share-card { max-width:270px; }
.cover-summary-frame { margin-block:var(--s3); max-width:680px; }
.client-preview-cover-frame { margin-block:var(--s3); aspect-ratio:53/20; }
@media(max-width:700px){
 .client-preview-cover-frame { aspect-ratio:358/465; }
 .cover-crop-frame[data-cover-view=desktop] strong { font-size:clamp(10px,3.5vw,23px); }
}
@media(max-width:420px){.cover-crop-settings { grid-template-columns:minmax(0,1fr); gap:6px; }}


/* ADP guest cover and private-link opening, 2026-11-17 */
@media (max-width: 700px) {
  .event-intro.with-image { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; min-height: 0px; height: auto; background: var(--navy, #15204a); }
  .event-intro.with-image::after { content: none; }
  .event-intro.with-image > .event-intro-image { display: block; position: static; z-index: auto; width: 100%; height: auto; max-height: 65svh; object-fit: contain; transform: none; flex: 0 0 auto; }
  .event-intro.with-image > .event-intro-copy { max-width: 100%; padding: 1.25rem; }
  .event-intro.with-image > .cover-signature { position: static; align-self: flex-start; margin: 0px 1.25rem 1rem; }
}
html.adp-opening-event #main > .hero { display: none !important; }
.adp-opening-status { padding: clamp(1rem, 4vw, 3rem); margin: 0px; min-height: 12rem; }
html:has(head meta[property="og:url"][content*="/share/"]) #main > .hero { display: none !important; }
html:has(head meta[property="og:url"][content*="/share/"]) #main:has(> #notice:empty):not(:has(> #content > *, > .adp-opening-status))::before { content: "Loading your gallery…"; display: block; padding: clamp(1rem, 4vw, 3rem); min-height: 12rem; }
