@property --album-hue{syntax: "<number>"; inherits: true; initial-value: 222;}@property --album-second{syntax: "<number>"; inherits: true; initial-value: 252;}@property --album-sat{syntax: "<percentage>"; inherits: true; initial-value: 30%;}.gallery-album{--album-top: 94px;--album-side: clamp(150px, 12.4vw, 190px);--album-dur: .62s;--album-ease: cubic-bezier(.32, .72, 0, 1);--album-ink: hsl(var(--album-hue) calc(var(--album-sat) * .9) 42%);--album-glow: .2;position:relative;isolation:isolate;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;height:calc(100svh - var(--album-top));min-height:520px;padding-bottom:14px;color:rgb(var(--studio-ink));transition:--album-hue .9s var(--studio-ease-out),--album-second .9s var(--studio-ease-out),--album-sat .9s var(--studio-ease-out)}html[data-theme=night] .gallery-album{--album-ink: hsl(var(--album-hue) calc(var(--album-sat) * .8) 74%);--album-glow: .26}.gallery-album svg{width:1.15rem;height:1.15rem;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.gallery-album :is(a,button):focus-visible,.gallery-album__strip:focus-visible{outline:2px solid rgb(var(--studio-accent));outline-offset:4px}.gallery-album__wash{position:absolute;z-index:-1;inset:-4% 0 0;pointer-events:none;background:radial-gradient(ellipse 44% 58% at 50% 47%,hsl(var(--album-hue) var(--album-sat) 64% / var(--album-glow)),transparent 72%),radial-gradient(ellipse 28% 42% at 80% 68%,hsl(var(--album-second) 58% 68% / calc(var(--album-glow) * .62)),transparent 72%),radial-gradient(ellipse 28% 42% at 20% 26%,hsl(var(--album-second) 58% 68% / calc(var(--album-glow) * .46)),transparent 72%)}.gallery-album__mast{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.35rem 1.5rem;min-height:52px;padding:4px clamp(20px,4.4vw,76px) 8px}.gallery-album__mast h1{display:flex;align-items:baseline;gap:.7rem;margin:0;font-family:var(--studio-serif);font-size:1.45rem;font-weight:500;line-height:1.4;letter-spacing:-.01em}.gallery-album__dot{margin-left:-.55rem;color:rgb(var(--studio-accent))}.gallery-album__count{color:var(--album-ink);font-family:var(--default-font-family);font-size:.7rem;font-variant-numeric:tabular-nums;letter-spacing:0}.gallery-album__tools{display:flex;align-items:center;flex-wrap:wrap;gap:.25rem .6rem;margin-left:auto}.album-switch{position:relative;isolation:isolate;display:inline-grid;grid-template-columns:1fr 1fr;padding:3px;border-radius:7px;background:rgb(var(--studio-soft) / .48)}.album-switch__ink{position:absolute;z-index:-1;top:3px;bottom:3px;left:3px;width:calc((100% - 6px)/2);border-radius:4px;background:rgb(var(--studio-surface));box-shadow:0 2px 6px rgb(var(--studio-shadow) / .09);transition:transform .38s var(--album-ease);pointer-events:none}.gallery-album[data-mode=sheet] .album-switch__ink{transform:translate(100%)}.gallery-album :is(.album-switch button,.album-tool){position:relative;display:inline-flex;align-items:center;justify-content:center;gap:.3rem;min-height:36px;padding:8px 13px;border:0;border-radius:4px;color:rgb(var(--studio-muted));background:transparent;font:inherit;font-size:12px;line-height:1.4;text-decoration:none;white-space:nowrap;cursor:pointer;transition:color .16s ease,background-color .16s ease}.gallery-album :is(.album-switch button,.album-tool):hover{color:rgb(var(--studio-ink))}.gallery-album :is(.album-switch button,.album-tool)[aria-pressed=true]{color:rgb(var(--studio-accent))}.album-drift>i{position:absolute;left:13px;right:13px;bottom:6px;height:1px;background:rgb(var(--studio-line));overflow:hidden}.album-drift>i:after{content:"";position:absolute;inset:0;background:var(--album-ink);transform:scaleX(var(--drift, 0));transform-origin:0 50%}.album-drift[aria-pressed=false]>i{opacity:.45}.gallery-album__stage{position:relative;min-height:0;container:album-stage / size;overflow:hidden;touch-action:pan-y;-webkit-user-select:none;user-select:none}@supports (overflow: clip){.gallery-album__stage{overflow-x:clip;overflow-y:visible}}.gallery-album[data-mode=band] .gallery-album__stage{cursor:grab}.gallery-album[data-dragging] .gallery-album__stage{cursor:grabbing}.gallery-album__leaves{position:absolute;inset:0}.gallery-album[data-mode=band] .gallery-album__stage:before,.gallery-album[data-mode=band] .gallery-album__stage:after{content:"";position:absolute;z-index:4;top:0;bottom:0;width:clamp(18px,7%,120px);pointer-events:none}.gallery-album[data-mode=band] .gallery-album__stage:before{left:0;background:linear-gradient(90deg,rgb(var(--studio-bg)),rgb(var(--studio-bg) / 0))}.gallery-album[data-mode=band] .gallery-album__stage:after{right:0;background:linear-gradient(270deg,rgb(var(--studio-bg)),rgb(var(--studio-bg) / 0))}.album-leaf{position:absolute;left:50%;top:50%;display:block;overflow:hidden;container-type:size;translate:-50% -50%;border-radius:3px;color:inherit;background:var(--tone, rgb(var(--studio-soft)));opacity:calc(1 - (min(var(--d, 0),11)*.056));filter:saturate(.6) contrast(.97);scroll-margin-top:100vh;outline-offset:4px;-webkit-tap-highlight-color:transparent;transition:left var(--album-dur) var(--album-ease) var(--delay, 0ms),right var(--album-dur) var(--album-ease) var(--delay, 0ms),top var(--album-dur) var(--album-ease) var(--delay, 0ms),bottom var(--album-dur) var(--album-ease) var(--delay, 0ms),scale .52s var(--album-ease) var(--delay, 0ms),opacity .42s ease var(--delay, 0ms),filter .42s ease,box-shadow .42s ease}.gallery-album[data-ready] .album-leaf{translate:none}.album-leaf[hidden]{display:none}.gallery-album:not([data-ready]) .album-leaf{display:none}.gallery-album:not([data-ready]) .album-leaf:first-child{display:block;width:min(calc(100cqw - (2*clamp(110px,17cqw,280px))),calc((100cqh - 16px) * var(--r)));aspect-ratio:var(--r)}.album-leaf[data-open]{z-index:3;opacity:1;filter:none;cursor:zoom-in;box-shadow:0 1px rgb(var(--studio-line)),0 24px 46px -26px rgb(var(--studio-shadow) / .6)}.gallery-album[data-mode=band] .album-leaf:not([data-open]){cursor:pointer}@media(hover:hover)and (pointer:fine){.gallery-album[data-mode=band]:not([data-dragging]):not([data-turning]) .album-leaf:not([data-open]):hover{opacity:1;filter:none}}.gallery-album[data-gliding] .album-leaf{transition:opacity .22s ease,filter .42s ease,box-shadow .42s ease}.gallery-album[data-still] .album-leaf,.gallery-album[data-dragging] .album-leaf{transition:none}.album-leaf[data-leaving]{pointer-events:none}.album-art{position:absolute;left:50%;top:50%;display:block;height:max(100cqh,calc(100cqw / var(--r, 1)));aspect-ratio:var(--r, 1);translate:-50% -50%;background:var(--album-sprite) no-repeat var(--cell-at, 50% 50%) / var(--cell-size, cover)}.gallery-album[data-mode=band] .album-leaf .album-art{background:none}.album-peek .album-art{background:var(--tone, rgb(var(--studio-soft)))}.album-art>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;opacity:0;pointer-events:none;transition:opacity .22s ease}.album-art>img[data-loaded]{opacity:1}.gallery-album:not([data-ready]) .album-art>img{opacity:1}.album-edge{position:absolute;z-index:5;top:50%;display:grid;place-items:center;width:44px;height:44px;translate:0 -50%;border:1px solid rgb(var(--studio-line));border-radius:50%;color:rgb(var(--studio-ink));background:rgb(var(--studio-surface) / .9);cursor:pointer;transition:background-color .2s ease,scale .2s ease,opacity .24s ease,visibility 0s}.album-edge--prev{left:clamp(16px,3vw,52px)}.album-edge--next{right:clamp(16px,3vw,52px)}.album-edge:hover{background:rgb(var(--studio-soft));scale:1.06}.album-edge:active{scale:.94}.gallery-album:not([data-ready]) :is(.album-edge,.gallery-album__tools button,.album-switch),.gallery-album[data-mode=sheet] .album-edge{opacity:0;visibility:hidden;pointer-events:none}.gallery-album[data-mode=sheet]{height:auto;min-height:max(520px,calc(100svh - var(--album-top)));grid-template-rows:auto minmax(var(--album-sheet, 0px),1fr) auto auto}.gallery-album[data-mode=sheet] .gallery-album__stage{touch-action:auto}.gallery-album[data-mode=sheet] .album-leaf{border-radius:2px;opacity:1;filter:none;cursor:zoom-in}.gallery-album[data-mode=sheet] .album-leaf[data-current],.gallery-album[data-mode=sheet] .album-leaf[data-peeked]{outline:2px solid var(--album-ink);outline-offset:2px}.gallery-album[data-peeking] .album-leaf[data-current]:not([data-peeked]){outline-color:transparent}.gallery-album[data-mode=sheet] .album-leaf .album-art>img{visibility:hidden}.album-peek{position:absolute;z-index:7;left:0;top:0;width:0;height:0;padding:6px;border-radius:9px;background:rgb(var(--studio-surface));box-shadow:0 1px rgb(var(--studio-line)),0 30px 60px -26px rgb(var(--studio-shadow) / .6);opacity:0;visibility:hidden;pointer-events:none;transition:left .28s var(--album-ease),top .28s var(--album-ease),width .28s var(--album-ease),height .28s var(--album-ease),opacity .2s ease,visibility 0s linear .28s}.gallery-album[data-mode=sheet] .album-peek[data-shown]{opacity:1;visibility:visible;transition:left .28s var(--album-ease),top .28s var(--album-ease),width .28s var(--album-ease),height .28s var(--album-ease),opacity .16s ease,visibility 0s}.album-peek__window{position:relative;display:block;width:100%;height:100%;overflow:hidden;container-type:size;border-radius:4px;background:var(--tone, rgb(var(--studio-soft)))}.album-peek .album-art>img{transition:opacity .18s ease}.album-peek .album-art>img:not([data-loaded]){transition:none}.gallery-album__caption{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2.6fr) minmax(0,1fr);align-items:center;gap:1rem;width:min(100% - 2 * var(--album-side),1400px);min-height:58px;margin:8px auto 0}.gallery-album__caption p{margin:0}.gallery-album__number{display:flex;align-items:baseline;gap:.55rem;color:var(--album-ink);font-variant-numeric:lining-nums tabular-nums;white-space:nowrap}.gallery-album__number>span{color:rgb(var(--studio-muted));font-size:.72rem;letter-spacing:.16em}.gallery-album__number>b{font-family:var(--studio-sans);font-size:clamp(1.7rem,2.5vw,2.25rem);font-weight:300;line-height:1.2;letter-spacing:-.01em}.gallery-album__number>small{color:rgb(var(--studio-muted));font-size:.74rem}.gallery-album__title{min-width:0;text-align:center}.gallery-album__title>strong{display:block;overflow:hidden;font-family:var(--studio-serif);font-size:1.12rem;font-weight:500;line-height:1.55;text-overflow:ellipsis;white-space:nowrap}.gallery-album__title>span{display:block;min-height:1.6em;overflow:hidden;color:rgb(var(--studio-muted));font-size:.74rem;line-height:1.6;text-overflow:ellipsis;white-space:nowrap}.gallery-album__date{justify-self:end;color:rgb(var(--studio-muted));font-size:.74rem;font-variant-numeric:lining-nums tabular-nums;letter-spacing:.06em;white-space:nowrap}.album-flap{position:relative;display:inline-block;overflow:hidden;max-width:100%;vertical-align:bottom;white-space:pre}.album-flap__read{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.album-flap__face{display:block;overflow:hidden;text-overflow:ellipsis}.album-flap__face>i{display:inline-block;font-style:normal;white-space:pre}.album-flap__gone{position:absolute;left:0;top:0;white-space:pre;pointer-events:none}.gallery-album__title .album-flap{display:block}.gallery-album__title .album-flap__gone{left:50%;translate:-50% 0}.gallery-album__strip{position:relative;width:min(100% - 2 * var(--album-side),1400px);height:56px;margin:4px auto 0;touch-action:none;cursor:crosshair;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.gallery-album__strip:after{content:"";position:absolute;left:0;right:0;bottom:6px;height:1px;background:rgb(var(--studio-line))}.gallery-album__bars{position:absolute;inset:0 0 7px;display:flex;align-items:flex-end}.album-bar{position:relative;flex:none;height:calc(20px + var(--g, 0) * 28px);overflow:hidden;container-type:size;border-right:1px solid rgb(var(--studio-bg));border-radius:1px 1px 0 0;background:var(--tone, rgb(var(--studio-soft)));opacity:.78;transform-origin:50% 100%;animation:album-bar-in .56s var(--album-ease) calc(var(--i, 0) * 3ms) both}.album-bar[data-thin]{border-right-width:0}.album-bar[data-near]{opacity:1}.album-bar[data-current]{height:calc(30px + var(--g, 0) * 18px);opacity:1}@keyframes album-bar-in{0%{transform:scaleY(0)}}.gallery-album__marker{position:absolute;left:0;bottom:3px;width:var(--marker-width, 6px);height:3px;border-radius:2px;background:var(--album-ink);transform:translate(var(--marker-x, 0px));transition:transform .42s var(--album-ease),width .42s var(--album-ease)}.gallery-album[data-still] .gallery-album__marker,.gallery-album[data-scrubbing] .gallery-album__marker{transition:none}.gallery-album[data-mode=sheet] :is(.gallery-album__strip){display:none}@media(max-width:1100px){.gallery-album__caption{grid-template-columns:auto minmax(0,1fr) auto}}@media(max-width:760px){.gallery-album{--album-top: 76px;--album-side: 16px;padding-bottom:12px}.gallery-album__mast{min-height:48px;padding-inline:20px}.gallery-album :is(.album-switch button,.album-tool){padding:7px 9px;font-size:11px}.album-drift>i{left:9px;right:9px}.album-edge{display:none}.gallery-album:not([data-ready]) .album-leaf:first-child{width:min(calc(100cqw - 64px),calc((100cqh - 16px) * var(--r)))}.gallery-album__caption{grid-template-columns:auto minmax(0,1fr);gap:.9rem;min-height:54px}.gallery-album__title{text-align:left}.gallery-album__title .album-flap__gone{left:0;translate:none}.gallery-album__title>strong{font-size:1rem}.gallery-album__date{display:none}.gallery-album__number>b{font-size:1.6rem}.gallery-album__number>small{display:none}.gallery-album__strip{width:auto;height:52px;margin:10px 16px 0 132px}}@media(min-width:761px)and (max-height:700px){.gallery-album{padding-bottom:10px}.gallery-album__mast{min-height:46px;padding-block:2px 4px}.gallery-album__caption{min-height:50px;margin-top:4px}.gallery-album__strip{height:50px;margin-top:0}.album-bar{height:calc(18px + var(--g, 0) * 24px)}.album-bar[data-current]{height:calc(27px + var(--g, 0) * 15px)}}@media(prefers-reduced-motion:reduce){.gallery-album,.gallery-album *,.gallery-album *:before,.gallery-album *:after{transition:none!important;animation:none!important}}
