.photo-feed{padding-top:55px;padding-bottom:80px;max-width:1500px}
.memory-heading{position:static;display:flex;align-items:baseline;justify-content:space-between;margin-bottom:42px;background:none;border:0;backdrop-filter:none}
.memory-heading h1{font-size:clamp(34px,4vw,52px);font-weight:400;margin:0;color:#294959}
.memory-heading>span,.memory-date>span{font-size:12px;color:#587181}
.memory-date{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}
.memory-date p{font-size:12px;color:#587181;margin:0 0 9px}.memory-date h2{font-size:24px;font-weight:400;margin:0;color:#294959}
.memory-grid{columns:3;column-gap:12px}
.memory-photo{display:block;width:100%;padding:0;margin:0 0 12px;border:0;border-radius:12px;overflow:hidden;background:#d5dfe4;break-inside:avoid;cursor:zoom-in}
.memory-photo img{display:block;width:100%;height:auto;transition:transform .4s ease}.memory-photo:hover img{transform:scale(1.025)}
body dialog.photo-viewer{position:fixed;inset:0;box-sizing:border-box;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:42px 65px 52px;border:0;border-radius:0;background:rgba(15,22,27,.98);color:white;overflow:hidden}
.photo-viewer::backdrop{background:#0f161b}.photo-viewer[open]{display:flex;align-items:center;justify-content:center}
.viewer-image{display:block;max-width:100%;max-height:100%;object-fit:contain;touch-action:pan-y}
.photo-viewer button{position:absolute;border:0;background:#ffffff18;color:white;cursor:pointer;width:44px;height:44px;border-radius:50%;font:30px Arial;display:grid;place-items:center}
.viewer-close{top:18px;right:20px}.viewer-prev{left:12px;top:calc(50% - 22px)}.viewer-next{right:12px;top:calc(50% - 22px)}.viewer-count{position:absolute;bottom:18px;left:0;width:100%;text-align:center;font-size:12px;color:#d0d7db}
@media(min-width:1900px){.memory-grid{columns:4}}
@media(max-width:850px){.memory-grid{columns:2}.memory-date{align-items:start;flex-direction:column;gap:10px}}
@media(max-width:650px){.photo-feed{padding-top:32px}.memory-heading{margin-bottom:28px}.memory-grid{column-gap:7px}.memory-photo{margin-bottom:7px;border-radius:7px}.memory-date h2{font-size:21px}body dialog.photo-viewer{padding:65px 8px}.viewer-prev,.viewer-next{top:auto;bottom:12px}.viewer-count{bottom:27px;pointer-events:none}}
@media(prefers-reduced-motion:reduce){.memory-photo img{transition:none}}
/* Justified rows preserve filename order and each photo's native proportions. */
.memory-grid{columns:auto;display:flex;flex-wrap:wrap;gap:6px;align-items:start}
.memory-grid .memory-photo{flex:none;margin:0;border-radius:4px;max-width:100%}
.memory-grid .memory-photo img{width:100%;height:100%;object-fit:contain}
/* Date and location introduce each wall; photos remain directly visible. */
.memory-group{margin:0 0 64px}
.memory-group .memory-date{position:static;padding:24px 0 20px;margin-bottom:0;border:0;border-top:1px solid #a5bac566;background:none;backdrop-filter:none;align-items:center;flex-direction:row}
.memory-date p{letter-spacing:1.6px;font-size:12px}
.memory-date h2{font-size:clamp(22px,2.6vw,30px);line-height:1.4}
.memory-date>span{white-space:nowrap}
.photo-viewer button.viewer-half{top:0;bottom:0;width:50%;height:100%;border-radius:0;background:transparent;z-index:1;touch-action:pan-y}
.viewer-left{left:0}.viewer-right{right:0}
.photo-viewer .viewer-close{z-index:3}
.viewer-hint{position:absolute;bottom:42px;left:0;width:100%;text-align:center;font-size:11px;letter-spacing:1px;color:#aebdc5;pointer-events:none;z-index:2}
.viewer-count{z-index:2;pointer-events:none}
.photo-viewer .viewer-half:focus-visible{outline:1px solid #ffffff55;outline-offset:-8px}
@media(max-width:650px){.memory-group{margin-bottom:40px}.memory-group .memory-date{padding:20px 0 16px;gap:12px}.memory-date>span{font-size:10px}.memory-date p{font-size:11px}.viewer-hint{bottom:48px}}
/* A quiet full-width series gallery. */
body.photography-page{color:#294959}

[hidden]{display:none!important}
.album-sidebar{position:fixed;inset:0 auto 0 0;width:240px;padding:36px 28px 30px 36px;display:flex;flex-direction:column;z-index:5;background:transparent}
.album-home{font-family:Georgia,'Songti SC',serif;font-size:25px;line-height:1.3;color:#303736}.album-home span{display:block;font-size:17px;margin-top:4px}
.album-label{font-size:11px;letter-spacing:2px;color:#939790;margin:42px 0 16px}
.album-sidebar nav{position:static;display:flex;flex-direction:column;background:none;border:0;padding:0;margin:0;gap:8px;font-size:15px;color:#80867f}
.album-directory{overflow:auto;flex:1;min-height:0}.album-directory a{display:flex;justify-content:space-between;gap:12px;position:relative;padding:10px 0}.album-directory a span{font-size:12px;color:#959a94}
.album-sidebar a:hover,.album-sidebar a[aria-current]{color:#293e3b}
.album-directory a[aria-current]:before{content:'';position:absolute;left:-12px;top:14px;width:2px;height:15px;background:#526b61;border-radius:3px}
.album-sidebar nav.album-bottom{flex:none;border-top:1px solid #dce0d8;padding-top:22px;margin-top:25px;font-size:12px;gap:15px}
body.photography-page main.photo-feed{margin:0 0 0 240px;padding:40px 48px 80px;max-width:none;min-height:100vh}
.photography-page .memory-heading{margin-bottom:42px}.photography-page .memory-heading h1{font-size:30px;color:#374640}.photography-page .memory-heading>span{color:#939a94}
.album-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:56px 40px}
.album-cover{display:block;min-width:0}.album-cover-image{height:260px;display:flex;align-items:center;justify-content:center}.album-cover img{max-width:100%;max-height:100%;width:auto;height:auto;box-shadow:0 8px 24px #26342d16;transition:transform .35s ease}.album-cover:hover img{transform:translateY(-4px)}
.album-cover-caption{text-align:center;line-height:1.8;margin-top:20px;font-size:15px;color:#3d4942}.album-cover-caption small{display:block;font-size:11px;color:#92978f;margin-top:4px}
.photography-page .memory-date{border-color:#d7dcd3}.photography-page .memory-date h2{color:#3d4942}.photography-page .memory-date p,.photography-page .memory-date>span{color:#8b948c}
@media(min-width:1800px){.album-overview{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1000px){.album-sidebar{width:200px;padding:28px 24px}.album-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 24px}body.photography-page main.photo-feed{margin-left:200px;padding:32px 28px 60px}}
@media(max-width:650px){.album-sidebar{position:relative;width:auto;padding:24px 20px 18px;border-bottom:1px solid #dce0d8}.album-home{font-size:20px}.album-home span{display:inline;margin-left:12px;font-size:14px}.album-label{margin:22px 0 8px}.album-sidebar nav.album-directory{display:flex;flex-direction:row;gap:22px;overflow:auto}.album-directory a{white-space:nowrap;gap:18px;font-size:14px}.album-directory a[aria-current]:before{left:0;top:auto;bottom:2px;height:1px;width:100%}.album-sidebar nav.album-bottom{flex-direction:row;gap:24px;margin-top:12px;padding-top:12px}body.photography-page main.photo-feed{margin:0;padding:26px 20px 50px}.photography-page .memory-heading{margin-bottom:24px}.photography-page .memory-heading h1{font-size:25px}.album-overview{gap:32px 16px}.album-cover-image{height:180px}.album-cover-caption{font-size:13px;margin-top:14px}.album-cover-caption small{font-size:10px}.memory-grid{width:100%}}
@media(prefers-reduced-motion:reduce){.album-cover img{transition:none}}

/* Keep the photographic chapter in the shared blue-grey site palette. */
.photography-page .album-home,.photography-page .memory-heading h1,.photography-page .memory-date h2,.photography-page .album-cover-caption{color:#294959}
.photography-page .album-label,.photography-page .album-sidebar nav,.photography-page .album-cover-caption small,.photography-page .album-directory a span,.photography-page .memory-heading>span,.photography-page .memory-date p,.photography-page .memory-date>span{color:#587181}
.photography-page .album-sidebar a:hover,.photography-page .album-sidebar a[aria-current]{color:#294959}
.photography-page .album-directory a[aria-current]:before{background:#587181}
.photography-page .memory-date,.photography-page .album-sidebar,.photography-page .album-sidebar nav.album-bottom{border-color:#a5bac566}

/* Leave breathing room for a restrained EXIF caption below each photograph. */
body dialog.photo-viewer{padding:64px 7vw 110px}
.viewer-image{max-width:90%;max-height:100%}
.viewer-caption{position:absolute;left:24px;right:24px;bottom:37px;display:flex;justify-content:center;align-items:baseline;flex-wrap:wrap;gap:8px 22px;z-index:2;pointer-events:none;font-family:Georgia,'Times New Roman',serif;font-size:15px;line-height:1.6;font-variant-numeric:tabular-nums}
.viewer-caption .viewer-count{position:static;bottom:auto;left:auto;width:auto;font-size:inherit;color:#eef1f2;white-space:nowrap}
.viewer-parameters,.viewer-date{color:#aeb7bc;white-space:nowrap}
.viewer-hint{bottom:12px;font-size:10px;opacity:.65}
@media(max-width:650px){body dialog.photo-viewer{padding:68px 18px 125px}.viewer-image{max-width:100%}.viewer-caption{left:16px;right:16px;bottom:40px;font-size:13px;gap:4px 15px}.viewer-date{flex-basis:100%;text-align:center}.viewer-hint{bottom:15px;font-size:9px}}

/* A single, consistent typeface for capture date and exposure settings. */
.viewer-caption{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Helvetica Neue",Arial,sans-serif;font-weight:400;font-style:normal;letter-spacing:.02em}
.viewer-caption .viewer-count,.viewer-caption .viewer-parameters{font-family:inherit;font-size:inherit;font-weight:inherit;font-style:normal;color:#bcc6cb}

/* Aligned photographs with their capture information. */
.memory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 20px;align-items:start}
.memory-grid .memory-photo{display:block;width:100%;height:auto;min-width:0;max-width:none;overflow:visible;border-radius:0;background:transparent;text-align:left;color:#294959;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",Arial,sans-serif}
.photo-frame{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:4/5;overflow:hidden}
.memory-grid .photo-frame img{width:100%;height:100%;object-fit:contain}
.photo-details{display:block;margin-top:12px;font-variant-numeric:tabular-nums;line-height:1.65}
.photo-date{display:block;font-size:12px;color:#38596a}
.photo-parameters{display:block;margin-top:3px;font-size:11px;color:#587181;overflow-wrap:anywhere;min-height:1.65em}
.memory-photo:focus-visible{outline:2px solid #587181;outline-offset:5px}
@media(min-width:1800px){.memory-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(min-width:651px) and (max-width:1100px){.memory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.memory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 16px}.photo-details{margin-top:9px}.photo-date{font-size:11px}.photo-parameters{font-size:10px}}

/* Center capture information beneath each photograph. */
.photo-details{text-align:center}

/* Film collections and photographic series share a quiet directory. */
.album-directory-scroll{flex:1;overflow:auto;min-height:0;padding-left:12px;margin-left:-12px}
.album-sidebar .album-directory{flex:none;overflow:visible}
.album-label{font-family:'Songti SC',serif;font-size:23px;letter-spacing:0;margin:34px 0 12px;color:#294959!important}
.album-overview{display:block;max-width:1200px}
.media-chapter{margin:0 0 64px}
.media-chapter h2{font-family:'Songti SC',serif;font-size:27px;font-weight:400;margin:0 0 24px;color:#294959}
.film-series-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.film-series-list a{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:28px 0;border-top:1px solid #a5bac566;border-bottom:1px solid #a5bac566;font-size:21px;color:#294959;transition:background .25s,padding .25s}
.film-series-list a:hover{background:#bacdd322;padding-left:12px;padding-right:12px}
.film-series-list span{font-size:16px;color:#587181}
.photo-series-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.film-panel{border-top:1px solid #a5bac566;padding:32px 0;color:#587181;line-height:1.9}
.film-external{display:inline-block;margin-top:18px;border-bottom:1px solid #a5bac5;color:#294959}
@media(max-width:650px){.album-directory-scroll{overflow:visible}.album-label{margin:20px 0 5px;font-size:20px}.album-sidebar nav.album-directory{gap:20px;flex-wrap:wrap}.film-series-list{grid-template-columns:1fr;gap:0}.film-series-list a{font-size:19px;border-bottom:0;padding:22px 0}.film-series-list a:last-child{border-bottom:1px solid #a5bac566}.photo-series-list{grid-template-columns:repeat(2,minmax(0,1fr))}.media-chapter{margin-bottom:42px}}

/* Bilibili collections: local covers, external playback. */
.film-panel{border-top:0;padding-top:0}
.film-toolbar{display:flex;justify-content:space-between;gap:20px;margin:0 0 28px;color:#65808d;font-size:13px}
.film-toolbar a{color:inherit;text-decoration:none}
.film-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px 26px}
.film-card{min-width:0;display:block;color:#304f60;text-decoration:none}
.film-cover{position:relative;aspect-ratio:16/9;overflow:hidden;background:#d2dfe4}
.film-cover img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s}
.film-card:hover img{transform:scale(1.025)}
.film-card h2{font-family:inherit;font-size:16px;font-weight:400;line-height:1.65;margin:12px 0 0}
.film-duration{position:absolute;bottom:9px;right:10px;color:#fff;font-size:12px;background:#10202a99;padding:2px 6px;border-radius:3px}
.film-play{position:absolute;left:14px;bottom:10px;color:#fff;font-size:15px;text-shadow:0 1px 5px #000}
.film-card:focus-visible{outline:2px solid #527484;outline-offset:6px}
.film-collection[hidden]{display:none}
@media(min-width:1800px){.film-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1050px){.film-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 18px}}
@media(max-width:650px){.film-card h2{font-size:13px;margin-top:8px}.film-toolbar{font-size:12px;gap:10px}.film-grid{gap:24px 14px}.film-duration{font-size:10px;bottom:6px;right:6px}}

/* Collection overview covers use the latest published video. */
.film-series-list a.film-series-card{display:block;padding:0;border:0;background:none;text-decoration:none}
.film-series-list a.film-series-card:hover{padding:0;background:none}
.film-series-card>img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;transition:filter .2s}
.film-series-card:hover>img{filter:brightness(.95)}
.film-series-list .film-series-caption{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:14px}
.film-series-caption strong{font-size:18px;font-weight:400;color:#294959}
.film-series-caption>span{font-size:12px;white-space:nowrap;color:#587181}
.film-series-card:focus-visible{outline:2px solid #527484;outline-offset:6px}
@media(max-width:650px){.film-series-list{gap:28px}.film-series-caption strong{font-size:17px}}

/* Keep large series directories compact on phones. */
.viewer-caption .viewer-count{flex-basis:100%;text-align:center}
.viewer-caption .viewer-parameters{white-space:normal;text-align:center;overflow-wrap:anywhere}
@media(max-width:650px){.album-sidebar nav.album-directory{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px}.album-directory a{flex-shrink:0}.album-directory-scroll{min-width:0}.viewer-caption{font-size:12px}}

/* Series name is shown once in the page heading. */
.memory-group .memory-date{justify-content:flex-end;padding:12px 0 18px}

/* Drag the directory edge; keep the gallery aligned with its live width. */
@media(min-width:651px){
 .album-sidebar{box-sizing:border-box;width:var(--album-sidebar-width,240px)}
 body.photography-page main.photo-feed{margin-left:var(--album-sidebar-width,240px)}
 .album-resizer{position:absolute;top:0;bottom:0;right:-5px;width:10px;cursor:col-resize;touch-action:none;z-index:10}
 .album-resizer:after{content:'';position:absolute;left:4px;top:0;bottom:0;width:2px;background:#58718120;transition:background .15s}
 .album-resizer:hover:after,.album-resizer:focus-visible:after,.album-resizing .album-resizer:after{background:#58718199}
 .album-resizer:focus-visible{outline:1px solid #587181;outline-offset:0}
 .album-resizing,.album-resizing *{cursor:col-resize!important;user-select:none!important}
 .album-directory a span{flex-shrink:0}
}
@media(min-width:651px) and (max-width:1000px){.album-sidebar{width:var(--album-sidebar-width,200px)}body.photography-page main.photo-feed{margin-left:var(--album-sidebar-width,200px)}}
@media(max-width:650px){.album-resizer{display:none}}

/* Resize the visible directory window, not its text columns. */
@media(min-width:651px){
 .album-directory-scroll{overflow-x:hidden}
 .album-sidebar nav.album-directory{width:max-content;min-width:0;max-width:none;align-items:stretch}
 .album-sidebar .album-directory a{display:grid;grid-template-columns:minmax(max-content,1fr) 3ch;column-gap:20px;white-space:nowrap}
 .album-sidebar .album-directory a span{text-align:right;white-space:nowrap}
}

/* Reveal directory scrollbar on hover without changing its occupied width. */
.album-directory-scroll{scrollbar-width:thin;scrollbar-color:transparent transparent}
.album-directory-scroll::-webkit-scrollbar{width:6px;height:6px;background:transparent}
.album-directory-scroll::-webkit-scrollbar-track{background:transparent}
.album-directory-scroll::-webkit-scrollbar-thumb{background:transparent;border-radius:6px}
.album-directory-scroll::-webkit-scrollbar-corner{background:transparent}
.album-sidebar:hover .album-directory-scroll{scrollbar-color:#58718180 transparent}
.album-sidebar:hover .album-directory-scroll::-webkit-scrollbar-thumb{background:#58718180}
.album-directory-scroll::-webkit-scrollbar-thumb:hover{background:#587181b3}

/* Let collection covers use the full available gallery width. */
.photography-page .album-overview{width:100%;max-width:none;min-width:0}
.photography-page .photo-series-list{grid-template-columns:repeat(auto-fill,minmax(min(240px,100%),1fr));gap:38px 28px}
.photography-page .film-series-list{width:100%;min-width:0}
@media(max-width:650px){.photography-page .photo-series-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 16px}}

/* Extend only the scroll viewport into the sidebar's right padding. */
@media(min-width:1001px){.album-directory-scroll{margin-right:-26px}}
@media(min-width:651px) and (max-width:1000px){.album-directory-scroll{margin-right:-22px}}

/* Separate video/photo overview entries and landscape series covers. */
.album-sidebar>a.album-label,.album-directory-scroll>a.album-label{display:block;text-decoration:none}
.media-chapter h2 a{color:inherit;text-decoration:none}
.album-overview .media-chapter[hidden]{display:none}
.photography-page .album-cover-image{width:100%;height:auto;aspect-ratio:16/9;overflow:hidden}
.photography-page .album-cover-image img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:center}

/* Five photo-series covers per row on wide desktop screens. */
@media(min-width:1440px){.photography-page .photo-series-list{grid-template-columns:repeat(5,minmax(0,1fr))}}

/* Slightly closer framing for Sayram Lake, retaining the shared cover size. */
.photography-page .album-cover[data-series="s-41054718326f"] .album-cover-image img{transform:none;object-position:center bottom}

/* Landscape covers retain the complete frame; portraits fill the landscape slot. */
.photography-page .album-cover .album-cover-image img{transform:none}
.photography-page .album-cover-image img[data-cover-orientation="landscape"]{object-fit:cover;object-position:center}
.photography-page .album-cover[data-series="s-41054718326f"] .album-cover-image img{object-position:center bottom}

/* Subtle, consistent rounding for collection covers. */
.photography-page .album-cover-image,.photography-page .film-series-card>img{border-radius:8px;overflow:hidden}

/* Phones retain the fixed left directory and a separate gallery on the right. */
@media(max-width:650px){
 .photography-page{--mobile-album-width:clamp(112px,32vw,150px)}
 .photography-page .album-sidebar{position:fixed;inset:0 auto 0 0;box-sizing:border-box;width:var(--mobile-album-width);height:100vh;height:100dvh;padding:22px 10px 16px;display:flex;flex-direction:column;border-bottom:0;border-right:1px solid #a5bac566;z-index:8}
 .album-home{flex:none;font-size:24px;line-height:1.3}
 .album-home span{display:block;margin:5px 0 0;font-size:14px}
 .album-directory-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;margin:12px -6px 0 0;padding:0 6px 0 0;overscroll-behavior:contain}
 .album-sidebar nav.album-directory{display:flex;flex-direction:column;flex-wrap:nowrap;gap:5px;width:100%;overflow:visible;padding:0}
 .album-sidebar .album-directory a{display:flex;align-items:baseline;justify-content:space-between;gap:5px;white-space:normal;overflow-wrap:anywhere;font-size:12px;line-height:1.6;padding:8px 0}
 .album-directory a span{font-size:10px;flex-shrink:0;white-space:nowrap}
 .album-label{font-size:21px;margin:22px 0 7px}
 .album-sidebar nav.album-bottom{flex:none;flex-direction:column;gap:10px;margin-top:12px;padding-top:12px;font-size:12px}
 body.photography-page main.photo-feed{box-sizing:border-box;margin:0 0 0 var(--mobile-album-width);width:calc(100% - var(--mobile-album-width));padding:24px 12px 40px;min-width:0}
 .photography-page .memory-heading{gap:8px;flex-wrap:wrap;margin-bottom:24px}
 .photography-page .memory-heading h1{font-size:24px}
 .photography-page .memory-heading>span{font-size:11px}
 .photography-page .photo-series-list,.photography-page .film-grid,.photography-page .film-series-list,.photography-page .memory-grid{grid-template-columns:minmax(0,1fr);gap:24px}
 .film-series-caption{flex-wrap:wrap;gap:4px!important}
 .film-series-caption strong{font-size:15px}
 .film-toolbar{flex-wrap:wrap;gap:8px;font-size:11px}
 .film-card h2{font-size:13px;line-height:1.6}
 .album-cover-caption{font-size:13px;margin-top:10px}
 .media-chapter{margin-bottom:30px}
}

@media(max-width:650px){
 .album-resizer{display:block;position:absolute;top:0;bottom:0;right:-8px;width:16px;touch-action:none;z-index:12;cursor:col-resize}
 .album-resizer:after{content:'';position:absolute;left:7px;top:0;bottom:0;width:2px;background:#58718130}
 .album-resizer:before{content:'';position:absolute;left:5px;top:45%;width:6px;height:36px;border-radius:5px;background:#58718170}
 .album-resizing,.album-resizing *{user-select:none!important;-webkit-user-select:none!important;cursor:col-resize!important}
 .album-resizer:focus-visible{outline:1px solid #587181}
}

/* Single-column mobile photos follow their intrinsic ratio, without portrait spacers. */
@media(max-width:650px){
 .photography-page .memory-grid .photo-frame{display:block;aspect-ratio:auto;height:auto}
 .photography-page .memory-grid .photo-frame img{display:block;width:100%;height:auto;object-fit:contain;transform:none}
 .photography-page .photo-details{margin-top:8px;line-height:1.5}
 .photography-page .photo-parameters{margin-top:2px;min-height:0}
 .photography-page .memory-grid{row-gap:22px}
 .photography-page .memory-heading{margin-bottom:14px}
 .photography-page .memory-date{padding:8px 0 12px}
}

/* Keep the photograph sharp over the same soft landscape as inner pages. */
body dialog.photo-viewer{background:#dce6eb;color:#2d4c5b;isolation:isolate}
.photo-viewer::backdrop{background:#dce6eb}
.photo-viewer::before{content:"";position:absolute;inset:-30px;z-index:-1;pointer-events:none;background:url("assets/home-background-desktop-v1.webp") right 65%/cover no-repeat;opacity:.18;filter:blur(18px) saturate(.55) brightness(1.16)}
.photo-viewer .viewer-image{width:auto;height:auto;cursor:pointer}
.photo-viewer .viewer-close{background:#59798918;color:#2d4c5b}
.photo-viewer .viewer-caption .viewer-count,.photo-viewer .viewer-caption .viewer-parameters{color:#526f7e}
@media(max-width:650px){.photo-viewer::before{background-image:url("assets/home-background-mobile-v1.webp");background-position:right 68%}}

.viewer-load-status{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);color:#526f7e;font:14px sans-serif;pointer-events:none}
.viewer-load-status[hidden]{display:none}
