body.story-open{overflow:hidden}.cinema-art{position:relative;overflow:hidden;background:#332d46}.cinema-art .art-slice{position:absolute;left:0;top:50%;width:100%;aspect-ratio:var(--art-ratio);transform:translateY(-50%);overflow:hidden}.cinema-art img{position:absolute;max-width:none;display:block;pointer-events:none;user-select:none}.cinema-cover{height:300px;aspect-ratio:auto}.cinema-cover>img{object-fit:fill}#story-room.story-reading{padding:0;border:0;width:min(1180px,100%);height:96dvh;max-height:96dvh;overflow:hidden;background:#14111f}#cinema-stage{height:100%;width:100%;position:relative;overflow:hidden;isolation:isolate;container-type:size}.cinema-picture,.cinema-backdrop{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.cinema-backdrop{filter:blur(28px) brightness(.55);opacity:.9;pointer-events:none}.cinema-picture{box-shadow:0 0 80px #0009}.cinema-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(#1118278c 0%,transparent 23%,transparent 48%,#15122577 70%,#151225f2 100%)}#story-room .cinema-top{position:absolute;top:0;left:0;width:100%;max-width:none;margin:0;padding:18px 22px;display:flex;gap:14px;align-items:center;color:#fff;background:transparent;z-index:2}#story-room .cinema-top>div{flex:1;min-width:0}.cinema-top h2{font-size:19px!important;font-weight:900;line-height:1.2;margin:0 0 4px;color:white}.cinema-top span{font-size:12px;color:#f2e8ff}.cinema-bottom{position:absolute;bottom:0;left:0;width:100%;padding:20px 28px max(14px,env(safe-area-inset-bottom));z-index:2;display:flex;flex-direction:column;align-items:center;gap:12px}.cinema-caption{font-family:'Comic Sans MS','Chalkboard SE',Nunito,cursive;font-size:clamp(24px,3.4vw,34px);font-weight:900;text-align:center;line-height:1.35;color:#fff;max-width:820px;margin:0;text-shadow:0 2px 4px #191025,0 0 18px #191025c9;min-height:1.35em}.cinema-caption span{display:inline-block;border-radius:6px}.caption-pop span{animation:story-word-in .28s both;animation-delay:var(--word-delay)}.cinema-caption .spoken-word{color:#ffe69b;transform:translateY(-2px)}@keyframes story-word-in{from{opacity:0;transform:translateY(9px) scale(.92)}to{opacity:1;transform:translateY(0) scale(1)}}.cinema-progress{display:flex;width:min(100%,420px);gap:5px;align-items:center;height:4px;margin:2px 0}.cinema-progress span{height:3px;flex:1;border-radius:6px;background:#ffffff44}.cinema-progress .seen{background:#ffe5a0}#story-room.story-reading button{color:#fff;background:#211b39b8;border:1px solid #ffffff66;border-radius:15px;min-width:44px;min-height:44px;padding:8px 13px;font-size:18px;backdrop-filter:blur(8px)}#story-room.story-reading button:hover{background:#463256e6}#story-room.story-reading button:focus-visible{outline:3px solid #ffe5a0;outline-offset:3px}#story-room.story-reading .cinema-play{background:#fff1c5;color:#49334f;border-color:#fff1c5;width:56px;height:56px;font-size:23px;border-radius:50%}.cinema-controls{display:flex;align-items:center;justify-content:center;gap:10px;max-width:100%}#story-room.story-reading .cinema-read-more{font-size:13px;white-space:nowrap}.cinema-bottom #story-status{color:#fff;font-size:12px;text-align:center;min-height:0;margin:0;max-width:520px}.cinema-bottom #story-status:empty{display:none}#story-end{padding:15px;border-radius:20px;background:#20182ee8;text-align:center;color:#fff}#story-end[hidden]{display:none}#story-end strong{display:block;font-size:24px;margin-bottom:10px}#story-end button{margin:0 4px}#story-sheet{width:min(650px,calc(100% - 24px));max-height:85dvh;background:#fffaf3;color:#493452;padding:24px;border:3px solid white;border-radius:25px;overflow:auto}#story-sheet::backdrop{background:#14102277;backdrop-filter:blur(4px)}#story-sheet header{padding:0;display:flex;gap:16px;align-items:center}#story-sheet h2{font-size:25px;margin:0;flex:1}#story-sheet button{font:inherit;font-weight:800;min-height:46px;padding:10px 15px;border-radius:14px;background:#eee3f8;color:#493452}.parent-scene-number{font-size:12px;color:#80698d;margin:12px 0}.parent-story-text{font-size:22px;line-height:1.8;margin:20px 0}#story-sheet footer{display:flex;justify-content:space-between;gap:15px;padding:10px 0 0}#story-sheet button:disabled{opacity:.4}.cinema-chapter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px}.cinema-chapter-grid>button{display:flex;align-items:center;text-align:left;gap:10px;padding:9px!important}.cinema-chapter-thumb{width:56px;height:90px;flex-shrink:0;border-radius:10px}.cinema-chapter-grid small{display:block;font-size:9px;letter-spacing:.5px}.cinema-chapter-grid strong{display:block;font-size:15px;line-height:1.3;margin-top:4px}.cinema-chapter-grid [aria-current=step]{outline:3px solid #78508f}.cinema-top>button{flex-shrink:0}body.su-contrast #story-room.story-reading .cinema-top,body.su-contrast #story-room.story-reading{background:#14111f!important}body.su-contrast #story-room.story-reading :is(h2,span,p){color:#fff!important}body.su-contrast #story-room.story-reading button{background:#fff!important;color:#141414!important}.story-reading .cinema-top #story-title{outline:0}
@media(max-width:700px){#story-room.story-reading{position:fixed;inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:100dvh;border-radius:0;border:0}#story-room .cinema-top{padding:max(12px,env(safe-area-inset-top)) 12px 12px;gap:9px}.cinema-top h2{font-size:15px!important}.cinema-top span{font-size:10px}.cinema-bottom{padding:15px 14px max(14px,env(safe-area-inset-bottom));gap:11px}.cinema-caption{font-size:clamp(20px,5.7vw,28px);line-height:1.35;max-width:100%;max-height:35dvh;overflow:auto}.cinema-controls{gap:6px;width:100%}#story-room.story-reading button{min-width:38px;padding:8px 9px;font-size:17px}#story-room.story-reading .cinema-read-more{font-size:11px;padding:8px}#story-room.story-reading .cinema-play{min-width:50px;width:50px;height:50px;flex-shrink:0}.cinema-cover{height:210px}#story-sheet{margin:auto auto 0;max-height:78dvh;width:100%;border-radius:24px 24px 0 0;padding:22px 20px max(22px,env(safe-area-inset-bottom))}.parent-story-text{font-size:21px}.cinema-chapter-grid{gap:10px}.cinema-chapter-grid>button{display:block;text-align:center}.cinema-chapter-thumb{width:100%;height:130px;margin-bottom:10px}.cinema-chapter-grid strong{font-size:14px}}
@media(max-height:500px) and (orientation:landscape){.cinema-caption{font-size:20px;max-width:75%;max-height:28dvh}.cinema-bottom{gap:7px;padding:10px}.cinema-top h2{font-size:14px!important}.cinema-top span{display:none}#story-room.story-reading .cinema-play{height:44px;width:44px}.cinema-progress{display:none}}
@media(prefers-reduced-motion:reduce){.caption-pop span{animation:none!important}.cinema-caption .spoken-word{transform:none}}
body.reduced .caption-pop span{animation:none!important}body.reduced .cinema-caption .spoken-word{transform:none}

@media(max-width:900px) and (max-height:500px){#story-room.story-reading{position:fixed;inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:100dvh;border-radius:0;border:0}}

#story-room.story-reading .cinema-play:hover{background:#ffe5a0;color:#49334f}

#story-room .story-cover{display:flex;flex-direction:column;align-items:stretch}.cinema-cover{width:100%;flex:0 0 300px}.story-cover-copy{flex:1}
@media(max-width:700px){.cinema-cover{flex-basis:210px}.cinema-backdrop{display:none}}
