/* Gentle, gender-neutral surfaces. Learning colours inside tasks retain their meaning. */
:root { --ink:#253B4A; --muted:#4E6572; --blue:#315D70; --orange:#925337; --sky:#DDEBF5; --paper:#FAF8F3; --line:#D5DFDC; --radius:26px; --sage:#DDEBDD; --apricot:#F4DECE; }
body { background:var(--paper); color:var(--ink); }
.header,.library-header { background:rgba(250,248,243,.97); }
.hero { background:#E7EFE8; border:1px solid #D7E3D8; border-radius:32px; }
.hero h1 em { color:#466955; }
.hero h1 em:after { background:#D5AE88; height:3px; }
.hero p { color:var(--muted); }
.hero-actions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; max-width:32rem; }
.hero-actions .button { flex-direction:column; gap:5px; padding:14px 10px; font-size:1rem; min-height:84px; border-radius:20px; box-shadow:none; }
.hero-actions .button span { font-size:1.55rem; line-height:1; color:inherit; }
.hero-actions .play-choice { background:#315D70; color:#fff; }
.hero-actions .color-choice { background:#DDEBF5; color:#253B4A; border:1px solid #BCCFD9; }
.hero-actions .print-choice { background:#F4DECE; color:#253B4A; border:1px solid #DCC2AF; }
.guide-note { display:flex; align-items:center; gap:10px; margin-top:20px; max-width:29rem; color:#4E6572; font-size:.9375rem; }
.guide-note .guide-face { display:grid; place-items:center; flex:0 0 42px; height:42px; font-size:1.7rem; border-radius:50%; background:#F4DECE; }
.education-groups { gap:24px; }
.age-grid { gap:18px; }
.age-card { border:2px solid transparent; border-radius:24px; padding:24px 20px; min-height:120px; }
.age-toddler,.age-little { background:#F4DECE; }
.age-big { background:#DDEBDD; }
.age-school { background:#DDEBF5; }
.age-icon,.age-big .age-icon,.age-school .age-icon { color:#496454; }
.age-card b { font-size:1.125rem; }
.age-card small { font-size:.875rem; line-height:1.55; }
.age-card[aria-pressed=true] { border-color:#315D70; box-shadow:0 0 0 3px #315D7018; }
.activity-card,.download-card,.print-paths article,.coloring-collection,.coloring-download-grid article { border-radius:24px; border-color:var(--line); box-shadow:0 4px 16px #253B4A05; }
.activity-grid { gap:24px; }
.quiz-categories .card-picture { background:#DDEBDD; aspect-ratio:1.9; padding:12px; }
.quiz-categories .quiz-category:nth-child(2) .card-picture { background:#F4DECE; }
.quiz-categories .quiz-category:nth-child(3) .card-picture { background:#DDEBF5; }
.quiz-categories .card-body { padding:24px; }
.quiz-category-actions .button { width:100%; min-height:52px; border-radius:16px; }
.button,.speak-button,.download-links a,.download-links button { min-height:48px; border-radius:16px; font-size:1rem; }
.primary { background:#315D70; color:#fff; box-shadow:none; }
.secondary { background:#fff; color:#253B4A; border-color:#BBCDCB; }
.filter { min-height:46px; }
.filter.active { background:#315D70; }
.offline-section { background:#EAF0E6; }
.coloring-collection,.coloring-download-grid article { background:#F7FAF5; }
.image-library-tag,.image-search-chips button { background:#DDEBF5; color:#253B4A; }
.image-search-chips button { min-height:44px; }
.footer { background:#E7EFE8; }
.parent-art { background:#F4DECE; }
.answer.correct { background:#E7F0E3; border-color:#47724D; }
.answer.retry { background:#FAEDDD; border-color:#98632E; }
:focus-visible { outline:3px solid #315D70; outline-offset:4px; }
@media (hover:hover) and (pointer:fine) { .button.primary:hover { background:#274D5D; transform:translateY(-1px); } .activity-card:hover { transform:translateY(-2px); box-shadow:0 6px 18px #253B4A0C; } }
@media (max-width:740px) { .quiz-categories .quiz-category { display:flex; } .quiz-categories .card-picture { height:auto; min-height:0; aspect-ratio:2.4; } .quiz-categories .card-body { padding:20px; } .age-card { min-height:110px; padding:20px 16px; } }
@media (max-width:560px) { .hero-actions { width:100%; gap:8px; margin-top:20px; } .hero-actions .button { font-size:.9375rem; min-height:80px; padding:12px 6px; } .guide-note { font-size:.875rem; margin-top:14px; } .hero { border-radius:26px; } .age-card small { font-size:.875rem; } .hero-picture img { max-height:12rem; } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto!important; } *,*::before,*::after { animation:none!important; transition:none!important; } }
@media print { body { background:#fff; } .guide-note { display:none; } }

/* Clear separation between the task and selectable answers. */
:is(#game-dialog,#school-quiz) .task-panel { background:#DDEBF5; border:2px solid #527A94; border-left:7px solid #315D70; border-radius:20px; padding:18px 20px; margin:18px 0 24px; }
:is(#game-dialog,#school-quiz) .task-panel-label { color:#284C61; font-size:.875rem; font-weight:800; letter-spacing:.04em; margin:0 0 8px; }
:is(#game-dialog,#school-quiz) :is(#game-prompt,.quiz-prompt) { color:#193B50; font-size:1.125rem; font-weight:650; line-height:1.55; margin:0 0 14px; }
:is(#game-dialog,#school-quiz) .task-panel .game-stimulus { background:#F4F9FD; border:1px solid #97B2C4; margin:16px 0 0; }
:is(#game-dialog,#school-quiz) :is(#speak-button,.quiz-speak) { display:inline-flex; align-items:center; gap:10px; min-height:48px; background:#fff; border:2px solid #315D70; color:#234A5F; font-size:1rem; font-weight:750; padding:10px 14px; }
:is(#speak-button,.quiz-speak)::before { content:""; flex:0 0 25px; width:25px; height:25px; background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23234A5F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4V5Z'/%3E%3Cpath d='M15 8a6 6 0 0 1 0 8m3-11a10 10 0 0 1 0 14'/%3E%3C/svg%3E"); }
:is(#game-dialog,#school-quiz) .game-options { padding-top:4px; gap:14px; }
:is(#game-dialog,#school-quiz) .answer { background:#fff; border:2px solid #708698; box-shadow:0 3px 0 #D5DFDC; }
:is(#game-dialog,#school-quiz) .answer.correct { background:#DDEFD9; border:3px solid #34733F; }
#answer-success-dialog { background:#E4F2DE; border:3px solid #44804A; }
#answer-success-dialog .dialog-top { background:#E4F2DE; }
#answer-success-dialog .eyebrow,#answer-success-title,#answer-success-text { color:#245C2D; }
#answer-success-title { font-weight:800; }
.success-check { display:grid; place-items:center; width:66px; height:66px; border-radius:50%; background:#34733F; color:#fff; font-size:2.5rem; font-weight:800; }
#answer-success-next { background:#2F6B38; color:#fff; }
#answer-success-next:hover { background:#24562C; }
#answer-success-stay { color:#245C2D; }
@media(max-width:560px) { :is(#game-dialog,#school-quiz) .task-panel { padding:14px; border-left-width:5px; margin:14px 0 20px; } }

/* Answers: a distinct warm panel, selected after A/B design review. */
:is(#game-dialog,#school-quiz) .answers-panel { margin:24px 0 0; padding:14px; border:2px solid #B78B69; border-radius:20px; background:#F8EADD; }
:is(#game-dialog,#school-quiz) #answers-title { margin:0; color:#68492F; font-size:1.125rem; font-weight:800; }
:is(#game-dialog,#school-quiz) .answers-instruction { margin:3px 0 12px; color:#68492F; font-size:1rem; }
:is(#game-dialog,#school-quiz) .answers-panel .game-options { padding-top:0; }

@media(max-width:560px) { :is(#game-dialog,#school-quiz) .answers-panel { padding:12px; margin-top:20px; } :is(#game-dialog,#school-quiz) .answers-panel .game-options { gap:10px; } }

:is(#game-dialog,#school-quiz) .answer:is(.retry,.selected-wrong) { background:#FAEDDD; border-color:#98632E; }
