:root {
      --bg: oklch(16.2% 0.014 258.4);
      --surface: oklch(20.4% 0.024 262.3);
      --surface-2: oklch(24.3% 0.029 261.4);
      --fg: oklch(96.2% 0.011 256.7);
      --muted: oklch(77.3% 0.029 258.4);
      --muted-2: oklch(56% 0.025 258.4);
      --border: oklch(29.2% 0.030 260.5);
      --border-strong: oklch(39% 0.040 260.5);
      --accent: oklch(77.3% 0.153 163.2);
      --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 oklch, 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 oklch, 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; }
    .navlinks { display: flex; align-items: center; gap: var(--gap-lg); color: var(--muted); font-size: 13px; }
    .navlinks a:hover { color: var(--fg); }
    .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 oklch, 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 oklch, 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 oklch, var(--border) 36%, transparent) 1px, transparent 1px),
        linear-gradient(180deg, color-mix(in oklch, var(--border) 36%, transparent) 1px, transparent 1px),
        color-mix(in oklch, 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 oklch, 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 oklch, 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 oklch, var(--muted-2) 28%, transparent), color-mix(in oklch, 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 oklch, 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 oklch, 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 oklch, 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 oklch, 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 oklch, 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) {
      .navlinks { display: none; }
      .topnav-inner { height: 54px; }
      .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 oklch, 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 oklch, 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 oklch, 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 oklch, 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 oklch, 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 oklch, 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; }

/* 比赛直播嵌入位（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; }
