/* 世界赛事 (/sports): what is on now, then the day's schedule by competition, then official replays. */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sports-main { max-width: 1360px; margin: 0 auto; padding: 18px var(--mh-gutter) 40px; }
.sports-main svg, .sports-player svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sports-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; }
.sports-body { min-width: 0; }
.sports-heading { display: flex; align-items: flex-start; gap: 16px; margin: 0 0 16px; }
.sports-heading > div { flex: 1; min-width: 0; }
.sports-heading h1 { margin: 0; font-size: 24px; font-weight: 750; letter-spacing: -.01em; }
.sports-heading p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.sports-heading p[hidden] { display: none; }
.sports-follow { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .04); color: var(--text); font-size: 13px; font-weight: 650; }
.sports-follow[hidden] { display: none; }
.sports-follow svg { width: 16px; height: 16px; }
.sports-follow[aria-pressed="true"] { border-color: rgba(250, 204, 21, .5); background: rgba(250, 204, 21, .1); color: #fde68a; }
.sports-follow[aria-pressed="true"] svg { fill: #facc15; stroke: #facc15; }

/* ---- the categories ---- */
.sports-side { position: sticky; top: calc(var(--mh-head-height) + 14px); max-height: calc(100vh - var(--mh-head-height) - 28px); overflow-y: auto; scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .12) transparent; padding: 2px 6px 18px 0; }
.sports-side nav { display: grid; gap: 1px; }
.sports-side a { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 8px; padding: 7px 10px; border-radius: 10px;
  color: var(--muted-2); text-decoration: none; font-size: 13px; }
.sports-side a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.sports-side a[aria-current="page"] { background: rgba(255, 255, 255, .1); color: #fff; }
.sports-side a[data-quiet] { color: var(--muted); }
.sports-side-name { display: inline-flex; align-items: center; gap: 4px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 600; }
.sports-side a small { grid-column: 1; color: var(--muted); font-size: 11px; }
.sports-side a em, .sports-side a .sports-dot { grid-column: 2; grid-row: 1; }
.sports-side a em { font-style: normal; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.sports-side-top { padding: 9px 10px !important; }
.sports-side-top .sports-side-name { color: #fff; font-size: 14px; }
.sports-side-top + .sports-side-sport { margin-top: 10px; }
.sports-side-sport { padding-top: 10px; margin-top: 6px; border-top: 1px solid var(--line); }
.sports-side a.sports-side-head { display: flex; justify-content: space-between; color: #fff; font-size: 14px; font-weight: 750; }
.sports-side a.sports-side-head small { color: var(--muted); font-weight: 500; }
.sports-side-group { margin: 8px 10px 2px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.sports-side-name small { margin-left: 2px; color: var(--muted); font-size: 11px; font-weight: 500; }
.sports-side-sport a:not(.sports-side-head) { padding: 6px 10px; }
.sports-starred svg { width: 11px; height: 11px; fill: #facc15; stroke: #facc15; }
.sports-dot { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 3px rgba(239, 68, 68, .18); }
.sports-tabs, .sports-subnav { display: none; }
.sports-subnav[hidden] { display: none !important; }

.sports-section-head { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; }
.sports-section-head h2 { margin: 0; font-size: 16px; font-weight: 750; }
.sports-section-head span { color: var(--muted); font-size: 12px; }

/* ---- on now ---- */
.sports-now { margin-bottom: 22px; }
.sports-now[hidden] { display: none; }
.sports-now-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 300px); gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.sports-card { position: relative; display: grid; gap: 8px; align-content: start; min-height: 112px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .04); color: var(--text); text-align: left; }
button.sports-card { cursor: pointer; }
button.sports-card:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); }
.sports-card-head { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.sports-card-head b { margin-left: auto; font-weight: 650; color: #fca5a5; font-variant-numeric: tabular-nums; }
.sports-card-title { overflow: hidden; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sports-card-thumb { position: relative; aspect-ratio: 16 / 9; margin: -12px -14px 0; border-radius: 13px 13px 0 0; overflow: hidden; background: #0d1324; }
.sports-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sports-card-thumb .sports-live, .sports-card-thumb .sports-free { position: absolute; left: 8px; top: 8px; }

/* ---- days and kinds ---- */
.sports-bar { position: sticky; top: var(--mh-head-height); z-index: 5; display: grid; gap: 8px; margin: 0 calc(-1 * var(--mh-gutter)) 6px; padding: 10px var(--mh-gutter);
  background: rgba(5, 7, 15, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.sports-bar[hidden] { display: none; }
.sports-days button[data-quiet]:not([aria-selected="true"]) b { color: var(--muted); }
.sports-days { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.sports-days::-webkit-scrollbar { display: none; }
.sports-days button { flex: none; display: grid; justify-items: center; min-width: 64px; padding: 6px 12px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--muted-2); }
.sports-days button b { font-size: 14px; font-weight: 700; }
.sports-days button small { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sports-days button:hover { background: rgba(255, 255, 255, .05); }
.sports-days button[aria-selected="true"] { background: #fff; color: #0a0a19; }
.sports-days button[aria-selected="true"] small { color: #4b5068; }
  background: rgba(255, 255, 255, .04); color: var(--muted-2); font-size: 12px; font-weight: 600; }

/* ---- the schedule ---- */
.sports-group { margin-top: 18px; }
.sports-group h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; color: var(--muted-2); font-size: 13px; font-weight: 700; }
.sports-group h3 a { color: inherit; text-decoration: none; }
.sports-group h3 a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.sports-group h3 span { color: var(--muted); font-size: 11px; font-weight: 500; }
.sports-star { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-left: -2px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--muted); }
.sports-star svg { width: 14px; height: 14px; }
.sports-star:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.sports-star[aria-pressed="true"] { color: #facc15; }
.sports-star[aria-pressed="true"] svg { fill: #facc15; }
.sports-league-head { display: none !important; }
.sports-day-group { margin-top: 20px; }
.sports-day-group h4 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); color: #fff; font-size: 14px; font-weight: 700; }
.sports-day-group h4 span { color: var(--muted); font-size: 11px; font-weight: 500; }
.sports-day-group[data-today] h4 { color: #fde68a; }
.sports-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid transparent;
  background: rgba(255, 255, 255, .03); color: var(--text); text-align: left; }
.sports-row + .sports-row { margin-top: 4px; }
button.sports-row { cursor: pointer; }
button.sports-row:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .12); }
.sports-row[data-state="in"] { border-color: rgba(239, 68, 68, .35); background: rgba(239, 68, 68, .06); }
.sports-time { color: #fff; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sports-time small { display: block; color: var(--muted); font-size: 11px; font-weight: 500; }
.sports-main-cell { min-width: 0; }
.sports-title { overflow: hidden; color: #fff; font-size: 14px; font-weight: 650; white-space: nowrap; text-overflow: ellipsis; }
.sports-sub { margin-top: 2px; overflow: hidden; color: var(--muted); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.sports-sub.sports-warn { color: #fdba74; }
.sports-event { margin-top: 4px; text-align: center; }
.sports-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; }
.sports-team { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; font-weight: 650; }
.sports-team:first-child { justify-content: flex-end; text-align: right; }
.sports-team span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sports-team img { flex: none; width: 22px; height: 22px; object-fit: contain; }
.sports-team[data-lost] { color: var(--muted-2); font-weight: 500; }
.sports-score { min-width: 64px; text-align: center; color: #fff; font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.sports-score small { display: block; color: var(--muted); font-size: 11px; font-weight: 500; }
.sports-bouts { display: grid; gap: 2px; margin-top: 4px; color: var(--muted-2); font-size: 12px; }
.sports-bouts b { color: #fff; font-weight: 600; }
.sports-bouts i { font-style: normal; color: var(--muted); }
.sports-status { justify-self: end; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.sports-live, .sports-free { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.sports-live { background: #ef4444; color: #fff; }
.sports-free { background: rgba(34, 197, 94, .16); color: #86efac; }
.sports-watch { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px; border-radius: 9px; background: #fff; color: #0a0a19; font-size: 12px; font-weight: 750; }
.sports-watch svg { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.sports-empty { margin: 26px 4px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.sports-empty button { margin-left: 6px; padding: 0; border: 0; background: none; color: var(--accent); font-size: 14px; }

/* ---- replays ---- */
.sports-replays { margin-top: 34px; }
.sports-replays[hidden] { display: none; }
.sports-replay-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.sports-replay { display: grid; gap: 6px; padding: 0; border: 0; background: none; color: var(--text); text-align: left; cursor: pointer; }
.sports-replay-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #0d1324; }
.sports-replay-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.sports-replay:hover img { transform: scale(1.03); }
.sports-replay-thumb small { position: absolute; right: 6px; bottom: 6px; padding: 1px 6px; border-radius: 5px; background: rgba(0, 0, 0, .75); color: #fff; font-size: 11px; font-variant-numeric: tabular-nums; }
.sports-replay strong { overflow: hidden; font-size: 13px; font-weight: 650; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sports-replay span { color: var(--muted); font-size: 12px; }
.sports-credit { margin: 30px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

/* ---- the player ---- */
.sports-player { position: fixed; z-index: 30; inset: var(--mh-head-height) 0 0; display: flex; flex-direction: column; background: #000; }
.sports-player[hidden] { display: none; }
.sports-stage { position: relative; flex: 1; min-height: 0; background: #000; }
.sports-embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.sports-poster { position: absolute; inset: 0; display: grid; place-items: center; }
.sports-poster[hidden] { display: none; }
.sports-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.sports-play { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px 0 20px; border-radius: 999px; border: 0; background: #fff; color: #0a0a19; font-size: 16px; font-weight: 750; }
.sports-play svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.sports-player-bar { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px var(--mh-gutter) calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .1); background: #06080f; }
.sports-player-copy { flex: 1; min-width: 0; }
.sports-player-copy p { margin: 0; }
.sports-player-name { display: flex; align-items: center; gap: 8px; min-width: 0; color: #fff; font-size: 15px; font-weight: 750; }
.sports-player-name span:last-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sports-player-name .sports-live[hidden] { display: none; }
.sports-player-meta { margin-top: 2px !important; overflow: hidden; color: var(--muted-2); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.sports-player-meta.sports-warn { color: #fdba74; }
.sports-action { flex: none; height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05); color: var(--text); font-size: 13px; font-weight: 600; }
.sports-action:hover { background: rgba(255, 255, 255, .1); }

@media (max-width: 980px) {
  .sports-shell { display: block; }
  .sports-side { display: none; }
  .sports-tabs, .sports-subnav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--mh-gutter)); padding: 0 var(--mh-gutter); }
  .sports-tabs::-webkit-scrollbar, .sports-subnav::-webkit-scrollbar { display: none; }
  .sports-tabs { margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
  .sports-tabs a { flex: none; padding: 6px 2px; margin-right: 12px; color: var(--muted-2); font-size: 15px; font-weight: 650; text-decoration: none; border-bottom: 2px solid transparent; }
  .sports-tabs a[aria-current="page"] { color: #fff; border-bottom-color: #fff; }
  .sports-subnav { margin-top: -4px; margin-bottom: 16px; }
  .sports-subnav a { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .04); color: var(--muted-2); font-size: 12px; font-weight: 600; text-decoration: none; }
  .sports-subnav a[data-quiet] { color: var(--muted); }
  .sports-subnav a[aria-current="page"] { background: #fff; border-color: #fff; color: #0a0a19; }
  .sports-subnav .sports-dot { width: 6px; height: 6px; }
}

@media (max-width: 720px) {
  .sports-heading h1 { font-size: 20px; }
  .sports-bar { top: var(--sports-head, var(--mh-head-height)); }
  .sports-row { grid-template-columns: 50px minmax(0, 1fr); gap: 10px; padding: 10px; }
  .sports-row .sports-status { grid-column: 2; justify-self: start; }
  .sports-teams { gap: 8px; }
  .sports-team { font-size: 13px; }
  .sports-team img { width: 18px; height: 18px; }
  .sports-score { min-width: 48px; font-size: 15px; }
  .sports-now-row { grid-auto-columns: 78%; }
  .sports-player { inset: var(--sports-head, var(--mh-head-height)) 0 0; }
  .sports-player-bar { flex-wrap: wrap; }
  .sports-player-copy { flex-basis: 100%; }
  .sports-action { flex: 1; }
}
