/* The album shares the original invitation's linen, gold and typefaces. */
.album-page { --album-ink:var(--clr-text); --album-rust:var(--clr-gold-dim); --album-line:#dcd4c6; --album-ease:cubic-bezier(.22,1,.36,1); background:var(--clr-bg); color:var(--clr-text); }
.album-page [hidden] { display:none !important; }
.album-page *, .album-page *::before, .album-page *::after { box-sizing:border-box; }
.album-page button, .album-page select, .album-page input, .album-page textarea { font:inherit; }
.album-page button, .album-page a { -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
.album-page button { cursor:pointer; }
.album-page button:disabled, .album-page [aria-disabled=true] { opacity:.45; cursor:default; }
.album-page :focus-visible { outline:2px solid var(--clr-gold-dim); outline-offset:4px; }
.ui-icon { width:20px; height:20px; display:inline-block; flex:none; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; vertical-align:middle; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position:fixed; top:-6rem; left:1rem; z-index:1000; background:var(--clr-bg); padding:1rem; }
.skip-link:focus { top:1rem; }
.album-page .btn, .control-button, .icon-button { display:inline-flex; align-items:center; justify-content:center; gap:.6rem; min-height:46px; border-radius:999px; line-height:1.2; letter-spacing:0; text-transform:none; text-decoration:none; transition:background .22s ease,color .22s ease,border-color .22s ease,box-shadow .22s ease,transform .3s var(--album-ease); }
.album-page .btn { padding:.85rem 1.35rem; font-size:.8rem; font-weight:500; border:1px solid transparent; white-space:nowrap; }
.album-page .btn-primary { background:var(--clr-text); border-color:var(--clr-text); color:var(--clr-bg); }
.album-page .btn-primary:hover { background:var(--clr-gold-dim); border-color:var(--clr-gold-dim); color:#fff; transform:translateY(-2px); box-shadow:0 7px 20px #2c1f1414; }
.album-page .btn-primary .ui-icon { transition:transform .3s var(--album-ease); }
.album-page .btn-primary:hover .ui-icon { transform:translateY(-2px); }
.album-page .btn-outline { background:transparent; border-color:#c9bdab; color:var(--clr-text); }
.album-page .btn-outline:hover { background:#eee7dc; border-color:var(--clr-text); color:var(--clr-text); transform:translateY(-2px); }
.control-button { background:transparent; border:1px solid var(--album-line); padding:.7rem 1rem; font-size:.77rem; color:var(--clr-text); }
.control-button:hover { background:var(--clr-surface); border-color:#bbaa91; }
.control-button[aria-pressed=true] { background:var(--clr-text); color:var(--clr-bg); border-color:var(--clr-text); }
.control-count { font-size:.7rem; opacity:.7; }
.icon-button { width:44px; min-width:44px; height:44px; min-height:44px; padding:0; border:1px solid var(--album-line); color:inherit; background:transparent; }
.icon-button:hover { background:#2c1f140a; }
.album-page .site-nav { position:fixed; inset:0 0 auto; z-index:90; min-height:86px; display:flex; align-items:center; justify-content:initial; gap:2rem; padding:1rem clamp(1.25rem,4vw,4.5rem); background:#faf7f2ed; backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); border-bottom:1px solid #dcd4c68c; transition:box-shadow .35s ease,background .35s ease; }
.album-page .site-nav.is-scrolled { background:#faf7f2f5; box-shadow:0 4px 28px #2c1f1408; }
.album-nav .nav-logo { display:flex; align-items:baseline; gap:.24rem; font-family:var(--font-display); font-size:1.85rem; color:var(--clr-text); white-space:nowrap; line-height:1; }
.album-nav .nav-logo > span:first-child { font-style:italic; color:var(--clr-gold-dim); margin:0 .08rem; }
.album-nav .wordmark-date { font-family:var(--font-body); font-size:.56rem; letter-spacing:.15em; margin-left:1rem; padding-left:1rem; border-left:1px solid var(--album-line); color:var(--clr-text-muted); }
.album-nav .nav-links { display:flex; align-items:center; gap:1.75rem; margin-left:auto; padding:0; }
.album-nav .nav-links a { font-size:.78rem; font-weight:400; text-transform:none; letter-spacing:0; color:var(--clr-text); border:0; position:relative; padding:.6rem 0; }
.album-nav .nav-links a::after { content:''; position:absolute; left:0; right:0; bottom:.2rem; height:1px; background:var(--clr-gold-dim); transform:scaleX(0); transform-origin:left; transition:transform .3s var(--album-ease); }
.album-nav .nav-links a:hover::after { transform:scaleX(1); }
.nav-actions { display:flex; align-items:center; gap:.75rem; margin-left:clamp(1.25rem,3vw,3rem); }
.album-hero { margin-top:86px; position:relative; height:min(80svh,880px); min-height:500px; overflow:hidden; color:white; }
.album-hero-photo, .album-hero-shade { position:absolute; inset:0; }
.album-hero-photo img { width:100%; height:100%; object-fit:cover; object-position:center 42%; animation:hero-image-in 1.6s var(--album-ease) both; }
.album-hero-shade { background:linear-gradient(180deg,#10100e00 35%,#10100e25 52%,#10100edb 100%); }
.album-hero-content { position:absolute; inset:auto 0 0; width:calc(100% - clamp(3rem,8vw,9rem)); margin:auto; padding:3rem 0 1.8rem; }
.album-date { display:flex; align-items:center; gap:.75rem; font-size:.74rem; font-weight:400; letter-spacing:.06em; color:#fff; animation:hero-text-in .8s .15s both; }
.album-date > span { width:24px; height:1px; background:#ffffff8c; }
.album-hero h1 { margin:.8rem 0 1.9rem; font-size:clamp(3.5rem,7.8vw,7.8rem); font-weight:400; line-height:1.05; letter-spacing:-.05em; color:#fff; animation:hero-text-in .9s .23s both; }
.album-hero h1 em { font-weight:400; }
.hero-bottom-line { display:flex; justify-content:space-between; align-items:center; gap:1rem; padding-top:1.15rem; border-top:1px solid #ffffff45; font-size:.65rem; letter-spacing:.035em; color:#f8f4ec; animation:hero-text-in .9s .33s both; }
.hero-bottom-line p { color:inherit; font-size:inherit; margin:0; }
.album-section { padding:6rem 0; scroll-margin-top:100px; }
.album-container { width:calc(100% - clamp(3rem,8vw,9rem)); max-width:1480px; margin:auto; }
.section-label { color:var(--clr-text-muted); font-size:.66rem; letter-spacing:.12em; font-weight:500; text-transform:uppercase; margin:0 0 .75rem; }
.gallery-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:1rem; margin-bottom:2rem; }
.gallery-heading h2, .share-copy h2 { font-family:var(--font-display); font-size:clamp(2.2rem,3.7vw,3.6rem); font-weight:400; letter-spacing:-.035em; line-height:1.18; margin:0; color:var(--clr-text); }
.gallery-heading > span { color:var(--clr-text-muted); font-size:.75rem; padding-bottom:.35rem; }
.collection-covers { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.5rem; margin-bottom:3.5rem; }
.collection-cover { display:block; position:relative; border:0; border-radius:12px; padding:0; background:#e5ddd0; overflow:hidden; text-align:left; aspect-ratio:1.55; color:white; isolation:isolate; }
.collection-cover::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg,transparent 30%,#14130ed1 100%); z-index:-1; }
.collection-cover img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; transition:transform .8s var(--album-ease); }
.collection-cover:hover img { transform:scale(1.05); }
.collection-cover-copy { position:absolute; left:1.5rem; bottom:1.35rem; right:4rem; }
.collection-cover strong { display:block; font-family:var(--font-display); font-size:clamp(1.25rem,2.1vw,2rem); font-weight:400; letter-spacing:-.025em; }
.collection-cover small { display:block; color:#fff; opacity:.9; font-size:.68rem; margin-top:.4rem; }
.collection-cover > .ui-icon { position:absolute; right:1.3rem; bottom:1.5rem; width:24px; height:24px; transition:transform .4s var(--album-ease); }
.collection-cover:hover > .ui-icon { transform:translate(3px,-3px); }
.collection-cover[aria-pressed=true] { box-shadow:0 0 0 3px var(--clr-bg),0 0 0 4px var(--clr-gold-dim); }
.gallery-toolbar { scroll-margin-top:108px; }
.collection-tabs { display:flex; align-items:center; gap:1.75rem; border-bottom:1px solid var(--album-line); overflow-x:auto; scrollbar-width:none; }
.collection-tabs::-webkit-scrollbar { display:none; }
.collection-tabs button { position:relative; flex:none; min-height:50px; border:0; border-bottom:2px solid transparent; background:transparent; padding:.8rem 0; font-size:.83rem; color:var(--clr-text-muted); transition:color .2s ease,border-color .2s ease; }
.collection-tabs button:hover { color:var(--clr-text); }
.collection-tabs button[aria-pressed=true] { color:var(--clr-text); border-color:var(--clr-gold-dim); }
.collection-tabs span { display:inline-flex; align-items:center; justify-content:center; min-width:20px; min-height:20px; margin-left:.35rem; padding:0 .3rem; border:1px solid var(--album-line); border-radius:50px; font-size:.62rem; }
.gallery-controls { display:flex; align-items:center; flex-wrap:wrap; gap:.75rem; padding:1.35rem 0 .85rem; }
.search-field { position:relative; flex:1; min-width:180px; }
.search-field > .ui-icon { position:absolute; left:1rem; top:50%; transform:translateY(-50%); color:var(--clr-text-muted); width:17px; height:17px; }
.gallery-controls input, .gallery-controls select { min-height:46px; border:1px solid var(--album-line); border-radius:999px; background:transparent; color:var(--clr-text); font-size:.77rem; padding:.75rem 1rem; }
.gallery-controls input { padding-left:2.7rem; width:100%; }
.gallery-controls input::placeholder { color:var(--clr-text-muted); }
.gallery-controls select { padding-right:2rem; }
.gallery-info { display:flex; flex-wrap:wrap; justify-content:space-between; gap:.5rem; margin:.3rem 0 1.25rem; color:var(--clr-text-muted); font-size:.7rem; }
.photo-grid { columns:3; column-gap:1.25rem; }
.photo-tile { break-inside:avoid; position:relative; padding:0; margin:0 0 1.4rem; animation:tile-in .65s var(--album-ease) both; animation-delay:calc(min(var(--tile-i,0),10)*22ms); }
.photo-visual { position:relative; overflow:hidden; border-radius:10px; background:var(--clr-surface); }
.photo-open { display:block; position:relative; width:100%; padding:0; background:transparent; border:0; cursor:zoom-in; }
.photo-open img, .photo-open video { width:100%; height:auto; display:block; transition:transform .7s var(--album-ease),filter .4s ease; }
.photo-open:hover img { transform:scale(1.025); filter:brightness(.97); }
.photo-quick-download { position:absolute; top:.65rem; right:.65rem; width:40px; height:40px; min-width:40px; min-height:40px; background:#faf7f2f0; border-color:#ffffff50; color:var(--clr-text); opacity:0; transform:translateY(-5px); backdrop-filter:blur(8px); }
.photo-tile:hover .photo-quick-download, .photo-tile:focus-within .photo-quick-download { opacity:1; transform:translateY(0); }
.photo-quick-download:hover { background:#fff; }
.photo-details { display:flex; align-items:center; justify-content:space-between; gap:.65rem; min-height:44px; padding:.1rem .1rem 0; color:var(--clr-text-muted); }
.photo-details > span { font-size:.64rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.photo-social { display:flex; align-items:center; gap:.1rem; flex:none; }
.photo-social button { display:inline-flex; align-items:center; justify-content:center; gap:.3rem; padding:.5rem .4rem; min-height:40px; min-width:40px; border:0; background:transparent; border-radius:100px; color:var(--clr-text-muted); font-size:.66rem; transition:color .2s,background .2s; }
.photo-social .ui-icon { width:16px; height:16px; }
.photo-social button:hover { background:#eee6db; color:var(--clr-text); }
.photo-social button[aria-pressed=true], .viewer-favorite[aria-pressed=true] { color:#934f4f; }
.photo-social button[aria-pressed=true] .ui-icon, .viewer-favorite[aria-pressed=true] .ui-icon { fill:currentColor; }
.photo-social button.is-popping .ui-icon { animation:favorite-pop .45s var(--album-ease); }
.photo-select { display:none; position:absolute; top:.65rem; left:.65rem; padding:.4rem; background:var(--clr-bg); border-radius:7px; line-height:1; }
.photo-select input { width:20px; height:20px; accent-color:var(--clr-gold-dim); }
.is-selecting .photo-select { display:block; }
.photo-tile.is-selected .photo-visual { outline:3px solid var(--clr-gold-dim); outline-offset:-3px; }
.video-indicator { position:absolute; bottom:.75rem; left:.75rem; display:flex; align-items:center; gap:.4rem; padding:.4rem .65rem; background:#15130ed9; border-radius:40px; color:#fff; font-size:.65rem; }
.video-indicator .ui-icon { width:13px; height:13px; }
.gallery-more { display:flex; flex-direction:column; align-items:center; gap:.9rem; padding-top:1.5rem; }
.gallery-more p, .gallery-empty { color:var(--clr-text-muted); font-size:.74rem; }
.gallery-empty { text-align:center; padding:3rem 0; }
.selection-bar { position:fixed; z-index:95; bottom:1.5rem; left:50%; transform:translateX(-50%); width:min(900px,calc(100% - 2rem)); display:flex; align-items:center; flex-wrap:wrap; gap:.6rem; padding:.75rem 1rem; border:1px solid #d2c4af; border-radius:18px; background:#faf7f2f5; box-shadow:0 12px 55px #2c1f1426; backdrop-filter:blur(16px); animation:selection-in .35s var(--album-ease); }
.selection-bar > span { flex:1; font-size:.78rem; min-width:120px; }
.selection-bar .control-button { border:0; padding-inline:.65rem; }
.share-section { background:#eee8dc; border-top:1px solid var(--album-line); border-bottom:1px solid var(--album-line); transition:background .6s ease; }
.share-section.upload-highlight { background:#e6ddcb; }
.share-layout { display:grid; grid-template-columns:1fr 1fr; gap:clamp(3rem,8vw,8rem); align-items:start; }
.share-copy { padding-top:1.5rem; }
.share-copy h2 { font-size:clamp(2.5rem,4.1vw,4.2rem); }
.share-copy h2 em { font-weight:400; color:#7d643c; }
.share-copy > p:not(.section-label) { max-width:27rem; margin:1.5rem 0; font-size:.9rem; line-height:1.8; color:var(--clr-text); }
.upload-format-note { display:flex; align-items:center; gap:.65rem; margin-top:2rem; font-size:.8rem; }
.share-copy > p.upload-limits { color:#6c5d4a; font-size:.73rem; line-height:1.9; margin-top:.65rem; }
.upload-card { border:1px solid #ded4c3; border-radius:18px; background:#faf7f2; padding:2rem; box-shadow:0 20px 60px #66502f08; }
.album-page .form-group { margin-bottom:1.25rem; }
.album-page .form-group label, .comment-form label { display:block; margin-bottom:.5rem; font-size:.75rem; font-weight:500; color:var(--clr-text); }
.album-page input, .album-page textarea { color:var(--clr-text); background:transparent; border:1px solid #cfc4b3; border-radius:8px; padding:.8rem .9rem; width:100%; min-height:46px; transition:border-color .2s ease,box-shadow .2s ease; }
.album-page input:focus, .album-page textarea:focus { border-color:#8a6408; box-shadow:0 0 0 3px #8a640810; outline:none; }
.album-page input::placeholder, .album-page textarea::placeholder { color:#7a6a58; font-size:.77rem; }
.optional-label { color:var(--clr-text-muted); font-weight:400; }
.upload-dropzone { display:flex; align-items:center; justify-content:center; flex-direction:column; position:relative; min-height:190px; border:1px dashed #b7a689; border-radius:12px; background:#f4efe6; padding:1.5rem; cursor:pointer; transition:background .25s ease,border-color .25s ease; }
.upload-dropzone:hover, .upload-dropzone.is-dragging { background:#eae1d0; border-color:var(--clr-gold-dim); }
.upload-dropzone input { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; z-index:1; }
.upload-dropzone:focus-within { outline:2px solid var(--clr-gold-dim); outline-offset:3px; }
.dropzone-icon { display:grid; place-items:center; width:48px; height:48px; border:1px solid #d9cdb8; border-radius:50%; color:#7d643c; margin-bottom:1rem; background:#faf7f2; }
.upload-dropzone strong { font-size:.84rem; font-weight:500; }
.upload-dropzone small { margin-top:.35rem; font-size:.72rem; color:var(--clr-text-muted); }
.selected-files { margin:1rem 0; display:grid; gap:.5rem; }
.selected-file { display:grid; grid-template-columns:24px minmax(0,1fr) auto; align-items:center; gap:.7rem; padding:.6rem 0; border-bottom:1px solid var(--album-line); font-size:.75rem; }
.selected-file strong, .selected-file small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.selected-file strong { font-weight:500; }
.selected-file small, .file-status { color:var(--clr-text-muted); font-size:.68rem; font-style:normal; }
.file-status.is-error { color:#9c2828; }.file-status.is-done { color:#356047; }
.btn-full { width:100%; }
.album-thanks { width:calc(100% - 3rem); max-width:660px; margin:auto; padding:6rem 0; text-align:center; }
.thanks-rule { width:45px; height:1px; background:#a68a55; margin:0 auto 2rem; }
.album-thanks > p:first-of-type { font-family:var(--font-display); font-size:clamp(1.35rem,2.1vw,1.8rem); font-weight:400; line-height:1.65; color:var(--clr-text); }
.album-thanks .signature { font-size:.77rem; color:var(--clr-text-muted); letter-spacing:.06em; margin-top:1.4rem; }
.album-footer { display:flex; align-items:center; flex-wrap:wrap; gap:1.5rem 2rem; background:var(--clr-bg); padding:2rem clamp(1.5rem,4vw,4.5rem); border-top:1px solid var(--album-line); text-align:left; }
.footer-monogram { font:1.55rem var(--font-display); color:var(--clr-text); }.footer-monogram em { color:var(--clr-gold-dim); }
.footer-links { display:flex; align-items:center; flex-wrap:wrap; gap:.5rem 1.35rem; margin-left:auto; }
.footer-links a, .footer-links button { display:inline-flex; align-items:center; min-height:44px; border:0; background:transparent; color:var(--clr-text-muted); padding:0; font:400 .7rem var(--font-body); }
.footer-links a:hover, .footer-links button:hover { color:var(--clr-text); }
.album-footer > p { font-size:.63rem; color:var(--clr-text-muted); margin:0; }
.download-dialog { width:min(570px,calc(100% - 2rem)); max-height:90svh; overflow:auto; margin:auto; padding:2rem; border:1px solid var(--album-line); border-radius:20px; background:var(--clr-bg); color:var(--clr-text); box-shadow:0 24px 90px #0003; }
.download-dialog[open] { animation:dialog-in .3s var(--album-ease); }
.download-dialog::backdrop { background:#18150fb3; backdrop-filter:blur(6px); }
.download-dialog header { display:flex; align-items:center; justify-content:space-between; gap:1.25rem; }
.download-dialog h2 { font:400 2rem var(--font-display); letter-spacing:-.03em; margin:0; color:var(--clr-text); }
.download-dialog > p { font-size:.8rem; margin:1.3rem 0; line-height:1.8; }
.download-option { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1.2rem .8rem; border:1px solid var(--album-line); border-radius:10px; color:var(--clr-text); margin-bottom:.6rem; transition:background .2s,border-color .2s; }
.download-option:hover { background:#eee7da; border-color:#b5a588; color:var(--clr-text); }
.download-option strong, .download-option small { display:block; font-weight:400; }.download-option strong { font-size:.9rem; }.download-option small { color:var(--clr-text-muted); font-size:.69rem; margin-top:.35rem; }
.download-note { color:var(--clr-text-muted); }
.media-lightbox { width:100%; max-width:none; height:100dvh; max-height:none; margin:0; padding:0; border:0; background:#11120f; color:#f6f2e9; }
.media-lightbox[open] { display:flex; flex-direction:column; animation:viewer-in .22s ease; }
.viewer-header { display:flex; align-items:center; justify-content:space-between; gap:1rem; flex:none; min-height:70px; padding:.8rem 1.5rem; border-bottom:1px solid #ffffff1c; }
.viewer-header strong { font:400 .78rem var(--font-body); }.viewer-header span { color:#bbb9ae; font-size:.68rem; margin-left:1rem; }
.viewer-header .icon-button { border-color:#ffffff2b; }.viewer-header .icon-button:hover { background:#ffffff15; }
.viewer-content { flex:1; min-height:0; display:grid; grid-template-columns:minmax(0,1fr) 320px; }
.viewer-photo-area { min-width:0; min-height:0; display:flex; flex-direction:column; }
.viewer-body { flex:1; min-height:0; display:grid; grid-template-columns:60px minmax(0,1fr) 60px; padding:.8rem 0; }
.viewer-arrow { align-self:center; justify-self:center; border:0; background:#ffffff09; color:#f6f2e9; }.viewer-arrow:hover { background:#ffffff20; }
.lightbox-stage { display:flex; align-items:center; justify-content:center; min-width:0; min-height:0; overflow:hidden; }
.lightbox-stage img, .lightbox-stage video { max-height:100%; max-width:100%; object-fit:contain; animation:photo-in .3s ease; }
.lightbox-stage.is-zoomed { display:block; overflow:auto; }.lightbox-stage.is-zoomed img { max-width:none; max-height:none; width:auto; height:auto; }
.viewer-footer { flex:none; padding:.6rem 1rem 1rem; border-top:1px solid #ffffff1c; }.viewer-footer > p { color:#b9b9ae; font-size:.66rem; text-align:center; margin-bottom:.5rem; }
.viewer-tools { display:flex; align-items:center; flex-wrap:wrap; justify-content:center; gap:.35rem; }
.viewer-tools button, .viewer-tools a { display:inline-flex; align-items:center; justify-content:center; gap:.45rem; min-height:42px; padding:.65rem .8rem; border:0; border-radius:8px; background:transparent; color:#f6f2e9; font:400 .7rem var(--font-body); text-decoration:none; transition:background .2s; }
.viewer-tools .ui-icon { width:17px; height:17px; }.viewer-tools button:hover, .viewer-tools a:hover { background:#ffffff10; }.viewer-tools a { color:#edce94; }.viewer-tools [aria-disabled=true] { pointer-events:none; }
.viewer-error { padding:2rem; text-align:center; color:#ded8c9; font-size:.85rem; }.viewer-error a { color:#edce94; text-decoration:underline; }
.photo-discussion { display:flex; flex-direction:column; min-height:0; border-left:1px solid #e1d9ca; padding:1.5rem; background:var(--clr-bg); color:var(--clr-text); overflow:auto; }
.discussion-heading { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:1.25rem; }.discussion-heading h2 { font:400 1.5rem var(--font-display); color:var(--clr-text); }.discussion-heading > span { color:var(--clr-text-muted); font-size:.7rem; }
.comments-list { flex:1; min-height:90px; }.comment-empty { font-size:.78rem; line-height:1.8; color:var(--clr-text-muted); padding:1rem 0 2rem; }
.photo-comment { padding:0 0 1.1rem; margin:0 0 1.1rem; border-bottom:1px solid var(--album-line); }.photo-comment header { display:flex; align-items:center; justify-content:space-between; gap:.5rem; }.photo-comment strong { font-size:.75rem; font-weight:500; }.photo-comment time { font-size:.6rem; color:var(--clr-text-muted); }.photo-comment p { font-size:.77rem; line-height:1.7; margin-top:.45rem; white-space:pre-wrap; overflow-wrap:anywhere; color:var(--clr-text); }
.comment-form { margin-top:1.4rem; }.comment-form label { font-size:.69rem; margin-top:.9rem; }.comment-form input, .comment-form textarea { font-size:.77rem; min-height:42px; }.comment-form .btn { width:100%; margin-top:1rem; font-size:.73rem; }.comment-status { font-size:.66rem; line-height:1.7; color:var(--clr-text-muted); margin-top:.65rem; }
.album-toast { position:fixed; z-index:300; left:50%; bottom:1.5rem; transform:translateX(-50%); width:max-content; max-width:calc(100% - 2rem); padding:.9rem 1.3rem; border:1px solid #595342; border-radius:12px; background:#2c2a23; box-shadow:0 8px 35px #0002; color:#fff8e9; font-size:.78rem; animation:selection-in .3s var(--album-ease); }.album-toast.is-error { background:#702c29; border-color:#914f47; }
.will-reveal { opacity:0; transform:translateY(20px); transition:opacity .7s var(--album-ease),transform .7s var(--album-ease); }.will-reveal.is-visible { opacity:1; transform:none; }
.unlock-page { min-height:100dvh; display:grid; place-items:center; padding:1.5rem; background:var(--clr-bg); }.unlock-panel { width:min(420px,100%); }.unlock-mark { font:italic 1.6rem var(--font-display); color:var(--clr-gold-dim); margin-bottom:3rem; }.unlock-panel h1 { font-size:2.8rem; }.unlock-panel > p { font-size:.9rem; line-height:1.8; color:var(--clr-text-muted); margin:1rem 0 2rem; }.unlock-panel label { display:block; font-size:.8rem; margin-bottom:.5rem; }.unlock-panel .btn { width:100%; margin-top:1rem; }.unlock-error { font-size:.8rem; color:#a52626; min-height:1.5rem; margin-top:.7rem; }
@keyframes hero-image-in { from { transform:scale(1.045); opacity:.5; } to { transform:scale(1); opacity:1; } }
@keyframes hero-text-in { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:none; } }
@keyframes tile-in { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:none; } }
@keyframes favorite-pop { 0%,100% { transform:scale(1); } 40% { transform:scale(1.35); } }
@keyframes selection-in { from { opacity:0; transform:translate(-50%,12px); } to { opacity:1; transform:translate(-50%,0); } }
@keyframes dialog-in { from { opacity:0; transform:translateY(12px) scale(.98); } to { opacity:1; transform:none; } }
@keyframes viewer-in { from { opacity:0; } to { opacity:1; } }
@keyframes photo-in { from { opacity:0; } to { opacity:1; } }
@media (max-width:1100px) { .album-nav .wordmark-date { display:none; }.album-nav .nav-links { gap:1rem; }.nav-actions { margin-left:1rem; gap:.5rem; }.album-page .site-nav { gap:1.25rem; }.nav-actions .btn { padding-inline:1rem; font-size:.73rem; } }
@media (max-width:850px) { .album-nav .nav-links { display:none; }.nav-actions { margin-left:auto; }.album-container { width:calc(100% - 2.5rem); }.album-hero-content { width:calc(100% - 2.5rem); }.album-section { padding:4rem 0; }.collection-covers { gap:1rem; }.collection-cover-copy { left:1rem; bottom:1rem; }.collection-cover > .ui-icon { right:.7rem; bottom:1.1rem; width:18px; height:18px; }.photo-grid { columns:2; }.share-layout { grid-template-columns:1fr; gap:2.5rem; }.share-copy { padding-top:0; }.share-copy h2 br { display:none; }.share-copy h2 { max-width:600px; }.share-copy > p:not(.section-label) { max-width:33rem; }.upload-card { padding:1.75rem; }.viewer-content { grid-template-columns:minmax(0,1fr) 280px; }.viewer-body { grid-template-columns:42px minmax(0,1fr) 42px; }.viewer-arrow { min-width:36px; width:36px; }.photo-discussion { padding:1rem; }.viewer-tools button span { display:none; }.viewer-tools a span { display:inline; } }
@media (max-width:600px) { .album-page .site-nav { min-height:76px; padding:.85rem 1rem; gap:.7rem; }.album-nav .nav-logo { font-size:1.65rem; }.nav-actions { gap:.5rem; }.nav-actions .btn { min-height:42px; padding:.7rem .9rem; }.nav-download > span, .upload-long-label { display:none; }.nav-actions .nav-download { width:42px; padding:0; }.nav-upload .ui-icon { width:16px; height:16px; }.album-hero { margin-top:76px; min-height:430px; height:72svh; }.album-hero-photo img { object-position:55% center; }.album-hero-content { padding-bottom:1.4rem; }.album-date { font-size:.62rem; letter-spacing:.015em; gap:.5rem; }.album-date > span { width:14px; }.album-hero h1 { font-size:3.65rem; margin:1rem 0 1.6rem; }.hero-bottom-line { font-size:.55rem; }.hero-bottom-line > span { display:none; }.album-section { padding:3rem 0; }.gallery-heading { margin-bottom:1.5rem; }.gallery-heading > span { font-size:.65rem; }.collection-covers { gap:.65rem; margin-bottom:2rem; }.collection-cover { aspect-ratio:.84; border-radius:9px; }.collection-cover-copy { left:.65rem; right:.4rem; bottom:.8rem; }.collection-cover strong { font-size:1.05rem; }.collection-cover small { font-size:.57rem; }.collection-cover > .ui-icon { display:none; }.collection-tabs { gap:1.3rem; }.collection-tabs button { font-size:.73rem; }.gallery-controls { gap:.5rem; padding-top:1rem; }.search-field { flex-basis:100%; }.gallery-controls .control-button { flex:1; font-size:.7rem; padding:.7rem .6rem; }.gallery-controls .control-button .ui-icon { width:16px; height:16px; }.gallery-controls select { max-width:145px; font-size:.7rem; }.photo-grid { column-gap:.7rem; }.photo-tile { margin-bottom:.7rem; }.photo-visual { border-radius:7px; }.photo-details { gap:.1rem; min-height:40px; }.photo-details > span { font-size:.57rem; max-width:50%; }.photo-social button { padding:.4rem .2rem; min-width:30px; gap:.2rem; font-size:.6rem; }.photo-social .ui-icon { width:14px; height:14px; }.photo-quick-download { opacity:1; transform:none; min-width:32px; min-height:32px; width:32px; height:32px; top:.4rem; right:.4rem; }.photo-quick-download .ui-icon { width:15px; height:15px; }.gallery-info { font-size:.65rem; }.share-copy h2 { font-size:2.6rem; }.share-copy h2 br { display:block; }.upload-card { padding:1.25rem; border-radius:14px; }.album-thanks { padding:4rem 0; max-width:420px; }.album-footer { flex-direction:column; gap:.5rem; padding:1.5rem 1rem; }.footer-links { margin-left:0; justify-content:center; gap:.3rem 1rem; }.album-footer > p { margin-top:.5rem; }.selection-bar { bottom:.75rem; padding:.65rem; border-radius:13px; gap:.3rem; }.selection-bar > span { flex-basis:100%; }.selection-bar .btn { font-size:.7rem; padding:.7rem .85rem; }.selection-bar .control-button { font-size:.65rem; }.selection-bar .icon-button { margin-left:auto; }.viewer-header { min-height:58px; padding:.5rem 1rem; }.viewer-header strong { display:inline-block; max-width:48vw; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; vertical-align:middle; font-size:.69rem; }.viewer-header span { margin-left:.6rem; font-size:.6rem; }.viewer-content { display:block; overflow-y:auto; }.viewer-photo-area { min-height:55svh; height:65svh; }.viewer-body { grid-template-columns:36px minmax(0,1fr) 36px; }.viewer-tools { gap:.1rem; }.viewer-tools button, .viewer-tools a { padding:.5rem .55rem; }.viewer-footer { padding:.5rem; }.viewer-footer > p { font-size:.58rem; }.photo-discussion { border-left:0; border-top:1px solid var(--album-line); padding:1.5rem; min-height:45svh; }.discussion-heading { margin-bottom:.5rem; }.comments-list { flex:none; }.comment-form { margin-top:.5rem; }.download-dialog { padding:1.5rem; }.album-toast { font-size:.72rem; } }
@media (hover:none) { .photo-quick-download { opacity:1; transform:none; } }
@media (prefers-reduced-motion:reduce) { .album-page *, .album-page *::before, .album-page *::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }.will-reveal { opacity:1; transform:none; } }
/* ── Owner review room ─────────────────────────────────────────────────── */
.admin-main { width: min(82rem, calc(100% - 3rem)); min-height: 80vh; margin: 0 auto; padding: 9rem 0 7rem; }
.admin-header { max-width: 52rem; margin-bottom: 3rem; }
.admin-header h1 { color: var(--album-ink); font-size: clamp(2.3rem, 5vw, 3.5rem); letter-spacing: -0.045em; }
.admin-header > p:last-child { max-width: 36rem; margin-top: 0.9rem; color: var(--clr-text-muted); }
.admin-login-card { max-width: 42rem; padding: 1.8rem; border: 1px solid var(--clr-border); border-radius: 0.75rem; background: var(--clr-bg); box-shadow: 0 12px 40px rgba(74,50,32,0.08); }
.admin-password-row { display: flex; gap: 0.6rem; }
.admin-password-row input { flex: 1; }
.admin-error { min-height: 1.3rem; margin-top: 0.6rem; color: var(--album-rust); font-size: 0.78rem; }
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.admin-tabs { display: flex; gap: 0.3rem; padding: 0.25rem; border: 1px solid var(--clr-border); border-radius: 999px; background: var(--clr-bg); }
.admin-tab { display: flex; align-items: center; gap: 0.45rem; padding: 0.6rem 0.9rem; border: 0; border-radius: 999px; background: transparent; color: var(--clr-text-muted); font: 600 0.74rem var(--font-body); cursor: pointer; }
.admin-tab span { display: grid; place-items: center; min-width: 1.25rem; height: 1.25rem; padding: 0 0.25rem; border-radius: 999px; background: #eee5d8; font-size: 0.65rem; }
.admin-tab.is-active { background: var(--album-ink); color: white; }
.admin-tab.is-active span { background: rgba(255,255,255,0.16); }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.2rem; }
.admin-media-card { overflow: hidden; border: 1px solid var(--clr-border); border-radius: 0.65rem; background: var(--clr-bg); box-shadow: 0 8px 30px rgba(74,50,32,0.07); }
.admin-thumb { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; overflow: hidden; border: 0; background: #e7ded2; cursor: zoom-in; }
.admin-thumb img, .admin-thumb video { width: 100%; height: 100%; object-fit: cover; }
.admin-card-body { padding: 1rem; }
.admin-card-top { display: flex; align-items: center; justify-content: space-between; gap: 0.7rem; }
.admin-card-top small, .file-detail { color: var(--clr-text-muted); font-size: 0.66rem; }
.status-pill { padding: 0.25rem 0.48rem; border-radius: 999px; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; }
.status-pending { color: #705516; background: #f4e7bd; }
.status-approved { color: #2b634d; background: #dcece4; }
.status-rejected { color: #843822; background: #f3dcd4; }
.admin-card-body h2 { margin-top: 0.8rem; font-size: 1.35rem; }
.admin-card-body > p { min-height: 2.8rem; margin: 0.4rem 0 0.8rem; color: #65584d; font-size: 0.82rem; line-height: 1.45; }
.admin-card-body > p.muted { color: var(--clr-text-muted); font-style: italic; }
.file-detail { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1rem; }
.admin-actions .btn { flex: 1; padding: 0.65rem 0.75rem; font-size: 0.68rem; }
.btn-quiet { border: 0; background: transparent; color: #9a4a36; }
.rejected-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--clr-text-muted); }
.admin-empty { grid-column: 1 / -1; display: grid; place-items: center; min-height: 20rem; text-align: center; color: var(--clr-text-muted); }
.admin-empty span { color: var(--album-rust); }
.admin-empty h2 { margin-top: 0.5rem; color: var(--album-ink); font-size: 2rem; }
.admin-preview .lightbox-stage { height: calc(100vh - 8rem); }

@media (max-width: 640px) {
  .admin-main { width: min(100% - 2rem, 82rem); padding-top: 7rem; }
  .admin-password-row, .admin-toolbar { align-items: stretch; flex-direction: column; }
  .admin-tabs { width: 100%; }
  .admin-tab { flex: 1; justify-content: center; padding-inline: 0.45rem; }
}

.admin-page .media-lightbox { padding:4rem 2rem; }
.admin-page .lightbox-stage { height:calc(100dvh - 8rem); }
.admin-page .lightbox-close { position:absolute; top:1rem; right:1rem; }
/* Owner controls share the album's spacing and type system. */
.admin-toolbar { gap:1rem; }.admin-password-row { gap:.8rem; }.admin-actions { gap:.6rem; }.admin-page .admin-actions .btn { flex:1; min-height:44px; padding:.75rem .9rem; font-size:.74rem; }
.review-kinds { display:flex; gap:.6rem; margin:0 0 1.5rem; }.review-kinds button { min-height:44px; border:1px solid var(--album-line); border-radius:100px; background:transparent; color:var(--clr-text); padding:.8rem 1.3rem; font-size:.8rem; }.review-kinds button[aria-pressed=true] { background:var(--clr-text); color:var(--clr-bg); border-color:var(--clr-text); }
.admin-grid.is-comments { grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); }.admin-comment-card .review-comment-body { white-space:pre-wrap; overflow-wrap:anywhere; min-height:0; margin:1rem 0; line-height:1.8; }.comment-photo-link { display:flex; align-items:center; gap:.5rem; font-size:.72rem; margin:1rem 0; color:var(--clr-gold-dim); }.comment-photo-link .ui-icon { width:16px; height:16px; }.admin-card-body h2 { letter-spacing:-.02em; }.admin-empty p { margin-top:.8rem; font-size:.85rem; }
.admin-back { margin-left:auto; }
.album-page.dialog-open { overflow:hidden; }
/* Keep search padding and compact checkboxes independent of form fields. */
.album-page .gallery-controls input { min-height:46px; padding:.75rem 1rem .75rem 2.7rem; border-radius:999px; font-size:.77rem; }
.album-page .photo-select input { width:20px; height:20px; min-height:20px; padding:0; margin:0; border-radius:3px; }
.viewer-tools .viewer-favorite[aria-pressed=true] { color:#e79c99; }
/* Responsive layout: use phone-sized compositions rather than scaled desktop UI. */
.album-page { --album-nav-height:86px; }
.album-page .site-nav { min-height:calc(var(--album-nav-height) + env(safe-area-inset-top,0px)); padding-top:calc(1rem + env(safe-area-inset-top,0px)); padding-left:max(1.25rem,env(safe-area-inset-left,0px)); padding-right:max(1.25rem,env(safe-area-inset-right,0px)); }
.album-hero { margin-top:calc(var(--album-nav-height) + env(safe-area-inset-top,0px)); }
.album-section, .gallery-toolbar { scroll-margin-top:calc(var(--album-nav-height) + env(safe-area-inset-top,0px) + 18px); }
.album-container, .share-layout > *, .gallery-controls > *, .viewer-photo-area { min-width:0; }
.photo-visual { box-shadow:0 3px 18px #2c1f1408; transition:box-shadow .35s ease,transform .5s var(--album-ease); }
.photo-tile:hover .photo-visual { box-shadow:0 10px 32px #2c1f1417; }
.collection-cover::before { content:''; position:absolute; inset:1px; border:1px solid #ffffff35; border-radius:inherit; pointer-events:none; }
.collection-cover { transition:box-shadow .4s ease; }
.collection-cover:hover { box-shadow:0 15px 35px #2c1f1420; }
.viewer-header { padding-top:max(.8rem,env(safe-area-inset-top,0px)); }
.viewer-footer { padding-bottom:max(1rem,env(safe-area-inset-bottom,0px)); }
.photo-discussion { padding-bottom:max(1.5rem,env(safe-area-inset-bottom,0px)); }
.selection-bar { bottom:calc(1rem + env(safe-area-inset-bottom,0px)); }
@media (min-width:1000px) {
  .album-page .site-nav { padding-left:clamp(2rem,4vw,4.5rem); padding-right:clamp(2rem,4vw,4.5rem); }
  .photo-grid { column-gap:1.5rem; }
  .photo-tile { margin-bottom:1.8rem; }
}
@media (max-width:760px) {
  .album-page { --album-nav-height:76px; }
  .album-page .site-nav { padding-top:calc(.8rem + env(safe-area-inset-top,0px)); padding-bottom:.8rem; gap:.75rem; }
  .album-nav .nav-links, .album-nav .wordmark-date { display:none; }
  .nav-actions { margin-left:auto; gap:.6rem; }
  .nav-actions .btn { min-height:44px; padding:.8rem 1rem; font-size:.85rem; }
  .nav-download > span, .upload-long-label { display:none; }
  .nav-actions .nav-download { width:44px; min-width:44px; padding:0; }
  .album-container, .album-hero-content { width:calc(100% - 2.5rem); }
  .album-hero { height:min(76svh,760px); min-height:440px; }
  .album-hero h1 { font-size:clamp(2.65rem,11.5vw,5rem); }
  .album-date { font-size:.78rem; letter-spacing:.02em; }
  .hero-bottom-line { font-size:.72rem; line-height:1.6; }
  .gallery-heading h2 { font-size:2.4rem; }
  .gallery-heading > span, .gallery-info { font-size:.8rem; }
  .collection-tabs { gap:1.5rem; }
  .collection-tabs button { min-height:52px; font-size:.875rem; }
  .collection-tabs span { font-size:.72rem; min-height:22px; }
  .gallery-controls { gap:.7rem; }
  .search-field { flex-basis:100%; }
  .album-page .gallery-controls input, .album-page .gallery-controls select { font-size:16px; min-height:48px; }
  .gallery-controls .control-button { min-height:48px; font-size:.875rem; gap:.5rem; }
  .gallery-controls .control-button .ui-icon { width:19px; height:19px; }
  .gallery-controls #saved-filter, .gallery-controls #select-mode { flex:1 1 130px; }
  .photo-details { min-height:50px; padding-top:.2rem; }
  .photo-details > span { font-size:.8rem; max-width:calc(100% - 110px); }
  .photo-social { gap:.2rem; }
  .photo-social button { min-width:44px; min-height:44px; font-size:.8rem; gap:.35rem; }
  .photo-social .ui-icon { width:18px; height:18px; }
  .photo-quick-download { width:44px; height:44px; min-width:44px; min-height:44px; top:.65rem; right:.65rem; opacity:1; transform:none; }
  .photo-quick-download .ui-icon { width:19px; height:19px; }
  .album-page .upload-card input, .album-page .upload-card textarea,
  .album-page .comment-form input, .album-page .comment-form textarea,
  .album-page .unlock-panel input, .album-page .admin-password-row input { font-size:16px; min-height:48px; }
  .album-page input::placeholder, .album-page textarea::placeholder { font-size:15px; }
  .album-page .form-group label, .comment-form label, .unlock-panel label { font-size:.875rem; }
  .share-copy > p:not(.section-label) { font-size:1rem; line-height:1.75; }
  .share-copy > p.upload-limits { font-size:.875rem; line-height:1.75; }
  .upload-dropzone { min-height:185px; padding:1.5rem 1rem; }
  .upload-dropzone strong { font-size:1rem; }
  .upload-dropzone small { font-size:.875rem; }
  .upload-format-note { font-size:.9rem; }
  .upload-card .btn { min-height:50px; font-size:.95rem; }
  .selected-file { grid-template-columns:22px minmax(0,1fr); font-size:.875rem; }
  .selected-file strong { font-size:.875rem; }
  .selected-file small, .file-status { font-size:.8rem; }
  .selected-file .file-status { grid-column:2; }
  .gallery-more p { font-size:.8rem; }
  .gallery-more .btn { min-height:48px; font-size:.9rem; }
  .viewer-content { display:flex; flex-direction:column; overflow-y:auto; overscroll-behavior:contain; }
  .viewer-photo-area { flex:none; height:auto; min-height:0; }
  .viewer-body { height:clamp(240px,53svh,620px); min-height:240px; flex:none; grid-template-columns:44px minmax(0,1fr) 44px; padding:.8rem 0; }
  .viewer-arrow { width:44px; height:44px; }
  .viewer-header { min-height:64px; padding-inline:1rem; }
  .viewer-header strong { max-width:55vw; font-size:.8rem; }
  .viewer-header span { font-size:.75rem; margin-left:.6rem; }
  .viewer-tools { gap:.4rem; justify-content:space-between; }
  .viewer-tools button, .viewer-tools a { min-height:44px; min-width:44px; font-size:.8rem; padding:.6rem .65rem; }
  .viewer-tools button span { display:none; }
  .viewer-tools a span { display:inline; }
  .viewer-tools .ui-icon { width:20px; height:20px; }
  .viewer-footer { padding-inline:1rem; }
  .viewer-footer > p { font-size:.75rem; line-height:1.5; }
  .photo-discussion { flex:none; min-height:300px; border-left:0; border-top:1px solid var(--album-line); padding:1.5rem; }
  .photo-comment strong { font-size:.9rem; }
  .photo-comment time { font-size:.75rem; }
  .photo-comment p, .comment-empty { font-size:1rem; line-height:1.7; }
  .comment-status { font-size:.8rem; }
  .comment-form .btn { min-height:48px; font-size:.875rem; }
  .download-dialog { width:calc(100% - 2rem); max-height:calc(100svh - 2rem); padding:1.5rem; border-radius:16px; }
  .download-dialog > p { font-size:.95rem; line-height:1.75; }
  .download-option { padding:1.15rem 1rem; }
  .download-option strong { font-size:1rem; }
  .download-option small { font-size:.8rem; line-height:1.6; }
  .download-dialog h2 { font-size:1.85rem; }
  .selection-bar { display:grid; grid-template-columns:1fr 1fr auto; gap:.5rem; padding:.8rem; width:calc(100% - 1.5rem); }
  .selection-bar > span { grid-column:1 / 3; min-width:0; font-size:.85rem; }
  .selection-bar #close-selection { grid-column:3; grid-row:1; margin:0; }
  .selection-bar #select-view, .selection-bar #clear-selection { min-height:44px; font-size:.8rem; border:1px solid var(--album-line); padding:.6rem; }
  .selection-bar #select-view { grid-column:1; grid-row:2; }
  .selection-bar #clear-selection { grid-column:2 / 4; grid-row:2; }
  .selection-bar #download-selected { grid-column:1 / -1; min-height:48px; font-size:.9rem; }
  .album-toast { font-size:.875rem; line-height:1.5; bottom:calc(1rem + env(safe-area-inset-bottom,0px)); }
  .album-footer { padding-bottom:calc(1.5rem + env(safe-area-inset-bottom,0px)); }
  .footer-links a, .footer-links button { font-size:.8rem; }
  .album-footer > p { font-size:.75rem; }
  .admin-main { width:calc(100% - 2rem); padding-top:calc(var(--album-nav-height) + env(safe-area-inset-top,0px) + 2rem); }
  .admin-password-row { flex-direction:column; gap:.8rem; }
  .admin-toolbar { flex-direction:column; align-items:stretch; }
  .admin-tabs { border-radius:12px; }
  .admin-tab { font-size:.8rem; min-height:48px; padding:.7rem .5rem; }
  .admin-tab span { font-size:.75rem; }
  .review-kinds { gap:.6rem; }
  .review-kinds button { flex:1; min-height:48px; font-size:.875rem; padding:.8rem .75rem; }
  .admin-grid { grid-template-columns:1fr; }
  .admin-card-body > p { font-size:.95rem; }
  .admin-card-top small, .file-detail { font-size:.8rem; }
  .status-pill { font-size:.7rem; }
}
@media (max-width:520px) {
  .album-container, .album-hero-content { width:calc(100% - 2rem); }
  .album-hero { min-height:430px; height:75svh; }
  .album-hero-photo img { object-position:53% center; }
  .album-hero h1 { font-size:clamp(2.65rem,12.5vw,4rem); margin:.8rem 0 1.5rem; }
  .album-date { font-size:.75rem; }
  .hero-bottom-line { font-size:.7rem; }
  .gallery-heading { align-items:center; }
  .gallery-heading h2 { font-size:2.2rem; }
  .gallery-heading > span { font-size:.78rem; }
  .collection-covers { display:flex; overflow-x:auto; scroll-snap-type:x proximity; scrollbar-width:none; gap:1rem; padding:4px 2px 14px; margin-bottom:1.75rem; }
  .collection-covers::-webkit-scrollbar { display:none; }
  .collection-cover { flex:0 0 82%; aspect-ratio:1.5; scroll-snap-align:start; border-radius:12px; }
  .collection-cover-copy { left:1.25rem; bottom:1.25rem; right:3rem; }
  .collection-cover strong { font-size:1.75rem; }
  .collection-cover small { font-size:.8rem; margin-top:.45rem; }
  .collection-cover > .ui-icon { display:block; right:1rem; bottom:1.4rem; width:22px; height:22px; }
  .photo-grid { columns:1; }
  .photo-tile { margin-bottom:1.25rem; }
  .photo-visual { border-radius:12px; }
  .photo-details { padding:.3rem .15rem 0; }
  .share-copy h2 { font-size:clamp(2.2rem,10vw,3rem); }
  .upload-card { padding:1.2rem; border-radius:16px; }
  .photo-discussion { padding:1.25rem; }
  .admin-header h1 { font-size:2.5rem; }
  .admin-header > p:last-child { font-size:1rem; }
}
@media (max-height:500px) and (orientation:landscape) {
  .album-page { --album-nav-height:66px; }
  .album-page .site-nav { padding-top:calc(.55rem + env(safe-area-inset-top,0px)); padding-bottom:.55rem; }
  .album-hero { min-height:270px; height:calc(100svh - var(--album-nav-height)); }
  .album-hero-content { padding-bottom:1rem; }
  .album-hero h1 { font-size:3rem; margin:.5rem 0; }
  .hero-bottom-line { display:none; }
  .viewer-body { height:calc(100svh - 145px); min-height:180px; }
}
@media (prefers-reduced-motion:reduce) {
  .photo-visual, .collection-cover { transition:none; }
}
/* Generous reading sizes and an explicit choice of photo layout. */
.album-page .btn, .album-page .control-button { min-height:50px; font-size:1rem; padding:.9rem 1.25rem; }
.album-nav .nav-links a { font-size:1rem; min-height:48px; display:inline-flex; align-items:center; }
.album-page .section-label { font-size:.875rem; }
.album-date { font-size:1rem; }
.hero-bottom-line { font-size:.875rem; }
.album-nav .wordmark-date { font-size:.75rem; }
.collection-cover small { font-size:.95rem; }
.collection-tabs button { font-size:1rem; min-height:56px; }
.collection-tabs span, .control-count { font-size:.875rem; }
.gallery-heading > span, .gallery-info, .gallery-more p { font-size:.95rem; }
.album-page .gallery-controls input, .album-page .gallery-controls select { font-size:1rem; min-height:50px; }
.photo-details > span { font-size:.875rem; }
.photo-social button { font-size:.9rem; min-height:48px; min-width:48px; }
.photo-social .ui-icon { width:21px; height:21px; }
.photo-quick-download { width:48px; height:48px; min-width:48px; min-height:48px; }
.album-page .form-group label, .comment-form label, .unlock-panel label { font-size:1rem; }
.album-page .upload-card input, .album-page .upload-card textarea, .album-page .comment-form input, .album-page .comment-form textarea, .album-page .unlock-panel input, .album-page .admin-password-row input { font-size:1rem; min-height:52px; }
.share-copy > p:not(.section-label) { font-size:1.1rem; }
.share-copy > p.upload-limits, .upload-dropzone small, .comment-status, .download-option small { font-size:.95rem; }
.upload-dropzone strong { font-size:1.1rem; }
.footer-links a, .footer-links button { font-size:.95rem; min-height:44px; display:inline-flex; align-items:center; }
.album-footer > p { font-size:.875rem; }
.viewer-tools button, .viewer-tools a { min-height:48px; font-size:.95rem; }
.viewer-header strong, .viewer-header span, .viewer-footer > p { font-size:.9rem; }
.gallery-view-row { display:flex; align-items:center; justify-content:space-between; gap:.75rem; padding:.4rem 0 1rem; flex-wrap:wrap; }
.view-switch { display:inline-flex; background:#eee8dc; border:1px solid var(--album-line); border-radius:999px; padding:4px; gap:4px; }
.view-switch button { border:0; border-radius:999px; background:transparent; color:var(--clr-text); display:inline-flex; align-items:center; justify-content:center; gap:.6rem; padding:.75rem 1.15rem; min-height:48px; font-size:1rem; transition:background .2s,box-shadow .2s; }
.view-switch button[aria-pressed=true] { background:var(--clr-bg); box-shadow:0 2px 8px #2c1f1412; }
.photo-grid.view-full { columns:1; max-width:1100px; margin-inline:auto; }
.view-full .photo-tile { margin-bottom:2.5rem; }
.view-full .photo-open img, .view-full .photo-open video { max-height:none; object-fit:contain; }
.view-full .photo-details { min-height:60px; }
@media (max-width:760px) {
  .album-page .nav-actions .btn { font-size:1rem; min-height:48px; }
  .album-page .nav-actions .nav-download { width:48px; min-width:48px; padding:0; }
  .gallery-controls .control-button { font-size:1rem; min-height:50px; }
  .collection-tabs button { font-size:1rem; }
  .photo-details > span { font-size:.875rem; }
  .album-date { font-size:.9rem; }
  .hero-bottom-line { font-size:.85rem; flex-wrap:wrap; gap:.5rem; }
  .collection-cover small { font-size:.95rem; }
  .viewer-tools { gap:.35rem; }
  .viewer-tools button, .viewer-tools a { padding:.65rem; min-width:48px; }
  .viewer-tools a span { display:none; }
  .gallery-heading { flex-wrap:wrap; gap:.75rem; }
  .gallery-heading > span { font-size:1rem; }
}
@media (max-width:520px) {
  .photo-grid { columns:2; column-gap:.8rem; }
  .photo-grid.view-full { columns:1; }
  .photo-details { flex-wrap:wrap; gap:0; padding-top:.45rem; }
  .photo-details > span { flex-basis:100%; max-width:100%; }
  .photo-social { margin-left:auto; }
  .view-full .photo-details { flex-wrap:nowrap; gap:.5rem; }
  .view-full .photo-details > span { flex-basis:auto; max-width:calc(100% - 100px); }
  .gallery-view-row { gap:.65rem; }
  .view-switch { flex:1; }
  .view-switch button { flex:1; padding:.7rem .65rem; font-size:.95rem; }
  .gallery-view-row #open-gallery { padding:.85rem .9rem; font-size:.95rem; }
  .gallery-view-row #open-gallery .ui-icon { display:none; }
  .album-page .nav-actions .btn { padding:.85rem .9rem; }
}
/* Crossfade in a shared image plane; immersive mode also works without native fullscreen. */
.lightbox-stage:not(.is-zoomed) { display:grid; place-items:center; isolation:isolate; }
.lightbox-stage > img, .lightbox-stage > video { grid-area:1 / 1; min-height:0; min-width:0; }
.lightbox-stage > .viewer-enter { animation:viewer-photo-enter .4s var(--album-ease) both; }
.lightbox-stage > .is-leaving { animation:viewer-photo-leave .4s ease both; pointer-events:none; }
@keyframes viewer-photo-enter { from { opacity:0; transform:scale(1.012); } to { opacity:1; transform:scale(1); } }
@keyframes viewer-photo-leave { from { opacity:1; } to { opacity:0; } }
.media-lightbox.is-immersive .viewer-content { display:flex; overflow:hidden; }
.media-lightbox.is-immersive .photo-discussion { display:none; }
.media-lightbox.is-immersive .viewer-photo-area { flex:1; height:100%; min-height:0; width:100%; }
.media-lightbox.is-immersive .viewer-body { flex:1; height:auto; min-height:0; }
.media-lightbox.is-immersive .viewer-footer > p { display:none; }
.media-lightbox.is-immersive .viewer-footer { padding:.5rem 1rem max(.5rem,env(safe-area-inset-bottom,0px)); }
.viewer-tools button[aria-pressed=true] { background:#ffffff24; color:white; }
.admin-page .admin-actions .btn { font-size:1rem; min-height:50px; }
.admin-tab, .review-kinds button { font-size:1rem; min-height:50px; }
@media (prefers-reduced-motion:reduce) {
  .lightbox-stage > .viewer-enter, .lightbox-stage > .is-leaving { animation:none; }
  .lightbox-stage > .is-leaving { visibility:hidden; }
}
.slideshow-intro { border-bottom:1px solid var(--album-line); background:#f0eade; }
.slideshow-intro-inner { display:flex; align-items:center; justify-content:space-between; gap:2rem; padding-block:2rem; }
.slideshow-intro h2 { font-size:clamp(1.8rem,3vw,2.6rem); margin:0 0 .5rem; letter-spacing:-.025em; }
.slideshow-intro p { font-size:1rem; line-height:1.6; color:var(--clr-text-muted); margin:0; }
.slideshow-intro .btn { min-height:58px; padding:1rem 1.8rem; font-size:1.1rem; flex:none; }
.slideshow-intro .ui-icon { width:23px; height:23px; }
@media (max-width:520px) { .slideshow-intro-inner { align-items:stretch; flex-direction:column; gap:1.25rem; padding-block:1.75rem; } .slideshow-intro .btn { align-self:flex-start; } }
/* Photo order runs across rows. Adding a page must never rebalance old photos. */
.photo-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); columns:auto; gap:1.5rem; align-items:start; }
.photo-grid .photo-tile { min-width:0; margin:0; animation:none; }
.photo-grid .photo-open { aspect-ratio:3 / 2; }
.photo-grid .photo-open img, .photo-grid .photo-open video { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
.photo-grid .photo-open:hover img { transform:none; }
.photo-grid.view-full { grid-template-columns:minmax(0,1fr); gap:2.5rem; }
.photo-grid.view-full .photo-open { aspect-ratio:var(--photo-ratio,3 / 2); }
.photo-grid .photo-details > span { min-width:0; }
@media (max-width:1000px) { .photo-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.25rem; } }
@media (max-width:520px) { .photo-grid { gap:1rem .75rem; } }
