/* Complete mint knowledge reference surfaces, scoped exclusively to light mode. */
html[data-mtheme="light"] #mRoot:is([data-mpage="grammar"],[data-mpage="vocab"]){background:linear-gradient(145deg,#d2f6e2,#bdeacf)!important;color:#124d39!important}
html[data-mtheme="light"] #mRoot:is([data-mpage="grammar"],[data-mpage="vocab"]) :is(.m-header,.m-tabbar){background:#d2f2dfed!important;border-color:#94d5ad!important}

html[data-mtheme="light"] #mRoot [data-host="grammar"],
html[data-mtheme="light"] #mRoot [data-host="vocab"],
html[data-mtheme="light"] #mRoot #screenGrammar,
html[data-mtheme="light"] #mRoot #screenVocab{background:transparent!important;color:#124d39!important;--text:#124d39;--text-sub:#4b7964;--accent:#079d6c;--border:#98d8b4}
html[data-mtheme="light"] #mRoot .m-host-wrap[data-host="grammar"] #screenGrammar,
html[data-mtheme="light"] #mRoot .m-host-wrap[data-host="vocab"] #screenVocab{background:transparent!important}
html[data-mtheme="light"] #mRoot #screenGrammar .archive-command,
html[data-mtheme="light"] #mRoot #screenGrammar .neo-card,
html[data-mtheme="light"] #mRoot #screenVocab .archive-command,
html[data-mtheme="light"] #mRoot #screenVocab .archive-pane{background:linear-gradient(135deg,#dcf8e8,#c8efd9)!important;border-color:#94d9b1!important;box-shadow:0 4px 14px #18845714!important}
html[data-mtheme="light"] #mRoot #screenGrammar h1,
html[data-mtheme="light"] #mRoot #screenGrammar h2,
html[data-mtheme="light"] #mRoot #screenGrammar h3,
html[data-mtheme="light"] #mRoot #screenVocab h1,
html[data-mtheme="light"] #mRoot #screenVocab h2,
html[data-mtheme="light"] #mRoot #screenVocab h3,
html[data-mtheme="light"] #mRoot #grammarTitle{color:#103f30!important;text-shadow:none!important}
html[data-mtheme="light"] #mRoot #screenGrammar p,
html[data-mtheme="light"] #mRoot #screenGrammar small,
html[data-mtheme="light"] #mRoot #screenVocab .archive-title p,
html[data-mtheme="light"] #mRoot #screenVocab .archive-selectors small,
html[data-mtheme="light"] #mRoot #screenVocab .collection-meaning,
html[data-mtheme="light"] #mRoot #screenVocab .idiom-literal,
html[data-mtheme="light"] #mRoot #screenVocab .archive-loading{color:#426e58!important}
html[data-mtheme="light"] #mRoot #screenGrammar button,
html[data-mtheme="light"] #mRoot #screenVocab .archive-selectors button,
html[data-mtheme="light"] #mRoot #screenVocab .archive-pages button,
html[data-mtheme="light"] #mRoot #screenVocab .idiom-favorites,
html[data-mtheme="light"] #mRoot #screenVocab .idiom-open,
html[data-mtheme="light"] #mRoot #screenVocab .idiom-audio,
html[data-mtheme="light"] #mRoot #screenVocab .riddle-speak{background:#d7f7e5!important;color:#087953!important;border-color:#81cca5!important;box-shadow:none!important}
html[data-mtheme="light"] #mRoot #screenGrammar button.active,
html[data-mtheme="light"] #mRoot #screenGrammar .archive-system-btn.active,
html[data-mtheme="light"] #mRoot #screenGrammar .archive-level-btn.active,
html[data-mtheme="light"] #mRoot #screenVocab .archive-selectors button.active,
html[data-mtheme="light"] #mRoot #screenVocab .archive-pages button.active{background:linear-gradient(130deg,#40dca1,#079d6c)!important;color:#fff!important;border-color:#78dbb0!important}
html[data-mtheme="light"] #mRoot #screenGrammar .grammar-reference-hero{background:linear-gradient(90deg,#dcf9eaf7,#dcf9eab0 60%,#dcf9ea15),url("../assets/mobile/grammar-mint-cover-v1.webp") center/cover!important;border-color:#7ccea3!important;box-shadow:0 4px 14px #18845718!important}
html[data-mtheme="light"] #mRoot #screenGrammar .grammar-reference-block,
html[data-mtheme="light"] #mRoot #screenGrammar .grammar-example{background:linear-gradient(125deg,#e5faed,#d2f2de)!important;border-color:#9fdab9!important;color:#214e3b!important}
html[data-mtheme="light"] #mRoot #screenGrammar .grammar-reference-block h3 i{background:linear-gradient(135deg,#45dba2,#09a874)!important;border-color:#80d9b0!important;color:white!important;box-shadow:0 2px 7px #1b9f6528!important}
html[data-mtheme="light"] #mRoot #screenGrammar #grammarStructureText{background:#c9efd9!important;border-color:#82cba4!important;color:#17533c!important}
html[data-mtheme="light"] #mRoot #screenGrammar #grammarIdBadge,
html[data-mtheme="light"] #mRoot #screenGrammar #grammarHeroSummary,
html[data-mtheme="light"] #mRoot #screenGrammar .grammar-example b{color:#164f39!important}
html[data-mtheme="light"] #mRoot #screenGrammar .grammar-example span,
html[data-mtheme="light"] #mRoot #screenGrammar .grammar-example p{color:#4a7760!important}
html[data-mtheme="light"] #mRoot #screenGrammar .archive-selectors>div,
html[data-mtheme="light"] #mRoot #screenVocab .archive-selectors>div,
html[data-mtheme="light"] #mRoot #screenVocab .idiom-search,
html[data-mtheme="light"] #mRoot #screenGrammar .grammar-searchbar label{background:#d7f6e3!important;border-color:#93d5af!important}
html[data-mtheme="light"] #mRoot #screenVocab .idiom-search input,
html[data-mtheme="light"] #mRoot #screenGrammar .grammar-searchbar input{color:#164f39!important}
html[data-mtheme="light"] #mRoot #screenVocab[data-archive-section="riddles"] #riddleOverview{background:linear-gradient(90deg,#d1f6e5e8,#d1f6e588 65%,transparent),url("../assets/mobile/riddles-mint-cover-v1.webp") center/cover!important;border-color:#87d3aa!important;box-shadow:0 4px 14px #18845718!important}
html[data-mtheme="light"] #mRoot #screenVocab #riddleOverview p,
html[data-mtheme="light"] #mRoot #screenVocab #riddleOverview>b,
html[data-mtheme="light"] #mRoot #screenVocab #idiomOverview>b{background:#cef2dd!important;color:#167a50!important;border-color:#8fcfa8!important;box-shadow:none!important}
html[data-mtheme="light"] #mRoot #screenVocab .riddle-bulb{background:url("../assets/mobile/riddles-mint-cover-v1.webp") right center/auto 100% no-repeat!important}
html[data-mtheme="light"] #mRoot #screenVocab .riddle-card img.riddle-art{content:url("../assets/mobile/riddles-mint-cover-v1.webp");object-fit:cover!important;object-position:90% center!important}
html[data-mtheme="light"] #mRoot #screenVocab .archive-collection-card,
html[data-mtheme="light"] #mRoot #screenVocab .riddle-card,
html[data-mtheme="light"] #mRoot #screenVocab .idiom-card{background:linear-gradient(125deg,#e0f9e9,#c9efd8)!important;border-color:#91d5ac!important;box-shadow:0 3px 10px #18845712!important}
html[data-mtheme="light"] #mRoot #screenVocab .archive-collection-card .collection-pinyin,
html[data-mtheme="light"] #mRoot #screenVocab .riddle-card .collection-pinyin{color:#09835c!important}
html[data-mtheme="light"] #mRoot #screenVocab .archive-collection-card details,
html[data-mtheme="light"] #mRoot #screenVocab .archive-collection-card details p{color:#315f49!important;border-color:#91d5ac!important}
html[data-mtheme="light"] #mRoot #screenVocab .riddle-card summary{background:#bfead1!important;color:#146d49!important;border-color:#76c89c!important}
html[data-mtheme="light"] #mRoot #screenVocab .collection-star{background:transparent!important;color:#319e6d!important}
html[data-mtheme="light"] #mRoot #screenVocab .collection-star[aria-pressed="true"],
html[data-mtheme="light"] #mRoot #screenVocab .dictionary-favorite.active{color:#b67508!important}
html[data-mtheme="light"] #mRoot #screenVocab #idiomOverview{background:linear-gradient(90deg,#dcf9e9f2,#dcf9e995 60%,transparent),url("../assets/mobile/idioms-mint-cover-v1.webp") center/cover!important;border-color:#91d5ac!important;box-shadow:0 4px 14px #18845718!important}
html[data-mtheme="light"] #mRoot #screenVocab #idiomOverview>img{content:url("../assets/mobile/idioms-mint-cover-v1.webp");object-fit:cover!important;object-position:90% center!important}
html[data-mtheme="light"] #mRoot #screenVocab .dictionary-hanzi{background:linear-gradient(140deg,#c4f5de,#a2e4c1)!important;color:#105137!important;border-color:#7bcca4!important;text-shadow:none!important}
html[data-mtheme="light"] #mRoot #screenVocab .dictionary-pronunciation strong,
html[data-mtheme="light"] #mRoot #screenVocab .dictionary-example>b{color:#124d39!important}
html[data-mtheme="light"] #mRoot #screenVocab .dictionary-meaning,
html[data-mtheme="light"] #mRoot #screenVocab .dictionary-example{color:#4b7964!important;border-color:#8ed0aa!important}
html[data-mtheme="light"] #mRoot #screenVocab .dictionary-level{background:#bcebd0!important;color:#166e49!important;border-color:#88cba3!important}
html[data-mtheme="light"] :is(#archiveStrokeModal,#grammarModal,#vocabModal) .modal-card,
html[data-mtheme="light"] :is(#archiveStrokeModal,#grammarModal,#vocabModal) .modal-header,
html[data-mtheme="light"] :is(#archiveStrokeModal,#grammarModal,#vocabModal) .stroke-character-panel,
html[data-mtheme="light"] :is(#archiveStrokeModal,#grammarModal,#vocabModal) .stroke-info,
html[data-mtheme="light"] :is(#archiveStrokeModal,#grammarModal,#vocabModal) .stroke-example,
html[data-mtheme="light"] :is(#archiveStrokeModal,#grammarModal,#vocabModal) .stroke-order,
html[data-mtheme="light"] :is(#archiveStrokeModal,#grammarModal,#vocabModal) .stroke-step{background:linear-gradient(140deg,#e0f8e9,#c9efd7)!important;color:#164d38!important;border-color:#89cca3!important;box-shadow:0 3px 12px #15845218!important}
html[data-mtheme="light"] :is(#archiveStrokeModal,#grammarModal,#vocabModal) h3,
html[data-mtheme="light"] :is(#archiveStrokeModal,#grammarModal,#vocabModal) p,
html[data-mtheme="light"] :is(#archiveStrokeModal,#grammarModal,#vocabModal) dt,
html[data-mtheme="light"] :is(#archiveStrokeModal,#grammarModal,#vocabModal) dd,
html[data-mtheme="light"] :is(#archiveStrokeModal,#grammarModal,#vocabModal) b,
html[data-mtheme="light"] :is(#archiveStrokeModal,#grammarModal,#vocabModal) small,
html[data-mtheme="light"] :is(#archiveStrokeModal,#grammarModal,#vocabModal) .archive-stroke-status,
html[data-mtheme="light"] :is(#archiveStrokeModal,#grammarModal,#vocabModal) .modal-topic-btn{color:#285c43!important;text-shadow:none!important}
html[data-mtheme="light"] :is(#archiveStrokeModal,#grammarModal,#vocabModal) button,
html[data-mtheme="light"] :is(#archiveStrokeModal,#grammarModal,#vocabModal) .stroke-step span,
html[data-mtheme="light"] :is(#archiveStrokeModal,#grammarModal,#vocabModal) .modal-search-input{background:#c9efd8!important;color:#126c47!important;border-color:#78c89a!important;box-shadow:none!important}
html[data-mtheme="light"] :is(#archiveStrokeModal,#grammarModal,#vocabModal) .stroke-character-tabs button.active,
html[data-mtheme="light"] :is(#archiveStrokeModal,#grammarModal,#vocabModal) .stroke-step.active,
html[data-mtheme="light"] :is(#archiveStrokeModal,#grammarModal,#vocabModal) .archive-stroke-actions button:first-child{background:linear-gradient(130deg,#4ada9c,#10aa70)!important;color:white!important}
html[data-mtheme="light"] :is(#archiveStrokeModal,#grammarModal,#vocabModal) .stroke-steps,
html[data-mtheme="light"] :is(#archiveStrokeModal,#grammarModal,#vocabModal) .archive-stroke-writers{scrollbar-color:#4cb987 #d1f0dd!important}
html[data-mtheme="light"] #mRoot #screenVocab :is(.collection-meaning b,.idiom-literal b,#idiomOverview p){color:#315f49!important}
html[data-mtheme="light"] #mRoot #screenVocab :is(#archiveWordCounts,.dictionary-count-grid button){background:#d1f3df!important;border-color:#92d3af!important;color:#275e44!important}
html[data-mtheme="light"] #mRoot #screenVocab :is(#archiveWordCounts h3,.dictionary-count-grid button b){color:#16784f!important}
html[data-mtheme="light"] #mRoot #screenVocab .knowledge-aimi-portrait{content:url('../assets/mobile/aimi-peace-mint-v2.webp')}
html[data-mtheme="light"] :is(#grammarModal,#vocabModal) .modal-topic-btn{background:#d2f2df!important;border-color:#93d2ac!important}
html[data-mtheme="light"] #archiveStrokeModal :is(path[fill="#e2eaff" i],path[fill="#b8edff" i]){fill:#155c3e!important}
html[data-mtheme="light"] #archiveStrokeModal path[fill="#29496d" i]{fill:#8fbd9f!important}
html[data-mtheme="light"] #archiveStrokeModal :is(.stroke-info dl>div,.stroke-character-panel footer){border-color:#8bc6a3!important}
html[data-mtheme="light"] #archiveStrokeModal .archive-stroke-close{background:#d1f2dd!important;color:#145939!important;box-shadow:none!important}
/* Keep the original header size; replace only its night illustration and palette. */
html[data-mobile][data-mtheme="light"] #mRoot[data-mpage="vocab"] #screenVocab .archive-title{
 background:linear-gradient(90deg,#cff4e2f5,#cff4e2ae 62%,#cff4e220),url('../assets/mobile/grammar-mint-cover-v1.webp') center/cover!important;
 border-color:#87cfa7!important;box-shadow:0 3px 12px #2588521c!important;
}
html[data-mobile][data-mtheme="light"] #mRoot[data-mpage="vocab"] #screenVocab .archive-title h1{color:#124b35!important;text-shadow:none!important}
html[data-mobile][data-mtheme="light"] #mRoot[data-mpage="vocab"] #screenVocab .archive-title p{color:#426d56!important;text-shadow:none!important}
html[data-mobile][data-mtheme="light"] #mRoot[data-mpage="vocab"] #screenVocab .archive-title .knowledge-aimi-portrait{content:url('../assets/mobile/aimi-peace-mint-v2.webp')!important;filter:none!important}
html[data-mobile][data-mtheme="light"] #mRoot:is([data-mpage="grammar"],[data-mpage="vocab"]) .m-host-wrap:is([data-host="grammar"],[data-host="vocab"]){background:linear-gradient(145deg,#d2f6e2,#bdeacf)!important;scrollbar-color:#4cba86 #cfefdd!important}
html[data-mobile][data-mtheme="light"] #mRoot:is([data-mpage="grammar"],[data-mpage="vocab"]) .m-theme-quick{background:#d8f7e5!important;border-color:#8bd3ab!important;color:#14684a!important;box-shadow:none!important}
