/* GLERAH dark mode. Only active when the app sets <html data-theme="dark">; the website itself never does. */
html[data-theme="dark"] h1{color:#ffd3e1}
html[data-theme="dark"] h2{color:#ffd3e1}
html[data-theme="dark"] h3{color:#ffd3e1}
html[data-theme="dark"] .btn.ghost{color:#ffd3e1}
html[data-theme="dark"] .field{background-color:#26141f}
html[data-theme="dark"] .sel{background-color:#26141f}
html[data-theme="dark"] .inp{background-color:#26141f}
html[data-theme="dark"] .chip{color:#ffd3e1}
html[data-theme="dark"] .who-av img{background-color:#26141f}
html[data-theme="dark"] .gate-q .who-line b{color:#ffd3e1}
html[data-theme="dark"] .gate-q .prompt{color:#ffd3e1}
html[data-theme="dark"] .topnav .brand{color:#ffd3e1}
html[data-theme="dark"] .topnav a.nl{color:#ffd3e1}
html[data-theme="dark"] .topnav .me{color:#ffd3e1}
html[data-theme="dark"] .more-menu{background-color:#26141f}
html[data-theme="dark"] .more-menu a{color:#ffd3e1}
html[data-theme="dark"] .more-menu button{color:#ffd3e1}
html[data-theme="dark"] .gm-card{background-color:#26141f}
html[data-theme="dark"] .gm-card .q{color:#ffd3e1}
html[data-theme="dark"] .promise-lines p{color:#ffd3e1}
html[data-theme="dark"] .dyk{background-color:#26141f}
html[data-theme="dark"] .num{background-color:#26141f}
html[data-theme="dark"] .polaroid{background-color:#26141f}
html[data-theme="dark"] .polaroid::after{color:#ffd3e1}
html[data-theme="dark"] .letter{background-color:#26141f}
html[data-theme="dark"] .proud-card{background-color:#26141f}
html[data-theme="dark"] .tl-dot{background-color:#26141f}
html[data-theme="dark"] .tl-head .lab{color:#ffd3e1}
html[data-theme="dark"] .mem{background-color:#26141f}
html[data-theme="dark"] .albums button{background-color:#26141f;color:#ffd3e1}
html[data-theme="dark"] /* ------------------------------------------------------------------ goals */
.goal{background-color:#26141f}
html[data-theme="dark"] .gtable{background-color:#26141f}
html[data-theme="dark"] .rc{background-color:#26141f}
html[data-theme="dark"] .tabs button{background-color:#26141f;color:#ffd3e1}
html[data-theme="dark"] .know-row b{color:#ffd3e1}
html[data-theme="dark"] .mode{background-color:#26141f}
html[data-theme="dark"] .catgrid span{background-color:#26141f}
html[data-theme="dark"] .stepper button{background-color:#26141f}
html[data-theme="dark"] .timer b{color:#ffd3e1}
html[data-theme="dark"] .qcard{background-color:#26141f}
html[data-theme="dark"] .qcard .qp{color:#ffd3e1}
html[data-theme="dark"] .opt{background-color:#26141f}
html[data-theme="dark"] .firstgrid button{background-color:#26141f;color:#ffd3e1}
html[data-theme="dark"] .rl{background-color:#26141f}
html[data-theme="dark"] .versus .score{color:#ffd3e1}
html[data-theme="dark"] .hist-row{background-color:#26141f}
html[data-theme="dark"] .stat3 div{background-color:#26141f}
html[data-theme="dark"]{color-scheme:dark;--cream:#150910;--paper:#1f1019;--ink:#f6e9ee;--muted:#c4a0b0;--line:#4a2639;--blush:#3a1b2b;--blush2:#241421;
  --shadow:0 10px 30px rgba(0,0,0,.55);--shadow2:0 4px 14px rgba(0,0,0,.45)}
html[data-theme="dark"] body{background:#150910;color:#f6e9ee}
html[data-theme="dark"] a{color:#ff7aa3}
html[data-theme="dark"] h1,html[data-theme="dark"] h2,html[data-theme="dark"] h3{color:#ffd3e1}
html[data-theme="dark"] .topnav{background:rgba(21,9,16,.88)}
html[data-theme="dark"] .tabbar{background:rgba(31,16,25,.96)}
html[data-theme="dark"] .field,html[data-theme="dark"] .sel,html[data-theme="dark"] .inp,html[data-theme="dark"] textarea,html[data-theme="dark"] input,html[data-theme="dark"] select{background-color:#26141f;color:#f6e9ee;border-color:#4a2639}
html[data-theme="dark"] ::placeholder{color:#a8808f}
html[data-theme="dark"] .btn.ghost{color:#ffd3e1;border-color:#5b3248}
html[data-theme="dark"] .btn.dark{background:#6d1236}
html[data-theme="dark"] .chip,html[data-theme="dark"] .albums button.on{color:#ffd3e1}
html[data-theme="dark"] .opt:hover{background:#3a1b2b}
html[data-theme="dark"] .hint,html[data-theme="dark"] .warn{background:#3b2c10;border-color:#8a6a1c;color:#f0d58a}
html[data-theme="dark"] .letter{background-color:#24161c;border-color:#4a3a2a;background-image:none;color:#f6e9ee}
html[data-theme="dark"] .toast{background:#6d1236}
html[data-theme="dark"] .gtable th{background:#6d1236}
html[data-theme="dark"] .tabs button.on{background:#6d1236;border-color:#6d1236;color:#fff}
html[data-theme="dark"] .sheet{background:#1f1019}
html[data-theme="dark"] img{filter:brightness(.94)}
html[data-theme="dark"] .tl-dot{background:#26141f;box-shadow:0 0 0 4px #150910}
html[data-theme="dark"] .promise-lines p,html[data-theme="dark"] .know-row b{color:#ffd3e1}
html[data-theme="dark"] .stat3 b,html[data-theme="dark"] .versus .score{color:#ff7aa3}
html[data-theme="dark"] .gm-card{color:#f6e9ee}
html[data-theme="dark"] .tl-jump{background:rgba(21,9,16,.92)}
html[data-theme="dark"] .gate-q{background:rgba(31,16,25,.97);color:#f6e9ee}
html[data-theme="dark"] .heart-story{background:rgba(31,16,25,.94)}
html[data-theme="dark"] .gate-q .sel,html[data-theme="dark"] .gate-q .field,html[data-theme="dark"] .gate-q .opt{background-color:#26141f;color:#f6e9ee}
