/* Lumi dark theme — html[data-theme="dark"].
   Pages carry literal inline styles, so each rule matches BOTH the authored hex
   and the rgb() form the browser serialises the style attribute into. */
html[data-theme="dark"] { color-scheme: dark !important; }
html[data-theme="dark"] body { background: #0B0B0C !important; }
html[data-theme="dark"] a { color: #8B88FF; }
html[data-theme="dark"] a:hover { color: #A9A7FF; }

/* ── surfaces ─────────────────────────────────────────── */
html[data-theme="dark"] [style*="background: #fff"],
html[data-theme="dark"] [style*="background: #FFF"],
html[data-theme="dark"] [style*="background: rgb(255, 255, 255)"],
html[data-theme="dark"] [style*="background: #ffffff"],
html[data-theme="dark"] [style*="background: #FFFFFF"],
html[data-theme="dark"] [style*="background: white"],
html[data-theme="dark"] [style*="background-color: #fff"],
html[data-theme="dark"] [style*="background-color: #FFF"],
html[data-theme="dark"] [style*="background-color: rgb(255, 255, 255)"],
html[data-theme="dark"] [style*="background-color: #ffffff"],
html[data-theme="dark"] [style*="background-color: #FFFFFF"],
html[data-theme="dark"] [style*="background-color: white"] { background: #17171A !important; }

html[data-theme="dark"] [style*="background: #F6F6F7"],
html[data-theme="dark"] [style*="background: #f6f6f7"],
html[data-theme="dark"] [style*="background: rgb(246, 246, 247)"],
html[data-theme="dark"] [style*="background: #F1F0FB"],
html[data-theme="dark"] [style*="background: #f1f0fb"],
html[data-theme="dark"] [style*="background: rgb(241, 240, 251)"],
html[data-theme="dark"] [style*="background: #F6F4FB"],
html[data-theme="dark"] [style*="background: #f6f4fb"],
html[data-theme="dark"] [style*="background: rgb(246, 244, 251)"],
html[data-theme="dark"] [style*="background: #F9F8FD"],
html[data-theme="dark"] [style*="background: #f9f8fd"],
html[data-theme="dark"] [style*="background: rgb(249, 248, 253)"],
html[data-theme="dark"] [style*="background: #F4F3EC"],
html[data-theme="dark"] [style*="background: #f4f3ec"],
html[data-theme="dark"] [style*="background: rgb(244, 243, 236)"],
html[data-theme="dark"] [style*="background: #F1F1F1"],
html[data-theme="dark"] [style*="background: #f1f1f1"],
html[data-theme="dark"] [style*="background: rgb(241, 241, 241)"],
html[data-theme="dark"] [style*="background: #FAFAFB"],
html[data-theme="dark"] [style*="background: #fafafb"],
html[data-theme="dark"] [style*="background: rgb(250, 250, 251)"],
html[data-theme="dark"] [style*="background: #F5F5F7"],
html[data-theme="dark"] [style*="background: #f5f5f7"],
html[data-theme="dark"] [style*="background: rgb(245, 245, 247)"],
html[data-theme="dark"] [style*="background: #F7F5FE"],
html[data-theme="dark"] [style*="background: #f7f5fe"],
html[data-theme="dark"] [style*="background: rgb(247, 245, 254)"],
html[data-theme="dark"] [style*="background: #FDFAFE"],
html[data-theme="dark"] [style*="background: #fdfafe"],
html[data-theme="dark"] [style*="background: rgb(253, 250, 254)"],
html[data-theme="dark"] [style*="background: #F0EEFB"],
html[data-theme="dark"] [style*="background: #f0eefb"],
html[data-theme="dark"] [style*="background: rgb(240, 238, 251)"],
html[data-theme="dark"] [style*="background: #EFEEFC"],
html[data-theme="dark"] [style*="background: #efeefc"],
html[data-theme="dark"] [style*="background: rgb(239, 238, 252)"],
html[data-theme="dark"] [style*="background: #FBFAFE"],
html[data-theme="dark"] [style*="background: #fbfafe"],
html[data-theme="dark"] [style*="background: rgb(251, 250, 254)"],
html[data-theme="dark"] [style*="background-color: #F6F6F7"],
html[data-theme="dark"] [style*="background-color: #f6f6f7"],
html[data-theme="dark"] [style*="background-color: rgb(246, 246, 247)"],
html[data-theme="dark"] [style*="background-color: #F1F0FB"],
html[data-theme="dark"] [style*="background-color: #f1f0fb"],
html[data-theme="dark"] [style*="background-color: rgb(241, 240, 251)"],
html[data-theme="dark"] [style*="background-color: #F6F4FB"],
html[data-theme="dark"] [style*="background-color: #f6f4fb"],
html[data-theme="dark"] [style*="background-color: rgb(246, 244, 251)"],
html[data-theme="dark"] [style*="background-color: #F9F8FD"],
html[data-theme="dark"] [style*="background-color: #f9f8fd"],
html[data-theme="dark"] [style*="background-color: rgb(249, 248, 253)"],
html[data-theme="dark"] [style*="background-color: #F4F3EC"],
html[data-theme="dark"] [style*="background-color: #f4f3ec"],
html[data-theme="dark"] [style*="background-color: rgb(244, 243, 236)"],
html[data-theme="dark"] [style*="background-color: #F1F1F1"],
html[data-theme="dark"] [style*="background-color: #f1f1f1"],
html[data-theme="dark"] [style*="background-color: rgb(241, 241, 241)"],
html[data-theme="dark"] [style*="background-color: #FAFAFB"],
html[data-theme="dark"] [style*="background-color: #fafafb"],
html[data-theme="dark"] [style*="background-color: rgb(250, 250, 251)"],
html[data-theme="dark"] [style*="background-color: #F5F5F7"],
html[data-theme="dark"] [style*="background-color: #f5f5f7"],
html[data-theme="dark"] [style*="background-color: rgb(245, 245, 247)"],
html[data-theme="dark"] [style*="background-color: #F7F5FE"],
html[data-theme="dark"] [style*="background-color: #f7f5fe"],
html[data-theme="dark"] [style*="background-color: rgb(247, 245, 254)"],
html[data-theme="dark"] [style*="background-color: #FDFAFE"],
html[data-theme="dark"] [style*="background-color: #fdfafe"],
html[data-theme="dark"] [style*="background-color: rgb(253, 250, 254)"],
html[data-theme="dark"] [style*="background-color: #F0EEFB"],
html[data-theme="dark"] [style*="background-color: #f0eefb"],
html[data-theme="dark"] [style*="background-color: rgb(240, 238, 251)"],
html[data-theme="dark"] [style*="background-color: #EFEEFC"],
html[data-theme="dark"] [style*="background-color: #efeefc"],
html[data-theme="dark"] [style*="background-color: rgb(239, 238, 252)"],
html[data-theme="dark"] [style*="background-color: #FBFAFE"],
html[data-theme="dark"] [style*="background-color: #fbfafe"],
html[data-theme="dark"] [style*="background-color: rgb(251, 250, 254)"] { background: #202024 !important; }

html[data-theme="dark"] [style*="background: #131316"],
html[data-theme="dark"] [style*="background: rgb(19, 19, 22)"],
html[data-theme="dark"] [style*="background: #1C1B18"],
html[data-theme="dark"] [style*="background: #1c1b18"],
html[data-theme="dark"] [style*="background: rgb(28, 27, 24)"],
html[data-theme="dark"] [style*="background: #0E0D10"],
html[data-theme="dark"] [style*="background: #0e0d10"],
html[data-theme="dark"] [style*="background: rgb(14, 13, 16)"],
html[data-theme="dark"] [style*="background-color: #131316"],
html[data-theme="dark"] [style*="background-color: rgb(19, 19, 22)"],
html[data-theme="dark"] [style*="background-color: #1C1B18"],
html[data-theme="dark"] [style*="background-color: #1c1b18"],
html[data-theme="dark"] [style*="background-color: rgb(28, 27, 24)"],
html[data-theme="dark"] [style*="background-color: #0E0D10"],
html[data-theme="dark"] [style*="background-color: #0e0d10"],
html[data-theme="dark"] [style*="background-color: rgb(14, 13, 16)"] { background: #232327 !important; }

/* ── ink ──────────────────────────────────────────────── */
html[data-theme="dark"] [style*="color: #131316"],
html[data-theme="dark"] [style*="color: rgb(19, 19, 22)"],
html[data-theme="dark"] [style*="color: #1C1B18"],
html[data-theme="dark"] [style*="color: #1c1b18"],
html[data-theme="dark"] [style*="color: rgb(28, 27, 24)"],
html[data-theme="dark"] [style*="color: #000"],
html[data-theme="dark"] [style*="color: rgb(0, 0, 0)"],
html[data-theme="dark"] [style*="color: #000000"] { color: #F4F3F7 !important; }

html[data-theme="dark"] [style*="color: #55555E"],
html[data-theme="dark"] [style*="color: #55555e"],
html[data-theme="dark"] [style*="color: rgb(85, 85, 94)"],
html[data-theme="dark"] [style*="color: #4C4A42"],
html[data-theme="dark"] [style*="color: #4c4a42"],
html[data-theme="dark"] [style*="color: rgb(76, 74, 66)"],
html[data-theme="dark"] [style*="color: #6A6A73"],
html[data-theme="dark"] [style*="color: #6a6a73"],
html[data-theme="dark"] [style*="color: rgb(106, 106, 115)"] { color: #ADADB6 !important; }

html[data-theme="dark"] [style*="color: #8A8A93"],
html[data-theme="dark"] [style*="color: #8a8a93"],
html[data-theme="dark"] [style*="color: rgb(138, 138, 147)"],
html[data-theme="dark"] [style*="color: #A0A0A8"],
html[data-theme="dark"] [style*="color: #a0a0a8"],
html[data-theme="dark"] [style*="color: rgb(160, 160, 168)"],
html[data-theme="dark"] [style*="color: #8C8A80"],
html[data-theme="dark"] [style*="color: #8c8a80"],
html[data-theme="dark"] [style*="color: rgb(140, 138, 128)"],
html[data-theme="dark"] [style*="color: #A8A59B"],
html[data-theme="dark"] [style*="color: #a8a59b"],
html[data-theme="dark"] [style*="color: rgb(168, 165, 155)"],
html[data-theme="dark"] [style*="color: #92929B"],
html[data-theme="dark"] [style*="color: #92929b"],
html[data-theme="dark"] [style*="color: rgb(146, 146, 155)"] { color: #94949D !important; }

html[data-theme="dark"] [style*="color: #6D6AF0"],
html[data-theme="dark"] [style*="color: #6d6af0"],
html[data-theme="dark"] [style*="color: rgb(109, 106, 240)"] { color: #8B88FF !important; }

/* ── hairlines ────────────────────────────────────────── */
html[data-theme="dark"] [style*="border: 1px solid #E4E4E8"],
html[data-theme="dark"] [style*="border: 1px solid #e4e4e8"],
html[data-theme="dark"] [style*="border: 1px solid rgb(228, 228, 232)"],
html[data-theme="dark"] [style*="border: 1px solid #EBEBEE"],
html[data-theme="dark"] [style*="border: 1px solid #ebebee"],
html[data-theme="dark"] [style*="border: 1px solid rgb(235, 235, 238)"],
html[data-theme="dark"] [style*="border: 1px solid #EFEFF2"],
html[data-theme="dark"] [style*="border: 1px solid #efeff2"],
html[data-theme="dark"] [style*="border: 1px solid rgb(239, 239, 242)"],
html[data-theme="dark"] [style*="border: 1px solid #EFEDF8"],
html[data-theme="dark"] [style*="border: 1px solid #efedf8"],
html[data-theme="dark"] [style*="border: 1px solid rgb(239, 237, 248)"],
html[data-theme="dark"] [style*="border: 1px solid #E2DFD5"],
html[data-theme="dark"] [style*="border: 1px solid #e2dfd5"],
html[data-theme="dark"] [style*="border: 1px solid rgb(226, 223, 213)"],
html[data-theme="dark"] [style*="border: 1px solid #EDEAE0"],
html[data-theme="dark"] [style*="border: 1px solid #edeae0"],
html[data-theme="dark"] [style*="border: 1px solid rgb(237, 234, 224)"],
html[data-theme="dark"] [style*="border: 1px solid #E4E1F2"],
html[data-theme="dark"] [style*="border: 1px solid #e4e1f2"],
html[data-theme="dark"] [style*="border: 1px solid rgb(228, 225, 242)"],
html[data-theme="dark"] [style*="border: 1px solid #F0F0F3"],
html[data-theme="dark"] [style*="border: 1px solid #f0f0f3"],
html[data-theme="dark"] [style*="border: 1px solid rgb(240, 240, 243)"],
html[data-theme="dark"] [style*="border: 1px solid #EDEDF0"],
html[data-theme="dark"] [style*="border: 1px solid #ededf0"],
html[data-theme="dark"] [style*="border: 1px solid rgb(237, 237, 240)"],
html[data-theme="dark"] [style*="border: 1px solid #E7E5F4"],
html[data-theme="dark"] [style*="border: 1px solid #e7e5f4"],
html[data-theme="dark"] [style*="border: 1px solid rgb(231, 229, 244)"],
html[data-theme="dark"] [style*="border: 1px solid #F2F2F5"],
html[data-theme="dark"] [style*="border: 1px solid #f2f2f5"],
html[data-theme="dark"] [style*="border: 1px solid rgb(242, 242, 245)"],
html[data-theme="dark"] [style*="border-top: 1px solid #E4E4E8"],
html[data-theme="dark"] [style*="border-top: 1px solid #e4e4e8"],
html[data-theme="dark"] [style*="border-top: 1px solid rgb(228, 228, 232)"],
html[data-theme="dark"] [style*="border-top: 1px solid #EBEBEE"],
html[data-theme="dark"] [style*="border-top: 1px solid #ebebee"],
html[data-theme="dark"] [style*="border-top: 1px solid rgb(235, 235, 238)"],
html[data-theme="dark"] [style*="border-top: 1px solid #EFEFF2"],
html[data-theme="dark"] [style*="border-top: 1px solid #efeff2"],
html[data-theme="dark"] [style*="border-top: 1px solid rgb(239, 239, 242)"],
html[data-theme="dark"] [style*="border-top: 1px solid #EFEDF8"],
html[data-theme="dark"] [style*="border-top: 1px solid #efedf8"],
html[data-theme="dark"] [style*="border-top: 1px solid rgb(239, 237, 248)"],
html[data-theme="dark"] [style*="border-top: 1px solid #E2DFD5"],
html[data-theme="dark"] [style*="border-top: 1px solid #e2dfd5"],
html[data-theme="dark"] [style*="border-top: 1px solid rgb(226, 223, 213)"],
html[data-theme="dark"] [style*="border-top: 1px solid #EDEAE0"],
html[data-theme="dark"] [style*="border-top: 1px solid #edeae0"],
html[data-theme="dark"] [style*="border-top: 1px solid rgb(237, 234, 224)"],
html[data-theme="dark"] [style*="border-top: 1px solid #E4E1F2"],
html[data-theme="dark"] [style*="border-top: 1px solid #e4e1f2"],
html[data-theme="dark"] [style*="border-top: 1px solid rgb(228, 225, 242)"],
html[data-theme="dark"] [style*="border-top: 1px solid #F0F0F3"],
html[data-theme="dark"] [style*="border-top: 1px solid #f0f0f3"],
html[data-theme="dark"] [style*="border-top: 1px solid rgb(240, 240, 243)"],
html[data-theme="dark"] [style*="border-top: 1px solid #EDEDF0"],
html[data-theme="dark"] [style*="border-top: 1px solid #ededf0"],
html[data-theme="dark"] [style*="border-top: 1px solid rgb(237, 237, 240)"],
html[data-theme="dark"] [style*="border-top: 1px solid #E7E5F4"],
html[data-theme="dark"] [style*="border-top: 1px solid #e7e5f4"],
html[data-theme="dark"] [style*="border-top: 1px solid rgb(231, 229, 244)"],
html[data-theme="dark"] [style*="border-top: 1px solid #F2F2F5"],
html[data-theme="dark"] [style*="border-top: 1px solid #f2f2f5"],
html[data-theme="dark"] [style*="border-top: 1px solid rgb(242, 242, 245)"],
html[data-theme="dark"] [style*="border-bottom: 1px solid #E4E4E8"],
html[data-theme="dark"] [style*="border-bottom: 1px solid #e4e4e8"],
html[data-theme="dark"] [style*="border-bottom: 1px solid rgb(228, 228, 232)"],
html[data-theme="dark"] [style*="border-bottom: 1px solid #EBEBEE"],
html[data-theme="dark"] [style*="border-bottom: 1px solid #ebebee"],
html[data-theme="dark"] [style*="border-bottom: 1px solid rgb(235, 235, 238)"],
html[data-theme="dark"] [style*="border-bottom: 1px solid #EFEFF2"],
html[data-theme="dark"] [style*="border-bottom: 1px solid #efeff2"],
html[data-theme="dark"] [style*="border-bottom: 1px solid rgb(239, 239, 242)"],
html[data-theme="dark"] [style*="border-bottom: 1px solid #EFEDF8"],
html[data-theme="dark"] [style*="border-bottom: 1px solid #efedf8"],
html[data-theme="dark"] [style*="border-bottom: 1px solid rgb(239, 237, 248)"],
html[data-theme="dark"] [style*="border-bottom: 1px solid #E2DFD5"],
html[data-theme="dark"] [style*="border-bottom: 1px solid #e2dfd5"],
html[data-theme="dark"] [style*="border-bottom: 1px solid rgb(226, 223, 213)"],
html[data-theme="dark"] [style*="border-bottom: 1px solid #EDEAE0"],
html[data-theme="dark"] [style*="border-bottom: 1px solid #edeae0"],
html[data-theme="dark"] [style*="border-bottom: 1px solid rgb(237, 234, 224)"],
html[data-theme="dark"] [style*="border-bottom: 1px solid #E4E1F2"],
html[data-theme="dark"] [style*="border-bottom: 1px solid #e4e1f2"],
html[data-theme="dark"] [style*="border-bottom: 1px solid rgb(228, 225, 242)"],
html[data-theme="dark"] [style*="border-bottom: 1px solid #F0F0F3"],
html[data-theme="dark"] [style*="border-bottom: 1px solid #f0f0f3"],
html[data-theme="dark"] [style*="border-bottom: 1px solid rgb(240, 240, 243)"],
html[data-theme="dark"] [style*="border-bottom: 1px solid #EDEDF0"],
html[data-theme="dark"] [style*="border-bottom: 1px solid #ededf0"],
html[data-theme="dark"] [style*="border-bottom: 1px solid rgb(237, 237, 240)"],
html[data-theme="dark"] [style*="border-bottom: 1px solid #E7E5F4"],
html[data-theme="dark"] [style*="border-bottom: 1px solid #e7e5f4"],
html[data-theme="dark"] [style*="border-bottom: 1px solid rgb(231, 229, 244)"],
html[data-theme="dark"] [style*="border-bottom: 1px solid #F2F2F5"],
html[data-theme="dark"] [style*="border-bottom: 1px solid #f2f2f5"],
html[data-theme="dark"] [style*="border-bottom: 1px solid rgb(242, 242, 245)"],
html[data-theme="dark"] [style*="border-left: 1px solid #E4E4E8"],
html[data-theme="dark"] [style*="border-left: 1px solid #e4e4e8"],
html[data-theme="dark"] [style*="border-left: 1px solid rgb(228, 228, 232)"],
html[data-theme="dark"] [style*="border-left: 1px solid #EBEBEE"],
html[data-theme="dark"] [style*="border-left: 1px solid #ebebee"],
html[data-theme="dark"] [style*="border-left: 1px solid rgb(235, 235, 238)"],
html[data-theme="dark"] [style*="border-left: 1px solid #EFEFF2"],
html[data-theme="dark"] [style*="border-left: 1px solid #efeff2"],
html[data-theme="dark"] [style*="border-left: 1px solid rgb(239, 239, 242)"],
html[data-theme="dark"] [style*="border-left: 1px solid #EFEDF8"],
html[data-theme="dark"] [style*="border-left: 1px solid #efedf8"],
html[data-theme="dark"] [style*="border-left: 1px solid rgb(239, 237, 248)"],
html[data-theme="dark"] [style*="border-left: 1px solid #E2DFD5"],
html[data-theme="dark"] [style*="border-left: 1px solid #e2dfd5"],
html[data-theme="dark"] [style*="border-left: 1px solid rgb(226, 223, 213)"],
html[data-theme="dark"] [style*="border-left: 1px solid #EDEAE0"],
html[data-theme="dark"] [style*="border-left: 1px solid #edeae0"],
html[data-theme="dark"] [style*="border-left: 1px solid rgb(237, 234, 224)"],
html[data-theme="dark"] [style*="border-left: 1px solid #E4E1F2"],
html[data-theme="dark"] [style*="border-left: 1px solid #e4e1f2"],
html[data-theme="dark"] [style*="border-left: 1px solid rgb(228, 225, 242)"],
html[data-theme="dark"] [style*="border-left: 1px solid #F0F0F3"],
html[data-theme="dark"] [style*="border-left: 1px solid #f0f0f3"],
html[data-theme="dark"] [style*="border-left: 1px solid rgb(240, 240, 243)"],
html[data-theme="dark"] [style*="border-left: 1px solid #EDEDF0"],
html[data-theme="dark"] [style*="border-left: 1px solid #ededf0"],
html[data-theme="dark"] [style*="border-left: 1px solid rgb(237, 237, 240)"],
html[data-theme="dark"] [style*="border-left: 1px solid #E7E5F4"],
html[data-theme="dark"] [style*="border-left: 1px solid #e7e5f4"],
html[data-theme="dark"] [style*="border-left: 1px solid rgb(231, 229, 244)"],
html[data-theme="dark"] [style*="border-left: 1px solid #F2F2F5"],
html[data-theme="dark"] [style*="border-left: 1px solid #f2f2f5"],
html[data-theme="dark"] [style*="border-left: 1px solid rgb(242, 242, 245)"],
html[data-theme="dark"] [style*="border-right: 1px solid #E4E4E8"],
html[data-theme="dark"] [style*="border-right: 1px solid #e4e4e8"],
html[data-theme="dark"] [style*="border-right: 1px solid rgb(228, 228, 232)"],
html[data-theme="dark"] [style*="border-right: 1px solid #EBEBEE"],
html[data-theme="dark"] [style*="border-right: 1px solid #ebebee"],
html[data-theme="dark"] [style*="border-right: 1px solid rgb(235, 235, 238)"],
html[data-theme="dark"] [style*="border-right: 1px solid #EFEFF2"],
html[data-theme="dark"] [style*="border-right: 1px solid #efeff2"],
html[data-theme="dark"] [style*="border-right: 1px solid rgb(239, 239, 242)"],
html[data-theme="dark"] [style*="border-right: 1px solid #EFEDF8"],
html[data-theme="dark"] [style*="border-right: 1px solid #efedf8"],
html[data-theme="dark"] [style*="border-right: 1px solid rgb(239, 237, 248)"],
html[data-theme="dark"] [style*="border-right: 1px solid #E2DFD5"],
html[data-theme="dark"] [style*="border-right: 1px solid #e2dfd5"],
html[data-theme="dark"] [style*="border-right: 1px solid rgb(226, 223, 213)"],
html[data-theme="dark"] [style*="border-right: 1px solid #EDEAE0"],
html[data-theme="dark"] [style*="border-right: 1px solid #edeae0"],
html[data-theme="dark"] [style*="border-right: 1px solid rgb(237, 234, 224)"],
html[data-theme="dark"] [style*="border-right: 1px solid #E4E1F2"],
html[data-theme="dark"] [style*="border-right: 1px solid #e4e1f2"],
html[data-theme="dark"] [style*="border-right: 1px solid rgb(228, 225, 242)"],
html[data-theme="dark"] [style*="border-right: 1px solid #F0F0F3"],
html[data-theme="dark"] [style*="border-right: 1px solid #f0f0f3"],
html[data-theme="dark"] [style*="border-right: 1px solid rgb(240, 240, 243)"],
html[data-theme="dark"] [style*="border-right: 1px solid #EDEDF0"],
html[data-theme="dark"] [style*="border-right: 1px solid #ededf0"],
html[data-theme="dark"] [style*="border-right: 1px solid rgb(237, 237, 240)"],
html[data-theme="dark"] [style*="border-right: 1px solid #E7E5F4"],
html[data-theme="dark"] [style*="border-right: 1px solid #e7e5f4"],
html[data-theme="dark"] [style*="border-right: 1px solid rgb(231, 229, 244)"],
html[data-theme="dark"] [style*="border-right: 1px solid #F2F2F5"],
html[data-theme="dark"] [style*="border-right: 1px solid #f2f2f5"],
html[data-theme="dark"] [style*="border-right: 1px solid rgb(242, 242, 245)"],
html[data-theme="dark"] [style*="border-left: 2px solid #E4E4E8"],
html[data-theme="dark"] [style*="border-left: 2px solid #e4e4e8"],
html[data-theme="dark"] [style*="border-left: 2px solid rgb(228, 228, 232)"],
html[data-theme="dark"] [style*="border-left: 2px solid #EBEBEE"],
html[data-theme="dark"] [style*="border-left: 2px solid #ebebee"],
html[data-theme="dark"] [style*="border-left: 2px solid rgb(235, 235, 238)"],
html[data-theme="dark"] [style*="border-left: 2px solid #EFEFF2"],
html[data-theme="dark"] [style*="border-left: 2px solid #efeff2"],
html[data-theme="dark"] [style*="border-left: 2px solid rgb(239, 239, 242)"],
html[data-theme="dark"] [style*="border-left: 2px solid #EFEDF8"],
html[data-theme="dark"] [style*="border-left: 2px solid #efedf8"],
html[data-theme="dark"] [style*="border-left: 2px solid rgb(239, 237, 248)"],
html[data-theme="dark"] [style*="border-left: 2px solid #E2DFD5"],
html[data-theme="dark"] [style*="border-left: 2px solid #e2dfd5"],
html[data-theme="dark"] [style*="border-left: 2px solid rgb(226, 223, 213)"],
html[data-theme="dark"] [style*="border-left: 2px solid #EDEAE0"],
html[data-theme="dark"] [style*="border-left: 2px solid #edeae0"],
html[data-theme="dark"] [style*="border-left: 2px solid rgb(237, 234, 224)"],
html[data-theme="dark"] [style*="border-left: 2px solid #E4E1F2"],
html[data-theme="dark"] [style*="border-left: 2px solid #e4e1f2"],
html[data-theme="dark"] [style*="border-left: 2px solid rgb(228, 225, 242)"],
html[data-theme="dark"] [style*="border-left: 2px solid #F0F0F3"],
html[data-theme="dark"] [style*="border-left: 2px solid #f0f0f3"],
html[data-theme="dark"] [style*="border-left: 2px solid rgb(240, 240, 243)"],
html[data-theme="dark"] [style*="border-left: 2px solid #EDEDF0"],
html[data-theme="dark"] [style*="border-left: 2px solid #ededf0"],
html[data-theme="dark"] [style*="border-left: 2px solid rgb(237, 237, 240)"],
html[data-theme="dark"] [style*="border-left: 2px solid #E7E5F4"],
html[data-theme="dark"] [style*="border-left: 2px solid #e7e5f4"],
html[data-theme="dark"] [style*="border-left: 2px solid rgb(231, 229, 244)"],
html[data-theme="dark"] [style*="border-left: 2px solid #F2F2F5"],
html[data-theme="dark"] [style*="border-left: 2px solid #f2f2f5"],
html[data-theme="dark"] [style*="border-left: 2px solid rgb(242, 242, 245)"],
html[data-theme="dark"] [style*="border-color: #E4E4E8"],
html[data-theme="dark"] [style*="border-color: #e4e4e8"],
html[data-theme="dark"] [style*="border-color: rgb(228, 228, 232)"],
html[data-theme="dark"] [style*="border-color: #EBEBEE"],
html[data-theme="dark"] [style*="border-color: #ebebee"],
html[data-theme="dark"] [style*="border-color: rgb(235, 235, 238)"],
html[data-theme="dark"] [style*="border-color: #EFEFF2"],
html[data-theme="dark"] [style*="border-color: #efeff2"],
html[data-theme="dark"] [style*="border-color: rgb(239, 239, 242)"],
html[data-theme="dark"] [style*="border-color: #EFEDF8"],
html[data-theme="dark"] [style*="border-color: #efedf8"],
html[data-theme="dark"] [style*="border-color: rgb(239, 237, 248)"],
html[data-theme="dark"] [style*="border-color: #E2DFD5"],
html[data-theme="dark"] [style*="border-color: #e2dfd5"],
html[data-theme="dark"] [style*="border-color: rgb(226, 223, 213)"],
html[data-theme="dark"] [style*="border-color: #EDEAE0"],
html[data-theme="dark"] [style*="border-color: #edeae0"],
html[data-theme="dark"] [style*="border-color: rgb(237, 234, 224)"],
html[data-theme="dark"] [style*="border-color: #E4E1F2"],
html[data-theme="dark"] [style*="border-color: #e4e1f2"],
html[data-theme="dark"] [style*="border-color: rgb(228, 225, 242)"],
html[data-theme="dark"] [style*="border-color: #F0F0F3"],
html[data-theme="dark"] [style*="border-color: #f0f0f3"],
html[data-theme="dark"] [style*="border-color: rgb(240, 240, 243)"],
html[data-theme="dark"] [style*="border-color: #EDEDF0"],
html[data-theme="dark"] [style*="border-color: #ededf0"],
html[data-theme="dark"] [style*="border-color: rgb(237, 237, 240)"],
html[data-theme="dark"] [style*="border-color: #E7E5F4"],
html[data-theme="dark"] [style*="border-color: #e7e5f4"],
html[data-theme="dark"] [style*="border-color: rgb(231, 229, 244)"],
html[data-theme="dark"] [style*="border-color: #F2F2F5"],
html[data-theme="dark"] [style*="border-color: #f2f2f5"],
html[data-theme="dark"] [style*="border-color: rgb(242, 242, 245)"],
html[data-theme="dark"] [style*="border-top-color: #E4E4E8"],
html[data-theme="dark"] [style*="border-top-color: #e4e4e8"],
html[data-theme="dark"] [style*="border-top-color: rgb(228, 228, 232)"],
html[data-theme="dark"] [style*="border-top-color: #EBEBEE"],
html[data-theme="dark"] [style*="border-top-color: #ebebee"],
html[data-theme="dark"] [style*="border-top-color: rgb(235, 235, 238)"],
html[data-theme="dark"] [style*="border-top-color: #EFEFF2"],
html[data-theme="dark"] [style*="border-top-color: #efeff2"],
html[data-theme="dark"] [style*="border-top-color: rgb(239, 239, 242)"],
html[data-theme="dark"] [style*="border-top-color: #EFEDF8"],
html[data-theme="dark"] [style*="border-top-color: #efedf8"],
html[data-theme="dark"] [style*="border-top-color: rgb(239, 237, 248)"],
html[data-theme="dark"] [style*="border-top-color: #E2DFD5"],
html[data-theme="dark"] [style*="border-top-color: #e2dfd5"],
html[data-theme="dark"] [style*="border-top-color: rgb(226, 223, 213)"],
html[data-theme="dark"] [style*="border-top-color: #EDEAE0"],
html[data-theme="dark"] [style*="border-top-color: #edeae0"],
html[data-theme="dark"] [style*="border-top-color: rgb(237, 234, 224)"],
html[data-theme="dark"] [style*="border-top-color: #E4E1F2"],
html[data-theme="dark"] [style*="border-top-color: #e4e1f2"],
html[data-theme="dark"] [style*="border-top-color: rgb(228, 225, 242)"],
html[data-theme="dark"] [style*="border-top-color: #F0F0F3"],
html[data-theme="dark"] [style*="border-top-color: #f0f0f3"],
html[data-theme="dark"] [style*="border-top-color: rgb(240, 240, 243)"],
html[data-theme="dark"] [style*="border-top-color: #EDEDF0"],
html[data-theme="dark"] [style*="border-top-color: #ededf0"],
html[data-theme="dark"] [style*="border-top-color: rgb(237, 237, 240)"],
html[data-theme="dark"] [style*="border-top-color: #E7E5F4"],
html[data-theme="dark"] [style*="border-top-color: #e7e5f4"],
html[data-theme="dark"] [style*="border-top-color: rgb(231, 229, 244)"],
html[data-theme="dark"] [style*="border-top-color: #F2F2F5"],
html[data-theme="dark"] [style*="border-top-color: #f2f2f5"],
html[data-theme="dark"] [style*="border-top-color: rgb(242, 242, 245)"],
html[data-theme="dark"] [style*="border-bottom-color: #E4E4E8"],
html[data-theme="dark"] [style*="border-bottom-color: #e4e4e8"],
html[data-theme="dark"] [style*="border-bottom-color: rgb(228, 228, 232)"],
html[data-theme="dark"] [style*="border-bottom-color: #EBEBEE"],
html[data-theme="dark"] [style*="border-bottom-color: #ebebee"],
html[data-theme="dark"] [style*="border-bottom-color: rgb(235, 235, 238)"],
html[data-theme="dark"] [style*="border-bottom-color: #EFEFF2"],
html[data-theme="dark"] [style*="border-bottom-color: #efeff2"],
html[data-theme="dark"] [style*="border-bottom-color: rgb(239, 239, 242)"],
html[data-theme="dark"] [style*="border-bottom-color: #EFEDF8"],
html[data-theme="dark"] [style*="border-bottom-color: #efedf8"],
html[data-theme="dark"] [style*="border-bottom-color: rgb(239, 237, 248)"],
html[data-theme="dark"] [style*="border-bottom-color: #E2DFD5"],
html[data-theme="dark"] [style*="border-bottom-color: #e2dfd5"],
html[data-theme="dark"] [style*="border-bottom-color: rgb(226, 223, 213)"],
html[data-theme="dark"] [style*="border-bottom-color: #EDEAE0"],
html[data-theme="dark"] [style*="border-bottom-color: #edeae0"],
html[data-theme="dark"] [style*="border-bottom-color: rgb(237, 234, 224)"],
html[data-theme="dark"] [style*="border-bottom-color: #E4E1F2"],
html[data-theme="dark"] [style*="border-bottom-color: #e4e1f2"],
html[data-theme="dark"] [style*="border-bottom-color: rgb(228, 225, 242)"],
html[data-theme="dark"] [style*="border-bottom-color: #F0F0F3"],
html[data-theme="dark"] [style*="border-bottom-color: #f0f0f3"],
html[data-theme="dark"] [style*="border-bottom-color: rgb(240, 240, 243)"],
html[data-theme="dark"] [style*="border-bottom-color: #EDEDF0"],
html[data-theme="dark"] [style*="border-bottom-color: #ededf0"],
html[data-theme="dark"] [style*="border-bottom-color: rgb(237, 237, 240)"],
html[data-theme="dark"] [style*="border-bottom-color: #E7E5F4"],
html[data-theme="dark"] [style*="border-bottom-color: #e7e5f4"],
html[data-theme="dark"] [style*="border-bottom-color: rgb(231, 229, 244)"],
html[data-theme="dark"] [style*="border-bottom-color: #F2F2F5"],
html[data-theme="dark"] [style*="border-bottom-color: #f2f2f5"],
html[data-theme="dark"] [style*="border-bottom-color: rgb(242, 242, 245)"] { border-color: rgba(255,255,255,.15) !important; }

/* ── translucent chrome (sticky header, mobile sheet) ───
   Any white-alpha BACKGROUND becomes the dark equivalent; borders
   and shadows built from white alpha are deliberately left alone. */
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, 0.5)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, 0.5)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,0.5)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,0.5)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, .5)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, .5)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,.5)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,.5)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, 0.55)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, 0.55)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,0.55)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,0.55)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, .55)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, .55)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,.55)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,.55)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, 0.6)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, 0.6)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,0.6)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,0.6)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, .6)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, .6)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,.6)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,.6)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, 0.62)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, 0.62)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,0.62)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,0.62)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, .62)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, .62)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,.62)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,.62)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, 0.65)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, 0.65)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,0.65)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,0.65)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, .65)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, .65)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,.65)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,.65)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, 0.68)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, 0.68)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,0.68)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,0.68)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, .68)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, .68)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,.68)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,.68)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, 0.7)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, 0.7)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,0.7)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,0.7)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, .7)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, .7)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,.7)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,.7)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, 0.72)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, 0.72)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,0.72)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,0.72)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, .72)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, .72)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,.72)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,.72)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, 0.74)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, 0.74)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,0.74)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,0.74)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, .74)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, .74)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,.74)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,.74)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, 0.75)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, 0.75)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,0.75)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,0.75)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, .75)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, .75)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,.75)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,.75)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, 0.76)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, 0.76)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,0.76)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,0.76)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, .76)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, .76)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,.76)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,.76)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, 0.78)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, 0.78)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,0.78)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,0.78)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, .78)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, .78)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,.78)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,.78)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, 0.8)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, 0.8)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,0.8)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,0.8)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, .8)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, .8)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,.8)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,.8)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, 0.82)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, 0.82)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,0.82)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,0.82)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, .82)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, .82)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,.82)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,.82)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, 0.84)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, 0.84)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,0.84)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,0.84)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, .84)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, .84)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,.84)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,.84)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, 0.85)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, 0.85)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,0.85)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,0.85)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, .85)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, .85)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,.85)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,.85)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, 0.86)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, 0.86)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,0.86)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,0.86)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, .86)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, .86)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,.86)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,.86)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, 0.88)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, 0.88)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,0.88)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,0.88)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, .88)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, .88)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,.88)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,.88)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, 0.9)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, 0.9)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,0.9)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,0.9)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, .9)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, .9)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,.9)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,.9)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, 0.92)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, 0.92)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,0.92)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,0.92)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, .92)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, .92)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,.92)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,.92)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, 0.94)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, 0.94)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,0.94)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,0.94)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, .94)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, .94)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,.94)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,.94)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, 0.95)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, 0.95)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,0.95)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,0.95)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, .95)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, .95)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,.95)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,.95)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, 0.96)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, 0.96)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,0.96)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,0.96)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, .96)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, .96)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,.96)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,.96)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, 0.98)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, 0.98)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,0.98)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,0.98)"],
html[data-theme="dark"] [style*="background: rgba(255, 255, 255, .98)"],
html[data-theme="dark"] [style*="background-color: rgba(255, 255, 255, .98)"],
html[data-theme="dark"] [style*="background: rgba(255,255,255,.98)"],
html[data-theme="dark"] [style*="background-color: rgba(255,255,255,.98)"] { background: rgba(23,23,26,.9) !important; }

html[data-theme="dark"] [style*="rgba(16, 16, 30"],
html[data-theme="dark"] [style*="rgba(16,16,30"] { box-shadow: 0 1px 2px rgba(0,0,0,.55), 0 14px 38px rgba(0,0,0,.5) !important; }

/* ── details ──────────────────────────────────────────── */
html[data-theme="dark"] img { filter: none !important; }
html[data-theme="dark"] [style*="position: fixed"][style*="z-index: 0"] { opacity: 1.4; }
html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select { background: #202024 !important; color: #F4F3F7 !important; border-color: rgba(255,255,255,.15) !important; }
html[data-theme="dark"] input::placeholder { color: #7E7E88 !important; }
html[data-theme="dark"] .th-light { display: none; }
html:not([data-theme="dark"]) .th-dark { display: none; }

/* page ground — last so it outranks the surface-substring rules */
html[data-theme="dark"] body > .om-shell,
html[data-theme="dark"] body > .shell,
html[data-theme="dark"] #root > .om-shell,
html[data-theme="dark"] #root > .shell,
html[data-theme="dark"] .om-shell.om-shell,
html[data-theme="dark"] .shell.shell { background: #0B0B0C !important; color: #F4F3F7 !important; }

/* stragglers: tinted hairlines authored outside the neutral set */
html[data-theme="dark"] [style*="border: 1px solid rgb(221, 228, 222)"],
html[data-theme="dark"] [style*="border: 1px solid #DDE4DE"],
html[data-theme="dark"] [style*="border: 1px solid #dde4de"] { border-color: rgba(255,255,255,.15) !important; }

/* ── gradient-washed surfaces ─────────────────────────────
   Flat-colour substring rules can't see linear-gradient(),
   so light washes are tagged data-surface="soft" in the templates. */
html[data-theme="dark"] [data-surface="soft"] {
  background-image: none !important;
  background-color: #202024 !important;
  border: 1px solid rgba(255,255,255,.12) !important;
}

/* accents that were tuned for a light ground */
html[data-theme="dark"] [style*="color: #7A6BB0"],
html[data-theme="dark"] [style*="color: rgb(122, 107, 176)"],
html[data-theme="dark"] [style*="color: #3F6249"],
html[data-theme="dark"] [style*="color: rgb(63, 98, 73)"],
html[data-theme="dark"] [style*="color: #6B5BA8"],
html[data-theme="dark"] [style*="color: #9A93BA"],
html[data-theme="dark"] [style*="color: #6F65A8"],
html[data-theme="dark"] [style*="color: rgb(111, 101, 168)"],
html[data-theme="dark"] [style*="color: #7A6BB0"] { color: #B7AEE6 !important; }

/* solid accent buttons: white ink needs a deeper violet on dark */
html[data-theme="dark"] [style*="background: #6D6AF0"],
html[data-theme="dark"] [style*="background: rgb(109, 106, 240)"] { background: #5B57DC !important; }

/* bento copy: colours tuned against the light washes need lifting on dark */
html[data-theme="dark"] [data-surface="soft"] [style*="color: #5C5566"],
html[data-theme="dark"] [data-surface="soft"] [style*="color: rgb(92, 85, 102)"],
html[data-theme="dark"] [data-surface="soft"] [style*="color: rgb(85, 84, 107)"],
html[data-theme="dark"] [data-surface="soft"] [style*="color: rgb(78, 92, 82)"],
html[data-theme="dark"] [data-surface="soft"] [style*="color: rgb(100, 117, 106)"] { color: #ADADB6 !important; }

html[data-theme="dark"] [data-surface="soft"] [style*="color: rgb(122, 75, 166)"],
html[data-theme="dark"] [data-surface="soft"] [style*="color: rgb(75, 72, 196)"],
html[data-theme="dark"] [data-surface="soft"] [style*="color: rgb(63, 98, 73)"] { color: #B7AEE6 !important; }

/* ── horoscope: pastel aspect cards ───────────────────────
   Their tint arrives through a template hole, so the surface is
   neutralised by class and the accent is kept on the icon only. */
html[data-theme="dark"] .area-card { background: #202024 !important; }
html[data-theme="dark"] .area-card [style*="border-top: 1px solid rgba(19, 19, 22, 0.1)"],
html[data-theme="dark"] .area-card [style*="border-top: 1px solid rgba(19,19,22,.1)"] { border-color: rgba(255,255,255,.14) !important; }
html[data-theme="dark"] [style*="color: #4A4A52"],
html[data-theme="dark"] [style*="color: rgb(74, 74, 82)"] { color: #ADADB6 !important; }

/* tinted hairlines used as section rules */
html[data-theme="dark"] [style*="border-bottom: 1px solid #EAE7F5"],
html[data-theme="dark"] [style*="border-bottom: 1px solid rgb(234, 231, 245)"],
html[data-theme="dark"] [style*="border-top: 1px solid #EAE7F5"],
html[data-theme="dark"] [style*="border-top: 1px solid rgb(234, 231, 245)"],
html[data-theme="dark"] [style*="border: 1px solid #EAE7F5"],
html[data-theme="dark"] [style*="border: 1px solid rgb(234, 231, 245)"] { border-color: rgba(255,255,255,.13) !important; }

/* deep-violet display type inherits colour from its wrapper */
html[data-theme="dark"] [style*="color: #4B48C4"],
html[data-theme="dark"] [style*="color: rgb(75, 72, 196)"],
html[data-theme="dark"] [style*="color: #4B47D6"],
html[data-theme="dark"] [style*="color: rgb(75, 71, 214)"] { color: #A9A7FF !important; }

/* hairlines drawn as 1px blocks rather than borders */
html[data-theme="dark"] [style*="height: 1px"][style*="background: #E4E4E8"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: #E4E4E8"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: #E4E4E8"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: #e4e4e8"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: #e4e4e8"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: #e4e4e8"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: rgb(228, 228, 232)"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: rgb(228, 228, 232)"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: rgb(228, 228, 232)"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: #EBEBEE"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: #EBEBEE"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: #EBEBEE"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: #ebebee"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: #ebebee"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: #ebebee"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: rgb(235, 235, 238)"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: rgb(235, 235, 238)"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: rgb(235, 235, 238)"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: #EFEFF2"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: #EFEFF2"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: #EFEFF2"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: #efeff2"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: #efeff2"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: #efeff2"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: rgb(239, 239, 242)"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: rgb(239, 239, 242)"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: rgb(239, 239, 242)"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: #EFEDF8"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: #EFEDF8"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: #EFEDF8"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: #efedf8"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: #efedf8"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: #efedf8"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: rgb(239, 237, 248)"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: rgb(239, 237, 248)"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: rgb(239, 237, 248)"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: #E2DFD5"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: #E2DFD5"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: #E2DFD5"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: #e2dfd5"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: #e2dfd5"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: #e2dfd5"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: rgb(226, 223, 213)"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: rgb(226, 223, 213)"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: rgb(226, 223, 213)"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: #EDEAE0"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: #EDEAE0"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: #EDEAE0"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: #edeae0"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: #edeae0"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: #edeae0"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: rgb(237, 234, 224)"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: rgb(237, 234, 224)"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: rgb(237, 234, 224)"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: #E4E1F2"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: #E4E1F2"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: #E4E1F2"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: #e4e1f2"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: #e4e1f2"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: #e4e1f2"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: rgb(228, 225, 242)"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: rgb(228, 225, 242)"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: rgb(228, 225, 242)"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: #F0F0F3"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: #F0F0F3"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: #F0F0F3"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: #f0f0f3"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: #f0f0f3"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: #f0f0f3"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: rgb(240, 240, 243)"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: rgb(240, 240, 243)"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: rgb(240, 240, 243)"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: #EDEDF0"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: #EDEDF0"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: #EDEDF0"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: #ededf0"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: #ededf0"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: #ededf0"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: rgb(237, 237, 240)"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: rgb(237, 237, 240)"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: rgb(237, 237, 240)"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: #E7E5F4"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: #E7E5F4"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: #E7E5F4"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: #e7e5f4"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: #e7e5f4"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: #e7e5f4"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: rgb(231, 229, 244)"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: rgb(231, 229, 244)"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: rgb(231, 229, 244)"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: #F2F2F5"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: #F2F2F5"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: #F2F2F5"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: #f2f2f5"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: #f2f2f5"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: #f2f2f5"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: rgb(242, 242, 245)"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: rgb(242, 242, 245)"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: rgb(242, 242, 245)"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: #EAE7F5"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: #EAE7F5"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: #EAE7F5"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: #eae7f5"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: #eae7f5"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: #eae7f5"],
html[data-theme="dark"] [style*="height: 1px"][style*="background: rgb(234, 231, 245)"],
html[data-theme="dark"] [style*="height: 2px"][style*="background: rgb(234, 231, 245)"],
html[data-theme="dark"] [style*="width: 1px"][style*="background: rgb(234, 231, 245)"] { background: rgba(255,255,255,.13) !important; }

/* split border shorthands (border-color: currentcolor <c> <c>) */
html[data-theme="dark"] [style*="border-color: currentcolor #E4E4E8"],
html[data-theme="dark"] [style*="border-color: currentcolor #e4e4e8"],
html[data-theme="dark"] [style*="border-color: currentcolor rgb(228, 228, 232)"],
html[data-theme="dark"] [style*="border-color: currentcolor #EBEBEE"],
html[data-theme="dark"] [style*="border-color: currentcolor #ebebee"],
html[data-theme="dark"] [style*="border-color: currentcolor rgb(235, 235, 238)"],
html[data-theme="dark"] [style*="border-color: currentcolor #EFEFF2"],
html[data-theme="dark"] [style*="border-color: currentcolor #efeff2"],
html[data-theme="dark"] [style*="border-color: currentcolor rgb(239, 239, 242)"],
html[data-theme="dark"] [style*="border-color: currentcolor #EFEDF8"],
html[data-theme="dark"] [style*="border-color: currentcolor #efedf8"],
html[data-theme="dark"] [style*="border-color: currentcolor rgb(239, 237, 248)"],
html[data-theme="dark"] [style*="border-color: currentcolor #E2DFD5"],
html[data-theme="dark"] [style*="border-color: currentcolor #e2dfd5"],
html[data-theme="dark"] [style*="border-color: currentcolor rgb(226, 223, 213)"],
html[data-theme="dark"] [style*="border-color: currentcolor #EDEAE0"],
html[data-theme="dark"] [style*="border-color: currentcolor #edeae0"],
html[data-theme="dark"] [style*="border-color: currentcolor rgb(237, 234, 224)"],
html[data-theme="dark"] [style*="border-color: currentcolor #E4E1F2"],
html[data-theme="dark"] [style*="border-color: currentcolor #e4e1f2"],
html[data-theme="dark"] [style*="border-color: currentcolor rgb(228, 225, 242)"],
html[data-theme="dark"] [style*="border-color: currentcolor #F0F0F3"],
html[data-theme="dark"] [style*="border-color: currentcolor #f0f0f3"],
html[data-theme="dark"] [style*="border-color: currentcolor rgb(240, 240, 243)"],
html[data-theme="dark"] [style*="border-color: currentcolor #EDEDF0"],
html[data-theme="dark"] [style*="border-color: currentcolor #ededf0"],
html[data-theme="dark"] [style*="border-color: currentcolor rgb(237, 237, 240)"],
html[data-theme="dark"] [style*="border-color: currentcolor #E7E5F4"],
html[data-theme="dark"] [style*="border-color: currentcolor #e7e5f4"],
html[data-theme="dark"] [style*="border-color: currentcolor rgb(231, 229, 244)"],
html[data-theme="dark"] [style*="border-color: currentcolor #F2F2F5"],
html[data-theme="dark"] [style*="border-color: currentcolor #f2f2f5"],
html[data-theme="dark"] [style*="border-color: currentcolor rgb(242, 242, 245)"],
html[data-theme="dark"] [style*="border-color: currentcolor #EAE7F5"],
html[data-theme="dark"] [style*="border-color: currentcolor #eae7f5"],
html[data-theme="dark"] [style*="border-color: currentcolor rgb(234, 231, 245)"] { border-color: currentcolor rgba(255,255,255,.15) rgba(255,255,255,.15) !important; }

/* keyword pills — exact values the template emits.
   Upright keeps a violet ink, reversed keeps rose, so the two
   groups stay distinguishable the way they do in the light theme. */
html[data-theme="dark"] [style*="background: #F4F3FF"],
html[data-theme="dark"] [style*="background: #f4f3ff"],
html[data-theme="dark"] [style*="background: rgb(244, 243, 255)"],
html[data-theme="dark"] [style*="background: #FFF4F7"],
html[data-theme="dark"] [style*="background: #fff4f7"],
html[data-theme="dark"] [style*="background: rgb(255, 244, 247)"],
html[data-theme="dark"] [style*="background: #EFEEFF"],
html[data-theme="dark"] [style*="background: #efeeff"],
html[data-theme="dark"] [style*="background: rgb(239, 238, 255)"],
html[data-theme="dark"] [style*="background: #FFE9EF"],
html[data-theme="dark"] [style*="background: #ffe9ef"],
html[data-theme="dark"] [style*="background: rgb(255, 233, 239)"] { background: rgba(255,255,255,.07) !important; }

html[data-theme="dark"] [style*="border: 1px solid #E3E1FA"],
html[data-theme="dark"] [style*="border: 1px solid #e3e1fa"],
html[data-theme="dark"] [style*="border: 1px solid rgb(227, 225, 250)"],
html[data-theme="dark"] [style*="border: 1px solid #FAD9E3"],
html[data-theme="dark"] [style*="border: 1px solid #fad9e3"],
html[data-theme="dark"] [style*="border: 1px solid rgb(250, 217, 227)"] { border-color: rgba(255,255,255,.16) !important; }

html[data-theme="dark"] [style*="color: #3B379E"],
html[data-theme="dark"] [style*="color: #3b379e"],
html[data-theme="dark"] [style*="color: rgb(59, 55, 158)"] { color: #C9C6FF !important; }

html[data-theme="dark"] [style*="color: #A80049"],
html[data-theme="dark"] [style*="color: #a80049"],
html[data-theme="dark"] [style*="color: rgb(168, 0, 73)"] { color: #FFB3C7 !important; }

/* life-area labels sit on a near-black ink tuned for light cards */
html[data-theme="dark"] [style*="color: #0E1127"],
html[data-theme="dark"] [style*="color: rgb(14, 17, 39)"],
html[data-theme="dark"] [style*="color: #1A1633"],
html[data-theme="dark"] [style*="color: rgb(26, 22, 51)"] { color: #F4F3F7 !important; }

/* horoscope aspect cards: quieter outline on dark */
html[data-theme="dark"] .area-card { border-color: rgba(255,255,255,.08) !important; }

/* deck hover must not flash a light plate on dark */
html[data-theme="dark"] .deck-grid > a:hover { background: rgba(255,255,255,.05) !important; }

/* store buttons that sit on an authored-dark ground must stay a light plate */
html[data-theme="dark"] .btn-light { background: #fff !important; color: #131316 !important; }
html[data-theme="dark"] .btn-light:hover { background: #E9E8FF !important; }

/* footer and CTA calls-to-action read as white plates on dark */
html[data-theme="dark"] footer [style*="background: rgb(91, 87, 220)"],
html[data-theme="dark"] footer [style*="background: #5B57DC"],
html[data-theme="dark"] .mid-cta [style*="background: rgb(91, 87, 220)"],
html[data-theme="dark"] .mid-cta [style*="background: #5B57DC"],
html[data-theme="dark"] #get [style*="background: rgb(91, 87, 220)"],
html[data-theme="dark"] #get [style*="background: #5B57DC"],
html[data-theme="dark"] .m-bar [style*="background: rgb(91, 87, 220)"],
html[data-theme="dark"] .m-bar [style*="background: #5B57DC"] {
  background: #fff !important; color: #131316 !important; box-shadow: none !important;
}
html[data-theme="dark"] footer [style*="background: rgb(91, 87, 220)"]:hover,
html[data-theme="dark"] .mid-cta [style*="background: rgb(91, 87, 220)"]:hover,
html[data-theme="dark"] #get [style*="background: rgb(91, 87, 220)"]:hover,
html[data-theme="dark"] .m-bar [style*="background: rgb(91, 87, 220)"]:hover { background: #E9E8FF !important; }

/* store buttons: white plates in dark mode so both are equally visible */
html[data-theme="dark"] .btn-store {
  background: #fff !important; color: #131316 !important;
  border-color: #fff !important; box-shadow: none !important;
}
html[data-theme="dark"] .btn-store:hover { background: #E9E8FF !important; }

/* store glyphs sit on a white plate in dark mode, so they must be dark */
html[data-theme="dark"] .btn-store svg path,
html[data-theme="dark"] .btn-store-icon svg path { fill: #131316 !important; }

/* header icon pills: authored near-black, which the surface rule maps
   onto the header itself — give them the same white plate */
html[data-theme="dark"] .btn-store-icon { background: #fff !important; }
html[data-theme="dark"] .btn-store-icon:hover { background: #E9E8FF !important; }

/* aspect cards own their surface — the keyword-pill fill rule must not
   claim #FFE9EF here, which made the Love card lighter than the rest */
html[data-theme="dark"] .area-card.area-card { background: #202024 !important; }

/* card-art placeholders: keep the weave readable on the dark ground */
html[data-theme="dark"] [style*="repeating-linear-gradient(135deg, rgba(109,106,240,.13)"],
html[data-theme="dark"] [style*="repeating-linear-gradient(135deg, rgba(109,106,240,.14)"],
html[data-theme="dark"] [style*="repeating-linear-gradient(135deg, rgba(109, 106, 240, 0.13)"],
html[data-theme="dark"] [style*="repeating-linear-gradient(135deg, rgba(109, 106, 240, 0.14)"] {
  background-color: #1C1B24 !important;
  background-image: none !important;
}
