/* Community profile layout. Colors follow the active domain skin. */
.community-profile {
  --tesla-card: var(--skin__bg_1, #16171c);
  --tesla-background: var(--skin__bg_2, #202128);
  --tesla-accent: var(--skin__primary, #ff9a1f);
  padding-bottom: .3rem;
  background: var(--tesla-card);
}
.community-profile .tesla-profile-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: .08rem .20rem .22rem;
  background: linear-gradient(155deg, var(--skin__web_topbg_1, var(--tesla-background)), var(--tesla-card));
}
.community-profile .tesla-profile-header::before,
.community-profile .tesla-profile-header::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
  width: 8rem;
  height: 4.8rem;
  border: 1px solid color-mix(in srgb, var(--skin__neutral_1, #989baa) 18%, transparent);
  border-radius: 50%;
  box-shadow: 0 .18rem 0 color-mix(in srgb, var(--skin__neutral_1, #989baa) 4%, transparent);
  transform: rotate(35deg);
  right: -4.8rem;
  top: -3.25rem;
}
.community-profile .tesla-profile-header::after { right: 2.2rem; top: 1.6rem; }
.community-profile .tesla-profile-shortcuts {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: .16rem;
  min-height: .67rem;
}
.community-profile .tesla-profile-shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: .04rem;
  width: .72rem;
  padding: 0;
  background: transparent;
  color: var(--skin__lead, #fff);
  font-size: .19rem;
  line-height: 1.2;
}
.community-profile .tesla-profile-shortcut-icon {
  display: block;
  width: .35rem;
  height: .35rem;
  color: var(--tesla-accent);
}
.community-profile .tesla-profile-shortcut-icon svg,
.community-profile .tesla-profile-wallet-icon svg { width: 100%; height: 100%; display: block; }
.community-profile .tesla-profile-identity-row { min-height: 1.05rem; }
.community-profile .tesla-profile-identity { gap: .20rem; }
.community-profile .tesla-profile-avatar {
  flex: 0 0 .92rem !important;
  width: .92rem !important;
  height: .92rem !important;
  border-radius: .13rem !important;
}
.community-profile .tesla-profile-account-name { gap: .07rem; font-size: .24rem; }
.community-profile .tesla-profile-account-caption,
.community-profile .tesla-profile-id-caption { color: var(--skin__neutral_1, #989baa); }
.community-profile .tesla-profile-account-caption { display: inline; }
.community-profile .tesla-profile-id-balance { display: flex; align-items: center; gap: .11rem; margin-top: .12rem; }
.community-profile .tesla-profile-account-id { gap: .07rem; font-size: .25rem; margin-top: 0; }
.community-profile .tesla-profile-id-value { font-variant-numeric: tabular-nums; }
.community-profile .tesla-profile-copy-id { width: .25rem !important; height: .25rem !important; }
.community-profile .tesla-profile-balance { gap: .09rem; max-width: none; min-width: 0; }
.community-profile .tesla-profile-balance-divider { height: .28rem; margin: 0 .04rem; }
.community-profile .tesla-profile-flag { width: .35rem; height: .35rem; }
.community-profile .tesla-profile-native-balance,
.community-profile .tesla-profile-native-balance [class*="money"],
.community-profile .tesla-profile-native-balance [class*="amount"] { font-size: .27rem !important; }
.community-profile .tesla-profile-native-balance [class*="refresh"] { width: .29rem !important; height: .29rem !important; }
.community-profile .tesla-profile-guest-account { min-width: 0; display: flex; flex-direction: column; gap: .08rem; }
.community-profile .tesla-profile-guest-account .tesla-profile-balance-divider { display: none; }
.community-profile .tesla-profile-wallet-actions { padding: .24rem 0 0; }
.community-profile .tesla-profile-wallet-button { min-height: 1rem; gap: .15rem; font-size: .25rem !important; }
.community-profile .tesla-profile-wallet-icon { display: block; width: .49rem; height: .49rem; color: var(--tesla-accent); }
.community-profile .tesla-profile-content { gap: 0; padding: 0; }
.community-profile .tesla-profile-vip-card {
  width: calc(100% - .40rem);
  margin: 0 .20rem .04rem;
  padding: .23rem .21rem .28rem;
  border: 1px solid var(--skin__border, #393b47);
  border-radius: .12rem;
  background: var(--tesla-background);
}
.community-profile .tesla-profile-vip-summary {
  display: grid;
  grid-template-columns: .86rem minmax(0, 1fr) .2rem;
  gap: .20rem;
  font-size: .23rem;
  line-height: 1.38;
  margin: 0 0 .20rem;
  padding-bottom: .20rem;
  border-bottom: 1px solid var(--skin__border, #393b47);
}
.community-profile .tesla-profile-vip-summary-copy { color: var(--skin__neutral_1, #989baa); }
.community-profile .tesla-profile-vip-chip {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  height: .34rem;
  border-radius: .16rem 0 .16rem 0;
  background: var(--tesla-accent);
  color: var(--skin__text_primary, #16171c);
  font-size: .22rem;
}
.community-profile .tesla-profile-vip-details { gap: .20rem; }
.community-profile .tesla-profile-vip-emblem {
  flex: 0 0 1.02rem !important;
  width: 1.02rem !important;
  height: 1.02rem !important;
  min-width: 1.02rem;
}
.community-profile .tesla-profile-vip-bars { gap: .18rem; }
.community-profile .tesla-profile-vip-progress-row { gap: .16rem; font-size: .20rem; line-height: 1.15; }
.community-profile .tesla-profile-vip-progress-row > span { flex: 0 0 1.46rem; }
.community-profile .tesla-profile-progress { height: .22rem; }
.community-profile .tesla-profile-progress-label { line-height: .22rem; font-size: .19rem; }
.community-profile .tesla-profile-row-group { display: flex; flex-direction: column; }
.community-profile .tesla-profile-row-group-account { border-top: .20rem solid var(--tesla-background); }
.community-profile .tesla-profile-row {
  min-height: 1.03rem;
  padding: .14rem .43rem;
  border-radius: 0;
  background: transparent;
}
.community-profile .tesla-profile-row-left { gap: .23rem; }
.community-profile .tesla-profile-icon { width: .39rem; height: .39rem; }
.community-profile .tesla-profile-label { font-size: .26rem; }
.community-profile .tesla-profile-row-right { flex: 0 0 .25rem; }
.community-profile .tesla-profile-arrow { width: .18rem; height: .25rem; color: var(--skin__border, #393b47); }
.community-profile .tesla-profile-vip-summary .tesla-profile-arrow { color: var(--tesla-accent); }
.community-profile [data-tesla-action="registros"] .tesla-profile-icon { color: var(--skin__accent_3, #ffaa09); }
.community-profile [data-tesla-action="apostas"] .tesla-profile-icon { color: var(--skin__accent_1, #24bb34); }
.community-profile [data-tesla-action="retiradas"] .tesla-profile-icon { color: var(--skin__accent_2, #ff4d57); }
@media (max-width: 350px) {
  .community-profile .tesla-profile-identity { gap: .15rem; }
  .community-profile .tesla-profile-account-id { font-size: .23rem; gap: .05rem; }
  .community-profile .tesla-profile-id-balance { gap: .06rem; }
  .community-profile .tesla-profile-balance { gap: .06rem; }
  .community-profile .tesla-profile-native-balance,
  .community-profile .tesla-profile-native-balance [class*="money"],
  .community-profile .tesla-profile-native-balance [class*="amount"] { font-size: .25rem !important; }
  .community-profile .tesla-profile-vip-summary { gap: .14rem; }
}
