/* ==========================================================================
   about-warm.css  —  关于我们 / 法务页暖色版式（覆盖层 · 心遇）
   适用：about/index、termsofuse、privacypolicy、datingsafety、helpcenter、contactus
   原样式是深色玻璃面板（fontPage.css 里 .page_tab_box_all 为 rgba(54,54,54,.83)），
   本文件改为浅暖底 + 白色内容卡 + 深色正文，与站点其他页面统一
   回滚：删掉模板里的 <link> 即可
   ========================================================================== */

:root {
    --wb-brand: #FF5C77;
    --wb-deep: #E8415F;
    --wb-ink: #2B1F23;
    --wb-ink-2: #6B575C;
    --wb-ink-3: #A79398;
    --wb-line: #F6E7E4;
}

body {
    background: #FFFAF8 !important;
    color: var(--wb-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC",
                 "PingFang SC", "Hiragino Sans GB", "Microsoft JhengHei", sans-serif !important;
    -webkit-font-smoothing: antialiased;
}

/* 页面底：覆盖模板内联的 background 图片 */
.page_box {
    background:
        radial-gradient(900px 460px at 82% -4%, #FFEFE3 0%, rgba(255, 239, 227, 0) 62%),
        radial-gradient(760px 420px at 4% 96%, #FFEDF0 0%, rgba(255, 237, 240, 0) 60%),
        linear-gradient(170deg, #FFFBF9 0%, #FFF6F2 100%) !important;
    min-height: 100vh;
    height: auto !important;
    box-sizing: border-box;
}

/* ---------- 顶栏 ---------- */
.page_tab {
    height: 74px !important;
    border-bottom: 1px solid var(--wb-line) !important;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    position: sticky;
    top: 0;
    z-index: 20;
}

.category {
    width: 1160px !important;
    max-width: 94%;
    margin: 0 auto;
}

.category .logo {
    width: 36px !important;
}

.category .logo > img {
    width: 36px !important;
    height: 36px;
    display: block;
    border-radius: 10px;
}

.category .tab {
    display: flex;
    align-items: center;
    gap: 4px;
}

.category .tab > a {
    margin-left: 0 !important;
    padding: 8px 15px;
    border-radius: 999px;
    font-size: 13.5px !important;
    letter-spacing: .02em !important;
    color: var(--wb-ink-2) !important;
    text-decoration: none;
    transition: background .18s ease, color .18s ease;
}

.category .tab > a:hover {
    background: #FFF0EF;
    color: var(--wb-deep) !important;
}

.category .tab > a.active {
    background: linear-gradient(135deg, #FF5C77 0%, #FF7E5F 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(226, 65, 95, .26);
}

/* ---------- 内容卡 ---------- */
.page_tab_box {
    min-height: 0 !important;
    padding-bottom: 40px;
}

.page_tab_box_all {
    width: 940px !important;
    max-width: 92%;
    height: auto !important;
    min-height: 0 !important;
    margin: 34px auto 0 !important;
    padding: 38px 46px 44px;
    box-sizing: border-box;
    border-radius: 20px !important;
    background: #fff !important;
    color: var(--wb-ink-2) !important;
    box-shadow:
        0 2px 4px rgba(150, 60, 60, .04),
        0 18px 48px rgba(150, 60, 60, .10);
    overflow: auto;
    border: 1px solid var(--wb-line);
}

/* ---------- 正文排版 ---------- */
.tab_box_list {
    padding: 0 !important;
    font-size: 14px !important;
}

.tab_box_list p {
    margin: 10px 0 !important;
    font-size: 14px !important;
    line-height: 2 !important;
    color: var(--wb-ink-2) !important;
    word-wrap: break-word;
}

.tab_box_list p.strong {
    position: relative;
    margin: 26px 0 12px !important;
    padding-left: 14px;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.7 !important;
    color: var(--wb-ink) !important;
    letter-spacing: .01em;
}

.tab_box_list p.strong::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 17px;
    border-radius: 999px;
    background: linear-gradient(180deg, #FF5C77 0%, #FFA45B 100%);
}

.tab_box_list p.strong:first-child {
    margin-top: 0 !important;
}

.tab_box_list .east_section {
    color: var(--wb-ink-2) !important;
    line-height: 2 !important;
}

.tab_box_list span {
    color: inherit;
}

/* 正文内的链接与强调 */
.tab_box_list a {
    color: var(--wb-deep) !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(232, 65, 95, .25);
}

.tab_box_list a:hover {
    border-bottom-color: var(--wb-deep);
}

.tab_box_list b,
.tab_box_list strong {
    color: var(--wb-ink);
}

/* 正文内可能出现的白色内联色（原深色主题遗留），统一压回深色 */
.tab_box_list [style*="color: rgb(255, 255, 255)"],
.tab_box_list [style*="color:#fff"],
.tab_box_list [style*="color: #fff"] {
    color: var(--wb-ink-2) !important;
}

/* ---------- 页脚 ---------- */
.page_box .bottom_pay {
    color: var(--wb-ink-3) !important;
    padding: 10px 0 26px !important;
}

.page_box .bottom_pay a {
    color: var(--wb-ink-3) !important;
    font-size: 12px;
    text-decoration: none;
}

.page_box .bottom_pay a:hover {
    color: var(--wb-deep) !important;
}

.page_box .bottom_nav a {
    color: var(--wb-ink-2) !important;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
    .page_tab_box_all {
        width: auto !important;
        max-width: 92%;
        padding: 26px 24px 30px;
    }

    .category .tab > a {
        padding: 7px 10px;
        font-size: 12.5px !important;
    }
}

@media (max-width: 700px) {
    .page_tab {
        height: auto !important;
        padding: 10px 0;
    }

    .category {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start !important;
    }

    .category .tab {
        flex-wrap: wrap;
        gap: 6px;
    }

    .tab_box_list p.strong {
        font-size: 16px !important;
    }
}
