/* 隐私政策（与条款页共用版式类名） */
#page-yinsi-zhengce {
    padding-top: max(112px, calc(env(safe-area-inset-top, 0px) + var(--nav-stack-clearance, 104px)));
    padding-bottom: 100px;
}

.legal-hero {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 28px;
    padding-top: 0;
}
.legal-hero h1 {
    font-size: 38px;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: #ecfdf3;
}
.legal-meta {
    font-size: 15px;
    color: #7aab8a;
    font-weight: 600;
    margin: 0 0 12px 0;
}
.legal-lead {
    font-size: 17px;
    color: #a8c4b0;
    line-height: 1.75;
    margin: 0;
}

.legal-toc {
    max-width: 720px;
    margin: 0 auto 36px;
    padding: 18px 22px;
    border: 1px solid rgba(52, 211, 153, 0.15);
    border-radius: var(--radius-lg);
    background: rgba(12, 20, 14, 0.55);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 32px rgba(0, 0, 0, 0.3);
}
.legal-toc-title {
    font-size: 1.17rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: center;
    margin: 0 0 16px 0;
    color: #6ee7b7;
    opacity: 0.85;
}
.legal-toc ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: toc-counter;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px 16px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.7;
}
.legal-toc ol li {
    counter-increment: toc-counter;
    min-width: 0;
}
.legal-toc a {
    display: grid;
    grid-template-columns: 2.75em 1fr;
    column-gap: 0.35em;
    align-items: start;
    min-width: 0;
    color: #6ee7b7;
    text-decoration: none;
    transition: color 0.2s, opacity 0.2s;
    opacity: 0.85;
}
.legal-toc a::before {
    grid-column: 1;
    content: counter(toc-counter, decimal-leading-zero) ".";
    font-size: 0.7em;
    font-weight: 700;
    opacity: 0.45;
    font-variant-numeric: tabular-nums;
    text-align: right;
    padding-right: 0.1em;
}
.legal-toc a:hover {
    color: #a7f3d0;
    opacity: 1;
}

.legal-body {
    max-width: 720px;
    margin: 0 auto;
}
.legal-section {
    margin-bottom: 36px;
    scroll-margin-top: var(--nav-stack-clearance, 104px);
}
.legal-section h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(52, 211, 153, 0.2);
    display: inline-block;
    color: #d1fae5;
    letter-spacing: 0.01em;
}
.legal-section p,
.legal-section li {
    font-size: 15.5px;
    line-height: 1.9;
    color: #b0c8b8;
    margin: 0 0 14px 0;
    font-weight: 400;
}
.legal-section ul,
.legal-section ol {
    margin: 0 0 14px 0;
    padding-left: 1.4em;
}
.legal-section li {
    margin-bottom: 10px;
}
.legal-section strong {
    color: #d4ede0;
    font-weight: 600;
}
.legal-section a {
    font-weight: 600;
    color: #6ee7b7;
    text-decoration: underline;
    text-decoration-color: rgba(110, 231, 183, 0.35);
    text-underline-offset: 3px;
    transition: color 0.2s;
}
.legal-section a:hover {
    color: #a7f3d0;
    text-decoration-color: rgba(167, 243, 208, 0.5);
}

.legal-disclaimer {
    margin-top: 48px;
    padding: 20px 24px;
    font-size: 14px;
    line-height: 1.75;
    color: #7aab8a;
    border: 1px solid rgba(52, 211, 153, 0.12);
    border-radius: var(--radius-lg);
    background: rgba(12, 28, 18, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
