.topbar-controls{display:flex;align-items:center;gap:18px}
.theme-toggle{min-height:38px;padding:7px 12px;border:1px solid #d2dfd4;border-radius:9px;background:#fff;color:#315d45;font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer}
.theme-toggle:hover{background:#edf5ed;border-color:#94bba0}
@media(max-width:620px){.topbar-controls{gap:0}.theme-toggle{min-height:36px;padding:6px 8px;font-size:11px}}
@media(max-width:620px){.sidebar nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px 4px}.nav-link{min-width:0;margin:0;white-space:nowrap}.nav-icon{width:15px;flex:none}}
@media(max-width:420px){.topbar .breadcrumb{display:none}.topbar{gap:8px}.hub-return-link{font-size:11px}}

html[data-theme="dark"]{background:#101a1c;color:#e9f2ec}
html[data-theme="dark"] body{background:#101a1c;color:#e9f2ec}
html[data-theme="dark"] .sidebar{background:#0b1718;color:#ecf7ef}
html[data-theme="dark"] .nav-link{color:#bed0c7}
html[data-theme="dark"] .nav-link:hover,html[data-theme="dark"] .nav-link.active{background:#28483e;color:#fff}
html[data-theme="dark"] .sidebar-bottom{border-color:#334941;color:#bcd0c3}
html[data-theme="dark"] .topbar{background:#142123;border-color:#344b46;color:#b8cbc1}
html[data-theme="dark"] .hub-return-link{color:#a7e4bd}
html[data-theme="dark"] .breadcrumb span{color:#789087}
html[data-theme="dark"] .theme-toggle{background:#233632;border-color:#527061;color:#e7f7e9}
html[data-theme="dark"] .theme-toggle:hover{background:#345246;border-color:#91c5a4}
html[data-theme="dark"] .hero{background:#20392f}
html[data-theme="dark"] .hero-art:before{background:#29463b}
html[data-theme="dark"] .hero h1,html[data-theme="dark"] .section-title h2,html[data-theme="dark"] .game-details h3{color:#f4f8f2}
html[data-theme="dark"] .hero h1 em{color:#9cdeb7}
html[data-theme="dark"] .hero p,html[data-theme="dark"] .home-foot,html[data-theme="dark"] .home-foot p{color:#c0d4c5}
html[data-theme="dark"] .eyebrow{color:#a2d8b4}
html[data-theme="dark"] .art-grid{background:#293f36;box-shadow:18px 22px 0 #142820,0 20px 50px #0006}
html[data-theme="dark"] .art-cell{border-color:#456052;color:#e9f8ec}
html[data-theme="dark"] .art-cell:nth-child(5n+1){background:#355744}
html[data-theme="dark"] .art-cell:nth-child(5n+4){background:#5d5137}
html[data-theme="dark"] .art-cell:nth-child(7n+3){background:#2d5552}
html[data-theme="dark"] .art-note,html[data-theme="dark"] .section-count{color:#adccba}
html[data-theme="dark"] .game-card,html[data-theme="dark"] .puzzle-panel,html[data-theme="dark"] .tool-panel,html[data-theme="dark"] .bottom-actions{background:#1b2a29;border-color:#38514b;color:#e8f2eb;box-shadow:0 8px 28px #0002}
html[data-theme="dark"] .game-card:hover{box-shadow:0 16px 40px #0005;border-color:#638671}
html[data-theme="dark"] .game-symbol{background:#253d35}
html[data-theme="dark"] .codebreak-symbol span:nth-child(2),html[data-theme="dark"] .codebreak-symbol span:nth-child(3){color:#10222a}
html[data-theme="dark"] .game-details h3 small,html[data-theme="dark"] .game-details p,html[data-theme="dark"] .game-number,html[data-theme="dark"] .card-arrow{color:#b7cfc0}
html[data-theme="dark"] .game-meta span{background:#2d443a;color:#cbe7d1}
html[data-theme="dark"] .pill.live{background:#28513e;color:#c5f4d3}
html[data-theme="dark"] .home-foot>div{border-color:#3c554a}
html[data-theme="dark"] .home-foot strong{color:#e8f2e9}
html[data-theme="dark"] .game-heading h1,html[data-theme="dark"] .panel-top h2,html[data-theme="dark"] .panel-label h2,html[data-theme="dark"] .bottom-actions strong{color:#f1f7f2}
html[data-theme="dark"] .game-heading h1 span,html[data-theme="dark"] .game-heading p,html[data-theme="dark"] .board-instruction{color:#b5cabe}
html[data-theme="dark"] .heading-badge{background:#213530;border-color:#466057}
html[data-theme="dark"] .heading-badge span,html[data-theme="dark"] .progress small,html[data-theme="dark"] .progress strong span{color:#adc3b6}
html[data-theme="dark"] .heading-badge .quiet,html[data-theme="dark"] .heading-badge .good,html[data-theme="dark"] .progress strong{color:#a5e5bc}
html[data-theme="dark"] .heading-badge .bad{color:#ffad99}
html[data-theme="dark"] .board-tools .icon-button{background:#283d38;border-color:#506d61;color:#d4ead9}
html[data-theme="dark"] .board-tools .icon-button:hover:not(:disabled){background:#355648;border-color:#85ba94}
html[data-theme="dark"] .instruction-mark{border-color:#82a594;color:#c5e5d1}
html[data-theme="dark"] .notice{background:#263a32;color:#d3e8d7}
html[data-theme="dark"] .notice.good{background:#234335;color:#b9efcb}
html[data-theme="dark"] .notice.bad{background:#4a2d2a;color:#ffd2c7}
html[data-theme="dark"] .field-label,html[data-theme="dark"] .form-row label,html[data-theme="dark"] .hint-placeholder,html[data-theme="dark"] .hint-placeholder p,html[data-theme="dark"] .hint-content p,html[data-theme="dark"] .meta-line,html[data-theme="dark"] .puzzle-id{color:#b8cdbf}
html[data-theme="dark"] .hint-placeholder strong,html[data-theme="dark"] .hint-content h3{color:#eff8ef}
html[data-theme="dark"] .hint-content p strong,html[data-theme="dark"] .meta-line strong,html[data-theme="dark"] .puzzle-id code{color:#afe8bc}
html[data-theme="dark"] .hint-icon,html[data-theme="dark"] .card-arrow{color:#a7dfb5}
html[data-theme="dark"] .hint-tier{background:#2b4b3a;color:#c0efc8}
html[data-theme="dark"] .hint-premises{background:#23382f;border-color:#405e4b}
html[data-theme="dark"] .hint-premises>strong,html[data-theme="dark"] .hint-premises li,html[data-theme="dark"] .hint-premises p{color:#c6dec9}
html[data-theme="dark"] .area-hint-reason,html[data-theme="dark"] .area-hint-proof{color:#c0d8c5;border-color:#405a49}
html[data-theme="dark"] .meta-line{border-color:#3a5144}
html[data-theme="dark"] .tool-panel input,html[data-theme="dark"] .tool-panel select,html[data-theme="dark"] .import-dialog input,html[data-theme="dark"] .import-dialog textarea{background:#11201e;border-color:#4b6959;color:#e8f5eb}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#9bb2a3}
html[data-theme="dark"] select{color-scheme:dark}
html[data-theme="dark"] select option{background:#11201e;color:#e8f5eb}
.pipes-page.source-mode .tool-panel select{color-scheme:dark}
.pipes-page.source-mode .tool-panel select option{background:#14222a;color:#e3eeeb}
html[data-theme="dark"] .button.primary{background:#80cca0;color:#102a1b}
html[data-theme="dark"] .button.primary:hover{background:#a0e1b5}
html[data-theme="dark"] .button.secondary,html[data-theme="dark"] .button.subtle{background:#293f37;border-color:#547461;color:#e0f2e5}
html[data-theme="dark"] .button.secondary:hover,html[data-theme="dark"] .button.subtle:hover{background:#355447}
html[data-theme="dark"] dialog{background:#1b2a29;color:#e9f3eb}
html[data-theme="dark"] .import-dialog p{color:#bbd0c1}
html[data-theme="dark"] .divider span{background:#1b2a29}
html[data-theme="dark"] .divider:before{background:#425b4a}
html[data-theme="dark"] .dialog-error{color:#ffad98!important}
html[data-theme="dark"] .codebreak-image-review{background:#20332d;border-color:#496252}
html[data-theme="dark"] .codebreak-image-row{background:#1b2a29;border-color:#496252}
html[data-theme="dark"] .codebreak-image-row>strong,html[data-theme="dark"] .codebreak-image-row label,html[data-theme="dark"] .codebreak-import-legend{color:#c2d8c8}
html[data-theme="dark"] .codebreak-image-review select{background:#11201e;border-color:#4b6959;color:#e8f5eb;color-scheme:dark}
html[data-theme="dark"] .codebreak-image-review select option{background:#11201e;color:#e8f5eb}
html[data-theme="dark"] .codebreak-image-result{color:#a8e5ba!important}
html[data-theme="dark"] .codebreak-image-result.bad{color:#ffad98!important}
html[data-theme="dark"] .sets-external-review{background:#202941;border-color:#4b597e}html[data-theme="dark"] .sets-external-card{background:#28344f;border-color:#556181}html[data-theme="dark"] .sets-external-card>strong{color:#dbe4ff}html[data-theme="dark"] .sets-external-card label{color:#bac8e6}html[data-theme="dark"] .sets-external-card select{background:#172238;border-color:#607097;color:#f0f3ff;color-scheme:dark}html[data-theme="dark"] .sets-external-card select option{background:#172238;color:#f0f3ff}html[data-theme="dark"] .sets-external-analysis{background:#303d61;color:#e4ebff}html[data-theme="dark"] .sets-external-warning{color:#e8c4ef!important}
html[data-theme="dark"] .puzzle-id{color:#a9c1b0}
html[data-theme="dark"] .seed-help{color:#b4cec0}

/* Keep solved regions vivid while making undecided Shikaku cells comfortable at night. */
html[data-theme="dark"] .board-frame{background:#253a32}
html[data-theme="dark"] .board{background:#3c5748;border-color:#537461}
html[data-theme="dark"] .cell:not(.filled){background:#1d302a;border-color:#354e42;color:#f1f6e9}
html[data-theme="dark"] .cell.hint-cell:not(.filled){background:#584b29;box-shadow:inset 0 0 0 3px #f1c878}
html[data-theme="dark"] .clue-item{background:#22372d;border-color:#415d48;color:#e5f0e8}
html[data-theme="dark"] .clue-item:hover,html[data-theme="dark"] .clue-item.selected{background:#315340;border-color:#8cca9c}
html[data-theme="dark"] .clue-value,html[data-theme="dark"] .clue-location{color:#d2ebd6}
html[data-theme="dark"] .drag-outline.neutral{--fill:#315a44;--stroke:#9cdeb0}

/* Colored Mambo states keep their existing numeric contrast. */
html[data-theme="dark"] .mambo-board-wrap{background:#2b4140}
html[data-theme="dark"] .mambo-cell.empty{background:#1b3031;border-color:#486667;color:#e8f3ef}
html[data-theme="dark"] .mambo-cell.empty.editable:hover{background:#294b49;border-color:#83c3b7}
html[data-theme="dark"] .mambo-trial-bar,html[data-theme="dark"] .mambo-legend,html[data-theme="dark"] .mambo-touch-entry{color:#bbd2c7}
html[data-theme="dark"] .mambo-trial-status{background:#45375d;color:#eddcff}
html[data-theme="dark"] .mambo-hint-steps{color:#b8cdbf}html[data-theme="dark"] .mambo-hint-candidates{background:#20342e}html[data-theme="dark"] .mambo-hint-candidates summary,html[data-theme="dark"] .mambo-hint-proof{color:#a9c8b3!important}html[data-theme="dark"] .mambo-hint-candidates code{color:#e0f2e6}html[data-theme="dark"] .mambo-hint-proof{border-color:#3b5347}
html[data-theme="dark"] .mambo-hint-progress{color:#a5c8b3}html[data-theme="dark"] .mambo-hint-dismiss{color:#b7d0c1}html[data-theme="dark"] .mambo-cell.empty.hint-assumption{background:#51422c;color:#f2d8a6}html[data-theme="dark"] .mambo-cell.empty.hint-conflict{background:#542f37;color:#ffd8d8}html[data-theme="dark"] .mambo-cell.empty.hint-target{background:#28475d;color:#cce7ff}
html[data-theme="dark"] .mambo-touch-entry button{background:#243f3c;border-color:#668c82;color:#e1f2ed}
html[data-theme="dark"] .mambo-touch-entry button.selected{background:#80cca0;color:#102a1b}

html[data-theme="dark"] .codebreak-counter,html[data-theme="dark"] .codebreak-index,html[data-theme="dark"] .codebreak-feedback,html[data-theme="dark"] .codebreak-empty{color:#bfd1c3}
html[data-theme="dark"] .codebreak-row,html[data-theme="dark"] .codebreak-palette,html[data-theme="dark"] .codebreak-manual-entry{background:#223832;border-color:#426052}
html[data-theme="dark"] .codebreak-feedback b{color:#b3efc6}
html[data-theme="dark"] .codebreak-slot.empty{background:#21362f;border-color:#668675;color:#b8d2c1}
html[data-theme="dark"] .codebreak-peg.color-0,html[data-theme="dark"] .codebreak-slot.color-0{background:#b54442;color:#fff}
html[data-theme="dark"] .codebreak-peg:is(.color-1,.color-2,.color-4,.color-5,.color-7),html[data-theme="dark"] .codebreak-slot:is(.color-1,.color-2,.color-4,.color-5,.color-7){color:#0b1a22}
html[data-theme="dark"] .codebreak-manual-entry p,html[data-theme="dark"] .codebreak-manual-entry label,html[data-theme="dark"] .codebreak-reason p{color:#c2d7c8}
html[data-theme="dark"] .codebreak-manual-entry input{background:#12221e;border-color:#5f7b69;color:#ebf6ec}
html[data-theme="dark"] .codebreak-proof{background:#284034;border-color:#8bcaa2;color:#d7ecdd}
html[data-theme="dark"] .codebreak-proof strong{color:#aee7bb}

/* Pipes' source board is already dark; the simple profile uses the same shell. */
html[data-theme="dark"] .pipes-board-wrap{background:#263d3b}
html[data-theme="dark"] .pipes-cell:not(.source):not(.terminal){background:#203733;border-color:#557c6f;color:#b6e6c7}
html[data-theme="dark"] .pipes-cell.committed{background:#305746;border-color:#82b894;color:#ddf5e3}
html[data-theme="dark"] .pipes-profile-note,html[data-theme="dark"] .pipes-seed-help{color:#b4cec0}
html[data-theme="dark"] .pipes-page .pipes-difficulty-help{color:#b4cec0}
html[data-theme="dark"] .pipes-profile-note small{color:#a8bfb3}
html[data-theme="dark"] .pipes-page.source-mode .pipes-cell{background:transparent;border:0}

html[data-theme="dark"] .pipes-page.source-mode{background:transparent;color:#e9f2ec}
html[data-theme="dark"] .pipes-page.source-mode .eyebrow{color:#a2d8b4}
html[data-theme="dark"] .pipes-page.source-mode .game-heading h1,html[data-theme="dark"] .pipes-page.source-mode .panel-top h2,html[data-theme="dark"] .pipes-page.source-mode .panel-label h2,html[data-theme="dark"] .pipes-page.source-mode .bottom-actions strong{color:#f4f8f2}
html[data-theme="dark"] .pipes-page.source-mode .game-heading h1 span,html[data-theme="dark"] .pipes-page.source-mode .game-heading p{color:#bbd0c1}
html[data-theme="dark"] .pipes-page.source-mode .heading-badge,html[data-theme="dark"] .pipes-page.source-mode .puzzle-panel,html[data-theme="dark"] .pipes-page.source-mode .tool-panel,html[data-theme="dark"] .pipes-page.source-mode .bottom-actions{background:#1b2a29;border-color:#38514b;color:#e8f2eb;box-shadow:0 8px 28px #0002}
html[data-theme="dark"] .pipes-page.source-mode .heading-badge span,html[data-theme="dark"] .pipes-page.source-mode .progress strong span,html[data-theme="dark"] .pipes-page.source-mode .progress small{color:#b0c5b6}
html[data-theme="dark"] .pipes-page.source-mode .heading-badge .quiet,html[data-theme="dark"] .pipes-page.source-mode .heading-badge .good,html[data-theme="dark"] .pipes-page.source-mode .progress strong{color:#9bd9b2}
html[data-theme="dark"] .pipes-page.source-mode .board-tools .icon-button{background:#263d35;border-color:#51705d;color:#c8ead2}
html[data-theme="dark"] .pipes-page.source-mode .pipes-legend,html[data-theme="dark"] .pipes-page.source-mode .board-instruction,html[data-theme="dark"] .pipes-page.source-mode .field-label,html[data-theme="dark"] .pipes-page.source-mode .form-row label,html[data-theme="dark"] .pipes-page.source-mode .pipes-profile-note,html[data-theme="dark"] .pipes-page.source-mode .meta-line,html[data-theme="dark"] .pipes-page.source-mode .hint-placeholder,html[data-theme="dark"] .pipes-page.source-mode .hint-content p{color:#b8cebD}
html[data-theme="dark"] .pipes-page.source-mode .pipes-profile-note small,html[data-theme="dark"] .pipes-page.source-mode .puzzle-id,html[data-theme="dark"] .pipes-page.source-mode .puzzle-id code{color:#a6c0ad}
html[data-theme="dark"] .pipes-page.source-mode .hint-placeholder strong{color:#e2f0e6}
html[data-theme="dark"] .pipes-page.source-mode .tool-panel input,html[data-theme="dark"] .pipes-page.source-mode .tool-panel select{background:#20372e;border-color:#456751;color:#ecf6ef}
html[data-theme="dark"] .pipes-page.source-mode .button.primary{background:#8cd7ad;color:#153527}
html[data-theme="dark"] .pipes-page.source-mode .button.secondary,html[data-theme="dark"] .pipes-page.source-mode .button.subtle{background:#263d35;border-color:#51705d;color:#d9f0df}
html[data-theme="dark"] .pipes-page.source-mode .button.primary{background:#75c8b2;color:#113a36}

/* Color Sweeper uses blue, orange, green and purple as puzzle information. */
html[data-theme="dark"] .color-board-wrap{background:#2b4240}
html[data-theme="dark"] .color-cell:not(.color-0):not(.color-1):not(.color-2):not(.color-3){background:#1c3132;border-color:#506c69;color:#e9f5ef}
html[data-theme="dark"] .color-palette .swatch{background:#263b39;border-color:#567269;color:#e5f0ea}
html[data-theme="dark"] .color-palette .swatch.selected{background:#355b50;border-color:#9cd8bd}
html[data-theme="dark"] .color-trial-bar,html[data-theme="dark"] .color-difficulty-help,html[data-theme="dark"] .color-hint-steps,html[data-theme="dark"] .color-hint-proof{color:#bfd4c8!important}
html[data-theme="dark"] .color-trial-status{background:#45375d;color:#edddff}
html[data-theme="dark"] .atoms-symbol{background:#284039}
html[data-theme="dark"] .atoms-symbol span:first-child,html[data-theme="dark"] .atoms-symbol span:last-child{background:#537e62;color:#e9f6e9}
html[data-theme="dark"] .atoms-board-wrap{background:#253d35}
html[data-theme="dark"] .atoms-node{background:#1a3029;border-color:#709d80;color:#e5f4e8}
html[data-theme="dark"] .atoms-node small{color:#afcbb8}
html[data-theme="dark"] .atoms-node.satisfied{background:#275a41;border-color:#7bd59a}
html[data-theme="dark"] .atoms-node.exceeded{background:#633b35;border-color:#e3917d;color:#ffe9e1}
html[data-theme="dark"] .atoms-edge.undecided::before{background:#759889}
html[data-theme="dark"] .atoms-edge.linked::before{background:#88d9a5;box-shadow:0 0 0 2px #173f2c}
html[data-theme="dark"] .atoms-edge{color:#f3a894}
html[data-theme="dark"] .atoms-board{background-color:#1b3029;background-image:linear-gradient(to right,#54726355 1px,transparent 1px),linear-gradient(to bottom,#54726355 1px,transparent 1px);border-color:#496454}
html[data-theme="dark"] .atoms-node{background:#20392c;border-color:#8caf91;color:#e9f5eb}
html[data-theme="dark"] .atoms-node.satisfied{background:#dce9dd;border-color:#dce9dd;color:#203527}
html[data-theme="dark"] .atoms-node.exceeded{background:#422f33;border-color:#f08d9a;color:#fff;box-shadow:0 0 0 3px #f08d9a}
html[data-theme="dark"] .atoms-edge.undecided::before{background:#6a8b76}
html[data-theme="dark"] .atoms-edge.single::before,html[data-theme="dark"] .atoms-edge.double::before,html[data-theme="dark"] .atoms-edge.double::after{background:#dce9dd;box-shadow:none}
html[data-theme="dark"] .atoms-page .atoms-board{background-image:linear-gradient(to right,#54726344 1px,transparent 1px),linear-gradient(to bottom,#54726344 1px,transparent 1px)}
html[data-theme="dark"] .atoms-page .atoms-edge{--atoms-bridge:#aff0bd;--atoms-bridge-outline:#183429}
html[data-theme="dark"] .atoms-page .atoms-edge.single::before,html[data-theme="dark"] .atoms-page .atoms-edge.double::before,html[data-theme="dark"] .atoms-page .atoms-edge.double::after{background:var(--atoms-bridge);box-shadow:0 0 0 1px var(--atoms-bridge-outline)}
html[data-theme="dark"] .mosaic-board-wrap{background:#253d35}
html[data-theme="dark"] .lits-board-wrap{--lits-grid-line:#496555;--lits-region-line:#e2d7a6;background:#293f35}
html[data-theme="dark"] .lits-cell{background:#263a31;color:#a9b8a7}
html[data-theme="dark"] .lits-cell:hover{background:#355042}
html[data-theme="dark"] .lits-cell.shaded,html[data-theme="dark"] .lits-cell.shaded:hover{background:#8ad2a4;color:#173726}
html[data-theme="dark"] .lits-cell.empty{background:#263a31}
html[data-theme="dark"] .lits-size-note{color:#aabfb0}
html[data-theme="dark"] .lits-cell{background:var(--lits-region-bg);color:#b6c7bd}
html[data-theme="dark"] .lits-cell:hover,html[data-theme="dark"] .lits-cell.empty{background:var(--lits-region-bg)}
html[data-theme="dark"] .lits-cell.shaded,html[data-theme="dark"] .lits-cell.shaded:hover{background:var(--lits-shade);color:#142922}
html[data-theme="dark"] .lits-tone-0{--lits-region-bg:#203b37;--lits-shade:#68ceb6}
html[data-theme="dark"] .lits-tone-1{--lits-region-bg:#3c3425;--lits-shade:#e8bc70}
html[data-theme="dark"] .lits-tone-2{--lits-region-bg:#302c43;--lits-shade:#ba9beb}
html[data-theme="dark"] .lits-tone-3{--lits-region-bg:#3d2c2d;--lits-shade:#ed978d}
html[data-theme="dark"] .lits-tone-4{--lits-region-bg:#233649;--lits-shade:#8dbcf4}
html[data-theme="dark"] .lits-tone-5{--lits-region-bg:#303b28;--lits-shade:#bbd774}
html[data-theme="dark"] .lits-cell.violation{box-shadow:inset 0 0 0 3px #ff8b7d,inset 0 0 0 5px #422c2b}
html[data-theme="dark"] .lits-cell.violation::after{background:#a82326;border-color:#fff3ef;color:#fff}
html[data-theme="dark"] .sets-home-symbol{background:#2c3150}
html[data-theme="dark"] .sets-table-stats,html[data-theme="dark"] .sets-board-actions span{color:#a9b3d1}html[data-theme="dark"] .sets-table-stats b{color:#eef1ff}
html[data-theme="dark"] .sets-card{background:#2a3045;border-color:#55607e;box-shadow:0 3px 0 #171c2e}html[data-theme="dark"] .sets-card:hover{border-color:#97a9d9}html[data-theme="dark"] .sets-card.selected{border-color:#a4b7ff;box-shadow:0 0 0 3px #5669af}
html[data-theme="dark"] .sets-color-0{color:#f17e91}html[data-theme="dark"] .sets-color-1{color:#f1c56a}html[data-theme="dark"] .sets-color-2{color:#83b5ff}
html[data-theme="dark"] .sets-found,html[data-theme="dark"] .sets-answers{border-color:#424c69;color:#a9b3d1}html[data-theme="dark"] .sets-found>strong,html[data-theme="dark"] .sets-answers>strong{color:#d4dcf9}html[data-theme="dark"] .sets-answers p{color:#a9b3d1}
html[data-theme="dark"] .sets-result{background:#2c3551;border-color:#4b597e}html[data-theme="dark"] .sets-result-head{color:#dce4ff}html[data-theme="dark"] .sets-result-card{background:#242d45;border-color:#617094}html[data-theme="dark"] .sets-result-card-number{color:#aab8d7}html[data-theme="dark"] .sets-result-reasons span{background:#3a486d;color:#e0e7ff}
html[data-theme="dark"] .sets-memory{background:#222d3d;border-color:#40536a}html[data-theme="dark"] .sets-memory-head{color:#e0e8ff}html[data-theme="dark"] .sets-memory-head span,html[data-theme="dark"] .sets-memory-list>small{color:#aebddd}html[data-theme="dark"] .sets-memory-set{background:#29344a;border-color:#50647b}html[data-theme="dark"] .sets-memory-set[open]{border-color:#91a7d6}html[data-theme="dark"] .sets-memory-set summary:hover{background:#354361}html[data-theme="dark"] .sets-memory-index{color:#b5c4e3}html[data-theme="dark"] .sets-memory-card{background:#242d45;border-color:#566784}html[data-theme="dark"] .sets-memory-reasons{border-color:#4d5b76}html[data-theme="dark"] .sets-memory-reasons span{background:#3a486d;color:#e0e7ff}html[data-theme="dark"] .sets-hint-idle{color:#b9c7da}
html[data-theme="dark"] .sets-card-used{background:#475378;color:#e0e7ff}html[data-theme="dark"] .sets-card-guide{background:#6d4d25;color:#ffe5a9}html[data-theme="dark"] .sets-card.guide{outline-color:#efbc70}
html[data-theme="dark"] .sets-page .hint-placeholder strong{color:#d8dfff}html[data-theme="dark"] .sets-page .hint-placeholder p{color:#aab6d3}html[data-theme="dark"] .sets-rule-tags span{background:#364164;color:#d5dfff}html[data-theme="dark"] .sets-hint-text{background:#303a5b;border-color:#99adf1;color:#e1e7ff}
html[data-theme="dark"] .sets-page .eyebrow{color:#a8b8f4}html[data-theme="dark"] .sets-page .game-heading h1 span,html[data-theme="dark"] .sets-page .game-heading p{color:#b9c6e6}
html[data-theme="dark"] .sets-page .heading-badge strong,html[data-theme="dark"] .sets-page .meta-line strong{color:#bdc9ff}html[data-theme="dark"] .sets-page .button.primary{background:#8da5f0;color:#17203d}html[data-theme="dark"] .sets-page .button.primary:hover{background:#b2c3fc}
html[data-theme="dark"] .sets-page .button.secondary,html[data-theme="dark"] .sets-page .button.subtle{background:#303957;border-color:#4d5a82;color:#d6dfff}
html[data-theme="dark"] .save-recovery-notice{border-color:#e9aa6a;background:#3d2b20;color:#fff0d8}
html[data-theme="dark"] .pipes-page.source-mode .button.primary{background:#8cd7ad;color:#153527}
html[data-theme="dark"] .lits-image-review{background:#1b3029;border-color:#466555}
html[data-theme="dark"] .lits-image-review h3{color:#bfe7cb}
html[data-theme="dark"] .lits-image-size label,html[data-theme="dark"] .lits-image-help,html[data-theme="dark"] .lits-image-crop{color:#b9d5c2!important}
html[data-theme="dark"] .lits-image-size select,html[data-theme="dark"] .lits-image-crop input{background:#11201e;border-color:#4b6959;color:#e8f5eb}
html[data-theme="dark"] .lits-image-warning{background:#54342b;color:#ffd6bc!important}
