/* ===== 共享样式:文章详情页 / 列表页 ===== */
:root {
  --bg: #0a1530;
  --bg-2: #0f1e44;
  --card: #14235a;
  --line: rgba(255,255,255,.08);
  --text: #e8edf7;
  --muted: #9aa8c7;
  --brand: #2f6bff;
  --brand-2: #00d4a0;
  --gold: #ffc845;
  --radius: 16px;
  --maxw: 820px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.8; -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-2); text-decoration: none; }
a:hover { color: #fff; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header */
header { position: sticky; top: 0; z-index: 50; background: rgba(10,21,48,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--text); }
.logo .ball { font-size: 22px; }
.logo span { color: var(--brand-2); }
.nav .back { font-size: 14px; color: var(--muted); font-weight: 600; }
.nav .back:hover { color: #fff; }

/* Breadcrumb */
.crumb { font-size: 13px; color: var(--muted); padding: 22px 0 0; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--brand-2); }
.crumb span { margin: 0 6px; }

/* Article */
article { padding: 16px 0 40px; }
.art-head { padding: 18px 0 28px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.art-cat { display: inline-block; font-size: 12px; font-weight: 700; color: var(--brand-2); background: rgba(0,212,160,.12); border: 1px solid rgba(0,212,160,.3); border-radius: 999px; padding: 3px 12px; }
.art-head h1 { font-size: clamp(26px, 4.5vw, 38px); line-height: 1.25; font-weight: 900; margin: 16px 0 14px; letter-spacing: -.3px; }
.art-meta { font-size: 13px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; }
.lead { font-size: 18px; color: #cdd7ec; margin-bottom: 26px; }

article h2 { font-size: 23px; font-weight: 800; margin: 38px 0 14px; padding-left: 14px; border-left: 4px solid var(--brand-2); }
article h3 { font-size: 18px; font-weight: 700; margin: 26px 0 10px; color: #fff; }
article p { color: #c6d0e6; margin: 14px 0; }
article ul, article ol { color: #c6d0e6; margin: 14px 0 14px 22px; }
article li { margin: 8px 0; }
article strong { color: #fff; }
article table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
article th, article td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
article th { background: var(--card); color: #fff; font-weight: 700; }
article td { color: #c6d0e6; }

.callout { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; padding: 18px 22px; margin: 24px 0; }
.callout strong { color: var(--gold); }
.callout p { margin: 6px 0; color: #cdd7ec; }

.cta-inline { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; border: none; cursor: pointer; }
.btn-gold { background: linear-gradient(135deg, var(--gold), #ffb000); color: #2a1a00; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: #fff; }

/* Related */
.related { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 40px; }
.related h2 { border: none; padding: 0; font-size: 20px; margin-bottom: 16px; }
.related ul { list-style: none; margin: 0; }
.related li { margin: 10px 0; }
.related a { font-weight: 600; }

/* Footer */
footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 40px 0 30px; margin-top: 30px; }
footer .wrap { max-width: 1180px; }
.disclaimer { color: #6b7794; font-size: 12px; line-height: 1.7; }
.copyright { color: var(--muted); font-size: 13px; margin-top: 14px; }

@media (max-width: 600px) {
  body { line-height: 1.75; }
  .lead { font-size: 16px; }
}
