/* ============================================================
   足球数据站 · 设计系统
   数据源：V 球数据平台
   ============================================================ */

:root {
  --brand: #1667e6;
  --brand-dark: #0f4fb5;
  --brand-soft: #eaf1ff;
  --red: #e5322d;      /* 主队 / 上涨 / 胜 */
  --red-soft: #fdecec;
  --green: #12a253;    /* 客队胜出（中国习惯：跌为绿） */
  --green-soft: #e8f7ef;
  --orange: #f28b1f;
  --orange-soft: #fff3e3;

  --bg: #f2f4f7;
  --card: #ffffff;
  --line: #ebeef3;
  --line-strong: #dde2ea;

  --t1: #1a1d22;   /* 主文本 */
  --t2: #5a6270;   /* 次文本 */
  --t3: #98a0ad;   /* 弱文本 */

  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 14px rgba(16, 24, 40, .05);

  --topbar-h: 46px;
  --bottom-h: 54px;
  --maxw: 680px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--t1);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  padding-bottom: calc(var(--bottom-h) + env(safe-area-inset-bottom, 0px));
  position: relative;
}

/* ---------------------------------------------------- 顶栏 */

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--topbar-h);
  background: var(--brand);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  color: #fff;
}

.topbar__back {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  flex: 0 0 auto;
}

.topbar__title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .3px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar__sub { font-size: 11px; opacity: .82; font-weight: 400; }

.topbar__act {
  border: 0;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  border-radius: 20px;
  padding: 5px 11px;
  font-size: 12px;
  flex: 0 0 auto;
}
.topbar__act.is-on { background: #fff; color: var(--brand); font-weight: 600; }

/* ---------------------------------------------------- 通用块 */

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 8px 10px;
  overflow: hidden;
}

.card__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.card__title { font-size: 14px; font-weight: 600; }
.card__title small { font-weight: 400; color: var(--t3); font-size: 11px; margin-left: 6px; }
.card__bd { padding: 10px 12px; }
.card__bd--flush { padding: 0; }

.muted { color: var(--t2); }
.dim { color: var(--t3); }
.xs { font-size: 11px; }
.sm { font-size: 12px; }
.mono { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.center { text-align: center; }
.right { text-align: right; }
.nowrap { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.row { display: flex; align-items: center; gap: 8px; }
.row--between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.wrapflex { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------------------------------------------------- 日期条 */

.datestrip {
  position: sticky;
  top: var(--topbar-h);
  z-index: 55;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.datestrip__nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
}

.datestrip__arrow {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 8px;
  color: var(--t2);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.datestrip__arrow:disabled { opacity: .4; }

.datestrip__label {
  flex: 1;
  text-align: center;
  background: var(--brand-soft);
  border: 0;
  border-radius: 8px;
  padding: 6px 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  min-width: 0;
}
.datestrip__label span { font-weight: 400; color: var(--t2); font-size: 12px; margin-left: 6px; }

.datestrip__quick { display: flex; gap: 4px; padding: 0 10px 8px; }
.datestrip__quick button {
  flex: 1;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--t2);
  border-radius: 7px;
  padding: 5px 0;
  font-size: 12px;
}
.datestrip__quick button.is-on {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 600;
}

/* ---------------------------------------------------- 标签页 / 筛选条 */

.tabbar {
  position: sticky;
  top: calc(var(--topbar-h) + 84px);
  z-index: 54;
  display: flex;
  gap: 0;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabbar::-webkit-scrollbar { display: none; }

.tabbar button {
  flex: 1 0 auto;
  border: 0;
  background: transparent;
  padding: 9px 14px;
  font-size: 13px;
  color: var(--t2);
  position: relative;
  white-space: nowrap;
}
.tabbar button.is-on { color: var(--brand); font-weight: 600; }
.tabbar button.is-on::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--brand);
}
.tabbar button .cnt { font-size: 10px; color: var(--t3); margin-left: 2px; }

.filterbar {
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.filterbar::-webkit-scrollbar { display: none; }
.filterbar select, .filterbar input {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--t1);
  border-radius: 7px;
  padding: 6px 8px;
  font-size: 12px;
  max-width: 46vw;
}

/* ---------------------------------------------------- 联赛分组 + 比赛行 */

.lg {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 8px 10px;
  overflow: hidden;
}

.lg__hd {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  background: linear-gradient(180deg, #fbfcfe, #f6f8fb);
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
}
.lg__hd .flag {
  width: 17px; height: 12px; border-radius: 2px; background: var(--line-strong);
  flex: 0 0 auto; object-fit: cover;
}
.lg__hd .name { flex: 1; min-width: 0; }
.lg__hd .cnt { font-weight: 400; color: var(--t3); font-size: 11px; }

.mrow {
  display: grid;
  grid-template-columns: 52px 1fr 66px;
  gap: 8px;
  padding: 9px 11px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  position: relative;
}
.mrow:last-child { border-bottom: 0; }
.mrow:active { background: #f7f9fc; }

.mrow__time { text-align: center; font-size: 11.5px; color: var(--t2); line-height: 1.35; }
.mrow__time .hh { font-size: 13px; font-weight: 600; color: var(--t1); }
.mrow__time .st { font-size: 10.5px; }

.mrow__teams { min-width: 0; }
.mrow__team {
  display: flex; align-items: center; gap: 6px;
  font-size: 13.5px; line-height: 1.7;
  min-width: 0;
}
.mrow__team .tn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mrow__team.is-loser { color: var(--t3); }
.mrow__team.is-winner { font-weight: 600; }

.mrow__scores { text-align: right; font-size: 15px; font-weight: 600; line-height: 1.7; }
.mrow__scores .s { display: block; }
.mrow__scores .s.loser { color: var(--t3); font-weight: 400; }
.mrow__scores .ht { font-size: 10.5px; font-weight: 400; color: var(--t3); }

.badge {
  display: inline-block;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
}
.badge--live { background: var(--red); color: #fff; }
.badge--live::before {
  content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%;
  background: #fff; margin-right: 3px; vertical-align: 1px;
  animation: pulse 1.2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.25} }
.badge--ft { background: #eef1f5; color: var(--t2); }
.badge--soon { background: var(--brand-soft); color: var(--brand); }
.badge--warn { background: var(--orange-soft); color: #b35f00; }
.badge--jc { background: #fff0f5; color: #d6255c; }

.mrow__mini {
  grid-column: 1 / -1;
  display: flex;
  gap: 6px;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
  margin-top: 2px;
}
.mrow__mini .chip {
  flex: 1;
  text-align: center;
  font-size: 11px;
  padding: 3px 0;
  border-radius: 5px;
  background: #f5f7fa;
  color: var(--t2);
}
.mrow__mini .chip b { color: var(--t1); font-weight: 600; }

/* ---------------------------------------------------- 通用小件 */

.pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 20px;
  font-size: 11.5px; background: #f2f4f7; color: var(--t2);
}
.pill--brand { background: var(--brand-soft); color: var(--brand); }
.pill--red { background: var(--red-soft); color: var(--red); }
.pill--green { background: var(--green-soft); color: var(--green); }
.pill--orange { background: var(--orange-soft); color: #b35f00; }

.btn {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--t1);
  border-radius: 8px;
  padding: 7px 13px;
  font-size: 13px;
}
.btn--brand { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.btn--sm { padding: 5px 10px; font-size: 12px; }

.seg {
  display: inline-flex;
  background: #eef1f5;
  border-radius: 8px;
  padding: 2px;
  gap: 2px;
}
.seg button {
  border: 0; background: transparent; color: var(--t2);
  padding: 4px 10px; border-radius: 6px; font-size: 12px;
}
.seg button.is-on { background: #fff; color: var(--brand); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.06); }

/* 表格 */
.tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.tbl th, .tbl td { padding: 7px 6px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl th { color: var(--t3); font-weight: 500; font-size: 11.5px; background: #fafbfd; }
.tbl td.l, .tbl th.l { text-align: left; }
.tbl tbody tr:active { background: #f7f9fc; }
.tbl .pts { font-weight: 700; }
.tbl-scroll { overflow-x: auto; }

/* 状态页：杯赛积分排名（36 队大表纵向滚动，本场球队高亮） */
.cup-tbl-scroll { max-height: 60vh; overflow-y: auto; }
.cup-tbl-scroll thead th { position: sticky; top: 0; z-index: 1; }
.tbl tbody tr.hl td { background: var(--brand-soft); }
.tag-me {
  display: inline-block; margin-left: 4px; padding: 0 4px;
  font-size: 10px; line-height: 15px; border-radius: 4px;
  background: var(--brand); color: #fff; vertical-align: middle;
}

/* 概况页：数据概览（初盘浅黄底 vs 即时白底） */
.glance-tbl th { text-align: center; }
.glance-tbl .gl-row { width: 2em; font-weight: 700; font-size: 13px; }
.glance-tbl td { font-variant-numeric: tabular-nums; }
.glance-tbl td.gl-open { background: #fff8e1; }

/* 状态页：联赛积分排名（每队一张 总/主/客/近 明细表） */
.rk-team { display: flex; align-items: center; gap: 6px; margin: 2px 0 6px; font-size: 14px; }
.rk-badge {
  display: inline-block; width: 16px; height: 16px; line-height: 16px;
  border-radius: 3px; color: #fff; font-size: 10px; text-align: center; font-weight: 600;
}
.rk-badge--h { background: #ff7a00; }
.rk-badge--a { background: var(--brand); }
.rk-tbl td { font-variant-numeric: tabular-nums; }
.rk-tbl .rk-red { color: var(--red); }

/* 历史交锋：近期交锋（对赛往事样式：筛选行 + 汇总 + 让球/大小列） */
.h2h-ctl { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px 0; }
/* select.h2h-sel：两级优先级，压过后面定义的 .input（width:100%; display:block），保证筛选框横排 */
select.h2h-sel { width: auto; display: inline-block; min-width: 86px; padding: 4px 6px; font-size: 12px; height: auto; }
.h2h-same { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--t3); cursor: pointer; }
.h2h-same input { vertical-align: middle; }
.h2h-sum { padding: 8px 12px 2px; font-size: 12.5px; }
.h2h-tbl td { vertical-align: top; }
.h2h-tbl td b { font-size: 13.5px; }

/* ---- 情报页：赛前情报（联网检索摘要） ---- */
.preview-wrap { font-size: 13px; line-height: 1.7; }
.preview-lead { font-weight: 600; color: var(--t1); padding-bottom: 6px; margin-bottom: 6px; border-bottom: 1px dashed var(--line); }
.preview-list { margin: 0; padding-left: 18px; }
.preview-list li { margin-bottom: 5px; color: var(--t2); }
.preview-list li::marker { color: var(--brand); }
.preview-foot { margin-top: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.preview-cite { color: var(--brand); font-size: 10.5px; font-weight: 500; margin-left: 1px; }
.preview-src { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.preview-src__item { display: flex; align-items: baseline; gap: 6px; font-size: 12px; line-height: 1.6; margin-bottom: 3px; }
.preview-src__n {
  flex: 0 0 auto; min-width: 15px; height: 15px; line-height: 15px; text-align: center;
  border-radius: 3px; background: var(--brand-soft); color: var(--brand); font-size: 10.5px; font-weight: 500;
}
.preview-src__item a { color: var(--t2); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 58%; }
.preview-src__item a:hover { color: var(--brand); text-decoration: underline; }
/* 来源列表：默认折叠 */
.preview-src[open] { padding-bottom: 2px; }
.preview-src__sum {
  cursor: pointer; list-style: none; font-size: 12px; color: var(--t3);
  padding: 2px 0; user-select: none;
}
.preview-src__sum::-webkit-details-marker { display: none; }
.preview-src__sum::before { content: '▸ '; font-size: 10px; }
.preview-src[open] .preview-src__sum::before { content: '▾ '; }
.preview-src__sum:hover { color: var(--brand); }
/* AI 生成内容显式标识 */
.preview-ai {
  display: flex; align-items: flex-start; gap: 6px; flex-wrap: wrap;
  font-size: 11.5px; line-height: 1.5; color: var(--t3);
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 6px; padding: 6px 8px; margin-bottom: 8px;
}
.preview-ai__tag {
  flex: 0 0 auto; font-size: 10.5px; font-weight: 600; line-height: 16px;
  padding: 0 5px; border-radius: 3px;
  color: var(--brand); background: var(--brand-soft);
}
/* 不在情报生成范围时的说明块 */
.preview-skip { padding: 10px 12px; border-radius: 8px; background: var(--bg); border: 1px dashed var(--line-strong); }
.preview-skip__t { font-size: 13px; font-weight: 600; color: var(--t1); margin-bottom: 4px; }

.form-str { display: inline-flex; gap: 2px; }.form-str i {
  width: 14px; height: 14px; border-radius: 3px; font-style: normal;
  font-size: 9px; line-height: 14px; text-align: center; color: #fff; font-weight: 700;
}
.form-str i.W { background: var(--red); }
.form-str i.D { background: #b9c0cc; }
.form-str i.L { background: var(--green); }

/* 比分对比条 */
.statline { margin: 9px 0; }
.statline__hd { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 4px; }
.statline__hd .nm { color: var(--t2); }
.statline__hd b { font-weight: 700; font-variant-numeric: tabular-nums; }
.statline__bar { display: flex; height: 6px; border-radius: 4px; overflow: hidden; background: #eef1f5; }
.statline__bar i { display: block; height: 100%; }
.statline__bar i.h { background: var(--red); }
.statline__bar i.a { background: var(--brand); }

/* 球员/阵容 */
.pitch-team { margin-bottom: 10px; }
.pitch-hd { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.plist { display: flex; flex-direction: column; }
.plist__item { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px dashed var(--line); font-size: 12.5px; }
.plist__item:last-child { border-bottom: 0; }
.no {
  width: 20px; height: 20px; border-radius: 4px; background: #f2f4f7; color: var(--t2);
  font-size: 10.5px; display: flex; align-items: center; justify-content: center; font-weight: 600;
  flex: 0 0 auto;
}
.pos { width: 16px; font-size: 10px; color: var(--t3); flex: 0 0 auto; }
.capt { font-size: 9px; background: var(--brand); color: #fff; border-radius: 3px; padding: 0 3px; }

/* 事件流 */
.events { position: relative; padding: 4px 0; }
.ev { display: grid; grid-template-columns: 40px 1fr; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 12.5px; }
.ev:last-child { border-bottom: 0; }
.ev__min { color: var(--t3); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.ev__body { min-width: 0; }
.ev__t { display: flex; align-items: center; gap: 6px; }
.ev__t .ico { font-size: 12px; }
.ev--home .ev__body { text-align: left; }
.ev--away .ev__body { text-align: right; }
.ev--away .ev__t { justify-content: flex-end; }
.ev__sub { color: var(--t3); font-size: 11px; }

/* 赔率表 */
.odds-tbl { width: 100%; border-collapse: collapse; font-size: 12px; }
.odds-tbl th { font-size: 11px; color: var(--t3); font-weight: 500; padding: 6px 4px; border-bottom: 1px solid var(--line); background: #fafbfd; }
.odds-tbl td { padding: 7px 4px; text-align: center; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.odds-tbl .bk { text-align: left; padding-left: 10px; color: var(--t1); font-weight: 500; }
.up { color: var(--red); }
.down { color: var(--green); }
.flat { color: var(--t3); }
.arrow { font-size: 9px; }

/* 赔率对比（对标 V 球 odds-display） */
.od-wrap { display: flex; flex-direction: column; gap: 10px; }
.od-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--t2); padding: 0 2px; }
.od-head b { color: var(--brand); font-weight: 600; }
.od-pill { display: inline-block; padding: 1px 7px; border-radius: 9px; background: rgba(74,128,196,.1); color: var(--brand); font-size: 11px; }
.od-tbl th { white-space: nowrap; }
.od-tbl .bk { width: 84px; white-space: nowrap; }
.od-cell { display: flex; flex-direction: column; align-items: center; line-height: 1.15; }
.od-cell__o { font-size: 10px; color: var(--t3); font-variant-numeric: tabular-nums; }
.od-cell__c { font-size: 13px; color: var(--t1); font-weight: 500; font-variant-numeric: tabular-nums; }
.od-cell__c .arrow { margin-left: 1px; }
.od-line { font-size: 10px; color: var(--t3); margin-top: 1px; }
.od-line--o { color: var(--t3); }
.od-ref { font-size: 10px; color: var(--t3); white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: -.3px; }
.od-meta { font-size: 11px; color: var(--t3); padding: 0 2px; line-height: 1.6; }
.od-legal { font-size: 11px; color: var(--t3); line-height: 1.7; padding: 9px 11px; border-radius: 8px; border: 1px solid var(--line); background: #fafbfd; }
.od-legal b { color: #b45309; font-weight: 600; }

/* 数据页子选项卡：赔率变化 / 多公司赔率 */
.od-subtabs { display: flex; gap: 6px; margin-bottom: 10px; }
.od-subtab { flex: 0 0 auto; padding: 5px 13px; font-size: 12px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--t2); cursor: pointer; font-family: inherit; }
.od-subtab.is-on { border-color: var(--brand); background: rgba(74,128,196,.1); color: var(--brand); font-weight: 600; }

/* 盘口公司切换条 */
.od-bar { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.od-bar__l { color: var(--t3); font-size: 11px; flex: 0 0 auto; }
.od-bar__r { color: var(--t3); font-size: 11px; margin-left: auto; flex: 0 0 auto; }
.od-chips { display: flex; gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 2px 0; }
.od-chips::-webkit-scrollbar { display: none; }
.od-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 3px; padding: 3px 9px; font-size: 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--t2); cursor: pointer; font-family: inherit; white-space: nowrap; }
.od-chip i { font-style: normal; font-size: 9px; color: var(--t3); font-variant-numeric: tabular-nums; }
.od-chip.is-on { border-color: var(--brand); background: rgba(74,128,196,.1); color: var(--brand); font-weight: 600; }
.od-chip.is-on i { color: var(--brand); opacity: .8; }

/* 市场切换 */
.od-markets { display: flex; gap: 6px; }
.od-mk { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 4px; border-radius: 9px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-family: inherit; }
.od-mk b { font-size: 12px; font-weight: 500; color: var(--t2); }
.od-mk i { font-style: normal; font-size: 10px; color: var(--t3); font-variant-numeric: tabular-nums; }
.od-mk.is-on { border-color: var(--brand); background: rgba(74,128,196,.08); }
.od-mk.is-on b { color: var(--brand); font-weight: 600; }
.od-mk.is-on i { color: var(--brand); }

/* 关键指标卡 */
.od-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.od-m__l { font-size: 11px; color: var(--t3); margin-bottom: 2px; }
.od-m__v { font-size: 14px; font-weight: 600; color: var(--t1); font-variant-numeric: tabular-nums; }
.od-m__s { font-size: 10px; color: var(--t3); margin-top: 2px; line-height: 1.4; }

/* 赔率变化明细表 */
.od-chg th { font-size: 10px; }
.od-chg td { padding: 5px 3px; font-size: 11px; white-space: nowrap; }
.od-chg .tm { text-align: left; padding-left: 8px; color: var(--t2); font-variant-numeric: tabular-nums; }
.od-chg .num { text-align: right; font-variant-numeric: tabular-nums; padding-right: 8px; }
.od-chg .num.b { font-weight: 600; color: var(--t1); }
.od-chg .num.h { color: var(--red); }
.od-chg .num.a { color: var(--brand); }
.od-chg .num.d { color: #8a94a6; }
.od-chg .tg { text-align: left; padding-left: 2px; }
.od-tag { display: inline-block; margin-right: 3px; padding: 0 4px; border-radius: 3px; border: 1px solid var(--line); font-size: 9px; line-height: 15px; color: var(--t3); white-space: nowrap; }
.od-tag--sw { border-color: #f0c674; color: #a8760b; background: #fffbeb; }
.od-tag--open { border-color: #9ec5e8; color: #2f6da3; background: #f2f8fd; }
.od-tag--live { border-color: #f0a3a3; color: #b3342f; background: #fef3f2; }
.od-hint { padding: 26px 0; text-align: center; font-size: 12px; color: var(--t3); }

/* 底部控制 */
.od-foot { display: flex; align-items: center; justify-content: space-between; font-size: 11px; }
.od-sw { display: inline-flex; align-items: center; gap: 5px; color: var(--t2); cursor: pointer; }
.od-sw input { width: 13px; height: 13px; accent-color: var(--brand); }

/* 走势 / 图 */
.spark { width: 100%; height: 44px; display: block; }
.bars { display: flex; align-items: flex-end; gap: 2px; height: 90px; }
.bars i { flex: 1; background: var(--brand); border-radius: 2px 2px 0 0; min-height: 2px; opacity: .85; }

/* 概率条 */
.prob { display: flex; height: 30px; border-radius: 8px; overflow: hidden; font-size: 11px; color: #fff; font-weight: 600; }
.prob i { display: flex; align-items: center; justify-content: center; }
.prob i.h { background: var(--red); }
.prob i.d { background: #9aa3b0; }
.prob i.a { background: var(--brand); }
.prob-legend { display: flex; justify-content: space-between; font-size: 11px; color: var(--t3); margin-top: 5px; }

/* 空状态 / 提示 */
.empty { padding: 34px 20px; text-align: center; color: var(--t3); font-size: 13px; }
.empty .big { font-size: 26px; display: block; margin-bottom: 8px; opacity: .5; }
.empty--card { background: var(--card); border-radius: var(--radius); margin: 8px 10px; box-shadow: var(--shadow); }

.notice {
  margin: 8px 10px; padding: 9px 12px; border-radius: var(--radius-sm);
  background: var(--orange-soft); color: #8a4b00; font-size: 12px;
  display: flex; gap: 7px; align-items: flex-start;
}
.notice--info { background: var(--brand-soft); color: var(--brand-dark); }

.skl { background: linear-gradient(90deg,#eef1f5 25%,#e4e9f0 37%,#eef1f5 63%); background-size: 400% 100%; animation: sk 1.2s ease infinite; border-radius: 6px; }
@keyframes sk { 0%{background-position:100% 50%} 100%{background-position:0 50%} }
.skl-row { height: 46px; margin: 8px 10px; }

/* 底部导航 */
.bottomnav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: var(--maxw);
  height: calc(var(--bottom-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  display: flex;
  z-index: 70;
}
.bottomnav a {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; font-size: 10.5px; color: var(--t3);
}
.bottomnav a .ic { font-size: 17px; line-height: 1; }
.bottomnav a.is-on { color: var(--brand); font-weight: 600; }

/* 页脚数据来源 */
.sourcebar {
  margin: 14px 10px 18px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: #fbfcfe;
  border: 1px solid var(--line);
  color: var(--t3);
  font-size: 11px;
  line-height: 1.7;
}
.sourcebar b { color: var(--t2); }
/* 精简后的页脚：口径说明 + 一行核心提示 + 主体/备案信息 */
.sourcebar__extra { margin-bottom: 5px; padding-bottom: 5px; border-bottom: 1px dashed var(--line); }
.sourcebar__main { color: var(--t3); }
.sourcebar__main a { color: var(--t3); text-decoration: none; border-bottom: 1px dotted var(--line-strong); }
.sourcebar__main a:hover { color: var(--brand); border-color: var(--brand); }
.sourcebar__meta { margin-top: 4px; color: var(--t3); font-size: 10.5px; }

/* 详情页头图 */
.mhead {
  background: linear-gradient(160deg, #1667e6, #0d47a8 60%, #0a3a8c);
  color: #fff;
  padding: 12px 14px 16px;
}
.mhead__meta { font-size: 11.5px; opacity: .85; text-align: center; }
.mhead__main { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin-top: 8px; }
.mhead__team { text-align: center; min-width: 0; }
.mhead__team .nm { font-size: 13.5px; font-weight: 600; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mhead__team .en { font-size: 10px; opacity: .6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mhead__score { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.mhead__score small { display: block; font-size: 11px; font-weight: 400; opacity: .8; letter-spacing: 0; }
.mhead__status { text-align: center; margin-top: 8px; font-size: 11.5px; }
.mhead__status .badge { font-size: 11px; padding: 2px 8px; }

.logo {
  width: 40px; height: 40px; border-radius: 50%; margin: 0 auto;
  background: rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; overflow: hidden;
}
.logo img { width: 100%; height: 100%; object-fit: contain; }
.logo--dark { background: #f2f4f7; color: var(--t2); }
.logo--lg { width: 52px; height: 52px; font-size: 15px; background: rgba(255,255,255,.2); }
.logo--lg img { background: rgba(255,255,255,.92); border-radius: 50%; padding: 4px; box-sizing: border-box; }

.teamrow { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }

.sec-tabs {
  position: sticky;
  top: var(--topbar-h);
  z-index: 55;
  display: flex;
  overflow-x: auto;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.sec-tabs::-webkit-scrollbar { display: none; }
.sec-tabs button {
  flex: 0 0 auto; border: 0; background: transparent; padding: 10px 13px;
  font-size: 13px; color: var(--t2); position: relative; white-space: nowrap;
}
.sec-tabs button.is-on { color: var(--brand); font-weight: 600; }
.sec-tabs button.is-on::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 20px; height: 2.5px; border-radius: 2px; background: var(--brand);
}
.sec-panel { display: none; }
.sec-panel.is-on { display: block; }

.kv { display: grid; grid-template-columns: 84px 1fr; gap: 6px 10px; font-size: 12.5px; }
.kv dt { color: var(--t3); }
.kv dd { margin: 0; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

.mini-card {
  background: #fafbfd; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 9px; text-align: center;
}
.mini-card .v { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mini-card .k { font-size: 10.5px; color: var(--t3); margin-top: 2px; }

.loading { padding: 26px; text-align: center; color: var(--t3); font-size: 12.5px; }

@media (min-width: 700px) {
  body { background: #e8ebf0; }
  .wrap { box-shadow: 0 0 0 1px rgba(0,0,0,.04); }
}

/* ---- 状态选项卡（联赛排名对比 + 近期战绩） ---- */
.tbl-logo { width: 16px; height: 16px; object-fit: contain; vertical-align: -3px; margin-right: 4px; }
.cmp-win { color: var(--brand); font-weight: 700; }
.is-own { color: var(--red); font-weight: 600; }
.r-up { color: var(--red); font-weight: 600; }
.r-down { color: var(--green); font-weight: 600; }
.res { display: inline-block; min-width: 15px; padding: 0 3px; border-radius: 4px; font-size: 10px; line-height: 15px; color: #fff; vertical-align: 1px; }
.res--W { background: var(--red); }
.res--D { background: #b9c0cc; }
.res--L { background: var(--green); }
.form-sum { font-size: 12.5px; margin-bottom: 8px; color: var(--t2); }
.form-sum b { color: var(--red); }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }

/* ---- 资金流板块（并入「数据」选项卡） ---- */
.wom-g { padding: 9px 0; border-top: 1px solid var(--line); }
.wom-g:first-of-type { border-top: 0; padding-top: 2px; }

/* ---- 深度解析：编辑表单与人工撰写的富文本 ---- */
.input, .textarea {
  width: 100%; display: block;
  border: 1px solid var(--line-strong); border-radius: 8px;
  padding: 8px 10px; font-size: 13.5px; color: var(--t1);
  background: #fff; font-family: inherit; line-height: 1.6;
}
.textarea { margin-top: 8px; resize: vertical; min-height: 160px; }
.input:focus, .textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.md-body { font-size: 13.5px; line-height: 1.75; color: var(--t1); }
.md-body code, .card__bd code { background: #f2f4f7; border-radius: 4px; padding: 1px 4px; font-size: 12px; }
.md-h { margin: 12px 0 6px; font-size: 13.5px; font-weight: 700; color: var(--t1); padding-left: 8px; border-left: 3px solid var(--brand); }
.md-h:first-child { margin-top: 0; }
.md-p { margin: 6px 0; }
.md-ul { margin: 6px 0; padding-left: 20px; }
.md-ul li { margin: 3px 0; }
.md-hr { border: 0; border-top: 1px dashed var(--line-strong); margin: 12px 0; }

/* ---- 关于本站 ---- */
.about { font-size: 13px; line-height: 1.75; color: var(--t2); }
.about p { margin: 0 0 8px; }
.about p:last-child { margin-bottom: 0; }
.about strong { color: var(--t1); font-weight: 600; }
.about a { color: var(--brand); text-decoration: none; }
.about a:hover { text-decoration: underline; }
.about code { background: var(--bg); border-radius: 3px; padding: 1px 4px; font-size: 11.5px; color: var(--t2); }

/* ---- 模型预测（情报页） ---- */
.pred { font-size: 13px; color: var(--t2); }
.pred-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.pred-dir { font-size: 15px; font-weight: 700; padding: 1px 8px; border-radius: 4px; }
.pred-dir--h { color: var(--red); background: var(--red-soft); }
.pred-dir--a { color: var(--green); background: var(--green-soft); }
.pred-dir--d { color: var(--t2); background: var(--bg); }
.pred-conf { font-size: 12px; color: var(--t2); }

.pred-bar { display: flex; height: 22px; border-radius: 4px; overflow: hidden; background: var(--bg); }
.pred-bar__seg { display: flex; align-items: center; justify-content: center; font-size: 10.5px; color: #fff; font-weight: 600; transition: width .3s; }
.pred-bar__seg--h { background: var(--red); }
.pred-bar__seg--d { background: #9aa4b2; }
.pred-bar__seg--a { background: var(--green); }

.pred-legend { display: flex; gap: 12px; margin-top: 5px; font-size: 11.5px; flex-wrap: wrap; }
.pred-legend__i--h { color: var(--red); }
.pred-legend__i--d { color: var(--t3); }
.pred-legend__i--a { color: var(--green); }

.pred-kv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.pred-kv--main { padding-top: 10px; border-top: 1px dashed var(--line-strong); }
.pred-kv__i { text-align: center; padding: 6px 2px; background: var(--bg); border-radius: var(--radius-sm); }
.pred-kv__i b { display: block; font-size: 14px; color: var(--t1); font-weight: 700; line-height: 1.3; }
.pred-kv__i span { display: block; font-size: 10.5px; color: var(--t3); margin-top: 2px; }

.pred-notes { margin: 10px 0 0; padding-left: 16px; font-size: 12px; line-height: 1.7; color: var(--t2); }
.pred-notes li { margin-bottom: 3px; }

.pred-cov { margin-top: 8px; padding: 6px 8px; background: var(--orange-soft); border-radius: var(--radius-sm); color: #8a5a13; line-height: 1.6; }

.pred-more { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 8px; }
.pred-more__sum { cursor: pointer; font-size: 12.5px; color: var(--brand); list-style: none; }
.pred-more__sum::-webkit-details-marker { display: none; }
.pred-more__sum::before { content: '▸ '; }
.pred-more[open] .pred-more__sum::before { content: '▾ '; }

.pred-sec { margin-top: 12px; }
.pred-sec__t { font-size: 12px; font-weight: 600; color: var(--t1); margin-bottom: 6px; }

.pred-tbl { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.pred-tbl__row { display: grid; grid-template-columns: 1fr 46px 46px 46px; font-size: 12px; padding: 5px 8px; border-bottom: 1px solid var(--line); }
.pred-tbl__row:last-child { border-bottom: 0; }
.pred-tbl__row--hd { background: var(--bg); color: var(--t3); font-size: 11px; }
.pred-tbl__row span:not(.pred-tbl__name) { text-align: right; font-variant-numeric: tabular-nums; }
.pred-tbl__name { color: var(--t2); }

.pred-goals { display: flex; align-items: flex-end; gap: 4px; height: 70px; padding: 0 2px; }
.pred-goals__i { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; }
.pred-goals__n { font-size: 10px; color: var(--t3); order: 3; margin-top: 2px; }
.pred-goals__p { font-size: 9.5px; color: var(--t3); order: 2; }
.pred-goals__b { flex: 1; width: 100%; display: flex; align-items: flex-end; order: 1; }
.pred-goals__b i { display: block; width: 100%; background: var(--brand); opacity: .75; border-radius: 2px 2px 0 0; }

.pred-dims { border: 1px solid var(--line); border-radius: var(--radius-sm); }
.pred-dim { padding: 6px 8px; border-bottom: 1px solid var(--line); }
.pred-dim:last-child { border-bottom: 0; }
.pred-dim__hd { display: flex; align-items: center; gap: 6px; }
.pred-dim__n { flex: 1; font-size: 12px; color: var(--t1); }
.pred-dim__s { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pred-dim__s.is-h { color: var(--red); }
.pred-dim__s.is-a { color: var(--green); }
.pred-dim__s.is-n { color: var(--t3); }
.pred-dim__d { margin-top: 2px; line-height: 1.55; }

.pred-foot { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line-strong); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

/* ---------------- 完整报告（模型预测全模块铺开） ---------------- */
.pf-wrap { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.pf-sec { margin-top: 14px; }
.pf-sec:first-child { margin-top: 4px; }
.pf-sec__t { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
  font-size: 12.5px; font-weight: 600; color: var(--t1);
  padding-left: 7px; border-left: 3px solid var(--brand); line-height: 1.2; }
.pf-sec__n { font-weight: 400; }
.pf-sec__b { margin-top: 7px; }

.pf-sub { font-size: 11.5px; font-weight: 600; color: var(--t2); margin: 9px 0 4px; }
.pf-sub:first-child { margin-top: 0; }

.pf-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px; }
.pf-kv__i { display: flex; justify-content: space-between; gap: 6px; font-size: 11.5px;
  background: var(--bg); border-radius: var(--radius-sm); padding: 4px 7px; min-width: 0; }
.pf-kv__k { color: var(--t3); white-space: nowrap; flex: 0 0 auto; }
.pf-kv__v { color: var(--t1); text-align: right; overflow-wrap: anywhere; }

.pf-ul { margin: 4px 0 0; padding-left: 16px; font-size: 11.5px; color: var(--t2); line-height: 1.65; }
.pf-ul li { margin-bottom: 2px; }

.pf-note { margin-top: 6px; font-size: 11.5px; color: var(--t2); line-height: 1.6;
  background: var(--brand-soft); border-radius: var(--radius-sm); padding: 6px 8px; }

.pf-tbl { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow-x: auto; }
.pf-tbl__row { display: grid; grid-template-columns: 1.1fr 1fr .8fr 1.2fr; font-size: 11.5px;
  padding: 5px 8px; border-bottom: 1px solid var(--line); min-width: 0; }
.pf-tbl__row:last-child { border-bottom: 0; }
.pf-tbl--wide .pf-tbl__row { grid-template-columns: 1.3fr .9fr .7fr .7fr .7fr .7fr .6fr; min-width: 460px; }
.pf-tbl__row--hd { background: var(--bg); color: var(--t3); font-size: 11px; font-weight: 600; }
.pf-tbl__row.is-value { background: var(--green-soft); }
.pf-tbl__row span { overflow-wrap: anywhere; }
.pf-tbl__row .pf-wrap { line-height: 1.45; }
.pf-conc { font-weight: 600; color: var(--red); }

.pf-team { margin-bottom: 8px; }
.pf-team__h { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
  font-size: 12px; font-weight: 600; color: var(--t1); margin-bottom: 4px; }
.pf-player { border-left: 2px solid var(--line-strong); padding-left: 8px; margin-bottom: 6px; }
.pf-player__n { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; font-size: 12px; color: var(--t1); }
.pf-player__f { margin-left: auto; font-size: 11px; color: var(--t3); }
.pf-tag { font-size: 10px; color: var(--brand); background: var(--brand-soft);
  border-radius: 3px; padding: 0 4px; }
.pf-good { color: var(--green); }
.pf-bad { color: var(--orange); }

.pf-src { margin-top: 6px; font-size: 11px; color: var(--t3); line-height: 1.6; }
.pf-src__i { overflow-wrap: anywhere; }

@media (max-width: 420px) {
  .pf-kv { grid-template-columns: 1fr; }
}

/* ================= 必发（Weight of Money） ================= */
.wom-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.wom-head__t { font-size: 15px; font-weight: 700; color: var(--t1); }
.wom-head__en { font-size: 11px; font-weight: 500; color: var(--t3); margin-left: 4px; }
.wom-head__s { margin-top: 3px; font-size: 11px; color: var(--t3); }
.wom-head__v { text-align: right; white-space: nowrap; }
.wom-head__v b { display: block; font-size: 14px; color: var(--t1); }

.wom-live { font-size: 10px; color: var(--orange); background: rgba(230,126,34,.12);
  border-radius: 3px; padding: 1px 5px; }

.wom-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); }
.wom-row:first-child { border-top: 0; }
.wom-row__l { flex: 0 0 84px; font-size: 12px; color: var(--t1); overflow-wrap: anywhere; }
.wom-row__m { flex: 1 1 auto; min-width: 0; }
.wom-bar { height: 8px; background: var(--bg, #eef1f5); border-radius: 4px; overflow: hidden; }
.wom-bar i { display: block; height: 100%; background: #52B788; border-radius: 4px;
  transition: width .25s ease; }
.wom-row__meta { margin-top: 3px; font-size: 10px; color: var(--t3); }
.wom-row__r { flex: 0 0 70px; text-align: right; }
.wom-share { font-size: 13px; font-weight: 700; color: var(--t1); }
.wom-hot { display: inline-block; margin-top: 2px; font-size: 10px; font-weight: 600; }
.wom-hot.is-hot { color: #E04F5F; }
.wom-hot.is-cold { color: #4A80C4; }

.wom-pnl { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line-strong); }
.wom-pnl__t { font-size: 12px; font-weight: 700; color: var(--t1); }
.wom-pnl__rtp { margin-left: 8px; font-size: 11px; color: var(--t3); }
.wom-pnl__chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.wom-chip { font-size: 10px; font-weight: 600; border-radius: 3px; padding: 1px 6px; }
.wom-chip.is-win { color: #2F9E68; background: rgba(82,183,136,.14); }
.wom-chip.is-lose { color: #E04F5F; background: rgba(224,79,95,.12); }
.wom-pnl__note { margin-top: 6px; font-size: 10px; color: var(--t3); line-height: 1.7; }

.wom-legend__t { font-size: 13px; font-weight: 700; color: var(--t1); margin-bottom: 6px; }
.wom-legend p { font-size: 11px; color: var(--t2); line-height: 1.8; margin: 0 0 6px; }
.c-hot { color: #E04F5F; }
.c-cold { color: #4A80C4; }
.c-win { color: #2F9E68; }
.c-lose { color: #E04F5F; }

.wom-mcats { margin-bottom: 10px; }
.wom-mcat { margin-bottom: 8px; }
.wom-mcat__t { font-size: 11px; font-weight: 600; color: var(--t3); margin-bottom: 4px; }
.wom-mcat__chips { display: flex; flex-wrap: wrap; gap: 5px; }

.wom-chart { width: 100%; height: 110px; display: block; }
.wom-lg { display: inline-block; width: 14px; height: 3px; border-radius: 2px;
  vertical-align: middle; margin: 0 3px 2px 8px; }
.wom-lg--share { background: var(--brand); }
.wom-lg--impl { background: #b9c2cf; }

.wom-tbl .tm { white-space: nowrap; font-variant-numeric: tabular-nums; }
.wom-tbl .up { color: var(--green, #2F9E68); }
.wom-tbl .down { color: #E04F5F; }
.wom-tbl .flat { color: var(--t3); }

/* ================= 账户 / 付费墙（P0 商业化） ================= */
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 12px; color: var(--t2); margin-bottom: 5px; }

.tag { display: inline-block; font-size: 11px; font-weight: 600; border-radius: 4px;
  padding: 2px 8px; background: #eef1f6; color: var(--t2); }
.tag--ok { background: var(--green-soft); color: #0d7f42; }

/* 付费墙：摘要渐隐 + 居中开通引导 */
.paywall-body { min-height: 190px; max-height: 190px; overflow: hidden; }
.paywall-mask {
  position: absolute; left: 0; right: 0; bottom: 74px; height: 120px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.92) 70%, #fff 100%);
  pointer-events: none;
}
.paywall-cta {
  position: absolute; left: 0; right: 0; bottom: 8px;
  text-align: center; padding: 8px 12px 4px;
}
.tag--warn { background: rgba(242,139,31,.14); color: #a86200; }

/* —— 参考方向（深度解析页置顶栏目）—— */
.ahp-odds {
  display: flex; align-items: baseline; gap: 14px;
  padding: 8px 12px; background: rgba(0,0,0,.03); border-radius: 10px;
}
.ahp-side { font-size: 13px; color: var(--t2, #555); }
.ahp-side b { font-size: 17px; color: var(--t1, #222); }
.ahp-line { font-size: 18px; font-weight: 700; color: var(--red, #C0483F); }
.ahp-pick { margin-top: 10px; font-size: 13px; color: var(--t2, #555); }
.ahp-pick b { font-size: 15px; color: var(--t1, #222); }
.ahp-remark {
  margin-top: 8px; padding: 8px 12px; font-size: 13px; line-height: 1.6;
  color: var(--t1, #222); background: rgba(20,83,45,.06);
  border-left: 3px solid var(--brand, #14532D); border-radius: 0 8px 8px 0;
}
.ahp-result { margin-top: 10px; font-size: 13px; color: var(--t2, #555); }
.ahp-result b { font-size: 16px; color: var(--t1, #222); }
.ahp-badge {
  display: inline-block; padding: 2px 10px; border-radius: 8px;
  font-size: 12px; font-weight: 700; vertical-align: middle;
}
.ahp-badge.ahp-win { background: rgba(224,79,95,.14); color: #C0483F; }   /* 中 = 红 */
.ahp-badge.ahp-lose { background: rgba(47,158,104,.14); color: #2F9E68; } /* 失 = 绿 */
.ahp-badge.ahp-push { background: rgba(0,0,0,.08); color: #777; }         /* 走水 = 灰 */
.ahp-edit { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line, #E3E9E5); }
.ahp-sbtn { opacity: .75; }
.ahp-sbtn--on { opacity: 1; outline: 2px solid var(--brand, #14532D); font-weight: 700; }

/* ================= 开通会员 · 扫码收款（P1-5） ================= */
.seg--full { display: flex; width: 100%; }
.seg--full button { flex: 1; text-align: center; padding: 6px 4px; }

/* 套餐卡 */
.pay-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pay-plan {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 12px 4px 10px; border: 1.5px solid var(--line-strong); border-radius: 10px;
  background: #fff; color: var(--t1); text-align: center; transition: border-color .15s, background .15s;
}
.pay-plan.is-on { border-color: var(--brand); background: var(--brand-soft); }
.pay-plan__tag {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff; font-size: 9px; font-weight: 700; line-height: 1;
  padding: 3px 6px; border-radius: 8px; white-space: nowrap;
}
.pay-plan__name { font-size: 12px; color: var(--t2); }
.pay-plan__price { font-size: 21px; font-weight: 700; color: var(--brand); font-variant-numeric: tabular-nums; }
.pay-plan__price i { font-size: 12px; font-style: normal; margin-right: 1px; }
.pay-plan__sub { font-size: 10px; color: var(--t3); }

/* 步骤条 */
.pay-steps { display: flex; align-items: center; gap: 4px; margin-bottom: 12px; }
.pay-step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10px; color: var(--t3); }
.pay-step i {
  width: 20px; height: 20px; border-radius: 50%; background: #eef1f6; color: var(--t3);
  display: flex; align-items: center; justify-content: center; font-size: 11px; font-style: normal; font-weight: 700;
}
.pay-step.is-on i { background: var(--brand); color: #fff; }
.pay-step.is-on span { color: var(--brand); font-weight: 600; }
.pay-step.is-done i { background: var(--green-soft); color: #0d7f42; }

/* 订单号 */
.pay-oid { background: #f6f8fb; border: 1px dashed var(--line-strong); border-radius: 8px; padding: 8px 10px; }
.pay-oid__v { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.pay-oid__v code { font-size: 15px; font-weight: 700; letter-spacing: .5px; color: var(--brand); flex: 1; }

/* 收款码 */
.pay-qr { text-align: center; margin: 12px 0 8px; }
.pay-qr img {
  width: 176px; height: 176px; object-fit: contain; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; padding: 4px;
}
.pay-qr .xs { margin-top: 6px; }

.pay-tip { font-size: 11px; line-height: 1.75; color: var(--t2); background: var(--brand-soft); border-radius: 8px; padding: 8px 10px; }
.pay-tip b { color: var(--t1); }

.pay-submitted { margin-top: 12px; padding: 10px; border-radius: 8px; background: var(--green-soft); }
.pay-submitted .sm b { color: #0d7f42; }

.pay-foot { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.pay-link { border: 0; background: none; color: var(--t2); font-size: 11px; padding: 2px 0; text-decoration: underline; }

/* 订单列表 */
.pay-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 12px; border-bottom: 1px solid var(--line); cursor: pointer;
}
.pay-row:last-child { border-bottom: 0; }
.pay-row:active { background: #f7f9fc; }

/* 开通成功 */
.pay-done { text-align: center; }
.pay-done__ic {
  width: 46px; height: 46px; margin: 0 auto; border-radius: 50%;
  background: var(--green-soft); color: #0d7f42; font-size: 24px; line-height: 46px; font-weight: 700;
}
