/* Real artwork and the author's supplied manuscript, within the existing identity. */
.book-card.has-cover{padding:24px;gap:0;min-height:0}
.book-card.has-cover .book-number{margin:0 0 20px}
.book-cover-wrap{display:flex;align-items:center;justify-content:center;width:100%;height:300px;margin:0 0 25px}
.book-cover-wrap img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;box-shadow:6px 8px 14px #1113}
.book-card.has-cover strong{font-size:clamp(23px,2.2vw,32px);line-height:1.14;letter-spacing:-.025em}
.book-card.has-cover em{font-size:20px;margin:12px 0 24px;line-height:1.25}
.book-card.has-cover .book-status{margin-top:auto}
.book-detail-art{display:block;max-width:180px;max-height:255px;object-fit:contain;margin:0 0 22px;box-shadow:4px 6px 12px #1112}
#book-dialog .dialog-close{position:sticky;top:0;background:var(--paper);z-index:2;margin-bottom:20px}
.story-references{border-top:1px solid #1113;margin:46px 0 36px;padding-top:28px}
.reference-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:25px;align-items:start}
.reference-art{margin:0;min-width:0}
.reference-art>a{display:flex;align-items:center;justify-content:center;background:#eee8d8;padding:16px;height:290px;border:1px solid #1112}
.reference-art img{max-width:100%;max-height:100%;height:auto;width:auto;object-fit:contain;box-shadow:3px 5px 12px #1113}
.reference-art figcaption{font:14px/1.5 Manrope,Arial,sans-serif;padding:14px 0;color:#111}
.reference-art figcaption strong,.reference-art figcaption span{display:block}
.reference-art figcaption span{font-size:12px;color:#555;margin-top:4px}
/* Selected covers are kept like objects on paper, with their complete artwork. */
.story-references.reference-feature{position:relative;border:1px solid #1112;background:#eee7d7;padding:28px 24px 20px;margin:38px 0 42px;box-shadow:5px 6px 0 #11108}
.reference-feature:before{content:"";position:absolute;top:-10px;left:calc(50% - 32px);width:64px;height:20px;background:#e2ca88c9;transform:rotate(-3deg);pointer-events:none}
.reference-feature .reference-grid{grid-template-columns:1fr;max-width:320px;margin:auto}
.reference-feature .reference-art>a{height:350px;background:#faf6ed;border:0;padding:18px;box-shadow:2px 3px 7px #1111}
.reference-feature .reference-art figcaption{padding-bottom:0}
.reference-feature.reference-collage .reference-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-width:none;gap:18px}
.reference-feature.reference-collage .reference-art>a{height:240px;padding:10px}
.reference-feature.reference-collage .reference-art:nth-child(1)>a{transform:rotate(-2deg)}
.reference-feature.reference-collage .reference-art:nth-child(3)>a{transform:rotate(2deg)}
.reference-feature .reference-art>a:focus-visible{outline:3px solid #111;outline-offset:5px}
.journal-reference-cover{display:grid;grid-template-columns:1fr;align-items:center;justify-items:center;gap:12px;width:100%;height:100%;padding:25px;background:#eee7d7}
.journal-reference-cover>span{display:flex;align-items:center;justify-content:center;min-width:0;width:100%;height:100%;max-height:265px}
.journal-index-page .card-image .journal-reference-cover img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;box-shadow:4px 6px 9px #1113;transform:none}
.journal-reference-cover.is-collage{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:23px 17px}
.journal-reference-cover.is-collage>span:first-child{transform:rotate(-4deg)}
.journal-reference-cover.is-collage>span:last-child{transform:rotate(4deg)}
.film-entry{display:grid;grid-template-columns:minmax(180px,260px) minmax(0,1fr);gap:clamp(25px,6vw,90px);align-items:center;max-width:880px}
.film-entry .reference-art>a{height:360px}
.film-entry h3{font:clamp(38px,5vw,68px)/1.1 Anton,Impact,sans-serif;margin:15px 0 28px}
.track-row.has-artwork{grid-template-columns:20px 66px minmax(0,1fr) auto;gap:14px}
.track-artwork{display:flex;align-items:center;justify-content:center;aspect-ratio:1;background:#ece7d5;overflow:hidden;position:relative}
.track-artwork img{display:block;width:100%;height:100%;object-fit:contain}
.track-row.has-artwork .track-artwork{padding:0;border:0;border-radius:0;min-width:0;width:66px}
.track-artwork-label{font-size:10px;line-height:1.4;display:block;color:#666;margin-top:4px}
.track-row.has-artwork>.track-find{min-height:44px;display:flex;align-items:center;justify-content:center;white-space:nowrap}
.bnb-original .bnb-hero h1{max-width:1050px;overflow-wrap:normal;font-size:clamp(64px,11vw,160px);line-height:1.02;letter-spacing:-.025em}
.bnb-original .bnb-original-deck{font:italic clamp(25px,3vw,39px)/1.35 Editorial,Georgia,serif;margin:0;max-width:800px}
.bnb-original .bnb-manuscript{margin-top:60px}
.manuscript-list{padding-left:26px;margin:0 0 28px;font:20px/1.8 Georgia,'Times New Roman',serif;color:#29291f}
.manuscript-list li{margin-bottom:8px}
.bnb-manuscript>p:last-child a{display:inline-flex;align-items:center;min-height:44px;text-underline-offset:5px}
#reader .scrap-prose .scrap-manuscript-list{font:18px/1.55 Georgia,serif;color:#28251f;margin:0;padding-left:20px}
#reader .scrap-prose .scrap-manuscript-list li{margin:0 0 10px;font:inherit;line-height:inherit}
#reader .scrap-references{display:flex;flex-direction:column;flex:1;gap:16px;min-width:0}
#reader .scrap-references h2{font:30px/1.1 Anton,Impact,sans-serif;margin:0}
#reader .scrap-reference-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
#reader .scrap-reference-grid:has(>figure:only-child){grid-template-columns:minmax(0,1fr)}
#reader .scrap-reference{margin:0;min-width:0}
#reader .scrap-reference>a{display:flex;justify-content:center;align-items:center;height:235px;background:#e8e1d1;padding:12px}
#reader .scrap-reference img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;box-shadow:3px 4px 7px #1113}
#reader .scrap-reference figcaption{font:12px/1.5 Manrope,Arial,sans-serif;padding-top:12px}
#reader .scrap-reference figcaption strong,#reader .scrap-reference figcaption small{display:block}
#reader .scrap-reference figcaption small{font-size:10px;margin-top:5px;color:#595345}
#reader .scrap-references .scrap-full-story{margin-top:auto}
#reader .scrap-reference-feature .scrap-reference-grid{position:relative;background:#e9dfca;border:1px solid #cfc2a5;padding:22px 18px 18px;margin-top:7px;box-shadow:3px 4px 0 #11108}
#reader .scrap-reference-feature .scrap-reference-grid:before{content:"";position:absolute;top:-9px;left:calc(50% - 28px);width:56px;height:18px;background:#dbc286c9;transform:rotate(-3deg);pointer-events:none}
#reader .scrap-reference-feature .scrap-reference>a{height:290px;background:#faf5e9;padding:14px;box-shadow:2px 3px 7px #1111}
#reader .scrap-reference-feature .scrap-reference figcaption{font-size:13px;line-height:1.45}
#reader .scrap-reference-feature .scrap-reference figcaption small{font-size:11px}
#reader .scrap-reference-collage .scrap-reference-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:22px 12px 16px}
#reader .scrap-reference-collage .scrap-reference>a{height:175px;padding:7px}
#reader .scrap-reference-collage .scrap-reference:nth-child(1)>a{transform:rotate(-2deg)}
#reader .scrap-reference-collage .scrap-reference:nth-child(3)>a{transform:rotate(2deg)}
@media(max-width:700px){
 .book-detail-art{max-width:130px;max-height:180px;margin-bottom:18px}
 .book-cover-wrap{height:260px}
 .book-card.has-cover{padding:22px}
 .book-card.has-cover strong{font-size:27px}
 .track-row.has-artwork{grid-template-columns:16px 56px minmax(0,1fr);gap:10px}
 .track-row.has-artwork .track-artwork{width:56px;grid-row:1/3;grid-column:2}
 .track-row.has-artwork>span{grid-row:1/3;grid-column:1}
 .track-row.has-artwork>.track-copy{grid-row:1;grid-column:3;min-width:0}
 .track-row.has-artwork>.track-find{grid-row:2;grid-column:3;justify-self:start;font-size:11px;padding:7px 12px}
 .track-row strong{overflow-wrap:anywhere}
 .film-entry{grid-template-columns:1fr;gap:20px}
 .film-entry .reference-art{max-width:260px}
 .film-entry h3{margin-top:8px}
 .reference-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 .reference-art>a{height:215px;padding:10px}
 .reference-grid:has(>figure:only-child){grid-template-columns:1fr}
 .reference-grid:has(>figure:only-child) .reference-art>a{height:300px}
 .bnb-original .bnb-hero h1{font-size:clamp(60px,16vw,110px);margin:28px 0}
 .bnb-original .bnb-manuscript{margin-top:35px}
 .manuscript-list{font-size:18px;line-height:1.8;padding-left:22px}
 #reader .scrap-reference-grid{gap:12px}
 #reader .scrap-reference>a{height:205px;padding:9px}
 #reader .scrap-prose .scrap-manuscript-list{font-size:17px;line-height:1.6}
 .story-references.reference-feature{padding:25px 16px 16px}
 .reference-feature .reference-grid .reference-art>a{height:290px}
 .reference-feature.reference-collage .reference-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}
 .reference-feature.reference-collage .reference-art>a{height:200px;padding:8px}
 .reference-feature.reference-collage .reference-art:last-child:nth-child(odd){grid-column:1/-1;width:calc(50% - 7px);justify-self:center}
 .reference-feature.reference-collage .reference-art figcaption{font-size:13px}
 .reference-feature.reference-collage .reference-art figcaption span{font-size:11px}
 #reader .scrap-reference-feature .scrap-reference-grid{padding:20px 12px 16px}
 #reader .scrap-reference-feature .scrap-reference>a{height:255px;padding:12px}
 #reader .scrap-reference-collage .scrap-reference-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:20px 8px 14px}
 #reader .scrap-reference-collage .scrap-reference>a{height:125px;padding:5px}
 #reader .scrap-reference-collage .scrap-reference figcaption{font-size:11px;line-height:1.45;overflow-wrap:anywhere}
 #reader .scrap-reference-collage .scrap-reference figcaption small{font-size:11px;line-height:1.45}
}
@media(prefers-reduced-motion:reduce){.book-card.has-cover{transition:none}}

/* Original video frames remain whole; watching is an explicit external action. */
.reference-art-video{grid-column:1/-1;width:100%;max-width:720px}
.story-references .reference-grid .reference-art-video>a.reference-video-link,
#reader .scrap-reference-video>a.reference-video-link{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;height:auto;min-height:44px;padding:0;border:0;background:transparent;color:#111;text-decoration:none;gap:0}
.reference-video-frame{display:flex;position:relative;align-items:center;justify-content:center;width:100%;aspect-ratio:16/9;background:#171717;overflow:hidden}
.reference-art-video .reference-video-frame img,
#reader .scrap-reference-video .reference-video-frame img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;box-shadow:none}
.reference-play{position:absolute;right:14px;bottom:14px;display:grid;place-items:center;width:44px;height:44px;border:1px solid #fdf150;border-radius:50%;background:#111;color:#fdf150;font:18px/1 Arial,sans-serif;padding-left:3px;box-shadow:0 2px 10px #0004}
.reference-video-cta{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;padding:10px 14px;background:#111;color:#fdf150;font:700 13px/1.4 Manrope,Arial,sans-serif;text-align:left}
.reference-video-cta>span{font-size:19px;line-height:1}
.reference-video-link:hover .reference-video-cta{text-decoration:underline;text-underline-offset:4px}
.reference-video-link:focus-visible{outline:3px solid #111;outline-offset:5px}
.reference-art-video figcaption strong{font:24px/1.2 Anton,Impact,sans-serif;margin-bottom:7px;overflow-wrap:anywhere}
#reader .scrap-reference-video{width:100%;grid-column:1/-1}
#reader .scrap-reference-video figcaption{padding-top:16px}
#reader .scrap-reference-video figcaption strong{font:22px/1.2 Anton,Impact,sans-serif;overflow-wrap:anywhere}
#reader .scrap-reference-video figcaption small{font:12px/1.5 Manrope,Arial,sans-serif;margin-top:9px}
@media(max-width:700px){
 .reference-play{right:10px;bottom:10px;width:40px;height:40px;font-size:16px}
 .reference-video-cta{font-size:12px;padding:10px 12px;min-height:44px}
 .reference-art-video figcaption strong{font-size:22px}
 #reader .scrap-reference-video figcaption strong{font-size:21px}
 #reader .scrap-reference-video figcaption small{font-size:11px}
}
