/* 夜间模式（店主 11-09 对标同行顶栏的月亮按钮）。只在 html[data-theme="dark"] 时生效，开关在顶栏，选择存在 localStorage。
   这个文件由 /tmp 下的 gen-dark.py 生成：最上面是手写的颜色变量，中间是按浅色样式自动换算的规则，最后是手工修正 */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121110;
  --card: #1c1b19;
  --ink: #ecebe7;
  --ink-2: #c4c0b8;
  --ink-3: #a09b91;
  --ink-4: #4c4942;
  --placeholder: #7a766d;
  --line: #2f2d29;
  --line-2: #262421;
  --accent: #e07a55;
  --accent-soft: rgba(224, 122, 85, .18);
  --ok: #5cc48a;
  --ok-bg: #15281d;
  --warn: #e3a54d;
  --warn-bg: #2c2112;
  --err: #f07a6e;
  --err-bg: #301816;
  --info: #7fabec;
  --info-bg: #16202f;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
}
html[data-theme="dark"] body { background: var(--bg); color: var(--ink); }
html[data-theme="dark"] ::placeholder { color: var(--placeholder); }
html[data-theme="dark"] ::backdrop { background: rgba(0, 0, 0, .6); }

/* ---- 下面由脚本按浅色样式生成：浅底变深底、深字变浅字，彩色保留色相 ---- */
html[data-theme="dark"] .notice { color: #dbd6c7; }
html[data-theme="dark"] .top { background: rgba(18, 17, 15, 0.86); }
html[data-theme="dark"] .nav a:hover, html[data-theme="dark"] .nav-btn:hover { background: rgba(236, 233, 226, 0.08); }
html[data-theme="dark"] .nav .tg-group { color: #67bee9; }
html[data-theme="dark"] .btn.primary { color: #1b1b1b; }
html[data-theme="dark"] .btn.primary:hover { background: #c4c2bc; }
html[data-theme="dark"] .btn.danger { border-color: #3d2420; }
html[data-theme="dark"] .icon-btn:hover { background: rgba(236, 233, 226, 0.096); }
html[data-theme="dark"] .copy:hover { background: rgba(236, 233, 226, 0.096); }
html[data-theme="dark"] .plan:has(input:checked) .radio-dot { color: #1b1b1b; }
html[data-theme="dark"] .group-qr { background: #d3d3d3; }
html[data-theme="dark"] .review-img { background: #cfcfcf; }
html[data-theme="dark"] .viewer { background: #cfcfcf; }
html[data-theme="dark"] .viewer::backdrop { background: rgba(236, 233, 226, 0.9); }
html[data-theme="dark"] .viewer-close { background: rgba(236, 233, 226, 0.88); color: #1b1b1b; }
html[data-theme="dark"] .viewer-close:hover { background: rgba(236, 233, 226, 0.9); color: #1b1b1b; }
html[data-theme="dark"] .qr { background: #1b1b1b; }
html[data-theme="dark"] .pay-off { color: var(--muted, #959595); }
html[data-theme="dark"] .btn.alipay-btn { color: #1b1b1b; }
html[data-theme="dark"] .upay { background: #231e1d; }
html[data-theme="dark"] .upay-title { color: #e36d6d; }
html[data-theme="dark"] .upay-title small { color: #e27c6f; }
html[data-theme="dark"] .upay-list li { color: #c89588; }
html[data-theme="dark"] .upay-list li::before { color: #1b1b1b; }
html[data-theme="dark"] .upay-list b { color: #ca9686; }
html[data-theme="dark"] .copy-text.copied { border-color: #2a3d31; }
html[data-theme="dark"] .next-steps-phase { color: #d2b17e; }
html[data-theme="dark"] .login-flow-steps p { color: #c8c6c0; }
html[data-theme="dark"] .login-flow-figure img { border: 1px solid #38362f; background: #1b1b1b; }
html[data-theme="dark"] .login-flow-figure figcaption { color: #838077; }
html[data-theme="dark"] .login-flow-note { background: #23221e; border: 1px solid #2e2c27; color: #c8c6c0; }
html[data-theme="dark"] .flow-gate-steps li[aria-current] { color: #1b1b1b; }
html[data-theme="dark"] .prep > li::before { color: #1b1b1b; }
html[data-theme="dark"] .recent-list a:hover { background: #22201d; }
html[data-theme="dark"] .contact::backdrop { background: rgba(236, 233, 226, 0.512); }
html[data-theme="dark"] .contact-tg { color: #1b1b1b; }
html[data-theme="dark"] .toast { color: #1b1b1b; }
html[data-theme="dark"] .btn.is-loading::before { border: 2px solid rgba(18, 17, 15, 0.35); border-top-color: #1b1b1b; }
html[data-theme="dark"] .btn.ghost.is-loading::before, html[data-theme="dark"] .btn.text.is-loading::before { border-color: rgba(236, 233, 226, 0.288); }
html[data-theme="dark"] .btn.primary.is-loading:disabled { color: #1b1b1b; }
html[data-theme="dark"] .bu-must { color: #db8176; }
html[data-theme="dark"] .bu-must li { color: #db8176; }
html[data-theme="dark"] .bu-fast { background: #1f302f; border: 1px solid #263836; color: #81d0cb; }
html[data-theme="dark"] .bu-fast h2 { color: #78d9d3; }
html[data-theme="dark"] .bu-fast li { color: #81d0cb; }
html[data-theme="dark"] .bu-fast b { color: #78d9d3; }
html[data-theme="dark"] .bu-toc a span { color: #1b1b1b; }
html[data-theme="dark"] .bu-shot img { background: #e7e7e7; }
html[data-theme="dark"] .ticket-fx-bg { background: rgba(236, 233, 226, 0.736); }
html[data-theme="dark"] .ticket-main, html[data-theme="dark"] .ticket-stub { background: #201f1c; }
html[data-theme="dark"] .ticket-main::after { border-bottom: 2px dashed #39342a; }
html[data-theme="dark"] .ticket-stamp { color: #e07f71; }
html[data-theme="dark"] .ticket-caption { color: #1b1b1b; }
html[data-theme="dark"] .kefu-fab { background: #d3d1cc; color: #1b1b1b; }
@media (hover: hover) { html[data-theme="dark"] .kefu-fab:hover { background: #e7e7e7; } }
html[data-theme="dark"] .kefu .kefu-lead { color: var(--muted, #99968d); }
html[data-theme="dark"] .kefu-pick { border: 1px solid #393731; background: #1b1b1b; }
html[data-theme="dark"] .kefu-pick small { color: #939086; }
@media (hover: hover) { html[data-theme="dark"] .kefu-pick:hover { border-color: #d3d1cc; background: #23231d; } }
html[data-theme="dark"] .kefu-back { color: #adaaa1; }
html[data-theme="dark"] .kefu-sub { color: #939086; }
html[data-theme="dark"] .kefu-order { border: 1px solid #393731; background: #1b1b1b; }
html[data-theme="dark"] .kefu-order small { color: #939086; }
@media (hover: hover) { html[data-theme="dark"] .kefu-order:hover { border-color: #d3d1cc; } }
html[data-theme="dark"] .kefu-form .hint { color: #939086; }
html[data-theme="dark"] .web-pickup-spin { border: 2px solid rgba(236, 233, 226, 0.24); }
html[data-theme="dark"] .kefu-groups { border-top: 1px solid #302f29; }
html[data-theme="dark"] .kefu-group { border: 1px solid #393731; background: #1b1b1b; }
html[data-theme="dark"] .kefu-group .i { color: #67bde9; }
html[data-theme="dark"] .kefu-group-end { color: #848177; }
@media (hover: hover) { html[data-theme="dark"] .kefu-group:hover { border-color: #d3d1cc; } }
html[data-theme="dark"] .kefu-faq details { border-bottom: 1px solid #302f29; }
html[data-theme="dark"] .kefu-faq summary::after { color: #848177; }
html[data-theme="dark"] .kefu-faq p { color: #a7a39b; }
html[data-theme="dark"] .guide-tabs { background: #33302b; }
html[data-theme="dark"] .top .nav { background: rgba(236, 233, 226, 0.088); }
html[data-theme="dark"] .top .nav > a:hover, html[data-theme="dark"] .top .nav > .nav-btn:hover { background: rgba(18, 17, 15, 0.75); }
html[data-theme="dark"] .nav-me { color: #1b1b1b; }
html[data-theme="dark"] .nav-me:hover { background: #e7e7e7; }
html[data-theme="dark"] .site-search-hot a { background: rgba(236, 233, 226, 0.088); }
html[data-theme="dark"] .site-search-hot a:hover { background: rgba(236, 233, 226, 0.144); }
html[data-theme="dark"] .store-eyebrow { color: #8f8e87; }
html[data-theme="dark"] .store-text-link { color: #c1c1ba; }
html[data-theme="dark"] .store-agent-card { color: #d4ab7d; }
html[data-theme="dark"] .store-agent-tag { color: #f1d49d; }
html[data-theme="dark"] .store-agent-sub { color: #c8af89; }
html[data-theme="dark"] .store-agent-row { background: rgba(18, 17, 15, 0.78); }
html[data-theme="dark"] .store-agent-row-head { color: #bfad91; }
html[data-theme="dark"] .store-agent-name small { color: #bfad91; }
html[data-theme="dark"] .store-agent-row s { color: #867f72; text-decoration-color: #c4b48f; }
html[data-theme="dark"] .store-agent-row em { color: #67e9a7; background: #1e3526; }
html[data-theme="dark"] .store-agent-price small { color: #c8af89; }
html[data-theme="dark"] .store-agent-cta { color: #f4deaf; }
html[data-theme="dark"] .store-promo-timer > span { color: #1b1b1b; border: 1px solid rgba(65, 43, 24, 0.35); }
html[data-theme="dark"] .store-promo-timer small { color: #f4c7af; }
html[data-theme="dark"] .is-over .store-promo-timer > span { color: #f4c7af; }
html[data-theme="dark"] .store-promo-was, html[data-theme="dark"] .store-was, html[data-theme="dark"] .store-row-was, html[data-theme="dark"] .store-pill-was, html[data-theme="dark"] .store-item-was { color: #79746a; text-decoration-color: #605c52; }
html[data-theme="dark"] .store-tag.is-promo { color: #e98867; background: #392316; border-color: #44291a; }
html[data-theme="dark"] .store-cat-icon.is-bolt { background: #392316; }
html[data-theme="dark"] .store-cat-icon.is-bolt svg { fill: #e58c6c; }
html[data-theme="dark"] .store-row-price.is-promo { color: #e98867; }
html[data-theme="dark"] .store-pill-price.is-promo { color: #e98867; border-color: #44291a; background: #252220; }
html[data-theme="dark"] .store-item-price.is-promo strong { color: #e98867; }
html[data-theme="dark"] .store-item-promo { color: #e98867; background: #392316; border: 1px solid #44291a; }
html[data-theme="dark"] .store-item-promo svg { fill: #e58c6c; }
html[data-theme="dark"] .store-side { background: #1b1b1b; border: 1px solid #38362f; }
html[data-theme="dark"] .store-cat { color: #cbcac3; }
html[data-theme="dark"] .store-cat:hover { background: #282722; }
html[data-theme="dark"] .store-cat[aria-pressed=true] { background: #1b1b1b; border-color: #413f37; }
html[data-theme="dark"] .store-cat-icon.is-svg, html[data-theme="dark"] .store-cat-icon.is-star { background: #2c2a23; }
html[data-theme="dark"] .store-cat-icon.is-svg svg { fill: #aba7a0; }
html[data-theme="dark"] .store-cat-icon.is-star { background: #3a3116; }
html[data-theme="dark"] .store-cat-icon.is-star svg { fill: #e9c167; }
html[data-theme="dark"] .store-cat-count { color: #99968d; background: #2c2a23; }
html[data-theme="dark"] .store-main { background: #1b1b1b; border: 1px solid #38362f; }
html[data-theme="dark"] .store-main-head { border-bottom: 1px solid #2e2c27; }
html[data-theme="dark"] .store-search { border: 1px solid #413f37; background: #1b1b1b; color: #827f77; }
html[data-theme="dark"] .store-search input { color: #cfcfc9; }
html[data-theme="dark"] .store-search button { background: #dbdbd8; color: #1b1b1b; }
html[data-theme="dark"] .store-search:focus-within { border-color: #b6b6ac; }
html[data-theme="dark"] .store-list-head { background: #23221e; border-bottom: 1px solid #2e2c27; color: #827f77; }
html[data-theme="dark"] .store-sort { background: #312f2a; }
html[data-theme="dark"] .store-sort button { color: #99968d; }
html[data-theme="dark"] .store-sort button[aria-pressed=true] { background: #1b1b1b; color: #d3d3ce; }
html[data-theme="dark"] .store-row { border-bottom: 1px solid #2d2c27; }
html[data-theme="dark"] .store-row:hover { background: #22211d; }
html[data-theme="dark"] .store-tag { color: #82cf9f; background: #1f2f25; border: 1px solid #243429; }
html[data-theme="dark"] .store-tag.is-hot { color: #e89b69; background: #292623; border-color: #402d1b; }
html[data-theme="dark"] .store-tag.is-usdt { color: #77d9d4; background: #1f302f; border-color: #263836; }
html[data-theme="dark"] .store-tag.is-agent { color: #a9b8ee; background: #20253a; border-color: #2b3350; }
html[data-theme="dark"] .store-row-usdt { color: #77d9d4; }
html[data-theme="dark"] .store-usdt { color: #77d9d4; background: #1f302f; border: 1px solid #263836; }
html[data-theme="dark"] .store-official { color: #b7b4ad; background: #2d2b22; border: 1px solid #3c3a33; }
html[data-theme="dark"] .store-row-price small { color: #827f77; }
html[data-theme="dark"] .store-row-price em { color: #827f77; }
html[data-theme="dark"] .store-row-stock { color: #827f77; }
html[data-theme="dark"] .store-row-stock.is-ok { color: #82cf9f; }
html[data-theme="dark"] .store-row-buy { background: #dbdbd8; color: #1b1b1b; }
html[data-theme="dark"] .store-row.is-off .store-row-buy { background: #302f29; color: #928f86; }
html[data-theme="dark"] .store-no-results { color: #888888; }
html[data-theme="dark"] .store-result-count { color: #828276; border-top: 1px solid #2d2c27; }
html[data-theme="dark"] .store-help { border-top: 1px solid #3f3e35; }
html[data-theme="dark"] .store-help p:not(.store-eyebrow) { color: #89897b; }
html[data-theme="dark"] .store-faq { border-top: 1px solid #3f3e35; }
html[data-theme="dark"] .store-faq details { border-bottom: 1px solid #3a3931; }
html[data-theme="dark"] .store-faq p { color: #969689; }
html[data-theme="dark"] .store-crumbs { color: #77746a; }
html[data-theme="dark"] .store-back { background: #1b1b1b; border: 1px solid #413f37; color: #cfcfc9 !important; }
html[data-theme="dark"] .store-back:hover { border-color: #757066; }
html[data-theme="dark"] .store-crumbs a { color: #9c9890; }
html[data-theme="dark"] .store-crumbs a:hover { color: #d7d5d1; }
html[data-theme="dark"] .store-item-price small { color: #918e86; }
html[data-theme="dark"] .store-item-state { color: #86837b; background: #302f29; }
html[data-theme="dark"] .store-order legend { color: #b7b4ad; }
html[data-theme="dark"] .store-pill { border: 1.5px solid #434039; background: #1b1b1b; }
html[data-theme="dark"] .store-pill:hover { border-color: #757066; }
html[data-theme="dark"] .store-pill-price { color: #d5d5d0; background: #292823; border: 1px solid #393731; }
html[data-theme="dark"] .store-pill-price small { color: #8f8c82; }
html[data-theme="dark"] .store-pill-name { color: #bebbb5; }
html[data-theme="dark"] .store-pill-state { color: #838077; }
html[data-theme="dark"] .store-pill:has(input:checked) { background: #dbdbd8; border-color: #dbdbd8; }
html[data-theme="dark"] .store-pill:has(input:checked) .store-pill-name { color: #1b1b1b; }
html[data-theme="dark"] .store-pill:has(input:checked) .store-pill-price { background: #1b1b1b; border-color: #1b1b1b; }
html[data-theme="dark"] .store-pill:has(input:focus-visible) { outline: 2px solid #d7d5d1; }
html[data-theme="dark"] .store-pill.is-off { background: #282722; }
html[data-theme="dark"] .store-pills.is-single .store-pill:has(input:checked) { background: #1b1b1b; border-color: #434039; }
html[data-theme="dark"] .store-pills.is-single .store-pill:has(input:checked) .store-pill-name { color: #d5d5d0; }
html[data-theme="dark"] .store-pills.is-single .store-pill:has(input:checked) .store-pill-price { background: #292823; border-color: #393731; }
html[data-theme="dark"] .store-pills.is-single .store-pill:hover { border-color: #434039; }
html[data-theme="dark"] .store-order-specs dt { color: #86837a; }
html[data-theme="dark"] .store-qty { border: 1px solid #434039; background: #1b1b1b; }
html[data-theme="dark"] .store-qty-note { color: #86837a; }
html[data-theme="dark"] .store-order-specs dd { color: #bebbb5; }
html[data-theme="dark"] .store-fields { background: #1b1b1b; border: 1px solid #38362f; }
html[data-theme="dark"] .store-field { color: #aba9a1; }
html[data-theme="dark"] .store-field input { border: 1px solid #44443a; color: #cfcfca; background: #1b1b1b; }
html[data-theme="dark"] .store-field input:focus { outline: 2px solid #bfc5bb; }
html[data-theme="dark"] .store-field small { color: #85857b; }
html[data-theme="dark"] .store-field small.store-field-check.is-bad { color: #e97067; }
html[data-theme="dark"] .store-field small.store-field-check.is-ok { color: #82cf8e; }
html[data-theme="dark"] .store-field input[aria-invalid="true"] { background: #1f1b1a; }
html[data-theme="dark"] .store-fields-hint { color: #85857b; }
html[data-theme="dark"] .store-channels label { border: 1px solid #3f3c35; background: #1b1b1b; }
html[data-theme="dark"] .store-channels label:has(input:checked) { border-color: #d7d5d1; }
html[data-theme="dark"] .store-channels input, html[data-theme="dark"] .store-agree input { accent-color: #d3d3ce; }
html[data-theme="dark"] .store-channels p { color: #86837b; }
html[data-theme="dark"] .store-checkout-notice { background: #2e2c27; color: #9c998f; }
html[data-theme="dark"] .store-envcheck ol { color: #c9af88; }
html[data-theme="dark"] .store-envcheck-agree { color: #e9b667; }
html[data-theme="dark"] .store-notice-kicker { color: #e9b468; }
html[data-theme="dark"] .store-notice-phase { background: rgba(18, 17, 15, 0.72); }
html[data-theme="dark"] .store-notice-phase h4 { color: #d2b17e; }
html[data-theme="dark"] .store-notice-num { color: #1b1b1b; }
html[data-theme="dark"] .store-notice-steps li { color: #c9af88; }
html[data-theme="dark"] .store-notice-steps li::before { color: #e9b468; }
html[data-theme="dark"] .store-notice-phase.is-rules h4 { color: #e9b468; }
html[data-theme="dark"] .store-notice-rules { color: #c9af88; }
html[data-theme="dark"] .store-notice-statement { background: #262020; border: 1px solid #401e1c; color: #e97067; }
html[data-theme="dark"] .store-notice-statement b { color: #1b1b1b; }
html[data-theme="dark"] .store-confirm-after .store-notice-statement { color: #e97067; }
html[data-theme="dark"] .store-notice-facts { background: rgba(18, 17, 15, 0.72); }
html[data-theme="dark"] .store-notice-facts > div { color: #c9af88; }
html[data-theme="dark"] .store-notice-facts dt { color: #e9b468; }
html[data-theme="dark"] .store-ack-hint { color: #928f86; }
html[data-theme="dark"] .store-upay { background: #231e1d; }
html[data-theme="dark"] .store-upay-title { color: #e36d6d; }
html[data-theme="dark"] .store-upay-title small { color: #e27c6f; }
html[data-theme="dark"] .store-upay-list li { color: #c89588; }
html[data-theme="dark"] .store-upay-list li::before { color: #1b1b1b; }
html[data-theme="dark"] .store-upay-list b { color: #ca9686; }
html[data-theme="dark"] .store-upay-refund { background: #1b1b1b; }
html[data-theme="dark"] .store-upay-refund label { color: #ca9686; }
html[data-theme="dark"] .store-upay-refund label small { color: #e36d6d; }
html[data-theme="dark"] .store-upay-refund input { border: 1px solid #44443a; color: #cfcfca; background: #1b1b1b; }
html[data-theme="dark"] .store-upay-refund input::placeholder { color: #6f6d63; }
html[data-theme="dark"] .store-upay-refund input:focus { outline: 2px solid #bfc5bb; }
html[data-theme="dark"] .store-upay-refund input[aria-invalid="true"] { background: #1f1b1a; }
html[data-theme="dark"] .store-upay-skip { border: 1px dashed #8c7f78; background: #23201e; color: #bbb2af; }
html[data-theme="dark"] .store-upay-skip[aria-pressed="true"] { color: #82cf8e; background: #202620; }
html[data-theme="dark"] .store-upay-refund input:disabled { background: #292823; color: #6f6d63; }
html[data-theme="dark"] .store-upay-refund-tip { color: #a29792; }
html[data-theme="dark"] .store-upay-refund-tip.is-ok { color: #82cf8e; }
html[data-theme="dark"] .store-upay-refund-tip.is-bad { color: #e97067; }
html[data-theme="dark"] .store-upay-refund:has(.is-ok) { background: #202521; }
html[data-theme="dark"] .store-upay-agree { color: #e97668; background: #1b1b1b; }
html[data-theme="dark"] .store-upay-agree input { accent-color: #e36d6d; }
html[data-theme="dark"] .store-upay-agree:has(input:checked) { color: #7dd398; background: #202521; }
html[data-theme="dark"] .store-channels .store-upay-hint { background: #231e1d; color: #e27c6f; }
html[data-theme="dark"] .store-channels .store-upay-hint b { color: #e36d6d; }
html[data-theme="dark"] .store-confirm-body { background: #23221e; }
html[data-theme="dark"] .store-confirm-email { background: #1b1b1b; }
html[data-theme="dark"] .store-confirm .store-confirm-details .store-detail-group dl { background: #1b1b1b; }
html[data-theme="dark"] .store-confirm-progress.is-ok { color: #75dc93; }
html[data-theme="dark"] .store-total { border-top: 1px solid #393731; }
html[data-theme="dark"] .store-total span { color: #928f86; }
html[data-theme="dark"] .store-detail { background: #1b1b1b; border: 1px solid #38362f; }
html[data-theme="dark"] .store-detail h2 span { color: #838077; }
html[data-theme="dark"] .store-keys { background: #1b1b1b; border: 1.5px solid #d7d5d1; }
html[data-theme="dark"] .store-keys-title { color: #d7d5d1; }
html[data-theme="dark"] .store-keys-title small { color: #9c9890; }
html[data-theme="dark"] .store-key { background: #23221e; border: 1px solid #2e2c27; }
html[data-theme="dark"] .store-key dt { color: #b7b4ad; }
html[data-theme="dark"] .store-key dd { color: #d7d5d1; }
html[data-theme="dark"] .store-key-keep b { background: #1f2f25; color: #82cf9f; border: 1px solid #243429; }
html[data-theme="dark"] .store-key-deny b { background: #262020; color: #e97067; border: 1px solid #401e1c; }
html[data-theme="dark"] .store-key-deny { color: #e97067; }
html[data-theme="dark"] .store-key.is-format dd small { color: #9c9890; }
html[data-theme="dark"] .store-keys-rule { border-top: 1px solid #38362f; color: #b7b4ad; }
html[data-theme="dark"] .store-keys-rule::before { background: #d7d5d1; color: #1b1b1b; }
html[data-theme="dark"] .store-fold { background: #1b1b1b; border: 1px solid #413f37; color: #b7b4ad; }
html[data-theme="dark"] .store-fold:hover { border-color: #757066; color: #d7d5d1; }
html[data-theme="dark"] .store-notice-head .store-fold { color: #e9b468; }
html[data-theme="dark"] .store-notice-head .store-fold:hover { color: #e8b368; }
html[data-theme="dark"] .store-detail-head p { color: #9c9890; }
html[data-theme="dark"] .store-detail-group + .store-detail-group { border-top: 1px solid #2e2c27; }
html[data-theme="dark"] .store-detail-group h3 { color: #cfcec7; }
html[data-theme="dark"] .store-detail-group dt { color: #838077; }
html[data-theme="dark"] .store-detail-group dd { color: #c8c6c0; }
html[data-theme="dark"] .store-detail-figure img { border: 1px solid #38362f; }
html[data-theme="dark"] .store-buybar { background: rgba(18, 17, 15, 0.96); border-top: 1px solid #393731; }
html[data-theme="dark"] .store-buybar-price small { color: #8f8c82; }
@media (max-width: 860px) { html[data-theme="dark"] .store-cat { background: #1b1b1b; border-color: #3a3832; } }
@media (max-width: 860px) { html[data-theme="dark"] .store-cat[aria-pressed=true] { background: #dbdbd8; border-color: #dbdbd8; color: #1b1b1b; } }
@media (max-width: 860px) { html[data-theme="dark"] .store-cat[aria-pressed=true] .store-cat-count { background: rgba(18, 17, 15, 0.18); color: #1b1b1b; } }
@media (max-width: 720px) { html[data-theme="dark"] .store-agent-row b { color: #c8af89; } }
html[data-theme="dark"] .store-eyebrow { color: #9c9890; }
html[data-theme="dark"] .store-row-price small, html[data-theme="dark"] .store-row-price em, html[data-theme="dark"] .store-row-stock, html[data-theme="dark"] .store-pill-state { color: #98958d; }
html[data-theme="dark"] .store-result-count, html[data-theme="dark"] .store-help p:not(.store-eyebrow), html[data-theme="dark"] .store-no-results { color: #96958d; }
html[data-theme="dark"] .store-tag.is-hot { color: #e99b67; }
html[data-theme="dark"] .store-row.is-off .store-row-buy { color: #a4a199; }
html[data-theme="dark"] .store-search button:hover { background: #cac8c4; }
html[data-theme="dark"] .store-row:hover .store-row-buy { background: #cac8c4; }
html[data-theme="dark"] .store-row.is-off:hover .store-row-buy { background: #383630; }
html[data-theme="dark"] .store-channels label:hover { border-color: #757066; }
html[data-theme="dark"] .store-faq summary::after { border: 1px solid #434039; color: #9c9890; }
html[data-theme="dark"] .store-faq details[open] summary::after { background: #dbdbd8; border-color: #dbdbd8; color: #1b1b1b; }
html[data-theme="dark"] .store-detail-group dl > div:not(.store-detail-figure):hover { background: #23221e; }
html[data-theme="dark"] .store-share { background: #1b1b1b; border: 1px solid #413f37; color: #cfcfc9; }
html[data-theme="dark"] .store-share:hover { border-color: #757066; }
html[data-theme="dark"] .store-share.copied { border-color: #2a3d31; }
html[data-theme="dark"] .store-gone { background: #282622; border: 1px solid #45391f; color: #e6ba6b; }
@media (min-width: 861px) { html[data-theme="dark"] body.store-item-page .store-order { background: #1b1b1b; border: 1px solid #38362f; } }
html[data-theme="dark"] .store-channels label.store-pay:has(input:checked) { background: #dbdbd8; border-color: #dbdbd8; color: #1b1b1b; }
html[data-theme="dark"] .store-total-fee { color: #86837b; }
html[data-theme="dark"] .store-channels label.store-pay:has(input:focus-visible) { outline: 2px solid #d7d5d1; }
html[data-theme="dark"] .store-pay-badge { background: #1b1b1b; }
html[data-theme="dark"] .store-channels label.store-pay:has(input:checked) .store-pay-badge { background: #dbdbd8; }
html[data-theme="dark"] .store-help-card { border: 1px solid #3a3832; background: #1b1b1b; }
@media (hover: hover) { html[data-theme="dark"] .store-help-card:hover { border-color: #524e46; } }
html[data-theme="dark"] .store-help-ico { background: #2c2a23; color: #bebbb5; }
html[data-theme="dark"] .store-help-card.is-tg .store-help-ico { background: #232729; color: #67bee9; }
html[data-theme="dark"] .store-help-card.is-qq .store-help-ico { background: #232629; color: #67bde9; }
html[data-theme="dark"] .store-help-card.is-wx .store-help-ico { background: #1c3224; color: #67e9a6; }
html[data-theme="dark"] .store-help-text small { color: #96958d; }
html[data-theme="dark"] .store-help-arrow { color: #635f55; }
@media (hover: hover) { html[data-theme="dark"] .store-help-card:hover .store-help-arrow { color: #bebbb5; } }
html[data-theme="dark"] .store-help-card.copied { border-color: #2a3d31; }
html[data-theme="dark"] .store-help-card.copied .store-help-ico { background: #212f25; color: #7ad6a5; }
html[data-theme="dark"] .store-usdt-bar { background: #1f302f; border: 1px solid #263836; color: #81d0cb; }
html[data-theme="dark"] .store-usdt-bar b { color: #78d9d3; }
html[data-theme="dark"] .store-total-u { color: #77d9d4; }
html[data-theme="dark"] .rs-option:has(input:checked) { background: #23221e; }
html[data-theme="dark"] .rs-option-diff b { color: #75dc93; }
html[data-theme="dark"] .rs-flash { background: #272621; }
html[data-theme="dark"] .rs-plus { color: #73de99; }
html[data-theme="dark"] .rs-diff { color: var(--ok, #71dfa0); }
html[data-theme="dark"] .rs-tg-btn { color: #1b1b1b; }
html[data-theme="dark"] .rs-tg-wait .rs-flash.is-ok { color: var(--ok, #71dfa0); }
html[data-theme="dark"] .rs-seg { background: #2c2a26; }
html[data-theme="dark"] .rs-forgot p { color: #272621; }
html[data-theme="dark"] .rs-eye:hover { background: rgba(236, 233, 226, 0.08); }
html[data-theme="dark"] .rs-auth .rs-tg-btn .i { color: #67bde9; }
html[data-theme="dark"] .delivery-item h3 { color: var(--muted,#94948e); }
html[data-theme="dark"] .delivery-item pre { border: 1px solid #3b3932; background: #1b1b1b; }
html[data-theme="dark"] .how-flow li { color: #c8c6c0; }
html[data-theme="dark"] .how-flow li::before { background: #38362f; }
html[data-theme="dark"] .how-flow li.is-done::before { background: #d5d4ce; }
html[data-theme="dark"] .how-flow-dot { background: #1b1b1b; border: 2px solid #434139; color: #a7a39b; }
html[data-theme="dark"] .how-flow li.is-tg .how-flow-dot { border-color: #d5d4ce; color: #d5d4ce; }
html[data-theme="dark"] .how-flow li.is-tg .how-flow-label { color: #d5d4ce; }
html[data-theme="dark"] .how-flow li.is-done .how-flow-dot { background: #d5d4ce; border-color: #d5d4ce; color: #1b1b1b; }
html[data-theme="dark"] .how-flow li.is-current .how-flow-dot { border-color: #d5d4ce; color: #d5d4ce; }
html[data-theme="dark"] .how-flow li.is-current .how-flow-label { color: #d5d4ce; }
html[data-theme="dark"] .how-flow li.is-done .how-flow-label { color: #c8c6c0; }
html[data-theme="dark"] .demo { background: #1b1b1b; border: 1px solid #38362f; }
html[data-theme="dark"] .demo-stage { background: #262520; }
html[data-theme="dark"] .demo-skeleton { color: #c8c6c0; }
html[data-theme="dark"] .demo-skeleton li::before { background: #d5d4ce; color: #1b1b1b; }
html[data-theme="dark"] .demo-fallback { color: #838077; border-top: 1px solid #2e2c27; }
html[data-theme="dark"] .demo-bar { border-top: 1px solid #2e2c27; }
html[data-theme="dark"] .demo-play { border: 1px solid #38362f; background: #1b1b1b center / 10px no-repeat; }
html[data-theme="dark"] .demo-step { border: 1px solid #38362f; background: #1b1b1b; color: #838077; }
html[data-theme="dark"] .demo-step:hover { border-color: #757066; color: #c8c6c0; }
html[data-theme="dark"] .demo-step-n { background: #2e2c27; color: #838077; }
html[data-theme="dark"] .demo-step.is-current { border-color: #d5d4ce; color: #d5d4ce; }
html[data-theme="dark"] .demo-step.is-current .demo-step-n { background: #d5d4ce; color: #1b1b1b; }
html[data-theme="dark"] .demo-time { color: #838077; }
html[data-theme="dark"] .store-predemo { background: #1b1b1b; border: 1px solid #38362f; }
html[data-theme="dark"] .store-predemo h3 { color: #cfcec7; }
html[data-theme="dark"] .store-predemo h3 small { color: #838077; }
html[data-theme="dark"] .store-predemo p { color: #aba9a1; }
html[data-theme="dark"] .store-how { background: #1b1b1b; border: 1px solid #38362f; }
html[data-theme="dark"] .store-how-head p { color: #838077; }
html[data-theme="dark"] .store-how-demo-title { color: #cfcec7; }
html[data-theme="dark"] .store-how-demo-title small { color: #838077; }
html[data-theme="dark"] .store-how-more a { color: #cfcec7; }
html[data-theme="dark"] .order .how-use .how-use-steps { color: #c8c6c0; }
html[data-theme="dark"] .how-hero p { color: #838077; }
html[data-theme="dark"] .how-toc a { border: 1px solid #38362f; background: #1b1b1b; color: #cfcec7; }
html[data-theme="dark"] .how-toc a:hover { border-color: #757066; }
html[data-theme="dark"] .how-common { background: #1b1b1b; border: 1px solid #38362f; }
html[data-theme="dark"] .how-type { background: #1b1b1b; border: 1px solid #38362f; }
html[data-theme="dark"] .how-type > p { color: #838077; }
html[data-theme="dark"] .how-type-products { color: #838077; }
html[data-theme="dark"] .how-type-products a { color: #cfcec7; }
html[data-theme="dark"] .store-chooser { background: #23221e; border: 1px solid #2e2c27; }
html[data-theme="dark"] .store-chooser > summary { color: #cfcec7; }
html[data-theme="dark"] .store-chooser > summary::before { background: #d5d4ce; color: #1b1b1b; }
html[data-theme="dark"] .store-chooser[open] > summary { border-bottom: 1px solid #2e2c27; }
html[data-theme="dark"] .store-chooser-opt { border: 1px solid #38362f; background: #1b1b1b; color: #cfcec7; }
html[data-theme="dark"] .store-chooser-opt:hover { border-color: #757066; }
html[data-theme="dark"] .store-chooser-opt.is-on { background: #d5d4ce; border-color: #d5d4ce; color: #1b1b1b; }
html[data-theme="dark"] .store-chooser-note { color: #c8c6c0; }
html[data-theme="dark"] .store-check { border: 1px solid #2e2c27; background: #23221e; }
html[data-theme="dark"] .store-check h3 { color: #cfcec7; }
html[data-theme="dark"] .store-check h3 small { color: #838077; }
html[data-theme="dark"] .store-check-list label { background: #1b1b1b; border: 1px solid #2e2c27; color: #c8c6c0; }
html[data-theme="dark"] .store-check-list label:has(input:checked) { border-color: #2a3d31; background: #1f2420; }
html[data-theme="dark"] .store-check-list input { accent-color: #71dfa0; }
html[data-theme="dark"] .store-check-list b { color: #cfcec7; }
html[data-theme="dark"] .store-check-state { color: #e9a067; }
html[data-theme="dark"] .store-check-state.is-ok { color: #71dfa0; }
html[data-theme="dark"] .store-check-note { color: #838077; }
html[data-theme="dark"] .store-check-state.is-ok { color: #71dfa0; }

/* ---- 手工修正（看过页面后补的） ---- */
html[data-theme="dark"] .qr { background: #fff; border-color: transparent; }
/* 11-10 上线后复查：首页代理卡的奶油渐变底没换，浅金字落在浅底上看不清 → 换成深色暖底；顶部公告条原来用 --ink 做底，夜间 --ink 变浅色，字和底都是浅的 */
html[data-theme="dark"] .notice { background: #2a2824; color: #e9e5da; }
html[data-theme="dark"] .store-agent-card { background: radial-gradient(90% 120% at 100% 0%, rgba(255, 196, 110, .22) 0%, rgba(255, 196, 110, 0) 60%), linear-gradient(135deg, #1f1912 0%, #261d12 55%, #302210 100%); border-color: #4a3a20; box-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 40px -22px rgba(0, 0, 0, .7); }
html[data-theme="dark"] .store-agent-head strong { color: #f4d9a6; }
html[data-theme="dark"] .store-agent-tag { background: rgba(255, 217, 143, .14); }
html[data-theme="dark"] .store-agent-price b { color: #f4d9a6; }
html[data-theme="dark"] .store-agent-cta { color: #2a1d0e; background: #ffd98f; box-shadow: 0 10px 20px -12px rgba(255, 196, 110, .5); }
