.account-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: #010203;
  color: #edf4fb;
}

.account-page .site-bg {
  display: none;
}

.account-auth-screen {
  position: relative;
  min-height: 100vh;
  padding: clamp(1.25rem, 3vw, 2rem) 0 clamp(3rem, 6vw, 4.5rem);
  overflow: clip;
}

.account-auth-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.account-auth-noise,
.account-auth-rays {
  position: absolute;
  inset: 0;
}

.account-auth-noise {
  opacity: 0.05;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.55) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 28%, rgba(255, 255, 255, 0.34) 0 1px, transparent 1px),
    radial-gradient(circle at 36% 74%, rgba(255, 255, 255, 0.28) 0 1px, transparent 1px);
  background-size: 16rem 16rem, 22rem 22rem, 18rem 18rem;
}

.account-auth-rays {
  overflow: hidden;
}

.account-auth-ray {
  position: absolute;
  left: 50%;
  bottom: -8%;
  width: 24rem;
  height: 120vh;
  transform-origin: bottom center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(115, 203, 235, 0.18) 46%, rgba(115, 203, 235, 0));
  filter: blur(10px);
  opacity: 0.22;
  mix-blend-mode: screen;
}

.account-auth-ray-a {
  transform: translateX(-50%) rotate(-26deg);
  animation: accountRayShiftA 12s ease-in-out infinite;
}

.account-auth-ray-b {
  transform: translateX(-50%) rotate(-12deg);
  animation: accountRayShiftB 16s ease-in-out infinite;
}

.account-auth-ray-c {
  transform: translateX(-50%) rotate(4deg);
  animation: accountRayShiftC 11s ease-in-out infinite;
}

.account-auth-ray-d {
  transform: translateX(-50%) rotate(18deg);
  animation: accountRayShiftD 15s ease-in-out infinite;
}

.account-auth-ray-e {
  transform: translateX(-50%) rotate(30deg);
  animation: accountRayShiftE 13s ease-in-out infinite;
}

.account-auth-shell {
  position: relative;
  z-index: 1;
}

.account-corner-link {
  position: absolute;
  top: 0;
  left: 1.2rem;
  color: rgba(237, 244, 251, 0.62);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-corner-link:hover,
.account-corner-link:focus-visible {
  color: #fff;
}

.account-auth-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 32rem);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  min-height: calc(100vh - 4rem);
}

.account-auth-copyblock {
  max-width: 34rem;
}

.account-auth-kicker {
  margin: 0 0 0.85rem;
  color: rgba(167, 210, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.account-kinetic {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.9rem, 10vw, 8rem);
  line-height: 0.86;
  letter-spacing: -0.06em;
}

.account-kinetic-line {
  display: block;
}

.account-kinetic-line-accent {
  color: #7bd0ef;
}

.account-kinetic-word {
  display: inline-flex;
  justify-content: flex-start;
}

.account-kinetic-char {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 26px, 0) scale(0.96);
  transition:
    transform 380ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 380ms ease,
    text-shadow 140ms ease;
  will-change: transform, opacity;
}

.account-auth-screen.is-ready .account-kinetic-char {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.account-auth-card {
  position: relative;
  width: min(100%, 32rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 7, 10, 0.96);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.56),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.account-auth-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 0.18rem;
  background: linear-gradient(90deg, #74d2ee, #8d6dff 54%, #f2c46d);
}

.account-auth-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.account-back-link {
  color: rgba(237, 244, 251, 0.62);
  text-decoration: none;
  font-size: 0.94rem;
}

.account-back-link:hover,
.account-back-link:focus-visible {
  color: #fff;
}

.account-status-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #7bd0ef;
  box-shadow: 0 0 0 0.35rem rgba(123, 208, 239, 0.08);
}

.account-panel-switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.account-panel-tab {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(237, 244, 251, 0.64);
  padding: 0.72rem 0.95rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.account-panel-tab.is-active {
  background: rgba(255, 255, 255, 0.96);
  color: #09111b;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.account-panel {
  display: none;
  margin-top: 1.35rem;
  opacity: 0;
  transform: translateY(10px);
}

.account-panel.is-active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: accountPanelIn 260ms ease-out;
}

.account-panel h2 {
  margin-bottom: 0.8rem;
  color: #f4f8fc;
}

.account-otp-form {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.account-form .field span {
  color: rgba(237, 244, 251, 0.82);
}

.account-form .field input {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #f3f7fb;
}

.account-form .field input::placeholder {
  color: rgba(237, 244, 251, 0.34);
}

.account-form .field input:focus {
  border-color: rgba(123, 208, 239, 0.56);
  box-shadow: 0 0 0 0.25rem rgba(123, 208, 239, 0.12);
}

.account-submit {
  width: 100%;
  justify-content: center;
  box-shadow: 0 18px 34px rgba(94, 160, 244, 0.2);
}

.account-shell {
  position: relative;
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.account-hero {
  position: relative;
  z-index: 1;
}

.account-intro h1 {
  max-width: 16ch;
}

.account-chipset {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.account-chipset span {
  padding: 0.45rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(27, 127, 166, 0.18);
  background: rgba(255, 255, 255, 0.52);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 700;
}

.account-story-card {
  margin-top: 0.75rem;
}

.account-session-card {
  position: relative;
  z-index: 1;
  margin-top: 1.25rem;
}

.account-session-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.account-session-meta .card {
  min-height: 100%;
}

@keyframes accountPanelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes accountRayShiftA {
  0%, 100% { opacity: 0.18; transform: translateX(-50%) rotate(-26deg) scaleY(0.96); }
  50% { opacity: 0.3; transform: translateX(-50%) rotate(-22deg) scaleY(1.03); }
}

@keyframes accountRayShiftB {
  0%, 100% { opacity: 0.16; transform: translateX(-50%) rotate(-12deg) scaleY(0.98); }
  50% { opacity: 0.26; transform: translateX(-50%) rotate(-8deg) scaleY(1.05); }
}

@keyframes accountRayShiftC {
  0%, 100% { opacity: 0.16; transform: translateX(-50%) rotate(4deg) scaleY(0.95); }
  50% { opacity: 0.28; transform: translateX(-50%) rotate(8deg) scaleY(1.04); }
}

@keyframes accountRayShiftD {
  0%, 100% { opacity: 0.18; transform: translateX(-50%) rotate(18deg) scaleY(0.97); }
  50% { opacity: 0.28; transform: translateX(-50%) rotate(14deg) scaleY(1.05); }
}

@keyframes accountRayShiftE {
  0%, 100% { opacity: 0.14; transform: translateX(-50%) rotate(30deg) scaleY(0.95); }
  50% { opacity: 0.24; transform: translateX(-50%) rotate(26deg) scaleY(1.03); }
}

@media (max-width: 920px) {
  .account-auth-stack {
    grid-template-columns: 1fr;
    place-items: start center;
    min-height: auto;
    padding-top: 3rem;
  }

  .account-auth-copyblock {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .account-auth-screen {
    min-height: auto;
  }

  .account-kinetic {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .account-auth-line-a,
  .account-auth-line-b {
    width: 10rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  .account-panel.is-active {
    animation: none;
  }

  .account-kinetic-char {
    transition: none;
  }

  .account-auth-ray {
    animation: none;
  }
}
