/* =====================================================================
   لودي نت（第二十二版）体育 / 电视台：报纸「赛果版」——细线表格、衬线比分、酒红「مباشر」
   钩子：.sp-main .lg .fx（data-status 筛选）、.tvgrid .tvc（data-cat 筛选）、[data-mid] [data-score] [data-clock]
   ===================================================================== */
.sp-status { justify-content: center; }
.sp-days, .sp-kinds, .tv-countries { margin-bottom: 14px; }
.sp-kinds .i { color: var(--gold); }
.sp-leads { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin: 10px 0 30px; }
.sp-lead { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px; background: var(--card); border: 1px solid var(--rule2); border-top: 3px solid var(--wine); }
.sp-lead-b { width: 100%; }
.sp-main { display: flex; flex-direction: column; gap: 34px; }
.lg-h { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding-bottom: 8px; border-bottom: 2px solid var(--wine); font-size: 26px; }
.lg-h .i { color: var(--gold); align-self: center; }
.lg-h small { font: 500 13px var(--sans); color: var(--mute); }
.lg-h a { margin-inline-start: auto; font: 600 13.5px var(--sans); color: var(--wine); }
.lg-list .fx:first-of-type { border-top: 0; }

/* 赛果行 */
.fx { display: grid; grid-template-columns: 82px minmax(0, 1fr) 84px minmax(0, 1fr) 120px 34px; align-items: center; gap: 12px; padding: 12px 6px; border-bottom: 1px solid var(--rule); }
.fx:hover { background: var(--card); color: inherit; }
.fx-when { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.fx-when b { font: 700 21px/1.1 var(--serif); }
.fx-when i { font-style: normal; font-size: 11.5px; color: var(--mute); }
.fx-when .onair { font-size: 11.5px; }
.fx-live .fx-when b { color: var(--wine); }
.fx-home, .fx-away { display: flex; align-items: center; gap: 10px; min-width: 0; }
.fx-home { justify-content: flex-end; text-align: end; }
.fx-home b, .fx-away b { font: 600 19px/1.25 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-score { display: flex; align-items: center; justify-content: center; gap: 6px; direction: ltr; height: 38px; border: 1px solid var(--rule2); background: var(--card); }
.fx-score b { font: 700 22px/1 var(--serif); }
.fx-score i { font-style: normal; color: var(--mute); font-size: 13px; }
.fx-live .fx-score { border-color: var(--wine); background: var(--wine-bg); color: var(--wine); }
.fx-ev { grid-column: 2 / 5; display: flex; align-items: center; gap: 10px; min-width: 0; }
.fx-ev b { font: 600 19px var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-ev .i { color: var(--gold); }
.fx-links { font-size: 12.5px; color: var(--mute); text-align: center; }
.fx-go { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--rule2); color: var(--wine); }
.fx-go .i { width: 13px; height: 13px; }
.fx:hover .fx-go { background: var(--wine); border-color: var(--wine); color: #fbf3e6; }
.fx-ended { color: var(--ink2); }
.crest { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--c, #6e1630); color: #fff; font: 700 10px/1 var(--sans); letter-spacing: .02em; }
.crest-img { background: none; }
.crest img { width: 100%; height: 100%; object-fit: contain; }
.crest-xl { width: 72px; height: 72px; font-size: 18px; }

/* 比分线 */
.scoreline { padding: 18px 10px 12px; text-align: center; }
.sl-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 18px; }
.sl-team { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.sl-team b { font: 600 24px/1.2 var(--serif); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl-score, .sl-kick { display: flex; align-items: center; gap: 12px; font: 700 54px/1 var(--serif); color: var(--wine); direction: ltr; }
.sl-score i { font-style: normal; color: var(--rule2); font-size: 34px; }
.sl-kick { font-size: 38px; color: var(--ink); }
.sl-ev { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 10px; font: 600 26px var(--serif); }
.sl-st { margin-top: 10px; font-size: 14px; color: var(--mute); }
.screen .scoreline { border-top: 1px solid var(--rule); margin-top: 12px; }

/* 比赛小卡 */
.mcard { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; background: var(--card); border: 1px solid var(--rule); border-top: 2px solid var(--gold2); min-width: 0; }
.mcard:hover { border-color: var(--rule2); border-top-color: var(--wine); color: inherit; }
.mcard-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--mute); }
.mcard-top small { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcard-top i { font-style: normal; flex: none; }
.mcard-tm { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mcard-tm b { flex: 1; font: 600 18px/1.2 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcard-tm em { font: 700 22px/1 var(--serif); font-style: normal; color: var(--wine); }
.mcard-ev { display: flex; align-items: center; gap: 8px; font: 600 18px var(--serif); min-width: 0; }
.mcard-ev b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcard-f { display: flex; align-items: center; gap: 6px; padding-top: 8px; border-top: 1px dashed var(--rule); font-size: 12px; color: var(--mute); }
.mcard-f .gap { flex: 1; }
.mcard-f .i { color: var(--gold); }

/* 频道行 */
.tvlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.tvc { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--rule); min-width: 0; }
.tvc:hover { color: inherit; }
.tvc:hover .tvc-b b { color: var(--wine); }
.tvc.on { background: var(--wine-bg); padding-inline: 8px; }
.tvc-logo { flex: none; display: grid; place-items: center; width: 52px; height: 40px; background: var(--c, var(--wine)); color: #fff; font: 700 12px/1 var(--sans); overflow: hidden; border: 1px solid var(--rule2); }
.tvc-logo.has-img { background: #fff; padding: 4px; }
.tvc-logo img { width: 100%; height: 100%; object-fit: contain; }
.tvc-logo-xs { width: 34px; height: 26px; font-size: 9px; }
.tvc-b { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.tvc-b b { font: 600 18px/1.25 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tvc-b small { font-size: 12.5px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tvc-on { flex: none; display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: var(--wine); }
.tvc-on .pulse { width: 6px; height: 6px; }
.tvc-sm { padding: 9px 0; }
.tvc-sm .tvc-logo { width: 44px; height: 34px; }
.arena-c .tvc:last-of-type { border-bottom: 0; }

/* 播放器（体育） */
#sp-player .scr-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
#sp-player.playing .scr-cover { display: none; }
.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: #fbf3e6; background: radial-gradient(circle at 50% 40%, rgba(110, 22, 48, .55), rgba(27, 16, 19, .92)); }
.scr-wait small { font-size: 14px; color: #e7cdb6; }
.scr-wait b[data-cd] { font: 700 62px/1 var(--serif); direction: ltr; letter-spacing: .02em; }
.scr-wait span { font-size: 14px; max-width: 460px; color: #ecdccd; }
.scr-wait a { color: #f3d9c2; text-decoration: underline; }
.scr-nos { font: 600 30px var(--serif); }
.scr-logo { position: absolute; top: 14px; inset-inline-start: 16px; z-index: 1; font: 700 14px var(--sans); color: rgba(251, 243, 230, .55); letter-spacing: .05em; }
.scr-tv { background: radial-gradient(circle at 50% 40%, #4d1426, #1b1013); }
.scr-tv.failed video { display: none; }
body.sp-dim { background: #120a0c; }
body.sp-dim .screen { position: relative; z-index: 40; }
body.sp-dim::after { content: ''; position: fixed; inset: 0; z-index: 30; background: rgba(18, 10, 12, .92); pointer-events: none; }
[data-share].done { color: var(--wine); }

/* 比赛资料、各国时间 */
.sp-final dd { font: 700 22px var(--serif); color: var(--wine); }
.zones { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
.zones > div { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.zones dt { color: var(--ink2); font-size: 14.5px; }
.zones dd { margin: 0; font: 700 24px/1 var(--serif); color: var(--wine); }
.srv-list .srv-g button { min-height: 44px; }

@media (max-width: 1020px) {
  .tvlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .fx { grid-template-columns: 58px minmax(0, 1fr) 64px minmax(0, 1fr); gap: 8px; padding: 11px 2px; }
  .fx-links, .fx-go { display: none; }
  .fx-home b, .fx-away b { font-size: 16.5px; }
  .fx .crest { display: none; }
  .fx-when b { font-size: 18px; }
  .fx-score { height: 34px; }
  .fx-score b { font-size: 19px; }
  .tvlist { grid-template-columns: minmax(0, 1fr); }
  .arena-m { grid-template-columns: minmax(0, 1fr); }
  .sl-team b { font-size: 18px; white-space: normal; }
  .crest-xl { width: 52px; height: 52px; font-size: 14px; }
  .sl-score, .sl-kick { font-size: 40px; gap: 8px; }
  .sl-kick { font-size: 30px; }
  .sl-row { gap: 10px; }
  .sp-leads { grid-template-columns: minmax(0, 1fr); }
  .scr-wait b[data-cd] { font-size: 42px; }
  .zones { grid-template-columns: minmax(0, 1fr); }
  .lg-h { font-size: 23px; }
}
