/* One compact reading flow across phones and portrait/landscape tablets. */
.reader-session.container,.journey-view.container{max-width:1120px;padding:16px 24px 20px}
.reader-session .reader-session-nav{margin-bottom:4px;gap:12px}
.reader-session .reader-chapter-title{margin:0 0 8px;padding:0 0 8px;font-size:14px}
.reader-session .reading-cue{font-size:15px;line-height:1.45;padding-bottom:10px}
.reader-v4 .reading-grid:not(.page-landed){display:block}
.reader-v4 .reading-grid:not(.page-landed) .read-stage{height:clamp(210px,30svh,280px);min-height:0;padding:18px 22px 40px;border-radius:16px}
.reader-v4 .read-stage-top{padding:0}
.reader-v4 .read-stage-copy{margin-top:13px;max-width:65%;padding:0}
.reader-v4 .read-stage-copy h1{font-size:clamp(28px,3.5vw,43px);line-height:1.04;margin:8px 0}
.reader-v4 .read-stage-copy .sports-kicker{font-size:10px;line-height:1.4}
.reader-v4 .page-ticket{padding:5px 9px;gap:9px}
.reader-v4 .page-ticket b{font-size:34px}
.reader-v4 .page-ticket small{font-size:9px}
.reader-v4 .reading-grid:not(.page-landed) .theatre-hoop{top:23%;right:10%;width:94px;height:120px}
.reader-v4 .reading-grid:not(.page-landed) .theatre-ball{right:27%;bottom:10%;width:55px;height:55px}
.reader-v4 .theatre-caption{font-size:10px;bottom:12px;left:22px;letter-spacing:.8px}
.reader-v4 .theatre-crowd{bottom:26%}
.reader-v4 .theatre-five{top:22%;right:12%;font-size:136px}
.reader-v4 .cast-page-tag{margin-top:7px;font-size:11px;padding:6px 8px;line-height:1.35;max-width:100%}
.reader-v4 .reading-grid:not(.page-landed) .awaiting-reading{display:none}
.reader-v4 .read-settings{padding:0 3px}
.reader-v4 .read-settings>summary{min-height:48px;font-size:15px}
.reader-v4 .page-landed{display:flex;flex-direction:column;gap:8px}
.reader-v4 .page-landed #panel{order:0;width:100%;max-width:780px;margin:auto;padding:20px}
.reader-v4 .page-landed .reader-dock{order:1;width:100%;max-width:780px;margin:auto}
.reader-v4 .page-landed .read-stage{display:none}
.reader-v4 #pageLanded{margin:12px 0;font-size:30px}
.reader-v4 .reader-collection-drawer{margin:8px 0;padding:12px 15px}
.reader-v4 .reader-collection-drawer>summary{font-size:16px;min-height:46px}
.reader-v4 .review-return{padding:10px 12px;margin-bottom:10px;gap:8px;align-items:center}
.has-story-dock{padding-bottom:calc(var(--story-dock-height,115px) + 12px)}
.story-control-dock{gap:12px;padding:10px max(20px,calc((100vw - 1080px)/2)) calc(10px + env(safe-area-inset-bottom))}
.story-control-dock .btn{min-height:52px;min-width:180px;font-size:17px}
.story-control-dock .dock-place b{font-size:16px}
.story-control-dock .dock-place span{font-size:14px}
.story-control-dock.has-page-discoveries .dock-replay{font-size:16px;min-height:52px}
.journey-view .session-top{margin-bottom:12px}
.journey-view .leaf-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}
.journey-view .leaf-story{padding:24px;border-radius:16px}
.journey-view .leaf-story h1{font-size:clamp(30px,4vw,42px);margin:16px 0;max-width:90%}
.journey-view .leaf-story>p{font-size:16px;line-height:1.5;margin-bottom:12px}
.journey-view .leaf-paper-pass,.journey-view .leaf-pixel{display:none}
.journey-view .leaf-challenge{padding:22px;border-radius:16px}
.journey-view .leaf-challenge h2{font-size:28px;margin:12px 0}
.journey-view .leaf-challenge>p{font-size:16px;line-height:1.5}
.journey-view .leaf-audio{margin-top:16px}
.journey-view .leaf-audio p{min-height:0;font-size:15px;margin:0 0 8px}
.journey-view .mode-distinction{margin-top:18px;padding:12px}
#dialog{width:min(620px,94vw);max-width:94vw;max-height:calc(100dvh - 24px);padding:26px;scroll-padding:24px;overscroll-behavior:contain}
#dialogBody h2{font-size:clamp(28px,4vw,36px);line-height:1.1}
#dialogBody h2:focus{outline:none}
#dialogBody p{font-size:16px;line-height:1.5}
.book-beat .eyebrow{font-size:12px;padding-right:24px;margin-top:12px;line-height:1.4}
.book-beat h2{margin:15px 0;max-width:100%}
.book-beat .field>span{font-size:15px;line-height:1.4}
.book-beat .field input{min-height:54px;font-size:18px}
.book-beat .btn,.book-beat .choice{font-size:17px;min-height:52px}
.book-beat .note{font-size:13px!important;line-height:1.45!important}
.book-beat .feedback:empty{display:none}
.book-beat .choices{margin:14px 0}
.map-leaf{gap:12px;align-items:center}
.map-leaf span{font-size:16px;line-height:1.4}
.map-leaf .btn{min-height:48px;font-size:16px;flex:none}
.map-pages button{min-width:48px;min-height:48px;font-size:18px}
.card-studio-grid{grid-template-columns:minmax(0,1fr) minmax(0,370px);gap:24px}
.card-studio .card-editor{min-width:0}
.card-studio .card-showcase{min-width:0}
.card-studio .card-showcase canvas{max-width:100%;height:auto}
.card-studio .card-editor .btn,.card-studio .card-editor .field input,.card-studio .card-editor select{min-height:52px;font-size:16px}
.entrance-v2 .book-hero{min-height:0;padding:32px;gap:24px}
.entrance-v2 .book-hero h1{font-size:clamp(48px,6vw,72px);margin:14px 0}
.entrance-v2 .book-hero-copy>p{font-size:16px;line-height:1.5;margin-bottom:14px}
.entrance-v2 .book-stand{width:190px}
.entrance-v2 .book-pass{width:240px;padding:12px 15px}
.entrance-v2 .court-marquee{padding:15px 0}
.entrance-v2 .choose-section{padding-top:14px}
.entrance-v2 .startbar{flex-direction:row;flex-wrap:wrap;align-items:center;gap:12px}
.entrance-v2 .start-note{flex-basis:100%;font-size:15px;text-align:left}
.entrance-v2 .startbar .btn{min-height:52px;font-size:17px;flex:1}
.entrance-v2 .startbar .restart-link{flex-basis:100%;text-align:left}
.entrance-v2 .home-map{min-height:52px;font-size:17px}
.hub-book-return .btn{margin:8px 8px 0 0;min-height:52px;font-size:17px}
@media(max-width:1100px){
 .topbar{padding:12px 24px}
 .reader-session.container,.journey-view.container{padding-top:10px}
 .reader-v4 .reading-grid:not(.page-landed) .read-stage{height:clamp(210px,29svh,270px)}
 .journey-view .leaf-grid{display:flex;flex-direction:column;gap:14px}
 .journey-view .leaf-story,.journey-view .leaf-challenge{width:100%}
 .journey-view .leaf-story{padding:20px 24px}
 .journey-view .leaf-story h1{font-size:34px;margin:12px 0}
 .journey-view .leaf-mode{font-size:12px}
 .entrance-v2 .book-hero{grid-template-columns:minmax(0,1fr) 220px;padding:26px;gap:16px}
 .entrance-v2 .book-hero-art{padding:0}
 .entrance-v2 .mode-card{padding:20px;min-height:0}
 .entrance-v2 .mode-card p{font-size:15px;line-height:1.5}
 .entrance-v2 .mode-meta{font-size:12px;line-height:1.4}
}
@media(max-width:700px){
 .topbar{padding:10px 16px;gap:8px}
 .topbar #brand{font-size:20px;gap:7px}
 .topbar .brandball{width:32px;height:32px}
 .topbar .brand-sub{letter-spacing:1.4px}
 .topbar .top-actions{gap:10px}
 .topbar .text-btn{min-height:44px;font-size:12px}
 .reader-session.container,.journey-view.container{padding:8px 14px 12px}
 .reader-session .reader-session-nav{gap:7px;margin-bottom:2px}
 .reader-session .reader-mode-badge{font-size:10px}
 .reader-session .reader-session-nav #bookMap{font-size:14px;padding:8px}
 .reader-session .reader-chapter-title{font-size:13px;line-height:1.4}
 .reader-session .reading-cue{font-size:14px;padding-bottom:8px}
 .reader-v4 .reading-grid:not(.page-landed) .read-stage{height:230px;padding:15px 16px 34px}
 .reader-v4 .read-stage-copy{margin-top:12px;max-width:66%}
 .reader-v4 .read-stage-copy h1{font-size:29px;max-width:none}
 .reader-v4 .page-ticket b{font-size:30px}
 .reader-v4 .page-ticket small{font-size:8px}
 .reader-v4 .reading-grid:not(.page-landed) .theatre-hoop{width:72px;height:100px;top:30%;right:4%}
 .reader-v4 .reading-grid:not(.page-landed) .theatre-ball{width:46px;height:46px;right:23%;bottom:9%}
 .reader-v4 .cast-page-tag{font-size:10px;padding:6px 7px}
 .reader-v4 .theatre-caption{left:16px;bottom:10px;font-size:9px}
 .reader-v4 .read-settings{padding:0}
 .reader-v4 .page-landed #panel{padding:17px}
 .reader-v4 #pageLanded{font-size:27px}
 .reader-v4 .page-look-entry,.reader-v4 .finale-replay-button{padding:15px}
 .story-control-dock{padding:8px 14px calc(10px + env(safe-area-inset-bottom));gap:6px 8px;flex-wrap:wrap}
 .story-control-dock .dock-place{flex-basis:100%;gap:1px}
 .story-control-dock .dock-place b{font-size:14px}
 .story-control-dock .dock-place span{font-size:13px;line-height:1.3}
 .story-control-dock .btn{font-size:17px;min-height:52px;min-width:0;padding:11px 12px}
 .story-control-dock.has-page-discoveries .dock-replay{font-size:15px;min-height:52px}
 .journey-view .session-top{gap:8px;flex-wrap:wrap}
 .journey-view .leaf-story,.journey-view .leaf-challenge{padding:18px}
 .journey-view .leaf-story h1{font-size:31px;max-width:100%}
 .journey-view .leaf-story .sports-kicker{font-size:10px}
 .journey-view .leaf-story>p{font-size:15px}
 #dialog{padding:22px 18px;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}
 #dialogBody h2{font-size:29px}
 #dialogBody .book-beat p{font-size:16px}
 .book-beat .btn,.book-beat .choice{font-size:17px;padding:13px}
 .book-beat .eyebrow{font-size:12px}
 .book-beat .hear-jay{margin:12px 0 15px}
 .map-leaf span{font-size:15px}
 .map-pages{gap:7px}
 .card-studio-grid{display:flex;flex-direction:column;gap:18px}
 .card-showcase,.card-editor{width:100%}
 .card-showcase canvas{max-height:420px;object-fit:contain}
 .card-studio-head h1{font-size:44px}
 .card-studio-head p{font-size:16px;line-height:1.5}
 .entrance-v2 .book-hero{display:grid;grid-template-columns:minmax(0,1fr) 90px;align-items:center;padding:22px 18px;gap:12px}
 .entrance-v2 .book-hero h1{font-size:45px;line-height:.95}
 .entrance-v2 .book-hero-copy>p{font-size:15px;line-height:1.45}
 .entrance-v2 .book-hero-copy>.btn{font-size:16px;min-height:52px;margin-top:14px;padding:12px}
 .entrance-v2 .book-hero-art{align-self:center;padding:0}
 .entrance-v2 .book-stand{width:90px}
 .entrance-v2 .book-pass{display:none}
 .entrance-v2 .hero-read-tag{font-size:11px;line-height:1.4;flex-wrap:wrap;margin-top:12px}
 .entrance-v2 .hero-read-tag>svg{display:none}
 .entrance-v2 .mode-card{padding:18px 18px 18px 67px}
 .entrance-v2 .mode-card p{font-size:15px;margin-bottom:10px}
 .entrance-v2 .mode-card h3{font-size:28px}
 .entrance-v2 .mode-card .mode-icon{left:17px;top:20px}
 .entrance-v2 .mode-card .mode-number{display:none}
 .entrance-v2 .mode-meta{font-size:12px;letter-spacing:0}
 .entrance-v2 .startbar{flex-direction:column;align-items:stretch}
 .entrance-v2 .startbar .btn{flex:auto;width:100%}
 .entrance-v2 .court-marquee{font-size:9px;gap:8px;padding:13px 0}
 .entrance-v2 .choose-section .section-head h2{font-size:29px}
 .entrance-v2 .choose-section .section-head p{font-size:14px}
 .entrance-v2 .book-first{display:none}
}
@media(max-width:360px){.entrance-v2 .book-hero{grid-template-columns:minmax(0,1fr) 72px;padding:18px 14px}.entrance-v2 .book-stand{width:72px}.entrance-v2 .book-hero h1{font-size:37px}.entrance-v2 .sports-kicker{font-size:9px}.reader-v4 .read-stage-copy h1{font-size:26px}.reader-v4 .page-ticket{gap:5px;padding:5px}.reader-v4 .cast-page-tag{font-size:9px}}
@media(max-height:650px) and (min-width:701px){.reader-v4 .reading-grid:not(.page-landed) .read-stage{height:210px}.reader-session .reading-cue{padding-bottom:6px}.story-control-dock .dock-place span{font-size:13px}}

.has-story-dock .journey-view #leafDefer{display:none}.journey-view .reading-lock-note{display:none}
