.kq-color-toggle{min-height:44px;padding:10px 14px!important;border:1px solid #8b9eb2!important;border-radius:10px!important;background:#fff!important;color:#152c45!important;font:600 14px/1.3 system-ui!important;white-space:nowrap;cursor:pointer}.kq-color-floating{position:fixed;top:8px;right:12px;z-index:30}.kq-color-toggle:focus-visible{outline:3px solid #d5a73d;outline-offset:3px}
html[data-color-mode] body.kingdom-studio #gameScreen :is(.game-toolbar,.game-toolbar h1,.game-toolbar .eyebrow,.progress-wrap){color:#edf3fa!important}
html[data-color-mode] body.kingdom-studio #gameScreen button{background:#203b56!important;color:#fff!important;border-color:#a2b5c9!important}
html[data-color-mode] body.kingdom-studio #rulesButton{background:#203b56!important;color:#fff!important}
html[data-color-mode] body.kingdom-studio #gameScreen .score-card,html[data-color-mode] body.kingdom-studio #gameScreen .score-card *{color:#20384d!important}
html[data-color-mode] body.kingdom-studio #gameScreen button:disabled{opacity:.65!important}
html[data-color-mode='light'],html[data-color-mode='light'] body.quest-home,html[data-color-mode='light'] body.quest-unified.kingdom-studio{background:#faf9f3!important;color:#254638!important}
html[data-color-mode='light'] :is(.qh-welcome h1,.qh-brand,.qh-nav nav,.qh-saved,.qh-footer),html[data-color-mode='light'] body.kingdom-studio :is(.brand,.setup-copy h1,.platform-tools a,.platform-tools button){color:#172e46!important}
html[data-color-mode='light'] :is(.qh-welcome>p,.qh-brand small,.qh-saved p,.qh-eyebrow){color:#455e75!important}
html[data-color-mode='light'] .qh-welcome h1 em{color:#8b620d!important}
html[data-color-mode='light'] :is(.qh-nav,.qh-footer,.qh-saved-links a){border-color:#b7c6d4!important}
html[data-color-mode='light'] body.kingdom-studio #gameScreen :is(.game-toolbar,.game-toolbar h1,.game-toolbar .eyebrow,.progress-wrap){color:#172e46!important}
html[data-color-mode] body.kingdom-studio #gameScreen .board-play-tools{background:#203b56!important;color:#fff!important}
html[data-color-mode] body.kingdom-studio #gameScreen .mode-guide,html[data-color-mode] body.kingdom-studio #gameScreen .mode-guide *{color:#edf3fa!important}
html[data-color-mode='light'] body.kingdom-studio .brand small{color:#455e75!important}
html[data-color-mode='light'] body.quest-unified #studyDialog .word-card{background:#fff!important;color:#243b50!important}
html[data-color-mode='light'] body.quest-unified #studyDialog .word-card :is(.easy-name,.easy-name strong,.original,.strong-number,h3,p,small,summary){color:#243b50!important;opacity:1!important}
html[data-color-mode='light'] body.quest-unified #studyDialog .word-card .match-kind{background:#d3f2e5!important;color:#15513c!important}
html[data-color-mode='light'] body.quest-unified #studyDialog .word-card .verse-morph{background:#edf6f3!important;color:#243b50!important}
/* C08E: embedded Scripture/Lab surfaces are themed by kingdom-experiences.css.
   Removed blanket navy/near-white descendant overrides that conflicted with light stages. */
