:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --card: #ffffff;
  --text: #111827;
  --muted: #4b5563;
  --border: #e5e7eb;
  --accent: #2563eb;
  --accent-soft: #eff6ff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 780px; margin: 0 auto; padding: 36px 20px 56px; }
header.topbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.brand { font-size: 18px; font-weight: 700; color: var(--text); text-decoration: none; }
nav.links { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; }
nav.links a { color: var(--muted); text-decoration: none; }
nav.links a:hover, nav.links a.active { color: var(--accent); font-weight: 600; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 26px 24px; margin-bottom: 20px; box-shadow: 0 1px 3px rgba(17,24,39,.04);
}
h1 { font-size: 26px; line-height: 1.35; margin-bottom: 10px; }
h2 { font-size: 18px; margin: 22px 0 10px; color: var(--text); }
p { color: var(--muted); margin-bottom: 12px; }
ul { padding-left: 20px; color: var(--muted); margin-bottom: 12px; }
li { margin-bottom: 6px; }
.badge {
  display: inline-block; font-size: 12px; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px;
}
.meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px 18px; background: #f9fafb; border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 16px; margin: 16px 0 18px; font-size: 14px;
}
.meta div span { display: block; font-size: 12px; color: #6b7280; }
.meta div strong { color: var(--text); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn {
  display: inline-block; padding: 9px 16px; border-radius: 9px; font-size: 14px;
  font-weight: 600; text-decoration: none; border: 1px solid var(--border); color: var(--text); background: #fff;
}
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn:hover { opacity: .92; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
footer {
  margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--border);
  font-size: 13px; color: #6b7280; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between;
}
footer a { color: #6b7280; }
