:root {
    --blue: #2878f0;
    --blue-dark: #1559bd;
    --ink: #172238;
    --muted: #68758a;
    --line: #e2e7ef;
    --soft: #f3f6fb;
    --footer: #182438;
    --content: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0; color: var(--ink); background: #fff;
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px; line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, summary { font: inherit; }
.content-width { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 1000; padding: 10px 16px; color: #fff; background: var(--ink); }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.primary-link { display: inline-flex; min-height: 42px; padding: 9px 20px; align-items: center; justify-content: center; color: #fff; background: var(--blue); border: 1px solid var(--blue); border-radius: 6px; font-weight: 700; }
.primary-link:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

.help-hero { color: #fff; background: #126ae8 url("/news/images/help-center-hero.png") center/cover no-repeat; }
.help-hero-inner { min-height: 300px; display: flex; align-items: center; }
.help-hero-inner > div { width: 46%; padding: 48px 0; }
.help-hero p { margin: 0 0 9px; color: #bfe5ff; font-size: 14px; font-weight: 700; }
.help-hero h1, .hero-title { margin: 0; font-size: 38px; line-height: 1.3; font-weight: 800; }
.help-hero span { display: block; margin-top: 12px; color: #e2f2ff; font-size: 16px; }
.help-hero.compact .help-hero-inner { min-height: 250px; }

.help-main { padding: 24px 0 72px; background: var(--soft); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 20px; align-items: start; }
.article-panel, .news-aside section, .article-detail { background: #fff; border: 1px solid #e9edf3; border-radius: 6px; }
.article-panel { min-width: 0; padding: 0 24px 26px; }
.column-tabs { display: flex; min-height: 62px; align-items: center; gap: 28px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.column-tabs a { position: relative; flex: 0 0 auto; padding: 20px 2px 17px; color: #4b596e; font-weight: 600; }
.column-tabs a:hover, .column-tabs a.active { color: var(--blue); }
.column-tabs a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue); }
.search-form { display: grid; grid-template-columns: minmax(0,1fr) 90px; margin: 16px 0 4px; border: 1px solid #d6dde8; border-radius: 4px; overflow: hidden; }
.search-form:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(40,120,240,.1); }
.search-form input { min-width: 0; height: 42px; padding: 0 14px; border: 0; outline: 0; color: var(--ink); }
.search-form button { border: 0; color: #fff; background: var(--blue); cursor: pointer; font-weight: 700; }
.search-form button:hover { background: var(--blue-dark); }
.result-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 18px 0 6px; border-bottom: 1px solid var(--line); }
.result-heading h2 { margin: 0; font-size: 18px; }
.result-heading p { margin: 0; color: var(--muted); }
.article-row { min-height: 152px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 22px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.article-copy { min-width: 0; }
.article-row h2 { margin: 0 0 8px; font-size: 18px; line-height: 1.45; }
.article-row h2 a:hover { color: var(--blue); }
.article-row p { display: -webkit-box; margin: 0 0 12px; overflow: hidden; color: var(--muted); font-size: 14px; line-height: 1.65; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: #98a2b1; font-size: 12px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.article-tags span { padding: 2px 8px; color: var(--blue); background: #eef5ff; border-radius: 3px; }
.article-thumb { flex: 0 0 auto; }
.article-thumb img { width: 170px; aspect-ratio: 5/3; object-fit: cover; border-radius: 4px; background: #edf1f6; }
.empty { margin: 22px 0 0; padding: 54px 20px; color: var(--muted); background: #f8fafc; text-align: center; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 28px; }
.pager a, .pager span { min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0 9px; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.pager a:hover, .pager a.active { color: #fff; background: var(--blue); border-color: var(--blue); }
.pager .pager-edge { min-width: 68px; }
.pager .disabled { color: #b6bfcb; background: #f6f8fa; }

.news-aside { display: grid; gap: 16px; }
.news-aside section { padding: 18px 20px; }
.news-aside h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 17px; }
.section-icon { width: 12px; height: 14px; display: inline-block; background: var(--blue); border-radius: 2px; box-shadow: 4px 3px 0 #9cc7ff; }
.section-icon.related { background: #16a085; box-shadow: 4px 3px 0 #9cddd2; }
.news-aside article { padding: 12px 0; border-bottom: 1px dashed #e4e8ef; }
.news-aside article:last-child { border-bottom: 0; }
.news-aside h3 { margin: 0; font-size: 14px; line-height: 1.55; font-weight: 600; }
.news-aside h3 a:hover { color: var(--blue); }
.news-aside article div { display: flex; justify-content: space-between; gap: 10px; margin-top: 5px; color: #a0a9b7; font-size: 11px; }
.aside-empty { color: var(--muted); }

.breadcrumb { display: flex; gap: 8px; padding: 0 0 16px; overflow: hidden; color: #758197; font-size: 13px; white-space: nowrap; }
.breadcrumb span:last-child { overflow: hidden; text-overflow: ellipsis; }
.breadcrumb a:hover { color: var(--blue); }
.detail-main { padding-top: 16px; }
.detail-grid { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 20px; align-items: start; }
.article-detail { min-width: 0; padding: 30px 34px 34px; }
.article-detail > header { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.article-detail h1 { margin: 0; font-size: 28px; line-height: 1.45; }
.article-detail-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 13px; color: #8b96a6; font-size: 13px; }
.article-detail-meta b { color: #667387; font-weight: 400; }
.article-summary { margin: 20px 0; padding: 14px 16px; color: #5d6a7d; background: #f7f9fc; border-left: 3px solid var(--blue); }
.cover { width: 100%; max-height: 520px; margin: 24px 0; object-fit: cover; background: #edf1f6; }
.article-content { color: #364255; font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; }
.article-content p { margin: 0 0 1.15em; }
.article-content h2 { margin: 1.8em 0 .65em; color: var(--ink); font-size: 23px; line-height: 1.4; }
.article-content h3 { margin: 1.6em 0 .6em; color: var(--ink); font-size: 19px; }
.article-content img { height: auto !important; margin: 24px auto; }
.article-content iframe, .article-content video { max-width: 100%; }
.article-content table { width: 100% !important; margin: 22px 0; border-collapse: collapse; }
.article-content th, .article-content td { padding: 10px 12px; border: 1px solid var(--line); }
.article-content blockquote { margin: 22px 0; padding: 14px 18px; color: #58667b; background: #f5f8fc; border-left: 3px solid var(--blue); }
.tag-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; color: var(--muted); }
.tag-list a { padding: 4px 10px; color: var(--blue); background: #eef5ff; border: 1px solid #dceaff; border-radius: 4px; font-size: 13px; }
.tag-list a:hover { color: #fff; background: var(--blue); border-color: var(--blue); }
.article-action { padding-top: 30px; text-align: center; }
.article-action a { display: inline-flex; min-height: 42px; padding: 9px 24px; align-items: center; color: #fff; background: var(--blue); border-radius: 5px; font-weight: 700; }
.detail-aside { position: sticky; top: 88px; }

.news-cta { padding: 66px 0; color: #fff; background: #386be8; text-align: center; }
.news-cta h2 { margin: 0; font-size: 34px; }
.news-cta p { margin: 10px 0 24px; color: #e7edff; font-size: 16px; }
.news-cta a { display: inline-flex; min-height: 44px; padding: 9px 22px; align-items: center; color: var(--blue-dark); background: #fff; border: 1px solid #fff; border-radius: 6px; font-weight: 700; }
.news-cta a:hover { color: #fff; background: transparent; }
.state-page { min-height: calc(100vh - 230px); display: grid; place-items: center; align-content: center; padding: 60px 20px; text-align: center; }
.state-page > * { margin: 7px 0; }
.error-code { color: var(--blue); font-size: 78px; line-height: 1; font-weight: 800; }
.state-page .primary-link { margin-top: 18px; }

@media (max-width: 1050px) {
    .content-grid, .detail-grid { grid-template-columns: minmax(0,1fr) 280px; }
}
@media (max-width: 820px) {
    .content-width { width: min(calc(100% - 30px), var(--content)); }
    .help-hero { background-position: 58% center; }
    .help-hero-inner { min-height: 260px; }
    .help-hero-inner > div { width: 55%; }
    .help-hero h1, .hero-title { font-size: 31px; }
    .content-grid, .detail-grid { grid-template-columns: 1fr; }
    .detail-aside { position: static; }
    .news-aside { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .article-detail { padding: 26px; }
}
@media (max-width: 560px) {
    .help-hero { background-position: 68% center; }
    .help-hero::before { content: ""; position: absolute; inset: 0; background: rgba(3,61,154,.28); }
    .help-hero { position: relative; }
    .help-hero-inner { position: relative; z-index: 1; min-height: 230px; }
    .help-hero-inner > div { width: 75%; padding: 34px 0; }
    .help-hero h1, .hero-title { font-size: 27px; }
    .help-hero span { font-size: 14px; }
    .help-main { padding: 14px 0 48px; }
    .article-panel { padding: 0 16px 22px; }
    .column-tabs { gap: 20px; }
    .search-form { grid-template-columns: minmax(0,1fr) 72px; }
    .article-row { grid-template-columns: 1fr; gap: 12px; }
    .article-thumb { order: -1; }
    .article-thumb img { width: 100%; aspect-ratio: 16/8; }
    .news-aside { grid-template-columns: 1fr; }
    .article-detail { padding: 22px 18px; }
    .article-detail h1 { font-size: 23px; }
    .article-content { font-size: 15px; }
    .news-cta { padding: 50px 20px; }
    .news-cta h2 { font-size: 27px; }
}