html body[data-view="profile"] .app-shell {
  min-height: 1457px;
  padding: 50px 16px 59px;
}

html body[data-view="profile"] #view-profile {
  width: 328px;
  padding: 16px 0 32px;
  gap: 32px;
  overflow: visible;
}

html body[data-view="profile"] #view-profile,
html body[data-view="profile"] .profile-card,
html body[data-view="profile"] .profile-game-card,
html body[data-view="profile"] .promo-card,
html body[data-view="profile"] .referral-card,
html body[data-view="profile"] .history-wrap {
  background: transparent;
  border: 0;
  box-shadow: none;
}

html body[data-view="profile"] .profile-edit-form,
html body[data-view="profile"] .profile-card > .stats,
html body[data-view="profile"] .profile-game-card .leaderboard-head,
html body[data-view="profile"] .profile-game-card .leaderboard-head h2,
html body[data-view="profile"] .profile-game-card .leaderboard-head span,
html body[data-view="profile"] .settings-card,
html body[data-view="profile"] .profile-cosmetics-button,
html body[data-view="profile"] .profile-cosmetics-panel,
html body[data-view="profile"] .promo-card > .muted,
html body[data-view="profile"] .promo-card #promo-status,
html body[data-view="profile"] .referral-card .muted {
  display: none !important;
}

html body[data-view="profile"] .profile-card {
  width: 328px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

html body[data-view="profile"] .profile-head {
  width: 328px;
  min-height: 60px;
  margin: 0;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  column-gap: 8px;
  align-items: start;
  position: relative;
}

html body[data-view="profile"] .profile-avatar-wrap,
html body[data-view="profile"] .avatar {
  width: 60px;
  height: 60px;
}

html body[data-view="profile"] .avatar {
  border-radius: 60px;
  border: 0;
  background: #4c4c4c;
  color: #f8f9fa;
  font: 600 22px/1 Montserrat, "Open Sans", sans-serif;
  overflow: hidden;
}

html body[data-view="profile"] .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

html body[data-view="profile"] .profile-avatar-add {
  right: 0;
  bottom: 0;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 0;
  background: linear-gradient(180deg, #ffbb00 0%, #c57e00 100%);
  color: #080a0b;
  font: 800 24px/22px "Open Sans", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

html body[data-view="profile"] .profile-head > div:nth-child(2) {
  height: 53px;
  min-width: 0;
  padding-top: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

html body[data-view="profile"] .profile-head .eyebrow {
  display: none;
}

html body[data-view="profile"] #profile-name {
  width: 150px;
  max-width: 150px;
  margin: 0;
  color: #f8f9fa;
  font-family: Montserrat, "Open Sans", sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 130%;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html body[data-view="profile"] #profile-name {
  font-size: 0;
}

html body[data-view="profile"] #profile-name > * {
  display: none !important;
}

html body[data-view="profile"] #profile-name::after {
  content: "Мой аккаунт";
  color: #f8f9fa;
  font-family: Montserrat, "Open Sans", sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 130%;
}

html body[data-view="profile"] .profile-head > div:nth-child(2)::after {
  content: "@telegram_nickname_2026";
  width: 260px;
  max-width: calc(100vw - 100px);
  color: #939ba2;
  font: 600 14px/145% "Open Sans", sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html body[data-view="profile"] .profile-language-button {
  position: absolute;
  right: 0;
  top: 17px;
  width: 68px;
  height: 24px;
  padding: 0;
  gap: 4px;
  border: 0;
  background: transparent;
  color: #f8f9fa;
  font: 600 14px/145% "Open Sans", sans-serif;
}

html body[data-view="profile"] .language-flag {
  width: 24px;
  height: 24px;
  box-shadow: none;
}

html body[data-view="profile"] .language-chevron {
  width: 16px;
  height: 16px;
  border-right: 1.5px solid #f8f9fa;
  border-bottom: 1.5px solid #f8f9fa;
  transform: rotate(45deg) translate(-2px, -3px);
}

html body[data-view="profile"] .profile-game-card {
  width: 328px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

html body[data-view="profile"] .profile-game-tabs {
  width: calc(100vw - 16px);
  max-width: 382px;
  margin: 0;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 2px;
  scrollbar-width: none;
}

html body[data-view="profile"] .profile-game-tabs::-webkit-scrollbar {
  display: none;
}

html body[data-view="profile"] .profile-game-tab {
  height: 32px;
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.02);
  color: #f8f9fa;
  font: 400 14px/145% "Open Sans", sans-serif;
  white-space: nowrap;
}

html body[data-view="profile"] .profile-game-tab.active {
  min-width: 80px;
  background: linear-gradient(180deg, #ffbb00 0%, #c57e00 100%);
  color: #080a0b;
  font-weight: 600;
}

html body[data-view="profile"] .profile-game-card .profile-game-stats {
  width: 328px;
  display: grid !important;
  grid-template-columns: repeat(2, 160px) !important;
  gap: 8px !important;
}

html body[data-view="profile"] .profile-game-card .profile-game-stats > div {
  width: 160px;
  height: 73px;
  padding: 8px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

html body[data-view="profile"] .profile-game-stats span {
  width: 144px;
  color: #939ba2;
  text-align: center;
  font: 600 14px/145% "Open Sans", sans-serif;
}

html body[data-view="profile"] .profile-game-stats strong {
  min-height: 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #f5b041;
  text-align: center;
  font-family: Montserrat, "Open Sans", sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 130%;
}

html body[data-view="profile"] .profile-game-stats [data-stat-label="Выиграно"] strong::after,
html body[data-view="profile"] .profile-game-stats [data-stat-label="Проиграно"] strong::after,
html body[data-view="profile"] .history-wrap .history strong::after {
  content: "";
  width: 18px;
  height: 18px;
  display: inline-block;
  margin-left: 4px;
  background: url("/assets/figma/coin-gold.webp") center / contain no-repeat;
  vertical-align: -3px;
}

html body[data-view="profile"] .profile-section-title,
html body[data-view="profile"] .history-wrap h2 {
  width: 328px;
  margin: 0;
  color: #f8f9fa;
  text-align: center;
  font-family: Montserrat, "Open Sans", sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 130%;
}

html body[data-view="profile"] .promo-card,
html body[data-view="profile"] .referral-card {
  width: 328px;
  padding: 12px;
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

html body[data-view="profile"] .promo-card {
  min-height: 217px;
  margin-top: -16px;
}

html body[data-view="profile"] .referral-card {
  min-height: 191px;
  margin-top: -16px;
}

html body[data-view="profile"] .promo-card .leaderboard-head,
html body[data-view="profile"] .referral-card > div:first-child {
  width: 304px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

html body[data-view="profile"] .promo-card .leaderboard-head h2,
html body[data-view="profile"] .referral-card h2 {
  width: 304px;
  margin: 0;
  color: #f8f9fa;
  text-align: left;
  font-family: Montserrat, "Open Sans", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 130%;
}

html body[data-view="profile"] .promo-card .leaderboard-head span {
  color: #ced4da;
  font: 400 14px/145% "Open Sans", sans-serif;
}

html body[data-view="profile"] .promo-form {
  display: flex !important;
  flex-direction: column;
  gap: 16px;
}

html body[data-view="profile"] .promo-form input {
  width: 304px;
  height: 44px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #080a0b;
  color: #f8f9fa;
  font: 400 14px/145% "Open Sans", sans-serif;
}

html body[data-view="profile"] .promo-form input::placeholder {
  color: #939ba2;
}

html body[data-view="profile"] .promo-form .gold-button,
html body[data-view="profile"] .referral-card .gold-button,
html body[data-view="profile"] .history-more-button {
  width: 304px;
  height: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(180deg, #ffbb00 0%, #c57e00 100%);
  color: #080a0b;
  font: 600 14px/145% "Open Sans", sans-serif;
  box-shadow: none;
}

html body[data-view="profile"] .referral-meta {
  width: 304px;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
}

html body[data-view="profile"] .referral-meta span {
  color: #939ba2;
  font: 600 14px/145% "Open Sans", sans-serif;
}

html body[data-view="profile"] .referral-meta strong {
  color: #f5b041;
  font-family: Montserrat, "Open Sans", sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 130%;
}

html body[data-view="profile"] .history-wrap {
  width: 328px;
  min-height: 438px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

html body[data-view="profile"] .history-wrap .history {
  width: 328px;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

html body[data-view="profile"] .history-wrap .history li {
  width: 328px;
  min-height: 57px;
  padding: 8px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  border-radius: 0;
}

html body[data-view="profile"] .history-wrap .history span {
  color: #f8f9fa;
  font: 600 14px/145% "Open Sans", sans-serif;
}

html body[data-view="profile"] .history-wrap .history small {
  display: inline-block;
  margin-top: 4px;
  color: #ced4da;
  font: 400 12px/145% "Open Sans", sans-serif;
}

html body[data-view="profile"] .history-wrap .history strong {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  color: #f5b041;
  font: 600 14px/145% "Open Sans", sans-serif;
}

html body[data-view="profile"] .history-wrap .history strong.delta-win {
  color: #00c853;
}

html body[data-view="profile"] .history-wrap .history strong.delta-loss {
  color: #ff453a;
}

html body[data-view="profile"] .history-wrap .history strong.delta-draw {
  color: #f8f9fa;
}

html body[data-view="profile"] .history-more-button {
  width: 328px;
  margin: 0;
  border-color: #ffbb00;
  background: transparent;
  color: #ffbb00;
}

@media (max-width: 359px) {
  html body[data-view="profile"] #view-profile,
  html body[data-view="profile"] .profile-card,
  html body[data-view="profile"] .profile-head,
  html body[data-view="profile"] .profile-game-card,
  html body[data-view="profile"] .profile-game-stats,
  html body[data-view="profile"] .profile-section-title,
  html body[data-view="profile"] .promo-card,
  html body[data-view="profile"] .referral-card,
  html body[data-view="profile"] .history-wrap,
  html body[data-view="profile"] .history-wrap .history,
  html body[data-view="profile"] .history-wrap .history li,
  html body[data-view="profile"] .history-more-button {
    width: calc(100vw - 32px);
  }

  html body[data-view="profile"] .profile-game-stats {
    grid-template-columns: 1fr 1fr;
  }

  html body[data-view="profile"] .profile-game-stats > div {
    width: auto;
  }
}

/* Strict profile Figma scale override. Keep this block last: the legacy
   figma-design.css contains broad profile rules with !important. */
html body[data-view="profile"] #view-profile {
  width: 328px !important;
  padding: 16px 0 32px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 16px !important;
}

html body[data-view="profile"] #view-profile > * {
  position: relative !important;
  inset: auto !important;
  flex: 0 0 auto !important;
}

html body[data-view="profile"] .profile-card {
  width: 328px !important;
  height: 60px !important;
  min-height: 60px !important;
  padding: 0 !important;
  margin: 0 !important;
}

html body[data-view="profile"] .profile-head {
  width: 328px !important;
  height: 60px !important;
  min-height: 60px !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: 60px 260px !important;
  gap: 8px !important;
}

html body[data-view="profile"] .profile-avatar-wrap,
html body[data-view="profile"] .avatar {
  width: 60px !important;
  height: 60px !important;
  min-width: 60px !important;
  min-height: 60px !important;
  border-radius: 60px !important;
}

html body[data-view="profile"] .profile-avatar-add {
  width: 24px !important;
  height: 24px !important;
  right: 0 !important;
  bottom: 0 !important;
  border-radius: 4px !important;
  font: 800 24px/22px "Open Sans", sans-serif !important;
}

html body[data-view="profile"] .profile-head > div:nth-child(2) {
  width: 260px !important;
  height: 53px !important;
  padding: 0 !important;
  gap: 4px !important;
  justify-content: center !important;
}

html body[data-view="profile"] #profile-name {
  width: 150px !important;
  height: 29px !important;
  max-width: 150px !important;
  margin: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

html body[data-view="profile"] #profile-name::after {
  font-family: Montserrat, "Open Sans", sans-serif !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  line-height: 130% !important;
  letter-spacing: 0 !important;
}

html body[data-view="profile"] .profile-head > div:nth-child(2)::after {
  width: 260px !important;
  height: 20px !important;
  font: 600 14px/145% "Open Sans", sans-serif !important;
}

html body[data-view="profile"] .profile-language-button {
  width: 68px !important;
  height: 24px !important;
  top: 18px !important;
  right: 0 !important;
  padding: 0 !important;
  gap: 4px !important;
  font: 600 14px/145% "Open Sans", sans-serif !important;
}

html body[data-view="profile"] .language-flag {
  width: 24px !important;
  height: 24px !important;
}

html body[data-view="profile"] .language-chevron {
  width: 16px !important;
  height: 16px !important;
}

html body[data-view="profile"] .profile-game-card {
  width: 328px !important;
  height: 364px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

html body[data-view="profile"] .profile-game-tabs {
  width: 382px !important;
  height: 32px !important;
  margin: 0 !important;
  gap: 8px !important;
  display: flex !important;
}

html body[data-view="profile"] .profile-game-tab {
  height: 32px !important;
  min-height: 32px !important;
  padding: 4px 8px !important;
  border-radius: 4px !important;
  font: 400 14px/145% "Open Sans", sans-serif !important;
}

html body[data-view="profile"] .profile-game-tab.active {
  min-width: 80px !important;
  font-weight: 600 !important;
}

html body[data-view="profile"] .profile-game-card .profile-game-stats {
  width: 328px !important;
  height: 316px !important;
  display: grid !important;
  grid-template-columns: 160px 160px !important;
  grid-auto-rows: 73px !important;
  gap: 8px !important;
}

html body[data-view="profile"] .profile-game-card .profile-game-stats > div {
  width: 160px !important;
  height: 73px !important;
  min-height: 73px !important;
  padding: 8px !important;
  gap: 8px !important;
  border-radius: 10px !important;
}

html body[data-view="profile"] .profile-game-stats span {
  width: 144px !important;
  height: 20px !important;
  margin: 0 !important;
  color: #939ba2 !important;
  font: 600 14px/145% "Open Sans", sans-serif !important;
  text-align: center !important;
}

html body[data-view="profile"] .profile-game-stats strong {
  height: 29px !important;
  min-height: 29px !important;
  margin: 0 !important;
  color: #f5b041 !important;
  font-family: Montserrat, "Open Sans", sans-serif !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  line-height: 130% !important;
}

html body[data-view="profile"] .profile-section-title,
html body[data-view="profile"] .history-wrap h2 {
  width: 328px !important;
  height: 29px !important;
  margin: 0 !important;
  color: #f8f9fa !important;
  font-family: Montserrat, "Open Sans", sans-serif !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  line-height: 130% !important;
  text-align: center !important;
}

html body[data-view="profile"] .profile-section-title {
  margin-top: 16px !important;
}

html body[data-view="profile"] .promo-card {
  width: 328px !important;
  min-height: 217px !important;
  height: 217px !important;
  margin: 0 !important;
  padding: 12px !important;
  gap: 16px !important;
  border-radius: 10px !important;
}

html body[data-view="profile"] .promo-card .leaderboard-head {
  width: 304px !important;
  height: 57px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  align-items: flex-start !important;
  margin: 0 !important;
}

html body[data-view="profile"] .promo-card .leaderboard-head h2 {
  width: 304px !important;
  height: auto !important;
  margin: 0 !important;
  color: #f8f9fa !important;
  font-family: Montserrat, "Open Sans", sans-serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 130% !important;
  text-align: left !important;
}

html body[data-view="profile"] .promo-card .leaderboard-head span {
  display: block !important;
  width: 304px !important;
  height: 20px !important;
  color: #ced4da !important;
  font: 400 14px/145% "Open Sans", sans-serif !important;
  text-align: left !important;
}

html body[data-view="profile"] .promo-form {
  width: 304px !important;
  height: 120px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

html body[data-view="profile"] .promo-form input {
  width: 304px !important;
  height: 44px !important;
  padding: 8px !important;
  border-radius: 8px !important;
  font: 400 14px/145% "Open Sans", sans-serif !important;
  text-align: left !important;
}

html body[data-view="profile"] .promo-form .gold-button {
  width: 304px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  font: 600 14px/145% "Open Sans", sans-serif !important;
}

/* Profile identity and game filters — exact Figma section sizing. */
html body[data-view="profile"] {
  overflow-x: hidden !important;
}

html body[data-view="profile"] .avatar {
  font-size: 0 !important;
  color: transparent !important;
}

html body[data-view="profile"] .profile-avatar-add {
  color: #f8f9fa !important;
  font-family: "Open Sans", sans-serif !important;
  font-size: 28px !important;
  font-weight: 400 !important;
  line-height: 24px !important;
}

html body[data-view="profile"] .profile-language-button {
  top: 3px !important;
  right: 0 !important;
  width: 68px !important;
  height: 24px !important;
  display: grid !important;
  grid-template-columns: 24px 20px 16px !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body[data-view="profile"] .profile-language-button strong {
  width: 20px !important;
  color: #f8f9fa !important;
  font: 600 14px/145% "Open Sans", sans-serif !important;
}

html body[data-view="profile"] .language-flag {
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

html body[data-view="profile"] .language-flag-en {
  background-image: url("/assets/icons/flag-united-kingdom.svg") !important;
  background-color: transparent !important;
}

html body[data-view="profile"] .language-chevron {
  width: 16px !important;
  height: 16px !important;
  border: 0 !important;
  background: url("/assets/icons/arrow-down.svg") center / 16px 16px no-repeat !important;
  transform: none !important;
}

html body[data-view="profile"] .profile-game-tabs {
  width: calc(100vw - 16px) !important;
  max-width: 344px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 16px 0 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

html body[data-view="profile"] .profile-game-tabs::-webkit-scrollbar {
  display: none;
}

html body[data-view="profile"] .profile-game-tab {
  width: auto !important;
  min-width: 0 !important;
  height: 32px !important;
  min-height: 32px !important;
  flex: 0 0 auto !important;
  padding: 4px 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 4px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #f8f9fa !important;
  font: 400 14px/145% "Open Sans", sans-serif !important;
  white-space: nowrap !important;
}

html body[data-view="profile"] .profile-game-tab.active {
  min-width: 80px !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  background: linear-gradient(180deg, #ffbb00 0%, #c57e00 100%) !important;
  color: #080a0b !important;
  font-weight: 600 !important;
}

/* Final profile composition from the supplied Figma frame. */
html body[data-view="profile"] .hero-head,
html body[data-view="profile"] .plus-pill,
html body[data-view="profile"] .level-pill,
html body[data-view="profile"] .compact-wallet.session-wallet {
  position: absolute !important;
}

html body[data-view="profile"] .profile-game-card .profile-game-stats > div {
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

html body[data-view="profile"] .promo-card,
html body[data-view="profile"] .referral-card {
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  background: linear-gradient(180deg, rgba(8, 10, 11, 0.8) 0%, rgba(44, 48, 51, 0.8) 100%) !important;
}

html body[data-view="profile"] .promo-card {
  height: 218px !important;
  min-height: 218px !important;
}

html body[data-view="profile"] .promo-card .leaderboard-head {
  height: 74px !important;
  min-height: 74px !important;
  gap: 6px !important;
}

html body[data-view="profile"] .promo-card .leaderboard-head h2 {
  height: 48px !important;
  min-height: 48px !important;
}

html body[data-view="profile"] .promo-card .leaderboard-head span {
  height: 20px !important;
  min-height: 20px !important;
}

html body[data-view="profile"] .referral-card {
  height: 191px !important;
  min-height: 191px !important;
  gap: 0 !important;
}

html body[data-view="profile"] .promo-form {
  width: 304px !important;
  height: 104px !important;
  min-height: 104px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body[data-view="profile"] .referral-card > div:first-child {
  width: 304px !important;
  height: 72px !important;
  min-height: 72px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body[data-view="profile"] .referral-card > div:first-child h2 {
  height: 72px !important;
  min-height: 72px !important;
}

html body[data-view="profile"] .referral-meta {
  width: 304px !important;
  height: 29px !important;
  min-height: 29px !important;
  margin: 6px 0 16px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body[data-view="profile"] .promo-form input {
  padding: 0 12px !important;
  border-color: #2c3033 !important;
  border-radius: 10px !important;
  background: #080a0b !important;
}

html body[data-view="profile"] .promo-form .gold-button,
html body[data-view="profile"] .referral-card .gold-button,
html body[data-view="profile"] .history-more-button {
  /*padding: 0 24px !important;*/
  border-radius: 10px !important;
}

html body[data-view="profile"] .referral-card .gold-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

html body[data-view="profile"] .referral-card .gold-button::before {
  width: 23px;
  height: 24px;
  flex: 0 0 23px;
  background: url("/assets/icons/document-copy.svg") center / 23px 24px no-repeat;
  content: "";
}

html body[data-view="profile"] .history-wrap .history li:nth-child(n + 6) {
  display: none !important;
}
