/* Keep the original cinema and complete category contents. */
.return-links{display:flex;align-items:center;gap:20px}.opening-link{display:flex;align-items:center;min-height:44px;font-size:10px;font-weight:700;letter-spacing:.7px;text-decoration:none}
.chapter-controls[hidden],.chapter-swipe-hint[hidden],.chapters-ready #intro[hidden],.chapters-ready .opening-note[hidden],.chapters-ready #chapter-stage[hidden],.chapters-ready #chapter-stage>section[hidden]{display:none!important}
.chapter-controls{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:12px;max-width:700px;margin:auto;padding:8px 20px 0}
.chapter-controls>button{min-height:44px;min-width:44px;background:none;border:1px solid var(--line);font-size:21px}
.chapter-controls>button:disabled{opacity:.3;cursor:default}
#chapter-position{font-size:10px;font-weight:700;letter-spacing:.5px;text-align:center;line-height:1.4}
.chapter-swipe-hint{font-size:8px;letter-spacing:.65px;text-align:center;margin:4px 20px 10px;color:var(--muted)}
.chapters-ready .chapter-navigation{display:none}.chapters-ready.chapter-mode .chapter-navigation{display:block;position:sticky;top:60px;z-index:7;background:#f5f2e9f5;backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.chapters-ready.chapter-mode .presentation-bar{position:fixed;min-height:60px;inset:0 0 auto;background:#101410f7;color:var(--paper);z-index:8;padding-block:8px}
.chapters-ready.chapter-mode main{padding-top:60px}.chapters-ready.chapter-mode .chapter-nav{position:static;min-height:54px;border-bottom:1px solid #bdc2b580;padding-block:4px;scrollbar-width:none}
.chapter-nav::-webkit-scrollbar{display:none}.chapter-nav a[aria-current=location]{color:var(--ink);border-color:var(--green);border-width:3px}
.chapters-ready #chapter-stage{min-height:calc(100svh - 190px);touch-action:pan-y pinch-zoom;overflow-x:clip}
.chapters-ready #intro{touch-action:pan-y pinch-zoom}.chapters-ready #chapter-stage>section{min-height:calc(100svh - 190px);scroll-margin-top:195px}
.chapters-ready #chapter-stage .section-wrap{padding-top:46px}.chapters-ready #chapter-stage>.section-wrap{padding-top:46px}.chapters-ready #chapter-stage .work-scene{padding-top:46px}
.chapters-ready:not(.chapter-mode) .opening-note,.chapters-ready:not(.chapter-mode) .presentation-footer{display:none}
.chapters-ready .presentation-footer{padding-top:22px;padding-bottom:22px}.chapter-controls>button:focus-visible{outline:3px solid #1980e6;outline-offset:2px}
@media(max-width:700px){.return-links{gap:13px}.opening-link{font-size:8px;letter-spacing:.4px}.presentation-bar .portfolio-link{font-size:8px;letter-spacing:.3px}.chapter-controls{grid-template-columns:44px minmax(0,1fr) 44px;gap:7px;padding-inline:14px}#chapter-position{font-size:8px;letter-spacing:.2px}.chapters-ready.chapter-mode .chapter-nav{gap:20px;padding-inline:20px}.chapters-ready #chapter-stage>.section-wrap,.chapters-ready #chapter-stage .section-wrap,.chapters-ready #chapter-stage .work-scene{padding-top:34px}.chapter-swipe-hint{font-size:7px}}
@media(max-width:350px){.return-links{gap:9px}.opening-link,.presentation-bar .portfolio-link{font-size:7px}.chapter-controls{grid-template-columns:40px minmax(0,1fr) 40px;gap:5px;padding-inline:12px}.chapter-controls>button{min-width:40px}#chapter-position{font-size:7.5px}}
@media print{.return-links,.chapter-navigation{display:none!important}.chapters-ready.chapter-mode main{padding:0}.chapters-ready .presentation-bar{position:static!important}.chapters-ready #chapter-stage[hidden],.chapters-ready #chapter-stage>section[hidden],.chapters-ready #intro[hidden]{display:block!important}.chapters-ready #chapter-stage{overflow:visible;min-height:0}.chapters-ready #chapter-stage>section{min-height:0;break-inside:avoid}}
