.album-main{padding-top:36px}.album-intro{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px}.album-intro h1{font-size:clamp(34px,4vw,54px);margin-bottom:14px}.album-intro p:last-child{margin:0;max-width:650px}.album-downloads{display:flex;gap:16px;flex-wrap:wrap;font-size:14px}.album-viewer{background:#242126;color:#fff;border:1px solid #454046;min-width:0}.album-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:16px 20px;border-bottom:1px solid #514851}.album-tabs,.album-controls{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.album-viewer button,.album-viewer select,.album-viewer .scan-download{font:inherit;font-size:14px;min-height:44px;padding:8px 12px;border:1px solid #766b77;background:#302b32;color:white;border-radius:3px;cursor:pointer;text-decoration:none}.album-viewer button:hover,.album-viewer .scan-download:hover{background:#514353}.album-viewer button[aria-pressed=true]{background:var(--yellow);border-color:var(--yellow);color:#292129}.album-viewer button:focus-visible,.album-viewer select:focus-visible,.album-viewer a:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}.album-viewer button:disabled{opacity:.4;cursor:default}.album-controls output{min-width:54px;text-align:center;font-variant-numeric:tabular-nums}.album-workspace{position:relative}.album-stage{height:clamp(300px,62vh,740px);position:relative;overflow:hidden;touch-action:none;outline-offset:-4px;cursor:grab;background:#1b191c}.album-stage:active{cursor:grabbing}.album-stage img{position:absolute;left:50%;top:50%;max-width:none;max-height:none;transform-origin:center;user-select:none;-webkit-user-drag:none;opacity:1;transition:opacity .12s}.album-stage[aria-busy=true] img{opacity:0}.album-stage .scan-message{position:absolute;inset:0;display:grid;place-content:center;text-align:center;padding:24px;pointer-events:none}.album-stage .scan-message button{pointer-events:auto}.album-stage .scan-message:empty{display:none}.album-caption{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:12px 20px;border-top:1px solid #514851}.album-caption h2{font:600 17px 'DM Sans',Arial,sans-serif;margin:0;letter-spacing:0}.album-pagination{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.album-pagination label{font-size:14px}.album-pagination select{max-width:180px}.album-hint{font-size:13px;color:#d0c7d0;padding:0 20px;margin:0 0 14px}.album-thumbnails{display:flex;gap:10px;overflow-x:auto;padding:16px 20px;border-top:1px solid #514851;scrollbar-color:#a292a3 #242126}.album-thumbnails button{flex:0 0 112px;padding:6px;min-width:0}.album-thumbnails img{width:98px;height:72px;object-fit:contain;display:block;background:#19171a;margin-bottom:6px}.album-thumbnails span{display:block;font-size:12px;line-height:1.4;white-space:normal}.album-thumbnails button[aria-current=true]{border:2px solid var(--yellow);padding:5px;background:#463c48}.album-viewer:fullscreen{width:100%;height:100%;display:flex;flex-direction:column;overflow:auto}.album-viewer:fullscreen .album-workspace{flex:1;min-height:160px;display:flex}.album-viewer:fullscreen .album-stage{height:100%;min-height:160px;flex:1}.album-viewer:fullscreen .album-thumbnails{flex-shrink:0}.album-viewer:fullscreen .album-toolbar,.album-viewer:fullscreen .album-caption{flex-shrink:0}.album-viewer.expanded{position:fixed;inset:0;z-index:9999;display:flex;flex-direction:column;overflow:auto}.album-viewer.expanded .album-workspace{flex:1;min-height:160px;display:flex}.album-viewer.expanded .album-stage{flex:1;height:100%}.album-below{margin-top:22px;display:flex;gap:24px;justify-content:space-between;flex-wrap:wrap}.album-below p{max-width:650px;font-size:14px}.album-cover-link{display:block;margin-bottom:24px;background:#2e2930}.album-cover-link img{display:block;width:100%;height:260px;object-fit:contain}.album-fallback{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:20px}.album-fallback img{width:100%;height:160px;object-fit:contain}@media(max-width:650px){.album-main{padding:28px 4%}.album-intro{align-items:start;flex-direction:column;gap:16px}.album-toolbar{padding:12px;gap:12px}.album-controls{gap:5px}.album-viewer button,.album-viewer select,.album-viewer .scan-download{padding:8px 10px}.album-stage{height:52vh;min-height:290px}.album-caption{padding:12px;gap:10px}.album-pagination{width:100%;justify-content:space-between;gap:6px}.album-pagination select{max-width:135px}.album-hint{padding:0 12px}.album-thumbnails{padding:12px}.album-thumbnails button{flex-basis:94px}.album-thumbnails img{width:80px;height:60px}.album-viewer:fullscreen .album-thumbnails,.album-viewer.expanded .album-thumbnails{max-height:116px}.album-below{gap:4px}}

/* Keep page scrolling available until the visitor zooms into a scan. */
.album-stage{touch-action:pan-y;min-width:0}.album-stage:focus-visible{outline:3px solid var(--yellow);outline-offset:-4px}
.album-intro>*,.album-toolbar>*,.album-caption>*{min-width:0}.album-pagination label{min-width:0;display:flex;align-items:center;gap:8px}
.album-viewer select{min-width:0;max-width:100%;font-size:1rem}.album-pagination select{width:180px}
.album-toolbar button,.album-viewer .scan-download{line-height:1.4}.album-controls button{min-width:44px}
.album-thumbnails{position:relative;min-width:0;max-width:100%;align-items:stretch}.album-thumbnails button{min-height:112px}.album-thumbnails span{overflow-wrap:anywhere}
.album-viewer:fullscreen,.album-viewer.expanded{display:grid;grid-template-rows:auto minmax(180px,1fr) auto auto auto;width:100%;height:100%;min-width:0;overflow:auto}
.album-viewer.expanded{height:100dvh}
.album-viewer:fullscreen .album-workspace,.album-viewer.expanded .album-workspace{display:block;min-height:0;min-width:0}
.album-viewer:fullscreen .album-stage,.album-viewer.expanded .album-stage{position:absolute;inset:0;width:100%;height:100%;min-height:0}
.album-viewer:fullscreen .album-thumbnails,.album-viewer.expanded .album-thumbnails{max-height:160px}
@media(max-width:650px){.album-pagination{display:grid;grid-template-columns:1fr 1fr}.album-pagination label{grid-column:1/-1;grid-row:1}.album-pagination select{flex:1;width:auto;max-width:none}.album-pagination button{width:100%}.album-thumbnails button{min-height:112px}.album-viewer:fullscreen .album-thumbnails,.album-viewer.expanded .album-thumbnails{max-height:150px}}
@media(max-height:620px){.album-viewer:fullscreen,.album-viewer.expanded{grid-template-rows:auto minmax(150px,1fr) auto}.album-viewer:fullscreen .album-thumbnails,.album-viewer.expanded .album-thumbnails,.album-viewer:fullscreen .album-hint,.album-viewer.expanded .album-hint{display:none}.album-viewer:fullscreen .album-caption,.album-viewer.expanded .album-caption{padding:8px 12px;gap:8px}.album-viewer:fullscreen .album-pagination,.album-viewer.expanded .album-pagination{display:flex;width:auto}.album-viewer:fullscreen .album-pagination label,.album-viewer.expanded .album-pagination label{max-width:220px}.album-viewer:fullscreen .album-pagination button,.album-viewer.expanded .album-pagination button{width:auto}}

/* Reading text sits below the viewer, keeping the scan controls uncluttered. */
.scan-notes{margin-top:24px;padding:24px;background:#fff;border:1px solid #d8d0c9;color:#292129}
.scan-notes[hidden],.scan-notes details[hidden]{display:none}
.scan-notes h2{font-size:1.35rem;margin:0 0 12px}.scan-notes p{max-width:75ch}
.scan-notes summary{cursor:pointer;font-weight:600;min-height:44px;padding:10px 0}.scan-notes summary:focus-visible{outline:3px solid #713f78;outline-offset:4px}
.scan-notes h3,.album-text-entry h3{font:600 1rem/1.5 'DM Sans',Arial,sans-serif;margin:24px 0 10px}
.scan-transcription{white-space:pre-wrap;overflow-wrap:anywhere;max-width:75ch;margin:12px 0 24px;padding:0 0 0 20px;border-left:3px solid #bba3bd;font-size:1rem;line-height:1.8;font-style:normal}
.transcription-note{font-size:.9rem;color:#625763}.album-text-main{max-width:960px}.album-text-main>p{max-width:75ch}
.album-text-index{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px;padding:24px 0;margin:24px 0;border-block:1px solid #d8d0c9}
.album-text-index a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border:1px solid #d8d0c9;background:#fff;line-height:1.5}
.album-text-entry{padding:32px 0;border-bottom:1px solid #d8d0c9;scroll-margin-top:24px}.album-text-entry h2{font-size:1.6rem;margin:0 0 16px}.album-text-entry p{max-width:75ch}
@media(max-width:650px){.scan-notes{padding:20px 16px}.scan-transcription{padding-left:14px}.album-text-index{display:flex}}
