/* ============================================
   组件：收录服务协议 /agreement
   依赖：themes/*.css 提供的变量
   说明：颜色全部走主题变量，兼容明暗 / 多套主题
   ============================================ */

/* ---------- 页头 ---------- */
.agree-head {
    text-align: center;
    margin-bottom: 1.5rem;
}

.agree-head__title {
    font-size: var(--app-page-title-size);   /* 全站页头统一尺寸 */
    font-weight: 800;
    letter-spacing: -.01em;
    margin: 0 0 .25rem;
    color: var(--app-text);
}

/* 标题下方装饰条（纯色，无渐变） */
.agree-head__title::after {
    content: "";
    display: block;
    width: 52px;
    height: 4px;
    margin: .7rem auto 0;
    border-radius: 999px;
    background: var(--app-accent);
}

.agree-head__desc {
    font-size: .85rem;
    color: var(--app-text-muted);
    margin: 0;
}

/* ---------- 正文卡片 ---------- */
.agree-body {
    max-width: 880px;
    margin: 0 auto;
    padding: 1.75rem 1.6rem;
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: 14px;
    box-shadow: var(--app-shadow);
    color: var(--app-text);
    font-size: .92rem;
    line-height: 1.85;
}

.agree-intro {
    margin: 0 0 1.5rem;
    padding: .9rem 1rem;
    background: var(--app-accent-soft);
    border-left: 3px solid var(--app-accent);
    border-radius: 0 10px 10px 0;
    color: var(--app-text);
    font-size: .88rem;
}

/* ---------- 条款小节 ---------- */
.agree-section + .agree-section {
    margin-top: 1.6rem;
    padding-top: 1.4rem;
    border-top: 1px dashed var(--app-border);
}

.agree-section h2 {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.02rem;
    font-weight: 700;
    margin: 0 0 .7rem;
    color: var(--app-text);
}

.agree-section h2::before {
    content: "";
    width: 4px;
    height: 1rem;
    border-radius: 999px;
    background: var(--app-accent);
    flex-shrink: 0;
}

.agree-section p {
    margin: 0 0 .6rem;
    color: var(--app-text);
}

.agree-section ul {
    margin: 0;
    padding-left: 1.15rem;
    list-style: disc;
}

.agree-section li {
    margin-bottom: .45rem;
    color: var(--app-text-muted);
}

.agree-section li strong {
    color: var(--app-text);
}

/* 二级列表 */
.agree-section li ul {
    margin-top: .45rem;
    padding-left: 1.1rem;
    list-style: circle;
}

.agree-section li li {
    margin-bottom: .3rem;
    font-size: .88rem;
}

/* ---------- 结尾 ---------- */
.agree-end {
    margin: 1.75rem 0 0;
    padding-top: 1.25rem;
    border-top: 1px dashed var(--app-border);
    text-align: center;
    font-size: .85rem;
    color: var(--app-text-muted);
}

.agree-foot {
    display: flex;
    justify-content: center;
    gap: .6rem;
    margin: 1.5rem 0 .5rem;
}

/* ---------- 响应式 ---------- */
@media (max-width: 576px) {
    .agree-body {
        padding: 1.25rem 1rem;
        font-size: .88rem;
        line-height: 1.8;
    }

    .agree-section h2 {
        font-size: .96rem;
    }
}
