@charset "utf-8";
:root {
  --xxf-primary: #1d4ed8;
  --xxf-accent: #0ea5e9;
  --xxf-surface: #eff6ff;
  --xxf-ink: #0f172a;
  --xxf-muted: #64748b;
  --xxf-line: rgba(15, 23, 42, .12);
  --xxf-card: #ffffff;
  --xxf-radius: 10px;
  --xxf-shadow: none;
  --xxf-max: 1180px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--xxf-ink);
  background: linear-gradient(180deg, var(--xxf-surface), #fff 34rem);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }
a:hover { color: var(--xxf-primary); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--xxf-accent); outline-offset: 3px; }
img, mip-img { max-width: 100%; display: block; }
img { height: auto; object-fit: cover; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; }
.site-shell, .xxf-wrap { width: min(var(--xxf-max), calc(100% - 32px)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 20; padding: 10px 14px; background: #fff; border: 1px solid var(--xxf-line); border-radius: 8px; }
.skip-link:focus { left: 12px; }
.site-topline { background: #fff; border-bottom: 1px solid var(--xxf-line); color: var(--xxf-muted); font-size: 13px; }
.site-topline .site-shell { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header { background: rgba(255,255,255,.9); backdrop-filter: blur(16px); border-bottom: 1px solid var(--xxf-line); position: sticky; top: 0; z-index: 10; }
.brand-row { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(220px, 360px); gap: 24px; align-items: center; padding: 22px 0; }
.site-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: 0; font-size: clamp(24px, 3vw, 38px); color: var(--xxf-ink); }
.brand-mark { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--xxf-primary), var(--xxf-accent)); font-size: 18px; box-shadow: var(--xxf-shadow); }
.site-search { display: flex; min-height: 44px; border: 1px solid var(--xxf-line); background: #fff; border-radius: 999px; overflow: hidden; }
.site-search input { flex: 1; min-width: 0; border: 0; padding: 0 16px; color: var(--xxf-ink); background: #fff; }
.site-search button { border: 0; padding: 0 18px; color: #fff; background: var(--xxf-primary); font-weight: 700; cursor: pointer; }
.site-nav { border-top: 1px solid var(--xxf-line); }
.site-nav ul { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: thin; }
.site-nav a { display: block; min-height: 40px; padding: 8px 14px; border-radius: 999px; color: var(--xxf-ink); white-space: nowrap; font-weight: 700; }
.site-nav a:hover, .site-nav .active { color: #fff; background: var(--xxf-primary); }
.hero { display: grid; grid-template-columns: 1.45fr .9fr; gap: 24px; margin: 28px auto; align-items: stretch; }
body[class*="template-"] :is(.hero,.hero-card,.hero-side,.section,.layout-two,.grid-news,.news-list,.article-main,.sidebar-card,.channel-card,.panel,.footer-grid) > :where(font,ins,small,sup,time,tt,var,area,map,bdo,dfn):not([class]) { display: none !important; }
.hero-card, .panel, .article-card, .article-main, .sidebar-card, .channel-card { background: var(--xxf-card); border: 1px solid var(--xxf-line); border-radius: var(--xxf-radius); box-shadow: var(--xxf-shadow); overflow: hidden; }
.hero-card { min-height: 360px; display: grid; grid-template-rows: minmax(180px, 1fr) auto; }
.hero-media { aspect-ratio: 16 / 9; background: var(--xxf-primary); overflow: hidden; }
.hero-media img, .hero-media mip-img { width: 100%; height: 100%; }
.hero-body { padding: clamp(18px, 3vw, 32px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--xxf-primary); font-weight: 900; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 3px; background: var(--xxf-accent); border-radius: 99px; }
.hero-title { margin: 10px 0 12px; font-size: clamp(28px, 5vw, 46px); line-height: 1.08; letter-spacing: 0; font-weight: 900; }
.hero-title a:hover { color: var(--xxf-primary); }
.hero-desc { color: var(--xxf-muted); margin: 0; }
.hero-side { display: grid; gap: 16px; }
.rank-list { counter-reset: rank; }
.rank-list li { counter-increment: rank; display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--xxf-line); }
.rank-list li::before { content: counter(rank, decimal-leading-zero); color: var(--xxf-primary); font-weight: 900; font-size: 18px; }
.section { margin: 28px auto; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 14px; border-bottom: 2px solid var(--xxf-line); padding-bottom: 10px; }
.section-head h1, .section-head h2 { margin: 0; font-size: clamp(20px, 3vw, 30px); line-height: 1.2; }
.section-head .more { color: var(--xxf-primary); font-weight: 800; }
.grid-news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.article-card { display: grid; gap: 12px; padding: 18px; }
.article-card img, .article-card mip-img { width: 100%; aspect-ratio: 16 / 10; border-radius: calc(var(--xxf-radius) - 2px); background: var(--xxf-surface); overflow: hidden; }
.article-card h3, .channel-card h3 { margin: 0; font-size: 18px; line-height: 1.35; }
.article-card p, .channel-card p { margin: 0; color: var(--xxf-muted); font-size: 14px; }
.layout-two { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; }
.news-list li { border-bottom: 1px solid var(--xxf-line); }
.news-list a { display: grid; grid-template-columns: 128px 1fr; gap: 16px; padding: 16px 0; }
.news-list img, .news-list mip-img { width: 100%; aspect-ratio: 4 / 3; border-radius: calc(var(--xxf-radius) - 2px); background: var(--xxf-surface); overflow: hidden; }
.news-list h2, .news-list h3 { margin: 0 0 6px; font-size: clamp(18px, 2.5vw, 24px); line-height: 1.35; }
.news-list p { margin: 0 0 6px; color: var(--xxf-muted); }
.meta { color: var(--xxf-muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 10px; font-style: normal; }
.article-main { padding: clamp(22px, 5vw, 52px); }
.article-title { margin: 0 0 12px; font-size: clamp(30px, 6vw, 54px); line-height: 1.1; letter-spacing: 0; }
.article-body { margin-top: 24px; font-size: 18px; line-height: 1.9; }
.article-body p, .article-body div { margin: 0 0 1em; }
.article-body img, .article-body mip-img { border-radius: var(--xxf-radius); margin: 20px auto; }
.article-nav { display: grid; gap: 10px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--xxf-line); }
.sidebar-card, .panel { padding: 18px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { border: 1px solid var(--xxf-line); border-radius: 999px; padding: 6px 12px; background: #fff; color: var(--xxf-muted); }
.pagination, .pages, .dede_pages ul { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 24px 0; }
.pagination a, .pagination span, .pages a, .dede_pages li { min-width: 40px; min-height: 40px; display: inline-grid; place-items: center; padding: 8px 12px; border: 1px solid var(--xxf-line); border-radius: 999px; background: #fff; }
.site-footer { margin-top: 44px; background: var(--xxf-ink); color: #e5e7eb; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; padding: 34px 0; }
.footer-grid p { color: #cbd5e1; margin: 8px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.footer-links a, .copyright a { color: #e5e7eb; }
.copyright { border-top: 1px solid rgba(255,255,255,.14); padding: 16px 0 24px; color: #cbd5e1; font-size: 14px; }
body.layout-breaking .hero-card { border-top: 8px solid var(--xxf-primary); }
body.layout-portal .grid-news { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.layout-magazine .hero-card { grid-template-rows: auto; }
body.layout-dashboard .panel, body.layout-dashboard .article-card { border-left: 4px solid var(--xxf-accent); }
body.layout-image-led .hero-media { aspect-ratio: 21 / 10; }
body.layout-newspaper { font-family: Georgia, "Times New Roman", "Songti SC", serif; }
body.layout-newspaper .site-search, body.layout-newspaper .brand-mark, body.layout-newspaper .site-nav a { border-radius: 0; }
body.layout-community .section-head { border-bottom-style: dashed; }
body.layout-feature .hero-card { grid-template-columns: 1.1fr .9fr; grid-template-rows: none; }
body.layout-feature .hero-body { align-self: center; }
body.layout-ranked .rank-list li::before { background: var(--xxf-primary); color: #fff; border-radius: 999px; width: 32px; height: 32px; display: grid; place-items: center; }
body.layout-download .article-card::after { content: "下载"; color: var(--xxf-primary); font-weight: 900; }
body.layout-classic .site-header { position: static; }
body.layout-split .hero { grid-template-columns: 1fr 1fr; }
body.layout-soft-grid .article-card { background: linear-gradient(180deg, #fff, var(--xxf-surface)); }
body.layout-sidebar .hero-side { order: -1; }
body.layout-stream .grid-news, body.layout-mobile-news .grid-news { grid-template-columns: 1fr; }
body.layout-cards .article-card { min-height: 190px; }
body.layout-reader .article-main { max-width: 820px; margin-inline: auto; }
body.layout-section-led .site-nav a { border: 1px solid var(--xxf-line); }
@media (max-width: 900px) {
  .brand-row, .hero, .layout-two, .footer-grid, body.layout-feature .hero-card { grid-template-columns: 1fr; }
  .hero { margin-top: 18px; }
  .grid-news, body.layout-portal .grid-news { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.layout-sidebar .hero-side { order: initial; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .site-shell, .xxf-wrap { width: min(100% - 24px, var(--xxf-max)); }
  .site-topline .site-shell { align-items: flex-start; flex-direction: column; padding: 8px 0; gap: 4px; }
  .brand-row { padding: 16px 0; gap: 14px; }
  .site-brand { font-size: 24px; }
  .brand-mark { width: 38px; height: 38px; }
  .grid-news, body.layout-portal .grid-news { grid-template-columns: 1fr; }
  .news-list a { grid-template-columns: 88px 1fr; gap: 12px; }
  .article-main { border-radius: 0; margin-inline: -12px; }
  .article-body { font-size: 16px; }
  .section-head { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

