:root {
  --black: #000;
  --dark: #101010;
  --panel: #181818;
  --line: #2b2b2b;
  --orange: #ff6600;
  --text: #f6f6f6;
  --muted: #b8b8b8;
  --bad: #ff3b3b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  padding-top: 74px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(16px, 4vw, 54px);
  background: rgba(0, 0, 0, .94);
  border-bottom: 2px solid var(--orange);
}
.brand,
.brand-logo {
  display: flex;
  align-items: center;
}
.brand { gap: 10px; font-weight: 900; letter-spacing: .4px; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand-logo {
  text-decoration: none;
  flex: 0 0 auto;
}
.brand-logo img {
  height: 72px;
  width: auto;
  object-fit: contain;
  display: block;
  background: transparent;
  transition: all .3s ease;
}
.brand-logo:hover img {
  transform: scale(1.03);
  filter: drop-shadow(0 0 10px rgba(255, 106, 0, .34));
}
.brand b, .eyebrow { color: var(--orange); }
.nav { display: flex; align-items: center; gap: 16px; font-weight: 700; font-size: 14px; text-transform: uppercase; }
.nav a { color: #ddd; }
.nav a:hover { color: var(--orange); }
.nav-social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 2px;
}
.nav-social a {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  color: #f2f2f2;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.nav-social a:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
  background: rgba(255, 102, 0, .15);
  color: var(--orange);
}
.nav-social i { font-size: 17px; line-height: 1; }
.nav-pill, .btn.primary { background: var(--orange); color: #111 !important; }
.nav-pill { padding: 9px 13px; border-radius: 6px; }
.nav-toggle { display: none; background: none; color: var(--text); border: 0; font-size: 28px; }

main { min-height: calc(100vh - 150px); }
.hero {
  position: relative;
  overflow: hidden;
  height: 500px;
  min-height: 500px;
  display: flex;
  align-items: center;
  padding: 0;
  background: linear-gradient(135deg, #000 0%, #141414 48%, #ff6600 160%);
}
.hero-slider,
.hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-slider {
  width: 100%;
  height: 100%;
  background: #111;
}
.hero-slide {
  position: relative;
  overflow: hidden;
  height: 100%;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.02);
}
.hero-overlay {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .76), rgba(0, 0, 0, .38) 58%, rgba(0, 0, 0, .2)),
    linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .5));
}
.hero-slide-caption {
  position: relative;
  z-index: 2;
  width: min(900px, calc(100% - 120px));
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px clamp(18px, 6vw, 86px);
}
.hero h1 { margin: 0 0 12px; font-size: clamp(44px, 8vw, 92px); line-height: .92; max-width: 850px; }
.hero p { max-width: 620px; color: #e8e8e8; font-size: 18px; }
.eyebrow { margin: 0 0 12px; font-weight: 900; text-transform: uppercase; }
.hero-arrow {
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(0, 0, 0, .48);
  color: #fff;
}
.hero-arrow::after { font-size: 18px; font-weight: 900; }
.hero-arrow:hover { background: rgba(255, 102, 0, .9); color: #111; }
.hero-arrow.prev { left: 18px; }
.hero-arrow.next { right: 18px; }
.hero-pagination {
  z-index: 4;
}
.hero-pagination .swiper-pagination-bullet {
  width: 11px;
  height: 11px;
  background: rgba(255, 255, 255, .8);
  opacity: 1;
}
.hero-pagination .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 999px;
  background: var(--orange);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #242424;
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
}
.btn.danger { background: #2b1111; border-color: #6a2020; color: #ffd5d5; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.grid, .team-grid, .player-grid, .match-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto;
  display: grid;
  gap: 18px;
}
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.section-head, .page-head {
  width: min(1180px, calc(100% - 32px));
  margin: 32px auto 16px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}
.page-head h1, .section-head h2, .panel h1, .panel h2 { margin: 0; text-transform: uppercase; }
.page-head h1 { font-size: clamp(30px, 5vw, 56px); }

.list, .feature-panel, .team-card, .player-card, .match-card, .form-card, .panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.match-row { padding: 16px; border-bottom: 1px solid var(--line); }
.match-row:last-child { border-bottom: 0; }
.match-row small, .match-row span, .muted, .empty { color: var(--muted); }
.match-row strong { display: block; margin: 4px 0; font-size: 18px; }
.result b, .match-card b { color: var(--orange); }
.feature-panel { padding: 20px; }
.live-public { width: min(1180px, calc(100% - 32px)); margin: 22px auto; }
.live-public .section-head { width: 100%; margin-left: 0; margin-right: 0; }
.live-public h2 span { color: #ff3b3b; }
.live-public-list { display: grid; gap: 12px; }
.public-live-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid #3a1c1c;
  border-radius: 8px;
  background: #150b0b;
}
.public-live-card div { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 20px; }
.public-live-card b { color: var(--orange); font-size: 34px; }
.public-live-card span { color: #ffb3b3; font-weight: 900; text-align: center; }
.player-feature { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.player-feature img { width: 86px; height: 86px; object-fit: cover; border-radius: 8px; }
.lineup { display: grid; gap: 10px; }
.lineup div, .ranking li { display: flex; justify-content: space-between; gap: 12px; padding: 12px; background: #101010; border-radius: 6px; }
.lineup span, .ranking small { color: var(--muted); display: block; }

.filters select, label input, label select {
  width: 100%;
  min-height: 42px;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0d0d0d;
  color: var(--text);
  padding: 9px 10px;
}
label { display: grid; gap: 4px; font-weight: 700; color: #e6e6e6; }
.match-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.match-card { padding: 16px; }
.match-card div { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }
.match-card h2 { display: flex; justify-content: space-between; gap: 12px; margin: 12px 0; font-size: 20px; }

.table-wrap { width: min(1180px, calc(100% - 32px)); margin: 20px auto 34px; overflow-x: auto; }
.table-wrap.compact { width: 100%; margin: 14px 0 0; }
table { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { color: var(--orange); text-transform: uppercase; font-size: 13px; }

.teams-head { align-items: center; }
.teams-head .eyebrow { margin-bottom: 4px; }
.team-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
}
.team-filter {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.team-filter:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 102, 0, .5);
  color: var(--orange);
}
.team-filter.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #111;
  box-shadow: 0 10px 26px rgba(255, 102, 0, .24);
}
.teams-section { margin: 8px 0 34px; }
.teams-section[hidden] { display: none; }
.teams-section.is-switching .team-card {
  animation: teamCardIn .24s ease both;
}
.teams-section .section-head { margin-bottom: 14px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.teams-empty {
  width: min(1180px, calc(100% - 32px));
  margin: 12px auto 28px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.team-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.team-card, .player-card { padding: 18px; }
.team-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
}
.team-card img { width: 104px; height: 104px; object-fit: contain; margin-bottom: 2px; }
.team-card h2 { margin: 4px 0; font-size: 22px; }
.team-card p { margin: 0; color: var(--text); }
.team-card small { color: var(--muted); }
.team-card-body { display: grid; gap: 4px; }
.team-card .btn { width: 100%; }
.status-pill {
  justify-self: start;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 102, 0, .14);
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
@keyframes teamCardIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.player-grid { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.player-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; background: #111; }
.team-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.team-hero img { width: 130px; height: 130px; object-fit: contain; }
.team-hero h1 { margin: 0; font-size: clamp(34px, 6vw, 64px); }
.team-hero.detail {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #181818, #0d0d0d);
}
.team-hero.detail p:last-child { color: var(--muted); margin-bottom: 0; }
.roster-section { margin-bottom: 38px; }
.roster-table {
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 34px;
  overflow-x: auto;
}
.player-thumb {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 8px;
  background: #101010;
  border: 1px solid var(--line);
}

.public-roster-modal[hidden] { display: none; }
.public-roster-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
}
.public-roster-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(5px);
}
.public-roster-panel {
  position: relative;
  width: min(980px, 100%);
  max-height: min(86vh, 820px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101010;
  box-shadow: 0 26px 80px rgba(0, 0, 0, .58);
}
.public-roster-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #1d1d1d;
  color: var(--text);
  cursor: pointer;
  font-size: 26px;
}
.public-roster-head {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 24px 72px 22px 24px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 102, 0, .16), rgba(255, 255, 255, .02) 56%, transparent);
}
.public-roster-head img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #070707;
}
.public-roster-head h2 {
  margin: 0;
  font-size: clamp(28px, 5vw, 50px);
  line-height: 1;
  text-transform: uppercase;
}
.public-roster-head p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
}
.public-roster-body { padding: 22px 24px 26px; }
.public-roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.public-player-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #171717;
}
.public-player-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  background: #080808;
}
.public-player-card strong,
.public-player-card span {
  display: block;
}
.public-player-card strong { font-size: 17px; }
.public-player-card span {
  color: var(--muted);
  font-size: 14px;
}

.auth-wrap { min-height: calc(100vh - 170px); display: grid; place-items: center; padding: 28px 16px; }
.form-card { width: min(440px, 100%); padding: 24px; }
.form-card h1 { margin-top: 0; }
.alert, .flash { padding: 12px 14px; border-radius: 6px; margin: 14px 0; }
.alert.bad, .flash.bad { background: #341313; color: #ffd2d2; }
.alert.ok, .flash.ok { background: #12351e; color: #d8ffe1; }
.flash { width: min(1180px, calc(100% - 32px)); margin: 16px auto; }

.admin-layout {
  width: min(1320px, calc(100% - 24px));
  margin: 24px auto;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
}
.admin-layout.single { grid-template-columns: 1fr; }
.admin-menu {
  position: sticky;
  top: 92px;
  align-self: start;
  display: grid;
  gap: 8px;
}
.admin-menu a { padding: 11px 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; font-weight: 800; }
.admin-menu a:hover { color: var(--orange); }
.admin-content { display: grid; gap: 18px; }
.panel { padding: 20px; scroll-margin-top: 90px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  margin-top: 16px;
}
.inline-edit { display: grid; grid-template-columns: 1fr 1fr 180px 140px auto; gap: 8px; margin-bottom: 8px; }
.inline-edit input, .inline-edit select { min-height: 38px; background: #0d0d0d; color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 8px; }
.inline-actions { display: inline-flex; margin: 0 6px 6px 0; }
.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(16px, 4vw, 54px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 860px) {
  body { padding-top: 66px; }
  .topbar { min-height: 66px; }
  .brand-logo {
    display: flex;
    align-items: center;
  }
  .brand-logo img {
    height: 52px;
  }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 66px;
    padding: 12px 16px 18px;
    background: #050505;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
  }
  .nav.open { display: flex; }
  .nav-social {
    justify-content: flex-start;
    margin: 4px 0;
  }
  .teams-head {
    align-items: stretch;
  }
  .team-filters {
    width: 100%;
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .team-filter {
    min-width: 0;
    padding: 10px 8px;
    border-radius: 7px;
    font-size: 13px;
  }
  .two, .three, .form-grid, .admin-layout { grid-template-columns: 1fr; }
  .hero {
    height: 300px;
    min-height: 300px;
  }
  .hero-slide-caption {
    width: 100%;
    padding: 28px 48px 42px;
  }
  .hero h1 { font-size: clamp(30px, 10vw, 46px); }
  .hero p { font-size: 15px; margin: 0 0 14px; }
  .hero .btn { min-height: 38px; padding: 8px 12px; }
  .hero-arrow {
    width: 34px;
    height: 34px;
    font-size: 26px;
  }
  .hero-arrow.prev { left: 8px; }
  .hero-arrow.next { right: 8px; }
  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .58)),
      linear-gradient(135deg, rgba(0, 0, 0, .2), rgba(255, 102, 0, .18));
  }
  .section-head, .page-head { align-items: stretch; flex-direction: column; }
  .team-hero { align-items: flex-start; flex-direction: column; }
  .team-card { grid-template-columns: 76px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; }
  .team-card img { width: 76px; height: 76px; grid-row: span 2; }
  .team-card .btn { grid-column: 1 / -1; }
  .public-roster-modal {
    padding: 10px;
    align-items: start;
  }
  .public-roster-panel { max-height: calc(100vh - 20px); }
  .public-roster-head {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 62px 18px 18px;
  }
  .public-roster-head img {
    width: 76px;
    height: 76px;
  }
  .public-roster-body { padding: 16px; }
  .public-player-card { grid-template-columns: 62px minmax(0, 1fr); }
  .public-player-card img {
    width: 62px;
    height: 62px;
  }
  .roster-table { overflow-x: visible; }
  .roster-table table,
  .roster-table thead,
  .roster-table tbody,
  .roster-table tr,
  .roster-table th,
  .roster-table td {
    display: block;
  }
  .roster-table thead { display: none; }
  .roster-table table { border: 0; background: transparent; }
  .roster-table tr {
    margin-bottom: 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
  }
  .roster-table td {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    white-space: normal;
    padding: 10px 0;
  }
  .roster-table td:last-child { border-bottom: 0; }
  .roster-table td::before {
    content: attr(data-label);
    color: var(--orange);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 12px;
  }
  .public-live-card { grid-template-columns: 1fr; }
  .public-live-card span { text-align: left; }
  .admin-menu { position: static; grid-template-columns: repeat(2, 1fr); }
  .inline-edit { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
}

/* Public responsive sport refresh */
:root {
  --black: #0b0b0b;
  --dark: #151515;
  --panel: #171717;
  --line: rgba(255, 255, 255, .12);
  --orange: #ff6a00;
  --orange-soft: rgba(255, 106, 0, .16);
  --text: #ffffff;
  --muted: #b8b8b8;
  --shadow: 0 20px 60px rgba(0, 0, 0, .34);
}

body {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 106, 0, .18), transparent 28rem),
    radial-gradient(circle at 92% 22%, rgba(255, 106, 0, .08), transparent 24rem),
    linear-gradient(180deg, #0b0b0b 0%, #101010 48%, #0b0b0b 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 74px 0 0;
  z-index: -1;
  pointer-events: none;
  opacity: .24;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(255, 255, 255, .12) 50%, transparent calc(50% + 1px)),
    radial-gradient(circle at 50% 24%, transparent 0 104px, rgba(255, 255, 255, .14) 105px 107px, transparent 108px),
    radial-gradient(circle at 50% 24%, transparent 0 220px, rgba(255, 106, 0, .12) 221px 223px, transparent 224px);
  background-size: 100% 620px;
  background-repeat: no-repeat;
}

.topbar {
  min-height: 82px;
  padding: 10px clamp(16px, 4vw, 64px);
  background: rgba(8, 8, 8, .92);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .28);
  backdrop-filter: blur(14px);
}

.brand-logo img {
  max-width: min(210px, 42vw);
}

.nav {
  gap: clamp(8px, 1.5vw, 18px);
}

.nav a {
  position: relative;
  padding: 9px 2px;
  transition: color .18s ease, transform .18s ease;
}

.nav a:not(.nav-pill)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--orange);
  transition: transform .2s ease;
}

.nav a:hover {
  transform: translateY(-1px);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav-pill,
.btn.primary {
  border-color: rgba(255, 106, 0, .9);
  background: linear-gradient(135deg, #ff7a18, #ff5a00);
  color: #111 !important;
  box-shadow: 0 12px 28px rgba(255, 106, 0, .24);
}

.btn {
  border-radius: 8px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 106, 0, .62);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .26);
}

.hero {
  height: clamp(430px, 58vw, 680px);
  min-height: 430px;
  isolation: isolate;
  border-bottom: 1px solid rgba(255, 106, 0, .38);
  background:
    linear-gradient(135deg, #050505 0%, #151515 52%, #321300 140%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.hero::before {
  inset: auto -12% -48% auto;
  width: min(560px, 72vw);
  aspect-ratio: 1;
  border: 2px solid rgba(255, 106, 0, .26);
  border-radius: 50%;
  box-shadow: inset 0 0 0 36px rgba(255, 255, 255, .035);
}

.hero::after {
  inset: 0;
  opacity: .22;
  background:
    linear-gradient(115deg, transparent 0 46%, rgba(255, 255, 255, .18) 46.3%, transparent 46.8%),
    linear-gradient(65deg, transparent 0 58%, rgba(255, 106, 0, .22) 58.3%, transparent 58.8%);
}

.hero-slider {
  background: #090909;
}

.hero-slide img {
  filter: saturate(1.06) contrast(1.04);
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, .88), rgba(5, 5, 5, .56) 52%, rgba(5, 5, 5, .22)),
    linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .72));
}

.hero-slide-caption {
  width: min(980px, calc(100% - 96px));
  padding-top: 78px;
}

.hero h1 {
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 10px 30px rgba(0, 0, 0, .55);
}

.hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, .86);
}

.eyebrow {
  letter-spacing: .12em;
}

.hero .eyebrow,
.page-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero .eyebrow::before,
.page-head .eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--orange);
}

.section-head,
.page-head,
.grid,
.live-public,
.team-grid,
.match-grid,
.table-wrap,
.roster-table,
.team-hero {
  width: min(1180px, calc(100% - clamp(28px, 5vw, 64px)));
}

.section-head {
  margin-top: clamp(34px, 5vw, 58px);
}

.section-head h2,
.page-head h1,
.panel h1,
.panel h2,
.feature-panel h2 {
  letter-spacing: 0;
}

.section-head h2,
.feature-panel h2 {
  font-size: clamp(24px, 3vw, 36px);
}

.list,
.feature-panel,
.team-card,
.player-card,
.match-card,
.form-card,
.panel,
.public-roster-panel,
table {
  border-color: rgba(255, 255, 255, .12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035), transparent 120px),
    rgba(21, 21, 21, .94);
  box-shadow: var(--shadow);
}

.list,
.feature-panel,
.team-card,
.player-card,
.match-card,
.form-card,
.panel,
.public-roster-panel {
  border-radius: 8px;
}

.match-row {
  padding: 18px 20px;
  transition: background .18s ease, transform .18s ease;
}

.match-row:hover {
  background: rgba(255, 106, 0, .055);
  transform: translateX(4px);
}

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

.public-live-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 59, 59, .34);
  background:
    linear-gradient(135deg, rgba(255, 59, 59, .14), rgba(255, 106, 0, .08)),
    #130909;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .3);
}

.public-live-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: #ff3b3b;
}

.lineup div,
.ranking li {
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .035);
}

.player-feature img,
.player-card img,
.player-thumb,
.public-player-card img {
  border: 1px solid rgba(255, 255, 255, .12);
}

.team-filters {
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.team-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.team-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  min-height: 285px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.team-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 0 0, rgba(255, 106, 0, .18), transparent 190px),
    linear-gradient(135deg, transparent 0 70%, rgba(255, 106, 0, .08));
}

.team-card > * {
  position: relative;
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 106, 0, .48);
  box-shadow: 0 26px 64px rgba(0, 0, 0, .42);
}

.team-card img {
  width: 112px;
  height: 112px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .26);
}

.team-card h2 {
  line-height: 1.1;
}

.status-pill {
  border: 1px solid rgba(255, 106, 0, .34);
  background: rgba(255, 106, 0, .12);
}

.match-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.match-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
}

.match-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), transparent);
}

.match-card h2 {
  align-items: center;
  line-height: 1.2;
}

.table-wrap,
.roster-table {
  scrollbar-color: var(--orange) #161616;
}

.table-wrap table,
.roster-table table {
  min-width: 680px;
}

th {
  background: rgba(255, 106, 0, .08);
}

td b {
  color: var(--orange);
}

.public-roster-modal {
  padding: clamp(10px, 3vw, 24px);
}

.public-roster-panel {
  width: min(1000px, calc(100vw - 20px));
  max-height: min(88vh, 860px);
}

.public-roster-head {
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 106, 0, .2), transparent 280px),
    linear-gradient(135deg, rgba(255, 106, 0, .14), rgba(255, 255, 255, .03) 60%, transparent);
}

.public-roster-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.public-player-card {
  min-width: 0;
}

.public-player-card strong,
.public-player-card span {
  overflow-wrap: normal;
  word-break: normal;
}

.footer {
  margin-top: 48px;
  background: #080808;
  border-top: 2px solid rgba(255, 106, 0, .72);
}

.footer span:first-child {
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
}

@media (min-width: 861px) and (max-width: 1100px) {
  body {
    padding-top: 78px;
  }

  .topbar {
    min-height: 78px;
    gap: 12px;
  }

  .brand-logo img {
    height: 60px;
    max-width: 172px;
  }

  .nav {
    gap: 9px;
    font-size: 12px;
  }

  .nav-social a {
    width: 34px;
    height: 34px;
  }

  .hero {
    height: 500px;
    min-height: 500px;
  }

  .two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  body {
    padding-top: 68px;
  }

  body::before {
    top: 68px;
    opacity: .16;
  }

  .topbar {
    min-height: 68px;
    padding: 8px 14px;
  }

  .brand-logo img {
    height: 52px;
    max-width: 180px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: rgba(255, 255, 255, .045);
    color: #fff;
    font-size: 24px;
    line-height: 1;
  }

  .nav {
    top: 68px;
    padding: 12px 14px 18px;
    background: rgba(8, 8, 8, .98);
    box-shadow: 0 22px 46px rgba(0, 0, 0, .42);
  }

  .nav a {
    padding: 12px 10px;
    border-radius: 8px;
  }

  .nav a:not(.nav-pill)::after {
    display: none;
  }

  .nav a:hover {
    background: rgba(255, 106, 0, .1);
  }

  .nav-social {
    gap: 10px;
    padding: 4px 0;
  }

  .hero {
    height: 420px;
    min-height: 420px;
  }

  .hero-slide-caption {
    width: 100%;
    padding: 36px 42px 58px;
    justify-content: end;
  }

  .hero h1 {
    font-size: clamp(34px, 12vw, 52px);
  }

  .hero p:not(.eyebrow) {
    max-width: 520px;
  }

  .hero::before {
    width: 340px;
    inset: auto -28% -24% auto;
  }

  .section-head,
  .page-head,
  .grid,
  .live-public,
  .team-grid,
  .match-grid,
  .table-wrap,
  .roster-table,
  .team-hero {
    width: min(100% - 28px, 1180px);
  }

  .grid,
  .team-grid,
  .match-grid,
  .player-grid {
    gap: 14px;
  }

  .team-card {
    min-height: 0;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
  }

  .team-card img {
    width: 82px;
    height: 82px;
    grid-row: span 2;
    margin: 0;
    padding: 8px;
  }

  .team-card h2 {
    font-size: 20px;
  }

  .team-card .btn {
    grid-column: 1 / -1;
  }

  .public-roster-head h2 {
    font-size: clamp(24px, 8vw, 38px);
  }

  .table-wrap {
    margin-bottom: 28px;
    border-radius: 8px;
  }

  th,
  td {
    padding: 10px;
    font-size: 13px;
  }

  .footer {
    align-items: flex-start;
    padding: 22px 14px;
  }
}

@media (max-width: 520px) {
  .brand-logo img {
    height: 46px;
    max-width: 150px;
  }

  .hero {
    height: 390px;
    min-height: 390px;
  }

  .hero-slide-caption {
    padding: 30px 28px 56px;
  }

  .hero .eyebrow::before,
  .page-head .eyebrow::before {
    width: 24px;
  }

  .hero-arrow {
    display: none;
  }

  .team-filters {
    grid-template-columns: 1fr;
    border-radius: 8px;
  }

  .team-filter {
    min-height: 42px;
    font-size: 12px;
  }

  .public-live-card {
    padding: 14px;
  }

  .public-live-card div {
    font-size: 17px;
  }

  .public-live-card b {
    font-size: 28px;
  }

  .player-feature {
    align-items: flex-start;
  }

  .public-roster-modal {
    place-items: start center;
  }

  .public-roster-close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
  }

  .public-roster-head {
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 14px 54px 14px 14px;
  }

  .public-roster-head img {
    width: 64px;
    height: 64px;
  }

  .public-roster-body {
    padding: 14px;
  }

  .public-roster-grid {
    grid-template-columns: 1fr;
  }

  .public-player-card {
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 10px;
  }

  .public-player-card img {
    width: 56px;
    height: 56px;
  }

  .roster-table td {
    grid-template-columns: 96px minmax(0, 1fr);
    font-size: 13px;
  }
}

/* HOME premium basketball section */
.home-showcase {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding: clamp(34px, 6vw, 74px) 0 clamp(46px, 7vw, 88px);
  isolation: isolate;
  background:
    radial-gradient(circle at 14% 16%, rgba(255, 106, 0, .18), transparent 22rem),
    radial-gradient(circle at 84% 36%, rgba(255, 49, 49, .14), transparent 20rem),
    linear-gradient(180deg, #070707 0%, #111 52%, #070707 100%);
}

.home-showcase::before,
.home-showcase::after,
.home-showcase-orbit {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.home-showcase::before {
  inset: 0;
  opacity: .2;
  background:
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(255, 255, 255, .08) 23px 24px, transparent 25px 46px),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(255, 106, 0, .08) 23px 24px, transparent 25px 46px);
  mask-image: radial-gradient(circle at 50% 20%, #000, transparent 72%);
}

.home-showcase::after {
  right: clamp(-170px, -12vw, -80px);
  top: 90px;
  width: clamp(300px, 42vw, 560px);
  aspect-ratio: 1;
  border: 2px solid rgba(255, 106, 0, .18);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 44px rgba(255, 255, 255, .035),
    inset 0 0 0 128px rgba(255, 49, 49, .035);
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(255, 106, 0, .18) 50%, transparent calc(50% + 1px)),
    linear-gradient(0deg, transparent calc(50% - 1px), rgba(255, 255, 255, .12) 50%, transparent calc(50% + 1px));
  animation: homeCourtFloat 12s ease-in-out infinite;
}

.home-showcase-orbit {
  left: clamp(-160px, -10vw, -70px);
  bottom: 6%;
  width: clamp(260px, 36vw, 500px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  box-shadow: inset 0 0 0 32px rgba(255, 106, 0, .04);
  background:
    radial-gradient(circle, transparent 0 33%, rgba(255, 106, 0, .12) 33.4% 34%, transparent 34.5%),
    linear-gradient(38deg, transparent 0 47%, rgba(255, 49, 49, .12) 47.3%, transparent 48%);
  animation: homeCourtFloat 14s ease-in-out infinite reverse;
}

.home-showcase .live-public,
.home-feed,
.home-score-grid,
.home-feature-grid {
  position: relative;
  animation: homeFadeUp .55s ease both;
}

.home-score-grid {
  animation-delay: .08s;
}

.home-feature-grid {
  animation-delay: .16s;
}

.home-feed {
  width: min(1180px, calc(100% - clamp(28px, 5vw, 64px)));
  margin: clamp(32px, 5vw, 58px) auto 0;
  display: flex;
  flex-direction: column;
  gap: clamp(34px, 5vw, 58px);
}

.home-feed-section {
  width: 100%;
}

.home-feed-section .home-section-title {
  margin-bottom: clamp(18px, 3vw, 26px);
}

.home-upcoming-section .home-match-list {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.home-results-section .home-match-list {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 560px), 1fr));
  gap: 16px;
}

.home-results-section .home-match-card,
.home-upcoming-section .home-match-card {
  min-height: 150px;
}

.home-top-section {
  width: 100%;
}

.home-player-section .player-feature {
  display: grid;
  grid-template-columns: minmax(170px, 240px) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: center;
  min-height: 250px;
}

.home-player-section .player-feature img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  max-height: 240px;
}

.home-player-section .player-feature h3 {
  font-size: clamp(32px, 5vw, 58px);
}

.home-live {
  margin-top: 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 106, 0, .3);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 49, 49, .12), rgba(255, 106, 0, .08) 45%, rgba(255, 255, 255, .035)),
    rgba(13, 13, 13, .82);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .42), 0 0 34px rgba(255, 106, 0, .08);
  backdrop-filter: blur(12px);
}

.home-section-title {
  position: relative;
  display: grid;
  gap: 5px;
  margin: 0 0 18px;
}

.home-section-title span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.home-section-title h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: .96;
  text-transform: uppercase;
}

.home-section-title::after {
  content: "";
  width: min(160px, 38vw);
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff3131, #ff6a00, transparent);
}

.home-section-title-live {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
}

.home-section-title-live span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ff3131;
  font-size: clamp(18px, 2.6vw, 30px);
  text-shadow: 0 0 18px rgba(255, 49, 49, .28);
}

.home-section-title-live span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff3131;
  box-shadow: 0 0 0 0 rgba(255, 49, 49, .48);
  animation: homeLivePulse 1.6s ease-out infinite;
}

.home-section-title-live h2 {
  font-size: clamp(24px, 3vw, 38px);
}

.home-section-title-live::after {
  flex-basis: 100%;
}

.home-panel,
.home-feature-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 106, 0, .22);
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025) 42%, rgba(255, 106, 0, .06)),
    rgba(15, 15, 15, .82);
  box-shadow: 0 22px 64px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
}

.home-panel {
  padding: clamp(18px, 2.8vw, 26px);
}

.home-panel::before,
.home-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 106, 0, .28), transparent 180px),
    linear-gradient(128deg, transparent 0 62%, rgba(255, 49, 49, .16) 62.3%, transparent 63%);
}

.home-panel > *,
.home-feature-card > * {
  position: relative;
}

.home-match-list {
  display: grid;
  gap: 13px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.home-match-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 106, 0, .18);
  border-radius: 18px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(255, 106, 0, .08), rgba(255, 255, 255, .035)),
    rgba(10, 10, 10, .82);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.home-match-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #ff3131, #ff6a00);
}

.home-match-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 106, 0, .48);
  background:
    linear-gradient(135deg, rgba(255, 106, 0, .13), rgba(255, 49, 49, .08)),
    rgba(13, 13, 13, .92);
  box-shadow: 0 22px 52px rgba(0, 0, 0, .4), 0 0 24px rgba(255, 106, 0, .08);
}

.home-match-card small {
  display: block;
  margin-bottom: 10px;
  color: #b8b8b8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.home-match-card > span:last-child {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, .58);
  font-size: 13px;
}

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

.home-versus strong {
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
  color: #fff;
  font-size: clamp(16px, 2.1vw, 20px);
  line-height: 1.15;
}

.home-versus strong:last-child {
  text-align: right;
}

.home-versus b {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 106, 0, .38);
  border-radius: 50%;
  color: #111;
  background: linear-gradient(135deg, #ff8130, #ff6a00);
  font-size: 12px;
  box-shadow: 0 10px 22px rgba(255, 106, 0, .18);
}

.scoreline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto minmax(0, 1fr);
  gap: clamp(8px, 1.5vw, 14px);
  align-items: center;
}

.scoreline span {
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
  color: #fff;
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 900;
  line-height: 1.12;
}

.scoreline span:last-child {
  text-align: right;
}

.scoreline b {
  min-width: 42px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 106, 0, .42);
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 106, 0, .36), rgba(255, 106, 0, .14));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1;
  text-align: center;
}

.scoreline em {
  color: rgba(255, 255, 255, .42);
  font-style: normal;
  font-weight: 900;
}

.home-live-card {
  border-radius: 18px;
  border-color: rgba(255, 49, 49, .34);
  background:
    linear-gradient(135deg, rgba(255, 49, 49, .16), rgba(255, 106, 0, .1)),
    rgba(10, 10, 10, .84);
}

.home-live-card .live-team {
  min-width: 0;
}

.home-live-card .live-team strong {
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
  color: #fff;
  font-weight: 900;
}

.home-live-card .live-clock {
  padding: 8px 12px;
  border: 1px solid rgba(255, 49, 49, .36);
  border-radius: 999px;
  background: rgba(255, 49, 49, .12);
  color: #ffb0b0;
}

.home-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 82px;
  margin: 0;
  padding: 18px;
  border: 1px dashed rgba(255, 106, 0, .34);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 106, 0, .08), rgba(255, 255, 255, .025)),
    rgba(8, 8, 8, .68);
  color: #b8b8b8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.home-empty span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #ff6a00;
  background: rgba(255, 106, 0, .11);
}

.home-feature-card {
  padding: clamp(18px, 2.8vw, 28px);
}

.home-feature-card .player-feature {
  padding: 16px;
  border: 1px solid rgba(255, 106, 0, .18);
  border-radius: 18px;
  background: rgba(255, 255, 255, .045);
}

.home-feature-card .player-feature img {
  width: 104px;
  height: 104px;
  border-radius: 16px;
}

.home-feature-card .player-feature h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.05;
}

.home-feature-card .player-feature p {
  margin: 0;
  color: #ffb377;
  font-weight: 800;
}

.home-feature-card .player-feature small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, .58);
  font-weight: 800;
  text-transform: uppercase;
}

.home-feature-card .lineup {
  gap: 11px;
}

.home-feature-card .lineup div {
  align-items: center;
  border: 1px solid rgba(255, 106, 0, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .045);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.home-feature-card .lineup div:hover {
  transform: translateX(4px);
  border-color: rgba(255, 106, 0, .42);
  background: rgba(255, 106, 0, .08);
}

.home-feature-card .lineup span {
  color: #ffb377;
  font-weight: 900;
  text-transform: uppercase;
}

.home-feature-card .lineup strong {
  color: #fff;
}

@keyframes homeFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes homeCourtFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -12px, 0) rotate(1.5deg);
  }
}

@keyframes homeLivePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 49, 49, .5);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(255, 49, 49, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 49, 49, 0);
  }
}

@media (max-width: 860px) {
  .home-showcase {
    padding-top: 28px;
  }

  .home-showcase::after {
    right: -220px;
    top: 170px;
    opacity: .72;
  }

  .home-live,
  .home-panel,
  .home-feature-card {
    border-radius: 16px;
  }

  .home-section-title h2 {
    font-size: clamp(24px, 8vw, 34px);
  }

  .home-score-grid,
  .home-feature-grid {
    grid-template-columns: 1fr;
  }

  .home-feed {
    width: min(100% - 28px, 1180px);
    gap: 30px;
  }

  .home-results-section .home-match-list,
  .home-upcoming-section .home-match-list {
    grid-template-columns: 1fr;
  }

  .home-player-section .player-feature {
    grid-template-columns: 120px minmax(0, 1fr);
    min-height: 0;
  }

  .home-player-section .player-feature img {
    max-height: 120px;
  }

  .home-versus,
  .scoreline {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: left;
  }

  .home-versus strong:last-child,
  .scoreline span:last-child {
    text-align: left;
  }

  .home-versus b {
    width: auto;
    height: auto;
    justify-self: start;
    padding: 6px 10px;
    border-radius: 999px;
  }

  .scoreline b,
  .scoreline em {
    justify-self: start;
  }

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

  .scoreline span:last-child {
    text-align: right;
  }
}

@media (max-width: 520px) {
  .home-live {
    padding: 16px;
  }

  .home-panel,
  .home-feature-card {
    padding: 16px;
  }

  .home-match-card {
    padding: 14px;
  }

  .scoreline {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 10px;
  }

  .scoreline span {
    font-size: 15px;
  }

  .scoreline span:last-child {
    text-align: left;
  }

  .scoreline em {
    display: none;
  }

  .scoreline b {
    min-width: 38px;
    font-size: 25px;
  }

  .home-feature-card .player-feature {
    align-items: center;
    gap: 12px;
  }

  .home-player-section .player-feature {
    grid-template-columns: 1fr;
  }

  .home-player-section .player-feature img,
  .home-feature-card .player-feature img {
    width: 76px;
    height: 76px;
  }

  .home-player-section .player-feature h3 {
    font-size: clamp(26px, 9vw, 38px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-showcase::after,
  .home-showcase-orbit,
  .home-section-title-live span::before,
  .home-showcase .live-public,
  .home-score-grid,
  .home-feature-grid {
    animation: none;
  }
}

/* Public premium system applied across data views */
.page-head {
  position: relative;
  overflow: hidden;
  align-items: center;
  margin-top: clamp(32px, 5vw, 58px);
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 106, 0, .22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 106, 0, .2), transparent 260px),
    linear-gradient(135deg, rgba(255, 255, 255, .06), rgba(255, 106, 0, .05)),
    rgba(12, 12, 12, .9);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background:
    linear-gradient(125deg, transparent 0 56%, rgba(255, 106, 0, .2) 56.3%, transparent 56.8%),
    radial-gradient(circle at 86% 50%, transparent 0 78px, rgba(255, 255, 255, .14) 79px 81px, transparent 82px);
}

.page-head > * {
  position: relative;
}

.page-head h1 {
  line-height: .96;
}

.filters select,
label input,
label select {
  border-color: rgba(255, 106, 0, .22);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 106, 0, .08), rgba(255, 255, 255, .035)),
    #0b0b0b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.match-grid {
  align-items: stretch;
}

.match-card,
.feature-panel,
.team-card,
.player-card,
.public-player-card,
.teams-empty,
.table-wrap table {
  border-color: rgba(255, 106, 0, .2);
}

.match-card {
  border-radius: 18px;
  background:
    radial-gradient(circle at 0 0, rgba(255, 106, 0, .18), transparent 190px),
    linear-gradient(160deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .025)),
    rgba(13, 13, 13, .92);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.match-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 106, 0, .48);
  box-shadow: 0 26px 62px rgba(0, 0, 0, .42), 0 0 26px rgba(255, 106, 0, .08);
}

.match-card div {
  color: #ffb377;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.match-card h2 {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.match-card h2 b {
  min-width: 42px;
  padding: 5px 9px;
  border-radius: 11px;
  background: rgba(255, 106, 0, .16);
  text-align: center;
}

.match-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .62);
}

.table-wrap {
  padding: 8px;
  border: 1px solid rgba(255, 106, 0, .2);
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .055), rgba(255, 106, 0, .04)),
    rgba(10, 10, 10, .88);
  box-shadow: 0 22px 58px rgba(0, 0, 0, .32);
}

.table-wrap table {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: none;
}

tbody tr {
  transition: background .18s ease;
}

tbody tr:hover {
  background: rgba(255, 106, 0, .07);
}

th {
  color: #ffb377;
  letter-spacing: .08em;
}

.ranking {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.ranking li {
  border: 1px solid rgba(255, 106, 0, .16);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 106, 0, .08), rgba(255, 255, 255, .035)),
    rgba(10, 10, 10, .82);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.ranking li:hover {
  transform: translateX(4px);
  border-color: rgba(255, 106, 0, .42);
}

.ranking li b {
  color: #ff6a00;
  font-size: 22px;
}

.empty:not(.home-empty) {
  display: block;
  padding: 18px;
  border: 1px dashed rgba(255, 106, 0, .3);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 106, 0, .08), rgba(255, 255, 255, .025)),
    rgba(8, 8, 8, .68);
  color: #b8b8b8;
}

.public-roster-panel {
  border-radius: 18px;
  border-color: rgba(255, 106, 0, .26);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 106, 0, .16), transparent 260px),
    rgba(12, 12, 12, .96);
}

.public-roster-head {
  border-bottom-color: rgba(255, 106, 0, .2);
}

.public-player-card {
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 106, 0, .07), rgba(255, 255, 255, .035)),
    rgba(12, 12, 12, .88);
  transition: transform .18s ease, border-color .18s ease;
}

.public-player-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 106, 0, .42);
}

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

.top-scorers-panel {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 106, 0, .16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 0 0, rgba(255, 106, 0, .16), transparent 150px),
    rgba(255, 255, 255, .035);
}

.top-scorers-panel h3 {
  margin: 0 0 12px;
  color: #ffb377;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

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

.top-scorer-card {
  display: grid;
  grid-template-columns: auto 46px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 86px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 106, 0, .16);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 106, 0, .08), rgba(255, 255, 255, .035)),
    rgba(7, 7, 7, .72);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.top-scorer-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 106, 0, .46);
  background:
    linear-gradient(135deg, rgba(255, 106, 0, .13), rgba(255, 49, 49, .06)),
    rgba(7, 7, 7, .82);
}

.top-scorer-rank {
  color: rgba(255, 255, 255, .32);
  font-size: 24px;
  line-height: 1;
}

.top-scorer-card img,
.top-scorer-avatar {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 106, 0, .24);
  border-radius: 50%;
  background: #141414;
}

.top-scorer-card img {
  object-fit: cover;
}

.top-scorer-avatar {
  display: inline-grid;
  place-items: center;
  color: #ffb377;
  font-weight: 900;
}

.top-scorer-card div,
.ranking-info {
  min-width: 0;
}

.top-scorer-card strong,
.top-scorer-card small {
  display: block;
}

.top-scorer-card strong,
.ranking-player-name {
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.15;
}

.top-scorer-card small,
.ranking-team-name {
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  color: #b8b8b8;
  font-size: .85rem;
  line-height: 1.2;
}

.points-badge,
.ranking-points {
  justify-self: end;
  flex-shrink: 0;
  padding: 7px 9px;
  border: 1px solid rgba(255, 106, 0, .34);
  border-radius: 999px;
  color: #111;
  background: linear-gradient(135deg, #ff8a2a, #ff6a00);
  box-shadow: 0 10px 22px rgba(255, 106, 0, .16);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .page-head {
    align-items: stretch;
  }

  .top-scorers-grid {
    grid-template-columns: 1fr;
  }

  .top-scorer-card {
    grid-template-columns: auto 46px minmax(0, 1fr);
    gap: 12px;
  }

  .points-badge,
  .ranking-points {
    grid-column: 3;
    justify-self: start;
    margin-top: 6px;
  }
}

@media (max-width: 520px) {
  .page-head,
  .table-wrap {
    border-radius: 16px;
  }

  .top-scorer-card img,
  .top-scorer-avatar {
    width: 42px;
    height: 42px;
  }
}

/* Team and player identity elements */
.team-name,
.result-team-name,
.ranking-team-name,
.inline-team span,
.inline-player span {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.team-logo-sm,
.team-logo-xs,
.player-logo-xs {
  flex: 0 0 auto;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(255, 106, 0, .24);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
}

.team-logo-sm {
  width: 46px;
  height: 46px;
  padding: 4px;
  border-radius: 12px;
}

.team-logo-xs,
.player-logo-xs {
  width: 30px;
  height: 30px;
  padding: 3px;
  border-radius: 9px;
}

.player-logo-xs {
  object-fit: cover;
  border-radius: 50%;
  background: #151515;
}

.identity-fallback {
  display: inline-grid;
  place-items: center;
  color: #111;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.player-logo-xs.identity-fallback {
  color: #ffb377;
  background: #151515;
}

.inline-team,
.inline-player {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  max-width: 100%;
}

.table-team,
.table-player {
  min-width: 220px;
  white-space: normal;
}

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

.result-match-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.result-match-body {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) auto minmax(130px, 1fr);
  align-items: center;
  gap: 16px;
  margin-top: 0;
}

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

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

.result-team-name {
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.1;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  word-break: normal;
  overflow-wrap: break-word;
}

.result-team-logo {
  width: 30px;
  height: 30px;
  padding: 2px;
  flex: 0 0 auto;
  object-fit: contain;
  border: 1px solid rgba(255, 106, 0, .18);
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .18);
}

.result-team-logo.identity-fallback {
  display: inline-grid;
  place-items: center;
  color: #ffb377;
  font-size: 10px;
  font-weight: 900;
  background: rgba(255, 106, 0, .12);
}

.result-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.result-score b,
.result-score-box {
  min-width: 58px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 106, 0, .42);
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 106, 0, .38), rgba(255, 106, 0, .15));
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1;
  text-align: center;
}

.result-venue {
  margin-top: 0 !important;
  color: #b8b8b8 !important;
  font-size: .8rem !important;
}

.result-score em {
  color: rgba(255, 255, 255, .44);
  font-style: normal;
  font-weight: 900;
}

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

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

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

.fixture-team .team-name,
.match-team-line .team-name {
  color: #fff;
  font-weight: 900;
  line-height: 1.1;
}

.match-team-line {
  gap: 12px;
}

.ranking-team-name {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
}

.ranking-team-name span {
  min-width: 0;
  line-height: 1.2;
}

.inline-team .team-name {
  min-width: 0;
  line-height: 1.15;
}

.home-feature-card .player-feature .inline-team {
  color: #ffb377;
  font-weight: 800;
}

.home-live-card .inline-team {
  align-items: center;
}

@media (max-width: 768px) {
  .result-scoreboard,
  .result-match-body {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }

  .result-team,
  .result-team.away {
    display: flex;
    justify-content: center;
    text-align: center;
  }

  .result-team.away {
    flex-direction: row-reverse;
  }

  .result-score {
    justify-content: center;
    order: 2;
  }

  .result-team-logo {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }

  .fixture-versus {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .fixture-team,
  .fixture-team.away {
    justify-content: center;
    text-align: center;
  }

  .fixture-team.away {
    flex-direction: row-reverse;
  }
}

@media (max-width: 520px) {
  .team-logo-sm {
    width: 42px;
    height: 42px;
  }

  .result-team-logo {
    width: 28px;
    height: 28px;
  }

  .table-team,
  .table-player {
    min-width: 190px;
  }

  .result-score b,
  .result-score-box {
    min-width: 52px;
    font-size: 28px;
  }
}

/* Circular main brand logo */
.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo img {
  width: 72px;
  height: 72px;
  max-width: 72px;
  border-radius: 50%;
  object-fit: cover;
  overflow: hidden;
  background: #111;
  border: 2px solid rgba(255, 106, 0, .5);
  box-shadow:
    0 0 18px rgba(255, 106, 0, .18),
    0 0 30px rgba(255, 106, 0, .08);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.brand-logo img:hover {
  transform: scale(1.05);
  border-color: #ff6a00;
}

@media (max-width: 768px) {
  .brand-logo img {
    width: 56px;
    height: 56px;
    max-width: 56px;
  }
}
