@charset "UTF-8";

:root {
  --prestige-gold: #f0b429;
}

.prestige-my-content {
  padding: 0 16px 16px;
}

.account-hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 -16px;
  padding: 14px 16px 60px;
  color: #fff;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, 0.16), transparent 55%),
    linear-gradient(180deg, var(--sl-brand) 0%, #ff7468 100%);
}

.account-avatar {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: 0 6px 16px rgba(150, 15, 15, 0.22);
}

.account-avatar svg {
  width: 30px;
  height: 30px;
}

.account-identity {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
  min-width: 0;
}

.account-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
}

.account-name {
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 2px rgba(150, 15, 15, 0.18);
}

.account-level {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe7a8 0%, var(--prestige-gold) 100%);
  color: #5c3a05;
  font-size: 11px;
  font-weight: 800;
  line-height: 20px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(120, 60, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.5);
}

.account-invite {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  max-width: 100%;
  min-height: 28px;
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  font-family: inherit;
  font-size: 12px;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease;
}

.account-invite > span {
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.account-invite strong {
  flex-shrink: 0;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.account-invite svg {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  opacity: 0.9;
}

.account-invite:active {
  background: rgba(255, 255, 255, 0.25);
}

.account-credit {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  line-height: 1.4;
}

.account-credit-label {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.account-credit-bar {
  display: block;
  flex: 1 1 60px;
  min-width: 40px;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(140, 10, 10, 0.22);
  box-shadow: inset 0 1px 1px rgba(120, 0, 0, 0.15);
}

.account-credit-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.7), #fff);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
}

.account-credit strong {
  flex-shrink: 0;
  min-width: 40px;
  color: #fff;
  font-weight: 800;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.account-balance {
  position: relative;
  z-index: 1;
  margin-top: -44px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--sl-radius-card);
  background: var(--sl-surface);
  box-shadow: 0 14px 32px rgba(150, 15, 15, 0.16);
}

.account-balance-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-balance-label {
  min-width: 0;
  color: var(--sl-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.account-balance-mark {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--sl-brand-soft);
  color: var(--sl-brand-deep);
}

.account-balance-mark svg {
  width: 20px;
  height: 20px;
}

.account-balance-value {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
  color: var(--sl-ink);
}

.account-balance-value strong {
  max-width: 100%;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.account-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.account-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid #f5cdc6;
  border-radius: var(--sl-radius-ctl);
  background: var(--sl-brand-soft);
  color: var(--sl-brand-deep);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, filter 0.18s ease;
}

.account-action.is-primary {
  border-color: transparent;
  background: var(--sl-cta-gradient);
  color: #fff;
  box-shadow: var(--sl-cta-shadow), inset 0 1px rgba(255, 255, 255, 0.25);
}

.account-action svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.account-action > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.account-action:active {
  transform: scale(0.98);
}

.account-menu {
  overflow: hidden;
  margin-top: 20px;
  border: 1px solid var(--sl-line);
  border-radius: var(--sl-radius-card);
  background: var(--sl-surface);
  box-shadow: var(--sl-shadow);
}

.account-menu + .account-menu {
  margin-top: 14px;
}

.account-menu-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  color: var(--sl-ink);
  font-family: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease;
}

.account-menu-row + .account-menu-row {
  border-top: 1px solid var(--sl-line);
}

.account-menu-icon {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--sl-brand-soft);
  color: var(--sl-brand-deep);
}

.account-menu-icon svg {
  width: 16px;
  height: 16px;
}

.account-menu-label {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.account-menu-arrow {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: #b9a9a6;
}

.account-menu-row:active {
  background: var(--sl-brand-soft);
}

.account-logout .account-menu-icon {
  background: #f3f0ef;
  color: var(--sl-muted);
}

@media (hover: hover) {
  .account-menu-row:hover {
    background: var(--sl-page);
  }

  .account-invite:hover {
    background: rgba(255, 255, 255, 0.22);
  }

  .account-action:hover {
    background: #ffe3de;
  }

  .account-action.is-primary:hover {
    background: var(--sl-cta-gradient);
    filter: brightness(1.04);
  }

  .prestige-contact:hover {
    background: rgba(255, 255, 255, 0.28);
  }
}

@media (max-width: 359px) {
  .prestige-my-content {
    padding-inline: 12px;
  }

  .account-hero {
    margin-inline: -12px;
    padding-inline: 12px;
  }
}
