/* Natural vertical chapters with a permanent, unobtrusive reading guide. */
html[data-reel-ready=true]{--journey-guide-height:88px;scroll-padding-top:calc(var(--app-header-height,72px) + 16px);scroll-padding-bottom:calc(var(--journey-guide-height) + 24px)}
html[data-reel-ready=true] body{height:auto;min-height:100dvh;overflow-x:clip;overflow-y:visible;padding-bottom:calc(var(--journey-guide-height) + 20px)}
[data-reel-ready=true] main{max-width:none;padding:0;margin:0}
.comic-reel,.comic-reel-track{display:block;width:100%;position:relative;overflow:visible;scroll-snap-type:none}
[data-reel-ready=true] #studio-world:not([hidden]){display:block}
.reel-chapter{height:auto;min-width:0;position:relative;padding:36px clamp(16px,4vw,64px);box-sizing:border-box;background:var(--paper,#f1f0e9);scroll-margin-top:18px}
.reel-spread{width:100%;height:auto;max-width:1440px;margin-inline:auto;overflow:visible;box-sizing:border-box}
.reel-spread>section,.reel-spread>.chapter-bonnet{max-width:1440px;margin-inline:auto}
.reel-controls.journey-guide{position:fixed;inset:auto 0 0;z-index:80;display:grid;grid-template-columns:48px minmax(200px,1fr) minmax(200px,.8fr) 44px 48px;align-items:center;gap:16px;padding:8px max(16px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));margin:0;width:100%;box-sizing:border-box;background:#24201f;color:#fffaf0;border-top:4px double #c5afe8;box-shadow:0 -4px 0 #24201f12;font-family:Arial,sans-serif}
.journey-guide [data-reel-prev]{grid-column:1;grid-row:1}.journey-guide [data-reel-next]{grid-column:5;grid-row:1}.journey-location{grid-column:2;grid-row:1;min-width:0}.journey-next{grid-column:3;grid-row:1;margin:0;min-width:0;display:flex;flex-direction:column;gap:5px}.journey-next>span{font:10px/1.3 monospace;letter-spacing:1px;color:#d5c7e7}.journey-next>strong{font:700 14px/1.3 Arial,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.journey-guide .magazine-tools{grid-column:4;grid-row:1}
.journey-guide button,.journey-guide select,.journey-guide summary{min-height:44px;box-sizing:border-box}.journey-guide [data-reel-prev],.journey-guide [data-reel-next]{height:44px;width:48px;padding:0;display:grid;place-items:center;border:1px solid #c5afe8;background:transparent;color:#fffaf0;cursor:pointer;font:27px/1 Arial,sans-serif;border-radius:0}.journey-guide button:disabled{opacity:.3;cursor:default}.journey-guide :is(button,select,summary):focus-visible{outline:3px solid #e1f47a;outline-offset:3px}
.journey-guide label{display:block;max-width:100%;margin:0}.journey-guide select{width:100%;max-width:100%;padding:5px 28px 5px 0;border:0;border-bottom:1px solid #fff5;background:#24201f;color:#fffaf0;font:700 14px/1.3 Arial,sans-serif;cursor:pointer}.journey-guide select:disabled{opacity:1;cursor:default}.journey-progress{display:flex;align-items:center;gap:14px;margin-top:5px}.journey-progress>span{white-space:nowrap;font:10px/1.2 monospace;letter-spacing:.4px;color:#e0d7c7}.journey-progress progress{appearance:none;display:block;width:min(170px,40%);height:3px;border:0;background:#fff3;color:#e1f47a}.journey-progress progress::-webkit-progress-bar{background:#fff3}.journey-progress progress::-webkit-progress-value{background:#e1f47a}.journey-progress progress::-moz-progress-bar{background:#e1f47a}
.magazine-tools{position:relative}.magazine-tools summary{list-style:none;width:44px;height:44px;border:1px solid #fff7;display:grid;place-items:center;cursor:pointer;font:15px monospace}.magazine-tools summary::-webkit-details-marker{display:none}.magazine-tools-panel{position:absolute;bottom:55px;right:0;padding:12px;background:#24201f;border:2px solid #c5afe8;min-width:220px;display:grid;gap:10px;box-shadow:5px 5px #0006}.magazine-tools:not([open]) .magazine-tools-panel{display:none}.magazine-tools-panel>*{position:static!important;margin:0!important;background:none!important;border:0!important;padding:0!important}.magazine-tools-panel .reel-feedback>strong,.magazine-tools-panel .reel-feedback>p{display:none}.magazine-tools-panel .reel-feedback button{width:100%;min-height:44px;background:#e1f47a;color:#24201f;border:1px solid #24201f;padding:10px;font:700 12px/1.3 Arial,sans-serif;cursor:pointer}
.reel-availability{display:inline-block;font:8px/1.4 monospace;letter-spacing:.3px;border:1px solid currentColor;padding:4px 5px;max-width:110px;flex-shrink:0;text-align:center}
[data-reel-ready=true] .pwa-update{bottom:calc(var(--journey-guide-height) + 12px)}
@media(max-width:700px){
 .reel-chapter{padding:28px 14px}.reel-controls.journey-guide{grid-template-columns:44px minmax(0,1fr) 44px 44px;grid-template-rows:auto auto;gap:0 8px;padding:5px max(8px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}.journey-guide [data-reel-prev]{grid-column:1;grid-row:1/3}.journey-guide [data-reel-next]{grid-column:4;grid-row:1/3}.journey-guide .magazine-tools{grid-column:3;grid-row:1/3}.journey-location{grid-column:2;grid-row:1}.journey-guide select{font-size:12px;padding-right:18px;min-height:44px}.journey-guide [data-reel-prev],.journey-guide [data-reel-next]{width:44px}.journey-progress{gap:8px;margin-top:2px}.journey-progress>span{font-size:8px;letter-spacing:0}.journey-progress progress{width:100%;flex:1}.journey-next{grid-column:2;grid-row:2;display:block;margin-top:5px}.journey-next>span{font-size:8px;letter-spacing:0;display:inline;margin-right:5px}.journey-next>strong{font-size:9px;display:inline;font-weight:400}.journey-next{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2}.magazine-tools-panel{right:-35px;max-width:calc(100vw - 32px)}
}
@media(prefers-reduced-motion:reduce){html[data-reel-ready=true]{scroll-behavior:auto}.comic-cinema{animation:none!important}}
@media print{.journey-guide{display:none!important}html[data-reel-ready=true] body{padding-bottom:0}.reel-chapter{break-before:page}}

/* Genuine full-viewport cinema. The same video node is moved and returned. */
.comic-cinema{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#000;color:#fff;overflow:hidden;z-index:1000}.comic-cinema::backdrop{background:#000}.comic-cinema .cinema-screen{display:flex;width:100%;height:100%;align-items:center;justify-content:center}.comic-cinema video{display:block;width:100%;height:100%;max-height:100dvh;object-fit:contain;background:#000}.cinema-close{position:absolute;right:calc(16px + env(safe-area-inset-right));top:calc(16px + env(safe-area-inset-top));z-index:2;min-height:44px;padding:10px 16px;border:1px solid #fff8;background:#000b;color:#fff;font:12px monospace;cursor:pointer}.comic-cinema[open]{animation:cinema-entrance .25s ease-out}.cinema-replay{position:absolute;bottom:75px;left:50%;transform:translateX(-50%);background:#000b;color:white;border:1px solid #fff8;min-height:44px;padding:10px 18px;z-index:2}
@keyframes cinema-entrance{from{opacity:0}to{opacity:1}}
