/* Home page: leagues sidebar replaces the narrow category pill column */
.home-page--leagues-sidebar {
  --left-side: 260px;
}

.leagues-sidebar {
  padding: 12px 10px;
  gap: 12px;
  display: flex;
  flex-direction: column;
}

.leagues-sidebar .top-leagues-box {
  flex-shrink: 0;
  margin-bottom: 0;
}

.leagues-sidebar .all-categories-box {
  flex: 1;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
}

.top-leagues-box,
.all-categories-box {
  background: #151a1e;
  border-radius: 10px;
  overflow: hidden;
}

.top-leagues-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  background: #1a2127;
}

.top-leagues-header span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-leagues-list,
.all-categories-list,
.category-leagues ul {
  list-style: none;
  margin: 0;
  padding: 6px 8px 10px;
}

.top-leagues-list li a,
.category-leagues li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 6px;
  color: #c7ccd1;
  text-decoration: none;
}

.top-leagues-list li a span,
.category-leagues li a span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-leagues-list li a img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.top-leagues-list li a i,
.category-leagues li a i {
  margin-left: auto;
  color: hsl(var(--home-base));
  font-size: 0.9rem;
}

.top-leagues-list li.active a,
.top-leagues-list li a:hover,
.all-categories-list li.active > .category-row,
.all-categories-list li a:hover,
.category-leagues li.active a,
.category-leagues li a:hover {
  background: #1e252b;
  color: #fff;
}

.top-leagues-empty {
  padding: 8px 10px;
  color: #6b7278;
  font-size: 0.8rem;
}

.time-filter {
  width: 100%;
}

.time-filter__btn {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  color: #fff;
  background: hsl(var(--home-base));
}

.time-filter__menu {
  width: 100%;
}

.category-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 4px 4px 8px;
  border-radius: 6px;
}

.category-row__link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  color: #edf4f8;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
}

.category-row__toggle {
  border: 0;
  background: transparent;
  color: #c7ccd1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
}

.category-row__toggle em {
  font-style: normal;
  color: #9aa3aa;
  font-size: 0.8rem;
}

.category-leagues {
  padding-left: 8px;
}

/* Sport category pill tabs */
.category-tabs-wrapper { overflow-x:auto; }
.category-tabs { display:flex; gap:8px; padding:10px 0; white-space:nowrap; }
.category-pill { display:inline-flex; align-items:center; gap:6px; padding:6px 14px; border-radius:20px; background:#1e252b; color:#c7ccd1; text-decoration:none; font-size:.9rem; }
.category-pill.active { background:transparent; color:#2ecc71; font-weight:600; }

/* Country chip row */
.country-filter-wrapper { overflow-x:auto; }
.country-filter { display:flex; gap:8px; padding:6px 0 14px; white-space:nowrap; }
.country-chip { display:inline-flex; align-items:center; gap:6px; padding:6px 12px; border-radius:20px; border:1px solid #2a3238; color:#c7ccd1; text-decoration:none; font-size:.85rem; }
.country-chip .fi { border-radius:50%; width:16px; height:16px; }
.country-chip.active { border-color:#2ecc71; color:#2ecc71; }
