html {
    width: 100% !important;
    height: 100% !important;
}

body {
    width: 100% !important;
    min-height: 100vh;
    /* 尺寸变量 (保持与系统一致，不影响简洁性) */
    --side-bar-width: 280px;
    --top-nav-height: 65px;
    --content-padding: 10px;
    --story-header-height: 55px;
}

* {
    /* 深色主题核心颜色 (无强制紫色装饰) */
    --bg-color: #0A0A0A;
    --bg-color-2: #1C1B1E;
    --surface-color: #262626;
    --text-color: #fff;
    --text-color-9: rgba(255, 255, 255, 0.9);
    --text-color-8: rgba(255, 255, 255, 0.8);
    --text-color-7: rgba(255, 255, 255, 0.7);
    --text-color-6: rgba(255, 255, 255, 0.6);
    --text-color-5: rgba(255, 255, 255, 0.5);
    --text-color-4: rgba(255, 255, 255, 0.4);
    --text-color-3: rgba(255, 255, 255, 0.3);
    --text-color-2: rgba(255, 255, 255, 0.2);
    --text-color-1: rgba(255, 255, 255, 0.1);
    --text-color-0-8: rgba(255, 255, 255, 0.08);
    --text-color-0-5: rgba(255, 255, 255, 0.05);
    /* 保持主题色变量存在但不用于装饰边框 (链接色保留默认系统风格，无侵入) */
    --theme-color: #7a41db;
    --link-text-color: var(--theme-color);
    --primary-btn-bg: var(--theme-color);
    --primary-btn-text-color: #fff;

    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 14px;
    color: var(--text-color-9);
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    transition: background-color 0.1s, color 0.1s;
    scrollbar-width: thin;
}

body {
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
    position: relative;
}

/* 简洁内容容器 — 居中 + max-width */
.legal-container {
    width: 100%;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem 24px 3rem 24px;
}

/* 完全去掉任何紫色border、紫色边线、装饰性紫色块 */
.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
    /* 移除左侧紫色边框 */
    border-left: none;
    padding-left: 0;
}

.legal-subsection {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.legal-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-color-8);
    margin-bottom: 0.75rem;
}

.legal-text {
    color: var(--text-color-7);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.legal-list {
    margin: 0.75rem 0 0.75rem 1.5rem;
    color: var(--text-color-7);
    line-height: 1.6;
}

.legal-list li {
    margin-bottom: 0.5rem;
    color: inherit;
}

.legal-highlight {
    background: rgba(255, 255, 255, 0.06);
    padding: 0.2rem 0.4rem;
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-color-8);
}

hr {
    border: none;
    height: 1px;
    background: var(--text-color-1);
    margin: 2rem 0;
}

a {
    text-decoration: none;
    color: var(--link-text-color);
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* 团队署名区块 — 极简，无版权赘述 */
.team-signature {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--text-color-1);
    color: var(--text-color-6);
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

/* 移动端完美适配 */
@media (max-width: 640px) {
    .legal-container {
        padding: 1.5rem 20px 2.5rem 20px;
    }

    .legal-section-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .legal-subtitle {
        font-size: 1.1rem;
    }

    .legal-text, .legal-list li {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .legal-list {
        margin-left: 1.2rem;
    }

    .team-signature {
        margin-top: 2rem;
        font-size: 0.85rem;
    }
}

/* 完全去除任何可能残留的紫色装饰，确保无多余border或glow */
.legal-section-title, .legal-subtitle, .legal-highlight, .team-signature {
    border: none;
    box-shadow: none;
}

/* 复用原有但不添加任何无用东西 */
.btn, .loader, .waveform {
    display: none; /* 页面内不展示无关组件 */
}



.legal-footer {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.legal-footer .gradient {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(to top, var(--bg-color), transparent);
}

.legal-footer img {

    width: 100%;
    max-width: 1000px;
    height: auto;
    margin: 0 auto;
    /*margin-bottom: -50px;*/
    opacity: 0.1;

}



/* FAQ 页面专属样式 — 可复用，无紫色装饰 */
.faq-section {
    margin-bottom: 2.5rem;
}

.faq-section-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
    border-left: none;
    padding-left: 0;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--text-color-1);
    padding-bottom: 1.25rem;
}

.faq-question {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-color-8);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-question:before {
    content: "Q";
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    font-weight: 700;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: var(--text-color-7);
}

.faq-answer {
    color: var(--text-color-7);
    line-height: 1.6;
    margin-left: 0.2rem;
    padding-left: 0.5rem;
    border-left: 2px solid var(--text-color-2);
}

.faq-answer a {
    color: var(--link-text-color);
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* 移动端适配 */
@media (max-width: 640px) {
    .faq-section-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    .faq-question {
        font-size: 0.95rem;
    }
    .faq-answer {
        font-size: 0.88rem;
        line-height: 1.55;
    }
}