:root {
  --bg: #000;
  --card: #090909;
  --card-2: #050505;
  --line: #222;
  --line-2: #2d2d2d;
  --text: #fff;
  --muted: #b7b7b7;
  --red: #bd0000;
  --green: #00ff2a;
  --gold: #e7d600;
  --yellow: #f5e600;
  --shell: 1250px;
  --button-bg: #111;
  --button-hover: #171717;
  --button-border: #2d2d2d;
  --panel-bg: #070707;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img,
iframe,
video {
  display: block;
  max-width: 100%;
}

.card,
.topbar,
.sidebar,
.content,
.match-detail-card,
.side-panel,
.pulse-panel,
.table-wrap,
.app-download-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #0b0b0b 0%, #050505 100%);
}

.topbar {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 50%;
  width: min(calc(100% - 36px), var(--shell));
  min-height: 76px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border-color: #101010;
  background: #000;
}

.top-search {
  width: min(100%, 270px);
  min-height: 38px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  background: var(--button-bg);
}

.top-search svg {
  width: 16px;
  height: 16px;
  color: #9aa0ad;
}

.top-search input {
  width: 100%;
  min-height: 34px;
  border: 0;
  outline: none;
  color: #fff;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-badge {
  position: relative;
  width: 170px;
  height: 58px;
  min-width: 170px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #181818;
  border-radius: 8px;
  background: #000;
  color: transparent;
}

.brand-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.brand-copy {
  display: none;
  gap: 4px;
  min-width: 0;
}

.brand-copy strong {
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
}

.brand-copy small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav,
.tabs,
.live-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-tab,
.member-btn,
.edition-pill,
.live-filter,
.tab,
.sidebar-action,
.watch-btn,
.primary-action,
.app-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-tab,
.member-btn,
.live-filter,
.tab,
.sidebar-action,
.watch-btn {
  padding: 10px;
  color: #fff;
  background: var(--button-bg);
}

.nav-tab,
.live-filter,
.tab,
.sidebar-action,
.watch-btn,
.top-league-pill,
.league-chip,
.date-nav-button,
.mini-action,
.app-download-btn {
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.nav-tab.is-active,
.live-filter.active,
.tab.active {
  background: #fff;
  color: #000;
}

.nav-tab:hover,
.live-filter:hover,
.tab:hover,
.sidebar-action:hover,
.watch-btn:hover,
.mini-action:hover,
.date-nav-button:hover,
.league-view-tab:hover,
.round-chip:hover {
  border-color: #fff;
  background: var(--button-hover);
}

.nav-tab.is-active:hover,
.live-filter.active:hover,
.tab.active:hover,
.league-view-tab.active:hover,
.round-chip.active:hover {
  background: #fff;
  color: #000;
}

.member-btn,
.edition-pill {
  color: #001018;
  background: #fff;
}

.edition-pill {
  min-height: 38px;
  padding: 0 12px;
  border-color: #fff;
}

.running-text-wrap {
  position: fixed;
  z-index: 900;
  top: 82px;
  left: 50%;
  width: min(calc(100% - 36px), var(--shell));
  height: 38px;
  transform: translateX(-50%);
  overflow: hidden;
  border: 1px solid #151515;
  border-radius: 8px;
  background: #050505;
}

.running-text-track {
  display: flex;
  width: max-content;
  height: 100%;
  align-items: center;
  animation: runningText 26s linear infinite;
  will-change: transform;
}

.running-text-track span {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 24px;
  color: #e8e8e8;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

@keyframes runningText {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.page-shell {
  width: min(calc(100% - 36px), var(--shell));
  margin: 0 auto;
  padding: 136px 0 36px;
}

.standalone-shell {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.article-shell {
  display: grid;
  gap: 18px;
}

.home-shell {
  width: min(calc(100% - 36px), var(--shell));
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.home-sidebar {
  padding: 18px;
  overflow: hidden;
}

.home-content {
  gap: 12px;
  min-width: 0;
}

.featured-schedule-panel {
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid #202020;
  border-radius: 8px;
  background: var(--panel-bg);
}

.featured-schedule-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.featured-schedule-head h2 {
  margin: 3px 0 0;
  font-size: 18px;
  line-height: 1.15;
}

.featured-schedule-head strong {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.featured-schedule-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.featured-schedule-list .source-empty {
  grid-column: 1 / -1;
}

.featured-schedule-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 10px 12px;
  border: 1px solid #242424;
  border-radius: 8px;
  background: #101010;
}

.featured-schedule-card:hover {
  border-color: var(--red);
  background: #151515;
}

.featured-schedule-time {
  display: grid;
  gap: 4px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-align: center;
}

.featured-schedule-time small,
.featured-schedule-meta {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-schedule-time small {
  white-space: normal;
}

.featured-schedule-teams {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.featured-schedule-team {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.featured-schedule-team .team-mark {
  width: 24px;
  height: 24px;
  min-width: 24px;
  font-size: 8px;
}

.featured-schedule-team strong {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-schedule-card .league-logo {
  width: 34px;
  height: 34px;
  min-width: 34px;
  box-shadow: none;
}

.top-league-rail-wrap {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #141414;
  border-radius: 8px;
  background: #050505;
}

.top-league-rail {
  width: 100%;
  max-width: 100%;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px;
  scrollbar-width: thin;
}

.top-league-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  min-height: 48px;
  padding: 6px 14px 6px 7px;
  border: 1px solid #242424;
  border-radius: 8px;
  color: #fff;
  background: var(--button-bg);
  font-size: 12px;
  font-weight: 950;
}

.top-league-pill .league-logo {
  width: 34px;
  height: 34px;
  min-width: 34px;
  box-shadow: none;
}

.top-league-pill:hover,
.top-league-pill.active {
  border-color: var(--red);
  background: #0b0b0b;
}

.match-detail-shell {
  width: min(calc(100% - 36px), var(--shell));
}

.league-shell {
  width: min(calc(100% - 36px), var(--shell));
  display: grid;
  gap: 16px;
}

.highlight-shell {
  width: min(calc(100% - 36px), var(--shell));
  display: grid;
  gap: 16px;
}

.highlight-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.highlight-head h1 {
  margin: 0;
  font-size: clamp(1.35rem, 3.2vw, 2.4rem);
  line-height: 1.08;
}

.highlight-head p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.highlight-search {
  width: min(100%, 360px);
  min-height: 42px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid var(--button-border);
  border-radius: 8px;
  background: var(--button-bg);
}

.highlight-search svg {
  color: #9aa0ad;
}

.highlight-search input {
  width: 100%;
  border: 0;
  outline: none;
  color: #fff;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
}

.highlight-feature {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid #242424;
  border-radius: 8px;
  background: var(--panel-bg);
}

.highlight-feature iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.highlight-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #161616;
  border-radius: 8px;
  background: var(--panel-bg);
}

.highlight-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #050505;
}

.highlight-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.highlight-thumb > span {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 52px;
  font-weight: 950;
}

.highlight-thumb svg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
  padding: 13px;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.72);
}

.highlight-card-copy {
  display: grid;
  gap: 12px;
}

.highlight-card-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.highlight-card h2 {
  min-height: 58px;
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-size: 24px;
  line-height: 1.2;
}

.highlight-watch {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #080808;
  border-radius: 8px;
  color: #fff;
  background: #d00000;
  font-size: 14px;
  font-weight: 950;
}

.highlight-watch:hover {
  border-color: #fff;
  background: #e00000;
}

.highlight-empty {
  grid-column: 1 / -1;
  border: 1px solid #222;
  border-radius: 8px;
}

.layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.sidebar,
.content {
  min-width: 0;
}

.sidebar {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.sidebar-section,
.pulse-panel {
  display: grid;
  gap: 12px;
}

.sidebar-section h2,
.pulse-panel h2,
.app-download-card h2,
.section-heading h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.1;
}

.sidebar-eyebrow {
  color: #9a9a9a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.app-download-card {
  display: grid;
  gap: 10px;
  overflow: hidden;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.api-coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.api-stat-chip {
  min-height: 66px;
  grid-template-rows: auto auto;
  border-color: #242424;
  background: var(--button-bg);
}

.api-stat-chip strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: 23px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.api-stat-chip small {
  color: var(--muted);
}

.desk-copy {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.coverage-grid span {
  display: grid;
  gap: 4px;
  min-height: 62px;
  padding: 10px;
  border: 1px solid #202020;
  border-radius: 8px;
  background: #050505;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.coverage-grid strong {
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.app-download-btn {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 9px;
  row-gap: 2px;
  min-height: 50px;
  width: 100%;
  min-width: 0;
  justify-content: flex-start;
  align-content: center;
  padding: 9px 10px;
  overflow: hidden;
  color: #fff;
  background: #050505;
  text-align: left;
}

.app-download-btn svg {
  grid-row: 1 / 3;
  align-self: center;
  width: 18px;
  height: 18px;
}

.app-download-btn span,
.app-download-btn small {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-download-btn span {
  font-size: 11px;
}

.app-download-btn small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.android-btn,
.ios-btn,
.connection-btn {
  color: #fff;
  border-color: #242424;
  background: var(--button-bg);
}

.android-btn:hover,
.ios-btn:hover,
.connection-btn:hover {
  border-color: var(--red);
  background: var(--button-hover);
}

.ios-btn small {
  color: var(--muted);
}

.sidebar-list {
  display: grid;
  gap: 10px;
}

.league-chip {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 8px 11px;
  overflow: hidden;
  border: 1px solid #262626;
  border-radius: 8px;
  background: var(--button-bg);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.league-chip:hover,
.league-chip.active {
  border-color: var(--red);
  background: var(--button-hover);
}

.league-logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  overflow: hidden;
  border: 2px solid #1c1c1c;
  border-radius: 50%;
  background: #fff;
  color: #050505;
  box-shadow: 0 0 0 3px #050505;
  font-size: 10px;
  font-weight: 950;
}

.league-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.league-chip-copy {
  display: grid;
  gap: 3px;
  width: 100%;
  min-width: 0;
  flex: 1;
}

.league-chip-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.league-chip-meta {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-panel .date-control,
.source-row select,
.source-row input,
.live-search-box input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  outline: none;
  color: #fff;
  background: #050505;
  padding: 0 12px;
  font-weight: 800;
}

.filter-panel .date-control:focus,
.source-row select:focus,
.source-row input:focus,
.live-search-box input:focus {
  border-color: #4a4a4a;
}

.sidebar-action,
.primary-action {
  width: 100%;
  border-color: #080808;
  color: #fff;
  background: #050505;
}

.table-wrap {
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

th,
td {
  padding: 10px 8px;
  border-bottom: 1px solid #161616;
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.meter {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #151515;
}

.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.pulse-row {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.pulse-row strong {
  color: #fff;
}

.content {
  display: grid;
  gap: 14px;
  padding: 18px;
  overflow: hidden;
}

.live-tabs {
  margin-bottom: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.live-tabs::-webkit-scrollbar {
  display: none;
}

.live-filter {
  min-width: 66px;
  padding-inline: 10px;
}

.live-filter svg {
  width: 14px;
  height: 14px;
}

.load-more {
  margin-left: auto;
}

.live-filter:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.live-search-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: #050505;
  padding: 0 8px 0 12px;
}

.live-search-box svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
}

.live-search-box input {
  min-height: 38px;
  border: 0;
  padding: 0;
}

.home-search {
  grid-template-columns: auto minmax(0, 1fr);
}

.live-search-box button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #151515;
  font-weight: 900;
}

.api-status,
.form-status {
  min-height: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.api-status.error,
.form-status.error {
  color: #ff5252;
}

.live-board {
  overflow: hidden;
  border-radius: 8px;
}

.live-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  border-radius: 8px 8px 0 0;
  background: var(--red);
  color: #fff;
  font-size: 20px;
  font-weight: 850;
}

.home-board-head {
  border-radius: 0;
}

.live-board-head > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-count {
  padding: 8px 14px;
  border-radius: 8px;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.green-dot,
.live-time .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green), 0 0 18px var(--green);
  animation: livePulse 1.2s infinite ease-in-out;
}

@keyframes livePulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.25;
  }
}

.live-sport-title {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 15px;
  border-right: 1px solid var(--red);
  border-bottom: 1px solid var(--red);
  border-left: 1px solid var(--red);
  background: #030303;
}

.live-round-icon {
  position: relative;
  width: 30px;
  height: 30px;
  border: 4px solid var(--yellow);
  border-radius: 50%;
}

.live-round-icon::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

.live-sport-title strong {
  display: block;
  font-size: 18px;
}

.live-sport-title small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.live-match-list {
  display: grid;
  overflow: hidden;
}

.source-empty {
  padding: 26px 18px;
  border: 1px solid #222;
  border-top: 0;
  background: #080808;
  color: var(--muted);
  text-align: center;
  font-weight: 850;
}

.league-match-group {
  display: grid;
  overflow: hidden;
}

.league-match-group + .league-match-group {
  margin-top: 0;
}

.league-group-head {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border: 1px solid var(--red);
  border-bottom: 0;
  background: #020202;
}

.league-heading-main {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.league-heading-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.league-heading-copy strong {
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.league-country {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #b8c4df;
  font-size: 11px;
  font-weight: 800;
}

.country-flag {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
}

.league-count {
  color: #b8c4df;
  font-size: 12px;
  font-weight: 950;
}

.match-card,
.live-match-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 55px 120px;
  align-items: center;
  gap: 18px;
  min-height: 80px;
  padding: 10px 20px;
  border-right: 1px solid var(--red);
  border-bottom: 1px solid var(--red);
  border-left: 1px solid var(--red);
  background:
    radial-gradient(circle at 65% 50%, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(90deg, #070707 0%, #151513 55%, #090909 100%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.match-card:hover,
.match-card.active {
  background:
    radial-gradient(circle at 65% 50%, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(90deg, #0d0d0d 0%, #1a1a17 55%, #0f0f0f 100%);
}

.live-match-row.is-finished {
  border-color: #7a0000;
}

.live-match-row.is-finished .status-dot {
  background: #ff1010;
  box-shadow: 0 0 8px #ff1010, 0 0 22px rgba(255, 16, 16, 0.85);
  animation: redLivePulse 0.85s infinite ease-in-out;
}

.live-match-row.is-scheduled .status-dot {
  background: #ff1010;
  box-shadow: 0 0 8px #ff1010, 0 0 22px rgba(255, 16, 16, 0.85);
  animation: redLivePulse 0.85s infinite ease-in-out;
}

@keyframes redLivePulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.2;
    transform: scale(0.72);
  }
}

.live-time {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.live-time b {
  display: block;
  color: var(--green);
  font-size: 14px;
  font-weight: 950;
  white-space: nowrap;
}

.live-time > div > span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.match-clock {
  align-items: center;
}

.match-clock b {
  color: #fff;
}

.match-minute {
  color: var(--green);
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
}

.quality-pill {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 20px;
  padding: 0 5px;
  border-radius: 5px;
  background: var(--yellow);
  color: #050505;
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
}

.live-teams {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.team-line {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.team-mark,
.crest {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #333;
  border-radius: 50%;
  background: #050505;
  color: #fff;
  font-size: 10px;
  font-weight: 950;
}

img.team-mark {
  object-fit: contain;
  padding: 2px;
}

.team-line strong {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-score {
  display: grid;
  gap: 13px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.watch-btn {
  justify-self: end;
  min-width: 74px;
  border-color: #080808;
  background: #050505;
  color: #fff;
  transition: transform 0.2s ease, background 0.2s ease;
}

.watch-btn:hover {
  transform: translateY(-1px);
  background: #121212;
}

.live-match-row.is-live .watch-btn {
  border-color: #e20000;
  background: #d00000;
}

.live-match-row.is-scheduled .watch-btn,
.live-match-row.is-finished .watch-btn {
  border-color: var(--button-border);
  background: var(--button-bg);
}

.home-article-feature {
  overflow: hidden;
  border: 1px solid #242424;
  border-radius: 8px;
  background: #070707;
}

.home-article-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 14px 0;
}

.home-article-head h2 {
  margin: 2px 0 0;
  font-size: 14px;
}

.mini-action {
  min-height: 28px;
  display: inline-grid;
  place-items: center;
  padding: 0 12px;
  border: 1px solid #2c2c2c;
  border-radius: 8px;
  background: #050505;
  font-size: 10px;
  font-weight: 950;
}

.home-article-card {
  position: relative;
  min-height: 210px;
  display: grid;
  align-items: end;
  overflow: hidden;
  margin-top: -28px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.62) 45%, rgba(0, 0, 0, 0.18) 100%),
    #101010;
}

.home-article-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-article-card > div {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  width: min(100%, 620px);
  padding: 70px 18px 18px;
}

.home-article-card span {
  color: #fff;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-article-card h3 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.05;
}

.home-article-card p {
  margin: 0;
  color: #e7e7e7;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.home-article-card small {
  width: max-content;
  padding: 8px 13px;
  border-radius: 8px;
  background: #d00000;
  color: #fff;
  font-size: 11px;
  font-weight: 950;
}

.match-detail-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  scroll-margin-top: 136px;
}

.stage-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.live-pill > span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green), 0 0 18px var(--green);
}

.scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.team-block {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.team-block strong {
  overflow: hidden;
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-away {
  justify-content: flex-end;
  text-align: right;
}

.score-block {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 950;
}

.score-block small {
  color: var(--muted);
  font-size: 0.55em;
}

.video-frame {
  position: relative;
  min-height: 280px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #181818;
  border-radius: 8px;
  background: #000;
}

.video-frame img,
.video-frame iframe,
.video-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 30%, rgba(245, 230, 0, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.9));
  text-align: center;
}

.api-player-message {
  display: grid;
  justify-items: center;
  gap: 10px;
  max-width: 560px;
}

.api-player-message svg {
  width: 42px;
  height: 42px;
  color: var(--green);
}

.api-player-message h3,
.api-player-message p,
.api-player-message small {
  margin: 0;
}

.api-player-message h3 {
  font-size: clamp(1.2rem, 3vw, 1.9rem);
}

.api-player-message p,
.api-player-message small {
  color: #e8e8e8;
  line-height: 1.5;
  font-weight: 800;
}

.api-player-message small {
  color: var(--muted);
  font-size: 0.86rem;
}

.api-player-message .primary-action {
  width: auto;
  padding: 0 18px;
  color: #000;
  background: #fff;
}

.api-player-message .highlight-watch {
  min-height: 42px;
  padding: 0 16px;
  text-decoration: none;
}

.source-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.source-head label {
  color: #fff;
}

.source-row {
  display: grid;
  grid-template-columns: 140px 150px minmax(0, 1fr) 110px;
  gap: 8px;
}

.source-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.source-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 8px;
  border: 1px solid #242424;
  border-radius: 8px;
  color: #fff;
  background: #060606;
  font-size: 11px;
  font-weight: 850;
}

.source-chip small {
  color: var(--muted);
}

.source-chip.active {
  border-color: #fff;
}

.source-chip-remove {
  color: #ff5252;
  font-weight: 950;
}

.source-fallback {
  height: 100%;
  display: grid;
  place-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
}

.source-fallback h3,
.source-fallback p {
  margin: 0;
}

.detail-grid {
  display: grid;
}

.side-panel {
  min-width: 0;
  padding: 14px;
}

.side-panel .tabs {
  margin-bottom: 12px;
  overflow-x: auto;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: grid;
  gap: 12px;
}

.tab-panel h2 {
  margin: 0;
  font-size: 18px;
}

.lineup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.player-chip {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #202020;
  border-radius: 8px;
  background: #050505;
}

.player-chip small {
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
}

.player-chip span {
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-list {
  display: grid;
  gap: 10px;
}

.stat-item {
  display: grid;
  gap: 8px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.stat-row strong {
  color: #fff;
}

.stat-bar {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #161616;
}

.stat-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
}

.chat-list {
  display: grid;
  gap: 8px;
  max-height: 230px;
  overflow: auto;
  padding-right: 4px;
}

.chat-bubble {
  padding: 10px;
  border: 1px solid #202020;
  border-radius: 8px;
  background: #050505;
}

.chat-bubble strong,
.chat-bubble p {
  margin: 0;
}

.chat-bubble strong {
  color: var(--gold);
  font-size: 11px;
}

.chat-bubble p {
  margin-top: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px;
}

.chat-form input {
  min-height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  outline: 0;
  color: #fff;
  background: #050505;
  padding: 0 12px;
  font-weight: 800;
}

.live-room,
.score-room {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.live-room-head,
.score-page-header,
.chat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.live-room-head h1,
.score-page-header h1 {
  margin: 6px 0 8px;
  font-size: clamp(1.35rem, 3.2vw, 2.4rem);
  line-height: 1.08;
}

.hero-versus[hidden] {
  display: none;
}

.hero-versus[hidden] + #awayTeam {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.live-room-head p,
.score-page-header p {
  max-width: 740px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.5;
}

.live-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 14px;
  align-items: stretch;
}

.live-stage-main {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.match-page-scoreboard {
  min-height: 96px;
  padding: 12px 16px;
  border: 1px solid #181818;
  border-radius: 8px;
  background: #050505;
}

.team-logo-holder {
  display: grid;
  place-items: center;
}

.team-logo-holder .team-mark {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: #fff;
  color: #000;
}

.match-page-scoreboard .team-block strong {
  color: var(--gold);
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 1;
}

.pro-video-frame {
  min-height: 280px;
}

.compact-action {
  width: max-content;
  min-width: 210px;
  padding: 0 18px;
}

.chat-panel,
.info-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #181818;
  border-radius: 8px;
  background: #050505;
}

.chat-panel {
  grid-template-rows: auto minmax(260px, 1fr) auto auto;
}

.chat-head h2,
.info-card h2,
.lineup-side h3 {
  margin: 4px 0 0;
  font-size: 18px;
  line-height: 1.2;
}

.chat-live-dot {
  width: 12px;
  height: 12px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green), 0 0 18px rgba(0, 255, 42, 0.55);
}

.pro-chat-form {
  grid-template-columns: minmax(0, 1fr) 42px;
}

.pro-chat-form input:disabled,
.pro-chat-form button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.detail-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wide-card {
  grid-column: span 2;
}

.lineup-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lineup-side {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.team-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.team-info-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border: 1px solid #202020;
  border-radius: 8px;
  background: #080808;
}

.team-info-card img,
.team-info-card > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid #303030;
  border-radius: 50%;
  background: #fff;
  color: #000;
  object-fit: contain;
  font-size: 11px;
  font-weight: 950;
}

.team-info-card div {
  min-width: 0;
}

.team-info-card small {
  color: var(--gold);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.team-info-card strong,
.team-info-card p {
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-info-card strong {
  display: block;
  margin-top: 3px;
  font-size: 14px;
}

.team-info-card p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.match-info-grid,
.player-detail-grid,
.section-card-grid {
  display: grid;
  gap: 10px;
}

.match-info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.match-info-grid span,
.player-detail-chip,
.section-data-card,
.section-table-card,
.stadium-card {
  border: 1px solid #242424;
  border-radius: 8px;
  background: #080808;
}

.match-info-grid span {
  display: grid;
  gap: 4px;
  padding: 12px;
}

.match-info-grid small,
.player-detail-chip small,
.section-card-topline span,
.transfer-player-line small,
.stadium-card small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.match-info-grid strong,
.player-detail-chip strong,
.transfer-player-line strong,
.stadium-card strong {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stadium-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
}

.stadium-card img,
.stadium-card > span {
  width: 74px;
  height: 74px;
  border-radius: 8px;
  object-fit: cover;
}

.stadium-card > span {
  display: grid;
  place-items: center;
  background: #111;
  color: var(--gold);
  font-weight: 950;
}

.stadium-card p {
  margin: 5px 0;
  color: #d7d7d7;
  font-size: 12px;
  font-weight: 850;
}

.player-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.player-detail-chip {
  display: grid;
  gap: 4px;
  padding: 11px;
}

.player-detail-chip em {
  color: #d7d7d7;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.sportsrc-section-shell .content {
  display: grid;
  gap: 18px;
}

.section-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-data-card,
.section-table-card {
  display: grid;
  gap: 13px;
  padding: 14px;
}

.section-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.section-card-topline strong {
  padding: 5px 8px;
  border-radius: 8px;
  background: var(--gold);
  color: #050505;
  font-size: 10px;
  font-weight: 950;
}

.section-match-link {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid #232323;
  border-radius: 8px;
  background: #050505;
}

.section-match-link b {
  overflow: hidden;
  font-size: 14px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section-match-link em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}

.section-metric-list {
  display: grid;
  gap: 8px;
}

.section-metric-list span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  background: #101010;
}

.section-metric-list small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.section-metric-list strong {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-align: right;
}

.section-table-card {
  margin-bottom: 14px;
}

.transfer-player-line,
.transfer-route,
.transfer-route span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.transfer-player-line img,
.transfer-player-line > span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.transfer-player-line > span {
  display: grid;
  place-items: center;
  background: #111;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
}

.transfer-route {
  justify-content: space-between;
  padding: 10px;
  border-radius: 8px;
  background: #050505;
}

.transfer-route span {
  flex: 1;
}

.transfer-route b {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.transfer-route svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.match-official-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #282828;
  border-radius: 8px;
  background: linear-gradient(135deg, #111, #070707);
}

.match-official-panel h2 {
  margin: 0;
  font-size: 22px;
}

.match-official-panel p,
.source-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.55;
}

.official-source-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.official-source-grid span {
  display: grid;
  gap: 4px;
  min-height: 62px;
  padding: 10px;
  border: 1px solid #242424;
  border-radius: 8px;
  color: var(--muted);
  background: #080808;
  font-size: 11px;
  font-weight: 900;
}

.official-source-grid strong {
  color: var(--gold);
  font-size: 18px;
}

.official-source-grid .is-ready {
  border-color: rgba(0, 255, 42, 0.34);
}

.official-source-grid .is-ready strong {
  color: var(--green);
}

.event-timeline {
  display: grid;
  gap: 10px;
}

.event-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid #242424;
  border-radius: 8px;
  background: #101010;
}

.event-row > span {
  display: grid;
  place-items: center;
  min-height: 34px;
  border-radius: 8px;
  color: #000;
  background: var(--gold);
  font-size: 12px;
  font-weight: 950;
}

.event-row.away > span {
  color: #fff;
  background: var(--red);
}

.event-row strong,
.event-row p {
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-row strong {
  color: #fff;
  font-size: 13px;
}

.event-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.45;
}

.score-actions,
.filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.score-filter-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 170px 120px;
}

.score-date-nav {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(190px, 240px) minmax(150px, 1fr);
  gap: 10px;
  align-items: stretch;
}

.date-nav-button,
.score-date-picker {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  border: 1px solid #2d2d2d;
  border-radius: 8px;
  background: #101010;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.date-nav-button {
  padding: 0 14px;
}

.date-nav-button svg {
  width: 18px;
  height: 18px;
}

.date-nav-button:hover {
  border-color: #fff;
}

.score-date-picker {
  display: grid;
  gap: 5px;
  padding: 7px 10px;
}

.score-date-picker span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.score-date-picker .date-control {
  width: 100%;
  min-height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: center;
}

.score-page-panel {
  display: grid;
  gap: 12px;
  padding-top: 4px;
}

.upcoming-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #202020;
  border-radius: 8px;
  background: #070707;
}

.upcoming-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.upcoming-head h2 {
  margin: 0;
  font-size: 20px;
}

.upcoming-head strong {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.upcoming-list {
  display: grid;
  gap: 8px;
}

.upcoming-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) minmax(160px, 0.7fr);
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid #1f1f1f;
  border-radius: 8px;
  background: #101010;
}

.upcoming-item span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
}

.upcoming-item strong,
.upcoming-item small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upcoming-item strong {
  font-size: 13px;
}

.upcoming-item small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.score-pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.pager-label {
  min-width: 110px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-align: center;
}

.live-filter:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.league-back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  width: max-content;
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
}

.league-back svg {
  width: 24px;
  height: 24px;
}

.league-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding-top: 8px;
}

.league-page-logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
}

.league-page-logo img,
.league-page-logo span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  object-fit: contain;
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
  font-weight: 950;
}

.league-title-row h1 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.15;
}

.league-title-row p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.league-filter-line {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.league-filter-line .source-row {
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
}

.league-filter-line .source-row > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.league-competition-card {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  min-height: 184px;
  padding: 26px 26px;
  border: 1px solid #242424;
  border-radius: 8px;
  background: linear-gradient(135deg, #121212, #060606);
}

.league-competition-logo {
  width: 124px;
  height: 124px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55);
}

.league-competition-logo img,
.league-competition-logo span {
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  object-fit: contain;
  color: #000;
  font-size: 24px;
  font-weight: 950;
}

.league-competition-copy {
  min-width: 0;
}

.league-competition-copy > span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.5em;
  text-transform: uppercase;
}

.league-competition-copy h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  line-height: 1.05;
}

.league-competition-copy p {
  max-width: 620px;
  margin: 12px 0 0;
  color: #d7dff3;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.4;
}

.league-competition-stats {
  display: flex;
  gap: 12px;
  align-items: center;
}

.league-competition-stats span {
  min-width: 124px;
  min-height: 96px;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 12px;
  border: 1px solid #2d2d2d;
  border-radius: 8px;
  background: #171717;
}

.league-competition-stats strong {
  font-size: 34px;
  line-height: 1;
}

.league-competition-stats small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.league-view-tabs,
.league-round-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.league-view-tab,
.round-chip {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #2d2d2d;
  border-radius: 8px;
  color: #fff;
  background: #101010;
  font-size: 12px;
  font-weight: 950;
}

.league-view-tab.active,
.round-chip.active {
  border-color: #fff;
  color: #000;
  background: #fff;
}

.league-view-card {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid #242424;
  border-radius: 8px;
  background: #121212;
}

.league-view-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.league-view-head h2 {
  margin: 0;
  font-size: 22px;
}

.league-view-head strong {
  color: var(--muted);
  font-size: 15px;
  font-weight: 950;
}

.league-detail-match-list {
  display: grid;
  gap: 10px;
}

.league-detail-match-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 44px;
  gap: 20px;
  align-items: center;
  min-height: 98px;
  padding: 16px;
  border: 1px solid #282828;
  border-radius: 8px;
  background: #171717;
}

.league-detail-match-card:hover {
  border-color: var(--red);
}

.league-detail-meta {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.league-detail-meta strong {
  color: var(--gold);
  font-size: 13px;
}

.league-detail-meta span,
.league-detail-meta small {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.league-detail-teams {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.league-detail-teams span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.league-detail-teams .team-mark {
  width: 32px;
  height: 32px;
  min-width: 32px;
}

.league-detail-teams b {
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.league-detail-score {
  display: grid;
  gap: 16px;
  justify-items: center;
  color: var(--gold);
  font-size: 18px;
  font-weight: 950;
}

.league-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.league-team-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border: 1px solid #282828;
  border-radius: 8px;
  background: #171717;
}

.league-team-card img,
.league-team-card > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #000;
  object-fit: contain;
  font-size: 11px;
  font-weight: 950;
}

.league-team-card strong,
.league-team-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.league-team-card small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.league-insight-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  color: var(--muted);
  background: #0b0b0b;
  font-size: 12px;
  font-weight: 850;
}

.league-insight-note strong {
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.league-insight-note.official {
  border-color: rgba(245, 230, 0, 0.28);
  background: linear-gradient(135deg, rgba(245, 230, 0, 0.1), rgba(255, 255, 255, 0.03));
}

.league-insight-note.fallback {
  border-color: rgba(255, 255, 255, 0.08);
}

.league-topscorer-grid {
  display: grid;
  gap: 10px;
}

.league-topscorer-card {
  display: grid;
  grid-template-columns: 38px 48px minmax(0, 1fr) minmax(74px, auto);
  gap: 12px;
  align-items: center;
  min-height: 76px;
  padding: 12px;
  border: 1px solid #282828;
  border-radius: 8px;
  background: #171717;
}

.league-topscorer-rank {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #000;
  background: var(--gold);
  font-size: 14px;
  font-weight: 950;
}

.league-topscorer-avatar img,
.league-topscorer-avatar span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #000;
  background: #fff;
  object-fit: cover;
  font-size: 11px;
  font-weight: 950;
}

.league-topscorer-player {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.league-topscorer-player strong,
.league-topscorer-player span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.league-topscorer-player strong {
  color: #fff;
  font-size: 16px;
}

.league-topscorer-player span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.league-topscorer-player span img {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
}

.league-topscorer-total {
  display: grid;
  justify-items: end;
  gap: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
}

.league-topscorer-total strong {
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

.league-stat-grid-large {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.league-bracket-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 10px;
  overflow-x: auto;
}

.league-bracket-grid section {
  display: grid;
  gap: 10px;
  min-width: 140px;
  padding: 12px;
  border: 1px solid #282828;
  border-radius: 8px;
  background: #171717;
}

.league-bracket-grid h3 {
  margin: 0;
  color: var(--gold);
  font-size: 13px;
}

.league-bracket-grid div {
  display: grid;
  gap: 8px;
}

.league-bracket-grid a,
.league-bracket-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.league-empty-state {
  padding: 20px;
  border: 1px solid #282828;
  border-radius: 8px;
  background: #171717;
}

.league-desktop-grid {
  display: grid;
  grid-template-columns: 370px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.league-schedule-card,
.league-data-card {
  overflow: hidden;
  border: 1px solid #151515;
  border-radius: 0 0 22px 22px;
  background: #101010;
}

.league-schedule-nav {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  min-height: 56px;
  padding: 0 14px;
  background: #151515;
}

.league-schedule-nav svg {
  color: #fff;
}

.league-schedule-nav strong {
  justify-self: center;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
}

.league-schedule-list {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.league-day-block {
  overflow: hidden;
  border: 1px solid #262626;
  border-radius: 16px;
  background: #0b0b0b;
}

.league-day-block h3 {
  margin: 0;
  padding: 12px 14px;
  border-bottom: 1px solid #262626;
  color: #fff;
  font-size: 13px;
}

.league-day-block.active {
  border-color: #303030;
}

.league-mini-match {
  display: grid;
  gap: 7px;
  padding: 12px 14px;
  border-bottom: 1px solid #1d1d1d;
}

.league-mini-match:last-child {
  border-bottom: 0;
}

.league-mini-match span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.league-mini-match small {
  margin-left: 8px;
}

.league-mini-match strong {
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
}

.league-mini-match em {
  color: var(--gold);
  font-style: normal;
}

.league-tabs-bar {
  display: flex;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid #2a2a2a;
  background: #151515;
}

.league-tab {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 26px;
  border: 0;
  border-bottom: 3px solid transparent;
  color: #fff;
  background: transparent;
  font-size: 18px;
  font-weight: 550;
}

.league-tab.active {
  border-bottom-color: #00ff80;
}

.league-table-wrap {
  overflow: auto;
}

.league-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

.league-table th,
.league-table td {
  height: 61px;
  padding: 0 12px;
  border-bottom: 1px solid #242424;
  color: #fff;
  font-size: 15px;
  text-align: left;
  white-space: nowrap;
}

.league-table th {
  height: 52px;
  color: #aaa;
  background: #151515;
  font-weight: 700;
}

.standing-team {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 230px;
  font-size: 20px;
}

.standing-team img,
.standing-team b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  color: #000;
  font-size: 9px;
}

.league-table td:first-child {
  border-left: 4px solid transparent;
}

.league-table tr:nth-child(1) td:first-child {
  border-left-color: #00ff2a;
}

.league-table tr:nth-child(2) td:first-child {
  border-left-color: #ff7b00;
}

.league-table tr:nth-child(3) td:first-child {
  border-left-color: #ff1919;
}

.league-table td:last-child span {
  margin-right: 8px;
  font-size: 13px;
  font-weight: 900;
}

.form-w {
  color: #00ff80;
}

.form-d {
  color: var(--gold);
}

.form-l {
  color: #ff3150;
}

.league-stats-panel {
  padding: 16px;
}

.league-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.league-stat-grid span {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid #242424;
  border-radius: 8px;
  color: var(--muted);
  background: #090909;
  font-size: 11px;
  font-weight: 900;
}

.league-stat-grid strong {
  color: #fff;
  font-size: 26px;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  color: #000;
  background: #fff;
}

.news-section {
  display: grid;
  gap: 12px;
  padding-top: 4px;
}

.intelligence-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 14px;
}

.data-panel {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #181818;
  border-radius: 8px;
  background: #050505;
}

.prediction-list {
  display: grid;
  gap: 10px;
}

.prediction-card {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid #202020;
  border-radius: 8px;
  background: #090909;
}

.prediction-card > span,
.prediction-card label,
.club-card small,
.news-card p {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.prediction-card strong {
  font-size: 13px;
  line-height: 1.35;
}

.prediction-bars {
  display: grid;
  gap: 6px;
}

.prediction-bars label {
  display: flex;
  justify-content: space-between;
}

.prediction-bars i {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #181818;
}

.prediction-bars em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
}

.club-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.club-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px 10px;
  padding: 10px;
  border: 1px solid #202020;
  border-radius: 8px;
  background: #090909;
}

.club-card img,
.club-card > span {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #303030;
  border-radius: 50%;
  background: #fff;
  color: #000;
  object-fit: contain;
  font-size: 10px;
  font-weight: 950;
}

.club-card strong {
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.news-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #202020;
  border-radius: 8px;
  background: #050505;
}

.featured-news {
  grid-column: span 2;
}

.news-media {
  position: relative;
  min-height: 142px;
  overflow: hidden;
  border-bottom: 1px solid #202020;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    #0b0b0b;
  background-size: 38px 38px;
}

.news-media img {
  width: 100%;
  height: 100%;
  min-height: 142px;
  object-fit: cover;
}

.news-media-fallback {
  display: grid;
  align-content: space-between;
  padding: 14px;
}

.news-media-fallback::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(245, 230, 0, 0.35);
  border-radius: 8px;
  pointer-events: none;
}

.news-media-fallback span {
  position: relative;
  z-index: 1;
  width: max-content;
  max-width: 100%;
  padding: 5px 8px;
  border: 1px solid #2d2d2d;
  border-radius: 8px;
  color: #fff;
  background: #000;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.news-media-fallback strong {
  position: relative;
  z-index: 1;
  color: var(--gold);
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  line-height: 0.9;
}

.news-card > div:not(.news-media) {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.news-card span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}

.news-card p {
  margin: 0;
  line-height: 1.45;
}

.news-card time {
  color: #8e8e8e;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.compact-news {
  min-height: 116px;
}

.compact-news div {
  height: 100%;
  align-content: center;
}

.source-player-note {
  display: none;
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #fff;
  background: rgba(0, 0, 0, 0.72);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body[data-page="match"] .match-detail-shell,
body[data-page="live-detail"] .match-detail-shell {
  width: min(calc(100% - 36px), 1220px);
}

body[data-page="match"] .live-room,
body[data-page="live-detail"] .live-room {
  gap: 20px;
  padding: 18px;
  border-color: #252525;
  background: #080808;
}

body[data-page="match"] .live-room-head,
body[data-page="live-detail"] .live-room-head {
  min-height: 84px;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid #252525;
  border-radius: 14px;
  background: #171717;
}

body[data-page="match"] .live-room-head h1,
body[data-page="live-detail"] .live-room-head h1 {
  margin: 6px 0 8px;
  font-size: clamp(1.25rem, 2.7vw, 2rem);
}

body[data-page="match"] .live-room-head p,
body[data-page="live-detail"] .live-room-head p {
  max-width: 760px;
}

body[data-page="match"] .live-stage-grid,
body[data-page="live-detail"] .live-stage-grid {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

body[data-page="match"] .live-stage-main,
body[data-page="live-detail"] .live-stage-main {
  gap: 16px;
  min-width: 0;
}

body[data-page="match"] .match-page-scoreboard,
body[data-page="live-detail"] .match-page-scoreboard {
  min-height: 164px;
  grid-template-columns: minmax(100px, 1fr) minmax(126px, auto) minmax(100px, 1fr);
  gap: 16px;
  padding: 22px;
  border-color: #292929;
  border-radius: 14px;
  background: #141414;
}

body[data-page="match"] .match-page-scoreboard .score-team,
body[data-page="live-detail"] .match-page-scoreboard .score-team {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

body[data-page="match"] .match-page-scoreboard .team-away,
body[data-page="live-detail"] .match-page-scoreboard .team-away {
  justify-content: initial;
  text-align: center;
}

body[data-page="match"] .match-page-scoreboard .team-logo-holder .team-mark,
body[data-page="live-detail"] .match-page-scoreboard .team-logo-holder .team-mark {
  width: 70px;
  height: 70px;
  min-width: 70px;
  border-radius: 50%;
}

body[data-page="match"] .match-page-scoreboard .score-team strong,
body[data-page="live-detail"] .match-page-scoreboard .score-team strong {
  max-width: 190px;
  overflow: hidden;
  color: #f5f5f5;
  display: -webkit-box;
  font-size: 15px;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body[data-page="match"] .match-page-scoreboard .score-block,
body[data-page="live-detail"] .match-page-scoreboard .score-block {
  display: grid;
  grid-template-columns: auto auto auto;
  justify-content: center;
  align-content: center;
  gap: 8px 14px;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1;
}

body[data-page="match"] .match-page-scoreboard .score-block span,
body[data-page="live-detail"] .match-page-scoreboard .score-block span {
  min-width: 44px;
  text-align: center;
}

body[data-page="match"] .match-page-scoreboard .score-block small,
body[data-page="live-detail"] .match-page-scoreboard .score-block small {
  align-self: center;
  color: #8f8f8f;
  font-size: 0.62em;
}

body[data-page="match"] .match-page-scoreboard .score-block em,
body[data-page="live-detail"] .match-page-scoreboard .score-block em {
  grid-column: 1 / -1;
  max-width: 230px;
  margin-top: 6px;
  color: #d9dce6;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

body[data-page="match"] .pro-video-frame,
body[data-page="live-detail"] .pro-video-frame {
  position: relative;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-color: #242424;
  border-radius: 14px;
  background: #000;
}

body[data-page="match"] .pro-video-frame img,
body[data-page="match"] .pro-video-frame iframe,
body[data-page="match"] .pro-video-frame video,
body[data-page="live-detail"] .pro-video-frame img,
body[data-page="live-detail"] .pro-video-frame iframe,
body[data-page="live-detail"] .pro-video-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: contain;
  background: #000;
}

.stream-source-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.stream-source-tab {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  padding: 0 13px;
  border: 1px solid #272727;
  border-radius: 999px;
  color: #dcdcdc;
  background: #090909;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.stream-source-tab span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stream-source-tab:hover,
.stream-source-tab.active {
  border-color: var(--gold);
  color: #050505;
  background: var(--gold);
  transform: translateY(-1px);
}

body[data-page="match"] .live-stage-main > .form-status,
body[data-page="live-detail"] .live-stage-main > .form-status {
  margin: 0;
}

body[data-page="match"] .chat-panel,
body[data-page="match"] .info-card,
body[data-page="live-detail"] .chat-panel,
body[data-page="live-detail"] .info-card {
  border-color: #292929;
  border-radius: 14px;
  background: #141414;
}

@media (max-width: 980px) {
  body[data-page="match"] .match-detail-shell,
  body[data-page="live-detail"] .match-detail-shell {
    width: 100%;
  }

  body[data-page="match"] .live-room,
  body[data-page="live-detail"] .live-room {
    gap: 16px;
    padding: 14px;
  }

  body[data-page="match"] .live-room-head,
  body[data-page="live-detail"] .live-room-head {
    min-height: 0;
    display: grid;
    gap: 12px;
    padding: 16px;
  }

  body[data-page="match"] .live-stage-grid,
  body[data-page="live-detail"] .live-stage-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  body[data-page="match"] .match-page-scoreboard,
  body[data-page="live-detail"] .match-page-scoreboard {
    min-height: 150px;
    grid-template-columns: minmax(92px, 1fr) minmax(104px, auto) minmax(92px, 1fr);
    gap: 10px;
    padding: 16px 12px;
  }

  body[data-page="match"] .match-page-scoreboard .team-logo-holder .team-mark,
  body[data-page="live-detail"] .match-page-scoreboard .team-logo-holder .team-mark {
    width: 58px;
    height: 58px;
    min-width: 58px;
  }

  body[data-page="match"] .match-page-scoreboard .score-team strong,
  body[data-page="live-detail"] .match-page-scoreboard .score-team strong {
    max-width: 118px;
    font-size: 13px;
  }

  body[data-page="match"] .match-page-scoreboard .score-block,
  body[data-page="live-detail"] .match-page-scoreboard .score-block {
    gap: 6px 10px;
    font-size: clamp(2rem, 10vw, 3rem);
  }


  body[data-page="match"] .compact-action,
  body[data-page="live-detail"] .compact-action {
    width: 100%;
    min-width: 0;
  }

  .stream-source-tabs {
    gap: 7px;
  }

  .stream-source-tab {
    flex: 1 1 138px;
  }
}

@media (max-width: 640px) {
  body[data-page="match"] .live-room-head,
  body[data-page="live-detail"] .live-room-head {
    min-height: 72px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 14px 16px;
  }

  body[data-page="match"] .live-room-head > div,
  body[data-page="live-detail"] .live-room-head > div {
    min-width: 0;
  }

  body[data-page="match"] .live-room-head h1,
  body[data-page="match"] .live-room-head p,
  body[data-page="live-detail"] .live-room-head h1,
  body[data-page="live-detail"] .live-room-head p {
    display: none;
  }

  body[data-page="match"] .live-room-head .sidebar-eyebrow,
  body[data-page="live-detail"] .live-room-head .sidebar-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    overflow: hidden;
    color: #f5f5f5;
    font-size: 15px;
    letter-spacing: 0;
    line-height: 1.2;
    text-overflow: ellipsis;
    text-transform: none;
    white-space: nowrap;
  }

  body[data-page="match"] .live-room-head .sidebar-eyebrow::before,
  body[data-page="live-detail"] .live-room-head .sidebar-eyebrow::before {
    content: "";
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: #fff;
  }
}

@media (max-width: 520px) {
  body[data-page="match"] .live-room,
  body[data-page="live-detail"] .live-room {
    padding: 12px;
    border-radius: 0;
  }

  body[data-page="match"] .match-page-scoreboard,
  body[data-page="live-detail"] .match-page-scoreboard {
    min-height: 142px;
    grid-template-columns: minmax(74px, 1fr) minmax(82px, auto) minmax(74px, 1fr);
    gap: 8px;
    padding: 14px 10px;
  }

  body[data-page="match"] .match-page-scoreboard .team-logo-holder .team-mark,
  body[data-page="live-detail"] .match-page-scoreboard .team-logo-holder .team-mark {
    width: 52px;
    height: 52px;
    min-width: 52px;
  }

  body[data-page="match"] .match-page-scoreboard .score-team,
  body[data-page="live-detail"] .match-page-scoreboard .score-team {
    gap: 9px;
  }

  body[data-page="match"] .match-page-scoreboard .score-team strong,
  body[data-page="live-detail"] .match-page-scoreboard .score-team strong {
    max-width: 92px;
    font-size: 12px;
  }

  body[data-page="match"] .match-page-scoreboard .score-block,
  body[data-page="live-detail"] .match-page-scoreboard .score-block {
    gap: 4px 8px;
    font-size: clamp(1.9rem, 12vw, 2.45rem);
  }

  body[data-page="match"] .match-page-scoreboard .score-block span,
  body[data-page="live-detail"] .match-page-scoreboard .score-block span {
    min-width: 28px;
  }

  body[data-page="match"] .match-page-scoreboard .score-block em,
  body[data-page="live-detail"] .match-page-scoreboard .score-block em {
    max-width: 128px;
    font-size: 11px;
  }

  body[data-page="match"] .pro-video-frame,
  body[data-page="live-detail"] .pro-video-frame {
    border-radius: 12px;
  }

  .stream-source-tab {
    min-height: 36px;
    padding: 0 10px;
    font-size: 10px;
  }

}

.info-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #181818;
  border-radius: 8px;
  background: #050505;
}

.info-card h3 {
  margin: 0;
  font-size: 15px;
}

body[data-page="live"] .topbar {
  width: min(calc(100% - 36px), var(--shell));
  min-height: 76px;
  padding: 14px 18px;
}

body[data-page="live"] .brand-badge {
  width: 170px;
  height: 58px;
  min-width: 170px;
  border-color: #181818;
  color: transparent;
  background: #000;
}

body[data-page="live"] .brand-copy strong {
  font-size: 18px;
  font-style: normal;
}

body[data-page="live"] .brand-copy small {
  display: none;
}

body[data-page="live"] .nav-tab {
  min-height: 38px;
  padding: 10px;
  background: var(--button-bg);
}

body[data-page="live"] .nav-tab.is-active {
  color: #000;
  background: #fff;
}

body[data-page="live"] .running-text-wrap {
  top: 82px;
  width: min(calc(100% - 36px), var(--shell));
  height: 38px;
  border-radius: 8px;
}

body[data-page="live"] .running-text-track span {
  height: 38px;
  font-size: 12px;
}

body[data-page="live"] .standalone-shell {
  width: min(calc(100% - 36px), var(--shell));
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
  padding-top: 136px;
}

body[data-page="live"] .live-rail {
  display: none;
}

body[data-page="live"] .pro-sidebar,
body[data-page="live"] .live-room {
  border-color: #202020;
  background: #070707;
}

body[data-page="live"] .pro-sidebar {
  gap: 16px;
  padding: 18px;
}

body[data-page="live"] .live-side-summary {
  border-radius: 8px;
  background: var(--panel-bg);
}

body[data-page="live"] .coverage-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="live"] .coverage-grid span {
  min-height: 50px;
}

body[data-page="live"] .sidebar-section h2 {
  font-size: 20px;
}

body[data-page="live"] .league-chip {
  min-height: 54px;
  padding: 8px 11px;
  border-color: #262626;
  background: var(--button-bg);
}

body[data-page="live"] .league-chip:hover,
body[data-page="live"] .league-chip.active {
  border-color: var(--red);
  transform: none;
}

body[data-page="live"] .league-chip .league-logo {
  width: 42px;
  height: 42px;
  min-width: 42px;
}

body[data-page="live"] .live-room {
  gap: 14px;
  padding: 18px;
}

.clean-match-league,
.clean-score-card,
body[data-page="live"] .live-stage-main,
body[data-page="live"] .chat-panel,
body[data-page="live"] .info-card {
  border: 1px solid #242424;
  border-radius: 8px;
  background: #151515;
}

.clean-match-league {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
}

.clean-match-league > div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.compact-league-logo {
  width: 30px;
  height: 30px;
  min-width: 30px;
  box-shadow: none;
}

.clean-match-league strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.clean-score-card {
  min-height: 108px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
}

.clean-team {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
}

.clean-team .team-logo-holder .team-mark,
.clean-team .team-logo-holder img {
  width: 54px;
  height: 54px;
  min-width: 54px;
  background: #fff;
  color: #000;
}

.clean-team strong {
  max-width: 190px;
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.clean-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 950;
}

.clean-score small {
  color: var(--muted);
  font-size: 0.72em;
}

.clean-score-card p {
  margin: 8px 0 0;
  color: #d8dbe3;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

body[data-page="live"] .live-stage-grid {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 12px;
}

body[data-page="live"] .live-stage-main {
  position: relative;
  overflow: hidden;
  gap: 0;
  padding: 0;
}

.stage-label {
  padding: 14px 16px 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 950;
}

body[data-page="live"] .pro-video-frame {
  min-height: 210px;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
}

body[data-page="live"] .compact-action {
  min-width: 134px;
  min-height: 38px;
  background: #fff;
  color: #000;
}

body[data-page="live"] .chat-panel {
  overflow: hidden;
  grid-template-rows: 42px minmax(210px, 1fr) auto auto;
  padding: 0;
}

body[data-page="live"] .chat-head {
  align-items: center;
  padding: 0 14px;
  color: #fff;
  background: #cc0000;
}

body[data-page="live"] .chat-head h2 {
  margin: 0;
  font-size: 14px;
}

body[data-page="live"] .chat-list {
  min-height: 210px;
  border: 0;
  border-radius: 0;
  background: #181818;
}

body[data-page="live"] .chat-panel .form-status {
  padding: 0 10px;
}

body[data-page="live"] .pro-chat-form {
  padding: 8px;
  border-top: 1px solid #2a2a2a;
  background: #181818;
}

body[data-page="live"] .pro-chat-form input {
  min-height: 38px;
}

body[data-page="live"] .pro-chat-form button {
  min-height: 38px;
  border: 0;
  color: #fff;
  background: #d50000;
}

.live-detail-tabs {
  display: flex;
  gap: 8px;
  align-items: center;
}

.live-detail-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  color: #fff;
  background: #111;
  font-size: 11px;
  font-weight: 950;
}

.live-detail-tabs a.active {
  color: #000;
  background: #fff;
}

body[data-page="live"] .detail-panel-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}

body[data-page="live"] .info-card {
  padding: 16px;
}

body[data-page="live"] .info-card h2 {
  margin: 0;
  font-size: 16px;
}

body[data-page="live"] .stat-item {
  gap: 7px;
}

body[data-page="live"] .stat-row {
  font-size: 12px;
}

body[data-page="live"] .stat-bar {
  height: 6px;
  background: #161616;
}

body[data-page="live"] .stat-bar span {
  background: var(--gold);
}

body[data-page="live"] .score-page-panel {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid #202020;
}

.live-hidden-filter {
  display: none;
}

.mobile-bottom-nav {
  display: none;
}

.mobile-nav-shell {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 2px;
  min-height: 92px;
  padding: 18px 10px 10px;
}

.mobile-nav-link {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: end;
  gap: 7px;
  min-width: 0;
  min-height: 60px;
  padding: 8px 4px 7px;
  border-radius: 20px;
  color: #868686;
  background: transparent;
  transition:
    transform 0.22s ease,
    color 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.mobile-nav-link:active {
  transform: translateY(1px) scale(0.96);
}

.mobile-nav-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: currentColor;
  background: transparent;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    color 0.22s ease;
}

.mobile-nav-link i {
  width: 19px;
  height: 19px;
}

.mobile-nav-link small {
  display: block;
  min-width: 0;
  overflow: hidden;
  font-size: 10px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-nav-link::after {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: transparent;
  transform: scaleX(0.35);
  transition: background 0.22s ease, transform 0.22s ease;
}

.mobile-nav-link-center {
  z-index: 2;
  align-content: start;
  min-height: 84px;
  margin-top: -34px;
  gap: 8px;
  color: #fff;
}

.mobile-nav-link-center::after {
  display: none;
}

.mobile-nav-link-center .mobile-nav-icon {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  color: #050505;
  background: linear-gradient(180deg, var(--yellow) 0%, #d3b900 100%);
  box-shadow:
    0 14px 28px rgba(245, 230, 0, 0.24),
    0 0 0 6px #111;
  animation: centerNavGlow 4.2s ease-in-out infinite;
}

@media (hover: hover) {
  .mobile-nav-link:hover .mobile-nav-icon {
    transform: translateY(-2px);
  }
}

body[data-page="leagues"] .mobile-nav-link[data-mobile-nav="leagues"],
body[data-page="league"] .mobile-nav-link[data-mobile-nav="leagues"],
body[data-page="home"] .mobile-nav-link[data-mobile-nav="home"],
body[data-page="match"] .mobile-nav-link[data-mobile-nav="home"],
body[data-page="live-detail"] .mobile-nav-link[data-mobile-nav="home"],
body[data-page="scores"] .mobile-nav-link[data-mobile-nav="scores"],
body[data-page="highlights"] .mobile-nav-link[data-mobile-nav="highlights"],
body[data-page="predictions"] .mobile-nav-link[data-mobile-nav="predictions"],
body[data-page="standings"] .mobile-nav-link[data-mobile-nav="standings"] {
  color: #fff;
  transform: translateY(-1px);
}

body[data-page="leagues"] .mobile-nav-link[data-mobile-nav="leagues"] .mobile-nav-icon,
body[data-page="league"] .mobile-nav-link[data-mobile-nav="leagues"] .mobile-nav-icon,
body[data-page="home"] .mobile-nav-link[data-mobile-nav="home"] .mobile-nav-icon,
body[data-page="match"] .mobile-nav-link[data-mobile-nav="home"] .mobile-nav-icon,
body[data-page="live-detail"] .mobile-nav-link[data-mobile-nav="home"] .mobile-nav-icon,
body[data-page="scores"] .mobile-nav-link[data-mobile-nav="scores"] .mobile-nav-icon,
body[data-page="highlights"] .mobile-nav-link[data-mobile-nav="highlights"] .mobile-nav-icon,
body[data-page="predictions"] .mobile-nav-link[data-mobile-nav="predictions"] .mobile-nav-icon,
body[data-page="standings"] .mobile-nav-link[data-mobile-nav="standings"] .mobile-nav-icon {
  color: var(--gold);
  background: rgba(245, 230, 0, 0.12);
}

body[data-page="home"] .mobile-nav-link[data-mobile-nav="home"].mobile-nav-link-center .mobile-nav-icon,
body[data-page="match"] .mobile-nav-link[data-mobile-nav="home"].mobile-nav-link-center .mobile-nav-icon,
body[data-page="live-detail"] .mobile-nav-link[data-mobile-nav="home"].mobile-nav-link-center .mobile-nav-icon {
  color: #050505;
  background: linear-gradient(180deg, var(--yellow) 0%, #d3b900 100%);
  box-shadow:
    0 16px 30px rgba(245, 230, 0, 0.3),
    0 0 0 6px #111;
}

body[data-page="leagues"] .mobile-nav-link[data-mobile-nav="leagues"] small,
body[data-page="league"] .mobile-nav-link[data-mobile-nav="leagues"] small,
body[data-page="home"] .mobile-nav-link[data-mobile-nav="home"] small,
body[data-page="match"] .mobile-nav-link[data-mobile-nav="home"] small,
body[data-page="live-detail"] .mobile-nav-link[data-mobile-nav="home"] small,
body[data-page="scores"] .mobile-nav-link[data-mobile-nav="scores"] small,
body[data-page="highlights"] .mobile-nav-link[data-mobile-nav="highlights"] small,
body[data-page="predictions"] .mobile-nav-link[data-mobile-nav="predictions"] small,
body[data-page="standings"] .mobile-nav-link[data-mobile-nav="standings"] small {
  color: #fff;
}

body[data-page="leagues"] .mobile-nav-link[data-mobile-nav="leagues"]::after,
body[data-page="league"] .mobile-nav-link[data-mobile-nav="leagues"]::after,
body[data-page="home"] .mobile-nav-link[data-mobile-nav="home"]::after,
body[data-page="match"] .mobile-nav-link[data-mobile-nav="home"]::after,
body[data-page="live-detail"] .mobile-nav-link[data-mobile-nav="home"]::after,
body[data-page="scores"] .mobile-nav-link[data-mobile-nav="scores"]::after,
body[data-page="highlights"] .mobile-nav-link[data-mobile-nav="highlights"]::after,
body[data-page="predictions"] .mobile-nav-link[data-mobile-nav="predictions"]::after,
body[data-page="standings"] .mobile-nav-link[data-mobile-nav="standings"]::after {
  background: linear-gradient(90deg, #fff 0%, var(--gold) 100%);
  transform: scaleX(1);
}

@keyframes mobileNavEnter {
  from {
    opacity: 0.86;
    transform: translateY(100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes centerNavGlow {
  0%,
  100% {
    box-shadow:
      0 14px 28px rgba(245, 230, 0, 0.24),
      0 0 0 6px #111;
  }

  50% {
    box-shadow:
      0 18px 36px rgba(245, 230, 0, 0.36),
      0 0 0 6px #111;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .green-dot,
  .live-time .dot,
  .mobile-bottom-nav {
    animation: none;
  }

  .mobile-nav-link-center .mobile-nav-icon {
    animation: none;
  }

  .nav-tab,
  .live-filter,
  .tab,
  .sidebar-action,
  .watch-btn,
  .top-league-pill,
  .league-chip,
  .date-nav-button,
  .mini-action,
  .app-download-btn,
  .mobile-nav-link {
    transition: none;
  }
}

@media (max-width: 1120px) {
  .home-shell {
    width: min(calc(100% - 36px), var(--shell));
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .home-sidebar {
    order: 2;
  }

  .home-content {
    order: 1;
  }
}

@media (max-width: 980px) {
  body {
    padding-bottom: calc(122px + env(safe-area-inset-bottom));
  }

  .topbar {
    top: 0;
    width: 100%;
    height: 68px;
    min-height: 68px;
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    gap: 12px;
    border-color: rgba(255, 255, 255, 0.08);
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    padding: 10px 14px;
    background: rgba(5, 5, 5, 0.94);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(14px);
  }

  .brand-badge {
    width: 132px;
    height: 44px;
    min-width: 132px;
    border-radius: 14px;
  }

  .brand-copy strong {
    font-size: 17px;
  }

  .brand-copy small,
  .brand-copy,
  .main-nav {
    display: none;
  }

  .top-search {
    display: none;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .running-text-wrap {
    top: 68px;
    width: 100%;
    height: 34px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .running-text-track span {
    height: 34px;
    padding: 0 18px;
    font-size: 11px;
  }

  .page-shell {
    width: calc(100% - 24px);
    max-width: none;
    padding: 114px 0 calc(18px + env(safe-area-inset-bottom));
  }

  .league-desktop-grid,
  .league-filter-line,
  .highlight-head,
  .layout {
    display: block;
  }

  .standalone-shell {
    display: flex;
    flex-direction: column;
  }

  .home-shell {
    display: flex;
    flex-direction: column;
  }

  .home-sidebar,
  .top-league-rail-wrap,
  .pro-sidebar .sidebar-section {
    display: none;
  }

  .standalone-shell > .top-league-rail-wrap {
    order: 1;
  }

  .standalone-shell > .content {
    order: 2;
  }

  .standalone-shell > .pro-sidebar {
    order: 3;
  }

  .layout .sidebar {
    display: none;
  }

  .pro-sidebar {
    margin-bottom: 14px;
  }

  .content {
    padding: 16px;
  }

  .section-card-grid,
  .match-info-grid,
  .player-detail-grid {
    grid-template-columns: 1fr;
  }

  .stadium-card {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .stadium-card img,
  .stadium-card > span {
    width: 56px;
    height: 56px;
  }

  .mobile-bottom-nav {
    position: fixed;
    z-index: 1200;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    width: 100%;
    padding: 16px max(10px, env(safe-area-inset-left)) max(8px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-right));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px 30px 0 0;
    background:
      radial-gradient(circle at 50% -36px, rgba(245, 230, 0, 0.18), transparent 100px),
      linear-gradient(180deg, rgba(20, 20, 20, 0.98), rgba(3, 3, 3, 0.98));
    box-shadow: 0 -18px 42px rgba(0, 0, 0, 0.48);
    animation: mobileNavEnter 0.42s cubic-bezier(0.2, 0.85, 0.2, 1);
    will-change: transform;
    backdrop-filter: blur(18px);
  }

  .league-index-content {
    gap: 16px;
  }

  .league-index-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mobile-bottom-nav::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 50%;
    width: 86px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(245, 230, 0, 0.72), transparent);
    transform: translateX(-50%);
    opacity: 0.78;
    pointer-events: none;
  }

  .mobile-nav-shell {
    width: min(100%, 460px);
    min-height: 82px;
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body[data-page="scores"] .topbar,
  body[data-page="highlights"] .topbar,
  body[data-page="match"] .topbar,
  body[data-page="live-detail"] .topbar {
    justify-content: center;
  }

  .home-tabs {
    display: none;
  }

  .live-stage-grid,
  .detail-panel-grid,
  .lineup-board,
  .team-info-grid,
  .league-stat-grid,
  .score-filter-row {
    grid-template-columns: 1fr;
  }

  .wide-card {
    grid-column: auto;
  }

  .live-room-head,
  .score-page-header,
  .chat-head {
    display: grid;
  }

  .pro-video-frame {
    min-height: 230px;
  }

  .chat-panel {
    grid-template-rows: auto minmax(220px, auto) auto auto;
  }

  .compact-action {
    width: 100%;
  }

  .top-league-rail-wrap,
  .league-schedule-card {
    margin-bottom: 14px;
  }

  .league-title-row {
    align-items: flex-start;
  }

  .league-competition-card {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 18px;
  }

  .league-competition-logo {
    width: 84px;
    height: 84px;
  }

  .league-competition-logo img,
  .league-competition-logo span {
    width: 62px;
    height: 62px;
    font-size: 16px;
  }

  .league-competition-copy > span {
    margin-bottom: 7px;
    font-size: 10px;
    letter-spacing: 0.32em;
  }

  .league-competition-copy h1 {
    font-size: 1.55rem;
  }

  .league-competition-copy p {
    font-size: 13px;
  }

  .league-competition-stats {
    grid-column: 1 / -1;
    width: 100%;
  }

  .league-competition-stats span {
    flex: 1;
    min-width: 0;
    min-height: 74px;
  }

  .league-competition-stats strong {
    font-size: 26px;
  }

  .league-filter-line {
    grid-template-columns: 1fr;
  }

  .score-date-nav {
    grid-template-columns: 1fr;
  }

  .date-nav-button,
  .score-date-picker {
    width: 100%;
  }

  .highlight-shell {
    gap: 18px;
  }

  .highlight-search {
    width: 100%;
    margin-top: 16px;
  }

  .highlight-feature,
  .highlight-feature iframe {
    min-height: 235px;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .featured-schedule-list {
    grid-template-columns: 1fr;
  }

  .highlight-card {
    border-radius: 8px;
    padding: 14px;
  }

  .highlight-card h2 {
    min-height: 0;
    font-size: 18px;
  }

  .upcoming-item {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .league-view-card {
    padding: 14px;
  }

  .league-view-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .league-view-tab {
    min-height: 38px;
    flex: 0 0 auto;
    padding: 0 12px;
    font-size: 11px;
  }

  .league-view-head {
    align-items: flex-start;
  }

  .league-insight-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .league-detail-match-card {
    grid-template-columns: 1fr 38px;
    gap: 12px;
  }

  .league-detail-meta {
    grid-column: 1 / -1;
  }

  .league-bracket-grid {
    grid-template-columns: repeat(5, minmax(160px, 1fr));
  }

  .league-table th,
  .league-table td {
    height: 50px;
    font-size: 13px;
  }

  .standing-team {
    min-width: 180px;
    font-size: 15px;
  }

  .league-topscorer-card {
    grid-template-columns: 32px 42px minmax(0, 1fr) 58px;
    gap: 8px;
    padding: 10px;
  }

  .league-topscorer-rank {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .league-topscorer-avatar img,
  .league-topscorer-avatar span {
    width: 42px;
    height: 42px;
  }

  .league-topscorer-player strong {
    font-size: 14px;
  }

  .league-topscorer-total strong {
    font-size: 24px;
  }

  .live-board-head {
    padding: 14px;
    font-size: 17px;
  }

  .live-sport-title {
    padding: 14px;
  }

  .match-card,
  .live-match-row {
    grid-template-columns: 78px minmax(0, 1fr) 30px 82px;
    gap: 8px;
    min-height: 88px;
    padding: 10px 14px;
  }

  .live-time {
    align-items: flex-start;
    gap: 5px;
    flex-wrap: wrap;
    font-size: 11px;
  }

  .live-time .dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    margin-top: 1px;
  }

  .live-time b {
    width: 100%;
    font-size: 12px;
  }

  .live-time > div > span {
    font-size: 10px;
  }

  .league-group-head {
    min-height: 60px;
    padding: 10px 14px;
  }

  .league-heading-main .league-logo {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }

  .league-heading-copy strong {
    font-size: 13px;
  }

  .league-country {
    font-size: 10px;
  }

  .match-minute,
  .quality-pill {
    font-size: 9px;
  }

  .team-line {
    gap: 8px;
  }

  .team-mark,
  .team-line .crest {
    width: 23px;
    height: 23px;
    min-width: 23px;
    font-size: 8px;
  }

  .team-line strong {
    font-size: 12px;
  }

  .live-score {
    gap: 16px;
  }

  .watch-btn {
    min-width: 72px;
    padding: 9px 8px;
    font-size: 10px;
  }

  .scoreboard {
    gap: 10px;
  }

  .team-block {
    display: grid;
    justify-items: start;
    gap: 7px;
  }

  .team-away {
    justify-items: end;
  }

  .team-block strong {
    font-size: 0.9rem;
  }

  .score-block {
    font-size: 2.2rem;
  }

  .video-frame {
    min-height: 210px;
  }

  .source-row {
    grid-template-columns: 1fr;
  }

  .lineup-grid,
  .news-grid,
  .intelligence-grid {
    grid-template-columns: 1fr;
  }

  .featured-news {
    grid-column: auto;
  }

}

@media (max-width: 520px) {
  .topbar {
    height: 64px;
    min-height: 64px;
    gap: 8px;
    padding: 9px 12px;
  }

  .brand {
    flex: 0 0 auto;
  }

  .brand-badge {
    width: 118px;
    height: 40px;
    min-width: 118px;
  }

  .brand-copy {
    display: none;
  }

  .top-search {
    display: none;
  }

  .top-search input {
    font-size: 11px;
  }

  .running-text-wrap {
    top: 64px;
    height: 32px;
  }

  .running-text-track span {
    height: 32px;
    padding: 0 16px;
    font-size: 10px;
  }

  .page-shell {
    padding-top: 108px;
  }

  .content {
    padding: 14px;
  }

  .mobile-bottom-nav {
    padding: 14px 8px max(7px, env(safe-area-inset-bottom));
    border-radius: 26px 26px 0 0;
  }

  .mobile-nav-shell {
    gap: 0;
    min-height: 80px;
    padding: 0;
    border-radius: 0;
  }

  .mobile-nav-link {
    min-height: 56px;
    gap: 6px;
    padding: 8px 2px 7px;
    border-radius: 16px;
  }

  .mobile-nav-icon {
    width: 34px;
    height: 34px;
  }

  .mobile-nav-link-center {
    min-height: 78px;
    margin-top: -30px;
  }

  .mobile-nav-link-center .mobile-nav-icon {
    width: 58px;
    height: 58px;
  }

  .mobile-nav-link small {
    font-size: 9px;
  }

  .live-tabs {
    gap: 8px;
  }

  .live-filter {
    min-width: 60px;
    padding-inline: 8px;
  }

  .load-more {
    margin-left: 0;
  }

  .match-card,
  .live-match-row {
    grid-template-columns: 78px minmax(0, 1fr) 28px;
    grid-template-areas:
      "time teams score"
      "time action action";
    align-items: center;
    gap: 8px 10px;
    min-height: 112px;
    padding: 10px 12px;
  }

  .live-time {
    grid-area: time;
  }

  .live-teams {
    grid-area: teams;
  }

  .live-score {
    grid-area: score;
  }

  .quality-pill {
    display: none;
  }

  .watch-btn {
    grid-area: action;
    justify-self: end;
    min-width: 92px;
    min-height: 34px;
  }

  .featured-schedule-head {
    align-items: flex-start;
  }

  .featured-schedule-card {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .featured-schedule-card .league-logo {
    display: none;
  }
}
