body.tkfhz-home-style-page {
  --tk69-bg: #f5f7fa;
  --tk69-panel: #ffffff;
  --tk69-panel-soft: #f8fafc;
  --tk69-line: #e3e9ef;
  --tk69-line-strong: #cbd7e2;
  --tk69-text: #17202c;
  --tk69-muted: #5d6f7e;
  --tk69-dim: #8695a3;
  --tk69-accent: #2563eb;
  --tk69-accent-soft: #eef5ff;
  --tk69-accent-line: rgba(37, 99, 235, 0.24);
  --tk69-accent-ring: rgba(37, 99, 235, 0.14);
  --tk69-cold: #0f766e;
  --tk69-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 10px 24px rgba(15, 23, 42, 0.04);
  background: var(--tk69-bg) !important;
  color: var(--tk69-text) !important;
  color-scheme: light !important;
}

html:has(body.tkfhz-home-style-page),
body.tkfhz-home-style-page.article-modern-page,
body.tkfhz-home-style-page.takefu-shell-ready {
  background: var(--tk69-bg) !important;
  background-image: none !important;
}

body.tkfhz-home-style-page .article-modern-main {
  padding: 18px 0 58px !important;
  background: linear-gradient(180deg, #f5f7fa 0, #ffffff 360px, #f5f7fa 100%) !important;
  color: var(--tk69-text) !important;
}

body.tkfhz-home-style-page .article-modern-wrap {
  width: min(1200px, calc(100% - 48px)) !important;
}

body.tkfhz-home-style-page .article-modern-breadcrumb {
  width: 100% !important;
  max-width: none !important;
  min-height: 42px !important;
  margin: 0 0 16px !important;
  padding: 0 16px !important;
  border: 1px solid var(--tk69-line) !important;
  border-radius: 8px !important;
  background: var(--tk69-panel) !important;
  color: var(--tk69-muted) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}

body.tkfhz-home-style-page .article-modern-breadcrumb a,
body.tkfhz-home-style-page .article-modern-meta a,
body.tkfhz-home-style-page .article-modern-content a,
body.tkfhz-home-style-page .article-modern-kicker {
  color: var(--tk69-accent) !important;
}

body.tkfhz-home-style-page .article-modern-layout {
  grid-template-columns: 260px minmax(0, 1fr) 220px !important;
  gap: 16px !important;
  align-items: start !important;
  padding-right: 0 !important;
}

body.tkfhz-home-style-page .resource-rail {
  position: sticky !important;
  top: 86px !important;
  left: auto !important;
  width: auto !important;
  max-height: calc(100vh - 110px) !important;
  overflow: visible !important;
}

body.tkfhz-home-style-page .article-modern-card,
body.tkfhz-home-style-page .article-modern-widget,
body.tkfhz-home-style-page .article-modern-toc-box,
body.tkfhz-home-style-page .resource-hot-card,
body.tkfhz-home-style-page .article-modern-list a,
body.tkfhz-home-style-page .article-modern-prenext a,
body.tkfhz-home-style-page .article-modern-tags a,
body.tkfhz-home-style-page .article-modern-hot-tags a {
  border: 1px solid var(--tk69-line) !important;
  border-radius: 8px !important;
  background: var(--tk69-panel) !important;
  color: var(--tk69-text) !important;
  box-shadow: var(--tk69-shadow) !important;
}

body.tkfhz-home-style-page .article-modern-card {
  overflow: hidden !important;
}

body.tkfhz-home-style-page .resource-head {
  padding: 28px 30px 24px !important;
  border-bottom: 1px solid var(--tk69-line) !important;
  background: linear-gradient(180deg, #ffffff 0, #f8fbff 100%) !important;
  color: var(--tk69-text) !important;
}

body.tkfhz-home-style-page .resource-head-main {
  grid-template-columns: 64px minmax(0, 1fr) auto !important;
  gap: 16px !important;
}

body.tkfhz-home-style-page .resource-logo {
  width: 64px !important;
  height: 64px !important;
  border: 1px solid #dbeafe !important;
  border-radius: 8px !important;
  background: #eff6ff !important;
  box-shadow: none !important;
}

body.tkfhz-home-style-page .resource-head h1,
body.tkfhz-home-style-page .article-modern-head h1,
body.tkfhz-home-style-page .article-modern-content h2,
body.tkfhz-home-style-page .article-modern-content h3,
body.tkfhz-home-style-page .article-modern-widget h2,
body.tkfhz-home-style-page .article-modern-list strong {
  color: var(--tk69-text) !important;
}

body.tkfhz-home-style-page .resource-head h1 {
  font-size: 32px !important;
  letter-spacing: 0 !important;
}

body.tkfhz-home-style-page .resource-kicker {
  color: var(--tk69-accent) !important;
}

body.tkfhz-home-style-page .article-modern-meta {
  gap: 8px !important;
}

body.tkfhz-home-style-page .article-modern-meta span,
body.tkfhz-home-style-page .article-modern-lede,
body.tkfhz-home-style-page .resource-desc {
  border: 1px solid var(--tk69-accent-line) !important;
  border-radius: 8px !important;
  background: var(--tk69-accent-soft) !important;
  color: var(--tk69-muted) !important;
  box-shadow: none !important;
}

body.tkfhz-home-style-page .resource-desc {
  margin-top: 18px !important;
  padding: 14px 16px !important;
  line-height: 1.75 !important;
}

body.tkfhz-home-style-page .resource-btn {
  min-height: 38px !important;
  padding: 0 16px !important;
  border: 1px solid var(--tk69-accent) !important;
  border-radius: 8px !important;
  background: var(--tk69-accent) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.16) !important;
}

body.tkfhz-home-style-page .resource-btn:hover,
body.tkfhz-home-style-page .resource-btn:focus-visible {
  border-color: #1d4ed8 !important;
  background: #1d4ed8 !important;
  color: #ffffff !important;
}

body.tkfhz-home-style-page .article-modern-reader {
  padding: 28px 30px 34px !important;
  background: var(--tk69-panel) !important;
  color: var(--tk69-text) !important;
}

body.tkfhz-home-style-page .article-modern-content,
body.tkfhz-home-style-page .article-modern-content p,
body.tkfhz-home-style-page .article-modern-content li {
  color: var(--tk69-muted) !important;
}

body.tkfhz-home-style-page .article-modern-content {
  font-size: 15.5px !important;
  line-height: 1.9 !important;
}

body.tkfhz-home-style-page .article-modern-content h2 {
  margin: 28px 0 14px !important;
  padding: 0 0 10px !important;
  border-bottom: 1px solid var(--tk69-line) !important;
  font-size: 22px !important;
}

body.tkfhz-home-style-page .article-modern-content h2::before,
body.tkfhz-home-style-page .article-modern-content h3::before,
body.tkfhz-home-style-page .article-modern-content .boss-card {
  display: none !important;
  content: none !important;
}

body.tkfhz-home-style-page .article-modern-content h3 {
  margin: 24px 0 12px !important;
  font-size: 18px !important;
}

body.tkfhz-home-style-page .article-modern-content blockquote {
  border: 1px solid var(--tk69-line) !important;
  border-radius: 8px !important;
  background: var(--tk69-panel-soft) !important;
  color: var(--tk69-muted) !important;
  box-shadow: none !important;
}

body.tkfhz-home-style-page .resource-article p[style*="line-height: 16px"] {
  line-height: 1.65 !important;
}

body.tkfhz-home-style-page .resource-article img[src*="fileTypeImages/icon_rar.gif"] {
  display: inline-block !important;
  width: 20px !important;
  height: 20px !important;
  margin: 0 8px 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  vertical-align: middle !important;
}

body.tkfhz-home-style-page .resource-article img[src*="fileTypeImages/icon_rar.gif"] + a {
  display: inline-flex !important;
  align-items: center !important;
  max-width: calc(100% - 36px) !important;
  min-height: 38px !important;
  padding: 0 12px !important;
  border: 1px solid #bfdbfe !important;
  border-radius: 8px !important;
  background: #eff6ff !important;
  color: var(--tk69-accent) !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  vertical-align: middle !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}

body.tkfhz-home-style-page .resource-article img[src*="fileTypeImages/icon_rar.gif"] + a span {
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

body.tkfhz-home-style-page .resource-article img[src*="fileTypeImages/icon_rar.gif"] + a:hover,
body.tkfhz-home-style-page .resource-article img[src*="fileTypeImages/icon_rar.gif"] + a:focus-visible {
  border-color: var(--tk69-accent) !important;
  background: var(--tk69-accent) !important;
  color: #ffffff !important;
}

body.tkfhz-home-style-page .article-modern-content a:not(.resource-btn) {
  color: var(--tk69-accent) !important;
  overflow-wrap: anywhere !important;
  text-decoration-color: rgba(37, 99, 235, 0.32) !important;
}

body.tkfhz-home-style-page .article-modern-content img:not([src*="fileTypeImages/icon_rar.gif"]) {
  max-width: 100% !important;
  height: auto !important;
  border: 1px solid var(--tk69-line) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08) !important;
}

body.tkfhz-home-style-page .article-media-frame {
  border: 1px solid var(--tk69-line) !important;
  border-radius: 8px !important;
  background: #0b1120 !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08) !important;
}

body.tkfhz-home-style-page .article-modern-side .article-modern-widget,
body.tkfhz-home-style-page .article-modern-rail .article-modern-widget,
body.tkfhz-home-style-page .resource-hot-card {
  padding: 14px !important;
}

body.tkfhz-home-style-page .article-modern-side .article-modern-widget h2,
body.tkfhz-home-style-page .article-modern-rail .article-modern-widget h2,
body.tkfhz-home-style-page .resource-hot-card h2 {
  margin: -14px -14px 12px !important;
  padding: 12px 14px !important;
  border-bottom: 1px solid var(--tk69-line) !important;
  color: var(--tk69-text) !important;
  font-size: 15px !important;
}

body.tkfhz-home-style-page .article-modern-side .article-modern-widget h2::before,
body.tkfhz-home-style-page .article-modern-rail .article-modern-widget h2::before,
body.tkfhz-home-style-page .resource-hot-card h2::before {
  display: none !important;
  content: none !important;
}

body.tkfhz-home-style-page .article-modern-list a {
  grid-template-columns: 42px minmax(0, 1fr) !important;
  gap: 10px !important;
  padding: 10px !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}

body.tkfhz-home-style-page .article-modern-list a:hover,
body.tkfhz-home-style-page .article-modern-list a:focus-visible,
body.tkfhz-home-style-page .article-modern-prenext a:hover,
body.tkfhz-home-style-page .article-modern-prenext a:focus-visible,
body.tkfhz-home-style-page .article-modern-tags a:hover,
body.tkfhz-home-style-page .article-modern-tags a:focus-visible,
body.tkfhz-home-style-page .article-modern-hot-tags a:hover,
body.tkfhz-home-style-page .article-modern-hot-tags a:focus-visible {
  border-color: var(--tk69-accent-line) !important;
  background: var(--tk69-accent-soft) !important;
  color: var(--tk69-accent) !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08) !important;
}

body.tkfhz-home-style-page .article-modern-list-icon {
  width: 42px !important;
  height: 42px !important;
  border: 1px solid #dbeafe !important;
  border-radius: 8px !important;
  background: #eff6ff !important;
  color: var(--tk69-accent) !important;
  font-size: 17px !important;
}

body.tkfhz-home-style-page .article-modern-list span,
body.tkfhz-home-style-page .article-modern-hot-tags a,
body.tkfhz-home-style-page .article-modern-tags a {
  color: var(--tk69-muted) !important;
}

body.tkfhz-home-style-page .article-modern-hot-tags {
  gap: 8px !important;
}

body.tkfhz-home-style-page .article-modern-hot-tags a,
body.tkfhz-home-style-page .article-modern-tags a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 28px !important;
  padding: 0 10px !important;
  border-color: var(--tk69-accent-line) !important;
  background: var(--tk69-accent-soft) !important;
  color: var(--tk69-accent) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

body.tkfhz-home-style-page .resource-toc-box:has(.article-toc ol:empty) {
  display: none !important;
}

body.tkfhz-home-style-page .article-modern-prenext {
  gap: 10px !important;
}

body.tkfhz-home-style-page .article-modern-prenext a {
  min-height: 38px !important;
  padding: 0 12px !important;
  color: var(--tk69-text) !important;
  font-size: 13px !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}















body.tkfhz-home-style-page .takefu-shell-footer {
  margin-top: 0 !important;
}

@media (max-width: 1180px) {
  body.tkfhz-home-style-page .article-modern-wrap {
    width: min(100% - 36px, 980px) !important;
  }

  body.tkfhz-home-style-page .article-modern-layout {
    grid-template-columns: 250px minmax(0, 1fr) !important;
  }

  body.tkfhz-home-style-page .resource-rail {
    position: static !important;
    grid-column: 1 / -1 !important;
    max-height: none !important;
  }
}

@media (max-width: 900px) {
  body.tkfhz-home-style-page .article-modern-main {
    padding: 12px 0 42px !important;
  }

  body.tkfhz-home-style-page .article-modern-wrap {
    width: min(100% - 28px, 720px) !important;
  }

  body.tkfhz-home-style-page .article-modern-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  body.tkfhz-home-style-page .resource-center {
    order: 1 !important;
  }

  body.tkfhz-home-style-page .resource-side {
    order: 2 !important;
  }

  body.tkfhz-home-style-page .resource-rail {
    order: 3 !important;
  }

  body.tkfhz-home-style-page .resource-head,
  body.tkfhz-home-style-page .article-modern-reader {
    padding: 20px 18px 24px !important;
  }

  body.tkfhz-home-style-page .resource-head-main {
    grid-template-columns: 54px minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  body.tkfhz-home-style-page .resource-logo {
    width: 54px !important;
    height: 54px !important;
  }

  body.tkfhz-home-style-page .resource-actions {
    grid-column: 1 / -1 !important;
    justify-content: flex-start !important;
  }

  body.tkfhz-home-style-page .resource-head h1 {
    font-size: 25px !important;
  }

  body.tkfhz-home-style-page .resource-desc {
    margin-top: 14px !important;
  }
}

@media (max-width: 480px) {
  body.tkfhz-home-style-page .article-modern-wrap {
    width: min(100% - 20px, 720px) !important;
  }

  body.tkfhz-home-style-page .article-modern-breadcrumb {
    min-height: 38px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
  }

  body.tkfhz-home-style-page .article-modern-meta span {
    min-height: 27px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
  }

  body.tkfhz-home-style-page .resource-btn {
    flex: 0 1 auto !important;
    width: auto !important;
  }

  body.tkfhz-home-style-page .resource-article img[src*="fileTypeImages/icon_rar.gif"] + a {
    max-width: 100% !important;
    margin-top: 8px !important;
  }

  body.tkfhz-home-style-page .article-modern-prenext {
    grid-template-columns: 1fr !important;
  }
}

/* ===== 2026-10-31 F06 无障碍修复 ===== */

/* 目录选中项：深蓝字 on 浅蓝底（原 #2563eb on #3b82f6 仅约 1.4:1） */
html body.takefu-shell-ready.tkfhz-home-style-page .lsa-toc a.is-current {
  background: #dbeafe !important;
  border-color: #dbeafe !important;
}
html body.takefu-shell-ready.tkfhz-home-style-page .lsa-toc a.is-current,
html body.takefu-shell-ready.tkfhz-home-style-page .lsa-toc a.is-current .lsa-toc__label {
  color: #1d4ed8 !important;
}

/* 图注：中灰（原 #9ca3af 仅约 2.53:1）→ #6b7280，达 AA */
html body.takefu-shell-ready.tkfhz-home-style-page .lsa-main .lsa-content.article-modern-content .article-image-frame__caption {
  color: #6b7280 !important;
}

/* 正文链接：加下划线作为颜色之外的视觉线索 */
body.tkfhz-home-style-page .article-modern-content a:not(.resource-btn) {
  text-decoration: underline !important;
  text-decoration-color: rgba(37, 99, 235, 0.6) !important;
  text-underline-offset: 3px !important;
}
