/* Bounded history and readable controls for the family game. */
#notebook button,#notebook a{min-height:44px;min-width:44px}
#notebook a{display:inline-flex;align-items:center}
#notebook button:not(.replay-close){border:2px solid #b7c99d;border-radius:12px;padding:9px 13px;background:#f5f8e8;color:#304f35;font:500 16px 'Fredoka',sans-serif;cursor:pointer}
#notebook .favourite[aria-pressed=true]{background:#dceab7;border-color:#799a58}
.notebook-pages{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:12px 0}
.notebook-pages span{flex:1;text-align:center;font-size:13px}
.notebook-pages button:disabled{opacity:.45;cursor:default}
.empty{color:#536548}
#music-off{color:#425237}
.phone-game .garden-copy #message{color:#405638}

.collection-pages{display:flex;align-items:center;justify-content:center;gap:16px;margin:14px 0}
.collection-pages[hidden],.phone-game .collection-pages{display:none}
.collection-pages button,#motion-toggle{min-height:44px;min-width:44px;border:2px solid #b7c99d;border-radius:12px;background:#f5f8e8;color:#304f35;padding:9px 13px;font:500 16px 'Fredoka',sans-serif}
.collection h2 span{width:auto;min-width:28px;padding:0 6px}
.motion-paused *,.motion-paused *::before,.motion-paused *::after{animation:none!important;transition-duration:0s!important;scroll-behavior:auto!important}
#save-status{background:#fff2ce;color:#58421e;padding:12px;border:2px solid #a88b51;border-radius:12px}
.save-unavailable::after{content:'!';position:absolute;right:0;top:0;border-radius:50%;width:18px;height:18px;background:#66431f;color:white;font:700 14px/18px sans-serif}

#music-player .music-controls #music-off[aria-pressed=true],#music-player .music-controls #music-off{color:#425237}
.collection-empty{color:#52613f}

/* Learning review: direct sensory control and voluntary word attempts. */
.quick-sound{min-height:44px;min-width:44px;font-size:14px;white-space:nowrap;padding:7px 10px;flex-shrink:0}
.help-row button{min-height:44px}
.word-talk-dialog{width:min(90vw,540px);max-height:85dvh;overflow:auto;border:2px solid #64834d;border-radius:24px;background:#fffaf0;color:#304633;padding:22px}
.word-talk-dialog::backdrop{background:#183c2870}.word-talk-dialog h2{font-size:2rem;margin:8px 0}.word-talk-dialog p{line-height:1.5;font-size:1.1rem}.word-talk-dialog button{min-height:44px;margin:6px;padding:10px 16px}.dictionary-talk{min-height:44px}
@media(max-width:700px){body.phone-game header{gap:5px}body.phone-game .quick-sound{font-size:0;width:44px;padding:5px}body.phone-game .quick-sound::first-letter{font-size:23px}body.phone-game .help-row{gap:5px;flex-wrap:wrap}body.phone-game .help-row button{font-size:14px;padding:5px 8px}body.phone-game .help-row #hint-level{display:none}}

header{grid-template-columns:minmax(0,1fr) auto auto auto}.brand{min-width:0}.brand img{max-width:100%}.garden .help-row{display:flex}.garden .help-row:not(:has(button:not([hidden]))){display:none}#try-myself{min-height:44px;padding:7px 12px;border-radius:15px;font:500 14px Fredoka;background:#fff7d7;border:2px solid #d4c78f;color:#455b37}#talk-word{font:500 14px Fredoka;border-radius:14px;background:#fff7d7;border:2px solid #d4c78f;color:#455b37}#target-banner{gap:6px}#target-label{min-width:0;flex:1}#target-banner>button{flex-shrink:0}
@media(max-width:700px){body.phone-game header{grid-template-columns:minmax(0,1fr) auto 44px 44px}body.phone-game .brand img{width:100%;max-height:40px}body.phone-game .parent-settings summary{width:44px}body.phone-game #try-myself{font-size:12px;padding:5px 7px;max-width:88px}body.phone-game #target-label{font-size:13px}body.phone-game .garden .help-row{flex-wrap:nowrap}body.phone-game #talk-word{width:60px;padding:3px;font-size:12px}}

.quick-sound{border:2px solid #e0e8d5;border-radius:18px;background:#fffdf5;box-shadow:0 3px 0 #d4dfc9}
