:root {
  --account-bg: #050506;
  --account-panel: #101115;
  --account-raised: #18191d;
  --account-text: #f8f6fb;
  --account-muted: #aaa5b2;
  --account-subtle: #85818d;
  --account-line: rgba(255, 255, 255, .14);
  --account-lime: #8dff18;
  --account-lime-soft: #c9ff3f;
}

.account-shell {
  min-height: 100svh;
  overflow-x: hidden;
  isolation: isolate;
  color: var(--account-text);
  background:
    radial-gradient(ellipse at 94% 14%, rgba(141, 255, 24, .18), rgba(73, 132, 18, .06) 30%, transparent 58%),
    radial-gradient(ellipse at 5% 66%, rgba(141, 255, 24, .08), transparent 48%),
    var(--account-bg);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.account-shell.auth-pending {
  background: #08080a;
}

.account-shell.auth-pending::before,
.account-shell.auth-pending::after {
  display: none;
}

.account-shell::before {
  content: "";
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 92% 3%, rgba(226, 255, 157, .95) 0 1px, transparent 2px),
    radial-gradient(circle at 88.5% 7%, rgba(201, 255, 63, .78) 0 1px, transparent 2.2px),
    radial-gradient(circle at 85% 10%, rgba(201, 255, 63, .62) 0 1.4px, transparent 2.5px),
    radial-gradient(circle at 81.5% 13%, rgba(141, 255, 24, .52) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 15.5%, rgba(213, 255, 92, .72) 0 1.2px, transparent 2.4px),
    radial-gradient(circle at 74.5% 17.5%, rgba(141, 255, 24, .46) 0 1px, transparent 2px),
    radial-gradient(circle at 71% 19%, rgba(226, 255, 157, .7) 0 1.4px, transparent 2.6px),
    linear-gradient(158deg, transparent 35%, rgba(201, 255, 63, .025) 42%, rgba(141, 255, 24, .15) 50%, rgba(201, 255, 63, .035) 57%, transparent 64%) top right / 64% 58% no-repeat,
    radial-gradient(ellipse at 70% 18%, rgba(141, 255, 24, .2), transparent 14%),
    radial-gradient(ellipse at 50% 44%, rgba(141, 255, 24, .035), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, .012), transparent 34%);
}

.account-shell::after {
  content: "";
  position: fixed;
  z-index: -1;
  left: calc(50% - 1520px);
  top: 34svh;
  width: 1500px;
  height: 1200px;
  border-radius: 50%;
  border: 2px solid rgba(218, 255, 91, .94);
  pointer-events: none;
  background:
    radial-gradient(circle at 77% 10%, rgba(232, 255, 151, .88) 0 1.2px, rgba(201, 255, 63, .28) 2px, transparent 7px),
    radial-gradient(circle at 72% 16%, rgba(201, 255, 63, .72) 0 1px, rgba(141, 255, 24, .2) 2px, transparent 6px),
    radial-gradient(circle at 75% 24%, rgba(213, 255, 92, .56) 0 1.5px, rgba(141, 255, 24, .15) 2.4px, transparent 8px),
    radial-gradient(circle at 68% 23%, rgba(201, 255, 63, .48) 0 1px, rgba(141, 255, 24, .12) 2px, transparent 6px),
    radial-gradient(circle at 64% 31%, rgba(181, 255, 55, .38) 0 1.2px, rgba(141, 255, 24, .1) 2px, transparent 7px),
    radial-gradient(circle at 69% 38%, rgba(213, 255, 92, .34) 0 1px, rgba(141, 255, 24, .08) 2px, transparent 6px),
    radial-gradient(circle at 59% 40%, rgba(181, 255, 55, .28) 0 .9px, rgba(141, 255, 24, .065) 2px, transparent 6px),
    radial-gradient(circle at 55% 50%, rgba(201, 255, 63, .2) 0 1px, rgba(141, 255, 24, .045) 2px, transparent 7px),
    radial-gradient(circle at 62% 14%, rgba(181, 255, 55, .24) 0 .8px, rgba(141, 255, 24, .05) 1.8px, transparent 5px),
    radial-gradient(ellipse at 50% 50%, rgba(1, 2, 1, .995) 0 30%, rgba(3, 7, 3, .98) 45%, rgba(25, 53, 7, .9) 68%, rgba(105, 193, 20, .78) 86%, rgba(211, 255, 91, .96) 100%);
  box-shadow:
    0 0 5px rgba(232, 255, 151, .96),
    0 0 20px rgba(201, 255, 63, .82),
    24px 0 70px rgba(141, 255, 24, .38),
    inset -3px 0 14px rgba(232, 255, 151, .9),
    inset -44px 0 100px rgba(141, 255, 24, .3),
    inset -150px 0 260px rgba(61, 116, 13, .2);
  -webkit-mask-image: linear-gradient(to right, #000 0 81.4%, rgba(0, 0, 0, .86) 82.2%, transparent 83.4%);
  mask-image: linear-gradient(to right, #000 0 81.4%, rgba(0, 0, 0, .86) 82.2%, transparent 83.4%);
  opacity: .96;
}

.account-header {
  position: fixed;
  z-index: 4;
  top: 22px;
  left: 50%;
  width: min(1600px, calc(100% - 48px));
  transform: translateX(-50%);
}

.account-header-brand {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--account-text);
  text-decoration: none;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -.025em;
  font-weight: 600;
  transition: opacity .2s ease, transform .2s ease;
}

.account-header-brand:hover,
.account-header-brand:focus-visible {
  opacity: .86;
  transform: translateY(-1px);
}

.account-header-brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(141, 255, 24, .2);
}

.account-shell .account,
.account-shell .verification-journey {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), 540px);
  min-height: 100svh;
  margin: 0 auto;
  padding: 56px 0;
  display: grid;
  place-items: center;
}

.account-shell .account-card,
.account-shell .journey-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: clamp(30px, 3.5vw, 42px);
  border: 1px solid transparent;
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(141, 255, 24, .085), transparent 34%) padding-box,
    linear-gradient(rgba(15, 16, 19, .985), rgba(15, 16, 19, .985)) padding-box,
    linear-gradient(112deg, rgba(91, 127, 43, .42) 0%, rgba(255, 255, 255, .08) 38%, rgba(218, 255, 91, .98) 76%, rgba(141, 255, 24, .52) 100%) border-box;
  box-shadow:
    0 36px 110px rgba(0, 0, 0, .78),
    36px -18px 76px rgba(141, 255, 24, .22),
    -22px 16px 76px rgba(0, 0, 0, .55),
    inset 0 1px rgba(255, 255, 255, .06);
}

.account-shell .account-card:not(.account-card-profile) {
  min-height: 0;
}

.account-shell .account-card::before,
.account-shell .journey-card::before {
  content: "";
  position: absolute;
  inset: 0 5% auto 28%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(201, 255, 63, .96) 72%, transparent);
  box-shadow: 0 0 28px rgba(141, 255, 24, .72);
}

.account-shell .account-card::after,
.account-shell .journey-card::after {
  content: "";
  position: absolute;
  top: -1px;
  right: 7%;
  width: 112px;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(232, 255, 151, .98) 62%, transparent);
  box-shadow: 0 0 12px 2px rgba(201, 255, 63, .78), 0 0 42px 12px rgba(141, 255, 24, .28);
}

.account-brand {
  width: max-content;
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--account-text);
  text-decoration: none;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -.025em;
  font-weight: 600;
}

.account-brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(141, 255, 24, .2);
}

.account-brand-left {
  margin-inline: 0;
  margin-bottom: 28px;
}

.account-shell .account-card h1,
.account-shell .journey-card h1 {
  margin: 0;
  color: var(--account-text);
  font-size: clamp(38px, 4.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 400;
}

#signed-out > h1,
#signed-out > #account-lead {
  text-align: center;
}

#account-title > span {
  color: var(--account-lime);
  text-shadow: 0 0 28px rgba(141, 255, 24, .24);
}

.account-shell .account-card > div > p,
.account-shell .journey-card > p,
.account-shell .account-form-copy,
.account-shell .journey-note {
  color: var(--account-muted);
}

#account-lead {
  margin: 13px 0 0;
  font-size: 17px;
  line-height: 1.5;
}

.account-shell .account-oauth {
  display: grid;
  gap: 10px;
  margin: 30px 0 0;
}

.account-shell .btn {
  min-height: 54px;
  border-radius: 999px;
  font-weight: 600;
}

.account-shell .account-provider {
  position: relative;
  width: 100%;
  border: 1px solid var(--account-line);
  color: var(--account-text);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018));
  box-shadow: inset 0 1px rgba(255, 255, 255, .045);
  font-size: 16px;
}

.account-shell .account-provider.is-loading img {
  opacity: 0;
}

.account-provider img {
  position: absolute;
  left: 20px;
  width: 24px;
  height: 24px;
}

.account-shell .account-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 26px 0 22px;
  color: var(--account-muted);
  font-size: 13px;
  line-height: 1;
}

.account-shell .account-divider::before,
.account-shell .account-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .17));
}

.account-shell .account-divider::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, .17), transparent);
}

.account-form {
  display: grid;
  gap: 12px;
}

#signed-out .account-form .btn,
#signed-out .account-provider,
#signed-out .account-field input {
  min-height: 56px;
}

.account-field {
  display: grid;
  gap: 8px;
  color: #d8d5dd;
  font-size: 14px;
  font-weight: 600;
}

.account-field input {
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: var(--account-text);
  background: rgba(7, 8, 9, .72);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  outline: 0;
}

.account-field input::placeholder {
  color: #77737f;
}

.account-field input:focus {
  border-color: var(--account-lime);
  box-shadow: 0 0 0 3px rgba(141, 255, 24, .1), 0 0 22px rgba(141, 255, 24, .09);
}

.account-field input:-webkit-autofill,
.account-field input:-webkit-autofill:hover,
.account-field input:-webkit-autofill:focus,
.account-field input:autofill {
  -webkit-text-fill-color: var(--account-text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  caret-color: var(--account-text);
  border-color: var(--account-lime);
  box-shadow:
    0 0 0 1000px #08090a inset,
    0 0 0 3px rgba(141, 255, 24, .1),
    0 0 22px rgba(141, 255, 24, .09);
  transition: background-color 9999s ease-out 0s;
}

.account-shell .account-email-continue,
.account-shell .btn-secondary {
  width: 100%;
  border: 1px solid var(--account-line);
  color: var(--account-text);
  background: rgba(255, 255, 255, .035);
}

.account-shell .btn-primary {
  border: 1px solid var(--account-line);
  color: var(--account-text);
  background: rgba(255, 255, 255, .04);
  box-shadow: none;
}

.account-shell .account-provider,
.account-shell .account-email-continue,
.account-shell .btn-primary,
.account-shell .btn-secondary {
  position: relative;
  background-color: rgba(255, 255, 255, .035);
  background-image:
    linear-gradient(90deg, var(--account-lime-soft), var(--account-lime)),
    linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018));
  background-position: right center, center;
  background-repeat: no-repeat;
  background-size: 0 100%, 100% 100%;
  transition:
    background-size .52s cubic-bezier(.4, 0, .2, 1),
    border-color .28s ease,
    color .24s ease,
    box-shadow .28s ease;
}

.account-shell .account-provider.is-loading,
.account-shell .account-email-continue.is-loading,
.account-shell .btn-primary.is-loading,
.account-shell .btn-secondary.is-loading {
  cursor: wait;
  pointer-events: none;
  color: var(--account-text);
  background-size: 0 100%, 100% 100%;
  box-shadow: inset 0 1px rgba(255, 255, 255, .045);
}

.account-shell .account-provider.is-loading::before,
.account-shell .account-email-continue.is-loading::before,
.account-shell .btn-primary.is-loading::before,
.account-shell .btn-secondary.is-loading::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border: 2px solid rgba(255, 255, 255, .22);
  border-top-color: var(--account-lime);
  border-radius: 50%;
  animation: account-spin .72s linear infinite;
}

@keyframes account-spin {
  to { transform: rotate(360deg); }
}

.account-shell .account-provider:hover,
.account-shell .account-provider:focus-visible,
.account-shell .account-email-continue:hover,
.account-shell .account-email-continue:focus-visible,
.account-shell .btn-primary:hover,
.account-shell .btn-primary:focus-visible,
.account-shell .btn-secondary:hover,
.account-shell .btn-secondary:focus-visible {
  border-color: rgba(218, 255, 91, .9);
  color: #071004;
  background-size: 100% 100%, 100% 100%;
  box-shadow: 0 0 0 3px rgba(141, 255, 24, .1), 0 12px 30px rgba(80, 160, 15, .2);
  transition-delay: 0s, 0s, .14s, 0s;
}

.account-email-panel {
  margin-top: 8px;
}

.account-shell .account-card.account-card-code {
  padding-block: 54px 44px;
}

.code-active > #account-title,
.code-active > #account-lead,
.code-active > .account-oauth,
.code-active > .account-divider,
.code-active > .account-email-start,
.code-active > .account-legal {
  display: none;
}

.code-active .account-email-panel {
  margin-top: 0;
}

.account-shell .account-card .account-code-title {
  margin: 0 0 14px;
  font-size: 29px;
  line-height: 1.18;
  letter-spacing: -.03em;
  text-align: center;
}

.account-code-copy {
  max-width: 340px;
  margin: 0 auto 4px !important;
  color: var(--account-muted) !important;
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

.account-email-panel .account-selected-email {
  margin: 0 0 24px;
  text-align: center;
}

.account-code-inputs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.account-code-inputs input {
  width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  color: var(--account-text);
  background: rgba(7, 8, 9, .8);
  font: inherit;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.account-code-inputs input:focus {
  border-color: var(--account-lime);
  background: rgba(9, 12, 7, .92);
  box-shadow: 0 0 0 3px rgba(141, 255, 24, .09), 0 0 18px rgba(141, 255, 24, .08);
}

.account-code-inputs.has-error input {
  border-color: rgba(255, 116, 135, .72);
  background: rgba(42, 10, 16, .42);
  box-shadow: 0 0 18px rgba(255, 80, 108, .08);
}

.account-resend {
  margin: 30px 0 4px !important;
  color: var(--account-subtle) !important;
  font-size: 13px;
  text-align: center;
}

.account-resend button {
  padding: 0;
  border: 0;
  color: var(--account-lime-soft);
  background: transparent;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.account-resend button:disabled {
  color: var(--account-subtle);
  cursor: default;
  text-decoration: none;
}

.account-back,
.account-cancel,
.account-help button {
  padding: 0;
  border: 0;
  color: var(--account-lime-soft);
  background: transparent;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.code-active .account-back {
  position: absolute;
  top: 30px;
  left: 32px;
  color: var(--account-muted);
  font-size: 14px;
  text-decoration: none;
}

.code-active .account-back:hover,
.code-active .account-back:focus-visible {
  color: var(--account-text);
}

.account-selected-email {
  margin: 10px 0 18px;
  color: var(--account-text) !important;
  font-size: 15px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 22px;
  padding: 4px;
  border: 1px solid var(--account-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .025);
}

.account-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  color: var(--account-muted);
  background: transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.account-tabs button[aria-selected="true"] {
  color: var(--account-text);
  background: rgba(255, 255, 255, .09);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}

.account-help,
.account-status {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.5;
}

.account-help {
  text-align: right;
}

.account-status {
  min-height: 20px;
  color: var(--account-muted);
  text-align: center;
}

.account-status[data-kind="error"] { color: #ff9aa8; }
.account-status[data-kind="success"] { color: #cfff9c; }

.account-legal {
  margin: 4px 0 0 !important;
  color: var(--account-subtle) !important;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.account-legal a {
  color: var(--account-lime-soft);
}

.reset-active .account-divider,
.reset-active .account-legal {
  display: none;
}

.account-profile-active {
  background: #08080a;
}

.account-profile-active::before,
.account-profile-active::after {
  display: none;
}

.account-profile-active .account-header {
  top: 0;
  width: min(1600px, calc(100% - 48px));
  height: 68px;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.account-profile-active .account-header::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #08080a;
}

.account-profile-active .account-header::after {
  content: "";
  position: absolute;
  top: 67px;
  left: 50%;
  width: 100vw;
  height: 1px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, .12);
}

.account-profile-active .account-header-brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.account-profile-active .account-header-brand {
  font-size: 21px;
}

.account-profile-active .account {
  width: min(1600px, calc(100% - 48px));
  min-height: 100svh;
  padding: 108px 0 72px;
  display: block;
}

.account-profile-active .account-card {
  display: none;
}

.account-center {
  width: min(840px, 100%);
  margin: 0 auto;
}

.account-center-intro {
  margin-bottom: 52px;
}

.account-center-intro h1 {
  margin: 0;
  color: var(--account-text);
  font-size: clamp(44px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 400;
}

.profile-section {
  margin-top: 42px;
}

.account-center-intro + .profile-section { margin-top: 0; }

.profile-section > h2 {
  margin: 0 0 16px;
  color: var(--account-text);
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -.015em;
  font-weight: 400;
}

.profile-summary,
.subscription-active,
.security-list,
.account-action-row {
  border: 1px solid rgba(255, 255, 255, .12);
  background: #111216;
  box-shadow: inset 0 1px rgba(255, 255, 255, .025);
}

.profile-summary {
  min-height: 118px;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  border-radius: 14px;
}

.profile-avatar {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #ff4e1d;
  box-shadow: inset -16px -10px 28px rgba(255, 166, 0, .26);
  font-size: 36px;
  font-weight: 400;
  overflow: hidden;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.profile-avatar img[hidden] {
  display: none;
}

.profile-identity,
.subscription-active > div,
.security-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.profile-identity strong,
.subscription-active strong,
.security-copy strong,
.account-action-row strong {
  color: var(--account-text);
  font-size: 15px;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.profile-identity #profile-name {
  font-size: 20px;
  line-height: 1.2;
}

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

.profile-name-edit {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  color: var(--account-subtle);
  background: transparent;
  cursor: pointer;
}

.profile-name-edit svg {
  width: 13px;
  height: 13px;
  display: block;
  margin: auto;
  fill: currentColor;
}

.profile-name-edit:hover,
.profile-name-edit:focus-visible {
  color: var(--account-lime);
}

.profile-name-form {
  min-width: 0;
}

.profile-name-field {
  width: min(230px, 100%);
  min-height: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid var(--account-lime);
  border-radius: 999px;
  background: #08090a;
  box-shadow: 0 0 0 3px rgba(141, 255, 24, .06);
  overflow: hidden;
}

.profile-name-form input {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 0 8px 0 14px;
  border: 0;
  color: var(--account-text);
  background: transparent;
  font: inherit;
  outline: 0;
}

.profile-name-actions {
  display: flex;
  align-items: center;
  padding-right: 8px;
}

.profile-name-actions button {
  width: 30px;
  height: 30px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.profile-name-actions svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-name-save {
  color: var(--account-lime);
}

.profile-name-cancel {
  color: rgba(255, 255, 255, .38);
}

.profile-name-actions button:hover,
.profile-name-actions button:focus-visible {
  background: rgba(255, 255, 255, .06);
}

.profile-name-cancel:hover,
.profile-name-cancel:focus-visible {
  color: rgba(255, 255, 255, .68);
}

.profile-name-actions button:disabled {
  cursor: wait;
  opacity: .45;
}

.profile-identity span,
.subscription-active span,
.security-copy span,
.account-action-row small {
  color: var(--account-muted);
  font-size: 13px;
  line-height: 1.4;
}

.profile-identity #profile-email {
  margin-top: 3px;
  font-size: 14px;
}

.account-state {
  color: var(--account-lime) !important;
}

.compact-action,
.billing-action {
  min-height: 40px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: var(--account-text);
  background: rgba(255, 255, 255, .025);
  font: inherit;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.compact-action:hover,
.compact-action:focus-visible,
.billing-action:hover,
.billing-action:focus-visible {
  border-color: rgba(141, 255, 24, .65);
  color: var(--account-lime-soft);
  background: rgba(141, 255, 24, .06);
}

.compact-action.danger {
  color: #ffb4bd;
  border-color: rgba(255, 120, 140, .32);
}

.account-disclosure,
.security-details,
.account-inline-form {
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background: #0d0e11;
}

.account-disclosure {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.account-disclosure p,
.security-details p,
.subscription-note,
.account-delete {
  margin: 0;
  color: var(--account-muted);
  font-size: 13px;
  line-height: 1.5;
}

.subscription-loading {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  color: var(--account-muted);
  background: #111216;
  text-align: center;
}

.subscription-active {
  min-height: 154px;
  padding: 26px 30px 24px;
  display: block;
  border-radius: 14px;
  background:
    radial-gradient(circle at 0 45%, rgba(141, 255, 24, .08), transparent 30%),
    #111216;
}

.subscription-plan-summary {
  display: grid;
  gap: 7px;
}

.subscription-kicker,
.subscription-renewal-label {
  color: var(--account-muted);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.subscription-plan-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.subscription-active .subscription-plan-title strong {
  color: var(--account-text);
  font-size: 32px;
  line-height: 1.08;
  letter-spacing: -.025em;
  font-weight: 500;
}

.subscription-active .account-state {
  padding: 5px 9px;
  border-radius: 7px;
  color: #071004 !important;
  background: var(--account-lime);
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
}

.subscription-active-divider {
  height: 1px;
  margin: 18px 0 16px;
  background: rgba(255, 255, 255, .1);
}

.subscription-renewal-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
}

.subscription-active .subscription-renewal-row strong {
  color: var(--account-text);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 500;
}

.billing-action {
  min-height: 36px;
  padding: 0;
  border-color: transparent;
  color: var(--account-muted);
  background: transparent;
}

.subscription-copy {
  margin-bottom: 24px;
}

.subscription-copy h3 {
  margin: 0;
  color: var(--account-text);
  font-size: 26px;
  line-height: 34px;
  font-weight: 400;
}

.subscription-copy p {
  margin: 7px 0 0;
  color: var(--account-muted);
  font-size: 14px;
  line-height: 22px;
}

.subscription-empty {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: #111216;
  box-shadow: inset 0 1px rgba(255, 255, 255, .025);
}

.subscription-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.subscription-plan {
  position: relative;
  height: 242px;
  min-height: 0;
  padding: 24px 20px 18px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: #15161a;
}

.subscription-plan-annual {
  border-color: var(--account-lime);
  box-shadow: inset 0 1px rgba(255, 255, 255, .03), 0 0 28px rgba(141, 255, 24, .055);
}

.subscription-plan h3 {
  margin: 0;
  padding-top: 16px;
  color: var(--account-text);
  font-size: 18px;
  font-weight: 400;
}

.subscription-plan .plan-price {
  margin: 12px 0 0;
  color: var(--account-text);
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -.035em;
  font-weight: 400;
}

.subscription-plan .plan-price span,
.subscription-plan .plan-detail {
  color: var(--account-muted);
  font-size: 13px;
  letter-spacing: 0;
  font-weight: 400;
}

.subscription-plan .plan-detail {
  margin: 6px 0 14px;
}

.account-shell .subscription-plan .btn {
  width: 100%;
  min-height: 46px;
  margin-top: auto;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 400;
}

.subscription-plan-annual .btn {
  border-color: var(--account-lime);
  color: #071004;
  background: var(--account-lime);
}

.subscription-plan-annual .btn:hover,
.subscription-plan-annual .btn:focus-visible {
  color: #071004;
  background: var(--account-lime-soft);
}

.plan-badge {
  position: absolute;
  top: 12px;
  left: 18px;
  width: max-content;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--account-lime-soft) !important;
  background: rgba(141, 255, 24, .12);
  font-size: 11px !important;
  font-weight: 600;
}

.plan-badge-featured {
  top: -13px;
  left: 16px;
  color: #071004 !important;
  background: var(--account-lime);
}

.subscription-note {
  margin-top: 12px;
}

.security-list {
  overflow: hidden;
  border-radius: 14px;
}

.security-row {
  min-height: 70px;
  padding: 14px 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.security-row:first-child {
  border-top: 0;
}

.security-row:has(> img) {
  grid-template-columns: 30px 1fr auto;
}

.security-row > img {
  width: 28px;
  height: 28px;
}

.social-action {
  min-height: 36px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: var(--account-muted);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.social-action:hover,
.social-action:focus-visible {
  color: var(--account-text);
  border-color: rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .025);
}

.account-inline-form {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  border-radius: 0 0 14px 14px;
}

.account-inline-form h3,
.inline-form-actions {
  grid-column: 1 / -1;
}

.account-inline-form h3 {
  margin: 0;
  color: var(--account-text);
  font-size: 16px;
}

.inline-form-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

.account-action-row {
  width: 100%;
  min-height: 80px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 14px;
  color: var(--account-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}

.account-action-row:hover,
.account-action-row:focus-visible {
  border-color: rgba(141, 255, 24, .45);
  background: #141618;
}

.account-action-row > span:first-child {
  display: grid;
  gap: 5px;
}

.account-delete {
  margin-top: 14px;
}

.account-delete a {
  color: var(--account-muted);
  text-underline-offset: 3px;
}

.account-center > .account-status {
  text-align: left;
}

.sign-out-action {
  padding: 8px 2px 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  color: var(--account-muted);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
  transition: color .2s ease;
}

.sign-out-action:hover,
.sign-out-action:focus-visible {
  color: var(--account-text);
}

.sign-out-action img {
  width: 20px;
  height: 20px;
  opacity: .78;
}

.account-confirm-open { overflow: hidden; }

.account-confirm {
  position: fixed;
  z-index: 30;
  inset: 0;
  padding: 24px;
  display: none;
  place-items: center;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(10px);
}

.account-confirm.is-open { display: grid; }

.account-confirm-card {
  position: relative;
  width: min(560px, 100%);
  padding: 34px 34px 28px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  background: #121318;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .58), inset 0 1px rgba(255, 255, 255, .035);
}

.account-confirm-card h2 {
  margin: 0;
  padding-right: 34px;
  color: var(--account-text);
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -.025em;
  font-weight: 500;
}

.account-confirm-card p {
  margin: 14px 0 0;
  max-width: 470px;
  color: var(--account-muted);
  font-size: 14px;
  line-height: 22px;
}

.account-confirm-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  color: var(--account-muted);
  background: rgba(255, 255, 255, .025);
  font: inherit;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.account-confirm-actions {
  margin-top: 30px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.account-confirm-cancel,
.account-confirm-submit {
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
  color: var(--account-text);
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}

.account-confirm-submit {
  border-color: var(--account-lime);
  color: #071004;
  background: var(--account-lime);
}

.account-confirm-close:hover,
.account-confirm-close:focus-visible,
.account-confirm-cancel:hover,
.account-confirm-cancel:focus-visible {
  color: var(--account-text);
  border-color: rgba(255, 255, 255, .28);
}

.account-confirm-submit:hover,
.account-confirm-submit:focus-visible { background: var(--account-lime-soft); }

.account-confirm-submit:disabled { cursor: wait; opacity: .65; }

.account-card button:disabled,
.account-card .btn[aria-disabled="true"] {
  cursor: wait;
  opacity: .62;
}

.verification-journey { max-width: 680px; }
.journey-card .account-brand { margin-inline: 0; }
.journey-card > p { margin: 16px 0 0; font-size: 17px; line-height: 1.6; }

.journey-steps {
  margin: 28px 0;
  padding: 20px 0;
  display: grid;
  gap: 14px;
  border-block: 1px solid var(--account-line);
  list-style: none;
  counter-reset: journey;
}

.journey-steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  color: #d8d5dd;
  line-height: 1.5;
}

.journey-steps li::before {
  counter-increment: journey;
  content: counter(journey);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(141, 255, 24, .5);
  border-radius: 50%;
  color: var(--account-lime-soft);
  font-size: 12px;
  font-weight: 700;
}

.journey-actions {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.journey-note { margin: 20px 0 0 !important; font-size: 13px !important; line-height: 1.55 !important; }

.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;
}

.is-hidden { display: none !important; }

@media (max-width: 700px) {
  .account-header {
    top: 18px;
    width: calc(100% - 28px);
  }

  .account-header-brand {
    gap: 8px;
    font-size: 20px;
  }

  .account-header-brand img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .account-shell::after {
    left: -540px;
    top: 60%;
    width: 760px;
    height: 620px;
    -webkit-mask-image: linear-gradient(to right, #000 0 70%, rgba(0, 0, 0, .86) 71%, transparent 73%);
    mask-image: linear-gradient(to right, #000 0 70%, rgba(0, 0, 0, .86) 71%, transparent 73%);
    opacity: .78;
  }

  .account-shell .account,
  .account-shell .verification-journey {
    width: min(calc(100% - 28px), 540px);
    padding: 28px 0;
  }

  .account-shell .account-card,
  .account-shell .journey-card {
    padding: 30px 24px;
    border-radius: 24px;
  }

  .account-shell .account-card:not(.account-card-profile) {
    min-height: 0;
  }

  #signed-out .account-form .btn,
  #signed-out .account-provider,
  #signed-out .account-field input {
    min-height: 54px;
  }

  .account-brand { margin-bottom: 28px; font-size: 21px; }
  .account-brand img { width: 38px; height: 38px; }
  .account-shell .account-card h1,
  .account-shell .journey-card h1 { font-size: 36px; }
  #account-lead { font-size: 16px; }
  .account-provider img { left: 17px; }
  .account-profile { grid-template-columns: 1fr; }
  .account-code-inputs { gap: 6px; }
  .account-code-inputs input { border-radius: 12px; font-size: 19px; }
  .account-shell .account-card .account-code-title { font-size: 27px; }
  .code-active .account-back { top: 24px; left: 24px; }

  .account-profile-active .account-header {
    top: 0;
    width: calc(100% - 28px);
  }

  .account-profile-active .account {
    width: calc(100% - 28px);
    padding: 96px 0 56px;
  }

  .account-center-intro {
    margin-bottom: 44px;
  }

  .account-center-intro h1 {
    font-size: 40px;
  }

  .profile-section {
    margin-top: 36px;
  }

  .profile-summary {
    min-height: 0;
    padding: 18px;
    grid-template-columns: auto 1fr;
    gap: 14px;
  }

  .profile-summary .sign-out-action {
    grid-column: 1 / -1;
    justify-self: end;
  }

  .profile-avatar {
    width: 58px;
    height: 58px;
    font-size: 29px;
  }

  .account-disclosure {
    align-items: stretch;
    flex-direction: column;
  }

  .subscription-plans {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .subscription-plan {
    min-height: 210px;
  }

  .subscription-active {
    padding: 20px;
  }

  .subscription-active .subscription-plan-title strong {
    font-size: 28px;
  }

  .subscription-renewal-row {
    grid-template-columns: 1fr auto;
    gap: 7px 14px;
  }

  .subscription-renewal-label {
    grid-column: 1 / -1;
  }

  .billing-action {
    width: auto;
  }

  .security-row,
  .security-row:has(> img) {
    padding: 16px;
    grid-template-columns: 30px 1fr auto;
    gap: 12px;
  }

  .account-inline-form {
    grid-template-columns: 1fr;
  }

  .account-confirm { padding: 14px; }

  .account-confirm-card {
    padding: 30px 22px 22px;
    border-radius: 20px;
  }

  .account-confirm-card h2 {
    font-size: 21px;
    line-height: 29px;
  }

  .account-confirm-actions {
    margin-top: 26px;
  }
}

@media (min-width: 701px) and (max-width: 940px) {
  .subscription-plans {
    grid-template-columns: 1fr;
  }

  .subscription-plan {
    min-height: 205px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .account-shell *,
  .account-shell *::before,
  .account-shell *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
