/* Only the face-down chapter uses the photograph. Keep its existing scroll hold. */
.minimal-site #rest-display .rest-photo{position:absolute;left:calc(100% + 36px);top:50%;transform:translateY(-50%);width:calc(100% * 56 / 44 - 36px);height:min(68svh,620px);margin:0;overflow:hidden;border-radius:22px;background:#e9e6df;isolation:isolate}
.rest-photo-scene{position:absolute;top:0;left:0;width:1280px;height:724px;transform-origin:0 0}
.rest-photo-scene>img{position:absolute;inset:0;width:1280px;height:724px;max-width:none;display:block}
.rest-photo-screen{position:absolute;left:0;top:0;width:720px;height:1065px;max-width:none;transform-origin:0 0;border-radius:10px;opacity:0;filter:brightness(.88);pointer-events:none}
.rest-photo-screen[data-ready]{opacity:1}
.minimal-site #rest-display [data-trilogy-host="3"]{display:none!important}
@media(max-width:900px){
 .minimal-site #rest-display .rest-photo{position:relative;left:auto;top:auto;transform:none;order:2;flex:none;width:100%;height:auto;aspect-ratio:1.25;margin:16px 0 22px;border-radius:18px}
}

/* Category subtitles only; the image playlist stays caption-free. */
.minimal-site #rest-display .rest-basic-previews span{margin-top:8px;min-height:1.4em;font-size:clamp(9px,1.15vw,12px);line-height:1.4;white-space:nowrap}
