:root {
  color-scheme: dark;
  --account-bg: #020304;
  --account-panel: #080b0f;
  --account-panel-soft: #0d1218;
  --account-border: rgba(141, 239, 255, 0.24);
  --account-border-strong: rgba(141, 239, 255, 0.6);
  --account-cyan: #8defff;
  --account-violet: #b062ff;
  --account-pink: #ff5a8c;
  --account-muted: rgba(255, 255, 255, 0.67);
  --account-danger: #ff8aaa;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--account-bg);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 78% 8%, rgba(176, 98, 255, 0.12), transparent 32rem),
    radial-gradient(circle at 12% 36%, rgba(141, 239, 255, 0.08), transparent 30rem),
    var(--account-bg);
  color: #fff;
  font-family: Archivo, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

button,
input,
select {
  font: inherit;
}

a {
  color: var(--account-cyan);
}

[hidden] {
  display: none !important;
}

.account-page {
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 96px);
  margin: 0 auto;
  padding: calc(var(--inflict-header-offset, 92px) + 28px) 0 84px;
}

.account-hero {
  max-width: 790px;
  margin-bottom: 30px;
}

.account-kicker {
  margin: 0 0 8px;
  color: var(--account-cyan);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.account-hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 5.6rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.95;
  text-transform: uppercase;
}

.account-hero > p:last-child {
  max-width: 710px;
  margin: 18px 0 0;
  color: var(--account-muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.account-layout {
  display: grid;
  align-items: start;
  gap: 28px;
  grid-template-columns: 210px minmax(0, 1fr);
}

.account-nav {
  position: sticky;
  top: calc(var(--inflict-header-offset, 92px) + 18px);
  display: grid;
  overflow: hidden;
  border: 1px solid var(--account-border);
  border-radius: 10px;
  background: rgba(6, 9, 12, 0.9);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.account-nav a {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(141, 239, 255, 0.12);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.account-nav a:last-child {
  border-bottom: 0;
}

.account-nav a:hover,
.account-nav a:focus-visible,
.account-nav a[aria-current="page"] {
  background: linear-gradient(90deg, rgba(141, 239, 255, 0.14), rgba(176, 98, 255, 0.08));
  color: #fff;
}

.account-nav a[aria-current="page"] {
  box-shadow: inset 3px 0 var(--account-cyan);
}

.account-view {
  min-width: 0;
}

.account-view[aria-busy="true"] {
  min-height: 260px;
}

.account-loading {
  display: grid;
  min-height: 260px;
  place-items: center;
  align-content: center;
  gap: 14px;
  border: 1px solid var(--account-border);
  border-radius: 12px;
  background: rgba(8, 11, 15, 0.72);
  color: var(--account-muted);
}

.account-loading span {
  width: 34px;
  height: 34px;
  border: 2px solid rgba(141, 239, 255, 0.18);
  border-top-color: var(--account-cyan);
  border-radius: 50%;
  animation: account-spin 850ms linear infinite;
}

.account-loading p {
  margin: 0;
}

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

.account-section-heading {
  display: flex;
  margin: 0 0 16px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.account-section-heading h2,
.account-card h2,
.account-card h3 {
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.account-section-heading p,
.account-card p {
  color: var(--account-muted);
}

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

.account-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-card {
  position: relative;
  min-width: 0;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--account-border);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(13, 18, 24, 0.98), rgba(5, 7, 10, 0.98));
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
}

.account-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(141, 239, 255, 0.7), transparent);
  content: "";
}

.account-card--wide {
  grid-column: 1 / -1;
}

.account-card--violet {
  border-color: rgba(176, 98, 255, 0.42);
}

.account-card--violet::before {
  background: linear-gradient(90deg, transparent, rgba(176, 98, 255, 0.9), transparent);
}

.account-card__eyebrow {
  display: block;
  margin-bottom: 9px;
  color: var(--account-cyan);
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.account-card__value {
  display: block;
  margin: 8px 0;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 850;
  letter-spacing: -0.04em;
}

.account-card__actions,
.account-actions {
  display: flex;
  margin-top: 18px;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.account-button {
  display: inline-flex;
  min-height: 42px;
  padding: 10px 15px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--account-border-strong);
  border-radius: 7px;
  background: #05080b;
  color: #fff;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.account-button:hover,
.account-button:focus-visible {
  border-color: #c8f7ff;
  box-shadow: 0 0 18px rgba(141, 239, 255, 0.2);
}

.account-button--primary {
  border-color: var(--account-cyan);
  background: var(--account-cyan);
  color: #001014;
}

.account-button--violet {
  border-color: var(--account-violet);
  background: #5433eb;
  color: #fff;
}

.account-button--danger {
  border-color: rgba(255, 90, 140, 0.55);
  color: var(--account-danger);
}

.account-button--current {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  cursor: default;
}

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

.account-passkey-list {
  display: grid;
  margin: 18px 0 0;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.account-passkey-list li {
  display: flex;
  min-width: 0;
  padding: 13px 14px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(141, 239, 255, 0.2);
  border-radius: 8px;
  background: rgba(0, 5, 8, 0.72);
}

.account-passkey-list strong,
.account-passkey-list small {
  display: block;
}

.account-passkey-list small {
  margin-top: 4px;
  color: var(--account-muted);
  font-size: 0.78rem;
}

.account-status {
  display: inline-flex;
  min-height: 27px;
  padding: 5px 9px;
  align-items: center;
  border: 1px solid rgba(141, 239, 255, 0.35);
  border-radius: 99px;
  background: rgba(141, 239, 255, 0.08);
  color: var(--account-cyan);
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.account-status--violet {
  border-color: rgba(176, 98, 255, 0.52);
  background: rgba(176, 98, 255, 0.12);
  color: #d7afff;
}

.account-status--muted {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.66);
}

.account-empty,
.account-error,
.account-signed-out {
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid var(--account-border);
  border-radius: 12px;
  background: rgba(8, 11, 15, 0.9);
  text-align: center;
}

.account-error {
  border-color: rgba(255, 90, 140, 0.42);
}

.account-empty h2,
.account-error h2,
.account-signed-out h2 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
}

.account-empty p,
.account-error p,
.account-signed-out p {
  max-width: 590px;
  margin: 12px auto 0;
  color: var(--account-muted);
}

.account-empty .account-actions,
.account-error .account-actions,
.account-signed-out .account-actions {
  justify-content: center;
}

.account-order-list,
.account-address-list,
.account-subscription-list {
  display: grid;
  gap: 16px;
}

.account-subscription-refresh {
  display: flex;
  padding: 13px 15px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(141, 239, 255, 0.25);
  border-radius: 10px;
  background: rgba(141, 239, 255, 0.06);
}

.account-subscription-refresh__mark {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 2px solid rgba(141, 239, 255, 0.18);
  border-top-color: var(--account-cyan);
  border-radius: 50%;
  animation: account-spin 850ms linear infinite;
}

.account-subscription-refresh p {
  display: grid;
  margin: 0;
  gap: 2px;
}

.account-subscription-refresh p span {
  color: var(--account-muted);
  font-size: 0.86rem;
}

.account-subscription-refresh--error {
  border-color: rgba(255, 145, 89, 0.34);
  background: rgba(255, 145, 89, 0.07);
}

.account-order__header,
.account-subscription__header,
.account-address__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.account-order__header p,
.account-subscription__header p,
.account-address__header p {
  margin: 5px 0 0;
}

.account-order__statuses {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.account-line-items {
  display: grid;
  margin: 18px 0 0;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.account-line-item {
  display: grid;
  min-width: 0;
  padding-top: 10px;
  align-items: center;
  border-top: 1px solid rgba(141, 239, 255, 0.12);
  gap: 12px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
}

.account-line-item__image,
.account-line-item__placeholder {
  display: grid;
  width: 48px;
  height: 48px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(141, 239, 255, 0.18);
  border-radius: 7px;
  background: #020304;
  color: rgba(141, 239, 255, 0.58);
  object-fit: cover;
}

.account-line-item strong,
.account-line-item small {
  display: block;
}

.account-line-item small,
.account-meta,
.account-help {
  color: var(--account-muted);
  font-size: 0.82rem;
}

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

.account-order__total strong {
  display: block;
  font-size: 1.2rem;
}

.account-form {
  display: grid;
  margin-top: 18px;
  gap: 15px;
}

.account-form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-field {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.account-field--wide {
  grid-column: 1 / -1;
}

.account-field > span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.account-field input,
.account-field select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(141, 239, 255, 0.28);
  border-radius: 7px;
  outline: 0;
  background: #020406;
  color: #fff;
}

.account-field input:focus,
.account-field select:focus {
  border-color: var(--account-cyan);
  box-shadow: 0 0 0 2px rgba(141, 239, 255, 0.13);
}

.account-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--account-muted);
}

.account-check input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--account-cyan);
}

.account-address-lines {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
}

.account-address-lines span {
  display: block;
}

.account-membership {
  display: grid;
  align-items: start;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.account-membership ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.76);
}

.account-subscription__facts {
  display: grid;
  margin: 18px 0 0;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-subscription__facts div {
  padding: 12px;
  border: 1px solid rgba(141, 239, 255, 0.13);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
}

.account-subscription__facts dt {
  color: var(--account-muted);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-subscription__facts dd {
  margin: 4px 0 0;
  font-weight: 750;
}

.account-plan-comparison {
  min-width: 0;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--account-border);
  border-radius: 14px;
  background:
    radial-gradient(circle at 82% 4%, rgba(176, 98, 255, 0.13), transparent 26rem),
    linear-gradient(145deg, rgba(10, 14, 19, 0.98), rgba(4, 6, 9, 0.98));
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.32);
}

.account-plan-comparison__header {
  display: flex;
  margin-bottom: 22px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.account-plan-comparison__header h2,
.account-subscription-management > header h2,
.account-unlimited-notice h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.55rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.account-plan-comparison__header p,
.account-subscription-management > header p,
.account-unlimited-notice > p {
  margin: 10px 0 0;
  color: var(--account-muted);
}

.account-plan-comparison__header strong {
  color: #fff;
}

.account-plan-cards {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-plan-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 390px;
  padding: clamp(20px, 3vw, 28px);
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(2, 4, 7, 0.9);
}

.account-plan-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(141, 239, 255, 0.75), transparent);
  content: "";
}

.account-plan-card--survivor {
  border-color: rgba(176, 98, 255, 0.52);
  background:
    radial-gradient(circle at 92% 7%, rgba(176, 98, 255, 0.2), transparent 16rem),
    rgba(8, 5, 14, 0.94);
}

.account-plan-card--survivor::before {
  background: linear-gradient(90deg, transparent, rgba(176, 98, 255, 0.95), transparent);
}

.account-plan-card.is-current {
  border-color: var(--account-cyan);
  box-shadow: inset 0 0 0 1px rgba(141, 239, 255, 0.16), 0 14px 36px rgba(0, 0, 0, 0.25);
}

.account-plan-card__topline {
  display: flex;
  min-height: 28px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.account-plan-card__topline .account-card__eyebrow {
  margin: 5px 0 0;
}

.account-plan-card h3 {
  margin: 13px 0 0;
  font-size: clamp(1.65rem, 4vw, 2.45rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.account-plan-card__price {
  display: flex;
  min-height: 52px;
  margin-top: 18px;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.account-plan-card__price strong {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
}

.account-plan-card__price span,
.account-plan-card__annual {
  color: var(--account-muted);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-plan-card__annual {
  margin: 2px 0 0 !important;
  color: #d7afff;
}

.account-plan-card > p:not(.account-plan-card__annual) {
  margin: 18px 0 0;
  color: var(--account-muted);
}

.account-plan-card ul {
  display: grid;
  margin: 18px 0 0;
  padding: 0;
  gap: 8px;
  list-style: none;
}

.account-plan-card li {
  display: grid;
  align-items: start;
  gap: 9px;
  grid-template-columns: 18px minmax(0, 1fr);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.account-plan-card li > span {
  color: var(--account-cyan);
  font-weight: 900;
}

.account-plan-card--survivor li > span {
  color: #d7afff;
}

.account-plan-card__action {
  display: grid;
  margin-top: auto;
  padding-top: 24px;
}

.account-plan-card__action .account-button {
  width: 100%;
}

.account-plan-table-wrap {
  min-width: 0;
  max-width: 100%;
  margin-top: 24px;
  overflow-x: auto;
  border: 1px solid rgba(141, 239, 255, 0.2);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  scrollbar-color: rgba(141, 239, 255, 0.48) rgba(255, 255, 255, 0.05);
}

.account-plan-table-wrap:focus-visible {
  outline: 2px solid var(--account-cyan);
  outline-offset: 3px;
}

.account-plan-table {
  width: 100%;
  min-width: 610px;
  border-collapse: collapse;
  table-layout: fixed;
}

.account-plan-table caption {
  padding: 18px 18px 12px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.account-plan-table th,
.account-plan-table td {
  padding: 15px 18px;
  border-top: 1px solid rgba(141, 239, 255, 0.12);
  vertical-align: middle;
}

.account-plan-table thead th {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.account-plan-table thead th:first-child,
.account-plan-table tbody th {
  width: 44%;
  text-align: left;
}

.account-plan-table thead th:last-child,
.account-plan-table tbody td:last-child {
  background: rgba(176, 98, 255, 0.07);
}

.account-plan-table tbody th {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 700;
}

.account-plan-table td {
  text-align: center;
}

.account-plan-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.84rem;
  font-weight: 780;
}

.account-plan-value__icon {
  color: var(--account-cyan);
  font-weight: 900;
}

.account-plan-value.is-unavailable,
.account-plan-value.is-unavailable .account-plan-value__icon {
  color: rgba(255, 255, 255, 0.43);
}

.account-plan-comparison__note {
  margin: 18px 0 0;
  padding-left: 14px;
  border-left: 2px solid rgba(141, 239, 255, 0.48);
  color: var(--account-muted);
  font-size: 0.84rem;
}

.account-unlimited-notice {
  padding: clamp(22px, 4vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(176, 98, 255, 0.62);
  border-radius: 14px;
  background:
    radial-gradient(circle at 90% 10%, rgba(141, 239, 255, 0.16), transparent 22rem),
    linear-gradient(145deg, rgba(37, 15, 61, 0.92), rgba(8, 7, 17, 0.98));
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.34);
}

.account-unlimited-notice__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.account-unlimited-notice__features {
  display: grid;
  margin: 22px 0 0;
  padding: 0;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
}

.account-unlimited-notice__features li {
  padding: 11px 13px;
  border: 1px solid rgba(176, 98, 255, 0.28);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.87rem;
  font-weight: 740;
}

.account-unlimited-notice .account-meta {
  margin: 18px 0 0;
}

.account-subscription-management {
  display: grid;
  padding-top: 16px;
  gap: 16px;
}

.account-subscription-management > header p {
  max-width: 620px;
}

.account-contract-list {
  display: grid;
  gap: 16px;
}

.account-subscription-source-note {
  display: grid;
  padding: 17px 19px;
  border: 1px solid rgba(176, 98, 255, 0.32);
  border-radius: 10px;
  background: rgba(176, 98, 255, 0.07);
  gap: 3px;
}

.account-subscription-source-note span {
  color: var(--account-muted);
  font-size: 0.86rem;
}

.account-header {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
}

.account-header__trigger {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 5px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--account-cyan);
  cursor: pointer;
}

.account-header__trigger:disabled {
  cursor: wait;
  opacity: 0.65;
}

.account-header__avatar {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(141, 239, 255, 0.78);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, rgba(141, 239, 255, 0.18), #000 68%);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.account-header__avatar > span,
.account-header__avatar img {
  grid-area: 1 / 1;
}

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

.account-header__trigger:hover .account-header__avatar,
.account-header__trigger:focus-visible .account-header__avatar,
.account-header.is-open .account-header__avatar {
  border-color: #c8f7ff;
  box-shadow: 0 0 15px rgba(141, 239, 255, 0.48);
}

.account-header__trigger:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.account-header__menu {
  position: absolute;
  z-index: 2147483300;
  top: calc(100% + 10px);
  right: 0;
  width: min(240px, calc(100vw - 28px));
  padding: 8px;
  border: 1px solid rgba(141, 239, 255, 0.35);
  border-radius: 10px;
  background: #05080b;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.8);
}

.account-header__identity {
  display: grid;
  margin: 0;
  padding: 9px 10px 11px;
  overflow: hidden;
  border-bottom: 1px solid rgba(141, 239, 255, 0.15);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-header__identity strong,
.account-header__identity span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-header__identity strong {
  color: #fff;
  font-size: 0.78rem;
}

.account-header__identity span {
  margin-top: 2px;
}

.account-header__menu a,
.account-header__menu button {
  display: block;
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
}

.account-header__menu a:hover,
.account-header__menu a:focus-visible,
.account-header__menu button:hover,
.account-header__menu button:focus-visible {
  background: rgba(141, 239, 255, 0.1);
  outline: 0;
}

.account-toast-region {
  position: fixed;
  z-index: 2147483400;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(70px, calc(18px + env(safe-area-inset-bottom)));
  display: grid;
  width: min(390px, calc(100vw - 36px));
  gap: 10px;
  pointer-events: none;
}

.account-toast {
  padding: 13px 15px;
  border: 1px solid var(--account-border-strong);
  border-radius: 8px;
  background: #061015;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.65);
  color: #fff;
}

.account-toast--error {
  border-color: rgba(255, 90, 140, 0.62);
  background: #18070d;
}

.account-noscript {
  position: fixed;
  z-index: 2147483640;
  right: 12px;
  bottom: 12px;
  left: 12px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--account-danger);
  background: #18070d;
  color: #fff;
  text-align: center;
}

@media (max-width: 860px) {
  .account-page {
    width: min(100% - 28px, 720px);
  }

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

  .account-nav {
    position: static;
    display: flex;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .account-nav a {
    flex: 1 0 auto;
    border-right: 1px solid rgba(141, 239, 255, 0.12);
    border-bottom: 0;
    text-align: center;
  }

  .account-nav a[aria-current="page"] {
    box-shadow: inset 0 -3px var(--account-cyan);
  }

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

@media (max-width: 620px) {
  .account-page {
    width: min(100% - 20px, 560px);
    padding-bottom: 64px;
  }

  .account-hero {
    margin-bottom: 22px;
  }

  .account-nav {
    display: grid;
    overflow: hidden;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-nav a {
    border-right: 1px solid rgba(141, 239, 255, 0.12);
    border-bottom: 1px solid rgba(141, 239, 255, 0.12);
  }

  .account-nav a:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .account-grid,
  .account-form-grid,
  .account-subscription__facts,
  .account-membership,
  .account-plan-cards,
  .account-unlimited-notice__features {
    grid-template-columns: 1fr;
  }

  .account-plan-card {
    min-height: 0;
  }

  .account-plan-card__action {
    margin-top: 0;
  }

  .account-unlimited-notice__heading {
    display: grid;
  }

  .account-plan-table {
    min-width: 0;
  }

  .account-plan-table th,
  .account-plan-table td {
    padding: 12px 8px;
  }

  .account-plan-table thead th:first-child,
  .account-plan-table tbody th {
    width: 46%;
  }

  .account-plan-value {
    flex-wrap: wrap;
    gap: 4px;
    font-size: 0.72rem;
  }

  .account-card {
    padding: 18px;
  }

  .account-order__header,
  .account-subscription__header,
  .account-address__header {
    display: grid;
  }

  .account-order__statuses {
    justify-content: flex-start;
  }

  .account-line-item {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .account-line-item__image,
  .account-line-item__placeholder {
    width: 42px;
    height: 42px;
  }

  .account-order__total {
    grid-column: 2;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .account-loading span,
  .account-subscription-refresh__mark {
    animation-duration: 1.8s;
  }
}
