/* r204: visual-only refinement of the existing Account screen. */
.account-screen .account-status-card {
  display: block;
  min-height: 86px;
  margin-top: -2px;
  padding: 10px 14px;
}

.account-screen .account-status-avatar {
  position: absolute;
  top: 9px;
  left: 14px;
  width: 48px;
  height: 48px;
  border-radius: 16px;
}

.account-screen .account-status-avatar .icon {
  width: 26px;
  height: 26px;
}

.account-screen .account-status-copy {
  width: calc(100% - 66px);
  margin: 0 0 0 66px;
  padding-top: 0;
  text-align: left;
}

.account-screen .account-status-copy > span {
  display: block;
}

.account-screen .account-status-copy h2 {
  margin: 2px 0 3px;
  font-size: clamp(14px, 4vw, 16px);
  line-height: 1.18;
  letter-spacing: -.015em;
  overflow-wrap: anywhere;
}

.account-screen .account-status-copy p {
  white-space: nowrap;
}

.account-screen .account-status-badge {
  position: absolute;
  top: 67px;
  left: 38px;
  padding: 0;
  color: #ffb15c;
  font-size: 7.4px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .025em;
  white-space: nowrap;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .72);
  transform: translateX(-50%);
}

:is(
  .account-menu-avatar,
  .account-status-avatar,
  .account-link-icon
) {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #ffad55;
  border-color: rgba(255, 145, 35, .82);
  background: radial-gradient(circle at 38% 28%, rgba(255, 165, 72, .3), transparent 38%), linear-gradient(145deg, rgba(75, 37, 13, .95), rgba(8, 20, 25, .99) 74%);
  box-shadow: inset 0 1px 2px rgba(255, 231, 203, .22), inset 0 -9px 15px rgba(0, 0, 0, .3), 0 0 0 1px rgba(255, 122, 0, .13), 0 0 15px rgba(255, 122, 0, .26);
}

:is(
  .account-menu-avatar,
  .account-status-avatar,
  .account-link-icon
)::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 3px;
  border: 1px solid rgba(255, 184, 104, .2);
  border-radius: inherit;
  background: linear-gradient(155deg, rgba(255, 218, 179, .1), transparent 44%);
  pointer-events: none;
}

:is(
  .account-menu-avatar,
  .account-status-avatar,
  .account-link-icon
) .icon {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 5px rgba(255, 133, 20, .56));
}

.account-screen .account-benefits-card h2 {
  width: 257px;
  max-width: 100%;
  margin-inline: auto;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 11px;
  line-height: 1.13;
  text-align: left;
}

.account-screen .account-benefits-card h2::before {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  transform: translateX(-3px);
}

.account-screen .account-benefits-card ul {
  margin-top: 18px;
}

.account-screen .account-benefits-card li > span {
  width: 28px;
  height: 28px;
  margin: 2px 0 0 2px;
  border-radius: 50%;
  transform: none;
}

.account-screen .account-benefits-card li > span::after {
  transform: none;
}

html[data-theme="light"] :is(
  .account-menu-avatar,
  .account-status-avatar,
  .account-link-icon
) {
  color: #d75c08;
  border-color: rgba(205, 82, 0, .68);
  background: radial-gradient(circle at 36% 28%, rgba(245, 154, 72, .32), transparent 40%), linear-gradient(145deg, #fffaf4, #ead9ca 76%);
  box-shadow: inset 0 1px 2px #fff, inset 0 -7px 13px rgba(121, 65, 24, .12), 0 0 12px rgba(201, 79, 0, .16);
}

@media (max-width: 380px) {
  .account-screen .account-status-card {
    display: block;
    grid-template-columns: none;
  }

  .account-screen .account-status-avatar {
    width: 48px;
    height: 48px;
  }

  .account-screen .account-status-badge {
    grid-column: auto;
  }
}
