.photo-albums[hidden],[data-photo-stack-source][hidden]{display:none!important}
.photo-albums{padding:12px 0 45px}.photo-albums-intro{display:flex;align-items:center;justify-content:space-between;margin:0 0 30px}.photo-albums-intro p{font-size:13px;color:var(--muted);margin:0}
.photo-stack-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:44px 58px;padding:12px 14px 24px}
.photo-stack{appearance:none;border:0;background:transparent;padding:0;color:var(--text);text-align:center;min-width:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
.photo-stack-deck{display:block;position:relative;aspect-ratio:1.38;margin:15px 12px 25px;isolation:isolate}
.photo-stack-deck img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:9px;box-shadow:0 8px 22px #0003,0 1px 2px #0002;transform-origin:50% 65%;transition:transform .45s cubic-bezier(.2,.75,.22,1),box-shadow .4s}
.photo-stack-deck img:nth-child(1){transform:translate(-10px,-5px) rotate(-7deg);filter:brightness(.86)}.photo-stack-deck img:nth-child(2){transform:translate(10px,-2px) rotate(6deg);filter:brightness(.94)}.photo-stack-deck img:nth-child(3){transform:translate(0,5px) rotate(-1deg)}
.photo-stack-caption{display:block}.photo-stack-caption strong{display:block;font-size:19px;font-weight:500;letter-spacing:-.4px}.photo-stack-caption small{display:block;color:var(--muted);font-size:12px;margin-top:7px}
@media(hover:hover){.photo-stack:hover img:nth-child(1){transform:translate(-19px,-9px) rotate(-12deg)}.photo-stack:hover img:nth-child(2){transform:translate(20px,-5px) rotate(11deg)}.photo-stack:hover img:nth-child(3){transform:translate(0,0) rotate(0);box-shadow:0 14px 30px #0004}}
.photo-stack:focus-visible{outline:2px solid var(--accent);outline-offset:14px;border-radius:9px}
.photo-stack-drawer{width:min(1260px,calc(100vw - 40px));height:calc(100dvh - 40px);max-width:none;max-height:none;padding:0;border:0;border-radius:22px;background:transparent;color:var(--text);overflow:hidden}
.photo-stack-drawer[open]{display:flex;flex-direction:column}.photo-stack-drawer::backdrop{background:#14141c88;backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px)}
.photo-album-window{position:absolute;inset:0;background:var(--bg);border:1px solid var(--line);border-radius:inherit;box-shadow:none;pointer-events:none}
.photo-album-top,.photo-album-content{position:relative;z-index:1}
.photo-album-flight{position:fixed;inset:0;z-index:3;pointer-events:none}
.photo-album-flight img{position:absolute;display:block;object-fit:cover;box-shadow:0 4px 14px #0002}
.photo-stack-drawer.is-opening::backdrop{animation:album-backdrop-in .65s ease-out both}
.photo-stack-drawer.is-closing::backdrop{animation:album-backdrop-out .42s ease-in both}
@keyframes album-backdrop-in{0%,12%{background:#14141c00;backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0)}100%{background:#14141c88;backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px)}}
@keyframes album-backdrop-out{to{background:#14141c00;backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0)}}
.photo-album-top{display:grid;grid-template-columns:130px 1fr 130px;align-items:center;gap:20px;flex:none;padding:24px 32px;border-bottom:1px solid var(--line)}
.photo-album-top>div{text-align:center}.photo-album-top h2{font-size:24px;font-weight:500;letter-spacing:-.8px;line-height:1.1;margin:0}.photo-album-top>div>span{display:block;font-size:12px;color:var(--muted);margin-top:6px}
.photo-album-back,.photo-album-close{border:0;background:transparent;color:var(--text);font:inherit;cursor:pointer}.photo-album-back{display:flex;align-items:center;gap:8px;font-size:14px;padding:8px 0}.photo-album-back svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8}.photo-album-close{font-size:30px;justify-self:end;line-height:1;width:40px;height:40px;border-radius:50%;background:var(--surface)}
.photo-album-content{flex:1;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:30px 32px 80px}.photo-album-shoot+section{margin-top:45px}.photo-album-shoot h3{font-size:16px;font-weight:500;margin:0 0 23px;color:var(--muted)}
.photo-spread{columns:3;column-gap:22px}.photo-album-item{display:block;width:100%;padding:0;border:0;background:transparent;position:relative;aspect-ratio:var(--photo-aspect,1.5);margin:0 0 22px;break-inside:avoid;cursor:zoom-in;border-radius:8px;overflow:hidden;box-shadow:0 4px 14px #0002}
.photo-album-item img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}.photo-album-item:focus-visible,.photo-album-back:focus-visible,.photo-album-close:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.photo-preview-dialog #player-body{position:relative;max-height:68dvh;background:transparent}.photo-preview-dialog #player-body>img{max-height:68dvh;object-fit:contain}.photo-preview-dialog .collection-heading{margin-bottom:12px}.photo-preview-dialog .collection-heading>span{font-size:12px}.photo-preview-dialog .collection-rail{grid-auto-columns:100px;gap:8px}.photo-preview-dialog .collection-piece{padding:3px;gap:0}.photo-preview-dialog .collection-piece img{height:65px;object-fit:cover;border-radius:4px}.photo-preview-dialog .collection-piece small,.photo-preview-dialog .collection-piece>span{display:none}.photo-preview-dialog .player-like{margin:12px auto}
.photo-image-arrow{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;border:1px solid #ffffff50;background:#2228;backdrop-filter:blur(15px);color:white;display:grid;place-items:center;cursor:pointer;z-index:2}.photo-image-arrow svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8}.photo-image-prev{left:8px}.photo-image-next{right:8px}
@media(max-width:900px){.photo-stack-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:38px 40px}.photo-spread{columns:2}}
@media(max-width:700px){.photo-albums{padding-top:0}.photo-albums-intro{margin-bottom:20px}.photo-albums-intro p{font-size:12px}.photo-stack-grid{gap:30px 24px;padding:8px 8px 30px}.photo-stack-deck{aspect-ratio:1.05;margin:12px 4px 22px}.photo-stack-deck img{border-radius:7px}.photo-stack-caption strong{font-size:15px;letter-spacing:-.25px;line-height:1.25}.photo-stack-caption small{font-size:10px;margin-top:6px}.photo-stack-drawer{width:100vw;height:100dvh;margin:0;max-height:100dvh;border-radius:0;border:0}.photo-album-top{grid-template-columns:66px 1fr 44px;padding:18px 16px;gap:10px}.photo-album-top h2{font-size:20px;letter-spacing:-.6px}.photo-album-top>div>span{font-size:10px}.photo-album-back{font-size:12px;gap:3px}.photo-album-back svg{width:16px}.photo-album-close{width:34px;height:34px;font-size:26px}.photo-album-content{padding:20px 15px 60px}.photo-spread{column-gap:12px}.photo-album-item{margin-bottom:12px;border-radius:6px}.photo-album-shoot h3{font-size:14px;margin-bottom:17px}.photo-preview-dialog .collection-rail{grid-auto-columns:80px}.photo-preview-dialog .collection-piece img{height:56px}.photo-image-arrow{width:34px;height:34px}.photo-preview-dialog #player-body,.photo-preview-dialog #player-body>img{max-height:65dvh}}
@media(prefers-reduced-motion:reduce){.photo-stack-deck img{transition:none}.photo-album-item{will-change:auto}}

.photo-album-shoot h3{font-size:22px;color:var(--text)}@media(max-width:700px){.photo-album-shoot h3{font-size:18px}}

/* The surface lands first; its shadow follows instead of revealing the final bounds early. */
.photo-stack-drawer.is-opening{box-shadow:0 0 0 #0000}
.photo-stack-drawer.is-closing{animation:album-shadow-out 150ms ease both}
@keyframes album-shadow-out{to{box-shadow:0 0 0 #0000}}

/* Release the hidden spread and its blurred layer while one original is enlarged. */
.photo-stack-drawer.is-previewing{visibility:hidden}
.photo-stack-drawer.is-previewing::backdrop{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
@media(max-width:700px){
 #player[data-viewer="standard"] .player-top{display:grid;grid-template-columns:1fr auto;gap:8px}
 #player[data-viewer="standard"] .viewer-return{grid-row:1;grid-column:1;justify-self:start}
 #player[data-viewer="standard"] .close-player{grid-row:1;grid-column:2}
 #player[data-viewer="standard"] #player-title{grid-row:2;grid-column:1/-1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
}
