#tab-stats .gh-stats-panel {
  overflow: hidden;
  transform: none !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 223, 0, 0.08), transparent 26%),
    #171718;
}

#tab-stats .gh-stats-panel:hover {
  transform: none !important;
}

body.modal-open #tab-stats .gh-stats-panel {
  transform: none !important;
}

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

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

#tab-stats .gh-stats-panel__content {
  padding: 1.25rem;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

#tab-stats .gh-stats-panel__content > .tab-pane {
  min-width: 0;
  max-width: 100%;
}

#tab-stats .gh-game-carousel {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

#tab-stats .gh-game-carousel__arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 223, 0, 0.3);
  border-radius: 50%;
  background: #111112;
  color: #ffdf00;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

#tab-stats .gh-game-carousel.is-scrollable .gh-game-carousel__arrow {
  opacity: 1;
  pointer-events: auto;
}

#tab-stats .gh-game-carousel__arrow:hover:not(:disabled) {
  color: #111112;
  background: #ffdf00;
  transform: scale(1.06);
}

#tab-stats .gh-game-carousel__arrow:focus-visible {
  outline: 2px solid #ffdf00;
  outline-offset: 3px;
}

#tab-stats .gh-game-carousel__arrow:disabled {
  opacity: .22 !important;
  pointer-events: none !important;
}

#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: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0.75rem;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.25rem 0 0.35rem;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

#tab-stats .gh-game-list::-webkit-scrollbar {
  display: none;
}

#tab-stats .gh-game-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 190px;
  width: 190px;
  min-width: 190px;
  min-height: 76px;
  padding: 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111112;
  scroll-snap-align: start;
}

#tab-stats .gh-game-item.active,
#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: 42px;
  height: 42px;
  flex: 0 0 42px;
  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;
  min-width: 0;
}

#tab-stats .gh-game-item__body strong,
#tab-stats .gh-game-item__body small {
  overflow: hidden;
  text-overflow: ellipsis;
}

#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: #111112;
}

/* Brawl Stars ------------------------------------------------------------ */
#tab-stats .gh-game-logo--brawlstars {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

#tab-stats .gh-brawl-subtitle,
#tab-stats .gh-brawl-disclaimer {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
}

#tab-stats .gh-brawl-empty > img {
  margin: 0 auto 0.75rem;
  object-fit: contain;
}

#tab-stats .gh-brawl-connect-form {
  width: min(100%, 560px);
  margin: 0.3rem auto 0;
  text-align: left;
}

#tab-stats .gh-brawl-connect-form label {
  display: block;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

#tab-stats .gh-brawl-connect-form > div {
  display: flex;
  gap: 0.6rem;
}

#tab-stats .gh-brawl-connect-form input {
  min-width: 0;
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: #111112;
  color: #fff;
  padding: 0.72rem 0.85rem;
  text-transform: uppercase;
}

#tab-stats .gh-brawl-connect-form input:focus {
  outline: 0;
  border-color: rgba(255, 223, 0, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 223, 0, 0.08);
}

#tab-stats .gh-brawl-button {
  border: 1px solid #ffdf00;
  border-radius: 12px;
  background: #ffdf00;
  color: #111112;
  padding: 0.68rem 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

#tab-stats .gh-brawl-button:hover {
  background: #ffe83d;
}

#tab-stats .gh-brawl-button--quiet {
  background: #111112;
  color: #ffdf00;
}

#tab-stats .gh-brawl-button--danger {
  border-color: rgba(255, 72, 88, 0.78);
  background: #111112;
  color: #ff5b68;
}

#tab-stats .gh-brawl-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.68);
}

#tab-stats .gh-brawl-toolbar > div {
  display: flex;
  gap: 0.55rem;
}

#tab-stats .gh-brawl-toolbar form {
  margin: 0;
}

#tab-stats .gh-brawl-profile-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: #111112;
}

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

#tab-stats .gh-brawl-profile-card__identity > img {
  object-fit: contain;
}

#tab-stats .gh-brawl-profile-card h3 {
  margin: 0 0 0.35rem;
}

#tab-stats .gh-brawl-trophy {
  min-width: 118px;
  padding: 0.8rem;
  text-align: center;
  border: 1px solid rgba(255, 223, 0, 0.26);
  border-radius: 16px;
  background: rgba(255, 223, 0, 0.06);
}

#tab-stats .gh-brawl-trophy i,
#tab-stats .gh-brawl-trophy strong {
  color: #ffdf00;
}

#tab-stats .gh-brawl-trophy strong,
#tab-stats .gh-brawl-trophy span {
  display: block;
}

#tab-stats .gh-brawl-trophy strong {
  font-size: 1.55rem;
}

#tab-stats .gh-brawl-trophy span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  text-transform: uppercase;
}

#tab-stats .gh-brawl-ranked {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.4fr);
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: #171718;
}

#tab-stats .gh-brawl-ranked__identity {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

#tab-stats .gh-brawl-ranked__emblem {
  display: grid;
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  place-items: center;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.32));
}

#tab-stats .gh-brawl-ranked__emblem img {
  display: block;
  width: 76px;
  height: 76px;
  object-fit: contain;
}

#tab-stats .gh-brawl-ranked__kicker {
  display: block;
  margin-bottom: 0.2rem;
  color: #ffdf00;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#tab-stats .gh-brawl-ranked h4 {
  margin: 0;
  color: #fff;
  font-size: 1.35rem;
}

#tab-stats .gh-brawl-ranked__identity p {
  margin: 0.15rem 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
}

#tab-stats .gh-brawl-ranked__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

#tab-stats .gh-brawl-ranked__stats > div {
  min-width: 0;
  min-height: 78px;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #111112;
}

#tab-stats .gh-brawl-ranked__stats span,
#tab-stats .gh-brawl-ranked__stats strong,
#tab-stats .gh-brawl-ranked__stats small {
  display: block;
}

#tab-stats .gh-brawl-ranked__stats span {
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

#tab-stats .gh-brawl-ranked__stats strong {
  overflow: hidden;
  color: #fff;
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#tab-stats .gh-brawl-ranked__stats > div:first-child strong {
  color: #ffdf00;
  font-size: 1.35rem;
}

#tab-stats .gh-brawl-ranked__stats small {
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.7rem;
}

#tab-stats .gh-brawl-section {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: #111112;
}

#tab-stats .gh-brawl-overview-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
  margin-top: 1.15rem;
}

#tab-stats .gh-brawl-overview-columns .gh-brawl-section {
  min-width: 0;
  height: 100%;
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

#tab-stats .gh-brawl-overview-columns .gh-brawl-roster-section {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: #111112;
}

#tab-stats .gh-brawl-overview-columns .gh-brawl-summary-section {
  padding: 1rem;
}

#tab-stats .gh-brawl-summary-section .gh-brawl-stat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 0.9rem;
  row-gap: 0.75rem;
  margin-top: 0;
}

#tab-stats .gh-brawl-summary-section .gh-stat-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 97px;
  height: 97px;
  padding: 0.45rem 0.7rem;
}

#tab-stats .gh-brawl-summary-section .gh-stat-box strong {
  font-size: 1.05rem;
}

#tab-stats .gh-brawl-summary-section .gh-stat-box span {
  margin-bottom: 0.22rem;
  line-height: 1.1;
}

#tab-stats .gh-brawl-section__heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

#tab-stats .gh-brawl-section__heading span {
  color: #ffdf00;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

#tab-stats .gh-brawl-section__heading h5 {
  margin: 0.15rem 0 0;
}

#tab-stats .gh-brawl-section__heading small {
  color: rgba(255, 255, 255, 0.48);
}

#tab-stats .gh-brawl-brawler-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 0.9rem;
  row-gap: 0.75rem;
}

#tab-stats .gh-brawl-brawler-grid article {
  position: relative;
  min-width: 0;
  min-height: 70px;
  height: 97px;
  padding: 0.65rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: #171718;
  overflow: hidden;
}

#tab-stats .gh-brawl-brawler-rank {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}

#tab-stats .gh-brawl-brawler-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

#tab-stats .gh-brawl-brawler-card__header strong {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: 1.08rem;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#tab-stats .gh-brawl-brawler-card__metrics {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 4.75rem;
  margin-top: 0.5rem;
}

#tab-stats .gh-brawl-brawler-card__portrait {
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 78px;
  height: 80px;
  transform: translateX(-50%);
  pointer-events: none;
}

#tab-stats .gh-brawl-brawler-card__portrait img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.32));
}

#tab-stats .gh-brawl-brawler-card__portrait.is-unavailable::after {
  content: "?";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.18);
  font-size: 1.2rem;
  font-weight: 700;
}

#tab-stats .gh-brawl-brawler-card__metrics > div {
  min-width: 0;
}

#tab-stats .gh-brawl-brawler-card__metrics span,
#tab-stats .gh-brawl-brawler-card__metrics b {
  display: block;
}

#tab-stats .gh-brawl-brawler-card__metrics span {
  margin-bottom: 0.14rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
}

#tab-stats .gh-brawl-brawler-card__metrics b {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.6rem;
  line-height: 1.15;
}

#tab-stats .gh-brawl-brawler-card__trophies {
  justify-self: end;
  text-align: right;
}

#tab-stats .gh-brawl-brawler-card__trophies span {
  font-size: 0.7rem;
}

#tab-stats .gh-brawl-brawler-card__trophies b {
  color: #ffdf00;
  font-size: 1.05rem;
}

#tab-stats .gh-brawl-brawler-card__trophies i {
  display: inline-block;
  margin-right: 0.28rem;
  font-size: 0.92rem;
  transform: rotate(-10deg);
}

#tab-stats .gh-brawl-battle-list {
  display: grid;
  gap: 0.5rem;
}

#tab-stats .gh-brawl-battle-list article {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 0.8rem;
  min-height: 68px;
  padding: 0.45rem 0.8rem;
  border-left: 3px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: #171718;
}

#tab-stats .gh-brawl-battle-list article.is-win { border-left-color: #49d17d; }
#tab-stats .gh-brawl-battle-list article.is-loss { border-left-color: #ff5b68; }
#tab-stats .gh-brawl-battle-list article > div strong,
#tab-stats .gh-brawl-battle-list article > div span { display: block; }
#tab-stats .gh-brawl-battle-list article > div span { color: rgba(255, 255, 255, 0.5); font-size: 0.78rem; }
#tab-stats .gh-brawl-battle-change {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 700;
}
#tab-stats .gh-brawl-battle-change i {
  color: #ffdf00;
  font-size: 0.9rem;
  transform: rotate(-12deg);
}
#tab-stats .gh-brawl-battle-change.is-positive { color: #ffdf00; }
#tab-stats .gh-brawl-battle-change.is-negative { color: #ff5b68; }

#tab-stats .gh-brawl-disclaimer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 1rem;
}

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

@media (max-width: 767.98px) {
  #tab-stats .gh-game-carousel {
    display: block;
  }

  #tab-stats .gh-game-carousel__arrow {
    display: none;
  }

  #tab-stats .gh-brawl-profile-card,
  #tab-stats .gh-brawl-toolbar { align-items: stretch; }
  #tab-stats .gh-brawl-profile-card { flex-direction: column; }
  #tab-stats .gh-brawl-trophy { width: 100%; }
  #tab-stats .gh-brawl-brawler-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #tab-stats .gh-brawl-connect-form > div { flex-direction: column; }
  #tab-stats .gh-brawl-toolbar > div { width: 100%; }
  #tab-stats .gh-brawl-toolbar form,
  #tab-stats .gh-brawl-toolbar button { flex: 1; }
  #tab-stats .gh-brawl-ranked__stats { grid-template-columns: 1fr; }
}

#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-faceit-stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

#tab-stats .gh-faceit-stat-grid .gh-stat-box {
  min-height: 86px;
  padding: 0.75rem;
  border-radius: 12px;
}

#tab-stats .gh-faceit-stat-grid .gh-stat-box span {
  margin-bottom: 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

#tab-stats .gh-faceit-stat-grid .gh-stat-box strong {
  font-size: 1.25rem;
}

#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;
}

#tab-stats .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__inner,
  #tab-stats .gh-stats-panel__sidebar,
  #tab-stats .gh-stats-panel__content {
    min-width: 0;
  }

  #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:not(.gh-faceit-stat-grid) {
    grid-template-columns: 1fr;
  }

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

  #tab-stats .gh-game-list {
    grid-auto-columns: minmax(145px, 165px);
  }

  #tab-stats .gh-game-item {
    flex-basis: 165px;
    width: 165px;
    min-width: 165px;
    min-height: 70px;
  }


  #tab-stats .gh-faceit-stat-grid .gh-stat-box {
    padding: 0.65rem;
    min-height: 78px;
  }

  #tab-stats .gh-faceit-stat-grid .gh-stat-box strong {
    font-size: 1.1rem;
  }

  #tab-stats .gh-faceit-stat-grid .gh-stat-box span {
    font-size: 0.62rem;
  }
}

/* Clash Royale profile */
#tab-stats .gh-game-item__icon--clash { width:44px; height:48px; flex-basis:44px; overflow:visible; background:transparent; color:inherit; box-shadow:none; }
#tab-stats .gh-game-item__icon--clash img { display:block; width:44px; height:48px; object-fit:contain; }
#tab-stats .gh-cr-shell { --cr-main:#171718; --cr-card:#111112; --cr-yellow:#ffdf00; --cr-border:rgba(255,255,255,.09); --cr-muted:rgba(255,255,255,.58); width:100%; min-width:0; max-width:100%; padding:0; color:#fff; background:transparent; border:0; border-radius:0; overflow:hidden; }
#tab-stats .gh-cr-shell *,#tab-stats .gh-cr-shell *::before,#tab-stats .gh-cr-shell *::after { box-sizing:border-box; }
#tab-stats .gh-cr-heading,#tab-stats .gh-cr-toolbar,#tab-stats .gh-cr-toolbar>div,#tab-stats .gh-cr-section__heading { display:flex; align-items:center; justify-content:space-between; gap:16px; }
#tab-stats .gh-cr-heading h4,#tab-stats .gh-cr-heading p,#tab-stats .gh-cr-connect h3,#tab-stats .gh-cr-connect p { margin:0; }
#tab-stats .gh-cr-heading h4 { font-size:clamp(1.25rem,2vw,1.65rem); }
#tab-stats .gh-cr-heading p,#tab-stats .gh-cr-connect p { margin-top:4px; color:var(--cr-muted); }
#tab-stats .gh-cr-eyebrow,#tab-stats .gh-cr-section__heading span { display:block; color:var(--cr-yellow); font-size:.68rem; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
#tab-stats .gh-cr-status { display:inline-flex; align-items:center; gap:7px; flex:0 0 auto; padding:8px 13px; border:1px solid var(--cr-border); border-radius:999px; color:var(--cr-muted); font-size:.7rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
#tab-stats .gh-cr-status.is-live { background:var(--cr-yellow); color:#111112; border-color:var(--cr-yellow); }
#tab-stats .gh-cr-empty,#tab-stats .gh-cr-connect { display:flex; align-items:center; gap:clamp(20px,4vw,48px); min-height:260px; margin-top:22px; padding:clamp(24px,5vw,56px); background:radial-gradient(circle at 12% 20%,rgba(255,223,0,.11),transparent 30%),var(--cr-card); border:1px solid var(--cr-border); border-radius:18px; }
#tab-stats .gh-cr-connect { background:radial-gradient(circle at 13% 48%,rgba(24,119,211,.24),transparent 25%),radial-gradient(circle at 4% 82%,rgba(5,57,122,.16),transparent 34%),var(--cr-card); }
#tab-stats .gh-cr-empty__crest { display:grid; place-items:center; position:relative; width:130px; height:130px; flex:0 0 130px; border:1px solid rgba(255,223,0,.35); border-radius:32px; color:var(--cr-yellow); background:rgba(255,223,0,.05); transform:rotate(8deg); box-shadow:0 24px 60px rgba(0,0,0,.35); }
#tab-stats .gh-cr-empty__crest i { font-size:4rem; transform:rotate(-8deg); }
#tab-stats .gh-cr-connect__art { display:grid; place-items:center; width:150px; height:150px; flex:0 0 150px; }
#tab-stats .gh-cr-connect__art img { display:block; width:142px; height:142px; object-fit:contain; filter:drop-shadow(0 18px 16px rgba(0,0,0,.48)); }
#tab-stats .gh-cr-connect__copy { width:min(780px,100%); }
#tab-stats .gh-cr-connect__copy h3 { margin-top:7px; font-size:clamp(1.6rem,3vw,2.4rem); }
#tab-stats .gh-cr-connect-form { margin-top:24px; }
#tab-stats .gh-cr-connect-form label { display:block; margin-bottom:7px; font-size:.72rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
#tab-stats .gh-cr-connect-form>div { display:flex; gap:9px; }
#tab-stats .gh-cr-connect-form input { min-width:0; flex:1; padding:12px 14px; color:#fff; background:#09090a; border:1px solid var(--cr-border); border-radius:9px; outline:0; }
#tab-stats .gh-cr-connect-form input:focus { border-color:var(--cr-yellow); box-shadow:0 0 0 3px rgba(255,223,0,.1); }
#tab-stats .gh-cr-connect-form button { padding:11px 14px; color:#111112; background:var(--cr-yellow); border:1px solid var(--cr-yellow); border-radius:8px; font-weight:800; transition:transform .15s ease,filter .15s ease; }
#tab-stats .gh-cr-connect-form button:hover { transform:translateY(-1px); filter:brightness(1.06); }
#tab-stats .gh-cr-connect-form small { display:block; margin-top:8px; color:var(--cr-muted); }
#tab-stats .gh-cr-private-note { display:inline-block; margin-top:20px; color:var(--cr-muted); }
#tab-stats .gh-cr-toolbar { margin-top:20px; color:var(--cr-muted); font-size:.78rem; }
#tab-stats .gh-cr-toolbar form { margin:0; }
#tab-stats .gh-cr-hero { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:20px; position:relative; min-height:150px; margin-top:16px; padding:18px clamp(18px,3vw,28px); background:var(--cr-card); border:1px solid var(--cr-border); border-radius:18px; overflow:hidden; }
#tab-stats .gh-cr-hero__glow { display:none; }
#tab-stats .gh-cr-avatar { display:grid; place-items:center; align-self:center; position:relative; width:104px; height:124px; padding:6px; overflow:visible; }
#tab-stats .gh-cr-avatar::before { display:none; }
#tab-stats .gh-cr-avatar img { display:block; position:relative; z-index:1; width:92%; height:92%; object-fit:contain; object-position:center; transform:none; filter:drop-shadow(0 8px 7px rgba(0,0,0,.35)); }
#tab-stats .gh-cr-avatar>i { position:relative; z-index:1; color:var(--cr-yellow); font-size:4.4rem; }
#tab-stats .gh-cr-identity { position:relative; min-width:0; }
#tab-stats .gh-cr-identity h3 { margin:3px 0 8px; font-size:clamp(1.55rem,3vw,2.1rem); overflow-wrap:anywhere; }
#tab-stats .gh-cr-pills { display:flex; flex-wrap:wrap; gap:7px; }
#tab-stats .gh-cr-pills span { padding:6px 10px; color:rgba(255,255,255,.72); background:#1b1b1d; border-radius:999px; font-size:.75rem; }
#tab-stats .gh-cr-trophy { position:relative; min-width:130px; padding:16px; text-align:center; background:rgba(255,223,0,.05); border:1px solid rgba(255,223,0,.35); border-radius:16px; }
#tab-stats .gh-cr-trophy i,#tab-stats .gh-cr-trophy strong,#tab-stats .gh-cr-trophy span,#tab-stats .gh-cr-trophy small { display:block; }
#tab-stats .gh-cr-trophy i,#tab-stats .gh-cr-trophy strong { color:var(--cr-yellow); }
#tab-stats .gh-cr-trophy strong { margin:2px 0; font-size:1.5rem; }
#tab-stats .gh-cr-trophy span { font-size:.66rem; font-weight:900; text-transform:uppercase; }
#tab-stats .gh-cr-trophy small { margin-top:5px; color:var(--cr-muted); font-size:.68rem; }
#tab-stats .gh-cr-ranked { display:grid; grid-template-columns:auto minmax(0,.7fr) minmax(0,2fr); align-items:center; gap:18px; min-width:0; max-width:100%; margin-top:16px; padding:16px 18px; background:linear-gradient(105deg,rgba(255,223,0,.045),transparent 42%),var(--cr-main); border:1px solid var(--cr-border); border-radius:18px; }
#tab-stats .gh-cr-rank-mark { display:grid; place-items:center; width:84px; height:84px; background:transparent; border:0; border-radius:0; }
#tab-stats .gh-cr-rank-mark img { display:block; width:82px; height:82px; object-fit:contain; filter:drop-shadow(0 8px 7px rgba(0,0,0,.42)); }
#tab-stats .gh-cr-rank-title h4 { margin:4px 0 0; }
#tab-stats .gh-cr-rank-title p { margin:2px 0 0; color:var(--cr-muted); font-size:.76rem; }
#tab-stats .gh-cr-rank-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; min-width:0; }
#tab-stats .gh-cr-rank-grid article,#tab-stats .gh-cr-stat-grid article { padding:14px; background:var(--cr-card); border:1px solid var(--cr-border); border-radius:12px; }
#tab-stats .gh-cr-rank-grid span,#tab-stats .gh-cr-rank-grid strong,#tab-stats .gh-cr-rank-grid small { display:block; }
#tab-stats .gh-cr-rank-grid span,#tab-stats .gh-cr-stat-grid span { color:var(--cr-muted); font-size:.67rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
#tab-stats .gh-cr-rank-grid strong { margin-top:7px; font-size:.98rem; }
#tab-stats .gh-cr-rank-grid article:first-child strong { color:var(--cr-yellow); font-size:1.28rem; }
#tab-stats .gh-cr-rank-grid small { margin-top:3px; color:var(--cr-muted); font-size:.68rem; }
#tab-stats .gh-cr-rank-result { display:flex; align-items:center; gap:10px; min-width:0; }
#tab-stats .gh-cr-rank-result>img { width:42px; height:42px; flex:0 0 42px; object-fit:contain; filter:drop-shadow(0 5px 4px rgba(0,0,0,.38)); }
#tab-stats .gh-cr-rank-result>div { min-width:0; }
#tab-stats .gh-cr-dashboard { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.35fr); gap:16px; min-width:0; max-width:100%; margin-top:16px; }
#tab-stats .gh-cr-section { min-width:0; max-width:100%; padding:18px; background:var(--cr-main); border:1px solid var(--cr-border); border-radius:18px; overflow:hidden; }
#tab-stats .gh-cr-section__heading { margin-bottom:14px; }
#tab-stats .gh-cr-section__heading h5 { margin:2px 0 0; font-size:1.15rem; }
#tab-stats .gh-cr-section__heading>i { color:rgba(255,223,0,.5); }
#tab-stats .gh-cr-section__heading small { color:var(--cr-muted); }
#tab-stats .gh-cr-stat-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
#tab-stats .gh-cr-stat-grid article { min-height:84px; display:flex; flex-direction:column; justify-content:center; }
#tab-stats .gh-cr-stat-grid article.is-featured { border-color:rgba(255,223,0,.32); background:linear-gradient(135deg,rgba(255,223,0,.1),var(--cr-card)); }
#tab-stats .gh-cr-stat-grid strong { margin-top:5px; font-size:1.2rem; }
#tab-stats .gh-cr-deck { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; min-width:0; max-width:100%; }
#tab-stats .gh-cr-deck article { min-width:0; padding:8px 8px 10px; text-align:center; background:var(--cr-card); border:1px solid var(--cr-border); border-radius:12px; overflow:hidden; }
#tab-stats .gh-cr-card-art { height:105px; margin-bottom:4px; }
#tab-stats .gh-cr-card-art img { width:100%; height:100%; object-fit:contain; filter:drop-shadow(0 8px 7px rgba(0,0,0,.5)); transition:transform .2s ease; }
#tab-stats .gh-cr-deck article:hover .gh-cr-card-art img { transform:translateY(-3px) scale(1.04); }
#tab-stats .gh-cr-deck strong,#tab-stats .gh-cr-deck span { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#tab-stats .gh-cr-deck strong { font-size:.75rem; }
#tab-stats .gh-cr-deck span { margin-top:2px; color:var(--cr-muted); font-size:.62rem; }
#tab-stats .gh-cr-muted { color:var(--cr-muted); }
#tab-stats .gh-cr-battles { margin-top:16px; }
#tab-stats .gh-cr-battle-list { display:grid; gap:8px; min-width:0; }
#tab-stats .gh-cr-battle-list>article { display:grid; grid-template-columns:88px minmax(150px,.8fr) minmax(220px,1.4fr) 68px; align-items:center; gap:14px; padding:11px 14px; background:var(--cr-card); border:1px solid var(--cr-border); border-left:3px solid #929292; border-radius:11px; }
#tab-stats .gh-cr-battle-list>article.is-win { border-left-color:#49d17d; }
#tab-stats .gh-cr-battle-list>article.is-loss { border-left-color:#ff5b68; }
#tab-stats .gh-cr-result b { display:block; color:var(--cr-muted); font-size:.62rem; letter-spacing:.08em; }
#tab-stats .is-win .gh-cr-result b { color:#49d17d; }
#tab-stats .is-loss .gh-cr-result b { color:#ff5b68; }
#tab-stats .gh-cr-result strong { display:block; margin-top:3px; }
#tab-stats .gh-cr-result i { color:var(--cr-yellow); font-size:.7rem; }
#tab-stats .gh-cr-opponent span,#tab-stats .gh-cr-opponent strong,#tab-stats .gh-cr-opponent small { display:block; }
#tab-stats .gh-cr-opponent span,#tab-stats .gh-cr-opponent small { color:var(--cr-muted); font-size:.67rem; }
#tab-stats .gh-cr-opponent strong { margin:1px 0; font-size:.86rem; }
#tab-stats .gh-cr-mini-deck { display:flex; align-items:center; min-width:0; }
#tab-stats .gh-cr-mini-deck img { width:clamp(27px,3.2vw,42px); height:48px; object-fit:contain; margin-left:-4px; filter:drop-shadow(0 3px 3px #000); }
#tab-stats .gh-cr-change { display:inline-flex; align-items:center; justify-content:flex-end; gap:6px; justify-self:end; color:var(--cr-muted); font-weight:900; }
#tab-stats .gh-cr-change i { display:inline-block; font-size:.9rem; transform:rotate(-14deg); transform-origin:center; }
#tab-stats .gh-cr-change.is-positive { color:var(--cr-yellow); }
#tab-stats .gh-cr-change.is-negative { color:#ff5b68; }
@media (max-width:1050px) { #tab-stats .gh-cr-dashboard{grid-template-columns:1fr} #tab-stats .gh-cr-ranked{grid-template-columns:auto 1fr} #tab-stats .gh-cr-rank-grid{grid-column:1/-1} }
@media (max-width:760px) { #tab-stats .gh-cr-hero{grid-template-columns:auto 1fr} #tab-stats .gh-cr-trophy{grid-column:1/-1;width:100%} #tab-stats .gh-cr-deck{grid-template-columns:repeat(4,minmax(75px,1fr));overflow-x:auto;padding-bottom:5px} #tab-stats .gh-cr-battle-list>article{grid-template-columns:72px 1fr auto} #tab-stats .gh-cr-mini-deck{grid-column:1/-1;grid-row:2} #tab-stats .gh-cr-mini-deck img{width:39px} }
@media (max-width:520px) { #tab-stats .gh-cr-shell{padding:0;border-radius:0} #tab-stats .gh-cr-heading{align-items:flex-start} #tab-stats .gh-cr-heading p{display:none} #tab-stats .gh-cr-connect{flex-direction:column;align-items:flex-start;padding:24px 18px} #tab-stats .gh-cr-connect__art{width:96px;height:96px;flex-basis:96px} #tab-stats .gh-cr-connect__art img{width:92px;height:92px} #tab-stats .gh-cr-connect-form>div,#tab-stats .gh-cr-toolbar{flex-direction:column;align-items:stretch} #tab-stats .gh-cr-connect-form button,#tab-stats .gh-cr-toolbar>div,#tab-stats .gh-cr-toolbar form,#tab-stats .gh-cr-toolbar button{width:100%} #tab-stats .gh-cr-hero{grid-template-columns:76px minmax(0,1fr);padding:16px} #tab-stats .gh-cr-avatar{width:76px;height:90px;padding:3px} #tab-stats .gh-cr-identity h3{font-size:1.4rem} #tab-stats .gh-cr-ranked{grid-template-columns:66px 1fr} #tab-stats .gh-cr-rank-mark{width:62px;height:62px} #tab-stats .gh-cr-rank-mark img{width:60px;height:60px} #tab-stats .gh-cr-rank-grid{grid-template-columns:1fr} #tab-stats .gh-cr-stat-grid{grid-template-columns:1fr 1fr} #tab-stats .gh-cr-stat-grid article{padding:11px} #tab-stats .gh-cr-card-art{height:88px} #tab-stats .gh-cr-battle-list>article{grid-template-columns:62px minmax(0,1fr) 54px;gap:8px} }
