/* ================= 联赛详情页 page-league-detail.css =================
   风格：V13 蓝主色 + 90vs 数据密度 + titan007 近六轮标签
   数据：db-league-pages.js（独立数据 JS，不改原始 SETTLE/MATCHES）

   字号规范（主内容区 .ld-layout 只用这 5 档，勿再新增）：
     26px  页面主标题、顶部 KPI 大数字、球队统计卡大数字
     16px  面板标题、区块标题
     14px  主 Tab、简介正文
     13px  表格正文基准（含积分：靠红色 + 800 字重强调，不再放大字号）
     12px  次级信息、表格角标、符号、浮层辅助文字
   ================================================================= */
.ld-crumb { display: flex; gap: 8px; align-items: center; padding: 16px 2px 12px; font-size: 13px; color: #7A8CA5; }
.ld-crumb a { color: #4A6A96; text-decoration: none; }
.ld-crumb a:hover { color: #0A55D5; text-decoration: underline; }
.ld-crumb b { color: #2B3A50; font-weight: 600; }

/* 赛事头部 */
.ld-hero { display: flex; align-items: center; gap: 20px; padding: 22px 26px; margin-bottom: 18px; }
.ld-hero-badge {
  flex: 0 0 76px; width: 76px; height: 76px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: #fff; letter-spacing: 1px;
  background: linear-gradient(135deg, #0A55D5, #2E86FF); box-shadow: 0 6px 18px rgba(10,85,213,.25);
}
.ld-hero-main { flex: 1; min-width: 0; }
.ld-hero-title-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.ld-hero-title { font-size: 26px; font-weight: 700; color: #14335F; margin: 0; letter-spacing: .5px; }
.ld-hero-sub { font-size: 13px; color: #7A8CA5; }
.ld-season-picker { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.ld-season-picker button {
  border: 1px solid #D8E4F4; background: #F7FAFF; color: #4A6A96; border-radius: 14px;
  padding: 4px 12px; font-size: 12px; cursor: pointer; font-family: inherit;
}
.ld-season-picker button:hover { border-color: #0A55D5; color: #0A55D5; }
.ld-season-picker button.active { background: #0A55D5; border-color: #0A55D5; color: #fff; font-weight: 600; }
.ld-hero-meta { display: flex; gap: 22px; }
.ld-metric { text-align: center; min-width: 62px; }
.ld-metric b { display: block; font-size: 26px; font-weight: 800; color: #0A55D5; line-height: 1.2; }
.ld-metric span { font-size: 12px; color: #8A9BB2; }

/* Tab */
/* Tab 栏：显式隐藏纵向滚动条（overflow-x:auto 会让 overflow-y 计算成 auto 冒出竖条）；
   6 个 Tab 无需横向滚动，窄屏可左右滑但隐藏滚动条外观 */
.ld-tabs {
  display: flex; gap: 0; border-bottom: 2px solid #DCE7F6; margin-bottom: 16px;
  padding-bottom: 3px; /* 容纳 active 下划线伪元素，避免 scrollH>clientH 冒出滚动条 */
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none;
}
.ld-tabs::-webkit-scrollbar { display: none; }
.ld-tabs button {
  border: 0; background: transparent; padding: 11px 22px; font-size: 14px;
  color: #5B7396; cursor: pointer; font-family: inherit; position: relative; white-space: nowrap;
}
.ld-tabs button:hover { color: #0A55D5; }
.ld-tabs button.active { color: #0A55D5; font-weight: 700; }
.ld-tabs button.active::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -2px; height: 3px; background: #0A55D5; border-radius: 2px 2px 0 0; }

/* 面板 */
.ld-panel { padding: 0; margin-bottom: 18px; overflow: hidden; }
.ld-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #EEF2F8; flex-wrap: wrap; }
.ld-panel-head h2 { font-size: 16px; font-weight: 700; color: #14335F; margin: 0; }
/* ===== 两排切换器：保留 90vs 的 11+6 项结构，视觉收敛到本站 V13 风格 ===== */
.ld-vs-switch {
  margin: 14px 0 0; padding: 6px 8px 0;
  background: #fff; border: 1px solid #E6EDF7; border-bottom: 2px solid #199CDF;
  border-radius: 6px 6px 0 0;
}
.ld-vs-tabs {
  display: flex; gap: 5px; flex-wrap: nowrap; width: 755px; max-width: 100%;
  margin: 0 auto; padding: 0;
}
.ld-vs-tabs button {
  flex: 1 1 61px; min-width: 0; height: 27px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #DAE5F3; border-bottom-color: #C8D8EC;
  border-radius: 4px 4px 0 0; background: #F5F8FC;
  color: #3F5F8A; font-family: inherit; font-size: 12px; font-weight: 600;
  line-height: 1; cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.ld-vs-tabs button:hover { background: #E9F2FE; color: #0A55D5; border-color: #A9CDF3; }
.ld-vs-tabs button.on {
  background: #199CDF; color: #fff; border-color: #199CDF;
  font-weight: 700;
}
.ld-vs-subtabs {
  display: flex; gap: 3px; flex-wrap: nowrap; width: 60%; max-width: 461px;
  margin: 4px auto 0; padding: 0;
}
.ld-vs-subtabs button {
  flex: 1 1 16%; min-width: 0; height: 27px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #D8E4F3; border-bottom-color: #C7D8EC;
  border-radius: 4px 4px 0 0; background: #F7FAFE;
  color: #4B6588; font-family: inherit; font-size: 12px; font-weight: 600;
  line-height: 1; cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.ld-vs-subtabs button:hover { background: #E9F2FE; color: #0A55D5; border-color: #A9CDF3; }
.ld-vs-subtabs button.on {
  background: #199CDF; color: #fff; border-color: #199CDF;
  font-weight: 700;
}
.ld-vs-tabs button:focus-visible, .ld-vs-subtabs button:focus-visible {
  outline: 2px solid #0A55D5; outline-offset: 1px;
}
.ld-vs-subtabs.disabled { opacity: .45; pointer-events: none; }
.ld-combo-block { scroll-margin-top: 72px; }
@media (max-width: 860px) {
  .ld-vs-switch { padding: 5px 6px 0; }
  .ld-vs-tabs { width: 100%; gap: 2px; }
  .ld-vs-tabs button { font-size: 12px; flex: 1 1 0; height: 26px; }
  .ld-vs-subtabs { width: 100%; }
  .ld-vs-subtabs button { font-size: 12px; height: 26px; }
}
/* hidden 属性必须能覆盖 display:flex 等显式显示（原 6 维度子标签已移到 90vs 切换器第二排） */
.ld-subtabs[hidden], .ld-vs-subtabs[hidden], #ldVsStandWrap[hidden], #ldVsRankWrap[hidden] { display: none !important; }
.ld-subtabs { display: flex; gap: 4px; }
.ld-subtabs button {
  border: 1px solid transparent; background: #F2F6FC; color: #5B7396; border-radius: 4px;
  padding: 5px 12px; font-size: 12px; cursor: pointer; font-family: inherit;
}
.ld-subtabs button.active { background: #0A55D5; color: #fff; font-weight: 600; }
.ld-note { padding: 10px 20px; margin: 0; font-size: 12px; color: #8A9BB2; background: #FAFCFF; }

/* ================= 表格 · V13 现代体育数据站风格 =================
   设计原则：表头带质感、行有呼吸感、分区语义保留但去掉花哨色块、
   近六走势用纯色块（结果语义放 title）、积分列强调、数字等宽对齐 */
/* 表格宽度已用百分比列宽铺满容器，无需横向滚动条；窄屏仍保留 auto 以便 760px 最小宽度表格可滚动 */
.ld-table-wrap { overflow-x: hidden; background: #fff; border: 1px solid #E6EDF7; border-radius: 8px; }
@media (max-width: 860px) { .ld-table-wrap { overflow-x: auto; } }
.ld-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; font-variant-numeric: tabular-nums; }
.ld-table thead th {
  background: linear-gradient(180deg, #F8FBFF, #EDF4FC); color: #1B3A66; font-weight: 700;
  padding: 11px 8px; text-align: center; white-space: nowrap; border-bottom: 2px solid #CFDFF4;
}
/* 统计表固定表头：面板 overflow 会使 thead/th 的 CSS sticky 失效，
   滚动时由 JS 同步一份 fixed 表头到页面顶部，列宽与文案直接复用原表头 */
/* 吸顶表头停在顶部导航栏(.topbar sticky z60/66px)下方：top 由 JS 按导航实测高度设置，层级低于导航 */
.ld-sticky-head { position: fixed; top: 0; left: 0; z-index: 55; pointer-events: none; }
.ld-sticky-head[hidden] { display: none; }
.ld-sticky-head table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; box-shadow: 0 3px 10px rgba(20,51,95,.10); }
.ld-table tbody td {
  padding: 10px 8px; text-align: center; border-bottom: 1px solid #F2F6FB;
  color: #43546B; white-space: nowrap;
}
.ld-table tbody tr:last-child td { border-bottom: 0; }
.ld-table tbody tr { transition: background .15s ease; }
.ld-table tbody tr:hover { background: #F0F6FF; }
.ld-table tbody tr:nth-child(even) { background: #FAFCFF; }
.ld-table tbody tr:nth-child(even):hover { background: #F0F6FF; }
/* 球队 / 主客队列左对齐 */
.ld-team-col, .ld-home, .ld-away { text-align: left !important; padding-left: 16px !important; }
/* 90vs 积分榜红牌数：跟在球队名后的红色角标 */
.ld-red-card {
  display: inline-block; min-width: 14px; height: 14px; margin-left: 5px; padding: 0 3px;
  border-radius: 3px; background: #E02020; color: #fff;
  font-size: 12px; font-weight: 700; line-height: 14px; text-align: center;
  vertical-align: 1px; box-shadow: 0 1px 2px rgba(224, 32, 32, .22);
}
/* 90vs 黄牌数：yw_c 默认隐藏，勾选“显示牌数”后跟在队名后 */
.ld-yellow-card {
  display: inline-block; min-width: 14px; height: 14px; margin-left: 4px; padding: 0 3px;
  border-radius: 3px; background: #F2B41E; color: #fff;
  font-size: 12px; font-weight: 700; line-height: 14px; text-align: center;
  vertical-align: 1px; box-shadow: 0 1px 2px rgba(242, 180, 30, .22);
}
/* 排名：90vs 原页 sheng_jiang 分区配色的实色块 + 白字（欧冠/欧联/欧会/降级） */
.ld-rank-cell { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; }
.ld-rank-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 3px; border-radius: 3px;
  background: #6B7C93; color: #fff; font-weight: 700; font-size: 12px; line-height: 1;
}
.ld-rank.z1 .ld-rank-num { background: #FF9966; }
.ld-rank.z2 .ld-rank-num { background: #00A8CC; }
.ld-rank.z3 .ld-rank-num { background: #009900; }
.ld-rank.z4 .ld-rank-num { background: #B1A7A7; }
/* 积分列强调 */
/* 积分数字不再靠字号放大，统一 13px 表格基准，靠红色 + 800 字重强调 */
.ld-pts { color: #C62828 !important; font-weight: 800; font-size: 13px; }
.ld-standings-table .ld-accent-cell { background: #FFF7F5; }
.ld-team-name { font-weight: 600; color: #1B3A66; }
/* 表格铺满卡片宽度，杜绝右侧大片留白；auto 布局让球队名/近6场吸收多余空间 */
.ld-standings-table { width: 100%; }
.ld-standings-table th, .ld-standings-table td { padding-left: 6px; padding-right: 6px; }
.ld-fixture-table { width: 100%; max-width: 100%; }
/* 近六走势：合并为 1 个跨列单元格；与球队页「赛果」同款浅底彩字胶囊，色块内写“胜/平/负”单字。
   配色统一：胜/大=红，走/平=绿，输/小/负=蓝；强调靠色值与字重，不靠渐变大色块。 */
.ld-form-col { padding-left: 6px !important; padding-right: 6px !important; }
.ld-form { display: inline-flex; gap: 3px; vertical-align: middle; }
.ld-form i {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 4px; border-radius: 3px;
  font-size: 12px; font-style: normal; font-weight: 800; line-height: 1;
}
.ld-form i.w { background: #FFF1EC; color: #C62828; }
.ld-form i.d { background: #EAF6EA; color: #2E7D32; }
.ld-form i.l { background: #EAF2FF; color: #0A55D5; }
.ld-standings-table th, .ld-standings-table td { padding-left: 6px; padding-right: 6px; }
.ld-standings-table .ld-team-col { padding-left: 16px !important; }
.ld-zone-legend { display: flex; gap: 18px; flex-wrap: wrap; padding: 12px 20px; font-size: 12px; color: #6C7E96; }
.ld-zone-legend span::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 5px; vertical-align: middle; }
.ld-zone-legend .z1::before { background: #FF9966; }
.ld-zone-legend .z2::before { background: #00A8CC; }
.ld-zone-legend .z3::before { background: #009900; }
.ld-zone-legend .z4::before { background: #B1A7A7; }

/* 轮次导航：左侧联赛色块醒目展示「联赛名 + 当前轮」，右侧轮次按钮填满宽度
   颜色由 db-league-colors.js 按 90vs 原页 bgcolor 注入 */
.ld-round-bar {
  display: flex; align-items: stretch; gap: 8px;
  margin: 0 20px 12px;
}
.ld-round-league {
  flex: 0 0 92px; width: 92px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  background: var(--ld-league-bg, #FF3333); color: var(--ld-league-text, #fff);
  border-radius: 4px;
}
.ld-round-league b { font-size: 16px; font-weight: 800; letter-spacing: 1px; line-height: 1.1; }
.ld-round-league small { font-size: 12px; opacity: .92; white-space: nowrap; }
.ld-round-current { display: none; } /* 兼容旧结构；当前轮文案直接写进 small */
/* 两行铺满，全部轮次一眼可见；只把边框/圆角/选中态做轻量化打磨 */
.ld-round-nav {
  flex: 1; display: grid; gap: 5px; align-content: center; padding: 4px 0; min-width: 0;
}
.ld-round-nav button {
  min-width: 0; width: 100%; height: 28px; padding: 0;
  border: 1px solid #E2EBF7; background: #FAFCFF; color: #4A6A96; border-radius: 4px;
  font-size: 12px; line-height: 26px; cursor: pointer; font-family: inherit;
}
.ld-round-nav button:hover {
  border-color: var(--ld-active-bg, #007FE4); background: #EAF2FF; color: var(--ld-active-bg, #007FE4);
}
.ld-round-nav button.active {
  background: var(--ld-active-bg, #007FE4); border-color: var(--ld-active-bg, #007FE4);
  color: var(--ld-active-text, #fff); font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 127, 228, .22);
}

/* 数据统计 */
.ld-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 20px; }
.ld-stat-card { background: #F7FAFF; border: 1px solid #E4EDF9; border-radius: 6px; padding: 14px 16px; }
.ld-stat-card label { display: block; font-size: 12px; color: #7A8CA5; margin-bottom: 6px; }
.ld-stat-card b { font-size: 26px; font-weight: 800; color: #14335F; }
.ld-stat-card small { font-size: 12px; color: #8A9BB2; margin-left: 4px; }
.ld-stat-card.accent b { color: #0A55D5; }
.ld-stat-bars { padding: 0 20px 20px; }
.ld-bar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 13px; }
.ld-bar-row > span:first-child { width: 132px; color: #4A6A96; }
.ld-bar-track { flex: 1; height: 14px; background: #EDF3FB; border-radius: 7px; overflow: hidden; }
.ld-bar-fill { height: 100%; background: linear-gradient(90deg, #0A55D5, #4A9BFF); border-radius: 7px; }
.ld-bar-row > b { width: 72px; text-align: right; color: #2B3A50; }

/* 球队网格 */
.ld-team-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 10px; padding: 20px; }
.ld-team-card { display: block; text-decoration: none; border: 1px solid #E4EDF9; border-radius: 6px; padding: 12px 6px; text-align: center; background: #fff; }
.ld-team-card:hover { border-color: #0A55D5; box-shadow: 0 4px 12px rgba(10,85,213,.1); }
.ld-team-card .ld-team-badge { width: 44px; height: 44px; margin: 0 auto 8px; border-radius: 50%; background: #EAF2FF; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #0A55D5; font-weight: 700; overflow: hidden; }
.ld-team-card .ld-team-badge img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ld-team-card b { display: block; font-size: 13px; color: #2B3A50; }
.ld-team-card small { font-size: 12px; color: #8A9BB2; }

/* 赛事介绍 */
.ld-about-body { padding: 20px 24px; font-size: 14px; line-height: 1.9; color: #3B4C63; }
.ld-about-body h3 { font-size: 16px; color: #14335F; margin: 0 0 8px; padding-left: 10px; border-left: 3px solid #0A55D5; }
.ld-about-body p { margin: 0 0 20px; }

@media (max-width: 1180px) { .ld-team-grid { grid-template-columns: repeat(6, 1fr); } .ld-stat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) {
  .ld-hero { flex-wrap: wrap; } .ld-hero-meta { width: 100%; justify-content: space-around; }
  .ld-team-grid { grid-template-columns: repeat(4, 1fr); } .ld-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .ld-round-nav { max-width: 100%; } .ld-form-col { display: none; }
}
@media (max-width: 520px) { .ld-team-grid { grid-template-columns: repeat(3, 1fr); } }

/* 全量视图补充：赛季外链、宽表、维度按钮 */
.ld-season-picker a {
  border: 1px solid #D8E4F4; background: #F7FAFF; color: #4A6A96; border-radius: 14px;
  padding: 4px 12px; font-size: 12px; text-decoration: none;
}
.ld-season-picker a:hover { border-color: #0A55D5; color: #0A55D5; }
.ld-season-picker a.active { background: #0A55D5; border-color: #0A55D5; color: #fff; font-weight: 600; }
/* 多赛季：最近 4 个快捷按钮 + 其余赛季用下拉列表框选择（如西甲 28 个赛季） */
.ld-season-select {
  border: 1px solid #9DB9E4; background: #fff; color: #0A55D5; border-radius: 14px;
  padding: 4px 10px; font-size: 12px; cursor: pointer; font-family: inherit; max-width: 160px;
}
.ld-season-select:hover { border-color: #0A55D5; background: #F7FAFF; }
.ld-subtabs { flex-wrap: wrap; }
/* 赛程表：核心 9 列自适应，字距舒展不再挤成一团 */
/* 90vs 习惯：主队右对齐贴中间比分、客队左对齐贴比分，形成对称对阵 */
.ld-fixture-table { min-width: 0; font-size: 12px; }
.ld-fixture-table th, .ld-fixture-table td { padding: 9px 7px !important; }
.ld-fixture-table .ld-home { text-align: right !important; padding-right: 4px !important; padding-left: 6px !important; }
.ld-fixture-table .ld-away { text-align: left !important; padding-left: 4px !important; padding-right: 6px !important; }
.ld-fixture-table .ld-home-team, .ld-fixture-table .ld-away-team { font-weight: 600; color: #1B3A66; }
.ld-fixture-table .ld-empty { color: #C2CDDB; }
/* 90vs 配色：胜/赢/大/单/比分/状态=红，负/输/小/双=蓝，平=绿，走=灰 */
.ld-fixture-table .ld-c-red { color: #E02020; }
.ld-fixture-table .ld-c-blue { color: #1A4FD6; }
.ld-fixture-table .ld-c-green { color: #19954F; }
/* 赛程表链接：队名/比分保持原色，hover 才加下划线 */
.ld-fixture-table a.ld-team-link { color: inherit; text-decoration: none; }
.ld-fixture-table a.ld-team-link:hover { color: #0A55D5; text-decoration: underline; }
.ld-fixture-table a.ld-score-link { color: inherit; text-decoration: none; }
.ld-fixture-table a.ld-score-link:hover { text-decoration: underline; }
.ld-fixture-table .ld-c-gray { color: #8A9BB2; }
/* 盘口 * 号：90vs 表示主队受让（客队让球），单独标红；最大比数表/浮层头部同样生效 */
.ld-hk-star { color: #E02020; }
.ld-fixture-table .ld-score-num { font-weight: 800; font-size: 13px; }
/* 盘口：让球盘主色、大小球次要（勾选大小盘口时两行） */
.ld-fixture-table .ld-hk-main { display: block; line-height: 1.5; }
.ld-fixture-table .ld-ou-sub { display: block; color: #8A9BB2; font-size: 12px; line-height: 1.5; }
/* 角球：绿色角旗 + 全场角球数（hover 显示全场/半场主客角球浮层） */
.ld-fixture-table .ld-corner-flag { display: inline-flex; align-items: center; gap: 2px; color: #19954F; }
.ld-fixture-table .ld-corner-flag svg { width: 13px; height: 13px; display: block; }
.ld-fixture-table .ld-corner-flag b { font-size: 12px; font-weight: 700; color: #19954F; }
/* 排名标签：90vs .sup 灰色 [n] 文字（不是红牌角标）；主队前、客队后 */
.ld-fixture-table .ld-rank-tag {
  display: inline; margin-right: 3px; padding: 0;
  color: #7A8CA3; background: none; border-radius: 0;
  font-family: Arial, "Microsoft YaHei", sans-serif; font-size: 12px; line-height: 1; vertical-align: 0;
}
.ld-fixture-table .ld-rank-tag.ld-rank-after { margin-right: 0; margin-left: 3px; }
/* 主队牌角标在队名左侧时留右侧间距 */
.ld-fixture-table .ld-card-pre { margin-left: 0; margin-right: 4px; }
.ld-rank-table { min-width: 0; }
/* 榜单表格与积分榜同款留白：最大比数表带 ld-fixture-table，仍走赛程表列宽 */
.ld-rank-table:not(.ld-fixture-table) .ld-team-col { padding-left: 16px !important; }
/* 波胆榜 27 列宽表：比分表头/数字收紧内边距，避免 1:0 / 其他 被裁切；球队列保持积分榜缩进 */
.ld-score-table thead th { padding-left: 3px; padding-right: 3px; }
.ld-score-table tbody td { padding-left: 3px; padding-right: 3px; }
.ld-score-table .ld-team-col { padding-left: 16px !important; }
/* 波胆榜/进球时间：该队出现次数最多的比分或时段用粗体红字强调（沿用积分榜强调色 #C62828） */
.ld-score-peak { color: #C62828; font-weight: 800; }
.ld-rank-col { text-align: center; }
@media (max-width: 860px) { .ld-round-bar { margin: 0 12px 12px; gap: 6px; } .ld-round-league { flex: 0 0 76px; width: 76px; } }
@media (max-width: 860px) { .ld-fixture-table, .ld-rank-table { min-width: 760px; } }

/* 全场数据统计：本站 V13 表格风格；只借鉴 90vs 的强调方式 */
.ld-fullstats { margin-top: 18px; border-top: 1px solid #EEF2F8; }
.ld-fullstats h3 { font-size: 16px; color: #14335F; margin: 0; padding: 15px 20px 12px; }
.ld-fullstats h3 small { color: #8A9BB2; font-size: 12px; font-weight: 400; margin-left: 8px; }
.ld-fullstats-table { min-width: 520px; }
.ld-fullstats-table td:first-child { width: 38%; text-align: left; padding-left: 20px; background: #EAF2FF; color: #2B4E82; font-weight: 600; }
.ld-fullstats-table td:nth-child(2) { width: 22%; color: #1B3A66; font-weight: 600; }
.ld-fullstats-table td:nth-child(3) { width: 40%; text-align: left; color: #5B7396; }
/* 最佳/最差：小胶囊强调，色系沿用本站；不用 90vs 的实心色块 */
.ld-fullstats-table .the_best, .ld-fullstats-table .the_cha {
  display: inline-block; padding: 0 4px; margin: 0 1px; border-radius: 3px;
  font-weight: 700; line-height: 18px;
}
.ld-fullstats-table .the_best { color: #C62828; background: #FFECEC; }
.ld-fullstats-table .the_cha { color: #0A55D5; background: #E6F0FF; }
.ld-fullstats-table .hot, .ld-fullstats-table td .hot { color: #C62828; font-weight: 700; }
.ld-fullstats-table .cold, .ld-fullstats-table td .cold { color: #0A55D5; font-weight: 700; }

/* 赛程筛选工具条（对应 90vs 顶部：语言/大小盘口/排名/黄牌/球队/主客队） */
.ld-fixture-tools { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; padding: 12px 20px; border-bottom: 1px solid #EEF2F8; background: #FAFCFF; }
.ld-lang-switch { display: inline-flex; border: 1px solid #D8E4F4; border-radius: 4px; overflow: hidden; }
.ld-lang-switch button { border: 0; background: #fff; color: #5B7396; padding: 5px 11px; font-size: 12px; cursor: pointer; font-family: inherit; }
.ld-lang-switch button + button { border-left: 1px solid #D8E4F4; }
.ld-lang-switch button.active { background: #0A55D5; color: #fff; font-weight: 600; }
.ld-fixture-tools label.ld-chk { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #4A6A96; cursor: pointer; white-space: nowrap; }
.ld-fixture-tools label.ld-chk input { accent-color: #0A55D5; margin: 0; }
.ld-fixture-tools select {
  border: 1px solid #D8E4F4; background: #fff; color: #3B4C63; border-radius: 4px;
  padding: 5px 8px; font-size: 12px; font-family: inherit; max-width: 165px;
}
.ld-fixture-tools .ld-vs { font-size: 12px; color: #8A9BB2; font-weight: 700; }
.ld-fixture-tools .ld-tool-sep { width: 1px; height: 20px; background: #DCE7F6; }
.ld-fixture-hint { font-size: 12px; color: #0A55D5; padding: 0 20px 10px; background: #FAFCFF; }
/* 本轮统计：titan007 同款单行浅黄条，直接取 90vs 原始列 */
.ld-round-stats { padding: 10px 20px 11px; background: #FFFDE7; border-bottom: 1px solid #F2E7AE; font-size: 13px; line-height: 1.7; color: #3B4C63; }
.ld-round-stats__scope { font-weight: 700; color: #243F63; margin-right: 20px; }
.ld-round-stats__grp { display: inline-block; white-space: nowrap; }
.ld-round-stats__grp + .ld-round-stats__grp { margin-left: 22px; }
.ld-round-stats__label { margin-right: 4px; }
.ld-round-stats b { font-weight: 800; }
.ld-round-stats__grp b + b { margin-left: 3px; }
.ld-round-stats .ld-round-stats__rate { color: #243F63; }
.ld-round-stats .ld-c-red { color: #E02020; }
.ld-round-stats .ld-c-green { color: #19954F; }
.ld-round-stats .ld-c-blue { color: #1A4FD6; }
.ld-round-nav .ld-round-page { width: 100%; height: 0; padding: 0; border: 0; }
/* 大小盘口与配色样式已统一定义在本文件赛程表区块（见上） */

/* 半/全场两行表头对齐（对应 90vs 原页 半场/全场 组合列） */
.ld-rank-table .ld-hf-team { text-align: left !important; padding-left: 14px !important; min-width: 140px; width: 18%; }
/* 榜单表头不再单独刷蓝，统一沿用 .ld-table thead th 的渐变底（与积分榜一致） */
.ld-rank-table thead th[rowspan] { vertical-align: middle; }

/* 左侧赛事选择：收窄到 168px（联赛名仍可完整显示），把宽度让给数据表 */
.ld-layout { display: flex; align-items: flex-start; gap: 12px; }
.ld-event-tree {
  flex: 0 0 168px; width: 168px; background: #fff; border: 1px solid #E4EDF9;
  border-radius: 6px; overflow: hidden; box-shadow: 0 4px 14px rgba(1,48,128,.06);
}
.ld-et-title { background: #0A55D5; color: #fff; font-size: 13px; font-weight: 700; padding: 8px 10px; letter-spacing: .5px; }
.ld-et-body { max-height: 720px; overflow-y: auto; }
/* 顶部赛事大类按钮（可点切换、收起） */
.ld-et-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #EEF2F8; border-bottom: 1px solid #E4EDF9; }
.ld-et-tab {
  border: 0; background: #F7FAFF; color: #2B4E82; font-size: 12px; padding: 8px 2px; cursor: pointer;
  border-bottom: 2px solid transparent;
}
.ld-et-tab:hover { background: #EBF2FD; }
.ld-et-tab.on { background: #fff; color: #0A55D5; font-weight: 700; border-bottom-color: #0A55D5; }
.ld-et-tab-ico { width: 14px; height: 14px; object-fit: contain; vertical-align: -3px; margin-right: 4px; }
/* 协会折叠 */
.ld-et-list { padding: 2px 0; }
.ld-et-assoc-hd {
  width: 100%; text-align: left; border: 0; border-bottom: 1px solid #EEF2F8; background: #F4F7FB;
  color: #14335F; font-size: 12px; font-weight: 700; padding: 7px 8px; cursor: pointer;
}
.ld-et-assoc-hd:hover { background: #EAF1FB; }
.ld-et-caret { display: inline-block; width: 12px; color: #5B7396; font-size: 12px; }
.ld-et-assoc-ico { width: 14px; height: 14px; object-fit: contain; vertical-align: -2px; margin-right: 3px; }
.ld-et-leagues { padding: 4px 0 6px; border-left: 1px dashed #C6D6EA; margin-left: 14px; }
.ld-et-league {
  display: flex; align-items: center; gap: 5px; position: relative; margin-left: 6px;
  padding: 5px 6px 5px 9px; font-size: 12px; color: #4A6A96; text-decoration: none; line-height: 1.35;
}
.ld-et-league::before {
  content: ''; position: absolute; left: -1px; top: 0; bottom: 0; border-left: 1px dashed #C6D6EA;
}
.ld-et-league::after {
  content: ''; position: absolute; left: -1px; top: 50%; width: 10px; border-top: 1px dashed #C6D6EA;
}
.ld-et-ico { width: 16px; height: 16px; object-fit: contain; flex: 0 0 16px; }
.ld-et-ico-badge { border-radius: 2px; }
.ld-et-league:hover { color: #0A55D5; background: #F5F9FF; }
/* 当前赛事：titan007 真实高亮色 red */
.ld-et-league.active { color: #C62828; font-weight: 700; background: #FFF5F5; }
.ld-et-league.active::before { border-color: #E5A0A0; }
.ld-et-league.active .ld-et-ico { width: 18px; height: 18px; flex-basis: 18px; }
/* Hero 徽标用真实联赛图标 */
.ld-hero-badge.has-icon { padding: 0; background: #fff; overflow: hidden; }
.ld-hero-badge.has-icon img { width: 100%; height: 100%; object-fit: contain; }
/* 数据区右侧预留浮窗通道：右侧繁简EN/客服已收窄到 28~32px，主区只需留 36px，
   表格/弹层/吸顶表头仍一起等比收窄、铺满各自容器；1280 宽下与浮窗仍留 ≥16px 间隙。 */
.ld-main { flex: 1; min-width: 0; padding-right: 36px; }
@media (max-width: 980px) {
  .ld-layout { display: block; }
  .ld-event-tree { width: auto; margin-bottom: 16px; }
  .ld-et-body { max-height: 220px; }
}

/* 右侧悬浮栏：语言切换与客服同组（本页独立补全容器定位，避免依赖旧 ai-design.css） */
.side-fix { position: fixed; right: 14px; bottom: 34px; z-index: 60; display: flex; flex-direction: column; gap: 8px; align-items: center; }
/* 右侧浮窗尽量瘦：语言条 28px，客服/回顶 32px，仅占一条窄通道 */
.side-fix a, .side-fix button { width: 32px; height: 32px; border-radius: 10px; font-size: 11px; }
.side-fix .side-lang {
  display: flex !important; flex-direction: column; flex-shrink: 0; width: 28px; border: 1px solid rgba(10,85,213,.3);
  border-radius: 9px; overflow: hidden; box-shadow: 0 6px 18px rgba(1,48,128,.16); background: rgba(255,255,255,.96);
}
.side-fix .side-lang button { display: block !important; width: 100%; min-width: 0; height: 26px; border: 0; border-radius: 0; background: #fff; color: #0A55D5; font-size: 12px; padding: 0; line-height: 26px; }
.side-fix .side-lang button + button { border-top: 1px solid #E4EDF9; }
.side-fix .side-lang button:hover { background: #EAF2FF; color: #0A55D5; }
.side-fix .side-lang button.active { background: #0A55D5; color: #fff; font-weight: 700; }

/* 盘口/角球/比分悬停：表格保持与 90vs 原页一致的朴素样式，不加任何静态提示标记
   （问号/手型/虚线/胶囊一律不用）。可发现性由页面底部说明文字承载，悬停反馈即浮层本身。 */
.ld-fixture-table td[data-odds-key],
.ld-fixture-table td[data-corner-key],
.ld-fixture-table td[data-score-key] { cursor: default; }
/* 积分榜 赛/胜/平/负：可点击查看该队对应比赛列表（90vs setm 同款） */
.ld-standings-table td[data-stand-team] { cursor: pointer; }
.ld-stand-link { color: #0A55D5; }
.ld-standings-table td[data-stand-team]:hover { background: #EAF2FF; }
.ld-standings-table td[data-stand-team]:hover .ld-stand-link { text-decoration: underline; }
/* 榜单数字（让球盘/大小球/单双数/入球数/角球）：与积分榜同款可点击反馈 */
.ld-rank-table td[data-rank-team] { cursor: pointer; }
.ld-rank-table td[data-rank-team]:hover { background: #EAF2FF; }
.ld-rank-table td[data-rank-team]:hover .ld-stand-link { text-decoration: underline; }
/* 半/全场数值：与积分榜完全同款的可点击反馈（蓝字 + 悬停浅底 + 下划线） */
.ld-rank-table td[data-hf-team] { cursor: pointer; }
.ld-rank-table td[data-hf-team]:hover { background: #EAF2FF; }
.ld-rank-table td[data-hf-team]:hover .ld-stand-link { text-decoration: underline; }
/* 常见赛果「次数」：与积分榜同款可点击反馈 */
.ld-rank-table td[data-common-score] { cursor: pointer; }
.ld-rank-table td[data-common-score]:hover { background: #EAF2FF; }
.ld-rank-table td[data-common-score]:hover .ld-stand-link { text-decoration: underline; }
/* 积分榜点击弹层：与赛程赛果同源的 18 列比赛信息，白卡片加宽到可完整展示 */
/* 比赛列表弹层层级低于其内 hover 弹出的盘口/角球/比分浮层，保证浮层可见可交互 */
/* overscroll-behavior: contain：弹层滚到顶/底时滚动不再传导到页面，避免连带关闭
   scrollbar-gutter: stable：常驻滚动条槽，有无滚动条时表格宽度都与赛程赛果一致
   宽度由 JS 按赛程表格实测宽度动态设置（下方 1064px 仅为兜底默认值） */
.ld-odds-tip.ld-stand-tip { width: 1064px; max-width: calc(100vw - 48px); max-height: 80vh; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; pointer-events: auto; z-index: 9990; }
.ld-stand-tip .ld-odds-tip__body { padding: 6px 10px 4px; }
.ld-stand-tip__table { table-layout: fixed; }
.ld-stand-tip .ld-odds-tip__foot { justify-content: flex-end; }

/* 盘口悬停浮层：V13 克制风，白卡片 + 蓝灰层级 + 柔和涨跌色 */
/* 角球卡片复用盘口浮层样式，仅需收窄宽度（4 列表格） */
.ld-odds-tip.ld-corner-tip { width: 360px; }
.ld-odds-tip.ld-corner-tip .ld-odds-tip__foot { justify-content: flex-end; }
/* 比分事件浮层：90vs 三栏时间轴（主队事件 / 比分演进 / 客队事件），V13 白卡片风格 */
.ld-odds-tip.ld-score-tip { width: 480px; }
.ld-score-tip__body { padding: 6px 10px 8px; }
.ld-score-tip__row {
  display: grid; grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr);
  align-items: center; min-height: 26px; border-bottom: 1px solid #EEF2F8;
}
.ld-score-tip__row:last-child { border-bottom: 0; }
.ld-score-tip__side { display: flex; align-items: center; gap: 5px; min-width: 0; font-size: 12px; color: #1B3A66; }
.ld-score-tip__side--home { justify-content: flex-end; text-align: right; }
.ld-score-tip__side--away { justify-content: flex-start; text-align: left; }
.ld-score-tip__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ld-score-tip__side em { font-style: normal; font-size: 12px; color: #5B7396; white-space: nowrap; }
.ld-score-tip__score {
  text-align: center; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums;
  padding: 2px 0; border-radius: 3px;
}
.ld-score-tip__score--goal { background: #DCEEFF; color: #1B3A66; }
.ld-score-tip__score--yellow { background: #FFF0A8; color: #7A5A00; }
.ld-score-tip__score--red { background: #FFD0D0; color: #990000; }
.ld-ev { width: 13px; height: 13px; flex: 0 0 13px; display: block; }
.ld-score-tip__legend {
  display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 8px 12px;
  border-top: 1px solid #EEF2F8; background: #FCFDFF;
  font-size: 12px; color: #5B7396;
}
.ld-score-tip__legend span { display: inline-flex; align-items: center; gap: 4px; }
.ld-odds-tip {
  position: absolute; z-index: 10000; width: 600px; max-width: calc(100vw - 16px);
  background: #FFFFFF; border: 1px solid #DCE7F6; border-radius: 10px; overflow: hidden;
  box-shadow: 0 12px 32px rgba(10, 55, 120, .16); pointer-events: none;
  font-family: Arial, "Microsoft YaHei", sans-serif; color: #1B3A66;
}
.ld-odds-tip[hidden] { display: none !important; }
.ld-odds-tip__head {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) 84px; align-items: center;
  min-height: 44px; background: linear-gradient(180deg, #F8FBFF, #F1F6FD);
  border-bottom: 1px solid #E4EDF9;
}
.ld-odds-tip__league {
  justify-self: center; padding: 4px 9px; border-radius: 4px; white-space: nowrap;
  background: var(--ld-odds-league-bg, #199CDF); color: var(--ld-odds-league-text, #FFFFFF);
  font-size: 12px; font-weight: 700;
}
.ld-odds-tip__match {
  padding: 0 8px; text-align: center; font-size: 12px; font-weight: 600; color: #14335F;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ld-odds-tip__match b { color: #D60000; font-weight: 800; margin: 0 3px; }
.ld-odds-tip__provider { text-align: right; padding-right: 10px; font-size: 12px; color: #5B7396; }
.ld-odds-tip__body { padding: 8px 10px 4px; }
.ld-odds-tip__table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 12px; }
.ld-odds-tip__table th, .ld-odds-tip__table td {
  height: 28px; padding: 0 4px; text-align: center; border-bottom: 1px solid #EEF2F8;
}
.ld-odds-tip__table thead th {
  background: #F7FAFF; color: #5B7396; font-weight: 600; border-bottom: 1px solid #E4EDF9;
}
.ld-odds-tip__table tbody th { background: #F4F7FB; color: #8A9BB2; font-weight: 600; }
.ld-odds-tip__table .ld-odds-tip__rowlabel { width: 54px; }
.ld-odds-tip__table td { border-left: 1px solid #F0F4FA; }
.ld-odds-tip__table thead th[colspan], .ld-odds-tip__table tbody td:nth-child(5), .ld-odds-tip__table tbody td:nth-child(8) {
  border-left: 1px solid #DCE7F6;
}
.ld-odds-tip__table tbody tr:last-child th, .ld-odds-tip__table tbody tr:last-child td { border-bottom: 0; }
.ld-odds-tip__val { color: #1B3A66; font-variant-numeric: tabular-nums; }
.ld-odds-tip__val.up { color: #990000; background: #FFCCCC; }
.ld-odds-tip__val.down { color: #006600; background: #CCFFCC; }
.ld-odds-dir {
  display: inline-block; margin-left: 3px;
  font-size: 12px; line-height: 1; background: none;
}
.ld-odds-dir.up { color: #D60000; }
.ld-odds-dir.down { color: #1E9E4A; }
.ld-odds-tip__foot {
  display: flex; justify-content: flex-end; gap: 10px; padding: 7px 12px 9px;
  border-top: 1px solid #EEF2F8; background: #FCFDFF; font-size: 12px; color: #8A9BB2;
}
.ld-odds-tip__empty { padding: 24px 10px; background: #FFF; color: #8A9BB2; text-align: center; font-size: 12px; }
@media (max-width: 620px) {
  .ld-odds-tip { width: 500px; }
  .ld-odds-tip__table { font-size: 12px; }
  .ld-odds-tip__table th, .ld-odds-tip__table td { padding: 0 4px; }
}

/* 联赛切换提示：点击赛事树后短暂浮出，明确反馈已切换（14px，符合五档字号） */
.ld-league-flash {
  position: fixed; top: 18px; left: 50%; z-index: 9999;
  transform: translate(-50%, -12px);
  padding: 8px 18px; border-radius: 20px;
  background: #14335F; color: #FFF; font-size: 14px; font-weight: 600;
  box-shadow: 0 6px 20px rgba(20,51,95,.28);
  opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s;
}
.ld-league-flash.show { opacity: 1; transform: translate(-50%, 0); }

/* 窄屏（≤1366px）表格收窄后，表头左右内边距同步收紧，避免「胜/场均进球」等文字挤在一起 */
@media (max-width: 1366px) {
  .ld-table thead th { padding-left: 4px; padding-right: 4px; }
}

/* 90vs 实时取数状态条：未收录联赛异步拉取时显式提示，失败不回退错误联赛 */
.ld-live-status {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; min-height: 220px; margin-bottom: 16px; padding: 32px 20px;
  border: 1px solid #DCE7F6; border-radius: 10px; background: #FCFDFF;
  text-align: center;
}
.ld-live-status b { font-size: 16px; color: #14335F; }
.ld-live-status span { font-size: 13px; color: #6B7C96; }
.ld-live-status a { font-size: 13px; color: #0A55D5; }
.ld-live-status.is-error { border-color: #F0C8C8; background: #FFF9F9; }
.ld-live-status.is-error b { color: #C62828; }
.ld-live-spinner {
  width: 26px; height: 26px; border-radius: 50%;
  border: 3px solid #DCE7F6; border-top-color: #0A55D5;
  animation: ld-live-spin .8s linear infinite;
}
@keyframes ld-live-spin { to { transform: rotate(360deg); } }

/* 榜单/积分榜/半全场球队名链接：与赛程表同款蓝色悬停下划线 */
.ld-rank-table a.ld-team-link, .ld-stand-table a.ld-team-link,
.ld-hf-team a.ld-team-link { color: inherit; text-decoration: none; }
.ld-rank-table a.ld-team-link:hover, .ld-stand-table a.ld-team-link:hover,
.ld-hf-team a.ld-team-link:hover { color: #0A55D5; text-decoration: underline; }
