/* Scoped to the additive Book 2 scene viewer. No prose or narration selectors. */
.art-column[data-b02-art-active="true"] > .b02-original-scene-hidden { display:none !important; }
.b02-scene-frame[hidden], .b02-scene-frame [hidden], .b02-full-art-dialog [hidden] { display:none !important; }
.b02-scene-frame { box-sizing:border-box; position:sticky; top:var(--tools-height,68px); min-width:0; padding:26px clamp(18px,3vw,38px); color:var(--reader-ink,#f1eee4); background:var(--reader-panel,#202735); font:14px/1.5 Arial,Helvetica,sans-serif; max-height:calc(100dvh - var(--tools-height,68px)); overflow:auto; scrollbar-width:thin; }
.b02-scene-frame * { box-sizing:border-box; }
.b02-scene-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:18px; color:var(--reader-muted,#b8bdc7); font-size:10px; letter-spacing:.12em; }
.b02-chapter-label { letter-spacing:.02em; text-align:right; }
.b02-scene-picture { position:relative; width:100%; display:flex; justify-content:center; align-items:center; min-height:140px; background:#0d111b; border-radius:10px; overflow:hidden; }
.b02-scene-image { display:block; width:100%; height:auto; max-height:44dvh; object-fit:contain; transition:opacity .15s ease; }
.b02-portrait .b02-scene-image { max-height:59dvh; width:100%; height:59dvh; }
.b02-scene-frame button, .b02-full-art-dialog button, .b02-native-link { font:inherit; cursor:pointer; border:1px solid var(--reader-line,#566073); border-radius:7px; background:transparent; color:inherit; min-height:44px; padding:9px 12px; }
.b02-scene-frame button:hover, .b02-full-art-dialog button:hover { background:rgba(128,143,173,.15); }
.b02-scene-frame button:focus-visible, .b02-source-details summary:focus-visible, .b02-full-art-dialog button:focus-visible, .b02-native-link:focus-visible { outline:3px solid #dbaedc; outline-offset:3px; }
.b02-scene-frame button:disabled, .b02-full-art-dialog button:disabled { opacity:.35; cursor:default; }
.b02-scene-frame .b02-enlarge { position:absolute; right:8px; bottom:8px; background:rgba(10,15,25,.86); color:#fff; border-color:#8b95a8; font-size:11px; min-height:36px; padding:7px 10px; }
.b02-scene-caption { padding:17px 0 12px; }
.b02-scene-title { margin:0 0 10px; font-size:clamp(17px,1.6vw,23px); line-height:1.25; font-weight:600; }
.b02-source-details { font-size:12px; }
.b02-source-details summary { cursor:pointer; color:var(--reader-muted,#b8bdc7); padding:6px 0; }
.b02-scene-quote { margin:10px 0; padding:0 0 0 12px; border-left:2px solid #c597c6; font:italic 15px/1.5 Georgia,serif; overflow-wrap:anywhere; }
.b02-scene-frame .b02-passage-link { font-size:12px; padding:5px 10px; min-height:36px; }
.b02-scene-navigation { display:grid; grid-template-columns:44px minmax(0,1fr) 44px; align-items:center; gap:9px; border-top:1px solid var(--reader-line,#465061); padding-top:12px; }
.b02-scene-position { text-align:center; color:var(--reader-muted,#b8bdc7); font-size:12px; }
.b02-follow-row { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:10px; min-height:36px; }
.b02-follow-status { color:var(--reader-muted,#b8bdc7); font-size:11px; }
.b02-scene-frame .b02-follow-button { font-size:11px; padding:6px 9px; min-height:36px; }
.b02-image-error { padding:12px 0; font-size:12px; }
.b02-image-error button { margin:0 8px 6px 0; }
.b02-full-art-dialog { box-sizing:border-box; width:calc(100vw - 32px); max-width:1800px; height:calc(100dvh - 32px); max-height:calc(100dvh - 32px); padding:18px; border:1px solid #4b576e; border-radius:12px; background:#111722; color:#f4f2ee; overflow:auto; }
.b02-full-art-dialog::backdrop { background:rgba(0,0,0,.86); }
.b02-dialog-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.b02-dialog-title { margin:0; font:600 18px/1.3 Arial,Helvetica,sans-serif; }
.b02-full-art-dialog .b02-dialog-close { font-size:26px; line-height:1; min-width:44px; }
.b02-full-art-image { display:block; width:100%; height:calc(100dvh - 240px); min-height:180px; object-fit:contain; margin:12px auto; }
.b02-dialog-navigation { display:flex; align-items:center; justify-content:center; gap:20px; font:13px/1.4 Arial,Helvetica,sans-serif; }
.b02-dialog-quote { max-width:900px; margin:14px auto; font:italic 15px/1.5 Georgia,serif; text-align:center; }
.b02-native-link { display:block; width:max-content; max-width:100%; margin:12px auto 0; text-decoration:none; font-size:12px; }
.b02-full-error { text-align:center; font:14px/1.5 Arial,Helvetica,sans-serif; }
@media(max-width:760px) {
 .b02-scene-frame { position:relative; top:0; max-height:none; padding:20px; }
 .b02-scene-image { max-height:56dvh; }
 .b02-portrait .b02-scene-image { height:min(70dvh,650px); max-height:none; }
 .b02-scene-heading { font-size:9px; margin-bottom:12px; }
 .b02-scene-title { font-size:18px; }
 .b02-full-art-dialog { width:calc(100vw - 16px); height:calc(100dvh - 16px); max-height:calc(100dvh - 16px); padding:12px; }
 .b02-dialog-title { font-size:15px; }
 .b02-full-art-image { height:calc(100dvh - 250px); }
 .b02-dialog-navigation { gap:10px; }
}
@media(prefers-reduced-motion:reduce) { .b02-scene-image { transition:none; } }
[data-reader-motion="still"] .b02-scene-image { transition:none; }
