:root {
  /* 深海午夜蓝黑主题：黑底 + 电光蓝 + 暖琥珀橙；全站统一配色 */
  --ink: #05090E;
  --sand: #05090E;
  --accent: #0297DE;
  --accent-ink: #FFFFFF;
  --orange: #FF9E2C;
  --orange-ink: #0B1118;
  --red: #E5484D;

  --blue: #05090E;
  --blue-dark: #09111A;
  --bg: #05090E;
  --card: #101B28;
  --text: #F3F7FC;
  --muted: #93A8BE;
  --line: #23374D;
  --live: #FF9E2C;
  --green: #34C77B;
  --fav: #0297DE;
}

* { box-sizing: border-box; }

/* hidden 属性始终生效（类选择器会覆盖浏览器默认样式） */
[hidden] { display: none !important; }

html, body { margin: 0; padding: 0; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-text-size-adjust: 100%;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--blue);
  color: #F3F7FC;
  padding: 8px 12px 0;
  box-shadow: 0 2px 8px rgba(16, 42, 82, 0.18);
}

.brand { display: flex; align-items: baseline; gap: 8px; }
.brand-name { font-size: 17px; font-weight: 600; }
.brand-tag { font-size: 12px; opacity: 0.8; }

.tabs { display: flex; gap: 4px; margin-top: 6px; }
.tabs button {
  flex: 1 1 0;
  min-width: 0;
  padding: 8px 0 9px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  border-bottom: 3px solid transparent;
}
.tabs button.on { color: #F3F7FC; font-weight: 600; border-bottom-color: #F3F7FC; }

main { padding: 8px 10px 4px; max-width: 520px; margin: 0 auto; }

.statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  padding: 0 2px 6px;
}
.statusbar > * { flex: 0 0 auto; }
.statusbar #statusText {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.statusbar .ghost { white-space: nowrap; }
.statusbar .warn { color: #FFB37A; }
.statusbar .error { color: var(--red); }

.ghost {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
}
.primary {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #F3F7FC;
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 13px;
}

/* 即时页筛选入口 */
.filterbar { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.filter-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 13px;
  max-width: 60%;
}
.filter-open #filterSummary { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filter-open .caret { color: var(--muted); font-size: 12px; }
.filter-hint { font-size: 12px; color: var(--muted); }

/* 「我的比赛」里的昨天 / 今天 / 明天，按开球日看收藏 */
.daybar {
  display: flex;
  gap: 6px;
  margin: 0 0 8px;
}
.daybar button {
  flex: 1 1 0;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  border-radius: 8px;
  padding: 7px 2px;
  font-size: 12.5px;
  line-height: 1.2;
  white-space: nowrap;
}
.daybar button.on {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}

.list-meta { font-size: 12px; color: var(--muted); padding: 0 2px 5px; }

/* 我的站队进度：即时和我的比赛都能看见，点进去是每场结果 */

/* 卡片之间更紧凑 */
.list { display: flex; flex-direction: column; gap: 5px; }
.group-title { font-size: 12px; color: var(--muted); padding: 3px 2px 0; }

/* 我的比赛一行：联赛 · 时间 · 对阵 · 比分/状态 · 星标。点整行进详情，星标单独取消收藏。 */
.mine-row {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px 6px 8px 8px;
}
.mine-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  padding: 0;
}
.mine-lg {
  flex: 0 1 4.2em;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mine-time {
  flex: 0 0 auto;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.mine-vs {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mine-state {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.mine-bet {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(2, 151, 222, .12);
  color: var(--accent);
  border: 1px solid rgba(2, 151, 222, .28);
  white-space: nowrap;
}
.mine-bet.pending {
  background: rgba(255, 149, 0, .14);
  color: #FF9E2C;
  border-color: rgba(255, 149, 0, .35);
}
.mine-star {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
  padding: 0 4px;
}

/* ---------------- 比赛卡片：横向对阵（主队右 · 比分中 · 客队左，盘口分左右两半） ---------------- */
.match {
  background: var(--card);
  border-radius: 9px;
  padding: 4px 8px 5px;
  box-shadow: 0 1px 2px rgba(21, 23, 34, 0.07);
  border: 1px solid transparent;
}
.match.live { border-color: rgba(251, 153, 104, 0.55); }
.match.fav-on { border-color: rgba(229, 72, 77, 0.5); }

.m-head {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  line-height: 1.25;
  color: var(--muted);
}
.lg-dot { width: 7px; height: 7px; border-radius: 2px; flex: 0 0 auto; }
.m-head .lg { color: var(--text); font-weight: 600; max-width: 42%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-head .m-time { font-variant-numeric: tabular-nums; }
/* 右侧一组：角球 / 红黄牌 一起靠右（比赛状态与分钟已移到比分正上方） */
.m-head .m-right { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.m-head .corner,
.m-head .cards { display: inline-flex; align-items: center; gap: 1px; font-variant-numeric: tabular-nums; }
.m-head .corner svg { opacity: 0.7; }
.m-head .cards i {
  display: inline-block; width: 6px; height: 9px; border-radius: 1.5px; background: #f0b429; margin-right: 1px;
}
.m-head .cards.red i { background: var(--red); }

.m-body { display: flex; align-items: center; gap: 5px; margin-top: 1px; }
.fav {
  flex: 0 0 20px;
  height: 26px;
  border: 0;
  background: transparent;
  color: #6F7278;                 /* 灰色 = 未收藏 */
  font-size: 17px;                /* 箭头线条比原来稍粗（字重 + 字号） */
  font-weight: 700;
  line-height: 1;
  padding: 0;
}
.fav.on { color: var(--fav); font-weight: 700; }   /* 红色 = 已收藏并置顶 */

.m-main { flex: 1 1 auto; min-width: 0; }

/* 一行三列：主队（右对齐）· 比分/VS（居中）· 客队（左对齐）。
   比分列左右留白把两队整体向外推开约 2 个中文字符宽度，中央位置不变。 */
.m-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.m-teams .t {
  display: flex; align-items: center; gap: 2px;
  font-size: 14px; font-weight: 600; line-height: 1.3; min-width: 0; color: var(--text);
}
.m-teams .t.home { justify-content: flex-end; }
.m-teams .t.away { justify-content: flex-start; }
/* 长队名自适应收窄、省略号截断，绝不挤出卡片 */
.m-teams .t .nm { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-teams .t .rank { color: var(--muted); font-size: 12px; font-weight: 400; flex: 0 0 auto; }

.m-score { display: flex; flex-direction: column; align-items: center; padding: 0 20px; font-variant-numeric: tabular-nums; line-height: 1.15; }
/* 比分正上方：进行中的分钟 / 完场的「完」（红色），中部/加时等无分钟时显示阶段文字 */
.m-score .m-score-top { font-size: 12px; font-weight: 700; line-height: 1.1; }
.m-score .m-score-top.live,
.m-score .m-score-top.finished { color: var(--red); }
.m-score .m-score-top.cancelled { color: var(--muted); font-weight: 400; }
.m-score-main { display: block; white-space: nowrap; }
.m-score .s { font-size: 17px; font-weight: 800; }
/* 进行中比分绿色、完赛比分红色、未开始用默认文字色 */
.m-score.live .s { color: var(--accent); }
.m-score.finished .s { color: var(--red); }
.m-score .dash { margin: 0 1px; color: #8E9196; font-weight: 600; }
.m-score.live .dash, .m-score.finished .dash { color: inherit; opacity: .55; }
.m-score .vs { font-size: 15px; font-weight: 800; letter-spacing: 0.5px; }
.m-score .half { display: block; font-size: 12px; font-weight: 400; line-height: 1.1; color: var(--muted); }

/* 盘口：浅底一条，左右各半（左=让球，右=大小），中间分隔线 */
.m-odds {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: 3px;
  background: #24252A;
  border-radius: 6px;
  padding: 3px 0;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.m-odds .oh { display: flex; justify-content: center; align-items: baseline; gap: 4px; min-width: 0; }
.m-odds .oh + .oh { border-left: 1px solid var(--line); }
/* 只有单边盘口时不画中间分隔线 */
.m-odds .oh:empty + .oh { border-left: 0; }
.m-odds .oh b { font-weight: 500; color: #C9CBCF; }
.m-odds .oh b.line { color: var(--accent); font-weight: 800; }

/* 变化提示（用户 2026-10-25 定：比分变化要有一点点特效）：
   变化的那个数字先放大再落回去、变荧光黄绿，发一圈光，颜色停留约 2.6 秒再恢复；
   整张卡片边缘轻闪一圈光（.scored）。不闪屏、不位移，只有这个数字自己动。
   红牌数字变化也用同一套。 */
.changed {
  color: var(--accent) !important;
  display: inline-block;
  animation: scorePop .7s cubic-bezier(.2, 1.5, .4, 1), scoreGlow 1.5s ease-out;
}
@keyframes scorePop {
  0% { transform: scale(.6); opacity: .2; }
  55% { transform: scale(1.35); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes scoreGlow {
  0% { text-shadow: 0 0 0 rgba(2, 151, 222, 0); }
  25% { text-shadow: 0 0 10px rgba(2, 151, 222, .95), 0 0 22px rgba(2, 151, 222, .55); }
  100% { text-shadow: 0 0 0 rgba(2, 151, 222, 0); }
}
.match.scored { animation: cardScored 1.1s ease-out; }
@keyframes cardScored {
  0% { box-shadow: 0 0 0 0 rgba(2, 151, 222, .7); border-color: var(--accent); }
  100% { box-shadow: 0 0 0 12px rgba(2, 151, 222, 0); }
}

.empty {
  background: var(--card);
  border-radius: 10px;
  padding: 24px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.back {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  margin-bottom: 8px;
}

/* ---------------- 赛事筛选（独立界面） ---------------- */
#filterPage {
  position: fixed;
  inset: 0;
  /* 必须盖过固定账户栏与底部导航，否则确定/全选/全不选会被遮住。 */
  z-index: 120;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.filter-title { font-size: 15px; font-weight: 600; }
.filter-body { flex: 1 1 auto; overflow-y: auto; padding: 8px 30px calc(72px + env(safe-area-inset-bottom, 0px)) 12px; }
.filter-group { margin-bottom: 12px; }
.filter-group-title { font-size: 12px; font-weight: 600; color: var(--muted); margin: 6px 0; }
/* 参照原站：热门区与 A~Z 分组**统一 4 列**（反馈 9，线上球探截图核对），
   按钮内「联赛名[场次数]」紧排居中；配色仍用本站灰系 */
.hot-grid,
.lg-list {
  display: grid;
  gap: 5px;
}
.hot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lg-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lg-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-width: 0;
  height: 30px;
  padding: 0 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card);
  color: var(--text);
  font-size: 12px;
  line-height: 1;
  overflow: hidden;
}
.lg-row.on { background: var(--blue); border-color: var(--text); color: #F3F7FC; }
.lg-row .lg-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-row .lg-count { flex: none; font-size: 12px; opacity: .72; font-variant-numeric: tabular-nums; }
.lg-row .live-tag {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1px 3px;
  border-radius: 0 5px 0 5px;
  background: var(--live);
  color: #F3F7FC;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.25;
}
.filter-index {
  position: absolute;
  right: 2px;
  top: 110px;
  bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  z-index: 2;
}
.filter-index button {
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 12px;
  line-height: 1.1;
  padding: 0 4px;
}
.filter-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  background: var(--card);
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.filter-foot #filterCount { font-variant-numeric: tabular-nums; }
.filter-actions { display: inline-flex; gap: 6px; }

/* ---------------- 详情 ---------------- */
.detail-head {
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #F3F7FC;
  border-radius: 12px;
  padding: 11px 14px 12px;
}
.detail-head .meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  opacity: 0.85;
}
/* 天气：反馈 6 / ⑭ 移回顶部对阵框右上角 */
.detail-head .meta .head-weather {
  flex: none;
  white-space: nowrap;
  opacity: 1;
  color: #F3F7FC;
}
/* 对阵框：主队左、客队右，比分/分钟居中，半场比分在主比分下方 */
.detail-head .versus { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.detail-head .versus .t { font-size: 15px; flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.detail-head .versus .t.home { text-align: right; }
.detail-head .versus .t.away { text-align: left; }
.detail-head .vs-center {
  flex: 0 0 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
}
.detail-head .vs-state { font-size: 12px; font-weight: 700; color: var(--accent); }
.detail-head .vs-state.finished,
.detail-head .vs-state.live { color: #0297DE; }
.detail-head .vs-state.cancelled { color: rgba(255, 255, 255, .75); font-weight: 400; }
.detail-head .big-score { font-size: 23px; font-weight: 700; font-variant-numeric: tabular-nums; }
.detail-head .vs-half { font-size: 12px; opacity: .78; font-variant-numeric: tabular-nums; }
.detail-head .state { margin-top: 7px; display: flex; flex-wrap: wrap; gap: 5px; }
.detail-head .badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
}

.card {
  background: var(--card);
  border-radius: 10px;
  padding: 9px 12px;
  box-shadow: 0 1px 3px rgba(20, 40, 70, 0.06);
}
/* 只有详情页里的卡片需要上间距；比赛卡片由列表 gap 控制，避免内外留白被撑大 */
#detail .card { margin-top: 8px; }
.card h2 {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
}
.card h2 .hint { font-weight: 400; font-size: 12px; color: var(--muted); margin-left: 6px; flex: 1 1 auto; }

/* 赛前信息：天气/场地/伤病/热点新闻分项 */
.pre-row { display: flex; gap: 8px; font-size: 13px; line-height: 1.6; padding: 3px 0; }
.pre-label {
  flex: 0 0 52px;
  color: var(--muted);
  background: #24252A;
  border-radius: 4px;
  text-align: center;
  font-size: 12px;
  height: 20px;
  line-height: 20px;
}
.pre-value { flex: 1 1 auto; min-width: 0; }


/* 官方/预计首发：名单较长，缩小一号并允许换行，不截断、不挤压其它行 */
.pre-value.lineup { font-size: 12px; line-height: 1.5; word-break: break-word; }

/* AI 判断：两条，每条一行结论 + 一行理由；完场另有一行赛后复盘 */
.ai-card h2 { color: var(--accent); }
.ai-row { padding: 6px 0; }
.ai-row + .ai-row { border-top: 1px solid var(--line); }
.ai-head { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.5; }
.ai-detail { font-size: 12px; color: var(--muted); line-height: 1.6; margin-top: 2px; }
.ai-review { font-size: 12px; color: var(--text); line-height: 1.6; margin-top: 4px; }
.ai-pending { font-size: 12px; color: var(--muted); padding: 2px 0 4px; }

/* 重要事件：主队事件在左、客队事件在右，分钟居中；
   中场/完场等阶段行横跨两侧居中 */
.event {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr);
  align-items: center;
  gap: 4px;
  padding: 3px 0;
  font-size: 13px;
}
/* 事件行内的一侧；没有事件的那一侧用事件专用类 .blank 隐藏。
   注意：不要复用全局 .empty（整块空状态提示样式带 24px 内边距，会把每条事件撑到 50px 以上），
   这里再显式清零内边距，避免以后有别的通用类名漏进来又把行撑高。 */
.event .ev-side {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 0;
  margin: 0;
  line-height: 1.35;
}
.event .ev-side.home { justify-content: flex-end; text-align: right; }
.event .ev-side.away { justify-content: flex-start; text-align: left; }
.event .ev-side.blank { visibility: hidden; }
/* 空白侧也保持单行高度：不换行、不撑高 */
.event .ev-side.blank,
.event .ev-side.blank > * { height: auto; white-space: nowrap; overflow: hidden; }
.event .ev-minute {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.event .mark { flex: none; }
.event .text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.event .text .sub { color: var(--muted); font-size: 12px; }
.event.split {
  display: flex;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  padding: 2px 0;
}

.card.compact { padding: 7px 12px 5px; }
.card.compact h2 { margin-bottom: 5px; }
.card.compact .stat { margin-bottom: 4px; }
.card.compact .stat:last-child { margin-bottom: 1px; }
.stat-top {
  display: flex; justify-content: space-between;
  font-size: 12px; line-height: 1.3; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.stat-top .name { color: var(--text); font-weight: 500; }
.stat-bar { display: flex; height: 4px; border-radius: 2px; overflow: hidden; margin-top: 2px; background: #24252A; }
.stat-bar .h { background: var(--blue); }
.stat-bar .a { background: var(--accent); }

/* 盘口表格 */
.odds-sec { margin-top: 5px; }
.odds-sec + .odds-sec { margin-top: 10px; }
.odds-title {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 500; margin-bottom: 3px;
}
.odds-title .seg button {
  border: 1px solid var(--line); background: var(--card); color: var(--muted);
  font-size: 12px; padding: 2px 8px; border-radius: 999px; margin-left: 4px;
}
.odds-title .seg button.on { background: var(--blue); border-color: var(--text); color: #F3F7FC; }

.odds-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  table-layout: fixed;
}
.odds-table th {
  color: var(--muted); font-weight: 500; font-size: 12px;
  padding: 2px 0; border-bottom: 1px solid var(--line);
}
.odds-table td { text-align: center; padding: 3px 0; border-bottom: 1px dashed var(--line); }
.odds-table td.line { color: var(--text); font-weight: 600; }
.odds-table tr:last-child td { border-bottom: 0; }

.footer {
  max-width: 520px;
  margin: 0 auto;
  padding: 12px 12px 22px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.7;
}

/* ==================== 登录 / 注册页 ==================== */
.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 18px calc(24px + env(safe-area-inset-bottom));
  background: var(--bg);
}

.auth-card {
  width: 100%;
  max-width: 360px;
  padding: 26px 20px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.auth-brand {
  margin: 0 0 4px;
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--text);
}

.auth-sub {
  margin: 0 0 18px;
  font-size: 12px;
  color: var(--muted);
}

.auth-error {
  margin: 0 0 14px;
  padding: 9px 11px;
  border-radius: 8px;
  background: #2A1C1D;
  color: var(--red);
  font-size: 13px;
}

.auth-form label {
  display: block;
  margin-bottom: 13px;
  font-size: 12px;
  color: var(--muted);
}

.auth-form input[type="tel"],
.auth-form input[type="text"],
.auth-form input[type="password"] {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--card);
  color: var(--text);
  font-size: 15px;
  -webkit-appearance: none;
}

.auth-form input:focus {
  outline: none;
  border-color: var(--text);
}

.auth-check {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 4px 0 16px;
  font-size: 12.5px;
  color: var(--muted);
}

.auth-check input {
  width: 16px;
  height: 16px;
}

.auth-submit {
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 9px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 600;
}

.auth-submit:active {
  opacity: .88;
}

.auth-alt {
  margin: 16px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

.auth-alt a {
  color: var(--accent);
  text-decoration: none;
}

/* ==================== 登录后的顶部账号栏 ==================== */
.acct-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 12px;
  background: var(--ink);
  color: #F3F7FC;
  font-size: 12px;
}

.acct-bar .acct-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: .85;
}

.acct-bar .acct-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.acct-bar .brand-row { display: flex; align-items: center; gap: 8px; min-width: 0; }

.acct-bar .brand-name {
  font-size: 17.5px;
  font-weight: 800;
  letter-spacing: -.4px;
  color: #F3F7FC;
  white-space: nowrap;
}

/* 品牌字里替掉「求」的足球：跟系统 emoji 走，跨平台会自动换形 */
.acct-bar .brand-name { display: inline-flex; align-items: center; }
.acct-bar .brand-logo { height: 30px; width: auto; display: block; }

/* 消息标识紧贴品牌右侧，不画底盘，只留图标本身 */
.acct-bar .acct-ic.chat-inline {
  width: 26px;
  height: 26px;
  background: transparent;
  color: #E6E7E9;
}

.acct-bar .acct-ic {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #F3F7FC;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
}

.acct-bar .acct-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(2, 151, 222, .16);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.acct-bar .acct-login[hidden] { display: none; }

.acct-bar .acct-ic .chat-dot {
  position: absolute;
  top: 5px;
  right: 6px;
}

.head-back {
  display: none;
  border: 0;
  background: transparent;
  color: #F3F7FC;
  font-size: 26px;
  line-height: 1;
  padding: 0 4px 2px;
}

/* 进入比赛详情 / 积分战绩 / 排行榜后，顶部隐藏「即时 / 我的比赛」切页条 */
body[data-view="detail"] #mainTabs,
body[data-view="detail"] #status,
body[data-view="points"] #mainTabs,
body[data-view="points"] #status,
body[data-view="rank"] #mainTabs,
body[data-view="rank"] #status { display: none; }
body[data-view="detail"] .head-back { display: inline-block; }
body[data-view="detail"] .tabbar,
body[data-view="points"] .tabbar,
body[data-view="rank"] .tabbar { padding: 0; border-bottom: 0; min-height: 0; }
#panelDetail > .back { display: none; }

/* 账号下拉：手机号、管理入口、退出都收在这一个「···」里 */
.acct-menu {
  position: absolute;
  top: 46px;
  right: 10px;
  z-index: 30;
  min-width: 168px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  background: #101B28;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .45);
}

.acct-menu-who {
  margin: 0 4px 8px;
  font-size: 12px;
  color: var(--muted);
}

.acct-menu a,
.acct-menu button {
  display: block;
  width: 100%;
  padding: 10px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #F3F7FC;
  font-size: 14px;
  text-align: left;
  text-decoration: none;
}

.acct-menu a:active,
.acct-menu button:active { background: rgba(255, 255, 255, .08); }

/* 标签与状态合并成一行，比原来「品牌行 + 标签行 + 状态条」三行省一半高度 */
.tabbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: var(--ink);
  color: #F3F7FC;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.tabbar .tabs {
  display: flex;
  flex: 0 0 auto;
  gap: 2px;
  margin: 0;
}

.tabbar .tabs button {
  flex: 0 0 auto;
  padding: 11px 10px 9px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .72);
  border-bottom: 2px solid transparent;
}

.tabbar .tabs button.on {
  color: #F3F7FC;
  border-bottom-color: var(--accent);
}

.tabbar #status {
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: 6px;
  padding: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, .62);
}

.tabbar #statusText {
  max-width: 104px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tabbar #status .fresh { display: none; }

.tabbar #status .ghost {
  border-color: rgba(255, 255, 255, .22);
  background: transparent;
  color: #F3F7FC;
  padding: 3px 9px;
  font-size: 12px;
}
.tabbar #status .alert-toggle {
  padding: 6px 12px;
  font-size: 15px;
  line-height: 1.2;
}

/* ==================== 管理员页 ==================== */
.admin-body {
  min-height: 100vh;
  background: var(--bg);
}

.admin-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 14px 12px calc(30px + env(safe-area-inset-bottom));
}

.admin-msg {
  margin: 0 0 12px;
  padding: 9px 11px;
  border-radius: 8px;
  background: #0E2336;
  color: #8FE3A0;
  font-size: 13px;
}

.admin-card {
  margin-bottom: 14px;
  padding: 14px 13px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.admin-card h2 {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--text);
}

.admin-hint {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--muted);
}

.admin-inline {
  display: flex;
  gap: 8px;
}

.admin-inline input {
  flex: 1;
  min-width: 0;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101B28;
  color: var(--text);
  font-size: 14px;
}

.admin-inline input::placeholder { color: #6E6F74; }

.admin-inline button,
.admin-actions button {
  padding: 8px 12px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: #F3F7FC;
  font-size: 12.5px;
  white-space: nowrap;
}

/* 开通二维码页：二维码放白底大图，方便手机长按保存 */
.admin-primary {
  padding: 12px 16px; border: 0; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink); font-size: 15px; font-weight: 700;
}
.act-card { text-align: center; }
.act-account { margin: 4px 0 14px; font-size: 15px; color: var(--muted); }
.act-account strong {
  font-size: 30px; letter-spacing: 3px; color: var(--text); font-variant-numeric: tabular-nums;
}
.act-qr {
  display: block; width: 260px; max-width: 100%; height: auto; margin: 0 auto 16px;
  border-radius: 12px; background: #F3F7FC; image-rendering: pixelated;
}
.act-steps {
  margin: 0 0 12px; padding-left: 20px; text-align: left;
  font-size: 14px; line-height: 1.7; color: var(--text);
}
.act-card .admin-hint { text-align: left; font-size: 12.5px; }
.act-link { text-align: left; font-size: 13px; color: var(--muted); }
.act-link summary { padding: 6px 0; cursor: pointer; }
.act-link input {
  width: 100%; margin-top: 6px; padding: 9px 11px; box-sizing: border-box;
  border: 1px solid var(--line); border-radius: 8px; background: #101B28;
  color: var(--text); font-size: 12px;
}

/* 危险操作（清空客户数据）：红色按钮 + 红边框，和普通按钮区分开 */
.admin-danger-card {
  border-color: rgba(255, 93, 99, 0.45);
}

.admin-danger-card h2 {
  color: #FF8B8F;
}

.admin-inline .admin-danger {
  border-color: #6E2A2D;
  background: #6E2A2D;
  color: #FFE9EA;
}


.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.admin-table th,
.admin-table td {
  padding: 8px 6px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.admin-table th {
  color: var(--muted);
  font-weight: 500;
}

.admin-table tr.is-me {
  background: #1D1E21;
}

.tag-me {
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--accent);
  color: #F3F7FC;
  font-size: 12px;
}

.admin-time {
  color: var(--muted);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-actions form {
  display: flex;
  gap: 4px;
  margin: 0;
}

.admin-reset input {
  width: 106px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101B28;
  color: var(--text);
  font-size: 12px;
}

.admin-reset input::placeholder { color: #6E6F74; }

.admin-actions .admin-danger {
  border-color: var(--red);
  background: var(--red);
}

/* 手机上表格放不下六列，右侧「操作」会被切掉；窄屏改成一条一张卡，字段名放在前面。 */
@media (max-width: 640px) {
  .admin-table thead { display: none; }
  .admin-table,
  .admin-table tbody,
  .admin-table tr,
  .admin-table td { display: block; width: 100%; }

  .admin-table tr {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }

  .admin-table tr.is-me { background: none; }

  .admin-table td {
    padding: 3px 0;
    border: 0;
    white-space: normal;
  }

  .admin-table td::before {
    content: attr(data-label);
    display: inline-block;
    min-width: 62px;
    color: var(--muted);
    font-size: 12px;
  }

  .admin-table td.admin-phone::before,
  .admin-table td.admin-actions::before { content: none; }

  .admin-table td.admin-phone {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
  }

  .admin-actions { margin-top: 8px; }

  .admin-reset { flex: 1 1 100%; }

  .admin-reset input { flex: 1; width: auto; }
}

.admin-foot {
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.admin-foot a {
  color: var(--accent);
  text-decoration: none;
}

/* ==================== 进球提示 ==================== */
/* 进球一方的队名短暂高亮（浅米黄），动画结束后自然恢复 */
.t.goal-flash .nm {
  animation: goalPulse 3s ease-out;
  border-radius: 4px;
}

@keyframes goalPulse {
  0% { background: rgba(2,151,222,.45); }
  72% { background: rgba(2,151,222,.45); }
  100% { background: transparent; }
}


/* 底部进球 / 红牌提示条（方案 B：灵动岛「脉冲声浪胶囊 + 粒子」，用户 2026-11-17 选定）：
   从底部中心光点弹性横向展开为圆角胶囊，伴随冲击波光环、14 颗微粒子爆发、左侧旋转徽章与右侧 4 柱声浪。
   不管手机有没有开「减弱动态效果」，进球提示条、红牌提示条和列表比分都照样播放动画。 */
.goal-shockwave {
  position: fixed;
  left: 50%;
  bottom: calc(42px + env(safe-area-inset-bottom));
  width: 34px;
  height: 34px;
  margin-left: -17px;
  border-radius: 50%;
  border: 2.5px solid #0297DE;
  opacity: 0;
  z-index: 39;
  pointer-events: none;
}
.goal-shockwave.away-goal { border-color: #FF9E2C; }
.goal-shockwave.is-cancelled { border-color: #a78bfa; }
.goal-shockwave.is-red { border-color: #ef4444; }
.goal-shockwave.go { animation: goalShockwave .8s cubic-bezier(.1, .8, .2, 1) forwards; }
@keyframes goalShockwave {
  0% { transform: scale(.4); opacity: .95; }
  100% { transform: scale(11); opacity: 0; }
}

.goal-ptcls {
  position: fixed;
  left: 50%;
  bottom: calc(46px + env(safe-area-inset-bottom));
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 42;
}
.goal-ptcl {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0297DE;
  box-shadow: 0 0 8px currentColor;
}

.goal-toast {
  position: fixed;
  left: 12px;
  right: 12px;
  max-width: 520px;
  margin: 0 auto;
  bottom: calc(74px + env(safe-area-inset-bottom));
  z-index: 65;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 14px;
  border-radius: 24px;
  background: rgba(10, 17, 26, .96);
  border: 1.5px solid rgba(2, 151, 222, .75);
  color: #F3F7FC;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .72), 0 0 28px rgba(2, 151, 222, .22);
  transform-origin: center bottom;
  animation: islandOpen .52s cubic-bezier(.18, 1.32, .34, 1) both;
}
.goal-toast.away-goal {
  border-color: rgba(255, 158, 44, .8);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .72), 0 0 28px rgba(255, 158, 44, .22);
}
.goal-toast.is-cancelled {
  border-color: rgba(167, 139, 250, .78);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .72), 0 0 24px rgba(167, 139, 250, .24);
}
.goal-toast.leaving { animation: islandClose .26s ease-in forwards; }

@keyframes islandOpen {
  0% { opacity: 0; transform: scaleX(.16) scaleY(.4) translateY(34px); }
  55% { opacity: 1; transform: scaleX(1.03) scaleY(1.04) translateY(-2px); }
  100% { opacity: 1; transform: scaleX(1) scaleY(1) translateY(0); }
}
@keyframes islandClose {
  to { opacity: 0; transform: scaleX(.22) scaleY(.5) translateY(26px); }
}

.goal-toast .is-orb {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: none;
  background: radial-gradient(circle at 30% 30%, #4AC3FF, #0266A3);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 14px rgba(2, 151, 222, .45);
  animation: orbSpin 1.1s ease-out both;
}
.goal-toast.away-goal .is-orb {
  background: radial-gradient(circle at 30% 30%, #ffd23e, #c96e08);
  box-shadow: 0 0 14px rgba(255, 158, 44, .45);
}
.goal-toast.is-cancelled .is-orb {
  background: radial-gradient(circle at 30% 30%, #ddd6fe, #6d28d9);
  box-shadow: 0 0 14px rgba(167, 139, 250, .45);
  color: #F5F3FF;
  font-size: 12px;
  font-weight: 900;
}
@keyframes orbSpin {
  0% { transform: scale(.4) rotate(-220deg); }
  70% { transform: scale(1.12) rotate(16deg); }
  100% { transform: scale(1) rotate(0); }
}

.goal-toast .goal-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.goal-toast .goal-top { display: flex; align-items: center; gap: 6px; min-width: 0; }
.goal-toast .goal-where {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  line-height: 1.2;
  color: #9aa4b2;
}
.goal-toast .goal-word {
  flex: none;
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(2, 151, 222, .16);
  color: #0297DE;
  font-size: 11px;
  line-height: 16px;
  font-weight: 800;
  letter-spacing: .5px;
}
.goal-toast.away-goal .goal-word {
  background: rgba(255, 158, 44, .18);
  color: #FF9E2C;
}
.goal-toast.is-cancelled .goal-word {
  background: rgba(167, 139, 250, .2);
  color: #c4b5fd;
}

.goal-toast .goal-score {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}
.goal-toast .goal-team {
  /* 队名长就折成两行，不截断（「RB大宫松鼠女足」这种） */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.15;
  word-break: break-all;
  color: rgba(255, 255, 255, .74);
}
.goal-toast .goal-team.home { text-align: right; }
.goal-toast .goal-team.away { text-align: left; }
.goal-toast.home-goal .goal-team.home { color: #0297DE; font-weight: 800; }
.goal-toast.away-goal .goal-team.away { color: #FF9E2C; font-weight: 800; }
.goal-toast.is-cancelled .goal-team { color: rgba(255, 255, 255, .78); font-weight: 700; }
.goal-toast .goal-nums {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #F3F7FC;
}
.goal-toast .goal-nums i, .goal-toast .goal-nums em { font-style: normal; display: inline-block; }
.goal-toast .goal-nums em { color: rgba(255, 255, 255, .5); font-weight: 400; }
.goal-toast.home-goal #goalNumHome { color: #0297DE; animation: goalDigit .5s .16s cubic-bezier(.2, 1.5, .4, 1) both; }
.goal-toast.away-goal #goalNumAway { color: #FF9E2C; animation: goalDigit .5s .16s cubic-bezier(.2, 1.5, .4, 1) both; }
.goal-toast.is-cancelled .goal-nums i { color: #c4b5fd !important; animation: goalDigit .45s cubic-bezier(.2, 1.5, .4, 1) both; }
@keyframes goalDigit {
  0% { transform: scale(.55); opacity: 0; }
  60% { transform: scale(1.38); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* 右侧 4 柱欢呼声浪条 */
.goal-toast .goal-eq {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 22px;
  flex: none;
}
.goal-toast .goal-eq i {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: #0297DE;
  animation: eqBeat .65s ease-in-out infinite alternate;
}
.goal-toast.away-goal .goal-eq i { background: #FF9E2C; }
.goal-toast.is-cancelled .goal-eq i { background: #a78bfa; animation-duration: 1.4s; }
.goal-toast .goal-eq i:nth-child(1) { height: 8px; animation-delay: 0s; }
.goal-toast .goal-eq i:nth-child(2) { height: 18px; animation-delay: .15s; }
.goal-toast .goal-eq i:nth-child(3) { height: 12px; animation-delay: .3s; }
.goal-toast .goal-eq i:nth-child(4) { height: 20px; animation-delay: .1s; }
@keyframes eqBeat {
  from { transform: scaleY(.35); opacity: .65; }
  to { transform: scaleY(1); opacity: 1; }
}


/* ==================== 市场风向（用户观点统计，2026-10-11 定稿） ====================
   设计来源：preview/market-sentiment/market-sentiment.css（第一阶段设计稿）
   口径：只有登录用户可见可投；开赛全部锁定；只显示当前盘口；人数红色最醒目。 */
.ms-card { padding: 12px 14px 10px; border-radius: 14px; }
.ms-remind { margin: 8px 0 0; font-size: 12px; line-height: 1.45; color: var(--muted); }
.ms-card h2 { margin: 0; font-size: 15px; }

.ms-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ms-head .hint { font-size: 12px; font-weight: 400; color: var(--muted); }

/* 全场 / 上半场：收成一枚小胶囊，点一下互换 */
.ms-period {
  flex: none; display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--muted);
  font-size: 12px; font-family: inherit; line-height: 1.4;
}
.ms-period i { font-style: normal; font-size: 12px; opacity: .65; }
.ms-period:active { background: #1D1E22; }

.ms-market { margin-top: 4px; }
/* 玩法与盘口、人数：一行极小的说明字，不抢主视觉 */
.ms-meta {
  display: flex; align-items: baseline; justify-content: flex-end; gap: 8px;
  margin-top: 10px; font-size: 12px; color: #8A8D93; letter-spacing: .01em;
}
.ms-meta .ms-meta-l { font-variant-numeric: tabular-nums; }
.ms-meta .ms-meta-r { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ms-meta .ms-pct { font-weight: 800; }
.ms-meta .ms-pct.l { color: var(--accent); }
.ms-meta .ms-pct.r { color: #7FA3D8; }
.ms-meta .ms-sep { margin: 0 3px; color: #5E6167; }
.ms-mrow { display: flex; align-items: center; gap: 6px; min-height: 20px; }
.ms-mrow .ms-count { margin-left: auto; font-size: 12px; color: var(--muted); }
.ms-lock {
  padding: 1px 6px; border: 1px solid var(--line); border-radius: 6px;
  font-size: 12px; color: var(--muted); white-space: nowrap;
}

/* 站队：两个选项块（圆形队标 + 名字 + 人数），下面接一条比例条 */
.ms-opts { display: flex; gap: 8px; margin-top: 5px; }
.ms-opt {
  position: relative; flex: 1 1 0; min-width: 0; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 10px; border: 1px solid var(--line); border-radius: 11px;
  background: #121E2C; font-family: inherit; cursor: pointer;
}
.ms-emblem {
  display: flex; align-items: center; justify-content: center;
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: #26282E; color: var(--text);
  font-size: 12px; font-weight: 800; line-height: 1;
}
.ms-opt .ms-name { font-size: 12.5px; font-weight: 600; color: var(--text); }
.ms-opt .ms-figure { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ms-opt.on { border-color: var(--accent); background: rgba(2, 151, 222, .06); }
.ms-opt.on .ms-emblem {
  background: rgba(2, 151, 222, .16); color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.ms-opt[disabled] { cursor: default; }
.ms-opt[disabled] .ms-name { color: #C9CBCF; }

/* 比例条：左荧光绿、右灰蓝；人数不够时两边都灰，不假装有比例 */
.ms-bar {
  display: flex; height: 8px; margin-top: 6px;
  border-radius: 999px; overflow: hidden; background: #26282E;
}
.ms-bar i { display: block; height: 100%; }
.ms-bar .ms-bar-l { background: var(--accent); }
.ms-bar .ms-bar-r { background: #5B7FB5; }
.ms-bar.is-blank .ms-bar-l { background: #3A3C43; }
.ms-bar.is-blank .ms-bar-r { background: #2E3036; }


/* 大小球只用图形：三个球叠成三角形＝进球多，一个球＝进球少，所有球一样大 */
.ms-opt .ms-ball {
  display: inline-block; margin: 0; font-size: 12px; line-height: 1;
  filter: grayscale(1); opacity: .9;
}
.ms-balls { display: inline-flex; flex-direction: column; align-items: center; gap: 0; vertical-align: middle; }
.ms-balls .ms-ball-row { display: flex; gap: 2px; }
.ms-opt.on .ms-ball { filter: grayscale(1) brightness(1.6); }

.ms-foot {
  display: flex; align-items: center; gap: 6px; margin-top: 10px;
  font-size: 12px; color: var(--muted);
}
.ms-foot .ms-grow { flex: 1 1 auto; min-width: 0; }
.ms-foot a { color: var(--accent); text-decoration: none; }
.ms-foot .ms-flash { color: var(--green); font-weight: 600; opacity: 0; transition: opacity .18s; }
.ms-foot .ms-flash.show { opacity: 1; }
.ms-foot .ms-flash.warn { color: #FFB37A; }
.ms-empty { font-size: 12px; color: var(--muted); }
/* 暂停收集：只留一句说明，不给投票入口 */
.ms-paused {
  margin-top: 8px; padding: 16px 14px; border-radius: 14px;
  background: var(--surface-2, #16171A); color: var(--muted);
  font-size: 13px; line-height: 1.6;
}

/* ==================== 「我的观点」 ==================== */
/* 对错：对的荧光色，错的、走水灰色（红色只留给红牌和警示） */

/* ---------------- 实时推送：数据新鲜度 ---------------- */
.fresh {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---------------- 详情页四个页签（热区 ≥44px） ---------------- */
.dtabs {
  display: flex;
  gap: 4px;
  margin: 10px 0 10px;
  padding: 4px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.dtabs button {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
}
.dtabs button.on {
  background: var(--ink);
  color: #F3F7FC;
  font-weight: 600;
}

/* ---------------- 阵容球场图 ---------------- */
.pitch-wrap { margin: 6px 0 2px; }
.pitch { width: 100%; height: auto; display: block; }
.pitch-bg { fill: #F2F4EC; stroke: var(--line); stroke-width: 0.8; }
.pitch-line { fill: none; stroke: #C9CCC0; stroke-width: 0.6; }
.pitch-player.home circle { fill: var(--text); }
.pitch-player.away circle { fill: var(--accent); }
.pitch-num {
  fill: #F3F7FC;
  font-size: 4.2px;
  font-weight: 600;
  text-anchor: middle;
}
.pitch-name {
  fill: #C9CBCF;
  font-size: 3.1px;
  text-anchor: middle;
}
.pitch-legend {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 8px 0 2px;
  font-size: 13px;
  color: var(--muted);
}
.pitch-legend .lg-home { color: var(--text); }
.pitch-legend .lg-away { color: var(--accent); }
.injury-list { margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 8px; }
.injury {
  display: flex;
  gap: 8px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text);
}
.injury-side {
  flex: 0 0 22px;
  color: var(--muted);
}

/* ---------------- 文字直播时间轴 ---------------- */
.timeline { list-style: none; margin: 4px 0 0; padding: 0; }
.tl-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 44px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line);
}
.tl-item:last-child { border-bottom: 0; }
.tl-minute {
  flex: 0 0 44px;
  color: var(--muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.tl-mark { flex: 0 0 18px; font-size: 14px; }
.tl-text { flex: 1 1 auto; font-size: 15px; line-height: 1.45; }
.tl-goal .tl-text, .tl-penalty .tl-text { color: var(--green); font-weight: 600; }
.tl-red .tl-text { color: var(--red); font-weight: 600; }
.tl-split {
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  border-bottom: 0;
}
.tl-score { color: var(--text); }

/* ---------------- 统计条动画 ---------------- */
.stat-bar .h, .stat-bar .a {
  width: 0;
  transition: width 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.stat .sv { font-variant-numeric: tabular-nums; }

/* ---------------- 比赛进程（危险进攻波形 + 进球/角球标记） ---------------- */
.progress { width: 100%; height: auto; display: block; margin: 4px 0 2px; }
.pg-base { stroke: var(--line); stroke-width: 1; }
.pg-ht { stroke: #C9CCC0; stroke-width: 0.8; stroke-dasharray: 2 2; }
.pg-danger.home { fill: var(--accent); opacity: 0.9; }
.pg-danger.away { fill: #5b7fb5; opacity: 0.9; }
.pg-mark.goal { font-size: 9px; }
.pg-mark.corner { font-size: 7px; }
.pg-mark.event { fill: #d4a017; }
.pg-axis { font-size: 8px; fill: var(--muted); }
.pg-legend {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}
.pg-legend .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  margin-right: 3px;
  vertical-align: middle;
}
.pg-legend .dot.goal { background: var(--ink); }
.pg-legend .dot.corner { background: var(--green); }
.pg-legend .dot.danger.home { background: var(--accent); }
.pg-legend .dot.danger.away { background: #5b7fb5; }


/* ---------- 深色荧光主题补充（不改变尺寸与排版） ---------- */
.topbar { box-shadow: none; border-bottom: 1px solid var(--line); }
.tabs button.on { color: var(--accent); border-bottom-color: var(--accent); }
.ghost, .back { color: var(--accent); }
.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.lg-row.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.lg-row .live-tag { color: var(--accent-ink); }
.match { box-shadow: none; border-color: var(--line); }
.match.live { border-color: rgba(2, 151, 222, .5); }
.match.fav-on { border-color: rgba(255, 90, 95, .55); }
.detail-head { border: 1px solid var(--line); }
.detail-head .vs-state.live { color: var(--accent); }
.m-odds .oh b.line { color: var(--accent); }
.m-score .dash { color: #8E9196; }
.empty { border: 1px solid var(--line); }
.filter-head, .filter-foot { border-color: var(--line); }
.dtabs button.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.admin-inline button, .admin-actions button { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }

/* 站内聊天入口：未读只显示一个小圆点，不挤占账户栏 */
#acctChat{position:relative}
.chat-dot{
  position:absolute;top:-3px;right:-3px;width:7px;height:7px;border-radius:50%;
  background:#F07171;box-shadow:0 0 0 2px var(--ink);
}
@media (max-width:400px){
  .acct-bar{gap:8px;padding:7px 10px}
  .acct-bar .acct-links{gap:6px}
  .acct-bar button,.acct-bar a{padding:4px 8px}
}

/* 卡片上的「站队」一行（2026-11-03 用户定）：
   原来塞在盘口数字之间的 12px 小方块只有图标、点不准也看不懂，改成整块按钮：
   每个选项 ≥44px 高、写「让球·主队 3」这样的中文和人数，点一次记一票，开赛前可改。 */
.m-vote {
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.vote-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.edge-mark {
  flex: none;
  padding: 1px 5px;
  border: 1px solid rgba(2, 151, 222, .45);
  border-radius: 4px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.vote-sum {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: var(--muted);
}
.vote-cta {
  margin-left: auto;
  flex: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}
.vote-opts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}
.vr-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-width: 0;
  min-height: 44px;
  padding: 5px 2px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #121E2C;
  color: #D9DBDF;
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .12s ease, background .12s ease, transform .08s ease;
}
.vr-opt .vr-k {
  font-size: 9px;
  line-height: 1.2;
  color: var(--muted);
  letter-spacing: .3px;
}
.vr-opt .vr-t {
  font-size: 12px;
  line-height: 1.25;
  white-space: nowrap;
}
.vr-opt .vr-t b {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #C9CBCF;
}
.vr-opt:active { transform: translateY(1px); background: #23242A; }
.vr-opt.on {
  border-color: var(--accent);
  background: rgba(2, 151, 222, .13);
  color: var(--text);
}
.vr-opt.on .vr-k { color: var(--accent); }
.vr-opt.on .vr-t b { color: var(--accent); }
/* 没登录：同一块只读，整块点一下就去登录 */
.m-vote.guest { cursor: pointer; }
.m-vote.guest .vr-opt {
  background: #15161A;
  border-style: dashed;
  color: #8A8D93;
  cursor: pointer;
}
.m-vote.guest .vr-opt .vr-t b { color: #8A8D93; }

/* 盘口小点提示条：底部弹出，1.6 秒自动收起；出错时红色多停一会儿 */
.vote-toast {
  position: fixed;
  left: 50%;
  bottom: calc(74px + env(safe-area-inset-bottom));
  transform: translate(-50%, 10px);
  max-width: 78vw;
  padding: 8px 14px;
  border-radius: 999px;
  background: #0E2336;
  color: var(--accent);
  border: 1px solid rgba(2, 151, 222, .35);
  font-size: 13px;
  line-height: 1.3;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
  z-index: 66;
}
.vote-toast.on {
  opacity: 1;
  transform: translate(-50%, 0);
}
.vote-toast.warn {
  background: #2A1113;
  color: #FF8B8F;
  border-color: rgba(255, 90, 95, .45);
}



/* ---------- 2026-10-22 细节调整 ---------- */
/* 红黄牌挪到排名旁：两个小方块，数字在里 */
.tcard {
  display: inline-block; min-width: 15px; height: 15px; line-height: 15px;
  border-radius: 3px; text-align: center; font-size: 12px; font-weight: 800;
  margin: 0 3px; vertical-align: 1px; font-variant-numeric: tabular-nums;
}
.tcard.red { background: #E5484D; color: #FFFFFF; }
.tcard.yellow { background: #F5C451; color: #1A1503; }
/* 比分上方那行状态（分钟 / 完）往上挪一点，拉开与比分的距离 */
.m-score .m-score-top { transform: translateY(-3px); }
.detail-head .vs-state { margin-bottom: 9px; }
.detail-head .vs-half { margin-top: 9px; }
/* 详情页角球徽标里的数字 */
.badge .corner-n { font-weight: 700; }
/* AI 推演：进球行前的小球、三色细条、模型标签 */
.pred-xg { display: flex; align-items: center; gap: 5px; }
.pred-ball { flex: 0 0 auto; color: var(--accent); margin-right: 1px; }
.pred-xg-tag {
  display: inline-block; margin-left: 6px; padding: 0 5px; border-radius: 4px;
  background: rgba(2, 151, 222, .14); color: var(--accent);
  font-size: 9.5px; font-weight: 700; line-height: 15px; vertical-align: 1px;
}
.pred-conclusion { flex-wrap: wrap; }
.pred-conclusion .pred-probs { flex: 1 0 100%; width: 100%; }
.pred-probs { width: 100%; }
.pred-bar {
  display: flex; height: 7px; border-radius: 4px; overflow: hidden;
  background: rgba(255, 255, 255, .08); margin: 8px 0 4px;
}
.pred-bar i { display: block; height: 100%; }
.pred-bar i.h { background: var(--accent); }
.pred-bar i.d { background: rgba(255, 255, 255, .28); }
.pred-bar i.a { background: #5b7fb5; }
.pred-bar-legend {
  display: flex; gap: 10px; font-style: normal; font-size: 12px;
  color: var(--muted); margin-bottom: 2px;
}
.pred-bar-legend em { font-style: normal; }
.pred-bar-legend em.h { color: var(--accent); }
.pred-bar-legend em.a { color: #7fa3d8; }
/* 盘口表：全场/半场胶囊上色 + 首行（初盘）与末行（最新）时间上色 */
.odds-title .seg button.on {
  background: rgba(2, 151, 222, .12); border-color: var(--accent); color: var(--accent);
}
.odds-table tbody tr.first td:first-child { color: #7FA8D8; font-weight: 700; }
.odds-table tbody tr.last td:first-child { color: var(--accent); font-weight: 700; }

/* 登录后第一条推送：文字稍粗一点，和普通客服消息区分 */
.bubble.welcome { font-weight: 600; letter-spacing: .1px; }

/* ==================== 即时聊天登录页 ==================== */
.chat-auth .auth-card {
  max-width: 380px;
  padding: 30px 22px 24px;
  text-align: center;
  border-radius: 20px;
  background: linear-gradient(180deg, #121E2C, #101B28);
}
.chat-auth .auth-mark {
  width: 58px; height: 58px; margin: 2px auto 14px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 18px;
  color: var(--accent-ink);
  background: var(--accent);
  box-shadow: 0 8px 22px rgba(2, 151, 222, .22);
}
.chat-auth .auth-brand { font-size: 21px; letter-spacing: .5px; }
.chat-auth .auth-sub { font-size: 13px; margin-bottom: 20px; }
.chat-auth .auth-form { text-align: left; }
.chat-auth .auth-form label { font-size: 12.5px; }
.chat-auth .auth-form input[type="tel"],
.chat-auth .auth-form input[type="password"] {
  min-height: 48px; padding: 13px 14px; font-size: 16px; border-radius: 12px;
  background: #09111A;
}
.chat-auth .auth-check { justify-content: flex-start; }
.chat-auth .auth-submit {
  min-height: 48px; margin-top: 4px; border-radius: 12px; font-size: 16px; font-weight: 700;
}
.chat-auth .auth-alt { text-align: center; }
.chat-auth .auth-note {
  margin: 14px 0 0; font-size: 12px; line-height: 1.5; color: #8E9196; text-align: center;
}
.chat-auth .auth-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); }

/* ==================== 即时聊天登录页（按参考图：大字标题 + 胶囊输入 + 带箭头的登录键） ==================== */
.chat-login-body {
  align-items: flex-start;
  padding: calc(56px + env(safe-area-inset-top)) 22px calc(28px + env(safe-area-inset-bottom));
  background: radial-gradient(circle at 82% 8%, rgba(2, 151, 222, .16), transparent 44%), radial-gradient(circle at 18% 92%, rgba(255, 158, 44, .09), transparent 44%), #05090E;
}
.cl-wrap { width: 100%; max-width: 420px; margin: 0 auto; }
.cl-logo {
  width: 46px; height: 46px; margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--accent-ink); background: transparent;
}
.cl-title {
  margin: 0 0 10px;
  font-size: 32px; line-height: 1.22; font-weight: 800; letter-spacing: .5px;
  color: var(--text);
}
.cl-sub { margin: 0 0 26px; font-size: 13.5px; line-height: 1.6; color: #8E9196; }
.cl-error {
  margin: 0 0 14px; padding: 10px 13px; border-radius: 12px;
  background: #2A1C1D; color: var(--red); font-size: 13px;
}
.cl-form { display: flex; flex-direction: column; gap: 12px; }
.cl-field {
  display: flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 0 8px 0 18px;
  border: 1px solid #23374D; border-radius: 27px; background: #101B28;
}
.cl-field:focus-within { border-color: #3A3B40; }
.cl-cc { font-size: 15px; color: #C9CBCD; padding-right: 10px; border-right: 1px solid #2C2D31; }
.cl-field input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text);
  font-size: 16px; padding: 15px 0; -webkit-appearance: none;
}
.cl-field input:focus { outline: none; }
/* 浏览器自动填充会把输入框刷成白底、黑字，深色页里像贴了张白纸；这里盖回深色。 */
.cl-field input:-webkit-autofill,
.cl-field input:-webkit-autofill:hover,
.cl-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px #101B28 inset;
  box-shadow: 0 0 0 1000px #101B28 inset;
  caret-color: var(--text);
  transition: background-color 99999s ease-out 0s;
}
.cl-field input:autofill {
  -webkit-text-fill-color: var(--text);
  box-shadow: 0 0 0 1000px #101B28 inset;
}
.cl-field input::placeholder { color: #6E6F74; }
.cl-forgot {
  flex: none; border: 0; background: transparent; color: #9A9CA1;
  font-size: 13px; padding: 12px 10px; min-height: 44px;
}
.cl-hint { margin: -2px 4px 0; font-size: 12.5px; line-height: 1.6; color: #FFB37A; }
.cl-submit {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 56px; margin-top: 6px; padding: 0 8px 0 20px;
  border: 0; border-radius: 28px; background: var(--accent); color: var(--accent-ink);
  font-size: 17px; font-weight: 700;
}
.cl-submit:active { transform: scale(.995); opacity: .92; }
.cl-arrow {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #FFFFFF; color: var(--accent);
}
.cl-alt { margin: 18px 0 0; text-align: center; font-size: 13px; color: #8E9196; }
.cl-alt a { color: var(--accent); text-decoration: none; }
.cl-terms { margin: 26px 0 0; text-align: center; font-size: 12px; line-height: 1.6; color: #6E6F74; }
.cl-logo svg { display: block; }
/* 老球友版：副标题、提示、协议字号放大一点，灰色调亮，年纪大的人也看得清 */
.chat-login-body .cl-sub { font-size: 15px; color: #A3A5AA; }
.chat-login-body .cl-hint { font-size: 13.5px; }
.chat-login-body .cl-terms { font-size: 12.5px; color: #85878C; }
.cl-ok {
  margin: 0 0 14px; padding: 10px 13px; border-radius: 12px;
  background: #0E2336; color: var(--accent); font-size: 14px;
}
.cl-center { text-align: center; }
/* 系统分配的 6 位账号：大号显示，可一键复制 */
.cl-account {
  display: flex; align-items: center; gap: 12px;
  min-height: 64px; padding: 0 10px 0 18px; margin-bottom: 8px;
  border: 1px solid #23374D; border-radius: 20px; background: #101B28;
}
.cl-account-label { flex: none; font-size: 14px; color: #8E9196; }
.cl-account-value {
  flex: 1; min-width: 0; font-size: 26px; font-weight: 800; letter-spacing: 2px;
  color: var(--text); font-variant-numeric: tabular-nums;
}
.cl-copy {
  flex: none; min-height: 40px; padding: 0 16px; border: 0; border-radius: 20px;
  background: #162434; color: var(--text); font-size: 14px; font-weight: 600;
}
.cl-account-tip { margin: 0 4px 22px; font-size: 13.5px; color: #FFB37A; }
.cl-agree {
  display: flex; align-items: flex-start; gap: 10px; margin: 4px 4px 0;
  font-size: 13.5px; line-height: 1.5; color: #A3A5AA;
}
.cl-agree input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.cl-link-btn { text-decoration: none; margin-top: 22px; }
.cl-enter-form { margin-top: 18px; }
.cl-alt button, .cl-switch button {
  border: 0; background: transparent; color: var(--accent);
  font-size: 14px; padding: 10px 12px; min-height: 44px;
}
.cl-switch { margin: 14px 0 0; text-align: center; }
.cl-switch button { color: #9A9CA1; }

/* ---------- 用户 2026-10-23 定：红色只留给红牌和警示 ---------- */
/* 收藏：荧光黄绿边框 + 黄绿箭头（原来是红色） */
:root { --fav: #0297DE; }
.match.fav-on { border-color: rgba(2, 151, 222, .6); }
/* 进行中不再加边框，只靠黄绿比分与分钟区分，免得和收藏的边框混在一起 */
.match.live { border-color: var(--line); }
.match.live.fav-on { border-color: rgba(2, 151, 222, .6); }
/* 分钟 / 中场：黄绿；完场的「完」与比分：灰白，不再用红色 */
.m-score .m-score-top.live { color: var(--orange); }
.m-score .m-score-top.finished { color: var(--muted); }
.m-score.finished .s { color: #D5D7DB; }
.detail-head .vs-state.finished { color: var(--muted); }

/* 阵容球场：深绿草皮 + 白线 + 白字，深色页面里不刺眼、名字看得清 */
.pitch-bg { fill: #1E4A2E; stroke: #2F6B43; }
.pitch-line { stroke: rgba(255, 255, 255, .38); }
.pitch-player.home circle { fill: #F3F7FC; }
.pitch-player.away circle { fill: var(--accent); }
.pitch-player .pitch-num { fill: #05090E; }
.pitch-player.away .pitch-num { fill: #FFFFFF; }
.pitch-name { fill: #F3F7FC; font-weight: 600; }

/* 详情页：比分卡片右下角的小星星收藏（2026-10-24 由大按钮改小） */
.dh-foot { display: flex; align-items: center; gap: 8px; margin-top: 7px; min-height: 28px; }
.dh-foot .state { margin-top: 0; }
.dh-actions { margin-left: auto; display: flex; align-items: center; }
.dh-fav {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 28px; padding: 0 10px; border-radius: 14px;
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  font-size: 12px; font-weight: 600;
}
.dh-fav .dh-star { font-size: 15px; line-height: 1; }
.dh-fav.on { color: var(--accent); border-color: rgba(2, 151, 222, .45); }
.admin-card .admin-sub { margin-top: 16px; }

/* 「分析」页签：联赛积分、交锋历史、近期战绩、未来三场（2026-10-24）。
   胜/赢盘/大球用荧光色，其余灰色；红色只留给红牌。 */
.an-card .an-team { display: flex; align-items: center; gap: 6px; margin: 8px 0 4px; font-size: 13px; }
.an-card .an-team:first-of-type { margin-top: 2px; }
.an-side { flex: 0 0 auto; font-size: 12px; line-height: 16px; padding: 0 4px; border-radius: 3px; border: 1px solid var(--line); color: var(--text); }
.an-side.away { color: var(--accent); border-color: var(--accent); }
.an-muted { color: var(--muted); font-weight: 400; font-size: 12px; }
.an-table { width: 100%; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
.an-table th { color: var(--muted); font-weight: 400; padding: 2px 0; text-align: center; }
.an-table td { text-align: center; padding: 3px 0; border-top: 1px dashed var(--line); }
.an-table td.an-l { text-align: left; color: var(--muted); }
.an-table td.an-pts { color: var(--accent); font-weight: 600; }
.an-sum { font-size: 12px; margin: 2px 0 4px; color: var(--text); }
.an-sum .an-w { color: var(--accent); font-weight: 600; margin-right: 3px; }
.an-sum .an-muted { margin-left: 3px; font-size: 12px; }
.an-dot { font-style: normal; color: var(--muted); margin: 0 5px; }
.an-list { font-size: 12px; }
.an-row { display: flex; align-items: center; gap: 6px; padding: 4px 0; border-top: 1px dashed var(--line); font-variant-numeric: tabular-nums; }
.an-headrow { color: var(--muted); font-size: 12px; padding: 2px 0; border-top: 0; }
.an-date { flex: 0 0 54px; line-height: 1.25; font-size: 12px; white-space: nowrap; overflow: hidden; }
.an-match { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 4px; }
.an-h, .an-a { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.an-h { text-align: right; }
.an-h.me, .an-a.me { color: var(--text); font-weight: 600; }
.an-score { flex: 0 0 auto; text-align: center; font-weight: 600; line-height: 1.15; }
.an-half { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.an-chip { flex: 0 0 26px; text-align: center; color: var(--muted); }
.an-chip.good { color: var(--accent); font-weight: 600; }
.an-headrow .an-chip { font-size: 12px; }
.an-days { flex: 0 0 auto; color: var(--muted); font-size: 12px; }
.an-foot { margin: 8px 2px 4px; font-size: 12px; color: var(--muted); text-align: center; }

/* 赛前要点（2026-10-24 代替「赛事情报」外链）：标签 + 一句话；开赛后收成一行放到最下面 */
.kp-rows { display: flex; flex-direction: column; gap: 6px; }
.kp-row { display: flex; gap: 8px; font-size: 13px; line-height: 1.55; }
.kp-label {
  flex: 0 0 40px; height: 20px; margin-top: 1px; border-radius: 4px;
  background: #24252A; color: var(--muted); font-size: 12px; text-align: center; line-height: 20px;
}
.kp-text { flex: 1 1 auto; min-width: 0; color: var(--text); }
.kp-hint { color: var(--muted); font-size: 12px; }
.kp-fold summary {
  display: flex; align-items: baseline; gap: 6px; list-style: none; cursor: pointer;
  font-size: 14px; font-weight: 600;
}
.kp-fold summary::-webkit-details-marker { display: none; }
.kp-fold summary .hint { font-weight: 400; font-size: 12px; color: var(--muted); flex: 1 1 auto; }
.kp-fold .kp-more { color: var(--muted); transition: transform .15s; }
.kp-fold[open] .kp-more { transform: rotate(90deg); }
.kp-fold[open] .kp-rows { margin-top: 8px; }

/* 后台用户列表（2026-10-24）：一人一行，点开才出操作；快到期 / 宽限中 / 已停用用颜色标出 */
.admin-stack { display: flex; flex-direction: column; gap: 8px; }
.admin-stack input, .admin-search {
  width: 100%; box-sizing: border-box; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px;
  background: #101B28; color: var(--text); font-size: 14px;
}
.admin-search { margin-bottom: 8px; }
.au-list { display: flex; flex-direction: column; }
.au-row { border-top: 1px solid var(--line); }
.au-row:first-child { border-top: 0; }
.au-row summary {
  display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; padding: 10px 2px;
  list-style: none; cursor: pointer;
}
.au-row summary::-webkit-details-marker { display: none; }
.au-main { display: flex; align-items: baseline; gap: 6px; min-width: 0; flex: 1 1 auto; }
.au-name { font-size: 14.5px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.au-acct { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.au-badge {
  flex: 0 0 auto; font-size: 12px; padding: 1px 7px; border-radius: 10px;
  border: 1px solid var(--line); color: var(--muted);
}
.au-sub { flex: 1 0 100%; font-size: 12px; color: var(--muted); }
.au-row.m-due_soon .au-badge, .au-row.m-grace .au-badge { color: #FFC95C; border-color: rgba(255, 201, 92, .5); }
.au-row.m-expired .au-badge, .au-row.is-off .au-badge { color: #FF8B8F; border-color: rgba(255, 139, 143, .5); }
.au-row.m-active .au-badge { color: var(--accent); border-color: rgba(2, 151, 222, .4); }
.au-actions { display: flex; flex-direction: column; gap: 8px; padding: 2px 2px 12px; }
.au-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.au-buttons button {
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px;
  background: #24252A; color: var(--text); font-size: 12.5px;
}
.au-buttons .admin-danger { background: #6E2A2D; border-color: #6E2A2D; color: #FFE9EA; }
.au-renew { width: 100%; padding: 10px 14px; font-size: 14px; }
.au-meta { margin: 0; }
.admin-inline button { background: #24252A; border-color: var(--line); color: var(--text); }
.admin-fold > summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 8px; }
.admin-fold > summary::-webkit-details-marker { display: none; }
.admin-fold > summary h2 { margin: 0; }
.admin-fold > summary .admin-hint { margin: 0; flex: 1 1 auto; text-align: right; }
.admin-fold[open] > summary { margin-bottom: 10px; }
.admin-backup-line { margin: 0 0 6px; font-size: 13px; color: var(--text); }
.admin-card code { font-size: 12px; color: var(--accent); overflow-wrap: anywhere; }

/* 后台「AI 战绩」（用户 2026-10-26 定）：一个大数 + 按周累计折线 + 分组明细。
   只有一条线不需要图例；数字用正文颜色，荧光绿只给线和点。 */
.ai-hero { display: flex; align-items: baseline; gap: 8px; margin: 0 0 4px; }
.ai-hero b { font-size: 28px; font-weight: 700; color: var(--text); }
.ai-hero span { font-size: 12.5px; color: var(--muted); }
.ai-chart { display: block; width: 100%; height: auto; margin: 2px 0 4px; overflow: visible; }
.ai-ref { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; opacity: .6; }
.ai-ref-label, .ai-axis { fill: var(--muted); font-size: 12px; }
.ai-line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ai-mark { fill: var(--accent); stroke: var(--card); stroke-width: 2; }
.ai-hit { fill: transparent; }
.ai-dot:hover .ai-mark { r: 5; }
.ai-last { fill: var(--text); font-size: 12px; font-weight: 600; }
.ai-weeks { margin: 0 0 4px; font-size: 12.5px; color: var(--muted); }
.ai-weeks > summary { cursor: pointer; padding: 4px 0; }
.ai-lines { display: flex; flex-direction: column; }
.ai-line-row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0;
  border-top: 1px solid var(--line); font-size: 13px; color: var(--text); }
.ai-line-row span:last-child { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.ai-group { padding: 10px 0 4px; font-size: 12px; color: var(--muted); }

/* 详情页顶部比分卡片：浅灰白底、深色字（用户 2026-10-25 定）。
   黑页面上一块亮面，一眼就是这场的主卡；荧光黄绿在浅底上看不清，
   凡是黄绿的东西都放进黑色小胶囊。只改详情页这一张，列表卡片不动。 */
.detail-head {
  background: #E4E5E8;
  color: #05090E;
  border: 1px solid #E4E5E8;
}
.detail-head .meta { color: #5A5D63; opacity: 1; }
.detail-head .meta .head-weather { color: #5A5D63; }
.detail-head .versus .t { color: #05090E; font-weight: 600; }
.detail-head .big-score { color: #05090E; }
.detail-head .vs-state.live {
  color: #FFFFFF; background: #0297DE;
  border-radius: 999px; padding: 1px 8px;
}
.detail-head .vs-state.finished,
.detail-head .vs-state.cancelled { color: #5A5D63; }
.detail-head .vs-half {
  color: #3A3C41; opacity: 1;
  background: rgba(11, 11, 12, .08); border-radius: 999px; padding: 1px 7px;
}
.detail-head .badge { background: rgba(11, 11, 12, .86); color: #F3F7FC; }
.detail-head .dh-fav { color: #3A3C41; border-color: rgba(11, 11, 12, .22); }
.detail-head .dh-fav.on { color: #FFFFFF; background: #0297DE; border-color: #0297DE; }

/* ---------- 进球提醒四件事（用户 2026-10-25 定） ---------- */
/* 「提醒 ▾」：弹窗或声音开着就是荧光底 */
.tabbar #status .alert-toggle.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.alert-menu {
  position: absolute;
  right: 10px;
  z-index: 35;
  width: 280px;
  padding: 4px 14px 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: #101B28;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .45);
  color: #F3F7FC;
}
.alert-row.alert-master {
  font-size: 17px;
  font-weight: 700;
  padding: 12px 0;
}
.alert-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}
.switch {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: none;
  width: 40px;
  height: 24px;
  margin: 0;
  border-radius: 12px;
  background: #3A3C41;
  transition: background .18s;
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #F3F7FC;
  transition: transform .18s;
}
.switch:checked { background: var(--accent); }
.switch:checked::after { transform: translateX(16px); background: #FFFFFF; }
.alert-sounds { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 10px; }
.alert-sub { flex: 1 0 100%; font-size: 12px; color: var(--muted); }
.alert-sounds button {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: #F3F7FC;
  font-size: 12.5px;
}
.alert-sounds button.on { border-color: var(--accent); color: var(--accent); }
.alert-note { margin: 10px 0 0; font-size: 13px; line-height: 1.55; color: var(--muted); }

/* 红牌提示条（方案 B 脉冲声浪胶囊）：同一个位置与弹跳展开，红色描边与光晕，红色徽章；吃红牌的一方队名变红、带小红牌 */
.goal-toast.is-red {
  border-color: rgba(239, 68, 68, .8);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .72), 0 0 24px rgba(239, 68, 68, .24);
}
.goal-toast.is-red .is-orb {
  background: radial-gradient(circle at 30% 30%, #fca5a5, #b91c1c);
  box-shadow: 0 0 14px rgba(239, 68, 68, .5);
}
.goal-toast.is-red .goal-word { background: rgba(239, 68, 68, .2); color: #fca5a5; }
.goal-toast.is-red .goal-nums i { color: #fca5a5 !important; animation: none !important; }
.goal-toast.is-red .goal-eq i { background: #ef4444; }
.goal-toast.red-home .goal-team.home,
.goal-toast.red-away .goal-team.away { color: #fca5a5; font-weight: 800; }
.goal-toast.red-home .goal-team.home::after,
.goal-toast.red-away .goal-team.away::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 11px;
  margin-left: 4px;
  border-radius: 2px;
  background: #ef4444;
  vertical-align: -1px;
}
.goal-toast.leaving.is-red,
.goal-toast.leaving.is-cancelled { animation: islandClose .26s ease-in forwards; }

/* 列表比分「A 放大版」（用户 2026-10-25 选）：进球那个数字垫荧光黄绿底块、字变黑，停在 1.25 倍，3 秒后恢复；
   刚进的那一下旧数字往上滚走、新数字从下面滚上来，先放大到 1.6 倍，外圈亮两下。 */
.m-score .s.score-hit {
  position: relative;
  z-index: 1;
  display: inline-block;
  min-width: 1.1em;
  height: 1.3em;
  line-height: 1.3em;
  padding: 0 3px;
  border-radius: 5px;
  background: var(--accent);
  color: var(--accent-ink) !important;
  text-align: center;
  transform: scale(1.25);
}
.m-score .s.score-hit.roll {
  overflow: hidden;
  animation: scoreBigPop .6s cubic-bezier(.2, 1.4, .4, 1) both, scoreRing .9s ease-out .2s 2;
}
.m-score .s.score-hit .roll-old,
.m-score .s.score-hit .roll-new { display: block; }
.m-score .s.score-hit .roll-old { position: absolute; left: 0; right: 0; top: 0; animation: scoreRollOut .45s ease-in forwards; }
.m-score .s.score-hit .roll-new { animation: scoreRollIn .45s cubic-bezier(.2, .9, .3, 1.2) both; }
@keyframes scoreBigPop {
  0% { transform: scale(1); }
  30% { transform: scale(1.6); }
  55%, 100% { transform: scale(1.25); }
}
@keyframes scoreRing {
  from { box-shadow: 0 0 0 0 rgba(2, 151, 222, .85); }
  to { box-shadow: 0 0 0 10px rgba(2, 151, 222, 0); }
}
@keyframes scoreRollOut { to { transform: translateY(-100%); opacity: 0; } }
@keyframes scoreRollIn { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }

/* 登录 / 开通页里的协议链接，以及 /terms、/privacy 正文 */
.cl-terms a,
.cl-agree a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cl-terms a:focus-visible,
.cl-agree a:focus-visible,
.legal-body a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.legal-body {
  min-height: 100vh;
  background: #05090E;
  padding: calc(28px + env(safe-area-inset-top)) 20px calc(48px + env(safe-area-inset-bottom));
}
.legal-body main { max-width: 640px; margin: 0 auto; padding: 0; }
.legal-back {
  display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 8px; padding: 0; border: 0; background: none;
  color: var(--accent); font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.legal-brand {
  margin: 0 0 8px; font-size: 13px; letter-spacing: 1px;
  color: var(--accent); font-weight: 700;
}
.legal-body h1 {
  margin: 0 0 8px; font-size: 30px; line-height: 1.25; font-weight: 800;
}
.legal-meta { margin: 0 0 14px; font-size: 13px; color: #85878C; }
.legal-note {
  margin: 0 0 18px; padding: 12px 14px; border-radius: 12px;
  background: #101B28; border: 1px solid #23374D;
  color: #D5D7DB; font-size: 14px; line-height: 1.7;
}
.legal-switch { display: flex; gap: 18px; margin: 0 0 4px; font-size: 14px; }
.legal-switch a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-switch a[aria-current="page"] { font-weight: 700; }
.legal-body h2 { margin: 28px 0 8px; font-size: 18px; line-height: 1.4; font-weight: 700; }
.legal-body p,
.legal-body li {
  margin: 0 0 12px; font-size: 15.5px; line-height: 1.75; color: #E6E7EA;
}
.legal-body ul { margin: 0 0 12px; padding-left: 1.25em; }
.legal-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-foot {
  margin-top: 32px; padding-top: 16px; border-top: 1px solid #23374D;
}
.legal-foot p { color: #A3A5AA; font-size: 13.5px; }

/* ---------------- 滚球积分体验（2026-11-02） ----------------
   复用市场风向那套卡片样式，只补几块：延迟说明、暂停条、我的单、副标题。 */
.live-card .live-note {
  margin: 6px 0 0; font-size: 12px; line-height: 1.55; color: #9A9CA2;
}
.live-card .live-pause {
  margin: 10px 0 0; padding: 8px 10px; border-radius: 10px;
  background: rgba(255, 179, 122, .08); border: 1px solid rgba(255, 179, 122, .28);
  color: #FFB37A; font-size: 12px; line-height: 1.5;
}
.live-card .live-market .ms-meta-l { color: #C9CBCF; font-size: 12px; }
.live-opt[disabled] { opacity: .5; }
.live-card .live-sub {
  margin: 16px 0 6px; padding-top: 12px; border-top: 1px solid #23374D;
  font-size: 13px; font-weight: 700; color: #E6E7EA;
}
.live-orders { display: flex; flex-direction: column; gap: 8px; }
.live-order {
  padding: 8px 10px; border-radius: 10px;
  background: #101B28; border: 1px solid #23374D;
}
.live-order-t {
  display: flex; align-items: baseline; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: #E6E7EA;
}
.live-order-side {
  padding: 0 6px; border-radius: 6px; font-size: 12px; font-weight: 600;
  color: var(--accent); background: rgba(2, 151, 222, .1);
}
.live-order-m {
  margin-top: 3px; font-size: 12px; line-height: 1.5; color: #8A8D93;
  font-variant-numeric: tabular-nums;
}

/* ==================== 滚球积分余额条 ==================== */
.points-balance-bar {
  --accent: #FF9E2C;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin: 0 0 8px;
  border-radius: 12px;
  background: #101B28;
  border: 1px solid #23374D;
  font-size: 13px;
}
.points-balance-bar .pb-label {
  color: var(--muted);
  font-weight: 600;
}
.points-balance-bar .pb-balance {
  color: var(--accent);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.points-balance-bar .pb-link {
  margin-left: auto;
  color: var(--accent);
  text-decoration: none;
  font-size: 13px;
}

/* ==================== 底部导航栏 ==================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  background: #05090E;
  border-top: 1px solid #23374D;
  padding-bottom: env(safe-area-inset-bottom, 0);
  max-width: 520px;
  margin: 0 auto;
}
.bn-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 0 8px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}
.bn-item svg {
  width: 22px;
  height: 22px;
}
.bn-item.bn-active {
  color: var(--accent);
}
.bn-item.bn-active svg {
  stroke: var(--accent);
}

/* 底部导航出现后 main 需要留底边距 */
main {
  padding-bottom: 64px;
}

/* ==================== 我的积分 panel ==================== */
#panelPoints {
  --accent: #FF9E2C;
  padding: 0 10px 80px;
}
.points-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0 8px;
}
.points-panel-head .back {
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 15px;
  padding: 4px 0;
  cursor: pointer;
}
.points-panel-title {
  font-size: 17px;
  font-weight: 600;
}
.pp-balance-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px 16px;
  margin: 8px 0;
  border-radius: 14px;
  background: #101B28;
  border: 1px solid #23374D;
}
.pp-balance-label {
  font-size: 14px;
  color: var(--muted);
}
.pp-balance-value {
  font-size: 42px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  margin: 4px 0;
}
.pp-balance-note {
  font-size: 12px;
  color: #93A8BE;
}
.pp-checkin-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.pp-checkin-row span { color: #8B8C92; font-size: 12px; }
.pp-checkin {
  border: 0; border-radius: 999px; padding: 8px 16px;
  color: #141414; background: var(--accent); font-weight: 700; cursor: pointer;
}
.pp-checkin:disabled { opacity: .55; cursor: default; }
.pp-honor-row { display:flex; align-items:center; gap:10px; padding:12px; border:1px solid #272D38; border-radius:12px; background:#151922; }
.pp-honor-crown { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:#33280D; font-size:17px; }
.pp-honor-row b { display:block; color:#E8EAF0; font-size:14px; }
.pp-honor-row small { display:block; margin-top:3px; color:#8992A0; font-size:12px; }
.pp-honor-row strong { margin-left:auto; color:#27C980; font-size:13px; white-space:nowrap; }
.roi-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.roi-switch { display:flex; padding:3px; border-radius:999px; background:#0E1117; }
.roi-switch button { border:0; border-radius:999px; padding:7px 12px; color:#8992A0; background:transparent; font-weight:600; }
.roi-switch button.on { color:#171717; background:#0297DE; }
.roi-row.is-first { border-color:#23374D; }
.roi-row.is-first .roi-rank { background:#0297DE; color:#171717; }
.roi-title-badge { display:inline-flex; margin-left:8px; padding:3px 8px; border-radius:999px; color:#191919; background:#D99100; font-size: 12px; }
.roi-row .roi-name small, .roi-row .roi-val small { display:block; margin-top:4px; color:#93A8BE; font-size:12px; }
.roi-row.roi-placeholder { opacity:.78; }
.pp-stats {
  display: flex;
  gap: 10px;
  margin: 8px 0;
}
.pp-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  border-radius: 12px;
  background: #101B28;
  border: 1px solid #23374D;
}
.pp-stat-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.pp-stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.pp-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 2px 6px;
}
.pp-history-title {
  font-size: 15px;
  font-weight: 600;
}
.pp-history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pp-season-select { width:100%; padding:10px; border:1px solid #344052; border-radius:10px; color:inherit; background:#171d27; }
.v6-index { display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; margin-right:8px; border-radius:6px; background:rgba(255,180,0,.2); color:#ffb400; font-weight:700; font-size:14px; }
.v6-season { padding:14px; font-size:13px; }
.v6-season-rules { display:flex; gap:8px; margin-top:10px; }
.v6-season-rules span { flex:1; padding:7px; text-align:center; border:1px solid #62312e; border-radius:8px; color:#ff9c8e; background:rgba(95,35,30,.18); }
.v6-season p { margin:10px 0 0; color:var(--muted); font-size:12px; }
.v6-detail-honors { margin-top:12px; padding-top:10px; border-top:1px solid var(--line); font-size:13px; }
.v6-detail-honors p { margin:7px 0 0; color:var(--muted); font-size:12px; }
.ps-custom { display:flex; align-items:center; gap:10px; margin:10px 0; font-size:13px; color:var(--muted); }
.ps-custom input { min-width:0; flex:1; padding:9px 10px; border:1px solid var(--line); border-radius:8px; background:#162434; color:var(--text); font-size:16px; }
.pp-season-entry { display:flex; justify-content:space-between; gap:12px; padding:10px 0; border-bottom:1px solid #303844; font-size:13px; }
.pp-season-entry span { color:#aab3c1; }
.pp-history-list details { padding:8px 0; }
/* 积分记录卡片 */
.ph-card {
  padding: 12px 14px;
  border-radius: 12px;
  background: #101B28;
  border: 1px solid #23374D;
}
.ph-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.ph-league {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}
.ph-league-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.ph-minute {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}
.ph-match {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 2px 0;
}
.ph-market-type {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.ph-pick {
  padding: 10px 12px;
  border-radius: 10px;
  background: #111214;
  border: 1px solid #23374D;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.ph-pick .ph-odds {
  color: var(--accent);
}
.ph-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ph-stake-label, .ph-result-label {
  font-size: 12px;
  color: var(--muted);
}
.ph-stake-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.ph-result-value {
  font-size: 14px;
  font-weight: 600;
}
.ph-result-value.win {
  color: var(--accent);
}
.ph-result-value.lose {
  color: #8A8D93;
}
.ph-result-value.pending {
  color: var(--accent);
}
.ph-order-no {
  text-align: center;
  font-size: 12px;
  color: #93A8BE;
  margin-top: 6px;
}
.ph-status-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
}

/* ==================== 积分单底部弹出层 ==================== */
.points-sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.points-sheet-overlay[hidden] {
  display: none !important;
}
.points-sheet {
  --accent: #FF9E2C;
  width: 100%;
  max-width: 520px;
  background: #101B28;
  border-radius: 20px 20px 0 0;
  padding: 0 16px 24px;
  animation: sheetSlideUp 0.25s ease-out;
}
@keyframes sheetSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.ps-handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: #3A3B3E;
  margin: 10px auto 12px;
}
.ps-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.ps-title {
  font-size: 16px;
  font-weight: 700;
}
.ps-balance {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}
.ps-body {
  margin-bottom: 16px;
}
.ps-league-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}
.ps-match-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2px;
}
.ps-match-name {
  font-size: 17px;
  font-weight: 700;
}
.ps-minute {
  font-size: 17px;
  font-weight: 700;
  color: var(--accent);
}
.ps-market-info {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
.ps-pick-box {
  padding: 14px 16px;
  border-radius: 12px;
  background: #111214;
  border: 1px solid #23374D;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}
.ps-pick-box .ps-pick-odds {
  color: var(--accent);
}
.ps-amounts {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}
.ps-amount-label {
  font-size: 12px;
  color: var(--muted);
}
.ps-amount-value {
  font-size: 18px;
  font-weight: 700;
}
.ps-amount-value.highlight {
  color: var(--accent);
}
.ps-footer {
  display: flex;
  gap: 10px;
}
.ps-footer button {
  flex: 1;
  padding: 12px 0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid #23374D;
  cursor: pointer;
}
.ps-cancel {
  background: transparent;
  color: var(--text);
}
.ps-confirm {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

/* 积分单内的小字提示 */
.ps-tip {
  text-align: center;
  font-size: 12px;
  color: #93A8BE;
  margin: 8px 0 0;
}

/* ==================== 成功凭证 ==================== */
.pr-success-icon {
  text-align: center;
  margin: 8px 0 4px;
}
.pr-title {
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 2px;
}
.pr-order-no {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}
.pr-note {
  text-align: center;
  font-size: 12px;
  color: #93A8BE;
  margin: 8px 0 12px;
}

/* ==================== 进入积分竞猜按钮 ==================== */
.points-enter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 0;
  margin-top: 8px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}
.points-enter-btn .peb-sub {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.7;
}
.points-playable-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 600;
}

/* ==================== 滚球积分（2026-11-03 返工） ==================== */

/* 积分板块整体用橘黄色，跟全站荧光绿区分开 */
#panelPoints, #pointsSheetOverlay, #pointsReceiptOverlay, #pointsChangeOverlay,
#pointsBalanceBar, .points-balance-bar {
  --accent: #FF9E2C;
  --accent-ink: #0B1118;
}

/* 详情页积分页签：激活按钮 + 内容区用暖琥珀橙 */
#detail[data-tab="points"] #dtabBody { --accent: #FF9E2C; --accent-ink: #0B1118; }
#detail .dtabs button[data-dtab="points"].on {
  background: #FF9E2C;
  border-color: #FF9E2C;
  color: #0B1118;
}
/* 底部导航「我的积分」激活时也用暖琥珀橙 */
.bn-item[data-btab="points"].bn-active { color: #FF9E2C; }

/* 余额条 */
.points-balance-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; margin-bottom: 8px;
  background: #101B28; border-radius: 12px; border: 1px solid #23374D;
}
.pb-label { font-size: 13px; color: var(--muted); white-space: nowrap; }
.pb-balance { font-size: 14px; font-weight: 700; color: var(--accent); flex: 1; }
.pb-playable { font-size: 12px; color: var(--accent); text-decoration: none; white-space: nowrap; margin-right: 8px; opacity: 0.85; }
.pb-playable:active { opacity: 0.7; }
.pb-link { font-size: 13px; color: var(--accent); text-decoration: none; white-space: nowrap; }
.pb-link:active { opacity: 0.7; }

/* 我的积分 panel */
#panelPoints {
  padding: 0 10px 100px;
}
.points-panel-head {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 4px 10px;
}
.points-panel-head .back {
  background: none; border: none; color: var(--accent);
  font-size: 15px; padding: 4px 0; cursor: pointer;
}
.points-panel-title {
  font-size: 17px; font-weight: 700; color: var(--text);
}

/* 当前积分卡片 */
.pp-balance-card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 20px 16px; margin-bottom: 12px;
  background: #101B28; border-radius: 14px; border: 1px solid #23374D;
}
.pp-balance-label { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.pp-balance-value { font-size: 42px; font-weight: 800; color: var(--accent); line-height: 1.1; }
.pp-balance-note { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* 三格统计 */
.pp-stats {
  display: flex; gap: 10px; margin-bottom: 16px;
}
.pp-stat {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  padding: 14px 8px; background: #101B28; border-radius: 12px; border: 1px solid #23374D;
}
.pp-stat-num { font-size: 22px; font-weight: 800; color: var(--text); }
.pp-stat-label { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* 积分记录标题 */
.pp-history-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4px; margin-bottom: 8px;
}
.pp-history-title { font-size: 15px; font-weight: 700; color: var(--text); }

/* 积分记录列表 */
.pp-history-list { display: flex; flex-direction: column; gap: 10px; }
.ph-item {
  padding: 12px 14px; background: #101B28; border-radius: 12px; border: 1px solid #23374D;
}
.ph-league { font-size: 12px; color: var(--accent); margin-bottom: 2px; }
.ph-match-row { display: flex; align-items: baseline; justify-content: space-between; }
.ph-match { font-size: 15px; font-weight: 700; color: var(--text); }
.ph-minute { font-size: 13px; font-weight: 600; color: var(--accent); }
.ph-market { font-size: 12px; color: var(--muted); margin-top: 1px; }
.ph-pick {
  margin-top: 8px; padding: 8px 10px; border-radius: 8px;
  background: #162434; border: 1px solid #23374D;
  font-size: 15px; font-weight: 700; color: var(--text); text-align: center;
}
.ph-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 8px;
}
.ph-stake-label { font-size: 12px; color: var(--muted); }
.ph-stake-value { font-size: 14px; font-weight: 700; color: var(--text); }
.ph-result { font-size: 13px; font-weight: 600; }
.ph-result.win { color: var(--accent); }
.ph-result.lose { color: var(--muted); }
.ph-result.pending { color: var(--accent); }
.ph-order-no { font-size: 12px; color: var(--muted); text-align: center; margin-top: 4px; }

/* 积分单底部弹出层 */
.points-sheet-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.55);
  display: flex; align-items: flex-end; justify-content: center;
}
.points-sheet {
  width: 100%; max-width: 520px;
  background: #101B28; border-radius: 18px 18px 0 0;
  padding: 0 16px 24px;
  animation: sheetSlideUp 0.25s ease-out;
}
@keyframes sheetSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.ps-handle {
  width: 36px; height: 4px; border-radius: 2px;
  background: #3A3B3E; margin: 10px auto 14px;
}
.ps-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.ps-title { font-size: 16px; font-weight: 700; color: var(--text); }
.ps-balance { font-size: 13px; color: var(--accent); }
.ps-body { margin-bottom: 16px; }
.ps-league {
  display: inline-block; padding: 2px 8px; border-radius: 4px;
  background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700;
  margin-bottom: 6px;
}
.ps-match-row {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 2px;
}
.ps-match { font-size: 18px; font-weight: 800; color: var(--text); }
.ps-minute { font-size: 16px; font-weight: 700; color: var(--accent); }
.ps-market { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.ps-pick {
  padding: 14px 10px; border-radius: 10px;
  background: #162434; border: 1px solid #23374D;
  font-size: 20px; font-weight: 800; color: var(--text); text-align: center;
  margin-bottom: 14px;
}
.ps-pick .ps-pick-odds { color: var(--accent); }
.ps-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 8px;
}
.ps-row-label { font-size: 13px; color: var(--muted); }
.ps-row-value { font-size: 18px; font-weight: 800; color: var(--text); }
.ps-row-value.highlight { color: var(--accent); }
.ps-note {
  text-align: center; font-size: 12px; color: var(--muted);
  margin-bottom: 14px;
}
.ps-footer {
  display: flex; gap: 10px;
}
.ps-cancel, .ps-confirm {
  flex: 1; padding: 11px 0; border-radius: 12px; border: none;
  font-size: 15px; font-weight: 700; cursor: pointer;
  transition: all .45s ease;
}
.ps-cancel {
  background: #23374D; color: var(--text);
}
.ps-confirm {
  background: var(--accent); color: var(--accent-ink);
}
.ps-cancel:active { opacity: 0.7; }
.ps-confirm:active { opacity: 0.8; }

/* 成功凭证 */
.pr-success-icon { text-align: center; margin: 8px 0 6px; }
.pr-title {
  text-align: center; font-size: 18px; font-weight: 800; color: var(--text);
  margin-bottom: 2px;
}
.pr-order-no {
  text-align: center; font-size: 12px; color: var(--muted);
  margin-bottom: 14px;
}
.pr-note {
  text-align: center; font-size: 12px; color: var(--muted);
  margin-bottom: 14px;
}

/* 底部导航 */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  display: flex; max-width: 520px; margin: 0 auto;
  background: #05090E; border-top: 1px solid #23374D;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.bn-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  padding: 6px 0 4px; border: none; background: none;
  color: var(--muted); cursor: pointer; gap: 2px;
}
.bn-item svg { width: 22px; height: 22px; }
.bn-item span { font-size: 12px; }
.bn-item.bn-active { color: var(--accent); }
.bn-item.bn-active svg { stroke: var(--accent); }

/* ==================== 滚球积分（2026-11-03 返工） ==================== */

/* 余额条 */
.points-balance-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin: 0 0 8px;
  background: #131416;
  border-radius: 12px;
  border: 1px solid #23374D;
  font-size: 13px;
}
.pb-label {
  color: #8A8D93;
  font-weight: 500;
}
.pb-balance {
  color: var(--accent);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.pb-link {
  margin-left: auto;
  color: var(--accent);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

/* 底部导航栏 */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 6px 0 10px;
  background: #05090E;
  border-top: 1px solid #162434;
  z-index: 100;
  max-width: 520px;
  margin: 0 auto;
}
.bn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  color: #93A8BE;
  font-size: 12px;
  cursor: pointer;
  padding: 2px 8px;
}
.bn-item svg {
  width: 22px;
  height: 22px;
}
.bn-item.bn-active {
  color: #0297DE;
}
.bn-item span {
  font-weight: 500;
}

/* 我的积分 panel */
#panelPoints {
  padding: 0 0 80px;
  min-height: 100vh;
  background: #05090E;
}
.points-panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #162434;
}
.points-panel-head .back {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 15px;
  cursor: pointer;
  padding: 0;
}
.points-panel-title {
  font-size: 17px;
  font-weight: 700;
  color: #E6E7EA;
}
.points-panel-body {
  padding: 16px 14px;
}

/* 当前积分卡片 */
.pp-balance-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 20px 16px;
  background: #131416;
  border-radius: 14px;
  border: 1px solid #23374D;
  margin-bottom: 16px;
}
.pp-balance-label {
  font-size: 14px;
  color: #8A8D93;
}
.pp-balance-value {
  font-size: 42px;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.pp-balance-note {
  font-size: 12px;
  color: #93A8BE;
  margin-top: 4px;
}

/* 三格统计 */
.pp-stats {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.pp-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 8px;
  background: #131416;
  border-radius: 12px;
  border: 1px solid #23374D;
}
.pp-stat-num {
  font-size: 24px;
  font-weight: 800;
  color: #E6E7EA;
  font-variant-numeric: tabular-nums;
}
.pp-stat-label {
  font-size: 12px;
  color: #93A8BE;
}

/* 积分记录标题 */
.pp-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.pp-history-title {
  font-size: 15px;
  font-weight: 700;
  color: #E6E7EA;
}

/* 积分记录列表 */
.pp-history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pp-order-card {
  padding: 12px 14px;
  background: #131416;
  border-radius: 12px;
  border: 1px solid #23374D;
}
.pp-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.pp-order-league {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}
.pp-order-league .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.pp-order-minute {
  font-size: 12px;
  color: #93A8BE;
  font-variant-numeric: tabular-nums;
}
.pp-order-match {
  font-size: 15px;
  font-weight: 700;
  color: #E6E7EA;
  margin-bottom: 2px;
}
.pp-order-market {
  font-size: 12px;
  color: #8A8D93;
  margin-bottom: 8px;
}
.pp-order-pick {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: #1A1B1E;
  border-radius: 10px;
  border: 1px solid #23374D;
  font-size: 16px;
  font-weight: 700;
  color: #E6E7EA;
  margin-bottom: 10px;
}
.pp-order-pick .odds {
  color: var(--accent);
  margin-left: 4px;
}
.pp-order-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.pp-order-stake-label,
.pp-order-result-label {
  font-size: 12px;
  color: #93A8BE;
  margin-bottom: 2px;
}
.pp-order-stake {
  font-size: 16px;
  font-weight: 700;
  color: #E6E7EA;
}
.pp-order-result {
  font-size: 16px;
  font-weight: 700;
}
.pp-order-result.win {
  color: var(--accent);
}
.pp-order-result.lose {
  color: #8A8D93;
}
.pp-order-result.pending {
  color: var(--accent);
}
.pp-order-no {
  text-align: center;
  font-size: 12px;
  color: #93A8BE;
  margin-top: 6px;
}

/* 积分单底部弹出层 */
.points-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.points-sheet-overlay[hidden] {
  display: none;
}
.points-sheet {
  width: 100%;
  max-width: 520px;
  background: #131416;
  border-radius: 20px 20px 0 0;
  padding: 0 16px 20px;
  animation: slideUp 0.25s ease-out;
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.ps-handle {
  width: 36px;
  height: 4px;
  background: #3A3B3E;
  border-radius: 2px;
  margin: 10px auto 14px;
}
.ps-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.ps-title {
  font-size: 17px;
  font-weight: 700;
  color: #E6E7EA;
}
.ps-balance {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}
.ps-body {
  margin-bottom: 16px;
}
.ps-league-tag {
  display: inline-block;
  padding: 3px 8px;
  background: rgba(255, 149, 0, 0.15);
  color: var(--accent);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}
.ps-match-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.ps-match-name {
  font-size: 18px;
  font-weight: 700;
  color: #E6E7EA;
}
.ps-match-minute {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.ps-market-type {
  font-size: 12px;
  color: #8A8D93;
  margin-bottom: 12px;
}
.ps-pick-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: #1A1B1E;
  border-radius: 12px;
  border: 1px solid #23374D;
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 700;
  color: #E6E7EA;
}
.ps-pick-box .odds {
  color: var(--accent);
  margin-left: 6px;
}
.ps-amount-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}
.ps-amount-label {
  font-size: 12px;
  color: #8A8D93;
}
.ps-amount-value {
  font-size: 20px;
  font-weight: 700;
  color: #E6E7EA;
}
.ps-amount-value.highlight {
  color: var(--accent);
}
.ps-disclaimer {
  text-align: center;
  font-size: 12px;
  color: #93A8BE;
  margin: 12px 0 16px;
}
.ps-footer {
  display: flex;
  gap: 10px;
}
.ps-cancel {
  flex: 1;
  padding: 11px;
  background: #1A1B1E;
  border: 1px solid #23374D;
  border-radius: 12px;
  color: #E6E7EA;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.ps-confirm {
  flex: 1.5;
  padding: 11px;
  background: var(--accent);
  border: none;
  border-radius: 12px;
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all .45s ease;
}

/* 成功凭证 */
.pr-success-icon {
  text-align: center;
  margin: 10px 0 12px;
}
.pr-title {
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: #E6E7EA;
  margin-bottom: 4px;
}
.pr-order-no {
  text-align: center;
  font-size: 12px;
  color: #8A8D93;
  margin-bottom: 16px;
}
.pr-note {
  text-align: center;
  font-size: 12px;
  color: #93A8BE;
  margin: 12px 0 16px;
}

/* 进入积分竞猜按钮 */
.points-enter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  background: var(--accent);
  border: none;
  border-radius: 12px;
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.points-enter-btn .hint {
  font-size: 12px;
  font-weight: 500;
  color: #3A3B00;
}

/* 积分可玩标签 */
.points-playable-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: rgba(255, 149, 0, 0.15);
  color: var(--accent);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

/* 给 main 加底部 padding 避免被底部导航遮挡 */
main {
  padding-bottom: 70px;
}

/* ============================================================
   详情页「积分」页签（2026-11-03 返工：由列表弹单改为详情独立页签）
   煤黑 + 荧光黄绿，卡片沿用 .card；这里的类名统一以 dp-/dpc-/pc- 开头，
   避免与旧积分列表样式互相覆盖。
   ============================================================ */

/* 退出旧列表弹单的入口按钮：加高到 44px，满足点按尺寸 */
.points-enter-btn {
  min-height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
}

/* 详情页 5 个页签（赛况/积分/分析/阵容/文字直播）在 390 宽下不换行 */
.dtabs button {
  font-size: 14px;
  padding: 0 2px;
  white-space: nowrap;
  letter-spacing: 0;
}

/* ---------------- 第 3 段：滚球竞猜总卡 ---------------- */
#detail .dp-live-shell { padding: 12px 14px; }
.dp-head-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.dp-head-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.dp-balance {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.dp-balance b {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  margin: 0 2px 0 4px;
}
.dp-balance i { font-style: normal; font-size: 12px; color: var(--muted); }
.dp-rule {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.dp-limit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 8px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 159, 10, .22);
  border-radius: 9px;
  background: rgba(255, 159, 10, .06);
  font-size: 12px;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}
.dp-limit b { color: var(--accent); font-weight: 700; }
.dp-limit span { color: var(--muted); }
.dp-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.4;
}
.dp-delay {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--muted);
}
.dp-status-text {
  flex: 0 0 auto;
  font-weight: 600;
  white-space: nowrap;
}
.dp-status-text.ok { color: var(--accent); }
.dp-status-text.off { color: #FFB37A; }
.dp-trust,
.dp-notice {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.dp-trust::before { content: "· "; }

/* ---------------- 未登录 / 加载失败 ---------------- */
#detail .dp-login { padding: 18px 14px; text-align: center; }
.dp-login-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.dp-login-note {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.dp-main-btn {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

/* ---------------- 总卡内的各类盘口 ---------------- */
.dp-market-list { margin-top: 10px; }
.dp-market {
  padding: 10px 0 0;
  border-top: 1px solid var(--line);
}
.dp-market + .dp-market { margin-top: 10px; }
.dp-market-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.dp-market-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.dp-market-updated {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.dp-market-line {
  margin: 4px 0 10px;
  font-size: 12px;
  color: var(--muted);
}
.dp-market-title .dp-market-period {
  margin-left: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #93A8BE;
}
.dp-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.dp-choices.is-triplet { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dp-choice {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-height: 56px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #162434;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.dp-choices.is-triplet .dp-choice { min-width: 0; padding: 9px 6px; align-items: center; text-align: center; }
.dp-choices.is-triplet .dpc-top { min-width: 0; justify-content: center; }
.dp-choices.is-triplet .dpc-name { font-size: 12px; }
.dp-choices.is-triplet .dpc-bottom { gap: 3px; justify-content: center; }
.dp-choices.is-triplet .dpc-line { font-size: 13px; }
.dp-choices.is-triplet .dpc-odds { font-size: 15px; }
.dp-choices.is-triplet .dpc-odds.is-muted { font-size: 12px; }
.dp-choice.selected {
  border-color: var(--accent);
  background: rgba(255, 149, 0, .10);
}
.dp-choice.is-closed,
.dp-choice[disabled] {
  opacity: .42;
  cursor: not-allowed;
}
.dpc-top {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.dpc-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
}
.dp-choice.selected .dpc-name::before { content: "✓ "; color: var(--accent); }
.dpc-tag {
  flex: 0 0 auto;
  padding: 0 4px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
  color: var(--muted);
}
.dpc-bottom {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 6px;
}
.dpc-line {
  font-size: 18px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.dpc-odds {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.dpc-odds.is-muted {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.dp-market-reason {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #FFB37A;
}
@media (max-width: 360px) {
  .dp-choices.is-triplet .dpc-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 1px;
  }
}
.dp-hint {
  margin: 10px 2px 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

/* ---------------- 本场记录 ---------------- */
#detail .dp-records { padding: 12px 14px; }
.dp-records-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.dp-records-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.dp-records-link {
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.dp-records-empty {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.dp-rec-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 9px;
}
.dp-rec {
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #131416;
}
.dp-rec-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.dp-rec-no { font-variant-numeric: tabular-nums; }
.dp-rec-state { font-weight: 700; white-space: nowrap; }
.dp-rec-state.win { color: var(--accent); }
.dp-rec-state.lose { color: var(--red); }
.dp-rec-state.flat { color: #C9CBCF; }
.dp-rec-state.pending { color: #FFB37A; }
.dp-rec-mid {
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
}
.dp-rec-odds { margin-left: 4px; color: var(--accent); }
.dp-rec-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 5px;
  font-size: 12px;
  color: var(--muted);
}

/* ---------------- 底部积分单补充排版 ---------------- */
.ps-amount-right { text-align: right; }
.pr-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}
.pr-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}
.pr-row b { color: var(--text); font-weight: 700; }
.ph-result {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.ph-result-refund { font-size: 12px; color: var(--muted); }

/* ---------------- 「价格已变化，需重新确认」提示层 ---------------- */
#pointsChangeOverlay .points-sheet { padding-bottom: 20px; }
.pc-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0 6px;
}
.pc-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FFB37A;
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 800;
}
.pc-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #162434;
  font-size: 13px;
}
.pc-label {
  flex: 0 0 auto;
  width: 52px;
  font-size: 12px;
  color: var(--muted);
}
.pc-before {
  color: #C9CBCF;
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}
.pc-arrow { color: var(--muted); }
.pc-after {
  margin-left: auto;
  color: var(--accent);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.pc-picked {
  margin: 2px 0 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.pc-none {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
}
.pc-tip {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

/* ==================================================================
   滚球积分 / 赛前观点 收口（2026-11-04）
   - 列表卡片：标签与按钮由 /api/points/playable 的 state 驱动，四态配色
   - 列表：赛前观点默认收成一句「发表观点」，点开才四个选项
   - 我的比赛：待结算积分（.tk-*）
   - 我的积分：成绩小结（.pp-sum-*）+ 可展开记录（.pp-rec-*）
   数值沿用 V1.1：主按钮 ≥44px、正文 ≥12px、时间数字 tabular-nums。
   ================================================================== */

/* ---------- 卡片：积分标签四态 ---------- */
.points-playable-tag {
  flex: none;
  white-space: nowrap;
  max-width: 5.6em;
  overflow: hidden;
  text-overflow: ellipsis;
}
.points-playable-tag.on {
  background: rgba(255, 149, 0, .16);
  color: var(--accent);
}
.points-playable-tag.off {
  background: rgba(255, 255, 255, .07);
  color: #9A9DA3;
}
.points-playable-tag.wait {
  background: rgba(255, 255, 255, .07);
  color: #C9CCD1;
}
.points-playable-tag.warn {
  background: rgba(255, 195, 60, .14);
  color: #FFC83C;
}

/* ---------- 卡片：积分按钮（≥44px 可点高度，禁用态明显但不刺眼） ---------- */
.points-enter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  line-height: 1.3;
  text-align: center;
}
.points-enter-btn .peb-sub {
  font-size: 12px;
  font-weight: 400;
  opacity: .72;
}
.points-enter-btn.is-off {
  background: #162434;
  border-color: var(--line);
  color: #C9CCD1;
  box-shadow: none;
  cursor: pointer;
}
.points-enter-btn:disabled .peb-sub { opacity: .5; }
.points-enter-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- 卡片：赛前观点（默认收起的轻入口） ---------- */
.m-vote.is-collapsed .vote-head { margin-bottom: 0; }
.vote-open {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  padding: 9px 12px;
  border: 1px dashed rgba(255, 149, 0, .38);
  border-radius: 8px;
  background: transparent;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.vote-open:active { background: rgba(255, 149, 0, .08); }
.vote-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.m-vote.is-collapsed .vote-sum { white-space: normal; }

/* ---------- 详情页：游客余额、为什么不能确认（折叠） ---------- */
.dp-balance.is-guest {
  color: var(--muted);
  font-weight: 500;
}
.dp-why {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.dp-why summary {
  min-height: 32px;
  display: flex;
  align-items: center;
  color: #9A9DA3;
  cursor: pointer;
}
.dp-why summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dp-why p {
  margin: 2px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.dp-records-empty { overflow-wrap: anywhere; }

/* ---------- 我的比赛：待结算积分 ---------- */
.tk-block {
  --accent: #FF9E2C;
  margin: 0 0 10px;
  padding: 10px 12px 4px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.tk-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.tk-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.tk-sub {
  min-width: 0;
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.tk-list { display: flex; flex-direction: column; }
.tk-item {
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.tk-item:first-child { border-top: 0; }
.tk-main {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 9px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.tk-main:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.tk-l1, .tk-l2, .tk-l3, .tk-l4 {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.tk-l1 { font-size: 12px; color: var(--muted); }
.tk-league { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-time {
  flex: none;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  font-weight: 600;
}
.tk-l2 {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 700;
}
.tk-l3 {
  margin-top: 2px;
  font-size: 12px;
  color: #C9CCD1;
}
.tk-l4 { margin-top: 4px; font-size: 12px; color: var(--muted); }
.tk-state {
  flex: none;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, .07);
  color: #C9CCD1;
}
.tk-state.pending { background: rgba(255, 149, 0, .14); color: var(--accent); }
.tk-state.win { background: rgba(255, 149, 0, .14); color: var(--accent); }
.tk-state.lose { background: rgba(255, 90, 95, .14); color: #F07171; }
.tk-state.flat { background: rgba(255, 255, 255, .09); color: #C9CCD1; }
.tk-count { flex: none; color: #9A9DA3; }
.tk-more { margin-left: auto; flex: none; color: #9A9DA3; }
.tk-drawer {
  padding: 0 0 10px 10px;
  border-left: 2px solid rgba(255, 149, 0, .3);
  margin: 0 0 10px 2px;
}
.tk-order {
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.tk-loading, .tk-empty {
  padding: 10px 0 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  overflow-wrap: anywhere;
}

/* ---------- 我的积分：成绩小结 ---------- */
.pp-summary {
  margin: 0 0 10px;
  padding: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.pp-sum-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.pp-sum-title { font-size: 14px; font-weight: 700; color: var(--text); }
.pp-sum-balance {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.pp-sum-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.pp-sum-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .035);
}
.pp-sum-k { font-size: 12px; color: var(--muted); }
.pp-sum-v {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.pp-sum-v.win { color: var(--accent); }
.pp-sum-v.lose { color: #F07171; }
.pp-sum-sub { font-size: 12px; color: #8B8E94; overflow-wrap: anywhere; }
.pp-sum-foot {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #8B8E94;
}
.pp-skeleton {
  padding: 12px 2px;
  font-size: 12.5px;
  color: var(--muted);
}

/* 出错态给出口（2026-11-04）：一句人话 + 一个重试按钮，不再只留一句「读不到」。 */
.pp-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 2px;
  font-size: 12.5px;
  color: var(--muted);
}
.pp-retry {
  flex: none;
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(2, 151, 222, .5);
  border-radius: 999px;
  background: transparent;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.pp-retry:active { background: rgba(2, 151, 222, .12); }

/* 规则页入口：放在积分记录下面，一行小字，不抢主操作。 */
.pp-rules-link {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12.5px;
}
.pp-rules-link a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 6px 4px;
}

/* ---------- 我的积分：可展开记录 ---------- */
.pp-rec {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  margin-bottom: 8px;
  overflow: hidden;
}
.pp-rec-main {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.pp-rec-main:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.pp-rec-l1, .pp-rec-l2, .pp-rec-l3, .pp-rec-l4 {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex-wrap: wrap;
  overflow-wrap: anywhere;
}
.pp-rec-l1 { font-size: 12px; color: var(--muted); }
.pp-rec-time { font-variant-numeric: tabular-nums; }
.pp-rec-state {
  margin-left: auto;
  flex: none;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, .07);
  color: #C9CCD1;
}
.pp-rec-state.win { background: rgba(255, 149, 0, .14); color: var(--accent); }
.pp-rec-state.lose { background: rgba(255, 90, 95, .14); color: #F07171; }
.pp-rec-state.flat { background: rgba(255, 255, 255, .09); color: #C9CCD1; }
.pp-rec-state.pending { background: rgba(255, 149, 0, .1); color: var(--accent); }
.pp-rec-l2 { margin-top: 3px; font-size: 13.5px; font-weight: 700; }
.pp-rec-min {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}
.pp-rec-l3 { margin-top: 2px; font-size: 12px; color: #C9CCD1; }
.pp-rec-l4 { margin-top: 5px; font-size: 12px; color: var(--muted); }
.pp-rec-net {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.pp-rec-net.win { color: var(--accent); }
.pp-rec-net.lose { color: #F07171; }
.pp-rec-net.flat { color: #C9CCD1; }
.pp-rec-warn {
  display: inline-block;
  margin-top: 5px;
  font-size: 12px;
  color: #FFC83C;
}
.pp-rec-more {
  padding: 0 12px 11px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  margin-top: 2px;
}
.pp-rec-line {
  display: flex;
  gap: 8px;
  margin: 7px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}
.pp-rec-line > span { flex: none; color: #8B8E94; }
.pp-rec-line > b {
  min-width: 0;
  font-weight: 600;
  color: var(--text);
  overflow-wrap: anywhere;
}
.ph-result-net {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.ph-result-net.win { color: var(--accent); }
.ph-result-net.lose { color: #F07171; }
.ph-result-net.flat { color: #C9CCD1; }

/* 窄屏（390 / 430）：小结两列不挤、长号码换行不撑破 */
@media (max-width: 400px) {
  .pp-sum-cell { padding: 7px 8px; }
  .pp-sum-v { font-size: 15px; }
  .tk-block { padding: 9px 10px 2px; }
  .pp-rec-main { padding: 9px 10px; }
  .pp-rec-more { padding: 0 10px 10px; }
}

/* 成绩小结上方的「最近一次结算」一行 */
.pp-sum-last {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.pp-sum-last > b { font-weight: 700; color: #C9CCD1; }
.pp-sum-last > b.win { color: var(--accent); }
.pp-sum-last > b.lose { color: #F07171; }

/* 可点区域统一 ≥44px（daybar 日期切换、返回、明细） */
.daybar button {
  min-height: 44px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
#panelPoints .points-panel-head .back,
#panelMine .back,
.points-panel-head .back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* ==================== 2026-11-06 走查 P1：触控与字号 ====================
   原则：视觉尺寸尽量不动，只把可点范围补到 44px；正文字号不低于 12px。
   走查实测偏小的：收藏 20×26、全场/半场 40×21、提醒 71×32、筛选页返回/确定 27/29、
   联赛行 30、顶部页签 43。 */

/* 1) 透明热区：外观不变，手指点得到 */
.fav, .dh-fav, .seg button, .filter-open, .filter-actions button { position: relative; }
.fav::after, .dh-fav::after { content: ""; position: absolute; inset: -9px -12px; }
.seg button::after { content: ""; position: absolute; inset: -11px -8px; }
.filter-open::after { content: ""; position: absolute; inset: -7px -6px; }

/* 2) 直接补高：页签 / 提醒 / 筛选底部按钮 / 联赛行 */
.tabs button { min-height: 44px; padding-top: 11px; padding-bottom: 11px; }
.tabbar #status .alert-toggle { min-height: 44px; padding: 10px 14px; display: inline-flex; align-items: center; }
.filter-actions .ghost { min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center; }
.lg-row { height: 38px; }

/* 3) 字号：11px → 12px（表头、比分上方、排名、页脚等阅读性文字） */
.odds-table th { font-size: 12px; }
.odds-title .seg button { font-size: 12px; }
.m-teams .t .rank { font-size: 12px; }
.m-score .m-score-top, .m-score .half { font-size: 12px; }
.footer { font-size: 12px; }
.brand-tag { font-size: 12px; }

/* 4) 全封引导卡 */
.dp-next { display: grid; gap: 8px; }
.dp-next-title { margin: 0; font-size: 15px; font-weight: 600; }
.dp-next-note { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); }

/* ==================== 2026-11-06 即时页卡片压缩（对齐上线稿） ====================
   目标：卡片 90px、一屏 6 场；比分三行（完 / 比分 / 半场）；收藏改五角星；
   角球旗红色；盘口指数去掉底色和边框；列表卡片不再出现积分入口。 */
.list { gap: 6px; }

.match {
  position: relative;
  padding: 4px 12px 3px;
  border-radius: 12px;
}

.m-head {
  font-size: 12px;
  line-height: 14px;
  min-height: 14px;
  gap: 5px;
}

.m-body { margin-top: 2px; gap: 2px; }

.corner { display: inline-flex; align-items: center; gap: 4px; }
.corner svg { width: 11px; height: 11px; color: #FF5F5F; display: block; }

/* 收藏：空心五角星，收藏后填实并变荧光绿 */
.fav {
  position: absolute;
  left: 4px;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 24px;
  height: 24px;
  padding: 0;
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C9CCD1;
  background: transparent;
  border: 0;
}
.fav svg { width: 14px; height: 14px; display: block; }
.fav.on { color: var(--accent); }

/* 比分居中：左右两侧留等宽，中间三行竖排 */
.m-teams { padding: 0 26px; gap: 5px; align-items: center; }
.m-teams .t { font-size: 14px; gap: 3px; }
.m-teams .nm { line-height: 17px; }
.m-score { min-width: 64px; gap: 0; }
.m-score-top { font-size: 12px; line-height: 12px; }
.m-score-main { font-size: 21px; line-height: 22px; }
.m-score .half { font-size: 9.5px; line-height: 12px; color: #8A8E95; font-style: normal; margin-left: 0; }

/* 盘口：不再做格子，数字直接落在卡片底色上 */
.m-odds {
  margin-top: 2px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  font-size: 12px;
}
.m-odds .oh { gap: 6px; }
.m-odds .oh + .oh { border-left: 0; }
.m-odds .oh b { color: #C9CCD1; }

/* ==================== 2026-11-06 顶部三条带（对齐上线稿） ====================
   带 1：品牌 + 消息 / 余额 · 带 2：页签 + 时间 / 提醒 · 带 3：联赛筛选 + 场次 */
.acct-bar { gap: 8px; }

.acct-bar .acct-links { gap: 8px; min-width: 0; }

/* 余额改成纯文字，不再是深色胶囊卡片 */
.acct-bar .acct-bal,
.acct-bar #pointsBalanceBar {
  /* 顶部这一条属于品牌区，用全站荧光绿（积分页签内部仍是橘黄） */
  --accent: #0297DE;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-size: 12px;
  color: #8A8E95;
  white-space: nowrap;
  order: -1;
}

.acct-bar .acct-bal .pb-label { display: none; }
.acct-bar .acct-bal .pb-playable { display: none !important; }
.acct-bar .acct-bal .pb-link { display: none; }

.acct-bar .acct-bal .pb-balance {
  font-size: 15px;
  font-weight: 800;
  color: #F3F7FC;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.2px;
}

/* 筛选行：左边胶囊，右边场次 */
.filterbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 14px 6px;
}

.filterbar .filter-spacer { flex: 1 1 auto; }

.filterbar .list-meta.inline {
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.2;
  color: var(--muted);
  white-space: nowrap;
}

/* 余额文字：灰标签 + 荧光绿数字 + 灰单位（JS 输出三段） */
.acct-bar .acct-bal .pb-label {
  display: inline;
  font-size: 12px;
  font-weight: 500;
  color: #8A8E95;
}

.acct-bar .acct-bal b {
  font-size: 17px;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.2px;
}

.acct-bar .acct-bal .pb-unit { font-size: 12px; color: #8A8E95; }

.acct-bar .acct-bal .pb-balance.is-guest {
  font-size: 12.5px;
  font-weight: 500;
  color: #8A8E95;
}

/* 提醒按钮：对齐上线稿的 30px 荧光胶囊（点击区仍留 44px） */
.tabbar #status .alert-toggle {
  min-height: 30px;
  padding: 0 12px;
  font-size: 12.5px;
  font-weight: 700;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #101010;
  position: relative;
}

.tabbar #status .alert-toggle::after {
  content: "";
  position: absolute;
  inset: -7px;
}

/* 登录入口：游客才出现的文字链接，不要做成绿色胶囊跟品牌抢位置 */
.acct-bar .acct-login {
  min-height: 30px;
  padding: 0 4px;
  border-radius: 8px;
  background: transparent;
  color: #0297DE;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .2px;
}

.acct-bar .acct-login:active { opacity: .6; }

/* ---------------- 猜比分卡（2026-11-07：在现有积分里加的第二条玩法） ---------------- */
/* 数值一律用主题令牌，不写死颜色；数字用等宽数字，加减球数时不跳宽。 */
#detail .sg-card {
  /* 2026-11-07 站长定：只压上下，不碰左右——卡片宽度跟旁边「让球/大小球」保持一致 */
  padding: 9px 12px 10px;
}
.sg-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.sg-title { font-size: 14.5px; font-weight: 700; color: var(--text); }
.sg-sub { flex: 0 0 auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
/* 球队名挂在加减号上方，联赛与开赛时间已并入标题行，卡里不再重复「A vs B」那一行 */
.sg-inputs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}
.sg-side {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.sg-team {
  max-width: 100%;
  font-size: 12px;
  line-height: 1.2;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sg-stepper { display: flex; align-items: center; gap: 5px; }
.sg-step {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #162434;
  color: var(--text);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.sg-step:active { background: #17181B; }
.sg-step:disabled { opacity: .4; cursor: default; }
.sg-value {
  min-width: 24px;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.sg-colon { padding-bottom: 2px; font-size: 16px; color: var(--muted); }
.sg-submit {
  /* 2026-11-07 站长定：橙色按钮左右各收一点（总宽约 2/3），整条铺满太抢眼 */
  /* 第三版：上下收瘦到 10px（原固定高 38px 改为 padding 撑高），并给动效留 transition */
  display: block;
  width: 67%;
  max-width: 240px;
  padding: 10px 0;
  margin: 8px auto 0;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all .45s ease;
}
.sg-submit:active { opacity: .85; }
.sg-submit:disabled { background: #23374D; color: var(--muted); cursor: default; }
.sg-mine { margin: 5px 0 0; font-size: 12px; color: var(--accent); }
/* 2026-11-07 站长定：两行说明收进「规则」里，默认收起，卡里只留一个小入口 */
.sg-more { margin: 4px 0 0; }
.sg-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 22px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
}
.sg-more-btn::-webkit-details-marker { display: none; }
.sg-more-btn:active { opacity: .7; }
.sg-more-arrow { font-size: 12px; line-height: 1; transition: transform .15s ease; }
.sg-more[open] .sg-more-arrow { transform: rotate(90deg); }
.sg-rule { margin: 2px 0 0; font-size: 12px; line-height: 1.3; color: var(--muted); }
.sg-note { margin: 2px 0 0; font-size: 12px; line-height: 1.3; color: #93A8BE; }
.sg-retry {
  width: 100%;
  height: 36px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

/* 我的积分页：猜比分记录行（2026-11-07） */
.sg-row { padding: 9px 0; border-bottom: 1px solid var(--line); }
.sg-row:last-child { border-bottom: 0; }
.sg-row-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}
.sg-row-teams {
  min-width: 0;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sg-row-net { flex: 0 0 auto; font-weight: 700; font-variant-numeric: tabular-nums; }
.sg-net-win { color: var(--accent); }
.sg-net-lose { color: #93A8BE; }
.sg-net-even, .sg-net-idle { color: var(--muted); }
.sg-row-sub { margin-top: 3px; font-size: 12px; color: var(--muted); }
.pp-history-hint { flex: 0 0 auto; font-size: 12px; color: var(--muted); }


/* 赛况里的盘口分类切换（2026-11-07） */
.odds-kinds {
  display: flex;
  gap: 2px;
  margin: 0 0 8px;
  padding: 3px;
  background: #162434;
  border-radius: 12px;
}
.odds-kinds button {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 0;
  border-radius: 10px;
  font-family: inherit;
  cursor: pointer;
}
.odds-kinds button.on {
  background: var(--accent);
  color: #1A1D06;
}

/* 这一类上游没给盘口：留在原位说一句，不留空白块、不把分类条缩成两格 */
.odds-empty {
  color: var(--muted);
  font-size: 12px;
  padding: 14px 0 16px;
  text-align: center;
}

/* ---------------- 赛前积分卡（2026-11-10：站队复活 + 赛前押注 + 两层分布） ---------------- */
/* 与猜比分卡同一套令牌与密度：站队层用主题色条，积分层换一条更沉的色，区分「人头」和「仓位」。 */
#detail .pm-card { padding: 9px 12px 10px; }
.pm-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.pm-title { font-size: 14.5px; font-weight: 700; color: var(--text); }
.pm-sub { flex: 0 0 auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
.pm-note { margin: 4px 0 0; font-size: 12px; line-height: 1.3; color: #93A8BE; }
.pm-retry {
  width: 100%;
  height: 36px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.pm-market { margin-top: 8px; }
.pm-market-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
}
.pm-market-total { font-size: 12px; font-weight: 400; color: var(--muted); }
.pm-layer { margin: 5px 0 3px; font-size: 12px; color: var(--muted); }
.pm-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #162434;
  color: var(--text);
  font-size: 12px;
  margin-top: 4px;
  text-align: left;
}
button.pm-row { cursor: pointer; font-family: inherit; }
button.pm-row:active { background: #17181B; }
.pm-row.is-mine { border-color: var(--accent); }
.pm-row-name {
  flex: 0 1 34%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pm-bar {
  flex: 1 1 auto;
  height: 6px;
  border-radius: 3px;
  background: #23374D;
  overflow: hidden;
}
.pm-bar i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--accent);
}
.pm-bar.is-points i { background: #7FB069; }
.pm-row-val {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.pm-bet { margin-top: 10px; }
.pm-quote { margin-top: 6px; }
.pm-quote-line { margin: 0 0 4px; font-size: 12px; color: var(--text); }
.pm-choices { display: flex; gap: 8px; }
.pm-choice {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #162434;
  color: var(--text);
  font-size: 12.5px;
  font-family: inherit;
  cursor: pointer;
}
.pm-choice b { font-variant-numeric: tabular-nums; }
.pm-choice.selected { border-color: var(--accent); }
.pm-chips { display: flex; gap: 6px; margin-top: 8px; }
.pm-chip {
  flex: 1 1 0;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
}
.pm-chip.selected { border-color: var(--accent); color: var(--accent); }
.pm-cap { margin: 5px 0 0; font-size: 12px; color: var(--muted); }
.pm-submit {
  /* 第三版：改整幅（定稿图②），上下收瘦到 10px；动效收拢靠 transition */
  display: block;
  width: 100%;
  padding: 10px 0;
  margin: 8px auto 0;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all .45s ease;
}
.pm-submit:active { opacity: .85; }
.pm-submit:disabled { background: #23374D; color: var(--muted); cursor: default; }
.pm-mine-list { margin-top: 8px; border-top: 1px solid var(--line); }
.pm-mine-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 0 0;
  font-size: 12px;
  color: var(--muted);
}

/* ============================================================
   即时比分页 · 视觉增强 v1（追加段，删除本段即可回滚）
   ============================================================ */

/* 顶栏吸顶 + 滚动模糊 */
.acct-bar{
  position:fixed !important; top:0; left:0; right:0; z-index:60;
  background:rgba(12,12,12,.92);
  transition:background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.acct-bar.is-scrolled{
  background:rgba(12,12,12,.72);
  backdrop-filter:blur(18px) saturate(1.15);
  -webkit-backdrop-filter:blur(18px) saturate(1.15);
  box-shadow:0 8px 24px rgba(0,0,0,.45);
}
body{padding-top:44px}

/* 细颗粒噪点 */
body::after{
  content:""; position:fixed; inset:0; pointer-events:none; z-index:3; opacity:.045;
  mix-blend-mode:soft-light;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/></filter><rect width='140' height='140' filter='url(%23n)' opacity='.6'/></svg>");
}

/* 比分数字滚动 */
@keyframes gcRoll{0%{transform:translateY(48%);opacity:0}60%{opacity:1}100%{transform:translateY(0);opacity:1}}
.m-score-main .s.roll{animation:gcRoll .42s cubic-bezier(.22,.8,.25,1)}

/* 赔率涨跌闪色 */
.m-odds b{transition:color .3s ease}
.m-odds b.flash-up{color:#8AF7A4;text-shadow:0 0 10px rgba(90,240,140,.45)}
.m-odds b.flash-down{color:#FF9AA0;text-shadow:0 0 10px rgba(255,80,90,.4)}

/* 卡片入场 */
@keyframes gcIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.match{animation:gcIn .4s both}
.match:nth-of-type(2){animation-delay:.03s}
.match:nth-of-type(3){animation-delay:.06s}
.match:nth-of-type(4){animation-delay:.09s}
.match:nth-of-type(n+5){animation-delay:.12s}

@media (prefers-reduced-motion: reduce){
  /* 第二轮合并裁决：比分数字滚动属于「列表比分动画」，按用户 2026-10-25 的
     AlwaysAnimate 口径不许被减动效关掉，故从本块摘除；其余 FX 照 cadence 原样。 */
  .match{animation:none!important}
  .m-odds b,.acct-bar{transition:none!important}
}

/* ============================================================
   效果演示条（仅 ?fx=1 出现，与正式样式无关，删掉本段即可）
   ============================================================ */
.fx-bar{
  position:fixed; left:10px; right:10px; bottom:calc(70px + env(safe-area-inset-bottom));
  z-index:999; display:none; gap:6px; padding:7px;
  background:rgba(18,18,20,.94); border:1px solid rgba(255,255,255,.14);
  border-radius:14px; backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  box-shadow:0 10px 30px rgba(0,0,0,.55);
}
.fx-bar.on{ display:flex; flex-wrap:wrap; }
.fx-bar button{
  flex:1 1 auto; min-width:0; height:34px; padding:0 8px; border:0; border-radius:9px;
  background:#162434; color:#EDEDEF; font:600 12px/34px -apple-system,"PingFang SC",sans-serif;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; cursor:pointer;
}
.fx-bar button:active{ transform:scale(.96); }
.fx-bar button.fx-accent{ background:linear-gradient(180deg,#D5F844,#B9DC2A); color:#1A1D06; }
.fx-bar button.fx-close{ flex:0 0 34px; background:transparent; color:#8A8A90; }
.fx-toast{
  position:fixed; left:50%; bottom:calc(118px + env(safe-area-inset-bottom)); transform:translate(-50%,8px); z-index:1000;
  padding:8px 16px; border-radius:999px; font:600 12.5px/1.2 -apple-system,"PingFang SC",sans-serif;
  color:#1A1D06; background:#D5F844; box-shadow:0 8px 22px rgba(0,0,0,.5);
  white-space:nowrap; max-width:92vw; overflow:hidden; text-overflow:ellipsis;
  opacity:0; transition:opacity .18s ease, transform .18s ease; pointer-events:none;
}
.fx-toast.on{ opacity:1; transform:translate(-50%,0); }
/* 吸顶提示：滚到顶栏变模糊时给一条参考线，方便肉眼判断 */
.fx-guide{ position:fixed; left:0; right:0; top:44px; height:1px; background:rgba(213,248,68,.55); z-index:59; display:none; }
.fx-guide.on{ display:block; }

/* ============================================================
   视觉收敛 v2（2026-11-09）
   只覆盖视觉：颜色语义、边框、对比、对齐。不动结构、不动数据。
   删除本段即可回到上一版。
   ============================================================ */

/* 1) 颜色语义收紧：绿 = 进行中 / 主操作；橙 = 积分；红 = 收藏与危险。
      盘口中间那个数（让球/大小球盘口线）和左右两个赔率不是一回事，
      用品牌绿的低一档把它区分出来：主操作/进行中仍是满饱和荧光绿，
      盘口线这种数据编码用 --line-accent，一屏下来不刺眼。 */
:root { --line-accent: #A8D62A; }
.m-odds .oh b.line { color: var(--line-accent); font-weight: 800; }

/* 2) 收藏卡：去掉整圈绿框（3 张卡就占掉半屏的绿），改成左缘一道细绿条 */
.match.fav-on {
  border-color: rgba(255,255,255,.07);
  box-shadow: inset 3px 0 0 0 rgba(2,151,222,.8);
}

/* 3) 卡片边框压淡：不再是每块一个厚方框，靠间距和底色分层 */
.match,
.match.live { border-color: rgba(255,255,255,.06); }

/* 4) 「提醒」按钮：默认改描边，只有真开了才实心绿，别让它比比分还抢眼 */
.tabbar #status .alert-toggle {
  background: transparent;
  border: 1px solid rgba(2,151,222,.42);
  color: var(--accent);
  font-weight: 600;
}
.tabbar #status .alert-toggle.on {
  background: var(--accent);
  border-color: var(--accent);
  color: #101010;
  font-weight: 700;
}

/* 5) 小字对比：11–12px 的灰字提亮，扫读才不费劲 */
:root { --muted: #B0B3B9; }
.m-teams .t .rank { color: #8F9399; font-size: 12px; font-weight: 500; }
.m-head .m-right { color: #94989E; }

/* 6) 比分列：固定宽度，204 张卡的比分落在同一条竖线上；
      左右留白从 20px 收到 14px，把位置让回给队名（截断从 14 处降到 7 处） */
.m-score { min-width: 62px; padding-left: 14px; padding-right: 14px; }

/* 7) 盘口三列对齐：赔率靠外、盘口线居中，一屏扫下来数字成列。
      原来是 flex 居中，位数一变整体就错位。 */
.m-odds .oh {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  column-gap: 4px;
}
.m-odds .oh b:first-child { text-align: right; }
.m-odds .oh b.line { text-align: center; }
.m-odds .oh b:last-child { text-align: left; }

/* 8) 红黄牌：黄牌从实心亮块改描边细框（一屏十几张进行中的卡会有二十来个黄块，
      是页面上最亮的一片非品牌色）；红牌少见、严重，仍保留实心红。 */
.tcard.yellow {
  background: transparent;
  border: 1px solid rgba(232,195,60,.6);
  color: #E8C33C;
  font-weight: 700;
}

/* 9) 页签指示条：从「直接换下划线」改成一根滑过去的绿条
      （纯 CSS，用 :has 判断哪个页签是选中的，不碰 app.js） */
.tabbar .tabs { position: relative; }
/* 选择器与基础样式里最具体的那条同权（.tabbar .tabs button.on），靠后覆盖，
   旧下划线才会真正让位给下面的滑条；只改选择器，不动绿条颜色/粗细/动画。 */
.tabbar .tabs button.on { border-bottom-color: transparent; }
.tabs::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: calc(50% - 2px);
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--accent);
  transform: translateX(0);
  transition: transform .24s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}
.tabs:has(button:nth-child(2).on)::after { transform: translateX(calc(100% + 4px)); }
@media (prefers-reduced-motion: reduce) { .tabs::after { transition: none; } }

/* 10) 半场比分：原来 9.5px 灰字（style.css:4477），手机上一屏扫过去基本看不见。
      提到 11px 并提亮一档，位置上仍在比分正下方。 */
.m-score .half {
  font-size: 12px;
  line-height: 13px;
  color: #9BA1A9;
}

/* ============================================================
   admin 页专用覆盖（2026-11-09）
   只在本页生效：admin 头部恢复随页滚动、头部与内容空隙归零。
   不改 .acct-bar 基础规则，不改全局 body{padding-top}，不动 --muted。
   比分页继续使用上面的固定顶栏观感。
   ============================================================ */
.admin-body { padding-top: 0; }
.admin-body .acct-bar { position: static !important; top: auto; }

/* ============================================================
   列表卡片角标：免费战队「战队」与加倍推荐「×2」（替代原火焰图标，2026-11-17 定）
   ============================================================ */
.match .m-right .m-badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  margin-right: 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .2px;
  white-space: nowrap;
}
.match .m-right .m-badge.tp {
  background: rgba(52, 211, 153, .14);
  border: 1px solid rgba(52, 211, 153, .45);
  color: #6ee7b7;
}
.match .m-right .m-badge.x2 {
  background: rgba(2, 151, 222, .14);
  border: 1px solid rgba(2, 151, 222, .48);
  color: var(--accent);
}

/* ---------------- 第二轮补齐（2026-11-10：自定金额/预计返还/分歧标红/高手押向/收益率榜/滚球等待框） ---------------- */
.pm-custom {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}
.pm-custom input {
  flex: 1 1 auto;
  min-width: 0;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
}
.pm-payout { margin: 7px 0 0; font-size: 12px; color: var(--text); }
.pm-payout b { color: #FF8A3C; }
.pm-payout.is-dim { color: var(--muted); font-size: 12px; }
.pm-diverge {
  margin: 7px 0 1px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 90, 90, .45);
  border-radius: 8px;
  background: rgba(255, 90, 90, .08);
  color: #FF7A7A;
  font-size: 12px;
  line-height: 1.45;
}
.pm-masters { margin-top: 10px; }
.pm-masters-row { display: flex; gap: 8px; margin-top: 5px; }
.pm-master-row {
  /* 第三版：从整行列表改为横排小卡（定稿图⑤），类名保留给契约测试 */
  flex: 1 1 0;
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #162434;
  font-size: 12px;
  line-height: 1.5;
}
.pm-master-name { display: block; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-master-roi { display: block; color: #FF8A3C; white-space: nowrap; font-size: 12px; margin-top: 2px; }
.pm-master-pick { display: block; color: var(--muted); text-align: left; margin-top: 2px; }
.dp-wait {
  border: 1.5px dashed var(--line);
  background: transparent;
  text-align: center;
  padding: 18px 14px;
}
.dp-wait-title { margin: 0; font-size: 14px; font-weight: 700; color: var(--text); }
.dp-wait-note { margin: 6px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.roi-card { padding: 9px 12px 10px; }
.roi-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 5px;
  font-size: 12px;
}
.roi-row.is-me { border-color: #FF8A3C; }
.roi-rank { font-weight: 700; color: var(--muted); min-width: 16px; }
.roi-name { color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.roi-val { color: #FF8A3C; margin-left: auto; white-space: nowrap; font-size: 12px; }

/* ---------------- 第三轮（2026-11-10，定稿图 V3）：版面重排 / 站队大按钮 / 对照条 / 按钮动效 ---------------- */
/* 站队大按钮（卡 A）：每档两个并排，选中（我站的）橙边高亮，百分比标在按钮内 */
.pm-picks { display: flex; gap: 8px; margin-top: 5px; }
.pm-pick {
  flex: 1 1 0;
  min-width: 0;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  padding: 9px 6px;
  background: #162434;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
}
.pm-pick:active { background: #17181B; }
.pm-pick .pm-pick-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pm-pick small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.pm-pick small b { color: var(--accent); font-size: 13px; }
.pm-pick.is-mine { border-color: var(--accent); background: rgba(255, 149, 0, .10); font-weight: 700; }

/* 两层对照（卡 B）：站队条与积分条各一对，颜色照定稿图（橙/蓝 vs 橙/红） */
.pm-track {
  display: flex;
  height: 14px;
  border-radius: 7px;
  overflow: hidden;
  background: #23374D;
  margin-top: 3px;
}
.pm-track i { display: block; height: 100%; }
.pm-track .seg-a { background: var(--accent); }
.pm-track .seg-b { background: #3E7CB1; }
.pm-track.is-points .seg-b { background: #E2574C; }
.pm-track.is-muted { align-items: center; justify-content: center; }
.pm-track.is-muted span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.pm-track-label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
}
.pm-track-label b { color: var(--text); }

/* 按钮确认动效（草稿图⑦）：成功收拢成圆形 ✓ + pop + 粒子；失败轻晃。
   参数照定稿图演示：收拢 transition .45s、pop .32s、粒子 .sb-ptcl 由 JS 用 WAAPI 播。
   减动效信号走 CSS 变量：系统减动效时 --sb-reduced=1，JS 读到就跳过粒子与收拢
   （此块只碰 --sb-reduced，不碰进球/比分动效，合 2026-10-25 老规矩）。 */
:root { --sb-reduced: 0; }
@media (prefers-reduced-motion: reduce) {
  :root { --sb-reduced: 1; }
}
.sb-fx-host { position: relative; }
.sb-fx-done {
  width: 48px !important;
  max-width: 48px !important;
  flex: 0 0 48px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  border-radius: 50% !important;
  background: #39A06B !important;
  color: #F3F7FC !important;
  animation: sb-pop .32s ease;
}
@keyframes sb-pop {
  0% { transform: scale(.7); }
  55% { transform: scale(1.18); }
  100% { transform: scale(1); }
}
.sb-fx-fail { animation: sb-shk .4s ease; }
@keyframes sb-shk {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-7px); }
  45% { transform: translateX(6px); }
  70% { transform: translateX(-4px); }
  90% { transform: translateX(2px); }
}
.sb-ptcl { position: absolute; border-radius: 50%; pointer-events: none; z-index: 40; }

/* 会员引导层（2026-11-12）：游客点确认押注/猜比分先看这一层，再进登录。会员免费。 */
.mg-mask{position:fixed;inset:0;z-index:80;background:rgba(0,0,0,.62);display:flex;
  align-items:flex-end;justify-content:center;padding:0 12px calc(12px + env(safe-area-inset-bottom))}
.mg-mask[hidden]{display:none}
.mg-sheet{width:100%;max-width:406px;background:#101B28;border:1px solid #23374D;border-radius:16px;padding:16px}
.mg-sheet h3{margin:0 0 6px;font-size:15px;font-weight:800;color:#F3F7FC}
.mg-sub{margin:0 0 12px;font-size:12px;color:#93A8BE;line-height:1.5}
.mg-list{margin:0 0 4px;padding:0;list-style:none}
.mg-list li{font-size:12px;color:#D6D9DD;padding:4px 0 4px 18px;position:relative}
.mg-list li:before{content:"\2713";position:absolute;left:0;color:#0297DE;font-weight:800}
.mg-go{display:block;width:100%;height:44px;border:0;border-radius:10px;background:#0297DE;color:var(--accent-ink);
  font-size:14px;font-weight:800;margin-top:12px}
.mg-login{display:block;width:100%;height:40px;border:0;border-radius:10px;background:transparent;
  color:#93A8BE;font-size:12px;margin-top:4px}
.mg-fine{margin:8px 0 0;font-size: 12px;color:#93A8BE;line-height:1.5}

/* 2026-11-13 版式接入：按定稿草稿的统一尺子收紧详情页积分页签。
   卡片内边距 12、卡片间距 16、圆角 12；控件 36、主按钮 44；序号徽章 20。 */
#detail .card { margin-top: 16px; padding: 12px; border-radius: 12px; }
#detail .v6-index { width: 20px; height: 20px; font-size: 12px; border-radius: 6px; margin-right: 8px; }
#detail .dp-choice { min-height: 40px; padding: 6px 10px; gap: 2px; border-radius: 8px; }
#detail .dp-choices.is-triplet .dp-choice { min-height: 40px; padding: 6px 6px; }
#detail .dp-choice .dpc-odds { font-size: 16px; }
#detail .dp-market-title { font-size: 12px; }
#detail .pm-chip { height: 36px; border-radius: 8px; }
#detail .dp-main-btn, #detail .pm-submit { height: 44px; border-radius: 10px; }
#detail .dp-limit { min-height: 32px; padding: 0 10px; border-radius: 8px; }

/* ================= V2 视觉规范（2026-11-13） =================
   色板、字号、间距、组件、响应式统一收口在这里；上方旧规则逐步被覆盖。 */
:root{
  --v2-bg:#05090E; --v2-card:#101B28; --v2-raise:#162434; --v2-line:#23374D;
  --v2-text:#F3F7FC; --v2-muted:#93A8BE;
  --v2-accent:#0297DE; --v2-orange:#FF9E2C; --v2-warn:#F0B35E; --v2-danger:#E5484D; --v2-info:#74BCEC;
  --v2-gap1:4px; --v2-gap2:8px; --v2-gap3:12px; --v2-gap4:16px; --v2-gap5:24px;
}
body{ background:var(--v2-bg); color:var(--v2-text); }

/* 字号阶梯：12 / 14 / 16 / 18 / 20 / 24；不再出现 12 以下的正文 */
.card{ padding:12px; border-radius:10px; background:var(--v2-card); border:1px solid var(--v2-line); }
.card h2, .sec-title{ font-size:18px; }
body, p, li, td, th, input, textarea, select, button{ font-size:14px; }
small, .muted, .sub, .note-2{ font-size:12px; }

/* 按钮：主 44 / 次 36 */
.btn, button.btn-primary, .dp-main-btn, .pm-submit, .cl-submit{ min-height:44px; border-radius:10px; }
.btn-secondary, .pm-chip, .chip, .sg-retry{ min-height:36px; border-radius:10px; }
.btn-primary, .dp-main-btn, .pm-submit, .cl-submit{ background:var(--v2-accent); color:var(--accent-ink); font-weight:800; }

/* 比赛卡片：三层信息 */
.match{ background:var(--v2-card); border:1px solid var(--v2-line); border-radius:10px; padding:12px; }
.match .m-head{ display:flex; align-items:center; gap:8px; font-size:12px; color:var(--v2-muted); }
.match .m-head .m-state{ margin-left:auto; font-weight:700; color:var(--v2-orange); }
.match .m-teams .t .nm{ font-size:16px; font-weight:800; color:var(--v2-text); }
.match .m-score-main{ font-size:22px; font-weight:800; font-variant-numeric:tabular-nums; letter-spacing:1px; }
.match .m-score .m-score-top{ font-size:12px; color:var(--v2-muted); }
.match .m-foot{ margin-top:8px; padding-top:8px; border-top:1px solid var(--v2-line); display:flex; gap:12px; font-size:12px; color:var(--v2-muted); }
.match .m-foot .more{ margin-left:auto; color:var(--v2-info); }
.match .odds-line{ font-size:12px; color:var(--v2-muted); font-variant-numeric:tabular-nums; }

/* 详情页签：小屏横滑不挤压 */
#dtabs, .dtabs{ display:flex; gap:8px; overflow-x:auto; white-space:nowrap; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
#dtabs::-webkit-scrollbar, .dtabs::-webkit-scrollbar{ display:none; }
#dtabs button, .dtabs button{ flex:0 0 auto; min-height:44px; padding:0 14px; border-radius:10px; font-size:14px; }
#dtabs button.on, .dtabs button.on{ background:var(--v2-accent); color:var(--accent-ink); font-weight:800; }

/* 盘口表：初盘 / 即时盘 分组 */
.odds-table th:nth-child(3), .odds-table td:nth-child(3){ border-left:1px solid var(--v2-line); }
.odds-table th:nth-child(5), .odds-table td:nth-child(5){ border-left:1px solid var(--v2-line); }
.odds-table th{ font-size:12px; color:var(--v2-muted); font-weight:600; }
.odds-table td{ font-size:14px; font-variant-numeric:tabular-nums; }
.odds-table tr:nth-child(even) td{ background:rgba(255,255,255,.02); }

/* 积分页：数值与操作分层 */
.v6-index{ background:rgba(2,151,222,.16); color:var(--v2-accent); }
.dp-limit, .capbar, .cap{ background:rgba(2,151,222,.08); border:1px solid rgba(2,151,222,.28); }
.dpc-odds, .rval, .balance b{ color:var(--v2-accent); font-variant-numeric:tabular-nums; }
.dp-main-btn:disabled, .pm-submit:disabled{ background:var(--v2-raise); color:var(--v2-muted); }

/* 底部导航：给内容留足空间 */
body{ padding-bottom:76px; }
.bottom-nav, #bottomNav{ background:rgba(5,9,14,.97); border-top:1px solid var(--v2-line); padding-bottom:env(safe-area-inset-bottom); }
#bottomNav .bn-item{ color:var(--v2-muted); }
#bottomNav .bn-item.on, #bottomNav .bn-item.bn-active{ color:var(--v2-accent); }
#bottomNav .bn-item[data-btab="points"].bn-active{ color:#FF9E2C; }

/* ---------- 响应式：≥768 放宽；≥1024 桌面宽屏 ---------- */
@media (min-width:768px){
  body{ padding-bottom:0; }
  #bottomNav, .bottom-nav{ display:none; }
  .goal-toast{ bottom: 20px; }
  .vote-toast{ bottom: 28px; }
  .wrap, main, #panelLive, #panelMine, #panelPoints{ max-width:860px; margin:0 auto; }
}
@media (min-width:1024px){
  :root{ --v2-content:1200px; }
  body{ padding-top:0; }
  .desk-nav{ display:flex; }
  #acctBar{ position:sticky; top:0; z-index:30; }
  #panelLive, #panelMine, #panelPoints, #detail{ max-width:1200px; margin:0 auto; padding:0 24px; }
  /* 列表：左侧筛选 + 右侧赛事 */
  #panelLive{ display:grid; grid-template-columns:260px minmax(0,1fr); gap:24px; align-items:start; }
  #filterPage{ grid-column:1; }
  #liveList{ grid-column:2; }
  /* 详情：主内容 + 辅助栏 */
  #detail{ display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:24px; align-items:start; }
  #detail .detail-main{ min-width:0; }
  .match{ padding:16px; }
}
.desk-nav{ display:none; gap:8px; align-items:center; padding:8px 12px; border-bottom:1px solid var(--v2-line); background:rgba(5,9,14,.97); }
.desk-nav a, .desk-nav button{ min-height:36px; padding:0 12px; border-radius:10px; font-size:14px; color:var(--v2-muted); background:transparent; border:0; }
.desk-nav .on{ background:var(--v2-raise); color:var(--v2-accent); font-weight:700; }

/* V2 修正：桌面导航显示顺序、列表两栏只在筛选打开时启用 */
@media (min-width:1024px){
  .desk-nav{ display:flex; }
  #panelLive{ grid-template-columns:minmax(0,900px); justify-content:center; }
  body.filter-open #panelLive{ grid-template-columns:260px minmax(0,1fr); justify-content:stretch; }
}

/* V2 修正 2：桌面单栏/两栏切换、桌面导航可读性 */
@media (min-width:1024px){
  body:not(.filter-open) #filterPage{ display:none; }
  body:not(.filter-open) #liveList{ grid-column:1 / -1; }
  .desk-nav{ background:var(--v2-bg); border-bottom:1px solid var(--v2-line); padding:8px 16px; }
  .desk-nav button{ color:var(--v2-text); opacity:.72; font-weight:600; }
  .desk-nav button.on{ opacity:1; background:var(--v2-raise); color:var(--v2-accent); }
}

/* V2 修正 3：桌面导航与顶部账户条不再重叠 */
@media (min-width:1024px){
  #acctBar{ position:static; }
  .desk-nav{ position:sticky; top:0; z-index:31; }
  .match{ max-width:820px; margin:0 auto 12px; }
  #liveList{ max-width:820px; margin:0 auto; }
}

/* V2 修正 4：桌面隐藏重复的手机页签行、卡片铺满内容列 */
@media (min-width:1024px){
  .tabs{ display:none; }
  #liveList{ width:100%; }
  #liveList .match{ width:100%; max-width:none; }
  .filterbar{ max-width:820px; margin:0 auto; }
}

/* V2 修正 5：桌面隐藏主站手机页签行；账户条回顶不重叠 */
@media (min-width:1024px){
  #mainTabs{ display:none; }
  #acctBar{ position:relative; z-index:30; }
}

/* V2：详情页计分板深色一体化 + 盘口涨跌语义 + 占位按钮 */
.detail-head{ background:#101B28 !important; border:1px solid #23374D; color:#F3F7FC; }
.detail-head .meta{ color:#93A8BE; }
.detail-head .big-score{ font-size:24px; font-variant-numeric:tabular-nums; }
.dh-ghost{ min-height:30px; padding:0 10px; border-radius:8px; background:#162434; border:1px solid #23374D;
  color:#93A8BE; font-size:12px; margin-left:6px; }
.dh-ghost[disabled]{ opacity:.62; }
.odds-table td.up{ color:#F07171; }
.odds-table td.down{ color:#34C77B; }
.odds-table .tr{ font-style:normal; font-size:9px; margin-left:2px; }
.odds-table .goal-dot{ display:inline-block; width:6px; height:6px; border-radius:50%;
  background:#0297DE; margin-right:4px; vertical-align:middle; }

/* V2 修正：详情页占位按钮与盘口表在 390 宽下的排布 */
.detail-head .dh-foot{ display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.detail-head .dh-actions{ display:flex; align-items:center; gap:6px; margin-left:auto; }
.dh-ghost{ white-space:nowrap; padding:0 8px; font-size:12px; }
.odds-table{ table-layout:fixed; width:100%; }
.odds-table th, .odds-table td{ padding:6px 2px; font-size:12px; }
.odds-table th:nth-child(1), .odds-table td:nth-child(1){ width:36px; }
.odds-table th:nth-child(2), .odds-table td:nth-child(2){ width:42px; }
.odds-table .line{ white-space:nowrap; font-weight:700; }
.odds-table td.up, .odds-table td.down{ white-space:nowrap; }
.detail-head .big-score{ font-size:26px; font-weight:800; letter-spacing:1px; }
.detail-head .versus .t{ color:#F3F7FC; font-weight:700; }

/* 2026-11-14 用户确认的草稿：详情卡进行中，时间和比分跟列表 live 同色、比分与队名同一行。
   列表 live 实测：分钟 var(--v2-muted) #93A8BE，比分 var(--green) #0297DE。
   做法：进行中把「分钟」和「半场」两个胶囊改成绝对定位浮在比分上下，
   让比分成为唯一撑高度的元素，队名自然和比分垂直居中；其它比赛状态不受影响。 */
.detail-head:has(.vs-state.live) .versus { margin-top: 27px; }
.detail-head:has(.vs-state.live) .vs-center { position: relative; }
.detail-head:has(.vs-state.live) .big-score { color: var(--accent); }
.detail-head:has(.vs-state.live) .vs-state {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: calc(100% + 5px); margin: 0;
  color: var(--v2-muted); white-space: nowrap;
}
.detail-head:has(.vs-state.live) .vs-half {
  position: absolute; left: 50%; transform: translateX(-50%);
  top: calc(100% + 5px); margin: 0;
  white-space: nowrap;
}
.detail-head:has(.vs-state.live):has(.vs-half) .dh-foot { margin-top: 29px; }

/* V2：全场/半场两块同时显示，不再切换 */
.odds-period{ margin-top:8px; }
.odds-period + .odds-period{ margin-top:14px; padding-top:6px; border-top:1px dashed #23374D; }
.odds-period-label{ font-size:12px; color:#93A8BE; margin:0 0 4px; font-weight:700; }
.odds-sec .seg{ display:none; }

/* ==================== 阵容页（2026-11-15 按球探样式重做） ====================
   双方同场、球员头像 + 号码 + 队长标；替补两栏；伤停两栏带伤情标签；
   点球员弹出球员卡（含第三方预估身价）。颜色沿用深色主题变量。 */
.lu-card h2 { font-size: 16px; }
.lu-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.lu-hint { font-size: 11px; font-weight: 400; color: var(--muted); text-align: right; line-height: 1.5; }
.lu-teams { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; margin: 10px 0 8px; font-size: 12px; font-weight: 700; }
.lu-team { display: inline-flex; align-items: center; gap: 5px; min-width: 0; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lu-team i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.lu-team i.home { background: var(--accent); }
.lu-team i.away { background: var(--text); }
.lu-coach { font-size: 10px; font-weight: 400; color: var(--muted); margin-left: 3px; }

.lu-pitch {
  position: relative; height: 500px; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  background: repeating-linear-gradient(180deg, #27502C 0 40px, #24482A 40px 80px);
  box-shadow: inset 0 0 70px rgba(0, 0, 0, .35);
}
.lu-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.lu-lines path, .lu-lines rect, .lu-lines circle {
  fill: none; stroke: rgba(255, 255, 255, .4); stroke-width: 1.4; vector-effect: non-scaling-stroke;
}
.lu-pl {
  position: absolute; transform: translate(-50%, -50%); width: 72px; min-height: 44px;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  background: none; border: 0; padding: 0; color: inherit; font-family: inherit; cursor: pointer;
}
.lu-pl:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.lu-ava-wrap { position: relative; display: block; }
.lu-ava {
  position: relative; display: block; width: 34px; height: 34px; border-radius: 50%;
  background: #233026; border: 2px solid var(--accent); box-shadow: 0 2px 6px rgba(0, 0, 0, .4);
}
.lu-pl.away .lu-ava { border-color: var(--text); }
.lu-ava img, .lu-ava-sm img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.lu-ava.is-empty::after, .lu-ava-sm.is-empty::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #233026 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C8A80' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8.4' r='3.6'/%3E%3Cpath d='M4.8 20.4c1.2-3.5 3.8-5.2 7.2-5.2s6 1.7 7.2 5.2'/%3E%3C/svg%3E") center/62% no-repeat;
}
.lu-pl.away .lu-ava.is-empty::after { background-size: 62%; }
.lu-num {
  position: absolute; right: -3px; bottom: -3px; min-width: 17px; height: 17px; padding: 0 2px;
  border-radius: 9px; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); font-size: 10px; font-weight: 800;
  border: 1.5px solid var(--card); font-variant-numeric: tabular-nums;
}
.lu-pl.away .lu-num { background: var(--text); color: #05090E; }
.lu-cap {
  position: absolute; left: -7px; top: -7px; width: 16px; height: 16px; border-radius: 50%;
  display: grid; place-items: center; background: var(--card); border: 1px solid var(--accent);
  color: var(--accent); font-size: 10px; font-weight: 800;
}
.lu-nm {
  font-size: 10px; line-height: 12px; font-weight: 500; color: #F3F7FC; max-width: 70px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 4px rgba(0, 0, 0, .7);
}
.lu-note { margin: 9px 0 0; font-size: 10px; line-height: 1.5; color: var(--muted); text-align: center; }

.lu-sub-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 18px 0 8px; }
.lu-sub-head h2 { margin: 0; font-size: 16px; }
.lu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.lu-col { min-width: 0; }
.lu-col-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: 11px; font-weight: 700; color: var(--muted);
  padding-bottom: 6px; border-bottom: 1px solid var(--line);
}
.lu-col-head span { font-weight: 400; font-size: 10px; }
.lu-row {
  display: flex; align-items: center; gap: 7px; width: 100%; min-height: 44px; padding: 5px 0;
  background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .05);
  color: inherit; font-family: inherit; text-align: left; cursor: pointer;
}
.lu-row:last-child { border-bottom: 0; }
.lu-row:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.lu-ava-sm {
  position: relative; display: block; width: 26px; height: 26px; border-radius: 50%;
  overflow: hidden; flex: none; background: #233026; border: 1px solid rgba(255, 255, 255, .16);
}
.lu-row-main { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.lu-rname { font-size: 12px; font-weight: 600; line-height: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lu-rmeta { font-size: 10px; line-height: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lu-val { flex: none; font-size: 10px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.lu-tag { flex: none; font-size: 10px; font-weight: 700; line-height: 16px; padding: 1px 6px; border-radius: 999px; white-space: nowrap; }
.lu-tag.hurt { color: #F0B37A; background: rgba(240, 179, 122, .14); }
.lu-tag.back { color: var(--accent); background: rgba(2, 151, 222, .14); }
.lu-tag.ban { color: var(--red); background: rgba(240, 113, 113, .16); }
.lu-tag.doubt { color: var(--muted); background: rgba(180, 193, 182, .12); }
.lu-empty { padding: 10px 0; font-size: 11px; color: var(--muted); }

/* 球员详情弹层 */
.lu-sheet-overlay {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-end; justify-content: center;
  background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .2s ease;
}
.lu-sheet-overlay.on { opacity: 1; }
.lu-sheet {
  width: 100%; max-width: 520px; background: var(--card); border: 1px solid var(--line); border-bottom: 0;
  border-radius: 18px 18px 0 0; padding: 10px 16px calc(26px + env(safe-area-inset-bottom));
  transform: translateY(105%); transition: transform .22s cubic-bezier(.2, .8, .2, 1);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, .55);
}
.lu-sheet-overlay.on .lu-sheet { transform: translateY(0); }
.lu-sheet-handle { width: 36px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .22); margin: 0 auto 14px; }
.lu-sheet-top { display: flex; align-items: center; gap: 12px; }
.lu-sheet-ava {
  position: relative; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex: none;
  background: #233026; border: 2px solid var(--accent);
}
.lu-sheet-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lu-sheet-ava.is-empty::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #233026 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C8A80' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8.4' r='3.6'/%3E%3Cpath d='M4.8 20.4c1.2-3.5 3.8-5.2 7.2-5.2s6 1.7 7.2 5.2'/%3E%3C/svg%3E") center/62% no-repeat;
}
.lu-sheet-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lu-sheet-name { font-size: 17px; font-weight: 700; line-height: 1.25; }
.lu-sheet-sub { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lu-sheet-close {
  margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: none;
  color: var(--muted); font-size: 16px; cursor: pointer; flex: none;
}
.lu-sheet-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lu-sheet-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 16px; }
.lu-stat { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; display: flex; flex-direction: column; gap: 3px; }
.lu-stat span { font-size: 10px; color: var(--muted); }
.lu-stat b { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.lu-stat b.accent { color: var(--accent); }
.lu-sheet-note { margin: 12px 0 0; font-size: 10px; line-height: 1.6; color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
  .lu-sheet, .lu-sheet-overlay { transition: none; }
}

/* 详情页页签：2026-11-15 新增「统计」后 6 个页签，手机上收窄间距与内边距，保证一屏放得下 */
@media (max-width: 430px) {
  #dtabs, .dtabs { gap: 6px; }
  #dtabs button, .dtabs button { padding: 0 9px; font-size: 13px; }
}
@media (max-width: 350px) {
  #dtabs, .dtabs { gap: 4px; }
  #dtabs button, .dtabs button { padding: 0 7px; font-size: 12.5px; }
}

/* 统计页签：进失球概率（2026-11-15 按用户要求，替代原来的技术统计） */
.gp-title { display: flex; align-items: center; gap: 10px; }
.gp-title h2 { flex: 1; margin: 0; white-space: nowrap; }
.gp-sub { margin: 2px 0 0; font-size: 11px; color: var(--muted); }
.gp-toggle { display: flex; gap: 6px; flex: 0 0 auto; }
.gp-toggle button { min-height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 12px; }
.gp-toggle button.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.gp-table { margin-top: 10px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.gp-head { display: grid; grid-template-columns: 1fr 1.1fr 1fr; align-items: center; padding: 8px 10px; background: rgba(0, 0, 0, 0.18); font-size: 12px; color: var(--muted); text-align: center; }
.gp-head span:first-child { text-align: left; }
.gp-head span:last-child { text-align: right; }
.gp-cols, .gp-row { display: grid; grid-template-columns: 1fr 1fr 1.1fr 1fr 1fr; align-items: center; text-align: center; }
.gp-cols { padding: 6px 10px; font-size: 11px; color: var(--muted); }
.gp-row { padding: 9px 10px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text); }
.gp-row .per { color: var(--muted); font-size: 12px; }
.gp-row .hi { color: var(--accent); font-weight: 800; }
.gp-note { margin: 8px 0 0; font-size: 11px; color: var(--muted); }

/* 统计页签：状态对比 / 数据对比 / 概率事件 / 战绩特征 / 相同历史走势（2026-11-15） */
.sc-table, .dc-table, .ft-table { margin-top: 8px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sc-head, .sc-sub, .sc-row { display: grid; grid-template-columns: 62px repeat(6, 1fr); align-items: center; text-align: center; }
.sc-head { padding: 8px 8px 2px; font-size: 12px; color: var(--text); font-weight: 700; }
.sc-head .sc-team { grid-column: span 3; text-align: center; }
.sc-head .sc-team.home { grid-column: 2 / 5; }
.sc-head .sc-team.away { grid-column: 5 / 8; }
.sc-sub { padding: 2px 8px 6px; font-size: 10.5px; color: var(--muted); border-bottom: 1px solid var(--line); }
.sc-row { padding: 8px; font-size: 12px; color: var(--text); }
.sc-row + .sc-row, .dc-row + .dc-row, .ft-row + .ft-row, .sh-row + .sh-row { border-top: 1px solid var(--line); }
.sc-metric { text-align: left; color: var(--muted); font-size: 11.5px; }
.dc-title { display: flex; align-items: center; gap: 8px; }
.dc-title h2 { flex: 1; margin: 0; }
.dc-same { min-height: 30px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 11.5px; }
.dc-same.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.dc-kinds { display: flex; gap: 6px; margin-top: 8px; }
.dc-kinds button { min-height: 28px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 11.5px; }
.dc-kinds button.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.dc-cols, .dc-row { display: grid; grid-template-columns: 52px repeat(8, 1fr); align-items: center; text-align: center; }
.dc-cols { padding: 7px 8px; font-size: 10.5px; color: var(--muted); }
.dc-row { padding: 9px 8px; font-size: 11.5px; color: var(--text); }
.dc-team { text-align: left; font-size: 11.5px; }
.pe-card .pe-row { margin-top: 10px; }
.pe-head { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text); }
.pe-pcts { margin-left: auto; display: flex; gap: 8px; font-size: 11.5px; }
.pe-pcts i { font-style: normal; }
.pe-pcts .win { color: var(--accent); font-weight: 700; }
.pe-pcts .draw { color: var(--muted); }
.pe-pcts .lose { color: rgba(240, 113, 113, 0.75); }
.pe-bar { display: flex; height: 8px; margin-top: 6px; border-radius: 6px; overflow: hidden; background: rgba(255, 255, 255, 0.08); }
.pe-bar span.win { background: var(--accent); }
.pe-bar span.draw { background: rgba(255, 255, 255, 0.22); }
.pe-bar span.lose { background: rgba(240, 113, 113, 0.6); }
.ft-cols, .ft-row { display: grid; grid-template-columns: 2fr repeat(3, 1fr); align-items: center; text-align: center; }
.ft-cols { padding: 7px 10px; font-size: 11px; color: var(--muted); }
.ft-cols span:first-child, .ft-row span:first-child { text-align: left; }
.ft-row { padding: 9px 10px; font-size: 12.5px; color: var(--text); }
.sh-block + .sh-block { margin-top: 12px; }
.sh-block h3 { margin: 0 0 6px; font-size: 13px; color: var(--text); }
.sh-table { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sh-cols, .sh-row { display: grid; grid-template-columns: 70px 1fr 34px 1fr 42px 30px; align-items: center; text-align: center; }
.sh-cols { padding: 7px 8px; font-size: 10px; color: var(--muted); }
.sh-row { padding: 8px; font-size: 11px; color: var(--text); }
.sh-date { text-align: left; color: var(--muted); line-height: 1.25; }
.sh-date i { display: block; font-style: normal; font-size: 9.5px; }
.sh-team { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-line, .sh-score { color: var(--text); }
.sh-result.win { color: var(--accent); font-weight: 700; }
.sh-result.lose { color: rgba(240, 113, 113, 0.8); }
.sh-result.draw { color: var(--muted); }

/* 2026-11-16 定稿：草稿图第六版 / 榜单第二版 完整主题还原 */
#dtabBody .card,
#panelLeaderboard .card {
  background: #101B28;
  border: 1px solid #162434;
  border-radius: 14px;
  padding: 14px 14px 12px;
}
#dtabBody .v6-index,
#panelLeaderboard .v6-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #FF9E2C;
  color: #0B1118;
  font-size: 11.5px;
  font-weight: 800;
  margin-right: 7px;
  flex: none;
}
.v6-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #ffd23e;
  border: 1px solid #6b5a1e;
  border-radius: 6px;
  padding: 1px 7px;
  margin-left: 5px;
  vertical-align: middle;
}
.v6-tag.red { color: #ff7a6e; border-color: #6e322c; }
.v6-tag.green { color: #7ed6a5; border-color: #2c5a40; }
.v6-tag.gray { color: #93A8BE; border-color: #39424d; }

.dp-boost-card { border-color: #7d362e !important; }
.boost-banner {
  background: linear-gradient(135deg, #331d1a, #241513);
  border: 1px solid #7d362e;
  border-radius: 11px;
  padding: 11px 12px;
  margin-top: 9px;
}
.boost-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: #ff9a8f;
  margin-bottom: 6px;
}
.boost-link { font-size: 12px; color: #ffd23e; font-weight: 600; text-decoration: none; }
.boost-rules { font-size: 12px; color: #d8c1be; line-height: 1.65; }
.boost-rules b { color: #fff; }
.boost-val { color: #ff7a6e; }

.tp-poolbox {
  background: rgba(255, 158, 44, .14);
  border: 1px solid #6b5a1e;
  border-radius: 11px;
  padding: 12px;
  text-align: center;
  margin: 8px 0 10px;
}
.tp-amt { font-size: 25px; font-weight: 800; color: #ffd23e; }
.tp-lbl { font-size: 11.5px; color: #93A8BE; margin-top: 3px; line-height: 1.6; }
.tp-lbl b { color: #fff; }
.tp-rulepill {
  background: #0B131D;
  border: 1px solid #162434;
  border-radius: 9px;
  padding: 9px 11px;
  font-size: 12px;
  color: #93A8BE;
  line-height: 1.65;
  margin-top: 9px;
}
.tp-rulepill b { color: #F3F7FC; }

.pm-picks.is-triplet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
#dtabBody .pm-pick,
#dtabBody .pm-choice,
#dtabBody .dp-choice {
  border: 1.5px solid #23374D;
  border-radius: 11px;
  background: #101B28;
  color: #F3F7FC;
}
#dtabBody .pm-pick.is-mine,
#dtabBody .pm-choice.selected,
#dtabBody .dp-choice.selected {
  border-color: #FF9E2C;
  background: rgba(255, 158, 44, .14);
}
#dtabBody .pm-choice b,
#dtabBody .dpc-odds { color: #FF9E2C; }
#dtabBody .dpc-odds.is-muted { color: #69727e; }
#dtabBody .dp-market { border-top: 1px solid #23374D; padding-top: 10px; margin-top: 10px; }
#dtabBody .dp-balance b { color: #FF9E2C; font-size: 17px; }
#dtabBody .dp-inline-order { margin-top: 11px; padding-top: 10px; border-top: 1px solid #23374D; }
#dtabBody .pm-chips { display: flex; gap: 7px; margin: 8px 0 9px; }
#dtabBody .pm-chip {
  flex: 1;
  border: 1.5px solid #23374D;
  border-radius: 10px;
  padding: 8px 0;
  text-align: center;
  font-size: 13px;
  background: #101B28;
  color: #F3F7FC;
  cursor: pointer;
}
#dtabBody .pm-chip.selected {
  border-color: #FF9E2C;
  background: rgba(255, 158, 44, .14);
  color: #FF9E2C;
  font-weight: 800;
}
#dtabBody .pm-payout { font-size: 12.5px; color: #93A8BE; margin: 0 0 10px; }
#dtabBody .pm-payout b { color: #FF9E2C; font-size: 14px; }
#dtabBody .pm-submit {
  width: 100%;
  border: none;
  border-radius: 11px;
  background: #FF9E2C;
  color: #0B1118;
  font-size: 15.5px;
  font-weight: 800;
  padding: 10px 0;
  cursor: pointer;
}
#dtabBody .pm-submit:disabled { background: #162434; color: #69727e; cursor: not-allowed; }
.pm-choices.is-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.pm-choices.is-scoregrid { max-height: 224px; overflow-y: auto; padding-right: 2px; }
#dtabBody .pm-track { height: 14px; border-radius: 7px; background: #162434; }
#dtabBody .pm-seg.seg-a { background: #FF9E2C; }
#dtabBody .pm-seg.seg-b { background: #3e7cb1; }
.pm-seg.seg-c { background: #e2574c; }
#dtabBody .pm-diverge { background: #331d1a; border: 1px solid #6e322c; color: #ffb3ab; border-radius: 9px; padding: 9px 11px; }

.lb-entry-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; background: #101B28; border: 1.5px solid #23374D; border-radius: 11px; padding: 13px 14px; color: #F3F7FC; font-size: 14px; cursor: pointer; }
.lb-entry-btn b { color: #FF9E2C; margin-left: 6px; font-size: 12.5px; }
.lb-tabs { display: flex; flex-wrap: wrap; gap: 5px; background: #101B28; border: 1px solid #162434; border-radius: 12px; padding: 5px; margin-bottom: 12px; }
.lb-tab { flex: 1 1 30%; padding: 8px 0; border: none; border-radius: 9px; background: transparent; color: #93A8BE; font-size: 13.5px; cursor: pointer; }
.lb-tab.on { background: #FF9E2C; color: #0B1118; font-weight: 800; }
.lb-threshold { background: #0B131D; border: 1px solid #162434; border-radius: 9px; padding: 8px 10px; font-size: 11.5px; color: #93A8BE; line-height: 1.6; margin: 8px 0 10px; }
.lb-threshold b { color: #FF9E2C; }
.lb-subtabs { display: flex; gap: 8px; margin: 0 0 10px; }
.lb-subtab { flex: 1; padding: 8px 0; border: 1.5px solid #23374D; border-radius: 10px; background: #101B28; color: #93A8BE; font-size: 13px; cursor: pointer; }
.lb-subtab.on { border-color: #FF9E2C; background: rgba(255, 158, 44, .14); color: #FF9E2C; font-weight: 700; }
.lb-sec { margin-bottom: 12px; }
#panelLeaderboard .roi-rank { width: 23px; height: 23px; border-radius: 50%; background: #162434; color: #93A8BE; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
#panelLeaderboard .roi-rank.is-gold { background: #ffd23e; color: #0B1118; }
#panelLeaderboard .roi-rank.is-silver { background: #d7dde5; color: #0B1118; }
#panelLeaderboard .roi-rank.is-bronze { background: #d08a4a; color: #0B1118; }
#panelLeaderboard .roi-row { border-bottom: 1px solid #23374D; padding: 10px 2px; }
#panelLeaderboard .roi-row.is-me { background: rgba(255, 158, 44, .14); border: 1px solid #6b5a1e; border-radius: 10px; padding: 10px 8px; margin: 4px 0; }
#panelLeaderboard .roi-title-badge { font-size: 11px; color: #ffd23e; border: 1px solid #6b5a1e; border-radius: 6px; padding: 1px 6px; margin-left: 6px; background: transparent; }
.lb-masters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 9px; }
.lb-master-card { background: #101B28; border: 1px solid #162434; border-radius: 11px; padding: 9px 10px; font-size: 12px; color: #93A8BE; display: flex; flex-direction: column; gap: 3px; line-height: 1.5; }
.lb-master-card b { color: #F3F7FC; font-size: 13px; }
.lb-m-roi { color: #34C77B; font-weight: 700; font-size: 13.5px; }
.lb-m-badge { display: inline-block; align-self: flex-start; margin-top: 2px; font-size: 10.5px; color: #ffd23e; border: 1px solid #6b5a1e; border-radius: 5px; padding: 1px 5px; }
.lb-bal { font-size: 12px; color: #FF9E2C; font-weight: 700; margin-left: auto; }

/* 详情积分页折叠次要区块（第 4 块风向对照 + 第 6 块本场记录与AI参考） */
.dp-fold {
  display: block;
}
.dp-fold-sum {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.dp-fold-sum::-webkit-details-marker { display: none; }
.dp-fold-hint {
  font-size: 12px;
  color: #93A8BE;
  white-space: nowrap;
  flex-shrink: 0;
}
.dp-fold[open] > .dp-fold-sum .dp-fold-hint::before { content: "收起 ▾"; }
.dp-fold:not([open]) > .dp-fold-sum .dp-fold-hint::before { content: "点击展开 ›"; }
.dp-fold-body {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #23374D;
}
.dp-fold-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 6px;
}
.dp-fold-body .v6-ai {
  margin-top: 12px;
}
.newbie-tip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
  padding: 9px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(2, 151, 222, .15), rgba(255, 158, 44, .10));
  border: 1px solid rgba(2, 151, 222, .38);
  font-size: 12.5px;
  line-height: 1.5;
  color: #F3F7FC;
}
.newbie-tip b { color: var(--accent); }
.newbie-tip button {
  flex: none;
  border: 0;
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font: inherit;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}
.squad-banner {
  background: linear-gradient(135deg, rgba(2, 151, 222, .16), rgba(255, 158, 44, .12));
  border: 1px solid rgba(2, 151, 222, .52);
  border-radius: 14px;
  padding: 11px 12px;
  margin: 0 0 10px;
}
.squad-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}
.squad-tag { font-size: 12px; font-weight: 700; color: #FF9E2C; }
.squad-meta { font-size: 11px; color: var(--muted); white-space: nowrap; }
.squad-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.squad-teams { font-size: 14.5px; font-weight: 700; color: var(--text); }
.squad-sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.squad-cta, .empty-guide-cta {
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 13px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.empty-guide {
  background: var(--card);
  border: 1px dashed rgba(2, 151, 222, .45);
  border-radius: 14px;
  padding: 16px 14px;
  text-align: center;
}
.empty-guide h3 { margin: 0 0 6px; font-size: 15px; color: var(--text); }
.empty-guide p { margin: 0 0 12px; font-size: 12.5px; color: var(--muted); }
.empty-guide-cta { width: 100%; padding: 10px 16px; font-size: 13.5px; }
.lb-progress {
  background: #101B28;
  border: 1px solid rgba(255, 158, 44, .38);
  border-radius: 12px;
  padding: 11px 12px;
  margin: 10px 0 12px;
}
.lb-prog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.lb-prog-link {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #FF9E2C;
  cursor: pointer;
}
.prog-row { margin-bottom: 8px; }
.prog-row:last-of-type { margin-bottom: 6px; }
.prog-txt { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.prog-txt b { color: var(--text); }
.prog-track { height: 7px; background: #162434; border-radius: 999px; overflow: hidden; }
.prog-fill { height: 100%; background: linear-gradient(90deg, #0297DE, #FF9E2C); border-radius: 999px; }
.lb-prog-foot { font-size: 12px; color: #FF9E2C; margin: 6px 0 0; }

/* 用户喜欢的球队（固定玫瑰粉高亮，与「我的 → 喜欢的球队」设置同步） */
.match .m-teams .t .nm.is-fav-team {
  color: #F472B6;
  background: rgba(244, 114, 182, .16);
  padding: 1px 6px;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(244, 114, 182, .50);
}

/* 手机端赛事列表：收紧两侧多余留白、比分列与红黄牌间距，把宽度让给队名 */
@media (max-width: 767px) {
  .match { padding: 7px 8px 6px; }
  .fav { left: 2px; width: 18px; }
  .fav svg { width: 13px; height: 13px; }
  .m-teams { padding: 0 12px; gap: 3px; }
  .m-teams .t { gap: 2px; }
  .match .m-teams .t .nm { font-size: 14px; font-weight: 700; }
  .match .m-teams .t .nm.is-fav-team { padding: 1px 4px; }
  .m-teams .t .rank { font-size: 11px; }
  .m-teams .t .tcard { min-width: 13px; height: 14px; line-height: 14px; font-size: 10.5px; margin: 0 1px; }
  .m-score { min-width: 48px; padding-left: 6px; padding-right: 6px; }
  .m-score-main { font-size: 20px; line-height: 21px; }
}

/* 主页三枚紧凑筛选胶囊 + 独立全屏选队页 + 第 1 步联赛弹窗 */
.filterbar {
  padding: 2px 2px 6px;
  gap: 6px;
  flex-wrap: wrap;
}
.filterbar .filter-open {
  max-width: none;
  padding: 5px 9px;
  font-size: 12px;
  gap: 4px;
  white-space: nowrap;
}
.filterbar #filterOpen.is-dimmed {
  opacity: .46;
}
.filterbar .fav-teams-btn {
  border-color: rgba(244, 114, 182, .48);
  background: rgba(244, 114, 182, .12);
  color: #F472B6;
  font-weight: 600;
}
.filterbar .fav-teams-btn.is-filtering {
  background: #F472B6;
  border-color: #F472B6;
  color: #160911;
  font-weight: 700;
}
.filterbar .fav-manage-btn {
  border-color: var(--line);
  background: var(--card);
  color: var(--text);
  font-weight: 600;
}

.pk-page {
  position: fixed;
  inset: 0;
  z-index: 125;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.pk-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 10px;
  background: #0D1622;
  border-bottom: 1px solid var(--line);
}
.pk-back {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 2px;
  cursor: pointer;
}
.pk-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.pk-done {
  border: 0;
  border-radius: 999px;
  padding: 6px 14px;
  background: #F472B6;
  color: #160911;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.pk-picked-bar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: rgba(244, 114, 182, .08);
  border-bottom: 1px solid rgba(244, 114, 182, .20);
}
.pk-picked-label {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  color: #F472B6;
  white-space: nowrap;
}
.pk-picked-scroll {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pk-picked-scroll::-webkit-scrollbar { display: none; }
.pk-picked-empty {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.pk-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(244, 114, 182, .50);
  background: rgba(244, 114, 182, .16);
  color: #F472B6;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.pk-chip i { font-style: normal; opacity: .78; }

.step1-bar {
  flex: none;
  width: calc(100% - 28px);
  margin: 12px 14px 6px;
  padding: 11px 13px;
  border-radius: 12px;
  background: #101B28;
  border: 1px solid rgba(2, 151, 222, .45);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.s1-left {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.s1-tag {
  font-size: 11.5px;
  color: var(--muted);
}
.s1-val {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.s1-btn {
  flex: none;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(2, 151, 222, .18);
  color: #38BDF8;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.step2-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px 8px;
}
.s2-title {
  flex: none;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
}
.s2-search {
  flex: 1;
  min-width: 0;
  max-width: 190px;
  height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #101B28;
  color: var(--text);
  font-size: 12.5px;
}
.s2-search:focus { outline: none; border-color: #F472B6; }

.pk-teams-wrap {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 2px 14px 16px;
}
.pk-teams-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.pk-team-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 44px;
  padding: 8px 11px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #101B28;
  color: var(--text);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.pk-team-card .tm-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pk-team-card .tm-mark {
  flex: none;
  font-size: 15px;
  color: var(--muted);
}
.pk-team-card.on {
  border-color: #F472B6;
  background: rgba(244, 114, 182, .16);
  color: #F472B6;
  font-weight: 700;
}
.pk-team-card.on .tm-mark { color: #F472B6; }
.pk-empty-tip {
  grid-column: 1 / -1;
  padding: 24px 8px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.pk-foot {
  flex: none;
  display: flex;
  gap: 8px;
  padding: 9px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: #0D1622;
  border-top: 1px solid var(--line);
}
.pk-foot input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 11px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #05090E;
  color: var(--text);
  font-size: 13px;
}
.pk-foot input:focus { outline: none; border-color: #F472B6; }
.pk-foot button {
  flex: none;
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  background: var(--accent);
  color: #FFFFFF;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* 第 1 步弹窗：搜索 + 热门 + A-Z 全部联赛 */
.lgm-mask {
  position: fixed;
  inset: 0;
  z-index: 135;
  background: rgba(0, 0, 0, .72);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.lg-modal {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: 84vh;
  max-height: 760px;
  background: #0D1622;
  border-radius: 18px 18px 0 0;
  border-top: 1px solid #223244;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
@media (min-width: 768px) {
  .lgm-mask { align-items: center; }
  .lg-modal { border-radius: 16px; border: 1px solid #223244; height: 78vh; }
}
.lgm-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px 8px;
}
.lgm-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.lgm-close {
  border: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #162434;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
}
.lgm-search {
  flex: none;
  padding: 4px 14px 10px;
  border-bottom: 1px solid var(--line);
}
.lgm-search input {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #05090E;
  color: var(--text);
  font-size: 13.5px;
}
.lgm-search input:focus { outline: none; border-color: var(--accent); }
.lgm-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px 30px calc(24px + env(safe-area-inset-bottom, 0px)) 14px;
}
.lgm-sec-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin: 10px 0 7px;
}
.lgm-sec-title:first-child { margin-top: 2px; }
.lgm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.lgm-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 9px 9px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #101B28;
  color: var(--text);
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.lgm-item .nm {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lgm-item .cnt {
  flex: none;
  font-size: 11px;
  color: var(--muted);
}
.lgm-item .picked-num {
  flex: none;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #F472B6;
  color: #160911;
  font-size: 10.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lgm-item.on {
  border-color: var(--accent);
  background: rgba(2, 151, 222, .20);
  color: #FFFFFF;
}
.lgm-az {
  position: absolute;
  right: 4px;
  top: 106px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  z-index: 2;
}
.lgm-az button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  padding: 1px 4px;
  line-height: 1.2;
  cursor: pointer;
}
.lgm-az button:active { color: var(--accent); }

/* 滚球预测确认弹窗：限时「发给客服」按钮（2026-11-27） */
.pr-cs-share {
  margin: 10px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pr-cs-warn {
  font-size: 12px;
  line-height: 1.45;
  color: #FBBF24;
  background: rgba(251, 191, 36, .10);
  border: 1px solid rgba(251, 191, 36, .28);
  border-radius: 10px;
  padding: 8px 10px;
}
.pr-cs-btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--accent);
  color: #FFFFFF;
  font: inherit;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
}
.pr-cs-btn:disabled { opacity: .65; cursor: default; }
.pr-cs-btn.is-sent {
  background: rgba(52, 199, 123, .18);
  border: 1px solid #34C77B;
  color: #34C77B;
}

.admin-upstream-alert {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #B91C1C;
  border: 1px solid rgba(254, 202, 202, .45);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.admin-upstream-alert[hidden] { display: none !important; }
.admin-upstream-alert-text { flex: 1; min-width: 0; }
.admin-upstream-alert-btn {
  flex: none;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  color: #FFFFFF;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 11px;
  cursor: pointer;
}
.admin-upstream-alert-btn:disabled { opacity: .65; cursor: default; }

.user-offline-banner {
  margin: 0 0 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(245, 158, 11, .16);
  border: 1px solid rgba(245, 158, 11, .45);
  color: #FCD34D;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
}
.user-offline-banner[hidden] { display: none !important; }

.m-live-signal {
  margin-top: 6px;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(245, 158, 11, .10);
  border: 1px solid rgba(245, 158, 11, .24);
  color: #FDE68A;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
}
.m-real-bet {
  margin-top: 5px;
  font-size: 11.5px;
  color: var(--ink-2, #9EB3C8);
}
.m-real-bet b { color: #38BDF8; }

.dp-insights-card {
  margin-bottom: 10px;
  padding: 11px 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(19, 36, 56, .92), rgba(13, 25, 39, .95));
  border: 1px solid rgba(2, 151, 222, .30);
}
.dp-insights-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13.5px;
  font-weight: 800;
}
.dp-insights-badge {
  background: rgba(229, 72, 77, .16);
  color: #FF8A8E;
  border: 1px solid rgba(229, 72, 77, .35);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.dp-insights-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dp-insights-list li {
  background: rgba(5, 10, 16, .42);
  border-radius: 9px;
  padding: 7px 9px;
  font-size: 12.5px;
  line-height: 1.45;
}
.dp-insights-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  margin-right: 6px;
  background: rgba(2, 151, 222, .22);
  color: #7DD3FC;
}
.dp-insights-note {
  margin: 7px 0 0;
  font-size: 11px;
  color: #7A91A8;
  text-align: center;
}

.dp-mkt-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 10px 0 12px;
}
.dp-mkt-tab {
  border: 1px solid var(--line, rgba(147, 168, 190, .20));
  background: rgba(18, 32, 48, .9);
  color: var(--ink-2, #9EB3C8);
  border-radius: 10px;
  padding: 9px 4px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  position: relative;
  transition: all .15s ease;
}
.dp-mkt-tab.is-on {
  background: var(--accent, #0297DE);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(2, 151, 222, .32);
}
.dp-mkt-new {
  position: absolute;
  top: -6px;
  right: -2px;
  background: #E5484D;
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 999px;
  line-height: 1.2;
}
.dp-dist-box {
  margin-top: 10px;
  padding: 9px 10px;
  border-radius: 11px;
  background: rgba(5, 10, 16, .45);
  border: 1px solid rgba(147, 168, 190, .14);
}
.dp-dist-label {
  margin: 0 0 7px;
  font-size: 12px;
  color: var(--ink-2, #9EB3C8);
  line-height: 1.4;
}

/* ==================== 2026-11-29 钻石实时预警（首行零增高）+ 黑金战绩命中卡 ==================== */
.match .m-head {
  height: 20px;
  min-height: 20px;
  gap: 5px;
  overflow: hidden;
}
.match .m-head .lg {
  flex: 0 1 auto;
  max-width: 28%;
}
.match .m-head .m-time {
  flex: 0 0 auto;
}
.match .m-head .m-head-mid {
  flex: 1 1 0%;
  min-width: 0;
  height: 20px;
  display: flex;
  align-items: center;
  overflow: hidden;
  cursor: pointer;
}
.match .m-head .m-right {
  margin-left: 0;
  flex: 0 0 auto;
}

.sig-inline {
  position: relative;
  width: 100%;
  height: 19px;
  border-radius: 999px;
  padding: 0 6px 0 2px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 19px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  white-space: nowrap;
}
.sig-inline.sig-hot {
  background: rgba(56, 189, 248, .12);
  border: 1px solid rgba(56, 189, 248, .48);
  color: #BAE6FD;
}
.sig-inline.sig-goal {
  background: rgba(20, 184, 166, .13);
  border: 1px solid rgba(45, 212, 191, .45);
  color: #99F6E4;
}
.sig-inline.sig-comeback {
  background: rgba(99, 102, 241, .14);
  border: 1px solid rgba(129, 140, 248, .48);
  color: #C7D2FE;
}
.sig-inline.sig-corner {
  background: rgba(56, 189, 248, .12);
  border: 1px solid rgba(56, 189, 248, .45);
  color: #BAE6FD;
}
.sig-inline.sig-hit {
  background: linear-gradient(90deg, rgba(251, 191, 36, .26), rgba(245, 158, 11, .14));
  border: 1px solid rgba(253, 224, 71, .72);
  color: #FEF08A;
  box-shadow: 0 0 10px rgba(251, 191, 36, .22);
}
.sig-inline.sig-hit::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 38%;
  left: -45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);
  transform: skewX(-20deg);
  animation: hitShimmer 3.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hitShimmer {
  0%, 55% { left: -45%; }
  100% { left: 135%; }
}
.sig-badge {
  flex-shrink: 0;
  height: 15px;
  line-height: 15px;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 9.8px;
  font-weight: 900;
  letter-spacing: .2px;
  white-space: nowrap;
  background: rgba(255, 255, 255, .12);
  color: #FFFFFF;
}
.sig-hot .sig-badge { background: rgba(56, 189, 248, .28); color: #E0F2FE; }
.sig-goal .sig-badge { background: rgba(20, 184, 166, .28); color: #A7F3D0; }
.sig-comeback .sig-badge { background: rgba(99, 102, 241, .30); color: #E0E7FF; }
.sig-corner .sig-badge { background: rgba(56, 189, 248, .28); color: #BAE6FD; }
.sig-hit .sig-badge {
  background: linear-gradient(135deg, #FEF08A 0%, #F59E0B 100%);
  color: #1C1102;
  box-shadow: 0 0 8px rgba(251, 191, 36, .48);
}
.sig-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 90%, transparent 100%);
}
.sig-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  will-change: transform;
  animation: sigMarquee 10s linear infinite;
}
.sig-inline:hover .sig-track,
.sig-inline:active .sig-track {
  animation-play-state: paused;
}
@keyframes sigMarquee {
  0%, 14% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.match.has-hit {
  position: relative;
  border-color: rgba(251, 191, 36, .76) !important;
  background:
    radial-gradient(circle at 26% 0%, rgba(251, 191, 36, .16), transparent 56%),
    linear-gradient(180deg, rgba(251, 191, 36, .06), var(--v2-card, var(--card)) 58%);
  box-shadow: 0 0 0 1px rgba(251, 191, 36, .18), 0 6px 20px rgba(245, 158, 11, .16);
}
.match.has-hit::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8px;
  right: 8px;
  height: 2px;
  background: linear-gradient(90deg, transparent 4%, #FEF08A 30%, #F59E0B 68%, transparent 96%);
  pointer-events: none;
}
.match.has-hit .m-score.finished .m-score-main,
.match.has-hit .m-score.finished .s,
.match.has-hit .m-score.finished .dash {
  color: #FDE047;
  text-shadow: 0 0 12px rgba(251, 191, 36, .34);
}
.match.has-hit .m-score.finished .m-score-top {
  color: #FBBF24;
}

/* 2026-11-30：全站公告条、聊天数字红点、提示音开关与顶部新消息浮条 */
.chat-dot.has-count {
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #EF4444;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  top: -3px;
  right: -5px;
  box-shadow: 0 0 0 2px #05090E, 0 0 8px rgba(239, 68, 68, .55);
}
.chat-sound-btn {
  font-size: 14px;
  line-height: 1;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  cursor: pointer;
}
.chat-sound-btn.is-muted {
  opacity: .55;
}
.site-notice-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 10px 4px;
  padding: 7px 10px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(14, 165, 233, .16), rgba(56, 189, 248, .08));
  border: 1px solid rgba(56, 189, 248, .38);
  color: #E0F2FE;
  font-size: 12.5px;
}
.site-notice-bar.is-focus {
  background: linear-gradient(90deg, rgba(20, 184, 166, .18), rgba(56, 189, 248, .10));
  border-color: rgba(45, 212, 191, .45);
  color: #CCFBF1;
}
.site-notice-bar .sn-badge {
  flex-shrink: 0;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  font-size: 11px;
  font-weight: 800;
}
.site-notice-bar .sn-text {
  flex: 1;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-notice-bar .sn-close {
  flex-shrink: 0;
  background: none;
  border: 0;
  color: inherit;
  opacity: .72;
  font-size: 13px;
  cursor: pointer;
  padding: 2px 4px;
}
.chat-msg-toast {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translate(-50%, -14px);
  z-index: 9999;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .96);
  border: 1px solid rgba(56, 189, 248, .65);
  color: #E0F2FE;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .48);
  opacity: 0;
  transition: opacity .22s ease, transform .22s ease;
  white-space: nowrap;
}
.chat-msg-toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* 2026-12-01：赛事卡片三段式盘口（左让球 | 中淡冰蓝胜平负 | 右大小球，零增高） */
.m-odds.has-eu {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 6px;
}
.m-odds.has-eu .oh {
  font-size: 11px;
  gap: 3px;
  white-space: nowrap;
}
.m-odds.has-eu .oh-left {
  justify-content: flex-start;
}
.m-odds.has-eu .oh-right {
  justify-content: flex-end;
}
.m-odds.has-eu .oh-eu {
  justify-content: center;
  padding: 0 7px;
  border-left: 1px solid rgba(148, 163, 184, .22);
  border-right: 1px solid rgba(148, 163, 184, .22);
}
.m-odds.has-eu .oh-eu b.eu {
  color: #93C5FD;
  font-weight: 700;
}
.m-odds.has-eu .oh-eu b.eu-d {
  color: #94A3B8;
  font-weight: 600;
}
