#tab-stats .gh-stats-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 223, 0, 0.10), transparent 26%),
    linear-gradient(180deg, #141519 0%, #0f1014 100%);
}

#tab-stats .gh-stats-panel__inner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
}

#tab-stats .gh-stats-panel__sidebar {
  padding: 1.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

#tab-stats .gh-stats-panel__content {
  padding: 1.25rem;
}

#tab-stats .gh-stats-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffdf00;
  margin-bottom: 0.35rem;
}

#tab-stats .gh-stats-title {
  margin-bottom: 0.5rem;
}

#tab-stats .gh-stats-copy {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
  line-height: 1.45;
  margin-bottom: 1rem;
}

#tab-stats .gh-game-list {
  display: grid;
  gap: 0.75rem;
}

#tab-stats .gh-game-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);

}

#tab-stats .gh-game-item--active {
  border-color: rgba(255, 223, 0, 0.28);
  background: linear-gradient(180deg, rgba(255, 223, 0, 0.10), rgba(255, 255, 255, 0.03));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

#tab-stats .gh-game-item--disabled {
  opacity: 0.48;
}

#tab-stats .gh-game-item__icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
  color: #ffdf00;
  font-weight: 800;
  font-size: 0.82rem;
  border: none;
  box-shadow: none;
  overflow: visible;
}


#tab-stats .gh-game-item__body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

#tab-stats .gh-game-item__body small {
  color: rgba(255, 255, 255, 0.56);
}

#tab-stats .gh-stats-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

#tab-stats .gh-status-badge {
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#tab-stats .gh-status-badge--live {
  background: #ffdf00;
  color: #111216;
}

#tab-stats .gh-status-badge--idle {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
}

#tab-stats .gh-faceit-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(255, 223, 0, 0.10), transparent 24%),
    rgba(255, 255, 255, 0.025);
}

#tab-stats .gh-faceit-hero__left {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

#tab-stats .gh-faceit-avatar {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 223, 0, 0.2);
  overflow: hidden;
}

#tab-stats .gh-faceit-avatar--placeholder {
  display: grid;
  place-items: center;
  background: #111216;
  color: #ffdf00;
  font-size: 1.3rem;
  font-weight: 800;
}

#tab-stats .gh-faceit-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 223, 0, 0.88);
  margin-bottom: 0.2rem;
}

#tab-stats .gh-faceit-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

#tab-stats .gh-faceit-meta span {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.86rem;
}

#tab-stats .gh-faceit-rank {
  --faceit-level-color: #ffdf00;
  min-width: 110px;
  text-align: center;
  padding: 0.85rem;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--faceit-level-color) 28%, transparent);
  background: color-mix(in srgb, var(--faceit-level-color) 10%, transparent);
}


#tab-stats .gh-faceit-rank__value {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--faceit-level-color);
}



#tab-stats .gh-faceit-rank__label {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.68);
}

#tab-stats .gh-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

#tab-stats .gh-stat-box {
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

#tab-stats .gh-stat-box--accent {
  border-color: rgba(255, 223, 0, 0.2);
  background: linear-gradient(180deg, rgba(255, 223, 0, 0.08), rgba(255, 255, 255, 0.02));
}

#tab-stats .gh-stat-box span {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.56);
}

#tab-stats .gh-stat-box strong {
  font-size: 1.55rem;
  line-height: 1;
  color: #fff;
}

#tab-stats .gh-map-card {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(255, 255, 255, 0.025);
  min-height: 142px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  border: 0;
  overflow: hidden;
}

#tab-stats .gh-map-card span,
#tab-stats .gh-map-card strong,
#tab-stats .gh-map-card .gh-faceit-meta {
  position: relative;
  z-index: 1;
}

#tab-stats .gh-map-card .gh-faceit-meta span {
  background: rgba(15, 16, 20, 0.68);
  color: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(4px);
}

#tab-stats .gh-faceit-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

#tab-stats .gh-faceit-chip {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.72);
}

#tab-stats .gh-faceit-link {
  color: #ffdf00;
  text-decoration: none;
  font-weight: 700;
}

#tab-stats .gh-faceit-link:hover {
  color: #ffe869;
}

#tab-stats .gh-stats-empty {
  padding: 2rem;
  min-height: 340px;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
}

#tab-stats .gh-stats-empty p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.7);
}

#tab-stats .gh-empty-error {
  margin-top: 0.85rem;
  color: #ffdf00;
  font-weight: 600;
}

.gh-game-item__icon {
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 0;
  color: #ffd84d;
  display: inline-flex;
  flex: 0 0 68px;
  height: 68px;
  justify-content: center;
  overflow: visible;
  transition: background 0.18s ease, color 0.18s ease;
  width: 68px;
}


.gh-game-item__icon--logo {
  padding: 0;
}

.gh-game-item__icon--logo img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: contain;

}






@media (max-width: 991.98px) {
  #tab-stats .gh-stats-panel__inner {
    grid-template-columns: 1fr;
  }

  #tab-stats .gh-stats-panel__sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  #tab-stats .gh-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  #tab-stats .gh-faceit-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  #tab-stats .gh-faceit-hero__left {
    align-items: flex-start;
  }

  #tab-stats .gh-stat-grid {
    grid-template-columns: 1fr;
  }
}