/* Dunking on Doubt's own playful courtside identity. */
:root{--ink:#102750;--paper:#fffaf0;--court:#102750;--orange:#f36a25;--line:#d9dfeb;--muted:#52627b;--display:'Trebuchet MS','Arial Rounded MT Bold',Arial,sans-serif;--blue:#2865d8;--yellow:#ffda62;--green:#187a65}
body{background:#fffaf0;color:var(--ink);font-family:'Trebuchet MS',Arial,sans-serif}
h1,h2,h3{font-weight:900;letter-spacing:-.045em}button,input,select{font-family:inherit}button{touch-action:manipulation}
.topbar{background:#fffaf0;border-bottom:2px solid #e8e3d6;min-height:76px}.topbar #brand{font-family:'Barlow Condensed',Arial,sans-serif;font-weight:900}.brandball{border:2px solid #102750;box-shadow:0 3px 0 #102750;transform:rotate(-9deg)}.topbar .brand-sub{font-family:Arial,sans-serif;letter-spacing:2px}
.btn{border:2px solid #102750;border-radius:16px;background:#ffcc58;color:#102750;font-weight:900;box-shadow:0 5px 0 #102750;font-size:17px;min-height:56px;transition:transform .14s,box-shadow .14s;line-height:1.3}
.btn:hover{background:#ffe08b;transform:translateY(-1px)}.btn:active{transform:translateY(4px);box-shadow:0 1px 0 #102750}.btn.dark{background:#235bd0;color:white;border-color:#102750}.btn.dark:hover{background:#174ba9}.btn.ghost{background:#fffdf6;color:#102750;box-shadow:0 4px 0 #d1d8e5}.btn:disabled{box-shadow:none;transform:none}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #2164dd;outline-offset:4px}
.entrance-v2{max-width:1200px;padding-top:28px}.entrance-v2 .book-hero{border:2px solid #102750;border-radius:30px;box-shadow:0 9px 0 #102750;isolation:isolate;overflow:hidden;grid-template-columns:minmax(0,1.3fr) minmax(190px,.65fr);padding:40px 44px;background:linear-gradient(90deg,#102750f5 0%,#102750e6 48%,#10275030),url('assets/court-story-v2.webp') center 65%/cover}
.entrance-v2 .book-hero:before{height:9px;border-radius:28px 28px 0 0;background:linear-gradient(90deg,#f36a25 0 33%,#ffda62 33% 66%,#5ec7b8 66%)}
.entrance-v2 .book-hero h1{font-family:var(--display);font-weight:900;font-size:clamp(38px,4.3vw,58px);line-height:1.04;letter-spacing:-.055em;color:#fffdf4;max-width:600px;margin:17px 0}
.entrance-v2 .book-hero h1 em{font-style:normal;color:#ffdb68}.entrance-v2 .book-hero-copy>p{font-size:18px;color:#edf2ff;max-width:440px;line-height:1.5}
.entrance-v2 .sports-kicker{letter-spacing:1.3px;font-size:11px;font-weight:900;color:#ffe18c}.entrance-v2 .hero-read-tag{font-size:13px;color:#edf2ff;gap:10px;margin:20px 0}.entrance-v2 .hero-read-tag>span{color:#102750;background:#d6f2e8;border:0;border-radius:6px;font-weight:900;padding:5px 8px}
.entrance-v2 .book-hero .btn{background:#ffcf5d;color:#102750;border-color:#ffedbc;box-shadow:0 5px 0 #b66a1e;font-size:18px;min-height:60px;padding:15px 24px}.entrance-v2 .book-hero-art{position:relative;padding:0 12px 20px}.entrance-v2 .book-stand{width:220px;transform:rotate(5deg);filter:drop-shadow(0 15px 8px #0005)}.entrance-v2 .book-pass{position:absolute;right:-6px;bottom:-12px;width:260px;background:#ffe08a;border:2px solid #102750;border-radius:15px;transform:rotate(-6deg);box-shadow:0 5px 0 #102750;padding:14px 17px;color:#102750}.entrance-v2 .book-pass b{font:900 16px/1.15 var(--display)}.entrance-v2 .book-pass span{font-size:13px}.entrance-v2 .book-pass i{font-size:28px}
.entrance-v2 .court-marquee{font-size:11px;font-weight:900;letter-spacing:1.1px;padding:25px 0 14px;color:#284a72}.entrance-v2 .choose-section{padding-top:8px}.entrance-v2 .section-head{align-items:center;margin:15px 0 20px}.entrance-v2 .section-head h2{font-size:29px;line-height:1.1;max-width:500px}.entrance-v2 .section-head p{font-size:15px;color:#52627b}
.entrance-v2 .modes{gap:18px}.entrance-v2 .mode-card{border:2px solid #102750;border-radius:23px;box-shadow:0 6px 0 #102750;padding:23px;min-height:265px;position:relative;background:#f1f6ff;transition:transform .15s,box-shadow .15s}.entrance-v2 .mode-card:hover{transform:translateY(-3px);box-shadow:0 9px 0 #102750}.entrance-v2 .mode-card[data-mode=read]{background:#e0edff}.entrance-v2 .mode-card[data-mode=listen]{background:#eee7ff}.entrance-v2 .mode-card[data-mode=inside]{background:#dff2e9}.entrance-v2 .mode-icon{border-radius:15px;width:48px;height:48px;background:#235bd0;color:#fff}.entrance-v2 [data-mode=listen] .mode-icon{background:#7752b4}.entrance-v2 [data-mode=inside] .mode-icon{background:#187a65}.entrance-v2 .mode-card h3{font-size:26px;margin-top:18px;line-height:1.1}.entrance-v2 .mode-card p{font-size:15px;line-height:1.5;color:#334d72;margin:12px 0 16px}.entrance-v2 .mode-meta{font-size:11px;line-height:1.45;font-weight:900;color:#1d3c66}.entrance-v2 .mode-number{font-size:28px;color:#10275044}.entrance-v2 .recommended{position:absolute;right:18px;top:22px;left:auto;width:auto;border-radius:8px;padding:6px 9px;font-size:9px;letter-spacing:.6px;background:#ffda62;color:#102750}.entrance-v2 [data-mode=read] .mode-number{display:none}
.entrance-v2 .home-map{margin-top:24px}.entrance-v2 .startbar{border-top:0;padding-top:16px}.entrance-v2 .browser-start-note{font-size:12px;line-height:1.5;color:#52627b;max-width:680px}.entrance-v2 .book-first{border-top:2px dashed #c7d2e1;margin-top:24px;padding-top:24px}.entrance-v2 .book-first p{font-size:14px}.entrance-v2 .book-first span{background:#ffdf88;border:2px solid #102750;border-radius:10px;color:#102750;padding:8px}
/* A calm reading console, with a distinct emotional color for each chapter. */
.reader-session .reader-session-nav{min-height:46px}.reader-session .reader-chapter-title{font-size:17px;line-height:1.3;color:#102750;border-bottom:0;margin:4px 0 12px}.reader-session .reader-mode-badge{background:#e1ecff;border:0;color:#1848a0;border-radius:8px;font-weight:900}
.reader-v4 .reading-cue{background:#fff0c9;border:2px solid #102750;border-radius:15px;min-height:48px;padding:11px 15px;margin-bottom:10px;font-size:15px;font-weight:900;letter-spacing:.4px;box-shadow:0 3px 0 #e6c26f;color:#102750}
.speaker-cue{background:#e5eeff;border:2px solid #c7d7f2;border-radius:13px;min-height:48px;margin-bottom:12px;color:#102750}.speaker-dot{height:12px;width:12px;background:#2865d8;box-shadow:0 0 0 5px #2865d81c}.speaker-cue b{font-size:18px}.speaker-cue>span:last-child{font-size:13px;color:#40567c}.speaker-cue[data-speaker=Dad]{background:#ffe8af;border:2px solid #e5af43}.speaker-cue[data-speaker=Dad] b,.speaker-cue[data-speaker=Dad]>span:last-child{color:#102750}.speaker-cue[data-speaker=Dad] .speaker-dot{background:#cf7c1b;box-shadow:0 0 0 5px #cf7c1b1c}
.reader-v4 .reader-dock{padding:0;background:transparent;border:0;box-shadow:none}.reader-v4 .reading-grid:not(.page-landed) .read-stage{border:2px solid #102750;border-radius:24px;box-shadow:0 7px 0 #102750;height:260px;padding:20px 24px 38px;background-color:#163e74}.reader-v4 .read-stage-shade{background:linear-gradient(90deg,#102750ed,#1027509c 55%,#10275012)}
.reader-v4 .read-stage-copy{max-width:70%;margin-top:15px}.reader-v4 .read-stage-copy h1{font-size:37px;line-height:1.02;letter-spacing:-.045em;color:#fffdf4;margin:10px 0}.reader-v4 .read-stage-copy p{font-size:14px;line-height:1.4;color:#dfe9fa;margin:0 0 12px;max-width:310px}.reader-v4 .read-stage-copy .sports-kicker{font-size:10px;color:#ffe08b;letter-spacing:1px;font-weight:900}.book-follow-chip{display:inline-flex;background:#f7faff1c;border:1px solid #d9e8ff55;border-radius:8px;padding:6px 9px;font-size:12px;color:#eef5ff;line-height:1.3}
.reader-v4 .page-ticket{border:0;border-radius:12px;background:#ffdb68;color:#102750;padding:7px 11px;box-shadow:0 4px 0 #a65a24}.reader-v4 .page-ticket small{font-size:9px;line-height:1.2;color:#102750;font-weight:900}.reader-v4 .page-ticket b{font-size:34px;line-height:1}.reader-v4 .read-stage-top>span:first-child{font-size:10px;letter-spacing:1px;color:#e7efff}.reader-v4 .stage-bottom-label{display:none}.reader-v4 .theatre-caption{font-size:10px;color:#ffe08b}.reader-v4 .read-stage.chapter-scene-3{background:#32285f}.reader-v4 .chapter-scene-3 .read-stage-shade{background:linear-gradient(90deg,#251f50f0,#251f5090 55%,#251f5010)}.reader-v4 .read-stage.chapter-scene-4{background:#125a59}.reader-v4 .chapter-scene-4 .read-stage-shade{background:linear-gradient(90deg,#123e4bed,#123e4b98 55%,#123e4b10)}.reader-v4 .read-stage.chapter-scene-5{background:#67421a}
.reader-v4 .read-settings{margin-top:15px}.reader-v4 .read-settings>summary{font-size:14px;color:#435c7e;min-height:44px}.reader-v4 .page-landed #panel{background:#fff;border:2px solid #c6d4e8;border-radius:23px;padding:25px;box-shadow:0 5px 0 #d9e1eb}.reader-v4 #pageLanded{font-size:29px;line-height:1.12;margin:14px 0 20px}.landed-label{color:#187a65;font-weight:900}.next-scene{border:0;border-radius:15px;background:#edf3ff}.chapter-word{border-radius:15px;background:#e7f5ed;border:1px solid #b4d4c4}.chapter-word h3{font-size:26px}.chapter-word p{font-size:16px;color:#284c48;line-height:1.5}
/* One fixed, tactile control deck. */
.story-control-dock{background:#102750;border-top:4px solid #ffda62;box-shadow:0 -6px 24px #10275020;padding-top:12px;padding-bottom:calc(14px + env(safe-area-inset-bottom));gap:12px}.story-control-dock .btn{border-color:#ffefbf;background:#ffcf5d;box-shadow:0 4px 0 #a65a24;color:#102750;font-size:17px;min-height:55px;border-radius:14px}.story-control-dock .dock-place b{color:#fffdf4}.story-control-dock .dock-place span{color:#d2e2fb}.story-control-dock .dock-pages{border:2px solid #6e91cb;color:#fff;border-radius:13px;background:#264a7c;min-height:55px;font-size:15px;font-weight:900;padding:11px 14px}.story-control-dock .dock-replay{border-radius:13px;font-size:14px;min-height:52px;color:#fff}.story-control-dock.has-page-discoveries .dock-replay{background:#235bd0;border-color:#6e91cb}
/* All child dialogs share the same clear surface and large answer tiles. */
#dialog{background:#fffaf0;color:#102750;border:3px solid #102750;border-radius:25px;box-shadow:0 9px 0 #102750,0 30px 100px #10275050;padding:30px;max-width:min(620px,calc(100vw - 18px))}#dialog::backdrop{background:#081e46b8;backdrop-filter:blur(5px)}#dialogBody h2{color:#102750;font:900 32px/1.08 var(--display);letter-spacing:-.045em;margin:18px 0}#dialogBody p{color:#405474;font-size:16px;line-height:1.5}#dialogBody .eyebrow{color:#46618c;font-size:11px;font-weight:900;line-height:1.5}#dialogBody .note{color:#52627b;font-size:13px!important;line-height:1.4!important}.dialog-close{background:#e4ecf9;color:#102750;border-radius:50%;width:39px;height:39px;right:12px;top:12px;font-size:28px;display:grid;place-items:center}
#dialogBody .reading-turn .reading-turn-page{display:none}#dialogBody .reading-turn .eyebrow{background:#e1ecff;padding:8px 42px 8px 11px;border-radius:10px;display:block;color:#214985}#dialogBody .reading-turn>h2{font-size:32px;margin-top:16px}#dialogBody .reading-turn .choice{background:#fff;border:2px solid #aebfdb;border-radius:14px;color:#102750;min-height:58px;box-shadow:0 4px 0 #cbd6e7;font-size:18px;font-weight:800;line-height:1.3;text-align:left;padding:13px 17px;transition:transform .12s,background .12s}#dialogBody .reading-turn .choice:hover{background:#e6f0ff;border-color:#2865d8}#dialogBody .reading-turn .choice:active{transform:translateY(3px);box-shadow:0 1px 0 #cbd6e7}#dialogBody .reading-turn .choice:disabled{background:#d9efdf;color:#195c42;border-color:#7eaf93;opacity:1;box-shadow:none}#dialogBody .reading-turn--number .number-picks .choice{justify-content:center;text-align:center;font-size:32px;background:#e4edff;min-height:78px}#dialogBody .field input{background:#fff;border:2px solid #a8bddd;border-radius:12px;color:#102750;font-size:18px;min-height:54px}#dialogBody .hint{font-size:14px;color:#365c93;min-height:44px;line-height:1.3}#dialogBody .feedback{font-size:15px;line-height:1.45;color:#93421f}#dialogBody .hint-text{background:#fff0c9;color:#593f20;font-size:15px;border-radius:10px}.turn-word-help{background:#e6f4ec;color:#1e5a48;border:1px solid #adccbd}
.chapter-opening{display:flex;gap:15px;align-items:center;padding:20px 35px 20px 17px;margin:-4px 0 23px;border-radius:18px;background:#ffe4a3;color:#102750;position:relative}.chapter-opening-number{font:900 52px/1 var(--display);letter-spacing:-.06em;color:#102750;flex:none}.chapter-opening>span:nth-child(2){display:grid;gap:8px;min-width:0}.chapter-opening small{font-size:10px;font-weight:900;letter-spacing:.6px}.chapter-opening b{font-size:17px;line-height:1.25;font-weight:900}.chapter-opening i{position:absolute;right:12px;bottom:10px;font-style:normal;font-size:29px}.chapter-opening--blue{background:#d9e9ff}.chapter-opening--purple{background:#e8ddfc}.chapter-opening--green{background:#d5efe4}.chapter-opening--gold{background:#ffe39a}.welcome-cover-row{padding:0;border:0;background:none;gap:18px}.welcome-cover-row img{width:66px;border-radius:4px;box-shadow:0 5px 0 #c8d0da}.welcome-cover-row h2{font-size:29px!important}.welcome-page{background:#102750;color:#ffe08b;padding:6px 9px;border:0;border-radius:6px;font-size:10px;font-weight:900}.welcome-three{display:grid;gap:9px;margin:18px 0}.welcome-three p{display:flex;align-items:center;gap:10px;margin:0!important;font-size:15px!important}.welcome-three b{display:grid;place-items:center;background:#e3ecfb;color:#102750;border-radius:8px;flex:none;width:28px;height:28px}.welcome-three~.btn{width:100%}.book-return .magic-link{max-width:390px;margin:auto}.book-return .paper-return-line{background:#e3edff;border-radius:12px;padding:13px;color:#183f79!important}.book-return .btn{width:100%}
/* The four keys visibly build a shot. No additional task, timer, or score. */
.playbook-court{height:112px;border-radius:15px;background:linear-gradient(120deg,#214a82,#102750);position:relative;margin:15px 0 12px;overflow:hidden;border:2px solid #102750}.playbook-court:before{content:'';position:absolute;left:24%;bottom:-45px;width:210px;height:100px;border:2px solid #a9c4ef55;border-radius:50%}.playbook-rim{position:absolute;right:25px;top:38px;width:43px;height:11px;border:3px solid #ff9751;border-radius:50%;z-index:3}.playbook-rim:before{content:'';position:absolute;left:-9px;bottom:6px;width:55px;height:30px;border:2px solid #bfd4f2;border-radius:3px}.playbook-rim i{position:absolute;left:4px;right:4px;top:8px;height:22px;border:1px solid #deedff;border-top:0;transform:perspective(30px) rotateX(-14deg);background:repeating-linear-gradient(60deg,transparent 0 7px,#e2eeff88 8px 9px)}.playbook-ball{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#ff9a4d;border:2px solid #63381d;color:#492d1c;font-size:20px;font-weight:900;position:absolute;right:112px;top:54px;box-shadow:inset -4px -5px 0 #d77035}.playbook-lights{display:flex;gap:8px;position:absolute;left:14px;top:16px}.playbook-lights span{width:28px;height:28px;border:2px solid #88a6cf;border-radius:9px;display:grid;place-items:center;color:#d7e5fa;font:900 14px Arial;transition:background .18s,box-shadow .18s}.playbook-lights .is-lit{background:#ffdc67;color:#102750;border-color:#ffefb5;box-shadow:0 0 13px #ffdc6766}.playbook-label{position:absolute;left:14px;bottom:15px;font-size:10px;font-weight:900;letter-spacing:.5px;color:#ddeaff}.playbook-court[data-ready=true] .playbook-ball{animation:key-shot 1s ease-in-out forwards}.order-progress{background:#e1ecff;color:#214985;border-radius:9px;padding:9px 12px;font-size:13px!important;line-height:1.4}.reading-turn .order-choices{display:grid;grid-template-columns:1fr 1fr;gap:11px}.reading-turn .order-choices .choice{font-size:16px!important}.playbook-court--team .playbook-lights span{border-radius:4px 4px 10px 10px}
.chapter-activity-card{border:2px solid #102750;border-radius:17px;background:#ffdf88;box-shadow:0 4px 0 #d3b77a}.chapter-activity-card b{font-size:23px}.chapter-activity-card small{font-size:10px}.chapter-activity-card em{font-size:14px}.activity-emblem{background:#102750;color:#ffdf88;border-radius:12px;width:44px;height:49px}.map-chapter-tabs button{border:2px solid #bfcee5;border-radius:13px;background:#e4ecf9;color:#102750;box-shadow:0 3px 0 #bfcee5}.map-chapter-tabs button[aria-selected=true]{background:#ffdc77;border-color:#102750;color:#102750}.map-chapter-tabs small{font-size:9px}.map-chapter-tabs b{font-family:var(--display);font-size:28px}#mapChapterPanel{border:0;border-radius:17px;background:#edf2fb}#mapChapterPanel h3{font-size:25px!important}.map-read-chapter{background:#235bd0;border:2px solid #102750;border-radius:15px;box-shadow:0 4px 0 #102750}.map-read-chapter b{font-family:var(--display);font-size:22px}.map-pages button{background:#fff;border:2px solid #bccce2;color:#102750;border-radius:12px}.map-pages button.current{border-color:#f36a25;outline:2px solid #f36a25}.map-pages button.done{background:#dff0e6;color:#195a46}.book-map-root #mapResume{border-radius:13px;background:#102750;color:#fff}.book-map-root>h2{font:900 30px/1.08 var(--display)!important}
.story-theatre[data-event=doubt] .theatre-lights{opacity:.15}.story-theatre[data-event=doubt] .theatre-crowd{opacity:.15}.story-theatre[data-event=doubt] .theatre-ball{filter:saturate(.35)}.story-theatre[data-event=courage]{background:radial-gradient(circle at 55% 55%,#ffc96866,transparent 65%)}.story-theatre[data-event=courage] .theatre-ball{animation:courage-rise 1.7s ease-out}.reading-magic[data-magic=resolve] .magic-payoff{background:radial-gradient(circle,#ffe6a366,#483b7c15);border-radius:20px}.reading-magic h2{font-size:29px!important}.magic-word{border-radius:10px;color:#102750;background:#ffdf88}.sitefooter{font-size:12px;border-top:2px dashed #d5ddec;color:#52627b}
@keyframes key-shot{0%{transform:translate(0,0)}55%{transform:translate(58px,-46px) scale(.65)}82%{transform:translate(83px,-17px) scale(.6)}100%{transform:translate(83px,16px) scale(.6);opacity:0}}
@keyframes courage-rise{0%{transform:translateY(12px);filter:brightness(.6)}100%{transform:translateY(0);filter:brightness(1.2)}}
@media(max-width:900px){.entrance-v2 .book-hero{padding:30px;grid-template-columns:minmax(0,1.2fr) 190px;gap:15px}.entrance-v2 .book-stand{width:185px}.entrance-v2 .book-pass{width:210px;right:-5px}.entrance-v2 .book-hero h1{font-size:40px}.entrance-v2 .mode-card{padding:20px;min-height:280px}.entrance-v2 .mode-card h3{font-size:22px}.entrance-v2 .mode-card p{font-size:14px}}
@media(max-width:700px){.topbar{min-height:64px;padding:10px 14px}.topbar #brand{font-size:20px}.topbar .top-actions{gap:8px}.entrance-v2{padding:18px 14px 28px}.entrance-v2 .book-hero{grid-template-columns:minmax(0,1fr) 104px;padding:26px 18px 24px;gap:9px;border-radius:23px;box-shadow:0 6px 0 #102750;background-position:65% center}.entrance-v2 .book-hero:before{border-radius:20px 20px 0 0;height:7px}.entrance-v2 .book-hero h1{font-size:33px;line-height:1.05;margin:14px 0}.entrance-v2 .sports-kicker{font-size:9px;letter-spacing:.6px;line-height:1.4}.entrance-v2 .book-hero-copy>p{font-size:15px;line-height:1.45;margin-bottom:12px}.entrance-v2 .book-hero-art{padding:0;align-self:center}.entrance-v2 .book-stand{width:104px;transform:rotate(7deg)}.entrance-v2 .hero-read-tag{font-size:11px;line-height:1.4;margin:12px 0;gap:7px}.entrance-v2 .hero-read-tag>span{font-size:9px;padding:4px 6px}.entrance-v2 .book-hero .btn{font-size:15px;min-height:56px;padding:12px 10px;gap:7px}.entrance-v2 .book-hero .btn svg{width:18px;flex:none}.entrance-v2 .book-pass{display:none}.entrance-v2 .court-marquee{font-size:9px;gap:7px;letter-spacing:.2px;padding:23px 0 9px}.entrance-v2 .section-head{display:block;margin:10px 0 15px}.entrance-v2 .section-head h2{font-size:25px;max-width:none;margin:0 0 9px}.entrance-v2 .section-head p{display:none}.entrance-v2 .modes{gap:15px}.entrance-v2 .mode-card{padding:18px 18px 18px 79px;min-height:0;border-radius:19px;box-shadow:0 4px 0 #102750}.entrance-v2 .mode-card .mode-icon{position:absolute;left:17px;top:18px;width:46px;height:46px;border-radius:14px}.entrance-v2 .mode-card h3{font-size:23px;margin:0 0 10px}.entrance-v2 .mode-card p{font-size:14px;line-height:1.45;margin:0 0 10px}.entrance-v2 .mode-meta{font-size:10px}.entrance-v2 .recommended{display:none}.entrance-v2 .home-map{width:100%;font-size:16px;margin-top:22px}.reader-session .reader-chapter-title{font-size:15px;margin:2px 0 9px}.reader-v4 .reading-cue{font-size:13px;min-height:44px;padding:10px 12px;margin-bottom:8px;border-radius:12px}.speaker-cue{padding:9px 12px;min-height:44px;margin-bottom:10px}.speaker-cue b{font-size:17px}.speaker-cue>span:last-child{font-size:12px}.reader-v4 .reading-grid:not(.page-landed) .read-stage{height:232px;padding:15px 16px 32px;border-radius:20px;box-shadow:0 5px 0 #102750}.reader-v4 .read-stage-copy{max-width:72%;margin-top:13px}.reader-v4 .read-stage-copy h1{font-size:29px;margin:9px 0}.reader-v4 .read-stage-copy p{font-size:12px;max-width:210px;margin-bottom:10px}.book-follow-chip{font-size:10px;padding:5px 7px}.reader-v4 .read-stage-top>span:first-child{font-size:9px;letter-spacing:.4px}.reader-v4 .page-ticket{padding:6px 8px;gap:7px;border-radius:10px}.reader-v4 .page-ticket small{font-size:8px}.reader-v4 .page-ticket b{font-size:28px}.reader-v4 .theatre-caption{font-size:8px;letter-spacing:.4px}.story-control-dock{gap:7px 9px;padding:9px 14px calc(13px + env(safe-area-inset-bottom));border-top-width:3px}.story-control-dock .btn{font-size:16px;min-height:54px;flex:1}.story-control-dock .dock-place b{font-size:14px}.story-control-dock .dock-place span{font-size:12px}.story-control-dock .dock-pages{font-size:14px;min-height:54px;padding:10px 12px}.reader-v4 .page-landed #panel{padding:19px;border-radius:18px}.reader-v4 #pageLanded{font-size:26px}.reader-v4 .read-settings>summary{font-size:13px}.chapter-activity-card{padding:14px;gap:12px}.chapter-activity-card b{font-size:21px}.chapter-activity-card em{font-size:13px}#dialog{padding:23px 18px;border-radius:22px}#dialogBody h2,#dialogBody .reading-turn>h2{font-size:29px}#dialogBody p{font-size:16px}.chapter-opening{padding:16px 25px 16px 13px;margin-bottom:20px;gap:13px;border-radius:15px}.chapter-opening-number{font-size:44px}.chapter-opening b{font-size:15px}.chapter-opening small{font-size:9px}.chapter-opening i{font-size:23px;right:7px}.welcome-cover-row img{width:55px}.welcome-cover-row h2{font-size:26px!important}.welcome-three p{font-size:14px!important}.playbook-court{height:105px}.reading-turn .order-choices{gap:10px}#dialogBody .reading-turn .order-choices .choice{font-size:15px!important;padding:12px;min-height:61px}.chapter-word p{font-size:15px}.chapter-word h3{font-size:24px}}
@media(max-width:360px){.entrance-v2 .book-hero{grid-template-columns:minmax(0,1fr) 78px;padding:23px 14px}.entrance-v2 .book-stand{width:78px}.entrance-v2 .book-hero h1{font-size:27px}.entrance-v2 .book-hero-copy>p{font-size:14px}.entrance-v2 .book-hero .btn{font-size:14px}.entrance-v2 .mode-card{padding-left:67px}.entrance-v2 .mode-card .mode-icon{left:12px;width:41px;height:41px}.reader-v4 .read-stage-copy h1{font-size:26px}.reader-v4 .read-stage-copy{max-width:73%}.book-follow-chip{font-size:9px}.speaker-cue>span:last-child{font-size:11px}.chapter-opening b{font-size:14px}.playbook-court{height:100px}.playbook-rim{right:17px}.playbook-ball{right:92px}.playbook-lights{gap:6px;left:10px}.playbook-lights span{width:25px;height:25px}#dialogBody .reading-turn .order-choices .choice{font-size:14px!important;padding:10px}}
@media(max-height:560px){.reader-v4 .reading-grid:not(.page-landed) .read-stage{height:210px}.reader-v4 .read-stage-copy h1{font-size:27px}.book-follow-chip{display:none}.chapter-opening{padding-top:12px;padding-bottom:12px}#dialog{padding-top:19px;padding-bottom:19px}.playbook-court{height:88px}#dialogBody .reading-turn>h2{font-size:26px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important}.playbook-court .playbook-ball,.story-theatre[data-event=courage] .theatre-ball{animation:none!important}.playbook-court[data-ready=true] .playbook-ball{transform:translate(70px,-14px);opacity:.6}}
.reduce-motion .playbook-court .playbook-ball,.reduce-motion .story-theatre[data-event=courage] .theatre-ball{animation:none!important}.reduce-motion .playbook-court[data-ready=true] .playbook-ball{opacity:.6}

#dialogBody .reading-turn>.hint{display:block;width:100%;text-align:left;min-height:44px;margin:3px 0;padding:6px 0}
.next-scene small{color:#44628d}.next-scene b{color:#102750}.reader-v4 .read-stage-copy p{display:block}
#dialogBody .book-beat .field>span{color:#405474}.reading-turn .order-progress{background:#e1ecff;color:#214985}

.reader-session .reader-session-nav{display:flex;align-items:center;justify-content:flex-start;gap:19px;min-height:52px;margin-bottom:10px}.reader-session-nav .back{min-height:44px;flex:none;font-size:13px}.reading-chapter-meta{display:grid;gap:4px;min-width:0}.reading-chapter-meta small{font-size:9px;line-height:1.2;letter-spacing:.7px;font-weight:900;color:#47658e}.reading-chapter-meta b{font-size:15px;line-height:1.2;color:#102750}.reader-v4 .review-return{margin-top:12px;background:transparent;border:0;padding:5px 0;min-height:44px}.reader-v4 .review-return>span{font-size:12px}.reader-v4 .review-return .btn{box-shadow:none;min-height:44px;font-size:13px;padding:8px 12px}
@media(max-width:700px){.reader-session .reader-session-nav{min-height:44px;margin-bottom:8px;gap:14px}.reading-chapter-meta small{font-size:8px}.reading-chapter-meta b{font-size:14px}.reader-v4 .reading-cue{min-height:36px;padding:8px 11px;font-size:12px}.reader-v4 .speaker-cue{min-height:39px;padding:7px 11px}.reader-v4 .speaker-cue b{font-size:16px}}
@media(max-height:560px){.reader-v4 .reading-grid:not(.page-landed) .read-stage{height:150px;padding:12px 16px}.reader-v4 .read-stage-copy{margin-top:8px}.reader-v4 .read-stage-copy h1{font-size:24px;margin:8px 0}.reader-v4 .read-stage-copy .sports-kicker,.reader-v4 .read-stage-copy p,.book-follow-chip{display:none}.reader-v4 .reading-grid:not(.page-landed) .theatre-hoop{height:80px;top:27%;width:62px}.reader-v4 .theatre-caption{font-size:8px;bottom:9px}.reader-session .reader-session-nav{min-height:40px;margin-bottom:5px}.reader-v4 .reading-cue,.reader-v4 .speaker-cue{min-height:33px;margin-bottom:6px}.reader-v4 .speaker-cue{padding:6px 11px}.reader-v4 .read-stage-top>span:first-child{font-size:8px}}
@media(max-height:560px){.reader-v4 .reading-grid:not(.page-landed) .read-stage{height:140px}}
@media(max-height:650px) and (min-width:701px){.reader-v4 .reading-grid:not(.page-landed) .read-stage{height:230px}}

/* The title is deliberately level; the physical cover keeps its book-like tilt. */
.entrance-v2 .book-hero h1 em{transform:none;rotate:none;translate:none}
.speaker-entrance{text-align:center;max-width:430px;margin:auto}.speaker-entrance-badge{display:grid;place-items:center;position:relative;width:87px;height:87px;margin:20px auto;background:#102750;border:3px solid #ffdc77;border-radius:22px;color:#fff6df;box-shadow:0 5px 0 #d9e1ed}.speaker-entrance-badge>span{font:900 30px var(--display)}.speaker-entrance-badge i{position:absolute;right:-10px;bottom:-8px;background:#f36a25;border:2px solid #fffaf0;width:31px;height:31px;display:grid;place-items:center;border-radius:50%;font:18px Arial;color:white}.speaker-entrance .btn{width:100%;min-height:58px;font-size:19px;margin:8px 0 12px}
@media(max-height:560px){.speaker-entrance-badge{width:65px;height:65px;margin:12px auto}.speaker-entrance-badge>span{font-size:25px}.speaker-entrance h2{margin:12px 0!important}}

/* Four printed keys illuminate four real court markings. */
.playbook-court--markings{height:127px;background:linear-gradient(125deg,#204b83,#0b2450);border:2px solid #102750}.key-court{position:absolute;inset:0 0 15px;width:100%;height:calc(100% - 15px);overflow:visible}.key-court-boundary{fill:#ffffff06;stroke:#92afda66;stroke-width:1.8}.court-mark{fill:none;stroke:#94b1db66;stroke-width:2.3;transition:stroke .22s,filter .22s}.court-mark circle{fill:#12375b;stroke:#91add5;stroke-width:1.5}.court-mark text{fill:#c6d9f2;stroke:none;text-anchor:middle;font:800 11px Arial}.court-mark.is-lit{stroke:#ffdc67;filter:drop-shadow(0 0 5px #ffda62a0)}.court-mark.is-lit circle{fill:#ffdc67;stroke:#fff3ca}.court-mark.is-lit text{fill:#102750}.playbook-court--markings .playbook-label{font-size:9px;left:11px;bottom:6px}.playbook-court--markings[data-ready=true]{box-shadow:inset 0 0 30px #ffdc6730}.reading-turn .feedback:empty{display:none}
/* Doubt stays quieter; support and the bigger college stage change the setting. */
.story-theatre .theatre-lights,.story-theatre .theatre-crowd,.story-theatre .theatre-ball{transition:opacity .65s,filter .65s}.read-stage:has(.story-theatre[data-mood=doubt]),.read-stage:has(.story-theatre[data-mood=pressure]){background-color:#252843}.story-theatre:is([data-mood=doubt],[data-mood=pressure]) .theatre-lights{opacity:.1;filter:saturate(.2)}.story-theatre:is([data-mood=doubt],[data-mood=pressure]) .theatre-crowd{opacity:.08}.story-theatre:is([data-mood=doubt],[data-mood=pressure]) .theatre-ball{filter:saturate(.35) brightness(.8)}.story-theatre:is([data-mood=courage],[data-mood=support]) .theatre-lights{opacity:.85;filter:sepia(.8)}.story-theatre:is([data-mood=courage],[data-mood=support]) .theatre-lights i{background:linear-gradient(#ffe3a780,transparent)}.story-theatre[data-mood=arena] .theatre-lights{opacity:.9}.story-theatre[data-mood=arena] .theatre-lights i{width:42%;background:linear-gradient(#d3e9ff80,transparent)}.story-theatre[data-mood=arena] .theatre-floor{opacity:.9;filter:drop-shadow(0 0 7px #78b6ef77)}.story-theatre[data-mood=arena] .theatre-crowd{opacity:.8}.story-theatre[data-mood=arena] .theatre-hoop{filter:drop-shadow(0 0 8px #ffe3a777)}.story-theatre[data-mood=rise] .theatre-lights,.story-theatre[data-mood=opportunity] .theatre-lights{opacity:.75}.story-theatre[data-mood=team] .theatre-crowd{opacity:.75}
@media(max-width:700px){.playbook-court--markings{height:117px}.reader-v4 .reading-cue{letter-spacing:0;font-size:13px}}@media(max-height:560px){.playbook-court--markings{height:95px}}
@media(prefers-reduced-motion:reduce){.court-mark,.story-theatre .theatre-lights,.story-theatre .theatre-crowd,.story-theatre .theatre-ball{transition:none!important}}
.reduce-motion .court-mark,.reduce-motion .story-theatre .theatre-lights,.reduce-motion .story-theatre .theatre-crowd,.reduce-motion .story-theatre .theatre-ball{transition:none!important}

.story-theatre[data-event=arenaLights] .theatre-lights{opacity:1;filter:brightness(1.5)}.story-theatre[data-event=arenaCrowd] .theatre-crowd{opacity:1}.story-theatre[data-event=arenaCrowd] .theatre-crowd i{animation:cinema-fan .55s ease-in-out 2 alternate}.story-theatre[data-event=arenaPace] .theatre-ball{animation:cinema-dunk 1.3s ease-out both}
@media(max-height:560px){.arena-finale{min-height:0;height:calc(100dvh - 24px);max-height:none;padding:14px}.arena-finale .finale-overline{font-size:10px;letter-spacing:1.5px}.arena-finale .finale-jersey{top:22%;height:110px;width:95px;left:calc(50% - 47px)}.arena-finale .finale-jersey b{font-size:63px}.arena-finale .finale-jersey small{font-size:8px}.arena-finale .finale-journey{top:50%;padding-top:13px}.arena-finale .finale-journey span{font-size:8px;letter-spacing:0}.arena-finale .finale-journey span:before{top:-18px}.arena-finale .finale-words{top:62%;left:10px;right:10px}.arena-finale .finale-words h2{font-size:35px;line-height:.95;margin:7px 0 10px}.arena-finale .finale-reader{font-size:12px;margin:0 0 7px}.arena-finale .finale-words>p:last-child{font-size:13px;line-height:1.3}.arena-finale .finale-court{height:48%;top:4%}}

/* A complete reading task fits short browser windows without hiding its answers. */
@media(max-height:700px){
 #dialog:has(.reading-turn){padding:16px 15px}
 #dialogBody .reading-turn{display:grid;gap:8px;line-height:1.35}
 #dialogBody .reading-turn>.eyebrow{margin:0;padding:5px 38px 5px 8px;font-size:10px;line-height:1.25}
 #dialogBody .reading-turn>h2{font-size:26px;margin:0!important;line-height:1.08}
 #dialogBody .reading-turn>p{font-size:15px;line-height:1.35;margin:0}
 #dialogBody .reading-turn>.note{display:none}
 #dialogBody .reading-turn .choices{margin:0;gap:8px}
 #dialogBody .reading-turn .choice{min-height:48px;font-size:16px;padding:9px 12px;line-height:1.25}
 #dialogBody .reading-turn .number-picks .choice{min-height:56px;font-size:28px;padding:8px}
 #dialogBody .reading-turn .order-choices .choice{min-height:48px;font-size:15px!important;padding:8px 10px}
 #dialogBody .reading-turn .playbook-court{height:78px;margin:0}
 #dialogBody .reading-turn .order-progress{font-size:12px!important;line-height:1.25;padding:5px 8px;margin:0}
 #dialogBody .reading-turn .feedback{margin:0;min-height:0}
 #dialogBody .reading-turn .field{margin:0}
 #dialogBody .reading-turn .field>span{font-size:14px;line-height:1.25;margin-bottom:6px}
 #dialogBody .reading-turn .field input{min-height:48px;font-size:16px;padding:10px}
 #dialogBody .reading-turn form{display:grid;gap:8px}
 #dialogBody .reading-turn .btn{min-height:48px;font-size:16px;margin:0;padding:10px 12px}
 #dialogBody .reading-turn .turn-word-help{padding:0 10px;margin:0}
 #dialogBody .reading-turn .turn-word-help summary{min-height:44px;display:flex;align-items:center;font-size:14px}
 #dialogBody .reading-turn .turn-word-help p{font-size:15px;margin:0 0 10px}
 #dialogBody .reading-turn .letter-word{padding:9px 12px;margin:0;font-size:25px;line-height:1.2}
 #dialogBody .reading-turn .letter-choices{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
 #dialogBody .reading-turn .letter-choices .choice{min-width:0;min-height:48px;font-size:23px;text-align:center;padding:7px}
 #dialogBody .reading-turn .reading-turn-help{display:flex;gap:12px;align-items:center}
 #dialogBody .reading-turn .reading-turn-help>.hint{flex:1;min-height:44px;font-size:13px;line-height:1.25;padding:5px 0;margin:0;text-align:left}
 #dialogBody .reading-turn #beatHintArea:empty{display:none}
}
@media(max-height:520px){
 #dialog:has(.reading-turn){padding:12px}
 #dialogBody .reading-turn{gap:6px}
 #dialogBody .reading-turn>h2{font-size:24px}
 #dialogBody .reading-turn .playbook-court{height:65px}
 #dialogBody .reading-turn .playbook-court:not(.playbook-court--markings){display:none}
 #dialogBody .reading-turn .order-choices .choice{min-height:44px;font-size:14px!important;padding:7px 9px}
}
