.profile-email-change-modal.auth-modal {
  z-index: 1250;
}

.profile-email-change-modal__x {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 400;
}

.profile-email-change__otp-block + .profile-email-change__otp-block {
  margin-top: 0.75rem;
}

.profile-nick-change-modal.auth-modal,
.profile-reset-hwid-modal.auth-modal,
.profile-referral-modal.auth-modal {
  z-index: 1250;
}

.profile-nick-change-modal .auth-modal__dialog,
.profile-reset-hwid-modal .auth-modal__dialog {
  width: min(100%, 360px);
}

.profile-referral-modal .auth-modal__dialog {
  width: min(100%, 420px);
}

.profile-nick-change-modal__form,
.profile-reset-hwid-modal__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.profile-reset-hwid-modal__lead {
  margin: 0 52px 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
}

.profile-referral-modal__terms {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 40px 0 0;
}

.profile-referral-modal__terms p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.62);
}

.profile-referral-modal__copies {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.profile-referral-modal__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  width: 100%;
  min-height: 64px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.96);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.profile-referral-modal__copy:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.profile-referral-modal__copy-label {
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(186, 234, 255, 0.72);
}

.profile-referral-modal__copy-value {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
  word-break: break-all;
}

.profile-referral-modal__copy.is-copied {
  border-color: rgba(80, 200, 255, 0.42);
  background: rgba(80, 200, 255, 0.1);
  box-shadow: 0 0 0 2px rgba(80, 200, 255, 0.12);
}

.profile-referral-modal__copy:focus-visible {
  outline: 2px solid rgba(80, 200, 255, 0.82);
  outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .profile-referral-modal__copy:hover:not(:disabled) {
    border-color: rgba(80, 200, 255, 0.38);
    background: rgba(80, 200, 255, 0.08);
    transform: translateY(-1px);
  }
}

.profile-referral-modal__copy:active:not(:disabled) {
  transform: scale(0.99);
}

.profile-nick-change-modal__cost,
.profile-reset-hwid-modal__cost {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.52);
}

.profile-nick-change-modal__input {
  width: 100%;
  box-sizing: border-box;
}

.profile-setup-credentials-modal.auth-modal {
  z-index: 1250;
}

.profile-setup-credentials-modal .auth-modal__dialog {
  width: min(100%, 400px);
}

.profile-loader-download-modal.auth-modal {
  z-index: 1250;
}

.profile-loader-download-modal .auth-modal__dialog {
  width: min(100%, 380px);
  overflow: hidden;
}

.profile-loader-download-modal__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 0.35rem 0 0.15rem;
  text-align: center;
}

.profile-loader-download-modal__title.auth-modal__title {
  width: 100%;
  margin: 0;
  text-align: center;
}

.profile-loader-download-modal__visual {
  position: relative;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
}

.profile-loader-download-modal__spinner {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid rgba(80, 200, 255, 0.14);
  border-top-color: var(--hypr-cyan);
  box-shadow: 0 0 28px rgba(80, 200, 255, 0.22);
  animation: profile-loader-download-spin 0.85s linear infinite;
}

.profile-loader-download-modal__spinner[hidden] {
  display: none;
}

.profile-loader-download-modal__check {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #061016;
  background: linear-gradient(180deg, #6ad4ff 0%, var(--hypr-cyan) 100%);
  box-shadow: 0 8px 28px rgba(80, 200, 255, 0.35);
  animation: profile-loader-download-pop 0.35s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.profile-loader-download-modal__check[hidden] {
  display: none;
}

.profile-loader-download-modal__check svg {
  width: 28px;
  height: 28px;
  display: block;
}

.profile-loader-download-modal__lead {
  margin: 0;
  width: 100%;
  max-width: none;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
}

.profile-loader-download-modal__lead[hidden] {
  display: none;
}

@keyframes profile-loader-download-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes profile-loader-download-pop {
  from {
    opacity: 0;
    transform: scale(0.72);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-loader-download-modal__spinner {
    animation: none;
    border-top-color: rgba(80, 200, 255, 0.45);
  }

  .profile-loader-download-modal__check {
    animation: none;
  }
}

.profile-page {
  --profile-stroke: rgba(255, 255, 255, 0.09);
  --profile-surface: rgba(16, 18, 22, 0.65);
  --profile-elevated: rgba(20, 24, 30, 0.92);
  --profile-glow: rgba(80, 200, 255, 0.14);
}

.profile-page.section {
  padding-top: 0.4rem;
  padding-bottom: 0.35rem;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
  min-height: calc(
    100dvh - 96px - 80px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)
  );
  display: flex;
  flex-direction: column;
}

@media (max-width: 720px) {
  .profile-page.section {
    min-height: calc(
      100dvh - var(--nav-stack-offset) - 80px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)
    );
  }
}

.profile-page__inner {
  width: 100%;
  max-width: min(72rem, calc(100vw - 1rem));
  margin-left: auto;
  margin-right: auto;
  padding-left: max(0.5rem, env(safe-area-inset-left, 0px));
  padding-right: max(0.5rem, env(safe-area-inset-right, 0px));
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  justify-content: center;
}

.profile-page__inner .profile-min {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.profile-page__inner .profile-min__shell {
  flex: 1;
  min-height: 0;
}

.profile-min__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.profile-min__shell {
  display: flex;
  flex-direction: column;
  gap: clamp(0.55rem, 2vh, 1.1rem);
}

.profile-min__hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.profile-min__hero-left {
  flex: 0 0 auto;
}

.profile-min__hero-center {
  flex: 1 1 14rem;
  min-width: 0;
  text-align: center;
}

.profile-min__hero-right {
  flex: 0 0 auto;
  margin-left: auto;
}

.profile-min__nick {
  font-size: clamp(1.12rem, 2.6vw, 1.5rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.15;
  word-break: break-word;
}

.profile-min__hero-meta {
  margin-top: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  align-items: center;
}

.profile-min__hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem 0.55rem;
}

.profile-min__mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
}

@media (max-width: 640px) {
  .profile-min__hero {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-min__hero-center {
    order: -1;
  }

  .profile-min__hero-right {
    margin-left: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .profile-min__hero-left {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

.profile-min__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.8vw, 16px);
  align-items: stretch;
}

@media (max-width: 960px) {
  .profile-min__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .profile-min__cards {
    grid-template-columns: 1fr;
  }
}

.profile-min__card {
  position: relative;
  isolation: isolate;
  padding: 0.72rem 0.82rem 0.78rem;
  border-radius: 18px;
  border: 1px solid rgba(80, 200, 255, 0.18);
  background: linear-gradient(
    148deg,
    rgba(80, 200, 255, 0.11) 0%,
    rgba(255, 255, 255, 0.04) 38%,
    rgba(8, 10, 14, 0.72) 72%
  );
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(80, 200, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  min-width: 0;
  overflow: hidden;
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.profile-min__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 17px;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(85% 65% at 12% 0%, rgba(80, 200, 255, 0.18), transparent 58%);
  opacity: 0.85;
}

.profile-min__card > * {
  position: relative;
  z-index: 1;
}

@media (hover: hover) and (pointer: fine) {
  .profile-min__card:hover {
    border-color: rgba(80, 200, 255, 0.38);
    box-shadow:
      0 22px 52px rgba(0, 0, 0, 0.45),
      0 0 40px rgba(80, 200, 255, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-min__card {
    transition: none;
  }

  .profile-min__card:hover {
    transform: none;
  }
}

.profile-page a.profile-min__card-footer-cta,
.profile-page button.profile-min__card-footer-cta {
  text-decoration: none;
}

.profile-page button.profile-min__card-footer-cta {
  font-family: inherit;
  cursor: pointer;
}

.profile-min__card-title {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(186, 234, 255, 0.78);
  text-shadow: 0 0 24px rgba(80, 200, 255, 0.25);
}

.profile-min__card-lead {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.38;
  color: rgba(255, 255, 255, 0.52);
}

.profile-min__card .buy-card__input.profile-min__card-input {
  width: 100%;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 9px;
}

.profile-min__card .profile-min__btn {
  border-radius: 9999px;
}

.profile-min__card .profile-min__card-btn {
  min-height: 34px;
  padding: 0.28rem 0.75rem;
  font-size: 0.76rem;
  margin-top: auto;
}

.profile-min__card-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 12px);
  min-width: 0;
  align-items: stretch;
}

.profile-min__card-duo > .profile-min__card {
  min-height: 100%;
}

.profile-min__card--compact {
  padding: 0.6rem 0.56rem 0.64rem;
  gap: 0.28rem;
}

.profile-min__card--compact .profile-min__card-title {
  font-size: 0.56rem;
  letter-spacing: 0.08em;
}

.profile-min__card--compact .profile-min__card-lead {
  font-size: 0.66rem;
  line-height: 1.32;
}

.profile-min__card--compact .profile-min__card-btn {
  min-height: 40px;
  padding: 0.22rem 0.45rem;
  font-size: 0.68rem;
}

.profile-min__input-stack--tight {
  gap: 0.3rem;
}

.profile-min__pwd-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
}

@media (max-width: 480px) {
  .profile-min__pwd-duo {
    grid-template-columns: 1fr;
  }
}

.profile-min__2fa-wrap {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 0.45rem 0.55rem;
  align-items: start;
}

.profile-min__2fa-qr-host {
  position: relative;
  width: 108px;
  height: 108px;
  flex-shrink: 0;
  border-radius: 12px;
}

.profile-min__2fa-qr-host .preview-frame__zoom-btn {
  top: 6px;
  right: 6px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.profile-min__2fa-qr-host .preview-frame__zoom-btn svg {
  width: 18px;
  height: 18px;
}

.profile-min__2fa-qr-host:not(.profile-min__2fa-qr-host--ready) {
  pointer-events: none;
}

.profile-min__2fa-qr-host:not(.profile-min__2fa-qr-host--ready) .preview-frame__zoom-btn {
  opacity: 0;
  visibility: hidden;
}

.profile-min__2fa-qr-host--ready {
  cursor: pointer;
}

@media (max-width: 400px) {
  .profile-min__2fa-wrap {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .profile-min__2fa-qr {
    max-width: 120px;
    margin: 0 auto;
  }
}

.profile-min__2fa-qr {
  width: 108px;
  height: 108px;
  flex-shrink: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.14s ease;
}

.profile-min__2fa-qr--ready {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .profile-min__2fa-qr {
    transition: none;
  }
}

.profile-min__2fa-qr svg {
  display: block;
  width: 108px;
  height: 108px;
  max-width: 100%;
}

.profile-2fa-qr-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: grid;
  place-items: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px))
    max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}

.profile-2fa-qr-lightbox[hidden] {
  display: none;
}

.profile-2fa-qr-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.profile-2fa-qr-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  padding: clamp(20px, 4vw, 28px);
  border-radius: 22px;
  background: rgba(12, 12, 14, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--pill-border);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  text-align: center;
}

.profile-2fa-qr-lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.profile-2fa-qr-lightbox__close svg {
  width: 18px;
  height: 18px;
  display: block;
}

.profile-2fa-qr-lightbox__title {
  margin: 0 0 1rem;
  padding: 0 48px;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  font-weight: 600;
  line-height: 1.35;
}

.profile-2fa-qr-lightbox__qr {
  display: grid;
  place-items: center;
  width: min(100%, 248px);
  aspect-ratio: 1;
  margin: 0 auto 1rem;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-2fa-qr-lightbox__qr svg {
  display: block;
  width: 224px;
  height: 224px;
  max-width: 100%;
}

.profile-2fa-qr-lightbox__secret-block {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.profile-2fa-qr-lightbox__secret-label {
  display: block;
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.profile-2fa-qr-lightbox__secret {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
    monospace;
  font-size: clamp(0.78rem, 2vw, 0.9rem);
  line-height: 1.35;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow-x: auto;
  word-break: normal;
  color: #e8f4ff;
  user-select: all;
  text-align: center;
  -webkit-overflow-scrolling: touch;
}

.profile-min__2fa-col {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.profile-min__2fa-deactivate {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.38rem;
  min-width: 0;
}

.profile-min__card--2fa .profile-min__2fa-activate[hidden],
.profile-min__card--2fa .profile-min__2fa-deactivate[hidden] {
  display: none !important;
}

.profile-min__2fa-deactivate .profile-min__card-btn {
  margin-top: 0;
}

.profile-min__card-footer-cta.nav-btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.profile-min__input-stack {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.profile-min__social-cards,
.profile-min__extra-cards {
  margin-top: clamp(8px, 1.4vw, 12px);
}

.profile-min__extra-cards .profile-min__card-btn {
  min-height: 40px;
}

.profile-min__social-card {
  gap: 0.5rem;
}

.profile-min__social-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.42rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.profile-min__social-list--single {
  grid-template-columns: 1fr;
}

.profile-min__social-item {
  min-width: 0;
}

.profile-min__social-link-card.social-link-card {
  min-height: 66px;
  padding: 9px 10px;
  gap: 9px;
  border-radius: 10px;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: none;
  color: var(--text);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.profile-min__social-link-card.social-link-card .social-link-card__icon {
  width: 24px;
  height: 24px;
  border-color: rgba(80, 200, 255, 0.2);
  background: rgba(80, 200, 255, 0.06);
  box-shadow: none;
}

.profile-min__social-link-card.social-link-card .social-link-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.profile-min__social-link-card.social-link-card--image-icon .social-link-card__icon {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.profile-min__social-link-card .social-link-card__name {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.84);
}

.social-link-card--vpn .social-link-card__icon {
  color: #9cffd0;
  border-color: rgba(156, 255, 208, 0.28);
  background: rgba(156, 255, 208, 0.09);
}

.profile-min__social-link-card.social-link-card--vpn .social-link-card__icon,
.social-link-card--vpn .social-link-card__icon {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.profile-min__social-link-card.social-link-card--support .social-link-card__icon {
  color: #7fe9ff;
  border-color: rgba(90, 223, 255, 0.28);
  background: rgba(75, 212, 255, 0.1);
  box-shadow: none;
}

.profile-min__social-link-card.social-link-card--support .social-link-card__icon svg {
  width: 18px;
  height: 18px;
}

@media (hover: hover) and (pointer: fine) {
  .profile-min__social-link-card.social-link-card--support:hover .social-link-card__icon {
    color: #7fe9ff;
    border-color: rgba(90, 223, 255, 0.28);
    background: rgba(75, 212, 255, 0.1);
    box-shadow: none;
  }
}

.profile-min__social-link-card.social-link-card:focus-visible,
.profile-min__social-link-card.social-link-card:focus {
  outline: none;
  border-color: rgba(80, 200, 255, 0.5);
  background: rgba(80, 200, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(80, 200, 255, 0.12);
}

@media (hover: hover) and (pointer: fine) {
  .profile-min__social-link-card.social-link-card:hover {
    border-color: rgba(80, 200, 255, 0.42);
    background: rgba(80, 200, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(80, 200, 255, 0.08);
    transform: translateY(-1px);
  }

  .profile-min__social-link-card.social-link-card:hover .social-link-card__arrow {
    transform: translateY(-2px) translateX(1px);
  }
}

@media (max-width: 360px) {
  .profile-min__social-list {
    grid-template-columns: 1fr;
  }
}

.profile-min__product-grid.product-grid--holder {
  width: 100%;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.profile-page .product-card--profile-sub.product-card--glass {
  aspect-ratio: auto;
  min-height: clamp(248px, 32vw, 312px);
}

.profile-page .product-card--profile-sub .product-card__inner {
  justify-content: flex-start;
  min-height: 0;
  flex: 1 1 auto;
}

.profile-page .product-card--profile-sub .product-card__hook {
  margin-bottom: 0.1rem;
}

.profile-product-sub {
  margin-top: auto;
  width: 100%;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: stretch;
}

.profile-product-sub__status {
  margin: 0;
  font-size: clamp(0.78rem, 2vw, 0.9rem);
  line-height: 1.42;
  font-weight: 500;
  color: rgba(248, 250, 255, 0.94);
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}

.profile-product-sub__cta.nav-btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 680px) {
  .profile-page .product-card--profile-sub .product-card__inner {
    min-height: 188px;
  }
}

.profile-min__k {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.profile-min__v {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
  line-height: 1.28;
}

.profile-min__v--mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.9rem;
  font-weight: 600;
}

.profile-min__email {
  margin: 0;
  min-width: 0;
  font-size: 0.98rem;
  font-weight: 500;
  word-break: break-all;
  line-height: 1.28;
  cursor: pointer;
  border-radius: 6px;
  transition: filter 0.15s ease;
}

.profile-min__email:focus-visible {
  outline: 2px solid var(--hypr-cyan);
  outline-offset: 2px;
}

.profile-min__email--masked {
  filter: blur(5px);
  user-select: none;
}

@media (hover: hover) and (pointer: fine) {
  .profile-min__email--masked:hover {
    filter: blur(4px);
  }
}

.profile-min__hero-meta-row .profile-min__email {
  font-size: 0.86rem;
}

.profile-min__session {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 0 1 auto;
  min-width: 0;
  justify-content: flex-end;
  align-items: center;
}

.profile-page .profile-min__hero-action.nav-btn {
  font-family: inherit;
}

.profile-page .profile-min__session .nav-btn {
  white-space: normal;
  text-align: center;
  max-width: min(100%, 220px);
}

.profile-min__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.42rem 0.85rem;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 650;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    filter 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}

.profile-min__btn--block {
  width: 100%;
}

.profile-min__btn--compact {
  width: auto;
  align-self: flex-start;
  min-height: 38px;
  padding: 0.34rem 0.72rem;
  font-size: 0.8rem;
}

.profile-min__btn--mail-send {
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 40px;
  padding: 0.38rem 0.65rem;
  font-size: 0.8rem;
}

.profile-min__btn-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
}

.profile-min__btn-grid > .profile-min__btn {
  min-height: 40px;
  font-size: 0.82rem;
}

.profile-min__btn--primary {
  color: #061016;
  background: linear-gradient(180deg, #6ad4ff 0%, var(--hypr-cyan) 100%);
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(80, 200, 255, 0.22);
}

.profile-min__btn--ghost {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.profile-min__btn:focus-visible {
  outline: 2px solid var(--hypr-cyan);
  outline-offset: 2px;
}

.profile-min__sub {
  padding: 0.48rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-min__sub-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.42rem 0.75rem;
}

.profile-min__sub-head .profile-min__renew {
  margin: 0;
}

.profile-min__sub-line {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.34;
  color: rgba(255, 255, 255, 0.88);
  flex: 1 1 12rem;
  min-width: 0;
}

.profile-min__sub-k {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.profile-min__sub-v {
  font-weight: 650;
  color: #dff8ff;
}

.profile-min__sub-detail {
  margin: 0.25rem 0 0;
  font-size: 0.76rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.48);
}

.profile-min__renew {
  margin-top: 0.35rem;
  flex: 0 0 auto;
}

.profile-min__box {
  padding: 0.65rem 0.78rem;
  border-radius: 12px;
  border: 1px solid var(--profile-stroke);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
  min-width: 0;
}

.profile-min__box--stack .profile-min__sep {
  margin: 0.28rem 0;
}

.profile-min__h2 {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.profile-min__h3 {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.profile-min__mail-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.4rem;
}

.profile-min__mail-row .profile-min__input {
  flex: 1 1 9rem;
  min-width: 0;
  width: auto;
}

.profile-min__hint {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.48);
}

.profile-min__input {
  width: 100%;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.45);
  font-family: inherit;
  font-size: 0.88rem;
  padding: 0.48rem 0.62rem;
}

.profile-min__input:disabled {
  cursor: not-allowed;
}

.profile-min__tw-title {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.72);
}

.profile-min__sep {
  height: 1px;
  margin: 0.1rem 0;
  background: rgba(255, 255, 255, 0.07);
  border: 0;
}

.profile-page button.profile-min__btn[data-profile-stub],
.profile-page .profile-min__session .nav-btn[data-profile-stub] {
  opacity: 0.82;
  border-style: dashed;
}

.profile-page button.profile-min__btn.profile-min__btn--dashed {
  opacity: 0.82;
  border-style: dashed;
}

.profile-page .profile-min__session .nav-btn[data-profile-logout],
.profile-page .profile-min__session .nav-btn[data-profile-logout-all],
.profile-page .nav-btn[data-profile-download-keys] {
  opacity: 1;
  color: #ffb4b4;
  background: rgba(255, 70, 70, 0.08);
  border-color: rgba(255, 90, 90, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 20px rgba(255, 70, 70, 0.14);
}

.profile-page .profile-min__session .nav-btn[data-profile-logout-all],
.profile-page .nav-btn[data-profile-download-keys] {
  border-style: dashed;
}

@media (hover: hover) and (pointer: fine) {
  .profile-page .profile-min__session .nav-btn[data-profile-logout]:hover,
  .profile-page .profile-min__session .nav-btn[data-profile-logout-all]:hover,
  .profile-page .nav-btn[data-profile-download-keys]:hover {
    color: #ffd0d0;
    background: rgba(255, 70, 70, 0.14);
    border-color: rgba(255, 110, 110, 0.72);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.07),
      0 0 24px rgba(255, 70, 70, 0.2);
  }
}


.profile-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.profile-page__status {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.profile-page__banner--error {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fecaca;
}

.profile-page__guest {
  margin-top: 0.5rem;
}

.profile-page__guest-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 600;
}

.profile-page__guest-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 42rem;
}

.profile-keypack-modal.auth-modal {
  z-index: 1250;
}

.profile-keypack-modal .auth-modal__dialog {
  width: min(100%, 400px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.profile-keypack-modal .auth-modal__title {
  margin: 0 40px 0 0;
}

.profile-keypack-modal .auth-modal__tabs {
  margin-bottom: 0;
}

.profile-keypack-modal__durations {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.profile-keypack-modal__choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  padding: 10px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-family: inherit;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.profile-keypack-modal__choice:focus-visible {
  outline: 2px solid var(--hypr-cyan);
  outline-offset: 2px;
}

.profile-keypack-modal__choice-days {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
}

.profile-keypack-modal__choice-unit {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

@media (hover: hover) and (pointer: fine) {
  .profile-keypack-modal__choice:hover:not(.is-active) {
    border-color: rgba(80, 200, 255, 0.3);
    background: rgba(80, 200, 255, 0.06);
    color: var(--text);
  }
}

.profile-keypack-modal__choice.is-active {
  border-color: rgba(80, 200, 255, 0.55);
  background: linear-gradient(180deg, rgba(80, 200, 255, 0.18), rgba(80, 200, 255, 0.06));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(80, 200, 255, 0.18),
    0 8px 22px rgba(80, 200, 255, 0.18);
}

.profile-keypack-modal__choice.is-active .profile-keypack-modal__choice-unit {
  color: rgba(80, 200, 255, 0.9);
}

.profile-keypack-modal__qty {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-keypack-modal__qty-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
}

.profile-keypack-modal__qty-row {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 6px;
}

.profile-keypack-modal__qty-row .buy-card__input {
  flex: 1 1 auto;
  min-width: 0;
}

.profile-keypack-modal__qty-apply {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  min-width: 38px;
  padding: 0;
  border: 1px solid rgba(80, 200, 255, 0.32);
  border-radius: 10px;
  background: rgba(80, 200, 255, 0.08);
  color: var(--hypr-cyan);
  cursor: pointer;
  touch-action: manipulation;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.profile-keypack-modal__qty-apply svg {
  width: 18px;
  height: 18px;
}

.profile-keypack-modal__qty-apply:focus-visible {
  outline: 2px solid var(--hypr-cyan);
  outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .profile-keypack-modal__qty-apply:hover:not(:disabled) {
    background: rgba(80, 200, 255, 0.18);
    border-color: rgba(80, 200, 255, 0.55);
    color: #f0fbff;
    box-shadow: 0 0 0 1px rgba(80, 200, 255, 0.15), 0 6px 16px rgba(80, 200, 255, 0.18);
  }
}

.profile-keypack-modal__qty-apply:active:not(:disabled) {
  transform: scale(0.96);
}

.profile-keypack-modal__qty-apply:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.profile-keypack-modal__qty-row.is-applied .buy-card__input {
  border-color: rgba(110, 231, 183, 0.5);
  background: rgba(60, 200, 140, 0.06);
  box-shadow: 0 0 0 3px rgba(60, 200, 140, 0.12);
}

.profile-keypack-modal__qty-row.is-applied .profile-keypack-modal__qty-apply {
  border-color: rgba(110, 231, 183, 0.55);
  background: rgba(60, 200, 140, 0.18);
  color: #6ee7b7;
}

.profile-keypack-modal__qty-row.is-invalid .buy-card__input {
  border-color: rgba(255, 110, 110, 0.45);
  background: rgba(255, 80, 80, 0.05);
  box-shadow: 0 0 0 3px rgba(255, 80, 80, 0.12);
}

.profile-keypack-modal__qty-row.is-invalid .profile-keypack-modal__qty-apply {
  border-color: rgba(255, 110, 110, 0.45);
  color: rgba(255, 150, 150, 0.95);
  background: rgba(255, 80, 80, 0.08);
}

.profile-keypack-modal .buy-card__summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-keypack-modal .buy-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.profile-keypack-modal .buy-card__row-label {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.profile-keypack-modal .buy-card__bonus-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.profile-keypack-modal .buy-card__bonus-cell {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 0 10px;
  font-size: 13px;
}

.profile-keypack-modal .buy-card__bonus-cell .buy-card__row-label {
  flex: 1 1 auto;
  min-width: 0;
}

.profile-keypack-modal .buy-card__bonus-cell .buy-card__bonus {
  flex: 0 0 auto;
}

.profile-keypack-modal .buy-card__bonus-cell:first-child {
  padding-left: 0;
}

.profile-keypack-modal .buy-card__bonus-cell:last-child {
  padding-right: 0;
}

.profile-keypack-modal .buy-card__bonus-cell + .buy-card__bonus-cell {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-keypack-modal .buy-card__bonus {
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  font-size: 13px;
}

.profile-keypack-modal .buy-card__bonus.is-active {
  color: #6ee7b7;
}

.profile-keypack-modal .buy-card__row--total {
  padding-top: 6px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.profile-keypack-modal .buy-card__row--total .buy-card__row-label {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
}

.profile-keypack-modal .buy-card__price {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--hypr-cyan);
  font-variant-numeric: tabular-nums;
}

.profile-keypack-modal__tiers {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.profile-keypack-modal__tiers p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

.profile-keypack-modal__buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 2px;
}

.profile-keypack-modal__buy:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: none;
  transform: none;
  box-shadow: none;
}

