/* Dark mode (Nov 12): colours copied from havineini.org's dark theme — page #1a2030, cards #1f2840, text #F0EAD6, muted #9BAFC0, lines rgba(255,255,255,.08), accent gold #D4A843. Feed colours stay. */
html.dark{color-scheme:dark;background:#1a2030}
html.dark body{background:#1a2030 !important;color:#F0EAD6}
html.dark [style*="background: rgb(247, 245, 240)"],
html.dark [style*="background-color: rgb(247, 245, 240)"],
html.dark [style*="background:#F7F5F0"],
html.dark [style*="background: #F7F5F0"]{background:#1a2030 !important}
html.dark [style*="background: rgb(255, 255, 255)"],
html.dark [style*="background-color: rgb(255, 255, 255)"],
html.dark [style*="background: rgba(255, 255, 255, 0.96)"],
html.dark [style*="background: rgba(255, 255, 255, 0.95)"],
html.dark [style*="background: rgb(255, 254, 250)"],
html.dark [style*="background:#fff"],
html.dark [style*="background:#FFFEFA"]{background:#1f2840 !important}
html.dark [style*="color: rgb(26, 26, 26)"],
html.dark [style*="color: oklch(0.15"],
html.dark [style*="color:#1A1A1A"],
html.dark [style*="color: rgb(23, 43, 42)"]{color:#F0EAD6 !important}
html.dark [style*="color: rgb(90, 80, 64)"],
html.dark [style*="color: rgb(138, 126, 110)"],
html.dark [style*="color: rgb(107, 107, 107)"],
html.dark [style*="color:#5A5040"],
html.dark [style*="color:#8A7E6E"],
html.dark [style*="color: rgba(26, 48, 46, 0.64)"]{color:#9BAFC0 !important}
html.dark [style*="border: 1px solid rgba(0, 0, 0"],
html.dark [style*="border:1px solid rgba(0,0,0"]{border-color:rgba(255,255,255,0.08) !important}
html.dark [style*="border-bottom: 1px solid rgba(0, 0, 0"]{border-bottom-color:rgba(255,255,255,0.08) !important}
html.dark [style*="background: rgba(0, 0, 0, 0.0"],
html.dark [style*="background: rgba(0, 0, 0, 0.1)"],
html.dark [style*="background:rgba(0,0,0,.0"]{background:rgba(255,255,255,0.07) !important}
html.dark [style*="color: rgb(31, 107, 107)"]{color:#D4A843 !important}
html.dark [style*="background: rgb(31, 107, 107)"],
html.dark [style*="background-color: rgb(31, 107, 107)"]{background:#D4A843 !important;color:#1a2030 !important}
html.dark [style*="background: rgba(31, 107, 107, 0.1"],
html.dark [style*="background: rgba(31, 107, 107, 0.09"],
html.dark [style*="background: rgba(31, 107, 107, 0.08"]{background:rgba(212,168,67,0.13) !important}
html.dark [style*="border: 1px solid rgba(31, 107, 107"]{border-color:rgba(212,168,67,0.3) !important}
html.dark [style*="box-shadow: rgba(0, 0, 0"]{box-shadow:0 2px 10px rgba(0,0,0,.35) !important}
html.dark .bg-white,
html.dark .x64-p,
html.dark .x4-pick{background:#1f2840 !important}
html.dark #navwrap .rounded-full.shadow-lg{background:#1f2840 !important;border-color:rgba(255,255,255,0.08) !important}
html.dark header,
html.dark .ma-top,
html.dark .ma-hd,
html.dark .ka-hd,
html.dark .kr-top{background:#1a2030 !important;border-color:rgba(255,255,255,0.08) !important}
html.dark .ma,
html.dark .ma-bd{background:transparent;color:#F0EAD6}
html.dark .ma-tile,
html.dark .ma-pl,
html.dark .ma-kr,
html.dark .ma-ns,
html.dark .ma-clip,
html.dark .ma-cc,
html.dark .ma-empty,
html.dark .ma-plsw,
html.dark .ma-search,
html.dark .ma-sh,
html.dark .ma-askc,
html.dark .ma-dsec,
html.dark .x127q,
html.dark .kl-box,
html.dark .kp-arch,
html.dark .ka-c,
html.dark .hv-banner{background:#1f2840 !important;border-color:rgba(255,255,255,0.08) !important;color:#F0EAD6}
html.dark .ma-tn,
html.dark .ma-h1,
html.dark .ma-h2,
html.dark .ma-lib,
html.dark .ma-tt,
html.dark .ma-askc h4,
html.dark .kp-ai b,
html.dark .ka-ti h2,
html.dark .hv-banner h3,
html.dark .x64-t,
html.dark .x64-hd b,
html.dark .ma-plt b{color:#F0EAD6 !important}
html.dark .ma-libp,
html.dark .ma-cnt,
html.dark .ma-day,
html.dark .ma-ep,
html.dark .ma-et,
html.dark .ma-ntx,
html.dark .ma-askc p,
html.dark .kp-ai span,
html.dark .ka-ti p,
html.dark .hv-banner p,
html.dark .x64-m,
html.dark .ma-tab,
html.dark .ma-plt small,
html.dark .kp-ar,
html.dark .ma-tile.ma-t0 .ma-tc{color:#9BAFC0 !important}
html.dark .ma-tab.on{color:#D4A843 !important;border-color:#D4A843 !important}
html.dark .ma-bk,
html.dark .ma-ed,
html.dark .ma-dl,
html.dark .ka-bk,
html.dark .ma-askb button,
html.dark .ma-tile.ma-t0 .ma-tic{background:rgba(255,255,255,0.07) !important;color:#F0EAD6}
html.dark .ma-bk svg,
html.dark .ka-bk svg{stroke:#F0EAD6}
html.dark .ma-askb button.red{background:#DC2626 !important;color:#fff}
html.dark input,
html.dark textarea,
html.dark .ma-in,
html.dark .x64-sr,
html.dark .ka-in{background:#253050 !important;color:#F0EAD6 !important;border-color:rgba(255,255,255,0.12) !important}
html.dark input::placeholder,
html.dark textarea::placeholder{color:#9BAFC0 !important}
html.dark .ma-tg{background:rgba(255,255,255,.2) !important}
html.dark .ma-tg.on{background:#D4A843 !important}
html.dark .hv-bbtn,
html.dark .ma-browse{background:rgba(212,168,67,0.13) !important;color:#D4A843 !important;border-color:rgba(212,168,67,0.3) !important}
html.dark .x64-c{color:#9BAFC0}
html.dark .x64-done{color:#1a2030}
html.dark #toast,
html.dark .hv-toast{background:#F0EAD6 !important;color:#1a2030 !important}
html.dark .ka,
html.dark .kp,
html.dark .kr-root{background:#1a2030 !important;color:#F0EAD6}
html.dark .ka-hd{background:rgba(26,32,48,.95) !important}

/* dark: player card, mini player, headings */
html.dark [style*="background: rgba(247, 245, 240"]{background:rgba(31,40,64,.92) !important}
html.dark #x9-bar{background:#1f2840 !important;border-color:rgba(255,255,255,0.08) !important;color:#F0EAD6}
html.dark #x9-bar .ln{background:rgba(255,255,255,.1) !important}
html.dark #x9-bar .t,html.dark #x9-bar b+span,html.dark #x9-bar p{color:#F0EAD6}
html.dark #page h1,html.dark #page h2,html.dark #page h3{color:#F0EAD6}
html.dark .hv-tl,html.dark .dm-pct{color:#9BAFC0}

html.dark [style*="background: rgba(255, 255, 255, 0.72)"],html.dark [style*="background: rgba(255, 255, 255, 0.8"],html.dark .hv6-field,html.dark .hvc-b{background:#1f2840 !important;border-color:rgba(255,255,255,0.08) !important}
html.dark #x9-bar b,html.dark .ma-cn,html.dark .ma-ns p,html.dark .ma-nr p,html.dark .ma-kr b,html.dark .ka b,html.dark .hvc-b,html.dark .hvc-b *{color:#F0EAD6}
html.dark .ma-cmode,html.dark .ma-cl,html.dark .ma-cf,html.dark .ma-clear,html.dark .ka-cap{color:#9BAFC0}
html.dark button.on[style=""],html.dark .hvx-help{color:#D4A843}
html.dark .ma-plbar{background:rgba(255,255,255,.08)}

/* v13: symbols stay WHITE in dark, exactly like havineini.org (white disc, feed-colour ring, white label pill) */
html.dark .rounded-full.bg-white,html.dark [role=img].rounded-full,html.dark .rounded-full[style*="background: rgba(255, 255, 255, 0.9"],html.dark .x67s,html.dark .hv-sym,html.dark [class*="hvsym"]{background:rgba(255,255,255,.95) !important}
html.dark .ma-flab{color:#E8A0B4;border-color:rgba(232,160,180,.35);background:rgba(232,160,180,.08)}
html.dark .hv-fl-in{background:#253050;color:#F0EAD6}
html.dark [data-pf=root] .w-10.h-6 > div{background:#fff !important}
html.dark [data-pf=root] .w-10.h-6[style*="rgba(0, 0, 0, 0.15)"]{background:rgba(255,255,255,.18) !important}
html.dark .hv-swbg{background:rgba(22,163,74,.2)}
html.dark #hv-myf{background:rgba(212,168,67,.10)!important;border-color:rgba(212,168,67,.27)!important}
html.dark #hv-myf .hv-myf-t,html.dark #hv-myf .hv-myf-n{color:#D4A843!important}
html.dark #hv-myf .hv-myf-ic{background:rgba(212,168,67,.13)!important;color:#D4A843!important}
html.dark .hv-mfb{background:rgba(212,168,67,.07)!important;border-color:rgba(212,168,67,.18)!important}
html.dark .hv-mfb span{background:#D4A843!important}html.dark .hv-mfb p{color:#D4A843!important}
html.dark .player-mobile-timeline > div.relative > .hv-bdot{box-shadow:0 0 0 2px #1a2030!important}
html.dark .hv-ned textarea,html.dark .hv-ned input{background:#253050!important;color:#F0EAD6!important;border-color:rgba(255,255,255,.12)!important}
html.dark .hv-dr .tr .pl{background:rgba(255,255,255,.22)!important}
html.dark .hv-dlh h2{color:#F0EAD6!important}html.dark .hv-dlh p,html.dark .hv-dlt,html.dark .hv-dle{color:#9BAFC0!important}html.dark .hv-dlbk{background:rgba(255,255,255,.08)!important;color:#F0EAD6!important}html.dark #x14-dl .hv-dlr .bg{stroke:rgba(255,255,255,.12)!important}
html.dark .hv-set{background:rgba(255,255,255,.06)!important}
