/* =====================================================================
   体育 / 电视台页面样式（第二十版 دردركم）：比赛行（时间 · 主队 · 比分 · 客队 · 线路数 · ▶）放在白色卡片里，
   比赛页的播放器在一条「帖子」里，下面是球场绿的记分牌；频道是「账号」行。
   记分牌、迷你比分、频道行的基础样式在 style.css（右栏每页都有）
   ===================================================================== */
.spx .st-live { color: var(--live) !important; font-style: normal; font-weight: 800; }
.lg[hidden], .fx[hidden], .tvc[hidden] { display: none !important; }
.sp-main { min-width: 0; }
.spx .ftabs { margin-bottom: 12px; }
.spx .stories { margin-bottom: 12px; }

/* ---------- 比赛行 ---------- */
.fx { display: grid; grid-template-columns: 60px minmax(0, 1fr) 70px minmax(0, 1fr) 74px 34px; align-items: center; gap: 10px; padding: 10px 8px; margin: 0 -8px; border-radius: 14px; border-top: 1px solid var(--line); }
.ch + .fx, .fx:first-child { border-top: 0; }
.fx:hover { background: var(--soft); }
.fx-t { display: flex; flex-direction: column; align-items: center; line-height: 1.25; }
.fx-t b { font: 700 17px/1.2 var(--d); }
.fx-t i { font-style: normal; font-size: 11.5px; color: var(--mute); font-weight: 600; }
.fx-live .fx-t b { color: var(--live); font: 800 15px/1.2 var(--f); }
.fx-ended .fx-t b { font: 700 13px/1.2 var(--f); color: var(--mute); }
.fx-h, .fx-a { display: flex; align-items: center; gap: 10px; min-width: 0; }
.fx-h { justify-content: flex-end; text-align: left; }
.fx-h b, .fx-a b { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-s { display: flex; align-items: center; justify-content: center; gap: 6px; height: 36px; border-radius: 12px; background: var(--soft); direction: ltr; }
.fx-s b { font: 700 18px/1 var(--d); }
.fx-s i { font-style: normal; color: var(--mute); font-size: 12.5px; }
.fx-live .fx-s { background: #ffe4ea; }
.fx-live .fx-s b { color: var(--live); }
.fx-ev { grid-column: span 3; display: flex; align-items: center; gap: 10px; min-width: 0; }
.fx-ev .i { color: var(--acc); width: 22px; height: 22px; }
.fx-ev b { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-n { font-size: 12px; color: var(--mute); text-align: center; line-height: 1.4; }
.fx-go { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--soft); color: var(--acc); }
.fx-go .i { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.fx:hover .fx-go, .fx-live .fx-go { background: var(--acc); color: #fff; }
.fx-ended { opacity: .75; }
.lg .ch .crest, .lg .ch .i { width: 22px; height: 22px; }

/* ---------- 比赛页播放器 ---------- */
.scr-football { background: repeating-linear-gradient(90deg, #0e3b2a 0 9%, #11452f 9% 18%); }
.scr-tv { background: radial-gradient(circle at 50% 40%, #3b2470, #0c0818 75%); }
.scr.playing .scr-cover, .scr.playing .scr-logo { display: none; }
.scr:not(.playing) video { visibility: hidden; }
.scr-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.45); }
.scr-wait { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px; text-align: center; color: #fff; background: rgba(12, 8, 24, .35); }
.scr-wait small { font-weight: 700; color: #e1dcef; }
.scr-wait b { font: 700 clamp(34px, 6vw, 60px)/1 var(--d); direction: ltr; }
.scr-wait b.scr-nos { font: 800 20px/1.4 var(--f); direction: rtl; }
.scr-wait span { font-size: 14px; color: #d0c8e6; }
.scr-wait a { color: #ffb3cf; }
.scr-wait .btn { margin-top: 8px; }
.scr-logo { position: absolute; top: 14%; left: 0; right: 0; text-align: center; font: 800 clamp(20px, 4vw, 34px)/1.2 var(--f); color: rgba(255, 255, 255, .85); }
.scr.failed .scr-play small { background: rgba(244, 63, 94, .8); }
.post-m .pm-sb .sb { padding-bottom: 14px; }

/* ---------- 比赛资料、各国时间 ---------- */
.sp-final { grid-column: 1 / -1; background: #fff0f3; }
.sp-final dd b { font: 700 20px/1 var(--d); margin: 0 6px; }
.srv-list { margin-top: 2px; }

/* ---------- 频道 ---------- */
.tvgrid .tvc { margin: 0 -6px; padding: 8px 6px; }
.tvgrid.lg .ch { margin-bottom: 6px; }
.tvc.on { background: var(--soft); }
.tvc .pill-live { margin-right: 0; }
.tv-all, .tv-flag { display: grid !important; place-items: center; width: 100%; height: 100%; border-radius: 50%; }
.st .tv-flag { font-size: 34px; line-height: 1; }

@media (max-width: 719px) {
  .fx { grid-template-columns: 50px minmax(0, 1fr) 58px minmax(0, 1fr) 26px; gap: 6px; margin: 0 -6px; padding: 10px 6px; }
  .fx-n { display: none; }
  .fx-go { width: 26px; height: 26px; }
  .fx-h b, .fx-a b { font-size: 13.5px; }
  .fx-h .crest, .fx-a .crest { display: none; }
  .zones span { padding: 8px; }
  .zones b { font-size: 17px; }
}
