/* 艾咪看球 · 每日赛事刊物 · 手机优先
   夜场舞台（深蓝 + 灯光 + 球场线）承载「今天这一场」，暖白纸面承载阅读。 */
:root {
  --night: #0a0f1e;
  --night-2: #111a30;
  --night-3: #1a2544;
  --night-line: rgba(255, 255, 255, .09);
  --night-ink: #f3f5fb;
  --night-mute: #9aa3c0;
  --pink: #ff4f8b;
  --pink-2: #ff8fb4;
  --pink-soft: #ffe4ed;
  --ice: #7fa8ff;
  --paper: #f5f2eb;
  --card: #fffdf9;
  --ink: #141826;
  --ink-2: #4b5269;
  --ink-3: #868ba0;
  --line: #e4dfd3;
  --hit: #16a865;
  --partial: #e9a100;
  --miss: #e5484d;
  --pending: #b9bccb;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --display: "Songti SC", "Noto Serif SC", "Noto Serif CJK SC", "Source Han Serif SC", "STSong", serif;
  --num: "DIN Condensed", "DIN Alternate", "Bahnschrift", "Roboto Condensed", "Arial Narrow", var(--sans);
  --r: 18px;
  --tab-h: 62px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom));
}
a { color: inherit; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; }
.wrap { width: 100%; max-width: 680px; margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: var(--pink); color: #fff; }
.skip:focus { top: 12px; }
.empty { color: var(--ink-3); padding: 20px 0; }

/* ---------- 顶栏 ---------- */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(10, 15, 30, .86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--night-line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--night-ink); }
.brand img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--night), 0 0 0 3.5px var(--pink); }
.brand span { display: flex; flex-direction: column; line-height: 1.15; }
.brand b { font-size: 17px; letter-spacing: .08em; }
.brand small { font-size: 11px; color: var(--night-mute); letter-spacing: .04em; }
.topnav { display: none; }

/* ---------- 手机底部标签栏 ---------- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr); height: calc(var(--tab-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(10, 15, 30, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--night-line); }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--night-mute); text-decoration: none; font-size: 11px; letter-spacing: .06em; }
.tab svg, .topnav-link svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tab[aria-current="page"] { color: #fff; }
.tab[aria-current="page"] svg { stroke: var(--pink); }
.tab:active { transform: scale(.94); }

/* ---------- 夜场舞台 ---------- */
.stage { position: relative; overflow: hidden; color: var(--night-ink); background:
  radial-gradient(120% 70% at 85% -10%, rgba(255, 79, 139, .32), transparent 55%),
  radial-gradient(90% 60% at -10% 0%, rgba(127, 168, 255, .20), transparent 60%),
  linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); }
.stage::before { /* 球场线：中线 + 中圈 */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    radial-gradient(circle at 50% 100%, transparent 129px, var(--night-line) 130px, var(--night-line) 131px, transparent 132px),
    linear-gradient(90deg, transparent calc(50% - .5px), var(--night-line) calc(50% - .5px), var(--night-line) calc(50% + .5px), transparent calc(50% + .5px));
}
.stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: var(--grain); opacity: .06; mix-blend-mode: overlay; }
.stage-inner { position: relative; z-index: 1; padding-top: 22px; padding-bottom: 32px; }
.stage-slim .stage-inner { padding-bottom: 28px; }
.stage-post .stage-inner { padding-bottom: 56px; }
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 14px; font-size: 13px; color: var(--night-mute); letter-spacing: .06em; }
.kicker a { color: var(--night-mute); text-decoration: none; border-bottom: 1px solid var(--night-line); }
.issue-no { display: inline-flex; align-items: baseline; gap: 4px; padding: 3px 10px 2px; border-radius: 999px; background: var(--pink); color: #fff; font-weight: 700; letter-spacing: .1em; }
.issue-no b { font-family: var(--num); font-size: 17px; line-height: 1; letter-spacing: .02em; }
.stage-title { margin: 18px 0 8px; font-family: var(--display); font-weight: 900; font-size: 28px; line-height: 1.32; letter-spacing: .01em; }
.stage-title a { text-decoration: none; }
.stage-title a:hover { text-decoration: underline; text-decoration-color: var(--pink); }
.stage-lead { margin: 0; color: #c7cde0; font-size: 16px; }
.cta { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; margin-top: 20px; padding: 0 22px; border-radius: 999px; background: var(--pink); color: #fff; font-weight: 700; text-decoration: none; letter-spacing: .04em; box-shadow: 0 10px 30px -10px rgba(255, 79, 139, .8); transition: transform .2s, box-shadow .2s; }
.cta span { font-weight: 400; font-size: 13px; opacity: .85; }
.cta:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(255, 79, 139, .95); }
.cta:active { transform: scale(.98); }

/* 进场动画 */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.stage-inner > * { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
.stage-inner > :nth-child(2) { animation-delay: .08s; }
.stage-inner > :nth-child(3) { animation-delay: .16s; }
.stage-inner > :nth-child(4) { animation-delay: .24s; }
.stage-inner > :nth-child(5) { animation-delay: .32s; }
.stage-inner > :nth-child(6) { animation-delay: .4s; }

/* ---------- 记分牌 ---------- */
.board { position: relative; display: block; padding: 16px 14px 18px; border-radius: 22px; text-decoration: none; color: var(--night-ink);
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 24px 50px -24px rgba(0, 0, 0, .7); }
a.board { transition: transform .25s, border-color .25s; }
a.board:hover { border-color: rgba(255, 79, 139, .55); transform: translateY(-2px); }
.board-league { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 10px; font-size: 12px; letter-spacing: .14em; color: var(--night-mute); }
.board-league a { color: var(--night-mute); text-decoration: none; }
.board-league span::before { content: "·"; margin-right: 10px; }
.board-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; }
.board-team { display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 44px; text-align: center; text-decoration: none; color: inherit; font-weight: 800; font-size: 16px; line-height: 1.3; }
a.board-team:hover span:last-child { color: var(--pink-2); }
.crest { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; font-family: var(--display); font-weight: 900; font-size: 22px; color: #fff; }
.crest-home { background: radial-gradient(circle at 30% 25%, #ff86ad, var(--pink) 60%, #c71f5c); box-shadow: 0 8px 22px -8px rgba(255, 79, 139, .9); }
.crest-away { background: radial-gradient(circle at 30% 25%, #b5cbff, var(--ice) 60%, #3f6be0); box-shadow: 0 8px 22px -8px rgba(127, 168, 255, .9); }
.board-center { display: flex; flex-direction: column; align-items: center; min-width: 104px; }
.board-time, .board-score { font-family: var(--num); font-weight: 700; line-height: 1; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.board-time { font-size: 50px; }
.board-score { display: flex; align-items: center; gap: 6px; font-size: 56px; }
.board-score i { font-style: normal; color: var(--pink); transform: translateY(-3px); }
.board-state { margin-top: 6px; font-size: 11px; color: var(--night-mute); letter-spacing: .06em; white-space: nowrap; }
.board-count { margin-top: 6px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--night-mute); background: rgba(255, 255, 255, .06); white-space: nowrap; }
.board-count:empty { display: none; }
.board-count.is-live { color: #fff; background: rgba(255, 79, 139, .22); }
.board-count.is-live::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--pink); vertical-align: 1px; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.board-topic-wrap { padding: 22px 18px; }
.board-topic-wrap .board-league { justify-content: flex-start; }
.board-topic { margin: 0; font-family: var(--display); font-size: 22px; font-weight: 900; line-height: 1.4; }

/* ---------- 判断卡 ---------- */
.take { position: relative; margin: 0; padding: 16px 18px 16px 20px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); box-shadow: 0 18px 40px -26px rgba(20, 24, 38, .45); }
.take::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 4px; border-radius: 0 4px 4px 0; background: var(--pink); }
.take-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--pink); }
.take-text { margin: 0; font-family: var(--display); font-weight: 900; font-size: 20px; line-height: 1.55; }
.stage-take { margin-top: 14px; }
.stage .take { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); box-shadow: none; }
.stage .take-text { color: #fff; }
.stage .take-label { color: var(--pink-2); }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-hit { color: var(--hit); background: #ddf4e8; }
.badge-partial { color: #a87200; background: #fcefcc; }
.badge-miss { color: var(--miss); background: #fde2e2; }
.badge-star { color: #8a5a00; background: #fff1bf; }
.badge-conf { color: var(--ink-2); background: #ece7dc; }
.badge-pending { color: var(--ink-2); background: #eceae3; }
.stage .badge-pending { color: var(--night-mute); background: rgba(255, 255, 255, .08); }

/* ---------- 纸面（文章） ---------- */
.paper { padding-bottom: 8px; }
.issue .paper > .take:first-child { margin-top: -34px; z-index: 2; }
.post-title { margin: 22px 0 8px; font-family: var(--display); font-weight: 900; font-size: 27px; line-height: 1.36; }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; font-size: 13px; color: var(--night-mute); }
.demo-note { display: inline-block; margin: 12px 0 0; padding: 4px 12px; border-radius: 999px; font-size: 12px; color: var(--pink-2); border: 1px dashed rgba(255, 143, 180, .5); }
.lead { margin: 22px 0 18px; font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.video { display: flex; align-items: center; gap: 10px; min-height: 48px; margin: 0 0 18px; padding: 0 16px; border-radius: 14px; background: var(--night); color: #fff; text-decoration: none; font-weight: 700; }
.video span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--pink); font-size: 11px; }
.toc { margin: 0 0 22px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.toc summary { display: flex; align-items: center; min-height: 48px; padding: 0 16px; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--ink-2); list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; margin-left: auto; font-size: 20px; color: var(--pink); }
.toc details[open] summary::after { content: "−"; }
.toc ol { margin: 0; padding: 0 16px 12px 36px; font-size: 15px; }
.toc li { padding: 4px 0; }
.toc a { text-decoration: none; color: var(--ink); }

.prose { font-size: 17px; }
.prose h2 { position: relative; margin: 36px 0 10px; padding-left: 14px; font-family: var(--display); font-weight: 900; font-size: 22px; line-height: 1.4; }
.prose h2::before { content: ""; position: absolute; left: 0; top: .3em; bottom: .3em; width: 4px; border-radius: 4px; background: var(--pink); }
.prose h3 { margin: 26px 0 8px; font-size: 18px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--pink); }
.prose strong { color: var(--ink); background: linear-gradient(transparent 62%, var(--pink-soft) 62%); }
.prose a { color: #d12e6a; }
.prose blockquote { margin: 0 0 16px; padding: 14px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose hr { border: 0; height: 1px; margin: 32px 0; background: var(--line); }
.prose img { border-radius: 14px; }
.table-scroll { overflow-x: auto; margin: 0 0 18px; border-radius: 14px; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--card); white-space: nowrap; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { font-size: 13px; color: var(--ink-2); background: #f1ede4; }
.prose tr:last-child td { border-bottom: 0; }
/* 对账表（含赛果徽章）：比赛名可换行，手机上四栏一眼看全，不用横向滑 */
.prose table:has(.badge) { white-space: normal; }
.prose table:has(.badge) th, .prose table:has(.badge) td { padding: 10px 8px; vertical-align: middle; }
.prose table:has(.badge) td:nth-child(3), .prose table:has(.badge) th:nth-child(3), .prose table:has(.badge) td:first-child, .prose table:has(.badge) th:first-child { white-space: nowrap; }

/* ---------- 对账卡 ---------- */
.result { margin: 30px 0 0; padding: 18px 20px; border-radius: var(--r); color: #fff; background: var(--night); }
.result-label { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--night-mute); }
.result-verdict { margin: 2px 0 4px; font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 1.3; }
.result-note { margin: 0; color: #d3d8e8; font-size: 15px; }
.result-link { margin: 10px 0 0; font-size: 14px; }
.result-link a { color: var(--pink-2); }
.result-hit { background: linear-gradient(135deg, #0e5c3a, #0b2b22); }
.result-partial { background: linear-gradient(135deg, #6b4c00, #2a210b); }
.result-miss { background: linear-gradient(135deg, #7a1f22, #2b1014); }
.result-pending { background: var(--card); color: var(--ink-2); border: 1px dashed var(--pending); }
.result-pending .result-label { color: var(--pink); }
.result-pending p:last-child { margin: 4px 0 0; font-size: 15px; }

.sources { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 24px 0 0; font-size: 13px; color: var(--ink-3); }
.sources b { color: var(--ink-2); }
.sources span + span::before { content: "/"; margin-right: 10px; color: var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--ink-2); text-decoration: none; }
.chip:hover { border-color: var(--pink); color: var(--ink); }

.author { display: flex; gap: 14px; margin: 28px 0 0; padding: 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.author img { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--card), 0 0 0 3.5px var(--pink); }
.author-name { display: flex; align-items: baseline; gap: 8px; margin: 0; font-weight: 800; }
.author-name small { font-size: 12px; font-weight: 400; color: var(--ink-3); }
.author-bio { margin: 2px 0 4px; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.author-links { display: flex; gap: 16px; margin: 0; font-size: 14px; }
.author-links a { display: inline-flex; align-items: center; min-height: 32px; color: #d12e6a; }

.comments { margin-top: 28px; }
.comments h2 { margin: 0; font-family: var(--display); font-size: 20px; }
.comments p { margin: 2px 0 12px; color: var(--ink-2); font-size: 15px; }

/* 上一期 / 下一期 */
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.pn a, .pn-tomorrow { display: flex; flex-direction: column; gap: 2px; min-height: 76px; padding: 12px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); text-decoration: none; font-size: 14px; font-weight: 700; line-height: 1.5; }
.pn small { font-size: 12px; font-weight: 700; color: var(--pink); letter-spacing: .06em; }
.pn .next, .pn-tomorrow { text-align: right; align-items: flex-end; }
.pn-tomorrow { background: var(--night); color: #fff; border-color: var(--night); font-family: var(--display); font-size: 20px; justify-content: center; }
.pn a:hover { border-color: var(--pink); }

/* ---------- 首页区块 ---------- */
.block { margin-top: 30px; }
.block-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 12px; font-size: 13px; letter-spacing: .16em; color: var(--ink-3); font-weight: 700; }
.block-title a, .block-title span { font-size: 13px; letter-spacing: .04em; color: #d12e6a; text-decoration: none; font-weight: 700; }
.block-title span { color: var(--ink-3); }

.recap { position: relative; display: grid; gap: 6px; padding: 16px 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); text-decoration: none; overflow: hidden; }
.recap::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; opacity: .14; background: var(--pending); }
.recap-hit::after { background: var(--hit); }
.recap-partial::after { background: var(--partial); }
.recap-miss::after { background: var(--miss); }
.recap-match { font-weight: 800; font-size: 18px; }
.recap-match b { margin: 0 6px; font-family: var(--num); font-size: 24px; vertical-align: -2px; }
.recap-match em { font-style: normal; color: var(--ink-3); font-weight: 400; margin: 0 4px; }
.recap-take { font-family: var(--display); color: var(--ink-2); line-height: 1.6; }
.recap-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--ink-3); }
.recap:hover { border-color: var(--pink); }

/* 战绩点阵 */
.streak { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.streak li { animation: pop .4s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(var(--i) * 35ms); }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.dot { display: inline-block; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--pending); }
.streak .dot { width: 28px; height: 28px; border-radius: 9px; transition: transform .15s; }
.streak .dot:hover { transform: translateY(-2px); }
.dot-hit { background: var(--hit); }
.dot-partial { background: var(--partial); }
.dot-miss { background: var(--miss); }
.dot-pending { background: transparent; box-shadow: inset 0 0 0 2px var(--pink); }
.dot-read { background: var(--night-3); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 0; font-size: 12px; color: var(--ink-3); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend .dot { width: 10px; height: 10px; }

/* 往期列表 */
.issues { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.issue-row { display: grid; grid-template-columns: 54px 1fr 12px; align-items: center; gap: 12px; min-height: 64px; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.issue-row:hover .issue-title { color: #d12e6a; }
.issue-date { display: flex; flex-direction: column; line-height: 1.2; }
.issue-date b { font-family: var(--num); font-size: 19px; font-weight: 700; letter-spacing: .02em; }
.issue-date small { font-size: 11px; color: var(--ink-3); }
.issue-main { display: flex; flex-direction: column; min-width: 0; line-height: 1.45; }
.issue-match { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.issue-match em { font-style: normal; font-weight: 400; color: var(--ink-3); }
.issue-match strong { font-family: var(--num); font-size: 15px; color: var(--ink); margin-left: 4px; }
.issue-title { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 15px; color: var(--ink); }

.tomorrow { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r); background: var(--night); color: #d3d8e8; font-size: 14px; line-height: 1.7; }
.tomorrow img { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--night), 0 0 0 3.5px var(--pink); }
.tomorrow p { margin: 0; }
.tomorrow b { display: block; font-family: var(--display); font-size: 19px; color: #fff; }
.tomorrow a { color: var(--pink-2); margin-left: 4px; }

/* ---------- 战绩页 ---------- */
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 22px 0 0; }
.nums div { padding: 12px 10px 10px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid var(--night-line); }
.nums dt { font-size: 11px; color: var(--night-mute); letter-spacing: .04em; }
.nums dd { margin: 4px 0 0; font-family: var(--num); font-size: 38px; font-weight: 700; line-height: 1; }
.n-hit dd { color: #3ddc8f; }
.n-partial dd { color: #ffc63d; }
.n-miss dd { color: #ff6b6f; }
.ratio { margin: 14px 0 0; font-size: 15px; color: #c7cde0; }
.ratio b { font-family: var(--num); font-size: 26px; color: #fff; }
.ratio-note { margin: 14px 0 0; font-size: 13px; color: var(--night-mute); }
.ledger { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ledger-item { position: relative; padding: 14px 16px 14px 20px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.ledger-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--pending); }
.ledger-hit::before { background: var(--hit); }
.ledger-partial::before { background: var(--partial); }
.ledger-miss::before { background: var(--miss); }
.ledger-pending::before { background: var(--pink); }
.ledger-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; font-size: 12px; color: var(--ink-3); }
.ledger-meta .issue-no { padding: 1px 8px; font-size: 11px; }
.ledger-meta .issue-no b { font-size: 14px; }
.ledger-match { margin: 6px 0 2px; font-weight: 800; font-size: 18px; }
.ledger-match b { margin: 0 6px; font-family: var(--num); font-size: 24px; vertical-align: -2px; }
.ledger-match em { font-style: normal; font-weight: 400; color: var(--ink-3); margin: 0 4px; }
.ledger-take { margin: 0 0 10px; font-family: var(--display); color: var(--ink-2); line-height: 1.6; }
.ledger-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; font-size: 13px; color: var(--ink-3); }
.ledger-foot a { margin-left: auto; display: inline-flex; align-items: center; min-height: 32px; font-weight: 700; color: #d12e6a; text-decoration: none; }
.fine { margin: 16px 0 0; font-size: 13px; color: var(--ink-3); }
.fine a { color: #d12e6a; }

/* ---------- 往期日历 ---------- */
.legend.wrap { margin-top: 18px; }
.month .block-title { font-family: var(--display); font-size: 20px; letter-spacing: .04em; color: var(--ink); }
.cal-head, .cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 0; padding: 0; list-style: none; }
.cal-head { margin-bottom: 6px; font-size: 11px; color: var(--ink-3); text-align: center; }
.cal { margin-bottom: 18px; }
.cal-day { display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 12px; text-decoration: none; line-height: 1.1; background: var(--card); border: 1px solid var(--line); }
.cal-day b { font-family: var(--num); font-size: 18px; font-weight: 700; }
.cal-day small { font-size: 9px; margin-top: 2px; opacity: .85; white-space: nowrap; overflow: hidden; max-width: 100%; }
.cal-empty { background: transparent; border-color: transparent; color: #c9c4b8; }
.cal-hit, .cal-partial, .cal-miss, .cal-read { color: #fff; border: 0; }
.cal-hit { background: var(--hit); }
.cal-partial { background: var(--partial); }
.cal-miss { background: var(--miss); }
.cal-read { background: var(--night-3); }
.cal-pending { border: 2px solid var(--pink); color: var(--ink); }
a.cal-day:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -10px rgba(20, 24, 38, .6); }

/* ---------- 关于 ---------- */
.about-head { text-align: center; }
.about-head img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--night), 0 0 0 5px var(--pink), 0 20px 40px -14px rgba(255, 79, 139, .7); }
.about-head .stage-title { margin-top: 14px; }
.wrap.paper { padding-top: 8px; }

/* ---------- 阅读进度 ---------- */
.progress { position: fixed; left: 0; right: 0; top: 0; z-index: 60; height: 3px; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--pink), #ffb3cb); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- 页脚 ---------- */
.footer { margin-top: 44px; padding: 26px 0 30px; background: var(--night); color: var(--night-mute); font-size: 13px; line-height: 1.7; }
.footer p { margin: 0 0 8px; }
.footer-brand b { color: #fff; margin-right: 8px; letter-spacing: .08em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 18px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; color: #d3d8e8; text-decoration: none; }

/* 页尾：艾咪微信卡片 */
.wx-card { display: flex; gap: 16px; align-items: center; margin: 0 0 22px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.wx-qr { flex: none; width: 116px; height: auto; border-radius: 10px; background: #fff; }
.wx-body { min-width: 0; }
.footer .wx-body p { margin: 0 0 6px; }
.wx-title { color: #fff; font-size: 16px; font-weight: 700; }
.wx-note { color: var(--night-mute); }
.wx-id { color: #d3d8e8; }
.wx-id b { color: #fff; font-size: 15px; letter-spacing: .03em; user-select: all; }
.wx-copy { min-height: 44px; margin: 2px 0 6px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--pink); color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.wx-copy.is-done { background: #2fbf71; }
.footer .wx-hint { margin: 0; font-size: 12px; opacity: .75; }

/* ---------- 平板 / 桌面 ---------- */
@media (min-width: 640px) {
  .wrap { padding: 0 24px; }
  .stage-inner { padding-top: 34px; padding-bottom: 44px; }
  .stage-title { font-size: 36px; }
  .post-title { font-size: 34px; }
  .board { padding: 22px 24px 24px; }
  .board-team { font-size: 19px; }
  .crest { width: 64px; height: 64px; font-size: 26px; }
  .board-time { font-size: 64px; }
  .board-score { font-size: 72px; }
  .board-center { min-width: 150px; }
  .take-text { font-size: 22px; }
  .streak .dot { width: 32px; height: 32px; }
  .cal-day small { font-size: 11px; }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .tabbar { display: none; }
  .topnav { display: flex; gap: 4px; }
  .topnav-link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; color: var(--night-mute); text-decoration: none; font-size: 14px; }
  .topnav-link svg { width: 18px; height: 18px; }
  .topnav-link:hover { color: #fff; background: rgba(255, 255, 255, .06); }
  .topnav-link[aria-current="page"] { color: #fff; background: rgba(255, 79, 139, .18); }
  .topnav-link[aria-current="page"] svg { stroke: var(--pink); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* 非比赛文的海报提纲 */
.board-outline { margin: 0; padding: 0; list-style: none; counter-reset: o; }
.board-outline li { counter-increment: o; display: flex; align-items: baseline; gap: 12px; padding: 7px 0; border-top: 1px solid var(--night-line); font-family: var(--display); font-weight: 900; font-size: 16px; line-height: 1.45; }
.board-outline li:first-child { border-top: 0; }
.board-outline li::before { content: counter(o, decimal-leading-zero); flex: none; font-family: var(--num); font-size: 18px; color: var(--pink); }
.board, .stage .take, .nums div { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* 一期多场：赛程表 */
.board-fixtures { padding: 16px 12px 14px; }
.board-fixtures .board-league { margin-bottom: 6px; }
.fx { margin: 0; padding: 0; list-style: none; }
.fx li + li { border-top: 1px solid var(--night-line); }
.fx-row { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 10px; min-height: 48px; padding: 6px 6px; border-radius: 12px; color: inherit; text-decoration: none; transition: background .2s; }
.fx-row:hover { background: rgba(255, 79, 139, .12); }
.fx-time { font-family: var(--num); font-size: 22px; font-weight: 700; color: var(--pink-2); letter-spacing: .02em; }
.fx-teams { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; min-width: 0; font-size: 15px; line-height: 1.35; }
.fx-teams b { font-weight: 800; }
.fx-teams i { font-style: normal; font-size: 12px; color: var(--night-mute); }
.fx-lg { padding: 1px 8px; border-radius: 999px; font-size: 11px; color: var(--night-mute); border: 1px solid var(--night-line); white-space: nowrap; }
.fx-count { margin: 10px 0 0; text-align: center; }
.take-focus::before { background: linear-gradient(var(--pink), var(--ice)); }
@media (min-width: 640px) {
  .fx-row { grid-template-columns: 64px 1fr auto; padding: 8px 10px; }
  .fx-teams { font-size: 17px; }
}

/* 赛果比分 / 球队数量 */
.fx-score { font-style: normal; font-family: var(--num); font-size: 19px; font-weight: 700; color: #fff; padding: 0 2px; letter-spacing: .04em; }
.chip-n { margin-left: 6px; font-size: 11px; font-weight: 400; color: var(--ink-3); }
.cal-read { background: var(--night-3); }

/* ---------- 艾咪的预测卡片（多场文） ---------- */
.prose .picks { margin: 6px 0 24px; padding: 14px 12px 12px; border-radius: var(--r); background: var(--night); color: var(--night-ink); box-shadow: 0 22px 44px -28px rgba(10, 15, 30, .9); }
.prose .pk-head { display: flex; justify-content: space-between; align-items: baseline; margin: 0 4px 10px; font-size: 12px; letter-spacing: .12em; color: var(--night-mute); }
.prose .pk-head b { font-size: 15px; letter-spacing: .14em; color: #fff; }
.prose .pk-sum { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.prose .pk-sum span { padding: 4px 10px; border-radius: 999px; background: var(--night-3); font-size: 12px; color: var(--night-mute); }
.prose .pk-sum b { font-family: var(--num); font-size: 16px; color: #fff; margin: 0 1px; }
.prose .pk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.prose .pk { margin: 0; padding: 10px 12px 10px 14px; border-radius: 14px; background: var(--night-2); border: 1px solid var(--night-line); position: relative; }
.prose .pk::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: var(--pink); }
.prose .pk-hit::before { background: var(--hit); }
.prose .pk-miss::before { background: var(--miss); }
.prose .pk-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 28px; text-decoration: none; color: var(--night-mute); font-size: 12px; letter-spacing: .06em; }
.prose .pk-time { font-variant-numeric: tabular-nums; }
.prose .pk-conf { display: inline-flex; align-items: center; gap: 6px; color: var(--night-ink); font-size: 12px; }
.prose .pk-bars { display: inline-flex; gap: 2px; align-items: flex-end; }
.prose .pk-bars i { display: block; width: 4px; border-radius: 2px; background: var(--night-3); }
.prose .pk-bars i:nth-child(1) { height: 7px; } .prose .pk-bars i:nth-child(2) { height: 10px; } .prose .pk-bars i:nth-child(3) { height: 13px; }
.prose .pk-bars i.on { background: var(--pink); }
.prose .pk-grid { display: grid; grid-template-columns: 1fr 48px; align-items: center; column-gap: 4px; row-gap: 2px; margin-top: 4px; }
.prose .pk-grid.has-r { grid-template-columns: 1fr 48px 48px; }
.prose .pk-h { font-size: 11px; letter-spacing: .1em; color: var(--night-mute); text-align: center; }
.prose .pk-team { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 700; font-size: 16px; line-height: 1.35; }
.prose .pk-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; }
.prose .pk-dot-home { background: var(--pink); }
.prose .pk-dot-away { background: #7e8bb5; }
.prose .pk-n, .prose .pk-r { font-family: var(--num); font-size: 28px; line-height: 1.1; text-align: center; font-variant-numeric: tabular-nums; background: none; }
.prose .pk-n { color: var(--pink-2); }
.prose .pk-r { color: #fff; }
.prose .pk-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 0; padding-top: 8px; border-top: 1px dashed var(--night-line); }
.prose .pk-tot { font-size: 12px; color: var(--night-ink); padding: 3px 10px; border-radius: 999px; background: var(--night-3); }
.prose .pk-foot .badge { font-size: 11px; padding: 2px 8px; }
@media (min-width: 640px) { .prose .pk-list { grid-template-columns: 1fr 1fr; } }
