/* 90vs 球队页结构还原版：保留原页信息架构（左主栏 + 右球员栏、资料 5 小 Tab、
   15 列战绩表、走势统计、底部说明），视觉沿用 V13 蓝白风格与 26/16/14/13/12 字号档。 */

.tm90-wrap { display: flex; align-items: flex-start; gap: 14px; margin-top: 14px; }
.tm90-main { flex: 1; min-width: 0; padding-right: 36px; }
.tm90-side { flex: 0 0 258px; width: 258px; padding: 0 0 12px; position: sticky; top: 78px; }

.tm90-card { padding: 0 0 14px; margin-bottom: 14px; min-width: 0; overflow: hidden; }
.tm90-sec-title {
  font-size: 16px; font-weight: 700; color: #14335F; text-align: center;
  margin: 0; padding: 11px 12px 9px; border-bottom: 1px solid #E4EDF9;
  background: linear-gradient(180deg, #F5F9FF, #fff);
}

/* 工具行：三语 / 勾选 / 主客场 / 场次 */
.tm90-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border-bottom: 1px solid #EDF2FA; flex-wrap: wrap;
}
.tm90-bar-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tm90-seg { display: flex; align-items: center; gap: 3px; flex-wrap: wrap; }
.tm90-seg button {
  border: 1px solid transparent; background: transparent; color: #5B7396;
  font-size: 12px; padding: 5px 10px; border-radius: 4px; cursor: pointer; font-family: inherit;
  white-space: nowrap;
}
.tm90-seg button:hover { border-color: #D8E4F4; color: #0A55D5; background: #F5F9FF; }
.tm90-seg button.active {
  background: #0A55D5; border-color: #0A55D5; color: #fff; font-weight: 700;
}
.tm90-seg-count button { padding: 4px 8px; }
.tm90-chk {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12px;
  color: #4A6A96; cursor: pointer; white-space: nowrap;
}
.tm90-chk input { margin: 0; accent-color: #0A55D5; }

/* 资料区 5 个小 Tab */
.tm90-info-tabs {
  display: flex; align-items: stretch; gap: 0; overflow-x: auto;
  border-bottom: 1px solid #E4EDF9; scrollbar-width: none;
}
.tm90-info-tabs::-webkit-scrollbar { display: none; }
.tm90-info-tabs button {
  flex: 0 0 auto; min-width: 92px; border: 0; border-right: 1px solid #E4EDF9;
  background: #F8FBFF; color: #5B7396; font-size: 13px; padding: 9px 14px;
  cursor: pointer; font-family: inherit;
}
.tm90-info-tabs button:hover { background: #EAF2FF; color: #0A55D5; }
.tm90-info-tabs button.active {
  background: #0A55D5; color: #fff; font-weight: 700;
}
.tm90-info-body { padding: 14px; min-width: 0; }
.tm90-info-panel[hidden] { display: none; }

/* 基本资料：左侧队徽 + 右侧字段表 */
.tm90-basic { display: flex; align-items: stretch; gap: 16px; }
.tm90-basic-logo {
  flex: 0 0 132px; display: flex; align-items: center; justify-content: center;
  border: 1px solid #E4EDF9; border-radius: 8px; background: #F8FBFF; padding: 10px;
}
.tm90-basic-logo img { max-width: 104px; max-height: 104px; object-fit: contain; }
.tm90-basic-fields { flex: 1; min-width: 0; }
.tm90-title-line {
  font-size: 16px; font-weight: 800; color: #14335F; padding: 8px 12px;
  background: #EAF2FF; border: 1px solid #D8E4F4; border-bottom: 0;
}
.tm90-facts {
  display: grid; grid-template-columns: 92px minmax(0, 1fr) 92px minmax(0, 1fr);
  border: 1px solid #D8E4F4; margin: 0;
}
.tm90-facts dt, .tm90-facts dd {
  margin: 0; padding: 8px 10px; font-size: 13px; line-height: 1.5;
  border-bottom: 1px solid #E4EDF9; min-width: 0; word-break: break-all;
}
.tm90-facts dt { background: #F5F9FF; color: #7C91AE; text-align: right; }
.tm90-facts dd { color: #243F63; background: #fff; }
.tm90-facts dd a { color: #0A55D5; text-decoration: none; }
.tm90-facts dd a:hover { text-decoration: underline; }
.tm90-facts .wide { grid-column: 2 / -1; }
.tm90-facts .line { grid-column: 1 / -1; }

/* 荣誉 / 之最 / 简介 */
.tm90-honors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
.tm90-honor {
  border: 1px solid #E4EDF9; border-left: 3px solid #0A55D5; border-radius: 4px;
  padding: 9px 12px; background: #fff; min-width: 0;
}
.tm90-honor b { display: block; font-size: 13px; color: #14335F; font-weight: 700; }
.tm90-honor span { font-size: 12px; color: #C62828; font-weight: 700; }
.tm90-honor small { display: block; font-size: 12px; color: #8499B6; line-height: 1.6; margin-top: 2px; }
.tm90-richtext { font-size: 13px; line-height: 1.8; color: #243F63; }
.tm90-richtext p { margin: 0 0 8px; }
.tm90-richtext strong { color: #14335F; }

/* 15 列表格：赛事 时间 主队 比分 客队 半场 果 盘口 盘 总 大 单 半/全 波胆 角 */
.tm90-table-wrap { overflow-x: auto; }
.tm90-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  table-layout: fixed; min-width: 900px; font-size: 12px;
}
.tm90-table thead th {
  background: linear-gradient(180deg, #F0F6FF, #E3EDFB); color: #14335F;
  font-size: 12px; font-weight: 700; text-align: center; padding: 7px 2px;
  border-bottom: 1px solid #C9D9EF; white-space: nowrap;
}
.tm90-table tbody td {
  padding: 6px 2px; text-align: center; color: #33517B;
  border-bottom: 1px solid #EDF2FA; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tm90-table tbody tr:hover td { background: #F5F9FF; cursor: pointer; }
.tm90-table tbody tr:nth-child(even) td { background: #FCFDFF; }
.tm90-table tbody tr:nth-child(even):hover td { background: #F5F9FF; }
.tm90-table td.tm90-league { color: #fff; font-weight: 700; border-radius: 2px; }
.tm90-table td.tm90-home { text-align: right; padding-right: 5px; }
.tm90-table td.tm90-away { text-align: left; padding-left: 5px; }
.tm90-table td.tm90-half { color: #C62828; }
.tm90-table td.tm90-odds { color: #0A55D5; font-weight: 700; }
.tm90-sup { font-size: 12px; color: #8499B6; margin-right: 3px; }
.tm90-rd { color: #C62828; font-weight: 800; margin-left: 2px; }
.tm90-yd { color: #D29100; font-weight: 700; margin-left: 2px; }
.tm90-w { color: #C62828; font-weight: 800; }
.tm90-d { color: #2E7D32; }
.tm90-l { color: #0A55D5; }
.tm90-corner { color: #0A55D5; cursor: help; }

/* 汇总统计 + 走势 */
.tm90-stats {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px;
  padding: 9px 12px; background: #F8FBFF; border-top: 1px solid #D8E4F4;
  font-size: 12px; color: #4A6A96;
}
.tm90-stats .label { font-size: 13px; font-weight: 700; color: #14335F; }
.tm90-trends { padding: 8px 12px 2px; font-size: 12px; color: #5B7396; line-height: 1.9; }
.tm90-trends b { color: #14335F; font-weight: 700; }

/* 右栏球员 */
.tm90-side-title {
  font-size: 16px; font-weight: 700; color: #14335F; text-align: center;
  margin: 0; padding: 11px 10px; border-bottom: 1px solid #E4EDF9;
  background: linear-gradient(180deg, #F5F9FF, #fff);
}
.tm90-squad-group { margin: 10px 10px 0; border: 1px solid #E4EDF9; border-radius: 4px; overflow: hidden; }
.tm90-squad-group h3 {
  font-size: 13px; font-weight: 700; color: #0A55D5; margin: 0;
  padding: 6px 10px; background: #EAF2FF;
}
.tm90-player {
  display: flex; align-items: baseline; gap: 8px; padding: 6px 10px;
  border-top: 1px solid #F0F4FA; font-size: 12px; color: #33517B;
}
.tm90-player:nth-child(even) { background: #FCFDFF; }
.tm90-player b { flex: 0 0 24px; color: #C62828; font-weight: 800; }
.tm90-player a { color: #33517B; text-decoration: none; word-break: break-all; }
.tm90-player a:hover { color: #0A55D5; text-decoration: underline; }

/* 统计说明 */
.tm90-notes { padding: 12px 16px; font-size: 12px; color: #7C91AE; line-height: 1.9; }
.tm90-notes .red { color: #C62828; font-weight: 700; }
.tm90-notes b { color: #C62828; }

/* 比赛详情浮层 */
.tm90-tip {
  position: fixed; z-index: 80; width: 440px; max-width: calc(100vw - 40px);
  background: #fff; border: 1px solid #C9D9EF; border-radius: 6px;
  box-shadow: 0 12px 36px rgba(1,48,128,.22); padding: 12px 14px;
  font-size: 12px; color: #33517B;
}
.tm90-tip[hidden] { display: none; }
.tm90-tip h4 { font-size: 14px; color: #14335F; margin: 0 0 8px; padding-bottom: 7px; border-bottom: 1px solid #E4EDF9; }
.tm90-tip h5 { font-size: 13px; color: #0A55D5; margin: 10px 0 5px; }
.tm90-tip-row { display: flex; gap: 10px; padding: 3px 0; border-bottom: 1px dashed #EDF2FA; }
.tm90-tip-row span:first-child { width: 42px; color: #8499B6; }
.tm90-tip-close {
  position: absolute; right: 8px; top: 7px; border: 0; background: transparent;
  color: #8499B6; font-size: 16px; cursor: pointer; font-family: inherit;
}
.tm90-tip-close:hover { color: #C62828; }

@media (max-width: 1366px) {
  .tm90-side { flex-basis: 228px; width: 228px; }
  .tm90-main { padding-right: 32px; }
  .tm90-info-tabs button { min-width: 80px; padding: 8px 10px; }
}
@media (max-width: 1100px) {
  .tm90-wrap { flex-direction: column; }
  .tm90-side { position: static; width: 100%; flex-basis: auto; }
  .tm90-main { padding-right: 32px; width: 100%; }
  .tm90-honors { grid-template-columns: minmax(0, 1fr); }
}
