/* Sports information layout, independently styled for Taraftarium24. */
.sports-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; }
.sports-toolbar h1 { font-size: 18px; font-weight: 500; letter-spacing: -.5px; margin: 0; }
.sports-toolbar time { display: block; font-size: 11px; color: #8594a9; margin-top: 4px; }
.sports-shortcuts { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.sports-shortcuts a { padding: 9px 12px; border: 1px solid #29364b; border-radius: 6px; font-size: 11px; color: #b8c4d6; background: #111b2a; white-space: nowrap; }
.sports-shortcuts a:hover { color: #ffda55; border-color: #756529; }
.sports-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sports-heading h2 { font-size: 16px; font-weight: 500; letter-spacing: -.35px; margin: 0; }
.sports-heading-left { display: flex; align-items: center; gap: 10px; }
.sports-heading-mark { width: 3px; height: 17px; background: #ffd02a; border-radius: 1px; }
.sports-badge { color: #a8b5c9; background: #ffffff05; border: 1px solid #354158; border-radius: 4px; padding: 4px 7px; font-size: 8px; letter-spacing: .7px; white-space: nowrap; }
.sports-badge.is-live { color: #f9a2a7; background: #e3536412; border-color: #c56c7530; }
.sports-badge[hidden] { display: none; }
.score-section { margin: 0 0 22px; }
.score-section > .sports-heading { margin-bottom: 11px; }
.scores-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.score-card { min-width: 0; border: 1px solid #2b384d; background: #111c2c; border-radius: 10px; padding: 13px 15px; }
.score-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 9px; margin-bottom: 13px; }
.score-league { color: #9aabc1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.score-minute { color: #7f90a7; white-space: nowrap; }
.score-minute.is-live { color: #ff9fa7; }
.score-sides { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; }
.score-side { display: flex; align-items: center; gap: 8px; min-width: 0; color: #e8eef7; font-size: 11px; }
.score-side > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.score-side-away { justify-content: flex-end; text-align: right; }
.score-side-away > span:first-child { overflow: hidden; text-overflow: ellipsis; }
.score-numbers { font-size: 22px; font-weight: 500; color: #fff; letter-spacing: 1px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sports-logo { width: 28px; height: 28px; flex: 0 0 28px; display: inline-flex; position: relative; align-items: center; justify-content: center; }
.sports-logo-fallback { font-size: 8px; font-weight: 500; color: #a9b9cf; border-radius: 5px; width: 25px; height: 25px; display: inline-flex; align-items: center; justify-content: center; background: #243249; }
.sports-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.sports-logo.has-image .sports-logo-fallback { visibility: hidden; }
.sports-source { font-size: 9px; color: #6c7f99; line-height: 1.7; }
.sports-source a { color: #91a3bb; }
.sports-source a:hover { text-decoration: underline; }
.scores-source { margin-top: 8px; text-align: right; }
.source-stale { color: #dbb959; }
.sports-dashboard { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 20px; margin-top: 24px; align-items: start; }
.sports-panel { min-width: 0; border: 1px solid #2b384d; border-radius: 12px; background: #101a29; overflow: hidden; }
.sports-panel > .sports-heading { padding: 18px; border-bottom: 1px solid #28354a; background: #142033; }
.sports-season { font-size: 10px; color: #8ea0b8; font-variant-numeric: tabular-nums; }
.sports-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 16px; }
.sports-league-label { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sports-league-label > span { font-size: 10px; color: #8d9db3; }
.sports-league-label select { min-width: 185px; max-width: 100%; border: 1px solid #344259; border-radius: 6px; padding: 9px 30px 9px 12px; background: #0e1725; color: #e5ecf7; font-size: 12px; font-family: inherit; cursor: pointer; }
.sports-refresh { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: #1a283d; color: #a9b9cf; padding: 9px 11px; border: 1px solid #344259; border-radius: 6px; cursor: pointer; font: 10px 'Rubik', Arial, sans-serif; }
.sports-refresh svg { width: 12px; height: 12px; }
.sports-refresh:hover { border-color: #8f7b32; color: #ffdc5c; }
.sports-tabs { display: flex; padding: 0 16px; gap: 20px; border-bottom: 1px solid #2a3649; }
.sports-tabs button { position: relative; cursor: pointer; border: 0; border-bottom: 2px solid transparent; padding: 12px 0; color: #94a4bb; background: transparent; font: 11px 'Rubik', Arial, sans-serif; white-space: nowrap; }
.sports-tabs button.active { color: #ffda4c; border-bottom-color: #ffd02a; }
.fixtures-switch { display: flex; gap: 5px; padding: 13px 16px 0; }
.fixtures-switch[hidden] { display: none; }
.fixtures-switch button { padding: 6px 10px; color: #93a4be; background: #182539; border: 1px solid #2d3c53; border-radius: 5px; font: 10px 'Rubik', Arial, sans-serif; cursor: pointer; }
.fixtures-switch button[aria-pressed="true"] { color: #ffda54; border-color: #7c6d32; background: #ffd02a09; }
.sports-content { min-height: 235px; }
.sports-content[aria-busy="true"] { opacity: .7; }
.sports-empty { padding: 40px 24px; text-align: center; color: #8b9bb4; font-size: 12px; line-height: 1.8; margin: 0; }
.scores-grid > .sports-empty { grid-column: 1 / -1; background: #101a29; border: 1px solid #29384c; border-radius: 9px; padding: 25px; }
.sports-table-scroll { width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
.sports-table { width: 100%; min-width: 550px; border-collapse: collapse; font-size: 11px; font-variant-numeric: tabular-nums; }
.sports-table th { padding: 12px 9px; text-align: center; font-size: 9px; font-weight: 400; color: #8c9eb8; background: #0d1726; border-bottom: 1px solid #263349; }
.sports-table td { padding: 10px 9px; text-align: center; color: #abb9cd; border-bottom: 1px solid #26324799; }
.sports-table tr:last-child td { border-bottom: 0; }
.sports-table tbody tr:hover { background: #ffffff03; }
.sports-table th:nth-child(2), .sports-table td:nth-child(2) { text-align: left; }
.sports-table .team-cell { color: #e2e9f4; }
.team-cell-inner { display: inline-flex; gap: 9px; align-items: center; white-space: nowrap; }
.sports-table .points-cell { font-weight: 700; font-size: 12px; color: #f1f5fa; }
.sports-table .rank-cell { color: #7e91ad; font-size: 10px; }
.sports-table .table-leader td:first-child { color: #ffd02a; box-shadow: inset 3px 0 #ffd02a; }
.table-leader .team-cell { color: #fff0ad; }
.standings-group { padding: 12px 16px; font-size: 12px; background: #1a283b; margin: 0; }
.sports-panel > .sports-source { padding: 11px 16px; border-top: 1px solid #27354a; background: #0e1827; min-height: 38px; }
.scorer-name { display: inline-flex; align-items: center; gap: 11px; }
.scorer-name strong { display: block; color: #e2eaf5; font-size: 11px; font-weight: 500; }
.scorer-name small { display: block; margin-top: 4px; color: #778ba7; font-size: 9px; }
.scorers-table { min-width: 430px; }
.scorers-table .sports-logo { width: 32px; height: 32px; flex-basis: 32px; }
.scorers-table img { border-radius: 50%; }
.fixtures-list { padding: 5px 16px 12px; }
.fixture-row { padding: 15px 0; border-bottom: 1px solid #29374b; }
.fixture-row:last-child { border-bottom: 0; }
.fixture-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 9px; color: #8294ad; margin-bottom: 10px; }
.fixture-meta > span { color: #5f7695; }
.fixture-sides { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: center; }
.fixture-team { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #d1dbea; min-width: 0; }
.fixture-team.away { justify-content: flex-end; text-align: right; }
.fixture-score { min-width: 40px; text-align: center; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.sports-news-list { max-height: 745px; overflow-y: auto; }
.sports-news-item { display: flex; gap: 12px; padding: 14px; border-bottom: 1px solid #27344a; transition: background .15s; }
.sports-news-item:hover { background: #18263a; }
.news-image { width: 76px; height: 60px; flex: 0 0 76px; border-radius: 5px; object-fit: cover; background: #1c2a3e; }
.news-image[hidden] { display: none; }
.news-copy { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.news-copy strong { font-size: 11px; line-height: 1.55; font-weight: 500; color: #e2e9f4; }
.news-meta { display: block; color: #7890ac; font-size: 8px; line-height: 1.5; }
.news-featured { display: block; padding: 14px; }
.news-featured .news-image { width: 100%; height: 160px; margin-bottom: 12px; }
.news-featured .news-copy strong { font-size: 15px; line-height: 1.5; letter-spacing: -.15px; }
.sponsor-media { image-rendering: auto; }
@media (max-width: 1000px) {
  .sports-dashboard { grid-template-columns: minmax(0, 1fr) 290px; gap: 14px; }
  .score-card { padding: 12px; }
  .score-sides { gap: 8px; }
  .score-side { font-size: 10px; gap: 5px; }
  .score-numbers { font-size: 19px; }
  .sports-tabs { gap: 14px; }
}
@media (max-width: 760px) {
  .sports-toolbar { align-items: flex-start; flex-direction: column; gap: 12px; padding: 16px 0; }
  .sports-toolbar h1 { font-size: 17px; }
  .sports-toolbar time { font-size: 10px; }
  .sports-shortcuts { width: 100%; flex-wrap: nowrap; gap: 5px; }
  .sports-shortcuts a { flex: 1; text-align: center; font-size: 9px; padding: 8px 4px; border-radius: 5px; }
  .score-section { margin-bottom: 18px; }
  .scores-grid { display: flex; overflow-x: auto; gap: 8px; scroll-snap-type: x mandatory; padding-bottom: 5px; }
  .score-card { min-width: 280px; flex: 0 0 88%; scroll-snap-align: start; }
  .score-side { font-size: 11px; }
  .score-numbers { font-size: 22px; }
  .scores-grid > .sports-empty { min-width: 100%; }
  .sports-heading h2 { font-size: 14px; }
  .scores-source { font-size: 8px; }
  .sports-dashboard { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 18px; }
  .sports-panel > .sports-heading { padding: 15px 13px; }
  .sports-controls { padding: 12px; gap: 7px; }
  .sports-league-label { gap: 7px; flex: 1; }
  .sports-league-label select { min-width: 0; width: 100%; font-size: 11px; }
  .sports-league-label > span { display: none; }
  .sports-refresh { padding: 10px; }
  .sports-tabs { justify-content: space-between; padding: 0 12px; gap: 8px; }
  .sports-tabs button { font-size: 10px; padding: 12px 0; }
  .sports-table td { padding: 10px 8px; }
  .sports-table { min-width: 495px; }
  .scorers-table { min-width: 390px; }
  .sports-news-list { max-height: 670px; }
  .news-copy strong { font-size: 12px; }
  .news-meta { font-size: 9px; }
  .news-featured .news-image { height: 178px; }
  .fixture-sides { gap: 7px; }
  .fixture-team { font-size: 10px; gap: 4px; }
  .fixture-team .sports-logo { width: 22px; height: 22px; flex-basis: 22px; }
  .fixture-meta { font-size: 8px; }
}
