: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;
}

* {
  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;
}

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,
.stream-form,
.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), 1250px);
  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: #111;
}

.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: 14px;
  min-width: 0;
}

.brand-badge {
  width: 56px;
  height: 56px;
  min-width: 56px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: #fff;
  color: #000;
  font-size: 20px;
  font-weight: 950;
}

.brand-copy {
  display: grid;
  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,
.stream-form button,
.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: #111;
}

.nav-tab.is-active,
.live-filter.active,
.tab.active {
  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), 1250px);
  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;
}

.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(100%, 1250px);
  margin: 0 auto;
  padding: 136px 18px 36px;
}

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

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

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

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

.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: 999px;
  color: #fff;
  background: #000;
  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(100%, 1180px);
}

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

.highlight-shell {
  width: min(100%, 1495px);
  display: grid;
  gap: 28px;
}

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

.highlight-head h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

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

.highlight-search {
  width: min(100%, 525px);
  min-height: 56px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid #2c2c2c;
  border-radius: 999px;
  background: #121212;
}

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

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

.highlight-feature {
  position: relative;
  min-height: 392px;
  overflow: hidden;
  border: 1px solid #242424;
  border-radius: 20px;
  background: #121212;
}

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

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

.highlight-card {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  border: 1px solid #161616;
  border-radius: 18px;
  background: #121212;
}

.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 #00a827;
  border-radius: 999px;
  color: #fff;
  background: #00a827;
  font-size: 14px;
  font-weight: 950;
}

.highlight-watch:hover {
  background: #00bd2d;
}

.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);
}

.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 {
  background: #10a84a;
}

.ios-btn {
  color: #07101f;
  background: #e7f1ff;
}

.ios-btn small {
  color: #243047;
}

.connection-btn {
  background: #173b8f;
}

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

.league-chip {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 8px 11px;
  overflow: hidden;
  border: 1px solid #262626;
  border-radius: 999px;
  background: #000;
  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: #070707;
}

.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,
.stream-form button,
.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: #234474;
  background: #0b1c36;
}

.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;
}

.stream-form {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.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;
}

.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-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: #2459c9;
}

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

.league-detail-meta strong {
  color: #00ff7a;
  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-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: #00ff7a;
  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;
}

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

.server-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid #242424;
  border-radius: 8px;
  color: #fff;
  background: #070707;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
}

.server-chip:hover,
.server-chip.active {
  border-color: var(--gold);
  color: #000;
  background: var(--gold);
}

.server-chip.playable {
  border-color: rgba(0, 255, 42, 0.45);
}

.server-chip.playable.active {
  border-color: var(--gold);
}

.server-chip small {
  color: var(--muted);
  font-size: 9px;
}

.server-chip.active small,
.server-chip:hover small {
  color: #111;
}

.source-player-note {
  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;
}

.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;
}

.manual-source {
  border: 1px solid #181818;
  border-radius: 8px;
  background: #050505;
}

.manual-source summary {
  padding: 12px 14px;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.manual-source .stream-form {
  border: 0;
  border-top: 1px solid #181818;
  border-radius: 0;
  background: transparent;
}

body[data-page="live"] .topbar {
  width: min(calc(100% - 36px), 1010px);
  min-height: 64px;
  padding: 10px 12px;
}

body[data-page="live"] .brand-badge {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-color: transparent;
  color: #fff;
  background: #000;
  font-size: 18px;
}

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

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

body[data-page="live"] .nav-tab {
  min-height: 34px;
  padding: 8px 10px;
  background: #111;
}

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

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

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

body[data-page="live"] .standalone-shell {
  width: min(100%, 1010px);
  grid-template-columns: 266px minmax(0, 1fr);
  gap: 16px;
  padding-top: 116px;
}

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: 18px;
  background: #121212;
}

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: 24px;
}

body[data-page="live"] .league-chip {
  min-height: 50px;
  padding: 6px 10px;
  border-color: #202020;
  background: #000;
}

body[data-page="live"] .league-chip:hover,
body[data-page="live"] .league-chip.active {
  border-color: #303030;
  transform: none;
}

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

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;
}

.live-player-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-top: 1px solid #242424;
  color: #fff;
  background: #070707;
  font-size: 11px;
  font-weight: 850;
}

.live-player-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.live-player-meta i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.stream-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 12px;
}

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

body[data-page="live"] .server-stack {
  padding: 0 12px 12px;
}

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: #46212b;
}

body[data-page="live"] .stat-bar span {
  background: #2f85ff;
}

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

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

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

  .home-sidebar {
    order: 2;
  }

  .home-content {
    order: 1;
  }
}

@media (max-width: 980px) {
  .topbar {
    top: 10px;
    width: calc(100% - 24px);
    min-height: 72px;
    border-color: var(--line);
    border-radius: 8px;
    padding: 10px 12px;
  }

  .brand-badge {
    width: 46px;
    height: 46px;
    min-width: 46px;
    font-size: 16px;
  }

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

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

  .running-text-wrap {
    top: 92px;
    width: calc(100% - 24px);
  }

  .page-shell {
    max-width: 450px;
    padding: 142px 12px 28px;
  }

  .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;
  }

  .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;
  }

  .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;
  }

  .highlight-card {
    border-radius: 12px;
    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-head {
    align-items: flex-start;
  }

  .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;
  }

  .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 {
    gap: 10px;
  }

  .brand {
    flex: 0 0 auto;
  }

  .brand-copy {
    display: none;
  }

  .top-search {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  .content {
    padding: 14px;
  }

  .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;
  }
}
