/* Neon court palette. Bright choices surround a quiet, readable story stage. */
:root{--paper:#fff;--orange:#ff7828;--yellow:#fff04a;--lime:#b9ff38;--court:#081e46;--electric:#2455ef;--cyan:#58e8ff}
html{background:#081e46;color-scheme:only light}
body{background:#edf8ff;color:#081e46}
body:has(.entrance-v3),body:has(.game-hub),body:has(.word-court),body:has(.reader-v5){background:radial-gradient(ellipse at 100% 4%,#174eb0 0,transparent 44%),radial-gradient(ellipse at 0 80%,#075c66 0,transparent 44%),#081e46}
.topbar{background:#081e46;border-bottom:3px solid #2455ef;color:#fff}
.topbar #brand,.topbar .text-btn,.topbar .icon-btn{color:#fff}
.topbar #brand em{color:#b9ff38}.topbar .brand-sub{color:#b8eaff}
.topbar .private-tag{color:#bdcfe8}.topbar .private-tag>span{background:#b9ff38}
.topbar .brandball{background:#ff7828;color:#fff04a;border-color:#58e8ff;box-shadow:0 3px 0 #2455ef}
.topbar #soundBtn{color:#fff;background:#173e70;border-color:#58e8ff}
.btn{background:#b9ff38;color:#081e46;box-shadow:0 5px 0 #214538}
.btn:hover{background:#d1ff80}.btn.dark{background:#2455ef;color:#fff;box-shadow:0 5px 0 #081e46}
.entrance-v3{color:#fff}
.entrance-v3 .book-hero{border:2px solid #58e8ff;box-shadow:0 7px 0 #164bc4,0 0 30px #2455ef38}
.entrance-v3 .book-hero:before{background:linear-gradient(90deg,#fff04a 0 25%,#ff7828 25% 50%,#b9ff38 50% 75%,#58e8ff 75%)}
.entrance-v3 .book-hero h1{color:#fff}.entrance-v3 .book-hero h1 em{color:#fff04a}
.entrance-v3 .book-hero .sports-kicker{color:#58e8ff}
.entrance-v3 .book-hero .btn{background:#b9ff38;color:#081e46;border-color:#e7ffb8;box-shadow:0 5px 0 #2d7439}
.entrance-v3 .home-page-shortcut{color:#c1f5ff}
.entrance-v3 .book-pass{background:#fff04a;color:#081e46;border-color:#58e8ff;box-shadow:4px 5px 0 #2455ef}
.entrance-v3 .section-head h2{color:#fff}
.entrance-v3 .court-choice{background:#2455ef;color:#fff;border-color:#58e8ff;box-shadow:0 5px 0 #1636a7}
.entrance-v3 .court-choice .mode-icon{background:#fff04a;color:#081e46}
.entrance-v3 .court-choice--game{background:#ff7828;color:#081e46;border-color:#fff04a;box-shadow:0 5px 0 #ab461c}
.entrance-v3 .court-choice--game .mode-icon{background:#081e46;color:#fff04a}
.entrance-v3 .court-choice--card{background:#58e8ff;color:#081e46;border-color:#b9ff38;box-shadow:0 5px 0 #168dba}
.entrance-v3 .court-choice--card .mode-icon{background:#081e46;color:#b9ff38}
.entrance-v3 .home-grownup-note{color:#c5e8ef}
.sitefooter{background:#081e46;color:#b8d8ed;border-color:#2d68af}
.reader-v5{color:#fff}.reader-v5 .reader-session-nav .back{color:#c1f5ff}
.reader-v5 .reading-chapter-meta small{color:#58e8ff}.reader-v5 .reading-chapter-meta b{color:#fff}
.reader-v5 .reading-grid:not(.page-landed) .read-stage{border-color:#58e8ff;box-shadow:0 6px 0 #2455ef}
.reader-v5 .reading-grid:not(.page-landed) .read-stage.chapter-scene-5{background:#164fbb}
.reader-v5 .chapter-scene-5 .read-stage-shade{background:linear-gradient(90deg,#081e46f2,#123eaa88 65%,#164fbb22)}
.reader-v5 .reader-replay{background:#fff;border-color:#58e8ff;color:#143f86}
.reader-v5 .page-ticket{background:#fff04a;color:#081e46;box-shadow:0 4px 0 #2455ef}
.reader-v5 .page-landed #panel{background:#fff;color:#081e46;border-color:#58e8ff;box-shadow:0 6px 0 #2455ef}
.story-control-dock{background:#081e46;border-top-color:#ff7828}
.story-control-dock .btn{background:#b9ff38;color:#081e46;border-color:#e6ffb2;box-shadow:0 4px 0 #2b743a}
#dialog{background:#fff;color:#081e46}#dialog:has(.book-map-root){background:#fff;border-color:#58e8ff}
.book-map-root #mapChapterPanel{background:#edf4ff}
.book-map-root .map-chapter-tabs button[aria-selected=true]{background:#b9ff38;color:#081e46;border-color:#2455ef}
.book-map-root .chapter-activity-card{background:#fff04a;color:#081e46}
.game-hub{color:#fff;--world-accent:#b9ff38}.game-hub .back{color:#c1f5ff}
.game-hub .game-mode-tag,.game-hub .hub-heading .sports-kicker{color:#58e8ff}
.game-hub .hub-heading h1{color:#fff}.game-hub .hub-heading h1 em{color:#b9ff38}
.game-hub .hub-game{border-color:#58e8ff;box-shadow:0 6px 0 #2455ef}
.game-hub .hub-runner{border-color:#b9ff38;box-shadow:0 6px 0 #39804a}
.game-hub .hub-art-plan{background:radial-gradient(ellipse at 85% 10%,#407dff,#0a294e 75%)}
.game-hub .hub-art-run{background:linear-gradient(#0d2870,#1d65c1 72%,#157d69 72%);border-bottom-color:#b9ff38}
.game-hub .hub-game h2{color:#fff}.game-hub .hub-game-type{color:#fff04a}
.game-hub .hub-world{background:#edfbff;color:#081e46;border-color:#58e8ff}
.game-hub .hub-book-return b,.game-hub .hub-book-return .hint{color:#b9ff38}
.game-hub .hub-word-court{background:#b9ff38;color:#081e46;border-color:#fff04a;box-shadow:0 4px 0 #3d8a41}
.word-court{color:#fff}.word-court header h1{color:#fff}.word-court header h1 em{color:#b9ff38}
.word-court .sports-kicker{color:#58e8ff}
.word-court-nav .btn.ghost{background:#173e70;color:#fff;border-color:#58e8ff}
.word-court-board{border-color:#58e8ff;box-shadow:0 6px 0 #2455ef}
.word-court-task{background:#fff;color:#081e46;border:2px solid #ff7828;border-radius:18px;padding:17px}
.word-court-tabs [aria-selected=true]{background:#2455ef;border-color:#58e8ff}
.word-clues [aria-pressed=true]{background:#b9ff38}
.crossword-cell.word-solved{background:#b9ff38;border-color:#b9ff38}
.built-word .is-built{background:#b9ff38;border-color:#b9ff38}
@media(max-width:700px){.entrance-v3 .court-choice{box-shadow:0 4px 0 #1636a7}.entrance-v3 .court-choice--game{box-shadow:0 4px 0 #ab461c}.entrance-v3 .court-choice--card{box-shadow:0 4px 0 #168dba}.word-court-task{padding:13px}}
