:root {
  --bg: #060709;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #eef1f7;
  --text-dim: #9aa3b2;
  --text-faint: #5f6877;
  --discord: #5865f2;
  --telegram: #29a9ea;
  --accent: #38d5c4;
  --danger: #ff5d73;
  --warn: #f5b944;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }

/* ================= Animated background ================= */
.login-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(88, 101, 242, 0.16), transparent 55%),
    radial-gradient(120% 90% at 10% 110%, rgba(41, 169, 234, 0.16), transparent 55%),
    var(--bg);
}
.aurora { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; will-change: transform; }
.aurora--1 { width: 640px; height: 640px; left: -140px; top: -80px;
  background: radial-gradient(circle, rgba(88,101,242,0.55), transparent 68%); animation: a1 26s var(--ease) infinite; }
.aurora--2 { width: 560px; height: 560px; right: -120px; top: 20%;
  background: radial-gradient(circle, rgba(41,169,234,0.5), transparent 68%); animation: a2 32s var(--ease) infinite; }
.aurora--3 { width: 480px; height: 480px; left: 32%; bottom: -200px;
  background: radial-gradient(circle, rgba(56,213,196,0.4), transparent 70%); animation: a1 38s var(--ease) infinite reverse; opacity: 0.35; }
@keyframes a1 { 0%,100% { transform: translate(0,0) } 50% { transform: translate(60px,40px) } }
@keyframes a2 { 0%,100% { transform: translate(0,0) } 50% { transform: translate(-50px,-30px) } }

.particles { position: absolute; inset: 0; }
.particle { position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: rgba(255,255,255,0.55); opacity: 0; animation: rise linear infinite; }
@keyframes rise {
  0% { transform: translateY(0) scale(0.6); opacity: 0; }
  12% { opacity: 0.7; }
  88% { opacity: 0.5; }
  100% { transform: translateY(-110vh) scale(1.1); opacity: 0; }
}
.login-bg__vignette { position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% 40%, transparent 50%, rgba(0,0,0,0.55)); }

/* ================= Stage ================= */
.login-stage { position: relative; z-index: 1; min-height: 100vh; display: grid;
  place-items: center; padding: 40px 20px; }

/* ================= Login card ================= */
.login-view { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 18px; align-items: center;
  animation: cardIn 0.7s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(0.98) } to { opacity: 1; transform: none } }

.glass-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  position: relative;
}
.login-card { width: 100%; padding: 34px 30px; text-align: center; overflow: hidden; }
.login-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); }
.login-card__mark {
  width: 62px; height: 62px; margin: 0 auto 18px; display: grid; place-items: center;
  border-radius: 18px; background: var(--surface-2); border: 1px solid var(--border);
  box-shadow: 0 10px 30px -10px rgba(56,213,196,0.4); animation: markIn 0.8s var(--ease) 0.1s both;
}
@keyframes markIn { from { opacity: 0; transform: scale(0.8) } to { opacity: 1; transform: none } }
.login-title { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.login-sub { margin: 8px 0 0; color: var(--text-dim); font-size: 13.5px; line-height: 1.55; max-width: 320px; margin-left: auto; margin-right: auto; }

/* ================= Provider buttons ================= */
.provider-stack { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.provider-btn {
  position: relative; display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 15px 18px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font-size: 15px; font-weight: 500;
  text-align: left; overflow: hidden; isolation: isolate;
  transition: transform 0.18s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.3s var(--ease);
}
.provider-btn svg { flex: 0 0 26px; }
.provider-btn span { flex: 1; }
.provider-btn__arrow { opacity: 0; transform: translateX(-8px); transition: all 0.25s var(--ease); font-style: normal; color: var(--text-dim); }
.provider-btn:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.provider-btn:hover .provider-btn__arrow { opacity: 1; transform: none; }
.provider-btn:active { transform: translateY(0) scale(0.99); }
.provider-btn:disabled { opacity: 0.5; cursor: wait; transform: none; }
/* hover sheen */
.provider-btn::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.3s var(--ease);
  background: radial-gradient(120% 140% at 50% -30%, rgba(255,255,255,0.14), transparent 60%); }
.provider-btn:hover::after { opacity: 1; }

.provider-btn--discord { color: #c8ceff; }
.provider-btn--discord svg { color: var(--discord); }
.provider-btn--discord:hover { border-color: rgba(88,101,242,0.6); box-shadow: 0 14px 40px -14px rgba(88,101,242,0.7), inset 0 0 0 1px rgba(88,101,242,0.3); }
.provider-btn--telegram { color: #cfeeff; }
.provider-btn--telegram svg { color: var(--telegram); }
.provider-btn--telegram:hover { border-color: rgba(41,169,234,0.6); box-shadow: 0 14px 40px -14px rgba(41,169,234,0.7), inset 0 0 0 1px rgba(41,169,234,0.3); }

.login-note { margin: 22px 0 0; font-size: 12px; color: var(--text-faint); line-height: 1.55; }
.login-note b { color: var(--text-dim); font-weight: 600; }

.login-foot { color: var(--text-faint); font-size: 13px; }
.login-foot__link { text-decoration: none; transition: color 0.2s var(--ease); }
.login-foot__link:hover { color: var(--accent); }

/* ================= Status views (pending / locked) ================= */
.status-view { width: 100%; max-width: 440px; animation: cardIn 0.6s var(--ease) both; }
.status-card { padding: 40px 32px; text-align: center; overflow: hidden; }
.status-card--warn::before { background: linear-gradient(90deg, transparent, rgba(245,185,68,0.5), transparent); }

.status-card__loader { position: relative; width: 92px; height: 92px; margin: 0 auto 24px; }
.loader-ring { position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid transparent; border-top-color: var(--accent); border-right-color: var(--accent);
  animation: spin 1.1s linear infinite; }
.loader-ring--2 { inset: 10px; border-top-color: rgba(255,255,255,0.35); border-right-color: transparent; animation: spin 0.7s linear infinite reverse; }
.loader-core { position: absolute; inset: 0; display: grid; place-items: center; font-size: 30px; }
@keyframes spin { to { transform: rotate(360deg); } }

.status-card__icon { font-size: 52px; margin-bottom: 14px; animation: iconPulse 2.4s var(--ease) infinite; }
@keyframes iconPulse { 0%,100% { transform: scale(1); opacity: 0.9 } 50% { transform: scale(1.08); opacity: 1 } }

.status-title { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.status-desc { margin: 12px 0 0; color: var(--text-dim); font-size: 14px; line-height: 1.6; }

.status-meta { display: flex; align-items: center; gap: 12px; justify-content: center; margin: 22px 0; }
.status-meta__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; display: grid; place-items: center; font-weight: 700; color: var(--text-dim); }
.status-meta__avatar img { width: 100%; height: 100%; object-fit: cover; }
.status-meta div { text-align: left; display: flex; flex-direction: column; }
.status-meta b { font-size: 14px; }
.status-meta small { font-size: 12px; color: var(--text-faint); font-family: "JetBrains Mono", monospace; }

.status-ticker { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-dim);
  padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); margin: 6px 0 0; }
.ticker-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s var(--ease) infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1) } 50% { opacity: 0.4; transform: scale(0.7) } }

.status-expiry { margin: 18px auto 0; max-width: 300px; font-family: "JetBrains Mono", monospace; font-size: 13px; color: var(--text-dim); }

.status-actions { display: flex; gap: 10px; justify-content: center; margin-top: 26px; }

.btn-status { padding: 11px 20px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--accent), #2ba89b); color: #05201d; font-weight: 600; font-size: 14px;
  transition: transform 0.18s var(--ease), box-shadow 0.3s var(--ease); }
.btn-status:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(56,213,196,0.7); }
.btn-status:active { transform: scale(0.98); }
.btn-status--ghost { background: var(--surface-2); color: var(--text); border-color: var(--border); }
.btn-status--ghost:hover { box-shadow: none; background: var(--surface); }

/* ================= Toast ================= */
.login-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 100;
  padding: 12px 20px; border-radius: 10px; background: rgba(255,93,115,0.15); border: 1px solid rgba(255,93,115,0.4);
  color: #ffd9e0; font-size: 13.5px; box-shadow: var(--shadow); backdrop-filter: blur(12px);
  animation: toastIn 0.3s var(--ease); }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 12px) } to { opacity: 1; transform: translate(-50%, 0) } }

/* ================= Responsive ================= */
@media (max-width: 480px) {
  .login-card, .status-card { padding: 26px 20px; }
  .login-stage { padding: 26px 16px; }
  .provider-btn { font-size: 14px; padding: 13px 15px; }
}

/* ================= Reduced motion ================= */
@media (prefers-reduced-motion: reduce) {
  .aurora, .particle, .loader-ring, .status-card__icon, .ticker-dot { animation: none !important; }
  .login-view, .status-view, .login-card__mark { animation: none; opacity: 1; transform: none; }
  .provider-btn { transition: none; }
  .particle { display: none; }
}

/* ================= Nasdaq Life sign-in refresh ================= */
:root {
  --bg: #030916;
  --text-dim: #a8b8d3;
  --text-faint: #8190ab;
}
.login-bg {
  background:
    radial-gradient(ellipse at 50% 48%, rgba(5, 24, 55, .24), transparent 54%),
    radial-gradient(ellipse at 100% 38%, rgba(0, 117, 255, .2), transparent 40%),
    radial-gradient(ellipse at 0% 100%, rgba(20, 64, 211, .42), transparent 42%),
    linear-gradient(122deg, #020711 4%, #06142e 53%, #030817 100%);
}
.login-bg::before {
  content: "";
  position: absolute;
  inset: 8% -4% 4% 62%;
  opacity: .34;
  background-image: radial-gradient(circle, rgba(0, 185, 255, .95) 1px, transparent 1.8px);
  background-size: 10px 10px;
  mask-image: radial-gradient(ellipse at 58% 40%, #000 0 22%, transparent 69%);
  transform: rotate(-11deg) skewY(-9deg);
}
.login-bg::after {
  content: "";
  position: absolute;
  left: -8%; right: 52%; top: 25%; height: 56%; opacity: .19;
  background: repeating-linear-gradient(90deg, transparent 0 20px, #00c6ff 21px 22px, transparent 23px 39px);
  clip-path: polygon(0 84%, 5% 78%, 5% 60%, 7% 60%, 7% 79%, 12% 71%, 12% 51%, 14% 51%, 14% 72%, 19% 59%, 19% 43%, 21% 43%, 21% 62%, 27% 48%, 27% 25%, 29% 25%, 29% 51%, 36% 38%, 36% 15%, 38% 15%, 38% 41%, 46% 26%, 46% 3%, 48% 3%, 48% 31%, 56% 20%, 56% 0, 58% 0, 58% 23%, 66% 13%, 66% 0, 68% 0, 68% 15%, 100% 0, 100% 100%, 0 100%);
  mask-image: linear-gradient(90deg, #000, transparent);
}
.aurora--1 { opacity: .22; background: radial-gradient(circle, rgba(34, 98, 255, .44), transparent 68%); }
.aurora--2 { opacity: .26; background: radial-gradient(circle, rgba(0, 190, 255, .5), transparent 68%); }
.aurora--3 { opacity: .2; }
.login-bg__vignette { background: linear-gradient(180deg, rgba(0, 3, 12, .08), rgba(0, 4, 14, .22)); }
.login-bg::before, .login-bg::after { display: none; }
.login-bg__art { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .63; }
.login-stage { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 104px 24px 44px; }
.login-view { width: min(100%, 760px); max-width: 760px; gap: 18px; }
.login-brand { position: fixed; z-index: 2; top: 18px; left: 5.2vw; right: 5.2vw; display: flex; align-items: center; justify-content: space-between; }
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; color: #f6f9ff; text-decoration: none; font-size: 28px; font-weight: 750; letter-spacing: -.055em; }
.brand-lockup svg { filter: drop-shadow(0 0 14px rgba(0, 206, 255, .3)); }
.brand-lockup b { color: #679cff; }
.brand-tagline { color: #9aaccb; font-size: 15px; font-weight: 500; text-align: right; }
.brand-tagline i { display: block; height: 2px; width: 132px; margin: 10px 0 0 auto; background: linear-gradient(90deg, #00d9f5, #8a54ff); box-shadow: 0 0 12px rgba(41, 162, 255, .38); }
.login-card {
  padding: 46px 48px 34px;
  border: 1px solid rgba(47, 115, 255, .68);
  border-radius: 30px;
  background: linear-gradient(148deg, rgba(8, 24, 51, .96), rgba(4, 12, 28, .98) 72%);
  box-shadow: 0 0 0 1px rgba(40, 91, 208, .13), 0 30px 90px rgba(0, 0, 0, .58), inset 0 1px 0 rgba(163, 206, 255, .08), 0 0 64px rgba(0, 78, 255, .11);
  backdrop-filter: blur(28px);
}
.login-card::before { display: none; }
.login-card__mark { width: 96px; height: 96px; margin: 0 auto 20px; border-radius: 28px; background: linear-gradient(145deg, rgba(0, 211, 255, .18), rgba(21, 45, 101, .44)); border: 1px solid rgba(0, 196, 255, .6); box-shadow: 0 0 34px rgba(0, 188, 255, .2), inset 0 0 24px rgba(0, 172, 255, .1); }
.login-card__mark svg { width: 56px; height: 56px; }
.login-title { font-size: clamp(34px, 4vw, 48px); letter-spacing: -.045em; }
.login-title span { background: linear-gradient(100deg, #12caff, #628dff 65%, #9a68ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.login-sub { max-width: 540px; margin-top: 13px; font-size: clamp(15px, 1.55vw, 19px); line-height: 1.55; }
.provider-stack { gap: 13px; margin-top: 30px; }
.provider-btn { min-height: 88px; padding: 13px 22px; gap: 18px; border-radius: 20px; border-color: rgba(107, 139, 255, .72); background: linear-gradient(105deg, rgba(65, 58, 212, .5), rgba(18, 36, 113, .8)); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 12px 28px rgba(28, 42, 145, .16); font-size: 17px; }
.provider-btn svg { flex-basis: 58px; width: 58px; height: 58px; padding: 14px; border-radius: 17px; background: linear-gradient(145deg, #6757ff, #383be0); color: #fff !important; filter: drop-shadow(0 6px 13px rgba(25, 45, 255, .35)); }
.provider-btn span { display: flex; flex-direction: column; gap: 4px; }
.provider-btn span b { font-size: 17px; font-weight: 650; }
.provider-btn span small { color: #b6c4e3; font-size: 13px; font-weight: 450; }
.provider-btn__arrow { opacity: 1; transform: none; color: #b5c8ff; font-size: 26px; font-style: normal; }
.provider-btn--discord { color: #f3f5ff; border-color: #796cff; background: linear-gradient(105deg, rgba(72, 59, 225, .56), rgba(18, 32, 111, .84)); }
.provider-btn--discord:hover { border-color: #9f96ff; box-shadow: 0 0 30px rgba(103, 83, 255, .38), inset 0 0 0 1px rgba(134, 120, 255, .35); }
.provider-btn--telegram { color: #f3fbff; border-color: #00c8ed; background: linear-gradient(105deg, rgba(0, 146, 206, .54), rgba(6, 55, 115, .85)); }
.provider-btn--telegram svg { background: linear-gradient(145deg, #06c5f2, #087acb); }
.provider-btn--telegram:hover { border-color: #3be7ff; box-shadow: 0 0 30px rgba(0, 194, 255, .32), inset 0 0 0 1px rgba(0, 220, 255, .28); }
.provider-btn:disabled { opacity: .44; filter: saturate(.65); }
.provider-btn--telegram { display: flex; cursor: pointer; }
.provider-btn--telegram svg { background: linear-gradient(145deg, #06c5f2, #087acb); }
.provider-btn--unavailable { opacity: .48; filter: saturate(.6); }
.provider-btn--discord:focus-visible, .provider-btn--telegram:focus-visible, .login-foot__link:focus-visible { outline: 3px solid #9eeaff; outline-offset: 4px; }
.login-divider { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 27px auto 14px; color: #829bc4; }
.login-divider i { width: 120px; height: 1px; background: linear-gradient(90deg, transparent, #7894c3); }
.login-divider i:last-child { transform: rotate(180deg); }
.login-divider svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.login-note { max-width: 500px; margin: 0 auto; font-size: 15px; line-height: 1.6; color: #9aaccb; }
.login-note b { color: #14bdf1; text-decoration: underline; text-underline-offset: 3px; }
.login-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; padding: 13px 12px; border: 1px solid rgba(109, 140, 195, .23); border-radius: 20px; background: rgba(8, 20, 42, .78); text-align: left; }
.login-benefits > div { display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 0; }
.login-benefits > div + div { border-left: 1px solid rgba(109, 140, 195, .16); }
.benefit-icon { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; font-style: normal; font-size: 25px; font-weight: 700; }
.benefit-icon--cyan { color: #08d5f6; background: rgba(0, 190, 245, .16); }
.benefit-icon--purple { color: #bd55ff; background: rgba(165, 55, 255, .18); }
.benefit-icon--green { color: #00e2c1; background: rgba(0, 205, 178, .16); }
.login-benefits span { display: flex; flex-direction: column; gap: 5px; }
.login-benefits b { color: #dce8ff; font-size: 14px; font-weight: 600; }
.login-benefits small { color: #8698b7; font-size: 12px; white-space: nowrap; }
.provider-status { margin: 14px 0 0; color: #ffcf84; font-size: 12px; line-height: 1.5; }
.provider-hint { margin: 12px 0 -5px; color: #778cac; font-size: 12px; line-height: 1.45; text-align: center; }
.login-foot { margin: 0; font-size: 14px; color: #92a6c7; }
.login-foot__link:hover { color: #20d8ff; }
.status-view { max-width: 770px; }

@media (max-width: 720px) {
  .login-stage { padding: 90px 16px 30px; }
  .login-brand { position: absolute; top: 14px; left: 18px; right: 18px; }
  .brand-lockup { gap: 7px; font-size: 20px; }
  .brand-lockup svg { width: 36px; height: 36px; }
  .brand-tagline { font-size: 11px; }
  .brand-tagline i { width: 90px; margin-top: 6px; }
  .login-card { padding: 34px 24px 24px; border-radius: 26px; }
  .login-card__mark { width: 78px; height: 78px; border-radius: 22px; margin-bottom: 17px; }
  .login-card__mark svg { width: 52px; height: 52px; }
  .login-sub { font-size: 15px; }
  .provider-stack { margin-top: 28px; gap: 12px; }
  .provider-btn { min-height: 76px; padding: 10px 13px; gap: 12px; border-radius: 17px; }
  .provider-btn svg { flex-basis: 48px; width: 48px; height: 48px; padding: 12px; border-radius: 15px; }
  .provider-btn span b { font-size: 15px; }
  .provider-btn span small { font-size: 12px; }
  .provider-btn__arrow { font-size: 21px; }
  .login-divider { gap: 14px; margin-top: 22px; }
  .login-divider i { width: 65px; }
  .login-note { font-size: 12px; }
  .provider-hint { font-size: 10px; }
  .login-benefits { gap: 5px; padding: 12px 6px; border-radius: 17px; }
  .login-benefits > div { flex-direction: column; gap: 6px; text-align: center; }
  .benefit-icon { flex-basis: 42px; width: 42px; height: 42px; font-size: 23px; }
  .login-benefits b { font-size: 12px; }
  .login-benefits small { font-size: 9px; white-space: normal; }
}
@media (max-width: 380px) {
  .brand-tagline { max-width: 130px; }
  .login-card { padding-inline: 16px; }
  .provider-btn { gap: 9px; padding-inline: 11px; }
}

@media (max-height: 760px) and (min-width: 721px) {
  .login-stage { justify-content: flex-start; padding-top: 88px; }
  .login-card { padding-top: 32px; padding-bottom: 24px; }
  .login-card__mark { width: 76px; height: 76px; border-radius: 22px; margin-bottom: 12px; }
  .login-card__mark svg { width: 46px; height: 46px; }
  .provider-stack { margin-top: 22px; }
  .provider-btn { min-height: 72px; }
  .login-divider { margin-top: 18px; }
  .login-benefits { margin-top: 18px; }
}

/* Nasdaq Life sign-in theme */
:root {
  --bg: #f3f5f7;
  --surface: #fff;
  --surface-2: #fff;
  --border: #dce3ea;
  --border-strong: #c7d2de;
  --text: #1d344a;
  --text-dim: #61758a;
  --text-faint: #8595a6;
  --accent: #1d344a;
  --shadow: 0 24px 60px rgba(35, 54, 75, .08);
}
html, body { min-height: 100%; height: auto; }
body { min-height: 100vh; background: var(--bg); color: var(--text); }
.login-bg {
  background:
    radial-gradient(ellipse at 12% 22%, rgba(218, 228, 239, .7), transparent 38%),
    radial-gradient(ellipse at 90% 78%, rgba(224, 232, 240, .65), transparent 36%),
    #f3f5f7;
}
.login-bg .aurora, .login-bg .particles, .login-bg__art { display: none; }
.login-bg__vignette {
  background: radial-gradient(ellipse at center, transparent 35%, rgba(222, 228, 235, .23));
}
.login-stage {
  min-height: 100vh;
  padding: 104px 24px 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-brand { position: fixed; top: 28px; left: max(24px, calc((100vw - 1280px) / 2)); right: max(24px, calc((100vw - 1280px) / 2)); }
.brand-lockup { gap: 8px; color: #1d344a; font-size: 21px; }
.brand-lockup svg { width: 36px; height: 36px; }
.brand-lockup svg path { stroke: #275a95; }
.brand-lockup span b { color: #1d344a; }
.brand-tagline { color: #8796a5; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.brand-tagline i { display: none; }
.login-view { width: min(100%, 460px); max-width: 460px; gap: 14px; }
.login-card {
  width: 100%;
  padding: 34px 28px 28px;
  overflow: visible;
  border: 1px solid #dce3ea;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(39, 59, 81, .08);
  backdrop-filter: none;
  text-align: left;
}
.login-card::before, .login-card__mark { display: none; }
.login-card__head { text-align: left; }
.login-eyebrow { margin: 0 0 14px; color: #71869b; font-size: 10px; font-weight: 700; letter-spacing: .17em; }
.login-title { color: #1d344a; font-size: 27px; letter-spacing: -.04em; }
.login-title span { color: #1d344a; background: none; -webkit-text-fill-color: currentColor; }
.login-sub { max-width: none; margin: 9px 0 0; color: #687d92; font-size: 14px; line-height: 1.5; }
.provider-stack { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 10px; margin-top: 24px; }
.provider-btn, .provider-soon__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid #cdd9e5;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
  color: #20394f;
  font-size: 14px;
  text-align: center;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.provider-btn svg, .provider-soon__button svg { flex: 0 0 20px; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 0; background: none; color: #2388c9 !important; filter: none; }
.provider-btn span { flex: 0 1 auto; display: block; }
.provider-btn span b, .provider-soon__button span b { color: inherit; font-size: 14px; font-weight: 600; }
.provider-btn--telegram { color: #20394f; border-color: #cdd9e5; background: #fff; cursor: pointer; }
.provider-btn--telegram:hover { transform: translateY(-1px); border-color: #93b5d4; background: #fafdff; box-shadow: 0 5px 14px rgba(35, 90, 140, .08); }
.provider-btn--telegram { min-height: 50px; padding: 3px; cursor: default; }
.provider-btn--telegram:hover { transform: none; }
.telegram-widget-host { display: flex; align-items: center; justify-content: center; width: 100%; height: 42px; overflow: hidden; }
.telegram-widget-host iframe { display: block; width: 100% !important; max-width: 100%; height: 100% !important; border: 0; border-radius: 7px; }
.provider-btn--unavailable { opacity: .55; filter: saturate(.5); }
.provider-soon { min-width: 0; text-align: center; }
.provider-soon__button { color: #8391a0; border-color: #dce4ec; cursor: not-allowed; }
.provider-soon__button svg { color: #8895a3 !important; }
.provider-soon small { display: block; margin-top: 6px; color: #62758a; font-size: 11px; }
.provider-hint { display: none; }
.provider-status { margin: 14px 0 0; color: #976b2f; font-size: 11px; line-height: 1.5; }
.login-note { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid #e0e6ec; color: #6e8092; font-size: 12px; line-height: 1.5; }
.login-foot { margin: 0; color: #72859a; font-size: 12px; }
.login-foot__link:hover { color: #215d9a; }
.glass-card.status-card { background: #fff; color: var(--text); border-color: #dce3ea; backdrop-filter: none; }
.status-card::before { display: none; }
.status-title { color: var(--text); }
.status-desc, .status-ticker { color: var(--text-dim); }
.status-meta__avatar { background: #f1f4f7; border-color: #dce3ea; color: #526a80; }
.status-meta small { color: var(--text-faint); }
.status-ticker { background: #f7f9fb; border-color: #e2e8ee; }
.btn-status { background: #1d344a; color: #fff; }
.btn-status--ghost { background: #f5f7f9; color: #334b61; border-color: #dce3ea; }

@media (max-width: 720px) {
  .login-stage { min-height: 100svh; padding: 90px 18px 34px; }
  .login-brand { position: absolute; top: 18px; left: 20px; right: 20px; }
  .brand-lockup { font-size: 19px; }
  .brand-lockup svg { width: 32px; height: 32px; }
  .brand-tagline { display: none; }
  .login-card { padding: 28px 22px 22px; border-radius: 18px; }
  .login-title { font-size: 25px; }
  .provider-stack { margin-top: 22px; gap: 9px; }
  .provider-btn, .provider-soon__button { min-height: 48px; padding-inline: 9px; gap: 7px; }
  .provider-btn span b, .provider-soon__button span b { font-size: 13px; }
}

/* Nasdaq Life auth layout and explicit hidden-state handling */
[hidden] { display: none !important; }
.email-card{max-width:540px;margin:auto;text-align:left}
.email-card .status-title{font-size:28px;line-height:1.25}
.email-form{display:grid;gap:12px;margin-top:24px;text-align:left}
.email-form label{font-size:13px;font-weight:600;color:var(--text)}
.email-form input{box-sizing:border-box;width:100%;min-height:50px;padding:12px 15px;border:1px solid var(--border-strong);border-radius:10px;background:var(--surface);color:var(--text);font:inherit}
.email-form input:focus{outline:2px solid #64b4ff;outline-offset:3px}
.email-form input[name=code]{font-size:25px;letter-spacing:5px;text-align:center}
.email-form small,.email-status{color:var(--text-dim);font-size:13px;line-height:1.7}
.email-status{min-height:24px;margin:18px 0}
.email-delivery-hint{margin:18px 0 0;padding:14px 16px;border:1px solid #dce5ef;border-left:3px solid #b59a64;border-radius:10px;background:#f6f8fb;color:#526a80;font-size:13px;line-height:1.65}
.email-delivery-hint strong{display:block;margin-bottom:5px;color:#1d344a;font-size:13px;font-weight:600}
.email-delivery-hint p{margin:0}
.email-delivery-hint__sender{font-weight:500;overflow-wrap:anywhere}
html.ui-v2-auth .email-delivery-hint{border-color:var(--auth-line);border-left-color:var(--auth-accent);background:var(--auth-raised);color:var(--auth-muted)}
html.ui-v2-auth .email-delivery-hint strong{color:var(--auth-text)}
.email-card .btn-status{margin:0;min-height:46px}
.email-form button:disabled{opacity:.55;cursor:wait}
.login-stage > .status-view { width: min(100%, 770px); }
.login-stage > .status-view[hidden], .login-stage > .login-view[hidden] { display: none !important; }
.provider-stack { grid-template-columns: 1fr; }
.provider-btn--telegram { cursor: default; }
.telegram-widget-host { min-width: 210px; overflow: visible; }
.telegram-widget-host iframe { min-width: 210px; }
@media (max-width: 720px) {
  .login-stage { min-height: 100svh; padding: 76px 16px 32px; }
  .login-brand { position: absolute; top: 14px; }
  .brand-lockup { max-width: 70vw; font-size: 18px; }
  .login-view { width: 100%; }
  .login-card { padding: 26px 20px 22px; }
  .telegram-widget-host, .telegram-widget-host iframe { min-width: 210px; }
}
