/* Familiar book tools and explicit achievement feedback. No new reading gates. */
/* The same place tells a child where attention belongs. Finite effects remain. */
.reader-v5 .reading-handoff{border-top:3px solid #58e8ff}
.reader-v5 .reading-handoff .reading-cue{display:flex;align-items:center;gap:10px}
.reader-v5 .reading-handoff .reading-cue::before{content:'';width:23px;height:20px;flex:none;background:linear-gradient(90deg,#fff04a 0 45%,#081e46 45% 55%,#fff04a 55%);border-radius:3px 3px 6px 6px;box-shadow:0 2px 0 #ff8d38;transform:perspective(40px) rotateX(8deg)}
.reader-v5 .read-stage[data-attention=screen] .reading-handoff{background:#a8f548;border-top-color:#fff04a}
.reader-v5 .read-stage[data-attention=screen] .reading-cue{color:#081e46}
.reader-v5 .read-stage[data-attention=screen] .reading-cue::before{background:#081e46;border:3px solid #081e46;box-shadow:inset 0 0 0 2px #a8f548;transform:none;border-radius:4px;width:19px;height:24px}
.reader-v5 .read-stage[data-attention=screen] .speaker-cue b{color:#081e46}
.reader-v5 .read-stage[data-attention=paused] .reading-cue::before{background:linear-gradient(90deg,#58e8ff 0 35%,transparent 35% 65%,#58e8ff 65%);box-shadow:none;border-radius:0;transform:none;width:17px}
#dialog:has(.reading-turn) .reading-turn>.eyebrow,#dialog:has(.speaker-entrance) .eyebrow{background:#a8f548;color:#081e46;border-radius:8px;padding:8px 40px 8px 12px;min-height:34px;letter-spacing:.6px}
.reader-v5 .reading-handoff .speaker-cue{max-width:34%}
@media(max-width:380px){.reader-v5 .reading-handoff{gap:6px}.reader-v5 .reading-handoff .reading-cue{gap:7px}.reader-v5 .reading-handoff .reading-cue::before{width:19px;height:17px}.reader-v5 .reading-handoff .speaker-cue b{font-size:12px}}
.home-book-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:22px 0}
.home-maintenance{display:flex;justify-content:flex-end;gap:10px;margin:0 0 15px}.home-maintenance button{min-height:44px;padding:8px 14px;background:#143e71;color:#c1f5ff;border:1px solid #58e8ff;border-radius:10px;font-size:13px;font-weight:800}.home-maintenance #homeRestart{color:#fff04a}
.home-book-tools button,.map-reset-tools button,.map-story-shortcuts button{min-height:48px;padding:10px 13px;border:1px solid #58e8ff;border-radius:11px;background:#143e71;color:#fff;font-weight:800;font-size:14px;line-height:1.3}
.home-book-tools [data-home-story]{background:#2455ef}.home-book-tools #homeRestart{color:#fff04a}
.map-story-shortcuts{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}
.map-story-shortcuts button{background:#2455ef;font-size:13px}
.map-reset-tools{grid-column:1/-1;display:flex;gap:9px;margin-top:12px}.map-reset-tools button{flex:1;background:#edf4ff;color:#081e46;border-color:#2455ef;font-size:12px;min-height:44px}
.theatre-degrees{display:none;position:absolute;right:10%;top:29%;text-align:center;color:#fff04a;line-height:1}.theatre-degrees b{display:block;font:900 clamp(90px,17vw,190px)/.95 'Barlow Condensed',Impact,sans-serif}.theatre-degrees span{display:block;font-weight:900;font-size:15px;margin-top:8px}.theatre-degrees i{display:block;color:#58e8ff;font-size:24px;font-style:normal;margin-top:8px}
.story-theatre[data-event=degrees] .theatre-degrees{display:block}.story-theatre[data-event=degrees] .theatre-five,.story-theatre[data-event=degrees] .theatre-ball{display:none}
.payoff-degrees{display:none;position:absolute;inset:0;text-align:center}.reading-magic[data-magic=degrees] .payoff-degrees{display:grid;place-content:center;color:#fff04a}.payoff-degrees b{font:900 105px/.9 'Barlow Condensed',Impact,sans-serif}.payoff-degrees span{font-size:12px;font-weight:900;margin-top:8px}
.reading-magic[data-magic=degrees] .payoff-ball,.reading-magic[data-magic=degrees] .payoff-five,.reading-magic[data-magic=degrees] .payoff-team,.reading-magic[data-magic=degrees] .payoff-hoop,.story-theatre[data-event=degrees] .theatre-hoop{display:none}
.degree-response-number{display:grid;place-items:center;width:100%;height:100%;font:900 54px/1 'Barlow Condensed',Impact,sans-serif;color:#fff04a}
.card-editor #showSaveImage{width:100%;min-height:54px;margin:12px 0;font-size:19px}.mobile-save.save-is-open{outline:3px solid #2455ef;outline-offset:6px}.mobile-save img{-webkit-touch-callout:default;user-select:auto;max-width:100%;height:auto}
.word-court-task .active-crossword-clue{display:block;font-size:17px;line-height:1.45}.word-clues button small{font-size:12px}.word-court-task #wordNext{width:100%;min-height:54px;margin:5px 0 12px}
@media(max-width:700px){.home-book-tools{grid-template-columns:1fr 1fr;margin:18px 0;gap:8px}.home-book-tools button{font-size:13px}.theatre-degrees{right:5%;top:36%}.theatre-degrees b{font-size:95px}.theatre-degrees span{font-size:11px}.map-story-shortcuts button{font-size:12px;padding:9px 6px}}
@media(max-width:700px) and (max-height:650px){.entrance-v3 .book-hero{padding:18px 15px}.entrance-v3 .book-hero h1{font-size:32px;margin:10px 0}.entrance-v3 .book-hero-copy>p{display:none}.entrance-v3 .hero-read-tag{margin:9px 0 12px}.home-maintenance{justify-content:stretch;gap:8px;margin-bottom:12px}.home-maintenance button{flex:1;font-size:12px}}

/* Short, visible reader/cast handoffs keep the printed book in charge. */
.pass-back-label{display:inline-flex;align-items:center;background:#a8f548;color:#081e46;border-radius:8px;padding:7px 12px;margin:8px 0;font-weight:900;font-size:14px;letter-spacing:.6px}
.book-return #passItBack{width:100%;min-height:52px;margin:5px 0}
.book-return #paperReady{display:block;min-height:44px;margin:6px auto 0;color:#fff5e0}
.map-pages button:disabled,.map-read-chapter:disabled{opacity:.55;cursor:not-allowed;filter:saturate(.4)}
.reading-turn-help #beatReset{min-height:44px}
@media(max-height:600px){.book-return .reading-magic{max-height:none}.book-return .magic-payoff{height:100px;margin:8px 0}.book-return .reading-magic .eyebrow,.book-return .magic-link{display:none}.book-return .reading-magic h2{font-size:28px!important;margin:10px 0}.book-return .paper-return-line{margin:8px 0}.pass-back-label{margin:3px 0;padding:5px 10px}}
