.gallery-dialog.cinema{position:fixed;inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;border:0;padding:0;background:#08070c;color:white;overflow:hidden;box-sizing:border-box}.cinema::backdrop{background:#08070c}.cinema-stage{position:absolute;inset:64px 0 72px;display:grid;place-items:center;overflow:hidden;touch-action:pan-y;cursor:grab;user-select:none;--drag:0px}.cinema-stage.dragging{cursor:grabbing}.cinema .cinema-stage img{margin:0;object-fit:contain;max-height:100%;max-width:none;user-select:none;-webkit-user-drag:none}.cinema #mainPhoto{position:relative;z-index:2;width:72vw;height:100%;min-height:0;transform:translateX(var(--drag));filter:drop-shadow(0 12px 35px #000);transition:transform .25s ease}.cinema .cinema-side{position:absolute;top:12%;height:76%;width:30vw;object-fit:cover!important;filter:blur(5px) brightness(.42);opacity:.7;z-index:1;border-radius:12px;transform:translateX(var(--drag));transition:transform .25s ease}.cinema .left{left:-14vw}.cinema .right{right:-14vw}.cinema-stage.dragging img{transition:none!important}.cinema button{position:absolute;z-index:5;margin:0;border:1px solid #ffffff35;background:#282630b0;color:white;border-radius:50%;width:52px;height:52px;display:grid;place-items:center;font-size:24px;cursor:pointer;backdrop-filter:blur(12px)}.cinema button:hover{background:#655377c0}.cinema #close{top:14px;right:20px;font-size:32px}.cinema #prev,.cinema #next{top:50%;transform:translateY(-50%)}.cinema #prev{left:20px}.cinema #next{right:20px}.cinema-footer{position:absolute;bottom:18px;left:0;right:0;text-align:center;display:grid;gap:5px;pointer-events:none}.cinema-footer small{font-size:10px;letter-spacing:2px;color:#aaa}.cinema [hidden]{display:none!important}@media(max-width:600px){.cinema #mainPhoto{width:84vw}.cinema .cinema-side{width:26vw}.cinema .left{left:-18vw}.cinema .right{right:-18vw}.cinema button{width:40px;height:40px;font-size:18px}.cinema #prev{left:6px}.cinema #next{right:6px}.cinema #close{right:12px}}@media(prefers-reduced-motion:reduce){.cinema img{transition:none!important}}

/* Stacked album covers */
.gallery-page #albums{gap:clamp(24px,4vw,58px);padding:30px 12px 20px;overflow:visible;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),320px));justify-content:start}
.gallery-page #albums .album-card{background:transparent;border:0;overflow:visible;padding:0;min-width:0;cursor:pointer;transition:transform .3s ease;box-shadow:none}
.gallery-page #albums .album-card .album-stack{position:relative;isolation:isolate;aspect-ratio:4/3;padding:0;margin:0 12px 0;overflow:visible}
.gallery-page #albums .album-stack img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;aspect-ratio:auto;border:1px solid #a18ba680;border-radius:9px;box-shadow:0 8px 22px #0009;transition:transform .35s cubic-bezier(.2,.8,.2,1),filter .35s ease;box-sizing:border-box}
.gallery-page #albums .stack-back-0{transform:translate(-5%,-4%) rotate(-7deg);filter:brightness(.58);z-index:0}
.gallery-page #albums .stack-back-1{transform:translate(5%,-4%) rotate(7deg);filter:brightness(.72);z-index:1}
.gallery-page #albums .stack-front{z-index:2;transform:rotate(-1deg)}
.gallery-page #albums .album-info{padding:18px 12px 0;background:none}
.gallery-page #albums .album-info h3{font-size:clamp(18px,2vw,24px);margin:0;color:#fff}
.gallery-page #albums .album-info p{color:#aaa;margin:7px 0 0;font-size:13px}
@media(hover:hover){.gallery-page #albums .album-card:hover{transform:scale(1.045)}.gallery-page #albums .album-card:hover .stack-back-0{transform:translate(-8%,-7%) rotate(-11deg);filter:brightness(.8)}.gallery-page #albums .album-card:hover .stack-back-1{transform:translate(8%,-7%) rotate(11deg);filter:brightness(.85)}.gallery-page #albums .album-card:hover .stack-front{transform:translateY(-3px) rotate(0);border-color:#d66aff}}
.gallery-page #albums .album-card:focus-visible{outline:2px solid #d66aff;outline-offset:12px;border-radius:8px}
.gallery-page #albums[hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){.gallery-page #albums .album-card,.gallery-page #albums .album-stack img{transition:none!important}}
