:root {
      /* 暗色 = HeroUI 官方暗色：纯黑底 + zinc 中性（近零彩度，不掺蓝）+ 白透明描边。
         之前是 hue~258 的蓝调 slate，每个中性面都偏蓝 → 通用「AI 默认深色」味；改回 zinc 真中性。 */
      --bg: #09090B;            /* zinc-950：比纯黑柔一档，仍中性（OLED 不刺眼），与 #18181b 卡面仍有清晰层次 */
      --surface: #18181B;       /* content1 / zinc-900 卡面 */
      --surface-2: #27272A;     /* content2 / zinc-800 抬升层 */
      --fg: #ECEDEE;            /* HeroUI dark foreground */
      --muted: #A1A1AA;         /* zinc-400 次要文字 */
      --muted-2: #71717A;       /* zinc-500 更弱文字 */
      --border: rgba(255,255,255,0.10);        /* ≈HeroUI divider：白透明，任意深面上都见边 */
      --border-strong: rgba(255,255,255,0.18);
      --accent: #17C964;        /* HeroUI success；与亮色统一 */
      --accent-soft: color-mix(in oklch, var(--accent) 14%, transparent);
      --frozen: #006FEE;   /* HeroUI primary 蓝（主胜/M-frozen）*/
      --live: #17C964;     /* success 绿（accent/M-live）*/
      --llm: #9353D3;      /* secondary 紫（客胜/M-llm）*/
      --base: #71717A;     /* zinc-500 */
      --warn: #F31260;     /* danger 红（分歧/未中）*/
      --draw: #A1A1AA;     /* zinc-400（平局）*/
      --font-display: "Inter","PingFang SC","Source Han Sans SC","Microsoft YaHei",system-ui,sans-serif;
      --font-body: "Inter","PingFang SC","Source Han Sans SC","Microsoft YaHei",system-ui,sans-serif;
      --font-mono: "Inter","SF Mono",ui-monospace,"Roboto Mono",monospace;
      --fs-h1: clamp(34px, 5vw, 58px);
      --fs-h2: clamp(24px, 3vw, 34px);
      --fs-h3: 18px;
      --fs-body: 14px;
      --fs-meta: 12px;
      --gap-xs: 6px;
      --gap-sm: 10px;
      --gap-md: 16px;
      --gap-lg: 24px;
      --gap-xl: 36px;
      --gap-2xl: 60px;
      --container: 1280px;
      --gutter: clamp(16px, 3vw, 32px);
      --radius: 12px;
      --radius-lg: 14px;
      --shadow: inset 0 1px 0 color-mix(in srgb, var(--fg) 7%, transparent);
    }

    [data-theme="light"] {
      --bg: #FAFAFA;            /* zinc-50 干净底，无光晕 */
      --surface: #FFFFFF;       /* content1 */
      --surface-2: #F4F4F5;     /* content2 / zinc-100 */
      --fg: #11181C;            /* HeroUI foreground */
      --muted: #52525B;         /* zinc-600 */
      --muted-2: #A1A1AA;       /* zinc-400 */
      --border: #E4E4E7;        /* zinc-200 */
      --border-strong: #D4D4D8; /* zinc-300 */
      --accent: #17C964;        /* success 绿 */
      --accent-soft: #E8FAF0;   /* success-50 */
      --base: #71717A;
      --draw: #A1A1AA;
      --shadow: 0 1px 3px rgba(17,24,28,0.07), 0 1px 2px rgba(17,24,28,0.04);  /* HeroUI 柔和阴影 */
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { -webkit-text-size-adjust: 100%; }
    body {
      margin: 0;
      background: var(--bg);
      color: var(--fg);
      font-family: var(--font-body);
      font-size: var(--fs-body);
      line-height: 1.5;
      text-rendering: optimizeLegibility;
      -webkit-font-smoothing: antialiased;
    }
    a { color: inherit; text-decoration: none; }
    button, input, select { font: inherit; }
    button { cursor: pointer; }
    h1, h2, h3, h4, p { margin: 0; }
    h1, h2, h3 { font-family: var(--font-display); letter-spacing: 0; text-wrap: balance; }
    p { text-wrap: pretty; }
    svg { max-width: 100%; display: block; }
    .container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
    .section { padding-block: clamp(42px, 7vw, var(--gap-2xl)); border-top: 1px solid var(--border); }
    .stack { display: flex; flex-direction: column; gap: var(--gap-md); }
    .row { display: flex; align-items: center; gap: var(--gap-md); }
    .row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-md); }
    .grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-lg); }
    .grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-md); }
    .grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-md); }
    .grid-main { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(360px, .9fr); gap: var(--gap-lg); align-items: stretch; }
    .h1, h1 { font-size: var(--fs-h1); line-height: 1.08; font-weight: 800; }
    .h2, h2 { font-size: var(--fs-h2); line-height: 1.15; font-weight: 800; }
    .h3, h3 { font-size: var(--fs-h3); line-height: 1.25; font-weight: 700; }
    .lead { color: var(--muted); font-size: clamp(15px, 1.6vw, 18px); max-width: 64ch; line-height: 1.7; }
    .eyebrow {
      color: var(--accent);
      font-family: var(--font-mono);
      font-size: var(--fs-meta);
      letter-spacing: .08em;
      text-transform: uppercase;
      font-variant-numeric: tabular-nums;
    }
    .meta, .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
    .meta { color: var(--muted-2); font-size: var(--fs-meta); }
    .topnav {
      position: sticky;
      top: 0;
      z-index: 20;
      background: color-mix(in srgb, var(--bg) 84%, transparent);
      border-bottom: 1px solid var(--border);
      backdrop-filter: blur(16px);
    }
    .topnav-inner { height: 58px; display: flex; align-items: center; justify-content: space-between; gap: var(--gap-lg); }
    .logo { font-weight: 800; letter-spacing: .02em; display: inline-flex; align-items: center; gap: 9px; }
    .logo-img { width: 28px; height: 28px; display: block; flex: 0 0 auto; }
    /* 品牌 wordmark：小写 wcelo + 弱化的 .com（露出域名），与图标垂直居中对齐 */
    .logo-word { font-size: 18px; font-weight: 800; letter-spacing: -.005em; color: var(--fg); line-height: 1; }
    .logo-tld { font-weight: 700; color: var(--muted-2); }
    /* 国旗图（本地 SVG，替代 emoji）：圆形图标（借鉴 Stake/多数体育站）——固定正圆、居中裁切，
       所有旗尺寸完全一致；圆形是「图标」视觉语言，居中裁切看作刻意设计，不像矩形被裁显残缺。
       规避了各国原生宽高比差异（卡塔尔 1:2.5、英联邦 2:1、瑞士 1:1）导致的宽窄不齐。 */
    .fl-img { width: 1.3em; height: 1.3em; object-fit: cover; border-radius: 50%; vertical-align: -0.28em;
      box-shadow: 0 0 0 1px rgba(16,24,40,.14); display: inline-block; background: var(--surface-2); }
    .fl-na { width: 1.3em; height: 1.3em; border-radius: 50%; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); }
    .navlinks { display: flex; align-items: center; gap: var(--gap-lg); color: var(--muted); font-size: 13px; }
    .navlinks a:hover { color: var(--fg); }
    .theme-toggle {
      display: inline-flex; align-items: center; justify-content: center;
      width: 32px; height: 32px; padding: 0; flex: 0 0 auto;
      border: 1px solid var(--border); border-radius: 9px;
      background: transparent; color: var(--muted);
      transition: color .15s ease, border-color .15s ease, background .15s ease;
    }
    .theme-toggle:hover { color: var(--fg); border-color: var(--border-strong); background: var(--surface-2); }
    .theme-toggle svg { display: block; }
    /* :root 为暗色 → 显示「太阳」(点击转浅色)；浅色主题 → 显示「月亮」 */
    .theme-toggle .i-moon { display: none; }
    .theme-toggle .i-sun { display: block; }
    [data-theme="light"] .theme-toggle .i-sun { display: none; }
    [data-theme="light"] .theme-toggle .i-moon { display: block; }
    .lang-toggle {
      display: inline-flex; align-items: center; justify-content: center;
      height: 32px; min-width: 34px; padding: 0 8px; flex: 0 0 auto;
      border: 1px solid var(--border); border-radius: 9px;
      background: transparent; color: var(--muted);
      font-size: 12px; font-weight: 700; letter-spacing: .02em; line-height: 1;
      transition: color .15s ease, border-color .15s ease, background .15s ease;
    }
    .lang-toggle:hover { color: var(--fg); border-color: var(--border-strong); background: var(--surface-2); }
    .btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 8px;
      min-height: 38px;
      padding: 9px 14px;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      color: var(--fg);
      background: transparent;
      transition: background .18s ease, border-color .18s ease, transform .08s ease;
    }
    .btn:hover { border-color: var(--border-strong); background: color-mix(in srgb, var(--fg) 5%, transparent); }
    .btn:active { transform: translateY(1px); }
    .btn-primary { border-color: color-mix(in oklch, var(--accent) 50%, var(--border)); background: var(--accent-soft); color: var(--fg); }
    .icon-btn { width: 38px; padding-inline: 0; }
    .card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow);
    }
    .panel-pad { padding: clamp(16px, 2.2vw, 24px); }
    .pill {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 5px 10px;
      border: 1px solid var(--border);
      border-radius: 999px;
      color: var(--muted);
      background: color-mix(in srgb, var(--surface-2) 68%, transparent);
      font-family: var(--font-mono);
      font-size: 11px;
      font-variant-numeric: tabular-nums;
      white-space: nowrap;
    }
    .pill.live { color: var(--accent); border-color: color-mix(in oklch, var(--accent) 42%, var(--border)); background: var(--accent-soft); }
    .hero { padding-block: clamp(56px, 9vw, 112px) clamp(36px, 5vw, 68px); }
    .hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(340px, 1.05fr); gap: var(--gap-xl); align-items: end; }
    .hero-copy { display: flex; flex-direction: column; gap: 20px; }
    .thesis-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-sm); margin-top: 22px; }
    .thesis { padding: 14px; min-height: 104px; }
    .thesis strong { display: block; margin-bottom: 8px; font-size: 13px; }
    .thesis span { color: var(--muted); font-size: 12px; }
    .instrument {
      min-height: 360px;
      padding: 18px;
      overflow: hidden;
      position: relative;
      background:
        linear-gradient(90deg, color-mix(in srgb, var(--border) 36%, transparent) 1px, transparent 1px),
        linear-gradient(180deg, color-mix(in srgb, var(--border) 36%, transparent) 1px, transparent 1px),
        color-mix(in srgb, var(--surface) 92%, transparent);
      background-size: 44px 44px;
    }
    .instrument::after {
      content: "";
      position: absolute;
      inset: auto 18px 18px 18px;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--accent), transparent);
      opacity: .75;
    }
    .stage-strip { display: flex; flex-wrap: wrap; gap: var(--gap-sm); margin-top: 24px; }
    .section-head { display: flex; align-items: end; justify-content: space-between; gap: var(--gap-lg); margin-bottom: var(--gap-lg); }
    .section-head > div { max-width: 760px; }
    .section-head p { margin-top: 10px; }
    .tabs, .filters { display: flex; flex-wrap: wrap; gap: 8px; }
    .tab, .filter {
      border: 1px solid var(--border);
      color: var(--muted);
      background: color-mix(in srgb, var(--surface) 78%, transparent);
      border-radius: 999px;
      min-height: 34px;
      padding: 7px 12px;
      font-size: 12px;
    }
    .tab[aria-selected="true"], .filter.active { color: var(--fg); border-color: color-mix(in oklch, var(--accent) 44%, var(--border)); background: var(--accent-soft); }
    .prob-list { display: flex; flex-direction: column; gap: 13px; }
    .prob-row { display: grid; grid-template-columns: minmax(72px, .75fr) minmax(0, 2fr) 74px; gap: 12px; align-items: center; }
    .prob-row small { color: var(--muted); }
    .bar-track { height: 18px; border-radius: 5px; background: var(--surface-2); overflow: hidden; border: 1px solid color-mix(in srgb, var(--border) 70%, transparent); }
    .bar-fill { height: 100%; width: var(--w); background: var(--frozen); border-radius: inherit; transition: width .22s ease; }
    .empty-fill { background: linear-gradient(90deg, color-mix(in srgb, var(--muted-2) 28%, transparent), color-mix(in srgb, var(--muted-2) 8%, transparent)); }
    .chart-card { min-height: 100%; display: flex; flex-direction: column; }
    .chart-wrap { flex: 1; min-height: 310px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--border); padding: 12px; }
    .legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
    .legend span { display: inline-flex; align-items: center; gap: 6px; }
    .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--base); }
    .dot.frozen, .line.frozen { background: var(--frozen); }
    .dot.live, .line.live { background: var(--live); }
    .dot.llm, .line.llm { background: var(--llm); }
    .dot.warn { background: var(--warn); }
    .metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-md); }
    .metric { padding: 18px; }
    .metric .value { font-size: 24px; font-weight: 800; margin-top: 8px; }
    .metric .state { margin-top: 10px; color: var(--muted); font-size: 12px; }
    .table-wrap, .bracket-scroll, .group-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--surface) 88%, transparent); }
    table { width: 100%; border-collapse: collapse; min-width: 760px; }
    th, td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
    th { color: var(--muted); font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
    td.num-col, th.num-col { text-align: right; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
    tbody tr:hover { background: color-mix(in srgb, var(--fg) 4%, transparent); }
    .source-cell { display: flex; gap: 6px; align-items: center; justify-content: flex-end; }
    .mini-bar { width: 46px; height: 7px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
    .mini-bar i { display: block; width: var(--w); height: 100%; background: var(--live); }
    .det { display: inline-flex; width: 18px; height: 18px; align-items: center; justify-content: center; border-radius: 4px; background: var(--accent-soft); color: var(--accent); font-family: var(--font-mono); font-size: 11px; }
    .headline-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-md); margin-bottom: var(--gap-lg); }
    .headline { padding: 18px; border-left: 2px solid var(--border-strong); }
    .headline b { display: block; margin-bottom: 8px; }
    .headline p { color: var(--muted); font-size: 13px; }
    .bracket {
      min-width: 980px;
      display: grid;
      grid-template-columns: repeat(5, minmax(170px, 1fr));
      gap: 14px;
      padding: 18px;
    }
    .round { display: flex; flex-direction: column; gap: 12px; }
    .round-title { color: var(--muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
    .match {
      min-width: 0;
      overflow: hidden;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 11px;
      background: color-mix(in srgb, var(--surface-2) 78%, transparent);
    }
    .match.disagree { border-color: color-mix(in oklch, var(--warn) 72%, var(--border)); box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--warn) 20%, transparent); }
    .match .teams { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; min-width: 0; }
    .match .teams span { min-width: 0; overflow-wrap: anywhere; }
    .match .read { margin-top: 9px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; word-break: break-word; }
    .inline-code { font-family: var(--font-mono); color: var(--muted); overflow-wrap: anywhere; word-break: break-word; }
    .prob-line { height: 5px; margin-top: 9px; background: var(--surface); border-radius: 999px; overflow: hidden; }
    .prob-line i { display: block; height: 100%; width: var(--w); background: var(--frozen); }
    .groups { display: grid; grid-template-columns: repeat(3, minmax(260px, 1fr)); gap: var(--gap-md); min-width: 880px; padding: 18px; }
    .group-card { padding: 16px; }
    .fixtures { display: grid; gap: 9px; margin-top: 14px; }
    .fixture { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; color: var(--muted); font-size: 12px; }
    .wdl { height: 7px; grid-column: 1 / -1; display: grid; grid-template-columns: var(--w) var(--d) 1fr; border-radius: 999px; overflow: hidden; background: var(--surface-2); }
    .wdl i:nth-child(1) { background: var(--frozen); }
    .wdl i:nth-child(2) { background: var(--draw); }
    .wdl i:nth-child(3) { background: var(--llm); }
    .empty-block {
      margin-top: 14px;
      min-height: 92px;
      display: grid;
      place-items: center;
      border: 1px dashed var(--border-strong);
      border-radius: var(--radius);
      color: var(--muted);
      background: color-mix(in srgb, var(--surface-2) 48%, transparent);
      text-align: center;
      padding: 14px;
    }
    details { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px 18px; background: color-mix(in srgb, var(--surface) 88%, transparent); }
    details + details { margin-top: 10px; }
    summary { cursor: pointer; font-weight: 700; }
    details p { color: var(--muted); margin-top: 12px; max-width: 82ch; }
    .pagefoot { border-top: 1px solid var(--border); color: var(--muted); padding-block: 28px; }
    .mobile-only-note { display: none; color: var(--muted); font-size: 12px; margin-top: 8px; }
    @media (max-width: 1080px) {
      .hero-grid, .grid-main { grid-template-columns: 1fr; }
      .instrument { min-height: 280px; }
      .metric-grid, .headline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .thesis-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media (max-width: 720px) {
      /* 手机端:logo 一行、导航换到下一行横向排列(挤不下可横滑),不再隐藏导致无入口 */
      .topnav-inner { height: auto; flex-direction: column; align-items: stretch; gap: 4px; padding-block: 8px; }
      .logo { align-self: flex-start; }
      .navlinks { gap: 18px; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
      .navlinks::-webkit-scrollbar { display: none; }
      .grid-2, .grid-3, .grid-4, .metric-grid, .headline-grid, .thesis-row { grid-template-columns: 1fr; }
      .section-head { align-items: start; flex-direction: column; }
      .prob-row { grid-template-columns: 68px minmax(0, 1fr) 58px; }
      .hero { padding-top: 42px; }
      .mobile-only-note { display: block; }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    }

/* ===== 多页扩展组件（首页/对比页/方法论页共用）===== */
.navlinks a.active { color: var(--fg); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.page-intro { padding-block: clamp(28px, 5vw, 48px); }

/* 下一场比赛大卡 */
.next-match { padding: clamp(20px, 3vw, 32px); }
.nm-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.nm-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(12px, 3vw, 40px); }
.nm-team { text-align: center; }
.nm-team .flag { font-size: clamp(40px, 7vw, 72px); line-height: 1; }
.nm-team .tname { font-size: clamp(20px, 3vw, 30px); font-weight: 800; margin-top: 10px; }
.nm-team .twin { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: clamp(28px, 5vw, 46px); font-weight: 800; margin-top: 10px; }
.nm-mid { text-align: center; color: var(--muted); }
.nm-mid .vs { font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; }
.nm-mid .draw { font-size: clamp(20px, 3vw, 30px); font-weight: 800; color: var(--muted); margin-top: 6px; }
.win-frozen { color: var(--frozen); } .win-llm { color: var(--llm); } .win-live { color: var(--live); }
.nm-bar { margin-top: 26px; }
/* 分段圆角条 + 段间留白（替代旧的硬拼三色块）*/
.wdl-big { display: flex; gap: 5px; height: 14px; }
.wdl-big i { border-radius: 999px; min-width: 4px; transition: flex-basis .25s ease; }
.wdl-big i:nth-child(1){ background: var(--frozen); }
.wdl-big i:nth-child(2){ background: var(--draw); }
.wdl-big i:nth-child(3){ background: var(--llm); }
.wdl-key { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 12.5px; }
.wdl-key .k-win { color: var(--frozen); } .wdl-key .k-draw { color: var(--muted-2); } .wdl-key .k-loss { color: var(--llm); }
.wdl-key span:nth-child(2){ text-align: center; } .wdl-key span:nth-child(3){ text-align: right; }

/* 历史赛果列表 */
.result-list { display: flex; flex-direction: column; gap: 10px; }
.result-row { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; align-items: center; padding: 12px 16px; }
.result-row .score { font-family: var(--font-mono); font-weight: 800; font-size: 16px; }
.result-row .rmeta { color: var(--muted); font-size: 12px; }
.tag-hit { color: var(--live); border-color: color-mix(in oklch, var(--live) 42%, var(--border)); }
.tag-miss { color: var(--warn); border-color: color-mix(in oklch, var(--warn) 42%, var(--border)); }

/* 赛程表 */
.fx-table th, .fx-table td { white-space: nowrap; }
.fx-pick { font-weight: 700; }
.fx-na { color: var(--muted-2); }
.stage-band td { background: color-mix(in srgb, var(--surface-2) 60%, transparent); font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ===== 赛程预测页：按轮次胜率表 + 横向对阵树 ===== */
.round-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.round-tabs .tab { white-space: nowrap; }

/* 按轮次胜率卡（FMD By-Round 风格） */
.pr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(440px, 1fr)); gap: 12px; }
@media (max-width: 720px){ .pr-list { grid-template-columns: 1fr; } }
.pr-row { padding: 14px 16px; }
.pr-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.pr-date { color: var(--muted); font-family: var(--font-mono); font-size: 12px; }
.pr-grp { color: var(--muted-2); font-family: var(--font-mono); font-size: 11px; }
.pr-match { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.pr-team { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 700; }
.pr-team .fl { font-size: 22px; line-height: 1; }
.pr-team.away { flex-direction: row-reverse; }
.pr-mid { text-align: center; }
.pr-probs { display: flex; gap: 4px; justify-content: center; }
.pr-prob { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 12px; padding: 3px 8px; border-radius: 6px; background: var(--surface-2); min-width: 46px; text-align: center; }
.pr-prob.win { color: var(--frozen); } .pr-prob.draw { color: var(--muted); } .pr-prob.loss { color: var(--llm); }
.pr-bar { height: 8px; display: flex; gap: 4px; margin-top: 12px; }
.pr-bar i { border-radius: 999px; min-width: 3px; }
.pr-bar i:nth-child(1){ background: var(--frozen); } .pr-bar i:nth-child(2){ background: var(--draw); } .pr-bar i:nth-child(3){ background: var(--llm); }
.pr-tbd { color: var(--muted-2); font-family: var(--font-mono); font-size: 12px; }

/* 横向对阵树 */
.bracket-h { display: grid; grid-template-columns: repeat(9, minmax(112px, 1fr)); gap: 8px; padding: 18px; min-width: 1180px; }
.bk-col { display: flex; flex-direction: column; justify-content: space-around; gap: 8px; }
.bk-col.cfinal { justify-content: center; }
.bk-round-title { text-align: center; color: var(--muted); font-family: var(--font-mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 6px; }
.bk-match { border: 1px solid var(--border); border-radius: 8px; background: color-mix(in srgb, var(--surface-2) 78%, transparent); overflow: hidden; }
.bk-slot { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 7px 9px; font-size: 12px; min-width: 0; }
.bk-slot + .bk-slot { border-top: 1px solid var(--border); }
.bk-slot .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-slot .pr { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--muted-2); font-size: 11px; }
.bk-match.cfinal-card { border-color: color-mix(in oklch, var(--accent) 55%, var(--border)); box-shadow: inset 0 0 0 1px var(--accent-soft); }
.bk-trophy { text-align: center; font-size: 30px; margin-bottom: 8px; }

/* ===== 逐队详情页 ===== */
.team-hero { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.team-hero .flag-lg { font-size: 64px; line-height: 1; }
.team-hero .tinfo h1 { font-size: clamp(30px, 4vw, 44px); }
.team-hero .tinfo .meta { margin-top: 6px; }
.team-select { margin-left: auto; }
.team-select select { background: var(--surface); color: var(--fg); border: 1px solid var(--border); border-radius: var(--radius); padding: 9px 14px; min-height: 38px; font: inherit; }
.stage-bars { display: grid; gap: 12px; }
.stage-bar { display: grid; grid-template-columns: 96px 1fr 64px; gap: 14px; align-items: center; }
.stage-bar .slabel { color: var(--muted); font-size: 13px; }
.stage-bar .strack { display: block; height: 16px; border-radius: 6px; background: var(--surface-2); overflow: hidden; border: 1px solid color-mix(in srgb, var(--border) 70%, transparent); }
.stage-bar .sfill { display: block; height: 100%; background: var(--frozen); border-radius: inherit; transition: width .3s ease; }
.stage-bar .sval { text-align: right; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.team-fixtures { display: grid; gap: 10px; }

/* 对阵树：晋级方高亮 */
.bk-slot.bk-adv { background: var(--accent-soft); }
.bk-slot.bk-adv .nm { color: var(--accent); font-weight: 700; }

/* ===== 球队网格（首页入口 + 逐队页切换器）===== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.tg-group { background: color-mix(in srgb, var(--surface) 92%, transparent); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 14px; }
.tg-gname { color: var(--muted-2); font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; margin-bottom: 10px; }
.tg-chip { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: var(--radius); color: var(--fg); font-size: 14px; transition: background .15s ease; }
.tg-chip + .tg-chip { margin-top: 2px; }
.tg-chip .fl { font-size: 20px; line-height: 1; }
.tg-chip:hover { background: color-mix(in srgb, var(--fg) 5%, transparent); }
.tg-chip.active { background: var(--accent-soft); color: var(--accent); font-weight: 700; }

/* 球队横向条（逐队页切换器，单行可滑动）*/
.team-strip { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 18px; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
.team-strip::-webkit-scrollbar { height: 6px; }
.team-strip::-webkit-scrollbar-track { background: transparent; }
.team-strip::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }
.team-strip::-webkit-scrollbar-thumb:hover { background: var(--border-strong); }
.ts-group { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.ts-group + .ts-group { border-left: 1px solid var(--border); padding-left: 16px; }
.ts-gname { color: var(--muted-2); font-family: var(--font-mono); font-size: 11px; margin-right: 2px; }
.ts-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border: 1px solid var(--border); border-radius: 999px; color: var(--fg); font-size: 13px; white-space: nowrap; transition: background .15s ease, border-color .15s ease; }
.ts-chip .fl { font-size: 17px; line-height: 1; }
.ts-chip:hover { border-color: var(--border-strong); background: color-mix(in srgb, var(--fg) 4%, transparent); }
.ts-chip.active { background: var(--accent-soft); color: var(--accent); border-color: color-mix(in oklch, var(--accent) 44%, var(--border)); font-weight: 700; }

/* ===== 研究方法页：论文式排版 + 阅读可视化 ===== */
.section[id] { scroll-margin-top: 76px; }
.paper-head { padding-block: clamp(40px,7vw,84px) clamp(26px,4vw,40px); }
.paper-meta { display:flex; flex-wrap:wrap; gap:8px; margin-top:22px; }
.paper-abstract { margin-top:26px; padding:20px 22px; border-left:3px solid var(--accent); background:color-mix(in oklch,var(--accent) 5%,transparent); border-radius:0 var(--radius) var(--radius) 0; }
.paper-abstract h2 { font-size:12px; font-family:var(--font-mono); letter-spacing:.08em; text-transform:uppercase; color:var(--accent); margin-bottom:10px; }
.paper-abstract p { color:var(--fg); max-width:76ch; line-height:1.78; }
.paper-toc { margin-top:20px; padding:18px 20px; }
.paper-toc h2 { font-size:12px; font-family:var(--font-mono); letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin-bottom:12px; }
.toc-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px 24px; }
.toc-list a { display:flex; gap:10px; color:var(--muted); font-size:13.5px; padding:3px 0; transition:color .15s ease; }
.toc-list a:hover { color:var(--accent); }
.toc-list a .tn { font-family:var(--font-mono); color:var(--muted-2); flex:0 0 1.8em; }
.prose { max-width:76ch; }
.prose p { color:var(--muted); line-height:1.8; margin-top:15px; }
.prose p strong { color:var(--fg); font-weight:600; }
.prose p:first-of-type { margin-top:0; }
.prose ul { margin:14px 0 0; padding-left:20px; color:var(--muted); line-height:1.8; }
.prose ul li { margin-top:7px; } .prose ul li strong { color:var(--fg); }

/* 图（figure）容器 + 题注 */
.fig { margin-top:24px; padding:20px; border:1px solid var(--border); border-radius:var(--radius-lg); background:color-mix(in oklch,var(--surface) 90%,transparent); }
.fig-scroll { overflow-x:auto; }
.fig-cap { margin-top:14px; color:var(--muted-2); font-size:12.5px; font-family:var(--font-mono); line-height:1.6; max-width:82ch; }

/* 估计器流水线 */
.pipeline { display:flex; align-items:stretch; gap:6px; min-width:max-content; }
.pl-node { flex:0 0 auto; min-width:120px; padding:12px 14px; border:1px solid var(--border); border-radius:var(--radius); background:var(--surface); text-align:center; }
.pl-node b { display:block; font-size:13px; }
.pl-node span { display:block; margin-top:5px; color:var(--muted); font-size:11px; line-height:1.45; }
.pl-node.accent { border-color:color-mix(in oklch,var(--accent) 50%,var(--border)); background:var(--accent-soft); }
.pl-arrow { flex:0 0 auto; display:flex; align-items:center; color:var(--muted-2); font-size:18px; }

/* 三模型变体 */
.variants { display:flex; flex-direction:column; gap:10px; }
.var-row { display:grid; grid-template-columns:118px 1fr; gap:14px; align-items:center; }
.var-tag { font-family:var(--font-mono); font-size:12px; font-weight:700; padding:7px 10px; border-radius:8px; text-align:center; }
.var-tag.frozen{ color:var(--frozen); background:color-mix(in oklch,var(--frozen) 12%,transparent); }
.var-tag.live{ color:var(--live); background:color-mix(in oklch,var(--live) 14%,transparent); }
.var-tag.llm{ color:var(--llm); background:color-mix(in oklch,var(--llm) 14%,transparent); }
.var-in { color:var(--muted); font-size:13.5px; line-height:1.5; }
.var-in b { color:var(--fg); font-weight:600; }
.var-core { margin-top:4px; padding:12px; text-align:center; border:1px dashed var(--border-strong); border-radius:var(--radius); color:var(--muted); font-size:13px; background:color-mix(in oklch,var(--surface-2) 45%,transparent); }
@media(max-width:720px){ .var-row{ grid-template-columns:1fr; gap:6px; } .toc-list{ grid-template-columns:1fr; } }

/* 未来函数闸 */
.gate { display:flex; min-width:520px; border-radius:var(--radius); overflow:hidden; border:1px solid var(--border); }
.gate-allow { flex:1.35; padding:15px 16px; background:color-mix(in oklch,var(--live) 9%,transparent); }
.gate-block { flex:1; padding:15px 16px; background:color-mix(in oklch,var(--warn) 8%,transparent); border-left:2px dashed var(--warn); }
.gate .gtag{ font-family:var(--font-mono); font-size:11px; letter-spacing:.04em; }
.gate-allow .gtag{ color:var(--live); } .gate-block .gtag{ color:var(--warn); }
.gate b { display:block; font-size:13px; margin-top:6px; } .gate p { margin-top:6px; color:var(--muted); font-size:12.5px; line-height:1.55; }

/* 结算时点时间线 */
.timeline { display:flex; min-width:680px; }
.tl-step { flex:1; position:relative; padding:26px 10px 0; text-align:center; }
.tl-step::before { content:""; position:absolute; top:6px; left:0; right:0; height:2px; background:var(--border); }
.tl-step:first-child::before { left:50%; } .tl-step:last-child::before { right:50%; }
.tl-step::after { content:""; position:absolute; top:1px; left:50%; transform:translateX(-50%); width:11px; height:11px; border-radius:999px; background:var(--surface); border:2px solid var(--border-strong); }
.tl-step.key::after { background:var(--accent); border-color:var(--accent); }
.tl-step .tl-date { font-family:var(--font-mono); font-size:11px; color:var(--muted-2); }
.tl-step .tl-label { font-size:13px; font-weight:700; margin-top:4px; }
.tl-step .tl-sub { font-size:11.5px; color:var(--muted); margin-top:3px; line-height:1.45; }

/* 校准示意 */
.calib-fig { display:flex; gap:26px; align-items:center; flex-wrap:wrap; }
.calib-fig svg { flex:0 0 auto; }
.calib-note { flex:1; min-width:230px; color:var(--muted); font-size:13px; line-height:1.75; }
.calib-note b { color:var(--fg); }

/* 参考与材料 */
.ref-list { display:grid; gap:0; }
.ref-item { display:flex; gap:12px; padding:13px 0; border-bottom:1px solid var(--border); }
.ref-item .rn { font-family:var(--font-mono); color:var(--accent); flex:0 0 1.8em; }
.ref-item .rb { color:var(--muted); font-size:13px; line-height:1.6; }
.ref-item .rb b { color:var(--fg); font-weight:600; }

/* 结果占位（赛后填充） */
.pending { border:1px dashed var(--border-strong); background:color-mix(in oklch,var(--surface-2) 40%,transparent); }
.pend-tag { display:inline-flex; padding:3px 9px; border-radius:999px; border:1px dashed var(--border-strong); color:var(--muted-2); font-family:var(--font-mono); font-size:11px; }

/* ===== 更新日志页（M-llm 每日修正变更记录）===== */
.log-list { display: flex; flex-direction: column; gap: 16px; }
.log-day-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.search-badge { font-family: var(--font-mono); font-size: 12px; padding: 5px 11px; border-radius: 999px; white-space: nowrap; color: var(--accent); border: 1px solid color-mix(in oklch, var(--accent) 42%, var(--border)); background: var(--accent-soft); }
.search-badge.zero { color: var(--warn); border-color: color-mix(in oklch, var(--warn) 42%, var(--border)); background: color-mix(in oklch, var(--warn) 8%, transparent); }
.log-note { margin-top: 12px; padding: 10px 14px; border-radius: var(--radius); background: color-mix(in oklch, var(--warn) 7%, transparent); border: 1px solid color-mix(in oklch, var(--warn) 22%, var(--border)); color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.adj-list { display: flex; flex-direction: column; margin-top: 16px; }
.adj { padding: 14px 0; border-top: 1px solid var(--border); }
.adj:first-child { border-top: none; padding-top: 4px; }
.adj-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.adj-team { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px; min-width: 130px; }
.adj-fl { font-size: 19px; line-height: 1; }
.adj-delta { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 800; font-size: 17px; min-width: 46px; }
.adj-delta.neg { color: var(--warn); } .adj-delta.pos { color: var(--live); }
.adj-conf { font-family: var(--font-mono); font-size: 11px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); }
.adj-conf.c-high { color: var(--frozen); border-color: color-mix(in oklch, var(--frozen) 40%, var(--border)); }
.adj-conf.c-low { color: var(--muted-2); }
.adj-eff { margin-left: auto; font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 13px; color: var(--muted); white-space: nowrap; }
.adj-eff .arr { color: var(--muted-2); } .adj-eff b { color: var(--llm); }
.adj-reason { margin-top: 8px; color: var(--muted); font-size: 13.5px; line-height: 1.65; max-width: 84ch; }
.adj-srcs { margin-top: 8px; display: flex; gap: 12px; flex-wrap: wrap; }
.adj-src { font-size: 12px; color: var(--frozen); font-family: var(--font-mono); }
.adj-src:hover { text-decoration: underline; }
.riser-block { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--border-strong); }
.riser-head { color: var(--muted); font-size: 12.5px; line-height: 1.5; margin-bottom: 12px; }
.riser-row { display: flex; flex-wrap: wrap; gap: 8px; }
.riser { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; border: 1px solid color-mix(in oklch, var(--live) 32%, var(--border)); background: color-mix(in oklch, var(--live) 7%, transparent); font-size: 13px; }
.riser b { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--live); font-weight: 700; }
/* 赛程页：受 M-llm 伤病修正影响的场次，下方常驻说明（本场胜率怎么变 + 原因，不靠悬停）*/
.adj-note { margin-top: 10px; padding: 9px 12px; border-radius: 8px; font-size: 12.5px; line-height: 1.5;
  background: color-mix(in oklch, var(--warn) 6%, transparent); border-left: 2px solid color-mix(in oklch, var(--warn) 50%, var(--border)); }
.adj-note.pos { background: color-mix(in oklch, var(--live) 7%, transparent); border-left-color: color-mix(in oklch, var(--live) 50%, var(--border)); }
.adj-note + .adj-note { margin-top: 6px; }
.adj-note-h { font-weight: 600; color: var(--fg); }
.adj-note-h .fl { font-size: 15px; vertical-align: -2px; }
.adj-note-h b { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--warn); }
.adj-note.pos .adj-note-h b { color: var(--live); }
.adj-note-elo { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); margin-left: 4px; white-space: nowrap; }
.adj-note-r { color: var(--muted); margin-top: 4px; }
@media (max-width: 720px){ .adj-eff { margin-left: 0; width: 100%; } .adj-team { min-width: 0; } }

/* 比赛直播嵌入位（16:9 自适应）*/
.live-embed { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--border); box-shadow: var(--shadow); }
.live-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.live-where { display: flex; flex-wrap: wrap; gap: 10px; }

/* Polymarket / 外链 pill */
.pm-link { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--fg); font-size: 13px; font-weight: 600; white-space: nowrap; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.pm-link:hover { border-color: var(--frozen); color: var(--frozen); background: color-mix(in oklch, var(--frozen) 7%, transparent); }
.pm-link.sm { padding: 4px 10px; font-size: 12px; font-weight: 600; }
.pm-bar-top { display: flex; align-items: center; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

/* 外链图标按钮（Polymarket / Stake 跳转） */
.mkt-ico { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 999px; border: 1px solid var(--border); color: var(--frozen); font-size: 13px; line-height: 1; flex-shrink: 0; text-decoration: none; transition: background .15s ease, border-color .15s ease; }
.mkt-ico:hover { border-color: var(--frozen); background: color-mix(in oklch, var(--frozen) 9%, transparent); }

/* 统一胜平负对比条：我们 / Polymarket / Stake 三行四列对齐（粗细+起止+长度一致，直接比段差） */
.nm-cmp { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.pr-cmp { margin-top: 12px; }
.cmp-row { display: flex; align-items: center; gap: 10px; margin-top: 9px; }
.cmp-row:first-child { margin-top: 0; }
.cmp-label { flex: 0 0 78px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.cmp-row.ours .cmp-label { color: var(--fg); font-weight: 700; }
.wdl-cmp { flex: 1 1 auto; min-width: 0; display: flex; gap: 5px; height: 10px; }
.wdl-cmp i { border-radius: 999px; min-width: 3px; }
.wdl-cmp i:nth-child(1){ background: var(--frozen); }
.wdl-cmp i:nth-child(2){ background: var(--draw); }
.wdl-cmp i:nth-child(3){ background: var(--llm); }
.cmp-vals { flex: 0 0 90px; text-align: right; font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 12.5px; color: var(--muted); }
.cmp-ico { flex: 0 0 28px; display: flex; justify-content: flex-end; }
.cmp-na { flex: 1 1 auto; font-size: 12px; color: var(--muted-2); }
.pr-vs { color: var(--muted-2); font-family: var(--font-mono); font-size: 12px; }
