* { box-sizing:border-box; }
:root { color-scheme:light; }
html { background:#fff; }
body { margin:0; background:#fff; color:#101010; font:15px/1.55 "Courier New",Courier,monospace; }
a { color:inherit; text-decoration:none; }
a:hover { color:#777; }
a:focus-visible,button:focus-visible { outline:2px solid #444; outline-offset:3px; }
.archive-main { width:min(900px,90vw); margin:0 auto; padding:46px 0 145px; }
.crumb { margin:0 0 46px; font-size:12px; color:#777; }
h1 { font-size:clamp(25px,4vw,38px); font-weight:400; line-height:1.2; margin:0 0 12px; }
h2 { font-size:22px; font-weight:400; margin:5px 0 12px; }
.muted { color:#777; font-size:12px; }
.piece-header { display:flex; justify-content:space-between; align-items:end; flex-wrap:wrap; gap:12px 24px; margin-bottom:35px; }
.piece-header p { margin:0; }
.download { font-size:12px; text-decoration:underline; text-underline-offset:3px; }
.viewer { margin:0; }
.sheet-wrap { margin:auto; max-width:760px; background:#fafafa; padding:clamp(6px,2vw,16px); border:1px solid #eaeaea; }
.sheet-wrap a { display:block; line-height:0; cursor:zoom-in; }
.sheet-wrap img { width:100%; height:auto; display:block; }
.viewer figcaption { max-width:760px; margin:12px auto 0; display:flex; justify-content:space-between; gap:16px; color:#777; font-size:11px; }
.page-controls { max-width:760px; margin:16px auto 32px; display:flex; justify-content:space-between; }
button { border:0; border-bottom:1px solid #bbb; font:inherit; color:inherit; background:transparent; padding:8px 2px; cursor:pointer; }
button:disabled { opacity:.25; cursor:default; }
.thumbs { display:grid; grid-template-columns:repeat(auto-fill,minmax(88px,1fr)); gap:12px; max-width:760px; margin:auto; }
.thumb { display:flex; flex-direction:column; align-items:center; gap:4px; padding:7px 5px 5px; border:1px solid transparent; }
.thumb:hover { border-color:#bbb; }
.thumb.selected { border-color:#222; }
.thumb img { display:block; height:100px; width:auto; max-width:100%; object-fit:contain; }
.thumb span { font-size:10px; color:#888; }
.endnote { margin-top:80px; color:#aaa; font-size:11px; }
.site-nav { position:fixed; bottom:0; left:0; width:100%; min-height:68px; display:flex; justify-content:space-around; gap:8px 14px; flex-wrap:wrap; align-items:center; background:#fff; border-top:1px solid #eee; z-index:3; padding:12px max(12px,env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left)); }
.site-nav a { padding:5px 3px; font-size:14px; }
.site-nav a[aria-current="page"] { color:#999; }
.listing .intro { margin:0 0 46px; }
.archive-entry { display:grid; grid-template-columns:180px minmax(0,1fr); gap:30px; max-width:680px; padding:22px 0; border-top:1px solid #e5e5e5; border-bottom:1px solid #e5e5e5; }
.entry-image { max-width:180px; background:#fafafa; padding:12px; }
.entry-image img { display:block; height:auto; width:100%; }
.entry-copy p { font-size:12px; color:#777; margin:0 0 10px; }
.entry-copy .entry-index { font-size:11px; margin:0; }
.entry-open { display:inline-block; font-size:12px; margin-top:24px; }
@media(max-width:540px){.archive-main { padding-top:25px; }.crumb{margin-bottom:30px}.piece-header {margin-bottom:25px}.site-nav{gap:4px 8px}.site-nav a{font-size:12px}.archive-entry{grid-template-columns:110px minmax(0,1fr);gap:18px}.entry-image{padding:5px}.entry-open{margin-top:8px}.hint{max-width:170px;text-align:right}.thumbs{grid-template-columns:repeat(auto-fill,minmax(65px,1fr));gap:8px}.thumb img{height:86px}}
