.sports-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.sports-card {
  background: linear-gradient(
    145deg,
    rgba(32, 36, 45, 0.96),
    rgba(24, 27, 35, 0.96)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
}

.sports-card-title {
  position: relative;
  padding: 14px 16px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.18), transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sports-card-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(180deg, #60a5fa, #3b82f6);
}

.sports-card-title span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.match-controls {
  position: relative;
  z-index: 2;
}

.loading-text {
  padding: 22px 15px;
  text-align: center;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 500;
}

.scorers-list,
.matches-list,
.bracket-container {
  padding: 10px;
}

.matches-list {
  max-height: 340px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(96, 165, 250, 0.5) transparent;
}

.bracket-container {
  max-height: 530px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(96, 165, 250, 0.5) transparent;
}

.matches-list::-webkit-scrollbar,
.bracket-container::-webkit-scrollbar {
  width: 6px;
}

.matches-list::-webkit-scrollbar-track,
.bracket-container::-webkit-scrollbar-track {
  background: transparent;
}

.matches-list::-webkit-scrollbar-thumb,
.bracket-container::-webkit-scrollbar-thumb {
  background: rgba(96, 165, 250, 0.45);
  border-radius: 20px;
}

.bracket-container > * {
  min-width: 100%;
}

#today-prev,
#today-next {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  transition: all 0.25s ease;
}

#today-prev svg,
#today-next svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}

#today-prev:hover,
#today-next:hover {
  color: #fff;
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.45);
}

#today-prev:active,
#today-next:active {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #fff;
  transform: scale(0.95);
}

.scorers-list > div,
.matches-list > div {
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.035);
  transition: 0.25s ease;
}

.today-channel-link {
  width: 100%;
  padding-left: 40px;
  margin-top: 2px;
  display: flex;
  align-items: center;
  color: rgb(59, 130, 246);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.25s ease;
  gap: 6px;
}

.today-channel-link:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.channel-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 10px rgba(59, 130, 246, .8);
}

.channel-arrow {
  font-size: 10px;
  color: #60a5fa;
}

.today-channel-text {
  width: 100%;
  padding-left: 40px;
  margin-top: 2px;
  display: block;
  color: #6b7280;
  font-size: 11px;
  font-weight: 500;
}

.goal-icon {
  display: inline-flex;
  align-items: end;
  justify-content: center;
  margin-left: 6px;
}

.goal-icon img {
  width: 15px;
  height: 15px;
  object-fit: cover;
}

.team-flag-placeholder {
  width: 15px;
  height: 15px;
  display: inline-flex;
  vertical-align: middle;
  flex-shrink: 0;
  fill: none;
  stroke: #fbbf24;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bk-team {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 13px;
  font-weight: 600;
  color: #ccc;
  overflow: hidden;
}

.bk-team.away {
  flex-direction: row-reverse;
  text-align: right;
}

.bk-team span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bk-round {
  margin-bottom: 10px;
}

.bk-round-hdr {
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 0 4px;
  border-bottom: 1px solid #222;
  margin-bottom: 5px;
}

.bk-match {
  display: flex;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid #1a1a1a;
  gap: 4px;
}

.bk-match:last-child {
  border-bottom: none;
}

@media (max-width: 1100px) {
  .sports-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 16px;
  }

  #bracket-panel {
    grid-column: span 2;
  }
}

@media (max-width: 700px) {
  .sports-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .sports-card-title {
    padding: 12px 14px;
    font-size: 12px;
  }

  .matches-list {
    max-height: 280px;
  }

  .bracket-container {
    max-height: 430px;
    overflow-x: auto;
  }
}
