body {
  background: #0e0e10;
  color: #fff;
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
}

/* Live Chat Styles */

.timeline-livechat-container {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 15px;
  box-sizing: border-box;
}

.timeline-livechat-ls {
  width: 100%;
  display: block;
  padding: 0px;
}

.livechat-list-item {
  display: flex;
  align-items: center;
  padding: 14px 0px;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  gap: 12px;
}

.livechat-list-item:last-child {
  margin-bottom: 0;
}

.livechat-list-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


/* Avatar */
.avatar-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.league-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #2a2b30;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Match details */
.livechat-list-item__data {
  flex: 1;
  margin-right: 12px;
  min-width: 0;
}

.livechat-data__info {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: #a1a1a1;
}

.info-item__league {
  font-weight: 600;
  color: #d1d1d1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.info-item__round {
  color: #8a8a8a;
  white-space: nowrap;
}

.livechat-data__name {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin: 2px 0 4px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.match-time {
  font-size: 12px;
  color: #8a8a8a;
  margin-top: 2px;
}

.info-item__league {
  position: relative;
  font-weight: 500;
  color: #d1d1d1;
  font-size: 13px;
  font-weight: 600;
}

.info-item__round {
  color: #8a8a8a;
  font-size: 12px;
  font-weight: 500;
}

.livechat-data__name {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

/* Viewers section */
.livechat-data__viewers {
  display: flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  position: relative;
  background-clip: padding-box;
  border: 1px solid transparent;
  background-image: linear-gradient(#15202b, #15202b), 
                    linear-gradient(90deg, #0C8FE6 0%, #9843FF 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

/* Fallback for older browsers */
@supports not (background-clip: padding-box) {
  .livechat-data__viewers {
    position: relative;
    background: #1a1b1f;
    border: 1px solid transparent;
  }
  
  .livechat-data__viewers::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 20px;
    background: linear-gradient(90deg, #0C8FE6 0%, #9843FF 100%);
    z-index: -1;
  }
}

.livechat-data__right-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  opacity: 0.8;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-left: 8px;
  cursor: pointer;
  border-radius: 50%;
}

.livechat-data__right-icon:hover {
  background-color: rgba(255, 255, 255, 0.1);
  opacity: 1;
}

.livechat-data__right-icon svg {
  width: 24px;
  height: 24px;
  display: block;
  margin: 0 auto;
}

.livechat-list-item:hover .livechat-data__right-icon {
  opacity: 1;
  color: #fff;
}

.viewer-avatars {
  display: flex;
  align-items: center;
  margin-right: 4px;
}

.viewer-avatars img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #2a2b30;
  object-fit: cover;
  margin-left: -6px;
  transition: transform 0.2s ease;
}

.viewer-avatars img:first-child {
  margin-left: 0;
}

.viewer-count {
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  margin-right: 8px;
}

.icon-open {
  color: #a1a1a1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-left: 4px;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.livechat-list-item:hover .icon-open {
  opacity: 1;
  color: #fff;
}

/* Responsive styles */
@media (max-width: 480px) {
  .livechat-list-item {
    padding: 12px;
  }
  
  .livechat-data__info {
    font-size: 12px;
  }
  
  .livechat-data__name {
    font-size: 14px;
  }
  
  .livechat-data__viewers {
    padding: 4px 10px;
    font-size: 12px;
  }
  
  .viewer-avatars img {
    width: 18px;
    height: 18px;
  }
}

/* Hover effects */

.livechat-list-item:hover .viewer-avatars img {
  transform: translateY(-1px);
}

/* Filter and Sort Select Dropdowns */
.game-filter select,
.sorting-options select {
  background-color: transparent;
  color:var(--cl-primary-text-color);
  border: 1px solid var(--cl-primary-border-color);
  border-radius: 6px;
  padding: 8px 8px 8px 16px;
  font-family: 'Inter', sans-serif; 
  font-size: 14px;
}

.game-filter select option,
.sorting-options select option {
  background: var(--cl-primary-bg-color);
  color:var(--cl-primary-text-color);
}
