/* custom.css — concise overrides for Butterfly theme colors
   - 仅修改配色与行内代码/引用的可见性，不改页面布局
   - 主色：#FFB7C5（粉）
*/

:root {
    --butterfly-accent: #FFB7C5;
    --global-font-size: 16px;
}

/* 全局字体尺寸（只改大小，不改布局） */
body {
    font-size: 16px !important;
}

/* 行内代码：移除背景/边框，仅改文字颜色为主粉 */
.container code:not([class*="language-"]):not(.hljs),
.post code:not([class*="language-"]):not(.hljs),
article code:not([class*="language-"]):not(.hljs),
p code:not([class*="language-"]):not(.hljs),
li code:not([class*="language-"]):not(.hljs) {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    color: var(--butterfly-accent) !important;
}

/* 引用（blockquote）：仅改文字颜色与左侧线提示，背景透明 */
html body blockquote,
html body .container blockquote,
html body .post blockquote {
    color: #D65A75 !important;
    /* 深一点的粉色，保证可读性 */
    background: transparent !important;
    border-left: 4px solid rgba(214, 90, 117, 0.18) !important;
}

/* 引用内的代码或链接也保持与引用文字一致 */
html body blockquote code,
html body blockquote pre,
html body blockquote a {
    background: transparent !important;
    color: #D65A75 !important;
    padding: 0 !important;
}

/* 高亮/Prism / highlight.js token：把关键关键字设为主粉色 */
.container figure.highlight pre .keyword,
.container figure.highlight pre .token.keyword,
.hljs .keyword,
.hljs .built_in,
.token.keyword {
    color: var(--butterfly-accent) !important;
}

/* 终端命令中的关键字提示 */
.language-bash .token.keyword,
.language-shell .token.keyword {
    color: var(--butterfly-accent) !important;
}

/* 复制按钮与工具条颜色与主题一致（保守改动） */
.copy-code-button,
.butterfly-copy-button {
    background: var(--butterfly-accent) !important;
    color: #fff !important;
}

/* 保持其它样式由主题处理，避免影响布局 */

/* 强制中文优先字体（提高优先级，确保生效） */
body {
    font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "微软雅黑", Arial, sans-serif !important;
}

/* 不对侧边栏位置做强制调整：保持主题默认/配置控制 */