:root {
  --ink: #0F172A;
  --slate: #1E293B;
  --slate-2: #334155;
  --muted: #475569;
  --muted-2: #94A3B8;
  --line: #E2E8F0;
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --blue: #2563EB;
  --blue-soft: #EFF6FF;
  --amber: #D97706;
  --amber-soft: #FFFBEB;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-hover: 0 4px 12px rgba(15, 23, 42, .08);
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Noto Serif SC", "Source Han Serif SC", serif;
  line-height: 1.35;
  color: var(--ink);
}

a { color: var(--blue); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--amber); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container::after { content: ""; display: block; clear: both; }

/* ---- Header ---- */
.site-header {
  background: var(--ink);
  color: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}
.brand {
  font-family: "Noto Serif SC", serif;
  font-size: 22px;
  color: var(--white) !important;
  font-weight: 700;
  letter-spacing: .5px;
  white-space: nowrap;
}
.brand em { font-style: normal; color: var(--blue); }
.main-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; flex: 1; }
.main-nav a {
  color: var(--muted-2);
  font-size: 15px;
  padding: 6px 12px;
  border-radius: 6px;
}
.main-nav a:hover { color: var(--white); background: rgba(255,255,255,.06); }
.main-nav a.active { color: var(--white); background: var(--blue); }
.nav-more { margin-left: 8px; }
.nav-more a { color: var(--muted-2); font-size: 14px; }
.header-meta { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.update-pill {
  background: rgba(37, 99, 235, .2);
  color: #93C5FD;
  font-size: 13px;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(37,99,235,.4);
}
.update-time { color: var(--muted-2); font-size: 13px; }
.progress-track { height: 3px; background: rgba(255,255,255,.08); }
.progress-fill {
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--amber));
  width: 0;
}

/* ---- Hero ---- */
.hero { padding: 64px 0 48px; background: var(--bg); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.hero h1 em { font-style: normal; color: var(--blue); }
.lead { font-size: 19px; color: var(--slate); font-weight: 600; margin-bottom: 12px; }
.hero-desc { font-size: 16px; color: var(--muted); margin-bottom: 28px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; margin-bottom: 36px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: all .15s ease;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: #1D4ED8; color: var(--white); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 24px; justify-content: start; }
.hero-stats dt { font-size: 22px; font-weight: 700; color: var(--ink); font-family: "Noto Serif SC", serif; }
.hero-stats dd { font-size: 13px; color: var(--muted-2); }
.hero-visual img { border-radius: var(--radius); box-shadow: var(--shadow-hover); }

/* ---- Section ---- */
.section { padding: 56px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: 26px; margin-bottom: 6px; }
.section-sub { color: var(--muted); margin-bottom: 28px; font-size: 15px; }
.link-more { display: inline-block; margin-top: 20px; font-weight: 600; font-size: 15px; }

/* ---- Today strip / feed ---- */
.today-strip { background: var(--white); border-top: 1px solid var(--line); }
.feed-list { list-style: none; }
.feed-list li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.feed-list li:last-child { border-bottom: none; }
.feed-list .time { color: var(--muted-2); font-size: 13px; min-width: 48px; }
.feed-list a { font-weight: 500; }
.item-summary { width: 100%; color: var(--muted); font-size: 14px; padding-left: 62px; }
.feed-list.large { margin-bottom: 36px; }

/* ---- Tags ---- */
.tag {
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 600;
  white-space: nowrap;
}
.tag-info { background: var(--blue-soft); color: var(--blue); }
.tag-rank { background: var(--amber-soft); color: var(--amber); }
.tag-collect { background: #F1F5F9; color: var(--slate-2); }
.tag-guide { background: #ECFDF5; color: #059669; }
.tag-find { background: #FEF3C7; color: #D97706; }
.tag-faq { background: #F3E8FF; color: #7C3AED; }
.tag-topic { background: #E0F2FE; color: #0284C7; }
.tag-note { background: #F4F4F5; color: #71717A; }
.tag-review { background: #FFE4E6; color: #E11D48; }

/* ---- Category grid ---- */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  display: block;
  color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--blue);
  color: var(--ink);
}
.card h3 { font-size: 18px; margin-bottom: 6px; }
.card p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.card .meta { font-size: 13px; color: var(--muted-2); }

/* ---- Rank list ---- */
.rank-list { list-style: none; margin-bottom: 8px; }
.rank-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.rank-list li:last-child { border-bottom: none; }
.rank-num {
  font-family: "Noto Serif SC", serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--amber);
  min-width: 28px;
}
.rank-hots { margin-left: auto; color: var(--muted-2); font-size: 14px; white-space: nowrap; }
.rank-list.full .rank-num { font-size: 20px; }
.sub-rank-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0; }
.rank-sublist { list-style: none; padding-left: 4px; }
.rank-sublist li { padding: 5px 0; font-size: 15px; color: var(--slate); border-bottom: 1px dashed var(--line); }
.rank-sublist li:last-child { border-bottom: none; }

/* ---- Collection grid ---- */
.collection-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.collection-grid.large { grid-template-columns: repeat(2, 1fr); }
.mini-note { margin-top: 20px; font-size: 14px; color: var(--muted-2); }

/* ---- Spread / discover ---- */
.spread { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.spread-card h3 { margin-bottom: 10px; }
.steps { padding-left: 20px; }
.steps li { margin-bottom: 8px; color: var(--slate); }
.steps.accepted { padding-left: 24px; }
.thread p { margin-bottom: 12px; color: var(--slate); }
.plain-list { padding-left: 20px; margin-top: 12px; }
.plain-list li { margin-bottom: 8px; color: var(--slate); }
.discover-list { list-style: none; margin-bottom: 24px; }
.discover-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }

/* ---- Log / timeline ---- */
.log-list { list-style: none; }
.log-list li { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.log-date { color: var(--blue); font-weight: 600; min-width: 42px; font-size: 14px; }
.timeline { list-style: none; position: relative; }
.timeline li { padding: 0 0 28px 24px; border-left: 2px solid var(--line); margin-left: 8px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); border: 2px solid var(--bg); }
.timeline .log-date { display: block; margin-bottom: 4px; }
.timeline h3 { font-size: 17px; margin-bottom: 4px; }
.timeline p { color: var(--muted); font-size: 15px; }

/* ---- FAQ ---- */
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.faq-list summary { cursor: pointer; font-weight: 600; font-size: 16px; color: var(--ink); }
.faq-list details p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.faq-preview details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 10px;
}
.faq-preview summary { cursor: pointer; font-weight: 600; }
.faq-preview details p { margin-top: 8px; color: var(--muted); font-size: 14px; }

/* ---- Notice ---- */
.notice-box {
  background: var(--blue-soft);
  border: 1px solid #BFDBFE;
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-top: 28px;
}
.notice-box h3 { color: var(--blue); font-size: 17px; margin-bottom: 6px; }
.notice-box p { color: var(--slate); font-size: 15px; }

/* ---- Page hero (subpages) ---- */
.page-hero { padding: 48px 0 36px; background: var(--bg); }
.breadcrumb { font-size: 14px; color: var(--muted-2); margin-bottom: 16px; }
.breadcrumb a { color: var(--muted-2); }
.breadcrumb a:hover { color: var(--blue); }
.page-hero h1 { font-size: 34px; margin-bottom: 10px; }
.page-lead { color: var(--muted); font-size: 16px; max-width: 680px; }
.page-hero-img { margin-top: 28px; }
.page-hero-img img { border-radius: var(--radius); box-shadow: var(--shadow-hover); }

/* ---- Date switch ---- */
.date-switch { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.date-switch a {
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 14px;
  color: var(--muted);
  background: var(--white);
}
.date-switch a.active, .date-switch a:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ---- Category detail blocks ---- */
.category-detail-list .cat-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.cat-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 6px; flex-wrap: wrap; }
.cat-head h2 { font-size: 22px; }
.cat-latest { font-size: 14px; color: var(--muted-2); margin-top: 10px; }

/* ---- Team ---- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }

/* ---- Related ---- */
.related { background: var(--white); border-top: 1px solid var(--line); }
.mini-links { display: flex; gap: 12px; flex-wrap: wrap; }
.mini-links a {
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 14px;
  color: var(--slate);
  background: var(--bg);
}
.mini-links a:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: var(--muted-2); padding-top: 48px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
}
.footer-brand .brand { font-size: 20px; }
.footer-brand p { font-size: 14px; margin-top: 12px; color: var(--muted-2); }
.footer-brand .compliance { color: var(--amber); font-size: 13px; }
.footer-col h4 { color: var(--white); font-size: 15px; margin-bottom: 12px; }
.footer-col a { display: block; color: var(--muted-2); font-size: 14px; padding: 4px 0; }
.footer-col a:hover { color: var(--white); }
.footer-col p { font-size: 14px; padding: 3px 0; color: var(--muted-2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; }
.footer-bottom p { font-size: 13px; color: var(--muted-2); }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .sub-rank-grid, .spread, .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .main-nav { width: 100%; }
}
@media (max-width: 560px) {
  .category-grid, .collection-grid, .collection-grid.large { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
