/* ==========================================================================
   星穹科技皮肤 tech.css
   双主题：默认浅色科技 / body.fmdm-dark 深空科技
   仅由 template/dztech 模板加载，最后引入，可安全覆盖基础主题
   ========================================================================== */

:root {
    --tech-accent: #2f6bff;
    --tech-accent2: #00c8ff;
    --tech-accent3: #7c5cff;
    --tech-grad: linear-gradient(120deg, #2f6bff 0%, #00c8ff 100%);
    --tech-grad-soft: linear-gradient(120deg, rgba(47,107,255,.14), rgba(0,200,255,.10));
    --tech-glow: 0 8px 26px rgba(47,107,255,.13), 0 0 0 1px rgba(0,200,255,.05);
    --tech-glow-strong: 0 0 24px rgba(0,200,255,.5);
    --tech-card: rgba(255,255,255,.86);
    --tech-card-solid: #ffffff;
    --tech-card-head: linear-gradient(180deg, rgba(47,107,255,.05), rgba(255,255,255,0));
    --tech-line: rgba(47,107,255,.15);
    --tech-line-strong: rgba(47,107,255,.32);
    --tech-text: #16233b;
    --tech-muted: #5b6b85;
    --tech-header-bg: linear-gradient(96deg, #071327 0%, #0a2148 46%, #053b5e 100%);
    --tech-header-line: rgba(0,200,255,.38);
    --tech-header-text: #dbe9ff;
    --tech-input-bg: rgba(255,255,255,.72);
    --tech-grid-line: rgba(47,107,255,.055);
    --tech-radius: 14px;
}

body.fmdm-dark {
    --dz-fa: #d7e3f5;
    --dz-fb: #a9bbd1;
    --dz-fc: #8ea3bd;
    --tech-accent: #4d8dff;
    --tech-accent2: #26e0ff;
    --tech-accent3: #8b6dff;
    --tech-glow: 0 10px 30px rgba(0,0,0,.55), 0 0 22px rgba(0,200,255,.10);
    --tech-glow-strong: 0 0 26px rgba(0,224,255,.55);
    --tech-card: rgba(15,24,42,.74);
    --tech-card-solid: #101a2c;
    --tech-card-head: linear-gradient(180deg, rgba(0,200,255,.06), rgba(255,255,255,0));
    --tech-line: rgba(84,190,255,.18);
    --tech-line-strong: rgba(84,190,255,.42);
    --tech-text: #dce8f8;
    --tech-muted: #8ea3bd;
    --tech-header-bg: linear-gradient(96deg, #02060e 0%, #041327 50%, #032b3f 100%);
    --tech-header-line: rgba(38,224,255,.45);
    --tech-header-text: #cfeeff;
    --tech-input-bg: rgba(255,255,255,.06);
    --tech-grid-line: rgba(90,190,255,.06);
}

/* ---------- 全局基底 ---------- */
body {
    background-color: #f2f6ff;
    background-image:
        radial-gradient(900px 520px at 6% -8%, rgba(47,107,255,.16), rgba(47,107,255,0) 62%),
        radial-gradient(820px 480px at 100% 0%, rgba(0,200,255,.14), rgba(0,200,255,0) 58%),
        repeating-linear-gradient(0deg, rgba(47,107,255,.045) 0, rgba(47,107,255,.045) 1px, transparent 1px, transparent 42px),
        repeating-linear-gradient(90deg, rgba(47,107,255,.045) 0, rgba(47,107,255,.045) 1px, transparent 1px, transparent 42px);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}
body.fmdm-dark {
    background-color: #050a16 !important;
    background-image:
        radial-gradient(960px 560px at 4% -10%, rgba(38,88,255,.26), rgba(38,88,255,0) 62%),
        radial-gradient(800px 460px at 96% 0%, rgba(0,224,255,.18), rgba(0,224,255,0) 58%),
        repeating-linear-gradient(0deg, rgba(90,190,255,.07) 0, rgba(90,190,255,.07) 1px, transparent 1px, transparent 44px),
        repeating-linear-gradient(90deg, rgba(90,190,255,.07) 0, rgba(90,190,255,.07) 1px, transparent 1px, transparent 44px);
}
::selection { background: rgba(0,200,255,.28); color: var(--tech-text); }
a { transition: color .18s ease, opacity .18s ease; }

/* 滚动条 */
* { scrollbar-width: thin; scrollbar-color: rgba(47,107,255,.35) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, rgba(47,107,255,.55), rgba(0,200,255,.55)); border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- 顶部导航：深空玻璃 ---------- */
.dz_layer_top {
    background: var(--tech-header-bg) !important;
    box-shadow: 0 10px 34px rgba(3,18,48,.30), inset 0 -1px 0 var(--tech-header-line) !important;
    position: relative;
    isolation: isolate;
}
.dz_layer_top::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(620px 90px at 14% 0%, rgba(0,200,255,.18), transparent 70%),
        radial-gradient(520px 80px at 86% 100%, rgba(124,92,255,.16), transparent 70%);
    pointer-events: none;
}
.dz_layer_top::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,210,255,.85), rgba(90,130,255,.6), transparent);
}
.dz_btm_layer.dz_nav { background: transparent; }
.dz_layer_nav ul li a {
    color: var(--tech-header-text) !important;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color .2s ease, text-shadow .2s ease;
}
.dz_layer_nav ul li a:hover,
.dz_layer_nav ul li.a a,
.dz_layer_nav ul li.hover a { color: #ffffff !important; text-shadow: 0 0 14px rgba(0,210,255,.75); }
.dz_layer_nav ul li a::before,
.dz_layer_nav ul li a::after {
    background: linear-gradient(90deg, #00c8ff, #2f6bff) !important;
    height: 3px !important;
    box-shadow: 0 0 12px rgba(0,200,255,.85);
}
.dz_layer_nav ul .dz_menumore a { color: var(--tech-header-text) !important; }
.dz_nav .dz_nav_logo img { filter: brightness(1.3) drop-shadow(0 0 12px rgba(0,200,255,.35)); }
.dz_layer_dl .header-right { color: var(--tech-header-text); }

/* 搜索框 */
.header-searcher .search-input {
    background: rgba(255,255,255,.10) !important;
    border: 1px solid rgba(110,190,255,.32) !important;
    color: var(--tech-header-text) !important;
    border-radius: 999px !important;
    box-shadow: inset 0 0 14px rgba(0,140,255,.12);
}
.header-searcher .search-input::placeholder { color: rgba(200,225,255,.55) !important; }
.header-searcher .search-input:focus,
.header-searcher .search-input.active {
    border-color: rgba(0,210,255,.75) !important;
    background: rgba(255,255,255,.12) !important;
    box-shadow: 0 0 0 3px rgba(0,200,255,.14), 0 0 18px rgba(0,200,255,.25) !important;
}
.header-searcher .search-icon { filter: brightness(1.9) drop-shadow(0 0 4px rgba(0,200,255,.5)); opacity: .9; }
.header-searcher .search-panel {
    background: var(--tech-card-solid) !important;
    border: 1px solid var(--tech-line);
    border-radius: 12px !important;
    box-shadow: var(--tech-glow);
}

/* 通知 / 模式切换 / 登录按钮 */
.header-notice .notice-icon,
.header-notice .fmdm-btn {
    background: rgba(255,255,255,.10) !important;
    border: 1px solid rgba(120,200,255,.22);
    border-radius: 50%;
    color: var(--tech-header-text) !important;
    transition: background .2s ease, box-shadow .2s ease;
}
.header-notice .notice-icon:hover,
.header-notice.open .notice-icon,
.header-notice .fmdm-btn:hover {
    background: rgba(0,200,255,.20) !important;
    box-shadow: 0 0 16px rgba(0,200,255,.35);
}
.header-notice .notice-icon .dzicon,
.header-notice .dot { color: #7ff0ff; }
.header-notice .dot { box-shadow: 0 0 10px rgba(0,224,255,.8); }
.header-user-login .login_btn a,
.header-user-login a {
    background: var(--tech-grad);
    color: #fff !important;
    border-radius: 999px;
    padding: 0 22px;
    box-shadow: 0 6px 18px rgba(47,107,255,.35);
    transition: transform .18s ease, box-shadow .18s ease;
}
.header-user-login .login_btn a:hover,
.header-user-login a:hover {
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0,200,255,.45);
}
.notice-dropdown, .header-user-dropdown {
    border: 1px solid var(--tech-line) !important;
    border-radius: 12px !important;
    box-shadow: var(--tech-glow) !important;
}

/* 二级导航 */
#hds #mu ul {
    background: var(--tech-card) !important;
    border: 1px solid var(--tech-line);
    border-top: none;
    border-radius: 0 0 12px 12px;
    backdrop-filter: blur(14px);
    box-shadow: var(--tech-glow);
}
#mu ul li a { color: var(--tech-muted); }
#mu ul li a:hover, #mu ul li.a a { color: var(--tech-accent) !important; }
#mu a:hover { background: transparent !important; }

/* ---------- 通用卡片 ---------- */
.bm, .dz_ngbox, .dz_bdl, .bmw, .dz_bm, .dz_flbm .bm, #online.bm, .bm.lk,
.ct2 .mn .bm, .ct2 .sd .bm, .ct2_a .mn, .ct2_a .dz_phbbox .bm, .ct3_a .mn, .ct3_a .sd,
.pg_spacecp #ct.wp .mn .bm, .pg_post #ct.ct2_a .bm, .km_nox, .bm.kmbm_ca {
    background: var(--tech-card) !important;
    border: 1px solid var(--tech-line) !important;
    border-radius: var(--tech-radius) !important;
    box-shadow: var(--tech-glow) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
    position: relative;
}
.bm::before, .dz_ngbox::before, .dz_bdl::before, .bmw::before {
    content: "";
    position: absolute; left: 0; right: 0; top: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--tech-line-strong), transparent);
    pointer-events: none;
}
.bm_h {
    background: var(--tech-card-head) !important;
    border-bottom: 1px solid var(--tech-line) !important;
    padding-left: 18px !important;
    position: relative;
}
.bm_h::before {
    content: "";
    position: absolute; left: 0; top: 16px; bottom: 16px; width: 4px;
    border-radius: 0 4px 4px 0;
    background: var(--tech-grad);
    box-shadow: 0 0 12px rgba(0,200,255,.45);
}
.bm_h h3, .bm_h h2, .bm_h h1 { color: var(--tech-text) !important; letter-spacing: .5px; }
.bm_h h3 a, .bm_h h2 a, .bm_h h1 a { color: var(--tech-text) !important; }
.bm_h h3 a:hover, .bm_h h2 a:hover { color: var(--tech-accent) !important; }
.bm_c { background: transparent !important; }
.dz_bm .bm_h::before { display: none; }

/* 标签页 */
.dz_wide .tb { border-bottom: 1px solid var(--tech-line); }
.dz_wide .tb .a a, .dz_wide .tb .current a { color: var(--tech-accent) !important; }
.dz_wide .tb .a:after, .dz_wide .tb .current:after {
    background: var(--tech-grad) !important;
    box-shadow: 0 0 10px rgba(0,200,255,.5);
    height: 3px;
}
.tbmu { border-bottom: 1px solid var(--tech-line); }
.tbmu a { color: var(--tech-muted); }
.tbmu a:hover, .tbmu .a { color: var(--tech-accent) !important; }
.tb_h { background: var(--tech-card-head) !important; border-bottom: 1px solid var(--tech-line); color: var(--tech-text); }

/* 表单控件 */
input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not(.search-input),
textarea, select {
    background: var(--tech-input-bg) !important;
    border: 1px solid var(--tech-line) !important;
    color: var(--tech-text) !important;
    border-radius: 10px !important;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
input:focus, textarea:focus, select:focus {
    border-color: var(--tech-accent2) !important;
    box-shadow: 0 0 0 3px rgba(0,200,255,.12), 0 0 16px rgba(0,200,255,.18) !important;
    outline: none;
}
.px, .pxtxt { background: var(--tech-input-bg) !important; color: var(--tech-text) !important; }
input::placeholder, textarea::placeholder { color: var(--tech-muted) !important; opacity: .8; }

/* 按钮 */
.pn, .pnpost .pn, .btn, .km_pnbtn, .btn_big, input[type="submit"], button.btn {
    border-radius: 999px !important;
    border: 1px solid var(--tech-line) !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.pnpost .pn, .km_pnbtn, .btn.btn-primary, input[type="submit"].btn {
    background: var(--tech-grad) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(47,107,255,.30);
}
.pnpost .pn:hover, .km_pnbtn:hover, .btn.btn-primary:hover, input[type="submit"].btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(0,200,255,.42) !important;
}
.pn:hover, .btn:hover { border-color: var(--tech-line-strong) !important; color: var(--tech-accent) !important; }

/* 第三方登录（微信等） */
.dz_oauth_label {
    margin-left: 12px;
    color: var(--tech-muted);
    font-size: 13px;
    vertical-align: middle;
}
.dz_oauth_btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 10px;
    padding: 6px 13px;
    border: 1px solid var(--tech-line-strong);
    border-radius: var(--tech-radius);
    background: var(--tech-card);
    color: var(--tech-text);
    font-size: 13px;
    line-height: 1.1;
    text-decoration: none;
    vertical-align: middle;
    transition: border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.dz_oauth_btn .iconfont { color: #07c160; }
.dz_oauth_btn:hover {
    border-color: var(--tech-accent);
    color: var(--tech-accent);
    box-shadow: 0 4px 14px rgba(7, 193, 96, .18);
}

/* 分页 */
.pg a, .pg strong, .pgb a, .pg label {
    border-radius: 10px !important;
    border: 1px solid var(--tech-line) !important;
    background: var(--tech-card) !important;
    color: var(--tech-muted) !important;
    transition: all .18s ease;
}
.pg strong, .pg a:hover {
    background: var(--tech-grad) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(47,107,255,.32);
}
.pg a.prev, .pg a.nxt { filter: saturate(1.2); }

/* ---------- 论坛首页 / 版块列表 ---------- */
#category_grid { background: transparent !important; border-radius: var(--tech-radius) !important; }
#category_grid h4 {
    color: var(--tech-text) !important;
    font-weight: 500 !important;
    border-bottom: 1px solid var(--tech-line) !important;
    background: var(--tech-card-head) !important;
    position: relative;
}
#category_grid h4::before {
    content: "";
    position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px;
    background: var(--tech-grad);
    border-radius: 0 3px 3px 0;
    box-shadow: 0 0 10px rgba(0,200,255,.5);
}
#category_grid td { border-left: 1px solid var(--tech-line) !important; border-color: var(--tech-line) !important; }
#category_grid h4 span {
    background: var(--tech-grad) !important;
    box-shadow: 0 0 16px rgba(0,200,255,.4);
}
.category_newlist li { color: var(--tech-muted); }
.category_newlist li:before { background: var(--tech-accent2) !important; box-shadow: 0 0 8px rgba(0,200,255,.6); }
.category_newlist li:hover a { color: var(--tech-accent) !important; }

.fl_tb td.fl_g { border-radius: 12px !important; transition: background .18s ease, transform .18s ease; }
.fl_tb td.fl_g:hover { background: var(--tech-grad-soft) !important; transform: translateY(-1px); }
.fl_g dt a, .fl_tb td h2 a { color: var(--tech-text) !important; font-weight: 500; }
.fl_g dt a:hover, .fl_tb td h2 a:hover { color: var(--tech-accent) !important; }
.fl_icn img, .fl_icn_g img { border-radius: 12px !important; box-shadow: 0 4px 14px rgba(20,60,140,.16); }
.kmtoday {
    background: var(--tech-grad) !important;
    color: #fff !important;
    box-shadow: 0 0 12px rgba(0,200,255,.5);
    border-radius: 8px !important;
}

/* ---------- 主题列表 ---------- */
#threadlisttableid, .tl { background: transparent !important; }
.tl th, .tl td { border-color: var(--tech-line) !important; }
.tl th { color: var(--tech-muted); font-weight: 500; }
.tl th a, .tl td.fn a, .tl .s a { color: var(--tech-text); }
.tl th a:hover, .tl td.fn a:hover, .tl .s a:hover { color: var(--tech-accent) !important; }
.tl .th {
    background: var(--tech-card-head) !important;
    border-bottom: 1px solid var(--tech-line) !important;
}
.tl .th th { font-weight: 500; }
.tl tbody tr { transition: background .16s ease, box-shadow .16s ease; }
.tl tbody tr:hover {
    background: var(--tech-grad-soft) !important;
    box-shadow: inset 3px 0 0 var(--tech-accent2), inset 0 0 30px rgba(0,200,255,.05);
}
.tl tbody tr:hover .s a, .tl tbody tr:hover .fn a { color: var(--tech-accent) !important; }
.tl .icn img { border-radius: 10px; }
.tl .by, .tl .by a, .tl .f, .tl .f a { color: var(--tech-muted) !important; }
.s .t a, .tl .t a { font-weight: 500; }
.tl .t a:visited { color: #6d7f99; }
.tl .th td, .tl .th th { border-bottom-color: var(--tech-line) !important; }
/* 热帖 / 置顶标记 */
.tl .p_top a, .tl .p_hot a, .tl .p_good a { color: var(--tech-accent2) !important; }
.tr3 td { background: transparent !important; }
.tl tbody tr.tr3:hover { background: var(--tech-grad-soft) !important; }

/* 版块侧栏 */
.dz_bdl .tbn h2 { color: var(--tech-accent) !important; }
.dz_bdl .tbn h2 a { color: var(--tech-accent) !important; }
.dz_bdl dl dt { background: var(--tech-grad-soft) !important; border-radius: 8px !important; }

/* ---------- 帖子详情 ---------- */
.t_f, .plc, .post_inner { background: transparent !important; }
.pls, .plc { border-color: var(--tech-line) !important; }
.pls .avatar, .pls .avatar img, .block_avatar img { border-radius: 12px !important; box-shadow: 0 0 0 2px rgba(0,200,255,.18), 0 0 18px rgba(0,200,255,.18); }
.pls .username, .pls .username a { color: var(--tech-text) !important; font-weight: 500; }
.pls .username a:hover { color: var(--tech-accent) !important; }
.post_content .post_message, .post_message { color: var(--tech-text); line-height: 1.85; }
.post_content { font-size: 15px; }
.pbl a, .pbl .highlightlink { color: var(--tech-accent) !important; }
.quote, .blockcode {
    background: var(--tech-grad-soft) !important;
    border: 1px solid var(--tech-line) !important;
    border-left: 3px solid var(--tech-accent2) !important;
    border-radius: 10px !important;
    color: var(--tech-text) !important;
}
.t_f .t_fs, .post_title, .subject { color: var(--tech-text) !important; }
#post_reply, #quickreply { background: var(--tech-card) !important; border-radius: var(--tech-radius); }
.rate, .p_btn { border-color: var(--tech-line) !important; }
.rate a, .p_btn a { border-radius: 8px !important; }

/* ---------- 用户中心 / 空间 ---------- */
#uhd, .uhd, .dz_uactive_profile { border-radius: var(--tech-radius); }
#uhd { background: var(--tech-card) !important; border-bottom: 1px solid var(--tech-line) !important; }
#uhd .mn a { color: var(--tech-muted); }
#uhd .mn a:hover, #uhd .mn a.a { color: var(--tech-accent) !important; }
.umn, .umh { border-color: var(--tech-line) !important; }
.umh h3 { color: var(--tech-text); }

/* ---------- 侧边漂浮工具 ---------- */
.dz_rnav a {
    background: var(--tech-card) !important;
    border: 1px solid var(--tech-line) !important;
    color: var(--tech-accent) !important;
    border-radius: 12px !important;
    box-shadow: var(--tech-glow);
    backdrop-filter: blur(10px);
}
.dz_rnav a:hover {
    background: var(--tech-grad) !important;
    color: #fff !important;
    box-shadow: var(--tech-glow-strong);
}

/* ---------- 页脚 ---------- */
.dz_footc {
    background: linear-gradient(96deg, #071327, #0a2148 55%, #053b5e) !important;
    border-radius: var(--tech-radius) var(--tech-radius) 0 0;
    box-shadow: 0 -8px 34px rgba(3,18,48,.28) !important;
    position: relative;
    overflow: hidden;
}
.dz_footc::before {
    content: "";
    position: absolute; left: 0; right: 0; top: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,210,255,.8), transparent);
}
.dz_footc a, .dz_footc_copy, .dz_footc_copy a, .dz_footc_nav .pipe { color: rgba(205,232,255,.78) !important; }
.dz_footc a:hover { color: #fff !important; }
.dz_footc_nav { border-bottom-color: rgba(120,200,255,.18) !important; }
.dz_footc_dico { background: transparent !important; }

/* ---------- 提示与弹层 ---------- */
.p_pop, .p_pop.pm_notice_wrap, .popupmenu, .fwin, .fwin .fwin-title {
    border-radius: 12px !important;
    border-color: var(--tech-line) !important;
    box-shadow: var(--tech-glow) !important;
}
.p_pop a:hover, .p_pop a.a { background: var(--tech-grad-soft) !important; color: var(--tech-accent) !important; }
.fwin .fwin-title { background: var(--tech-card-head) !important; color: var(--tech-text); }
#scrolltop, #diy-tg, #i18n-switch { border-radius: 12px !important; }

/* ---------- 版块图标 / 头像 / 图片 ---------- */
img.avatar, .avatar img { border-radius: 10px; }
img[src*="/image/common/"] { vertical-align: middle; }

/* ---------- 阅读增强 ---------- */
.post_message, .dz_bdl, .category_newlist { text-rendering: optimizeLegibility; }
.tl .s a b, .tl .s a strong { color: var(--tech-accent); }
.xi1, .onerror, .rq { color: #ff6b81 !important; }
body.fmdm-dark .xi1, body.fmdm-dark .onerror, body.fmdm-dark .rq { color: #ff8a9b !important; }
.xg1, .xg1 a { color: var(--tech-muted) !important; }

/* ---------- 深色主题下的定点补丁（覆盖 fmdm-dark-auto.css 的硬编码） ---------- */
body.fmdm-dark .bm_h,
body.fmdm-dark .bm_c,
body.fmdm-dark .tl .th,
body.fmdm-dark .tb_h,
body.fmdm-dark .bmw .bm_h,
body.fmdm-dark .bmn,
body.fmdm-dark .fl,
body.fmdm-dark .fl .bm_h,
body.fmdm-dark .dz_bm,
body.fmdm-dark .dz_bdl dl dt,
body.fmdm-dark #category_grid h4 {
    background-color: transparent !important;
    background-image: var(--tech-card-head) !important;
}
body.fmdm-dark .bm_h::before,
body.fmdm-dark #category_grid h4::before { background: var(--tech-grad) !important; }
body.fmdm-dark .tl tbody tr:hover { background: rgba(0,200,255,.07) !important; }
body.fmdm-dark .post_message, body.fmdm-dark .post_content { color: #dce8f8 !important; }
body.fmdm-dark .quote, body.fmdm-dark .blockcode { color: #cfe0f2 !important; background: rgba(0,200,255,.07) !important; }
body.fmdm-dark .header-searcher .search-input { color: #cfeeff !important; }
body.fmdm-dark .notice-dropdown, body.fmdm-dark .header-user-dropdown { background: #0d1728 !important; }
body.fmdm-dark .dz_rnav a { color: #7fe6ff !important; }
body.fmdm-dark .dz_footc, body.fmdm-dark #footer { background: linear-gradient(96deg, #02060e, #041327 55%, #032b3f) !important; }

/* 小屏兜底：避免装饰溢出 */
@media (max-width: 1240px) {
    .dz_layer_top { box-shadow: 0 6px 18px rgba(3,18,48,.25) !important; }
    .dz_rnav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
}
