:root {
  color-scheme: light;
  --page: #ffffff;
  --surface: #f5f7fa;
  --brand: #2563eb;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --content: 1152px;
}
body.hw-home-body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.hw-home-body *, .hw-home-body *::before, .hw-home-body *::after { box-sizing: border-box; }
.hw-home-body a { color: inherit; text-decoration: none; }
.hw-home-body a:hover { color: var(--brand); }
.site-header { border-bottom: 1px solid var(--line); background: var(--page); }
.header-inner, .site-main, .footer-inner { width: min(var(--content), calc(100% - 48px)); margin-inline: auto; }
.header-inner { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 19px; font-weight: 650; letter-spacing: .01em; white-space: nowrap; }
.brand img { display: block; width: 24px; height: 24px; object-fit: contain; }
.brand:hover { color: var(--ink) !important; }
.top-nav { display: flex; align-items: center; gap: 30px; color: var(--muted); font-size: 14px; }
.top-nav a { white-space: nowrap; }
.top-nav .nav-search { color: var(--brand); font-weight: 600; }
.site-main { padding-top: 0; padding-bottom: 54px; }
.intro { padding: 46px 24px 42px; text-align: center; }
.eyebrow, .section-kicker { margin: 0 0 7px; color: var(--muted); font-size: 12px; letter-spacing: .08em; }
.intro h1 { margin: 0; color: var(--ink); font-size: 31px; line-height: 1.35; font-weight: 650; letter-spacing: -.025em; }
.intro h1 span { font-weight: 550; }
.intro-copy { max-width: 680px; margin: 15px auto 24px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.search-form { display: flex; max-width: 650px; height: 50px; margin: 0 auto; padding: 4px; border: 1px solid #d1d5db; border-radius: 8px; background: var(--page); }
.search-form:focus-within { border-color: var(--brand); }
.search-form input { flex: 1; min-width: 0; padding: 0 14px; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; }
.search-form input::placeholder { color: #9ca3af; }
.search-form button { min-width: 86px; border: 0; border-radius: 6px; background: var(--brand); color: white; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.search-form button:hover { background: #1d4ed8; }
.section { margin-top: 42px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-heading h2 { margin: 0; color: var(--ink); font-size: 21px; line-height: 1.35; font-weight: 650; }
.section-kicker { margin-bottom: 3px; letter-spacing: .02em; }
.section-count { color: #9ca3af; font-size: 13px; font-variant-numeric: tabular-nums; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.category-card { display: flex; min-height: 76px; align-items: center; justify-content: space-between; padding: 18px 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 16px; font-weight: 600; }
.category-card:hover { border-color: #bfdbfe; color: var(--brand); }
.category-arrow { color: var(--muted); font-size: 17px; }
.featured-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.featured-card { display: flex; min-height: 112px; flex-direction: column; justify-content: space-between; gap: 13px; padding: 16px; border-radius: 8px; background: var(--surface); }
.featured-card a { color: var(--ink); font-size: 16px; font-weight: 550; line-height: 1.6; overflow-wrap: anywhere; }
.featured-card a:hover { color: var(--brand); }
.category-label { display: inline-flex; align-self: flex-start; color: var(--muted); font-size: 12px; line-height: 1.4; white-space: nowrap; }
.popular-list { display: grid; grid-auto-flow: column; grid-template-rows: repeat(5, auto); grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; margin: 0; padding: 0; list-style: none; }
.popular-item { display: flex; min-width: 0; align-items: flex-start; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rank { flex: 0 0 28px; color: #9ca3af; font-size: 13px; font-variant-numeric: tabular-nums; }
.popular-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 4px; }
.popular-copy a { color: var(--ink); font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.popular-copy a:hover { color: var(--brand); }
.latest-list { border-top: 1px solid var(--line); }
.latest-item { display: grid; grid-template-columns: minmax(0, 1fr) auto 100px; align-items: center; gap: 20px; min-height: 54px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.latest-item > a { min-width: 0; color: var(--ink); font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.latest-item > a:hover { color: var(--brand); }
.latest-item time { color: var(--muted); font-size: 12px; text-align: right; white-space: nowrap; }
.more-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--brand) !important; font-size: 14px; font-weight: 600; }
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { display: flex; min-height: 96px; align-items: center; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; color: var(--muted); font-size: 13px; }
.footer-links a { color: var(--muted); }
.copyright { margin: 0; color: var(--muted); font-size: 12px; white-space: nowrap; }
.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; }
@media (max-width: 900px) {
  .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .popular-list { column-gap: 24px; }
}
@media (max-width: 640px) {
  .header-inner, .site-main, .footer-inner { width: calc(100% - 32px); }
  .header-inner { min-height: 62px; flex-wrap: wrap; gap: 8px 10px; padding: 10px 0; }
  .brand { font-size: 16px; }
  .top-nav { display: grid; width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; font-size: 13px; }
  .top-nav a { display: flex; min-width: 0; min-height: 38px; align-items: center; justify-content: center; white-space: nowrap; }
  .top-nav .nav-search { border: 1px solid #bfdbfe; border-radius: 6px; color: var(--brand); font-size: 13px; font-weight: 600; }
  .intro { padding: 34px 0 28px; text-align: left; }
  .eyebrow { margin-bottom: 8px; }
  .intro h1 { max-width: 100%; font-size: 26px; line-height: 1.3; }
  .intro h1 span { display: block; max-width: 18em; margin-top: 2px; font-size: 21px; line-height: 1.38; }
  .intro-copy { margin: 13px 0 18px; font-size: 14px; line-height: 1.75; }
  .search-form { height: 48px; }
  .search-form button { min-width: 72px; }
  .section { margin-top: 34px; }
  .section-heading { margin-bottom: 13px; }
  .section-heading h2 { font-size: 20px; }
  .category-grid { grid-template-columns: 1fr; gap: 8px; }
  .category-card { min-height: 56px; padding: 13px 16px; font-size: 15px; }
  .featured-grid { grid-template-columns: 1fr; gap: 7px; }
  .featured-card { min-height: 72px; padding: 11px 14px; gap: 6px; }
  .featured-card a, .popular-copy a, .latest-item > a { font-size: 16px; }
  .popular-list { display: block; }
  .popular-item { gap: 10px; padding: 11px 0; }
  .latest-item { grid-template-columns: minmax(0, 1fr) auto; gap: 5px 12px; min-height: 62px; padding: 11px 0; }
  .latest-item > a { grid-column: 1 / -1; }
  .latest-item .category-label { grid-column: 1; }
  .latest-item time { grid-column: 2; grid-row: 2; }
  .more-link { margin-top: 16px; }
  .site-main { padding-bottom: 38px; }
  .footer-inner { min-height: 112px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 12px; padding: 20px 0; }
  .footer-links { gap: 10px 18px; font-size: 12px; }
}
@media (max-width: 375px) {
  .top-nav { gap: 3px; font-size: 12px; }
  .top-nav a, .top-nav .nav-search { font-size: 12px; }
  .header-inner, .site-main, .footer-inner { width: calc(100% - 28px); }
}
