/* 轻松战报 · 杂志编辑风设计系统
   灵感：The Guardian 的排印层级 + Wired 的等宽标签 + ESPN 的比分 ticker */

:root {
  --paper: #fbfaf6;
  --ink: #1a1712;
  --muted: #6f6a5e;
  --faint: #a09a8b;
  --accent: #c70000;
  --hairline: #e3ddd0;
  --black: #141210;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, monospace;
}

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 680px; margin: 0 auto; padding: 0 24px; }

/* ---------- 通用排印 ---------- */
.kicker {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
}

.rule-top { border-top: 1px solid var(--hairline); }
.rule-double { border-top: 3px double var(--ink); }

/* ---------- 报头 ---------- */
.masthead {
  text-align: center;
  padding: 34px 0 26px;
}
.masthead .brand-kicker {
  font-size: 11px;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 600;
}
.masthead h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 9vw, 64px);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-indent: 0.12em;
  line-height: 1.2;
}
.masthead h1 a:hover { color: var(--accent); }
.masthead .dateline {
  margin-top: 12px;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  color: var(--muted);
}
.masthead .dateline b { color: var(--ink); font-weight: 600; }

/* ---------- 比分 ticker ---------- */
.ticker {
  background: var(--black);
  color: #f2efe8;
  white-space: nowrap;
}
.ticker-inner {
  display: flex;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.t-label {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #fff;
  padding: 11px 16px 11px 0;
  margin-right: 4px;
  border-right: 1px solid #3a362f;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--black);
  z-index: 1;
}
.t-label .dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.ticker-viewport {
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 82%, transparent 100%);
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  padding: 11px 0;
  animation: tickmove 26s linear infinite;
  will-change: transform;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tickmove { to { transform: translateX(-50%); } }
.t-game {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 12.5px;
  padding: 0 20px;
  font-variant-numeric: tabular-nums;
}
.t-game + .t-game { border-left: 1px solid #3a362f; }
.t-game .w { color: #fff; font-weight: 700; }
.t-game .l { color: #8f8a7d; }

/* ---------- 首页头条 ---------- */
.cover {
  padding: 56px 0 44px;
  text-align: left;
}
.cover .kicker { display: block; margin-bottom: 18px; }
.cover h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 7.5vw, 54px);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 20px;
}
.cover h2 a:hover { color: var(--accent); }
.cover .lede {
  font-size: 16px;
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 26px;
  text-wrap: balance;
}
.read-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
}
.read-link:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- 往期列表 ---------- */
.section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 34px 0 6px;
}
.section-head h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.section-head .kicker { font-size: 11px; }

.issue-list { list-style: none; }
.issue-list li {
  border-top: 1px solid var(--hairline);
  padding: 20px 0;
}
.issue-list li:last-child { border-bottom: 1px solid var(--hairline); }
.issue-list a { display: flex; gap: 20px; align-items: baseline; }
.issue-list .issue-no {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
  width: 64px;
}
.issue-list .issue-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  flex: 1;
}
.issue-list a:hover .issue-title { color: var(--accent); }
.issue-list .issue-meta {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.1em;
}
.issue-note {
  margin-top: 26px;
  padding: 18px 0;
  border-top: 3px double var(--ink);
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.06em;
}

/* ---------- 文章页 ---------- */
.back-link {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin: 30px 0 26px;
}
.back-link:hover { color: var(--accent); }

.article .kicker { display: block; margin-bottom: 16px; }
.article h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 7vw, 48px);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 18px;
}
.article .standfirst {
  font-size: 16.5px;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin-bottom: 22px;
  line-height: 1.75;
  text-wrap: pretty;
}
.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--faint);
  padding: 14px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 40px;
}
.byline .author { color: var(--ink); font-weight: 700; }

/* 每场比赛 */
.game { margin-bottom: 44px; }
.game .g-kicker {
  font-size: 11.5px;
  letter-spacing: 0.26em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}
.game h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 5.5vw, 34px);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 4px;
}
.game .scoreline {
  font-family: var(--mono);
  font-size: clamp(20px, 5vw, 28px);
  font-variant-numeric: tabular-nums;
  margin: 10px 0 4px;
  letter-spacing: 0.04em;
}
.game .scoreline .w { font-weight: 700; }
.game .scoreline .l { color: var(--faint); }
.game h2 .vs {
  color: var(--faint);
  font-family: var(--sans);
  font-size: 0.55em;
  letter-spacing: 0.12em;
  font-weight: 400;
}
.game h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  margin: 6px 0 10px;
}
.game p {
  font-size: 15.5px;
  color: #33302a;
  margin-bottom: 12px;
  text-align: justify;
}
.game .scorers {
  font-size: 12.5px;
  color: var(--faint);
  letter-spacing: 0.04em;
  border-top: 1px solid var(--hairline);
  padding-top: 12px;
  margin-top: 14px;
  line-height: 2;
}

/* 一句话总结 */
.verdict {
  border-top: 3px double var(--ink);
  border-bottom: 3px double var(--ink);
  padding: 26px 0;
  margin: 10px 0 44px;
}
.verdict .kicker { display: block; margin-bottom: 12px; }
.verdict p {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.8;
}

/* ---------- 页脚 ---------- */
.colophon {
  margin-top: 20px;
  padding: 30px 0 46px;
  border-top: 1px solid var(--hairline);
  text-align: center;
}
.colophon .brand {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  margin-bottom: 8px;
}
.colophon p {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--faint);
}

/* ---------- 小屏 ---------- */
@media (max-width: 560px) {
  .issue-list a { gap: 12px; }
  .issue-list .issue-no { width: 48px; }
  .issue-list .issue-meta { display: none; }
  .cover { padding: 40px 0 32px; }
  .masthead { padding: 26px 0 20px; }
  .verdict-flex { flex-direction: column; }
  .verdict-flex img { width: 100%; max-width: 280px; }
}

/* ---------- 球队色点 ---------- */
.tdot {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--tc, #999);
  margin-right: 7px;
  flex-shrink: 0;
}
.ticker .tdot { box-shadow: 0 0 0 1px rgba(255,255,255,0.35); }

/* ---------- 分差条 ---------- */
.margin {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 16px;
  max-width: 340px;
}
.margin i {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: var(--accent);
}
.margin span {
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- 本场最佳 ---------- */
.best-badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  color: #fff;
  background: var(--accent);
  padding: 3px 12px;
  margin-left: 4px;
  white-space: nowrap;
}
.game.is-best {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
}

/* ---------- 配图 ---------- */
.cover-art { margin: 26px 0 6px; }
.cover-art img {
  width: 100%;
  display: block;
  border: 1px solid var(--hairline);
}
.photo { margin: 18px 0 6px; }
.photo img {
  width: 100%;
  display: block;
  border: 1px solid var(--hairline);
}
.caption {
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.06em;
  margin-top: 8px;
  line-height: 1.7;
}
.caption b { color: var(--ink); font-weight: 700; }

/* ---------- 总结区漫画 ---------- */
.verdict-flex {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 14px;
}
.verdict-flex img {
  width: 170px;
  flex-shrink: 0;
  border: 1px solid var(--hairline);
}
.verdict-flex p {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.8;
  flex: 1;
}

/* ---------- 上一篇/下一篇 ---------- */
.issue-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--hairline);
  margin-top: 8px;
  padding: 20px 0 6px;
  font-size: 14px;
}
.issue-nav a { font-weight: 700; }
.issue-nav a:hover { color: var(--accent); }
.issue-nav .disabled { color: var(--faint); }
.issue-nav .next { margin-left: auto; }

/* ---------- 细节打磨 ---------- */
::selection { background: var(--accent); color: #fff; }

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.article .cover-art { margin-bottom: 42px; }
.photo { margin-bottom: 22px; }

.game h2 .tdot {
  width: 11px;
  height: 11px;
  transform: translateY(-1px);
}

.photo img, .cover-art img, .verdict-flex img {
  animation: imgfade 0.7s ease both;
}
@keyframes imgfade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 顶部阅读进度条 */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--accent);
  z-index: 60;
}

/* 页脚关于 */
.colophon .about {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  max-width: 46ch;
  margin: 0 auto 14px;
  line-height: 1.9;
  text-wrap: balance;
}
.colophon .copy {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  color: var(--faint);
  margin-top: 12px;
}
