/* =========================================================
 * 文章正文折叠（会员插件自带，脱离主题）
 * 默认显示 30%，点击「展开全部内容」显示全文
 * 作用域 .mc-content-fold，与会员插件红紫渐变风格统一
 * ========================================================= */
.mc-content-fold {
    position: relative;
    overflow: hidden;
    transition: max-height .35s ease;
}
.mc-content-fold.mc-folded { overflow: hidden; }
.mc-content-fold.mc-folded::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 90px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 80%);
    pointer-events: none;
    z-index: 1;
}
.mc-content-fold-bar {
    display: none;
    text-align: center;
    padding: 6px 0 4px;
    margin-top: -36px;
    position: relative;
    z-index: 2;
    pointer-events: none; /* 整层不拦截下方内容的点击 */
}
.mc-content-fold-bar.show { display: block; }
.mc-content-fold-btn {
    border: 0;
    cursor: pointer;
    font-size: 14px;
    color: #fff;
    background: linear-gradient(90deg, var(--mc-primary, #d42121) 0%, var(--mc-secondary, #5e59be) 100%);
    padding: 9px 30px;
    border-radius: 999px;
    box-shadow: 0 3px 10px rgba(94, 89, 190, .3);
    transition: opacity .2s;
    font-family: inherit;
    pointer-events: auto; /* 按钮本身可点击 */
}
.mc-content-fold-btn:hover { opacity: .9; }
@media only screen and (max-width: 640px) {
    .mc-content-fold-btn { font-size: 13px; padding: 8px 22px; }
}
