/**
 * 子比下载区块短代码 - 前端暗主题适配
 * 支持：子比主题（dark-theme / night）、一为主题OneNav（io-black-mode）、其他通用暗主题
 */

/* ========== 子比主题 dark-theme 暗模式 ========== */
body.dark-theme .su-note {
    border-color: #444 !important;
}
body.dark-theme .su-note-inner {
    background-color: #2a2a2a !important;
    color: #e0e0e0 !important;
    border-color: #444 !important;
}
body.dark-theme .su-note-inner h1,
body.dark-theme .su-note-inner h2,
body.dark-theme .su-note-inner h3,
body.dark-theme .su-note-inner h4,
body.dark-theme .su-note-inner h5,
body.dark-theme .su-note-inner h6 {
    color: #ffffff !important;
}
body.dark-theme .su-note-inner p {
    color: #e0e0e0 !important;
}
body.dark-theme .su-note-inner a {
    color: #64b5f6 !important;
}

/* ========== 子比主题夜间模式 body.night ========== */
body.night .su-note {
    border-color: #444 !important;
}
body.night .su-note-inner {
    background-color: #2a2a2a !important;
    color: #e0e0e0 !important;
    border-color: #444 !important;
}
body.night .su-note-inner h1,
body.night .su-note-inner h2,
body.night .su-note-inner h3,
body.night .su-note-inner h4,
body.night .su-note-inner h5,
body.night .su-note-inner h6 {
    color: #ffffff !important;
}
body.night .su-note-inner p {
    color: #e0e0e0 !important;
}
body.night .su-note-inner a {
    color: #64b5f6 !important;
}

/* ========== 一为主题 OneNav 暗模式 html.io-black-mode ========== */
html.io-black-mode .su-note {
    border-color: #444 !important;
}
html.io-black-mode .su-note-inner {
    background-color: #2a2a2a !important;
    color: #e0e0e0 !important;
    border-color: #444 !important;
}
html.io-black-mode .su-note-inner h1,
html.io-black-mode .su-note-inner h2,
html.io-black-mode .su-note-inner h3,
html.io-black-mode .su-note-inner h4,
html.io-black-mode .su-note-inner h5,
html.io-black-mode .su-note-inner h6 {
    color: #ffffff !important;
}
html.io-black-mode .su-note-inner p {
    color: #e0e0e0 !important;
}
html.io-black-mode .su-note-inner a {
    color: #64b5f6 !important;
}

/* ========== 一为主题 RiPro-V5 暗模式 body.dark / html.dark ========== */
body.dark .su-note,
html.dark .su-note {
    border-color: #444 !important;
}
body.dark .su-note-inner,
html.dark .su-note-inner {
    background-color: #2a2a2a !important;
    color: #e0e0e0 !important;
    border-color: #444 !important;
}
body.dark .su-note-inner h1,
body.dark .su-note-inner h2,
body.dark .su-note-inner h3,
body.dark .su-note-inner h4,
body.dark .su-note-inner h5,
body.dark .su-note-inner h6,
html.dark .su-note-inner h1,
html.dark .su-note-inner h2,
html.dark .su-note-inner h3,
html.dark .su-note-inner h4,
html.dark .su-note-inner h5,
html.dark .su-note-inner h6 {
    color: #ffffff !important;
}
body.dark .su-note-inner p,
html.dark .su-note-inner p {
    color: #e0e0e0 !important;
}
body.dark .su-note-inner a,
html.dark .su-note-inner a {
    color: #64b5f6 !important;
}

/* ========== 其他通用暗主题 ========== */
body.theme-dark .su-note,
body.dark-mode .su-note {
    border-color: #444 !important;
}
body.theme-dark .su-note-inner,
body.dark-mode .su-note-inner {
    background-color: #2a2a2a !important;
    color: #e0e0e0 !important;
    border-color: #444 !important;
}
body.theme-dark .su-note-inner h1,
body.theme-dark .su-note-inner h2,
body.theme-dark .su-note-inner h3,
body.theme-dark .su-note-inner h4,
body.theme-dark .su-note-inner h5,
body.theme-dark .su-note-inner h6,
body.dark-mode .su-note-inner h1,
body.dark-mode .su-note-inner h2,
body.dark-mode .su-note-inner h3,
body.dark-mode .su-note-inner h4,
body.dark-mode .su-note-inner h5,
body.dark-mode .su-note-inner h6 {
    color: #ffffff !important;
}
body.theme-dark .su-note-inner p,
body.dark-mode .su-note-inner p {
    color: #e0e0e0 !important;
}
body.theme-dark .su-note-inner a,
body.dark-mode .su-note-inner a {
    color: #64b5f6 !important;
}

/* ========== 隐藏内容框暗主题适配 ========== */
body.dark-theme .zibll-ps-hidecontent,
body.night .zibll-ps-hidecontent,
html.io-black-mode .zibll-ps-hidecontent,
body.dark .zibll-ps-hidecontent,
html.dark .zibll-ps-hidecontent {
    background-color: #2a2a2a !important;
    border-color: #444 !important;
}

/* 
   自定义颜色说明（只在暗主题下生效）：
   - 背景色：#2a2a2a（想更黑改成 #1a1a1a）
   - 文字色：#e0e0e0（想更白改成 #ffffff）
   - 标题色：#ffffff
   - 边框色：#444444
   - 链接色：#64b5f6
*/
