.theme-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid #c8d6ed;border-radius:12px;background:#fff;color:#23346b;font:inherit;font-size:.875rem;font-weight:700;white-space:nowrap;cursor:pointer;flex-shrink:0}.theme-toggle:focus-visible{outline:3px solid #8050c5;outline-offset:3px}
html[data-theme=dark]{color-scheme:dark;--ink:#edf2ff;--teal:#92dbc9;--paper:#11182c;--muted:#bec9e1;--play-ink:#edf2ff;--play-primary:#b5a0ff;--background:#11182c;--foreground:#edf2ff;--card:#202d46;--card-foreground:#edf2ff;--popover:#202d46;--popover-foreground:#edf2ff;--primary:#b5a0ff;--primary-foreground:#17213a;--secondary:#303f60;--secondary-foreground:#edf2ff;--muted-foreground:#bec9e1;--border:#52617e;--input:#52617e;--ring:#b5a0ff;--accent:#303f60;--accent-foreground:#edf2ff}
html[data-theme=dark] body{background:radial-gradient(ellipse at 0% 15%,#17334a 0,transparent 38%),radial-gradient(ellipse at 100% 40%,#342342 0,transparent 35%),#11182c;color:#edf2ff}
html[data-theme=dark] :is(header nav a,h1,h2,h3,.card-title,.game-label,.footer-brand,.chart-title){color:#edf2ff}
html[data-theme=dark] :is(.welcome,.friends-banner,.learning-friends,.account-plan){background:linear-gradient(115deg,#19384a,#34294b 70%,#44283e);border-color:#52617e;box-shadow:0 6px 0 #0b1222}
html[data-theme=dark] :is(.activity-card,.chart-card,.chart-sheet,.chart-board,.chart-panel,.learning-panel,.lesson-card,.learn-strip,.learn-banner,.parents,.parents-section,.coloring-book-card,.studio-controls,.paint-tools,.feedback-section,.feedback-card,.feedback-form,.account-panel,.kid-card,.manage-panel,.book,.empty-panel,.manage-note,.code-panel,.family-plan-grid article){background:#202d46;color:#edf2ff;border-color:#52617e;box-shadow:0 5px 0 #0b122266}
html[data-theme=dark] :is(.activity-card.counting,.coloring-book-card:nth-child(1),.family-plan-grid article:first-child){background:#403622}
html[data-theme=dark] :is(.activity-card.colors,.coloring-book-card:nth-child(3)){background:#203e58}
html[data-theme=dark] :is(.activity-card.shapes,.coloring-book-card:nth-child(2),.family-plan-grid article:last-child){background:#352a50}
html[data-theme=dark] :is(.activity-card.animals,.activity-card.fruits){background:#482e38}
html[data-theme=dark] :is(p,.eyebrow,.small-note,.card-copy,.category,.shop-intro,.shop-note,.purchase-note,.field-note,.account-note,.feedback-note,.difficulty-note,.studio-status,.welcome p,.welcome .eyebrow,.book p,.listing-row p,.app-download-note){color:#c4cfe5}
html[data-theme=dark] :is(h1 span,.welcome h1 span,.shop-page h1 span,.manager-page h1 span){color:#bca5ff}
html[data-theme=dark] :is(.theme-toggle,.motion-toggle,.card-tag,.card-action,.game-filter,.chart-topic,.chart-tabs button,.chart-topics button,.speak-button,.answer,.level-button,.round-button,.close-button,.account-secondary,.drawing-page-gallery button,.avatar-picker span,.feedback-section summary,.learn-button){background:#303f60;color:#edf2ff;border-color:#647493}
html[data-theme=dark] :is(input:not([type=color]),textarea,select){background:#18243a;color:#edf2ff;border-color:#647493}
html[data-theme=dark] :is(.hero-button,.shop-button,.account-button:not(.account-secondary),.next-button,.feedback-submit){background:#7959c9;color:white}
html[data-theme=dark] :is(.hero-button.outline){background:#ffcf39;color:#30213a}
html[data-theme=dark] dialog{background:#18243a;color:#edf2ff;border-color:#52617e}html[data-theme=dark] dialog::backdrop{background:#060b18b8}
html[data-theme=dark] :is(.question-art,.lesson-art,.drawing-area){background:#fff;color:#23346b;border-radius:18px}
html[data-theme=dark] :is(.answers .answer.correct,.answer.right){background:#205443;color:#d0ffec}html[data-theme=dark] .feedback{color:#e6dcff}
html[data-theme=dark] :is(.account-error,.code-panel code){background:#303f60;color:#fff}html[data-theme=dark] a:focus-visible,html[data-theme=dark] button:focus-visible{outline-color:#d0beff}
@media(max-width:760px){header .theme-toggle{font-size:.875rem;padding:9px 11px}.site-header{gap:12px}.site-language{margin-left:0}}
html[data-theme=dark] :is(.learning-chart,.chart-item,.learn-first,.learn-first-buttons button,.parent-strip,.friends-ribbon,.learning-link,.setup-buttons button,.level-buttons button,.round-buttons button){background:#202d46;color:#edf2ff;border-color:#52617e;box-shadow:0 4px 0 #0b122266}
html[data-theme=dark] :is(.chart-hindi,.chart-footer-note,.chart-help,.question-tools,.setup-label,.lesson-word,.learn-first-buttons p){color:#c4cfe5}
html[data-theme=dark] :is(.chart-item.active,.chart-topics button.selected,.level-buttons button.selected,.round-buttons button.selected){background:#54418b;color:#fff;border-color:#baa6ff}
html[data-theme=dark] :is(.start-round,.play-again){background:#7959c9;color:#fff}
html[data-theme=dark] .chart-tools button{color:#edf2ff;background:#303f60;border-color:#647493}
html[data-theme=dark] .drawing-area p{color:#23346b}
html[data-theme=dark] #mm-preview-lock section{background:linear-gradient(140deg,#26334d,#352a50);border-color:#647493;color:#edf2ff}html[data-theme=dark] #mm-preview-lock h2{color:#edf2ff}
