/* ==========================================================================
   aitradesig — Vision 2026: auth, account, plans
   Loaded after future.css on login.html / register.html / account.html
   ========================================================================== */

/* ---------- AUTH ---------- */
.v2-auth {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.v2-auth__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 18px 0;
}
.v2-auth__top .brand-mark { width: 40px; height: 40px; }
.v2-auth__top .brand-mark img { border-radius: 13px; }
.v2-auth__top .brand-name { font-size: .94rem; }
.v2-auth__top .brand-sub { color: var(--v2-muted); font-size: .5rem; letter-spacing: .2em; }
.v2-auth__top-right { display: flex; align-items: center; gap: .5rem; }
.v2-auth__back {
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: 38px; padding: 0 .85rem; border: 1px solid var(--v2-line);
  border-radius: 999px; color: var(--v2-muted); font-size: .68rem; font-weight: 800;
  background: rgba(255,255,255,.34);
}
html[data-theme='dark'] .v2-auth__back { background: rgba(255,255,255,.05); }
.v2-auth__back:hover { color: var(--v2-ink); background: rgba(255,255,255,.6); }
html[data-theme='dark'] .v2-auth__back:hover { background: rgba(255,255,255,.1); }
.v2-auth__back svg { width: 14px; height: 14px; }
.v2-auth__theme {
  display: grid; place-items: center; width: 38px; height: 38px;
  border: 1px solid var(--v2-line); border-radius: 50%;
  background: rgba(255,255,255,.34); color: var(--v2-ink);
}
html[data-theme='dark'] .v2-auth__theme { background: rgba(255,255,255,.05); }
.v2-auth__theme svg { width: 16px; height: 16px; }

.v2-auth__main { flex: 1; display: flex; align-items: center; padding: 6px 0 42px; }
.v2-auth__shell {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  min-height: clamp(660px, 80vh, 800px);
  overflow: hidden;
  border: 1px solid var(--v2-line);
  border-radius: clamp(28px, 3.4vw, 46px);
  background: var(--v2-glass);
  box-shadow: var(--v2-shadow);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
}
.v2-auth__form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 3.6vw, 3.4rem);
  max-width: 640px;
  width: 100%;
}
.v2-auth__kicker { display: inline-flex; align-items: center; gap: .55rem; color: var(--v2-violet); font-size: .62rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.v2-auth__kicker i { width: 20px; height: 1px; background: currentColor; }
.v2-auth h1 {
  margin: .8rem 0 0;
  font-size: clamp(1.9rem, 2.7vw, 2.75rem);
  line-height: .99;
  letter-spacing: -.06em;
  font-weight: 500;
}
.v2-auth h1 span { color: var(--v2-violet); }
.v2-auth h1 .v2-auth__ink { color: var(--v2-ink); white-space: nowrap; }
.v2-auth__lead { max-width: 420px; margin: .8rem 0 0; color: var(--v2-muted); font-size: .82rem; line-height: 1.7; }
.v2-auth__form form { margin-top: 1.5rem; }
.v2-auth .form-field { margin-bottom: .8rem; }
.v2-auth .form-field label { color: var(--v2-ink-soft); font-size: .64rem; font-weight: 800; letter-spacing: .02em; margin-bottom: .4rem; }
.v2-auth .form-field label a { color: var(--v2-violet); font-size: .6rem; }
.v2-auth .input-wrap > svg { left: .95rem; width: 16px; height: 16px; color: var(--v2-muted); }
.v2-auth .input-wrap input {
  height: 54px;
  padding: 0 2.8rem 0 2.7rem;
  border: 1px solid var(--v2-line);
  border-radius: 16px;
  background: rgba(255,255,255,.55);
  color: var(--v2-ink);
  font-size: .84rem;
  font-weight: 600;
}
html[data-theme='dark'] .v2-auth .input-wrap input { background: rgba(255,255,255,.055); }
.v2-auth .input-wrap input::placeholder { color: var(--v2-muted); opacity: .8; }
.v2-auth .input-wrap input:focus {
  border-color: rgba(82,55,230,.55);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(82,55,230,.11);
}
html[data-theme='dark'] .v2-auth .input-wrap input:focus { background: rgba(255,255,255,.09); }
.v2-auth .input-action { right: .7rem; width: 34px; height: 34px; border-radius: 10px; color: var(--v2-muted); }
.v2-auth .form-check { color: var(--v2-muted); font-size: .64rem; line-height: 1.5; }
.v2-auth .form-check a { color: var(--v2-ink-soft); }
.v2-auth .form-check__box { width: 18px; height: 18px; border-radius: 6px; background: rgba(255,255,255,.5); }
.v2-auth .btn--block { min-height: 54px; margin-top: .5rem; font-size: .78rem; border-radius: 999px; }
.v2-auth .pw-meter { margin-top: .55rem; }
.v2-auth .pw-meter i { height: 4px; }
.v2-auth .social-row { grid-template-columns: 1fr 1fr; gap: .5rem; }
.v2-auth .social-btn {
  height: 48px;
  border: 1px solid var(--v2-line);
  border-radius: 15px;
  background: rgba(255,255,255,.42);
  color: var(--v2-ink-soft);
  font-size: .7rem;
  font-weight: 800;
}
html[data-theme='dark'] .v2-auth .social-btn { background: rgba(255,255,255,.05); }
.v2-auth .social-btn:hover { background: rgba(255,255,255,.72); border-color: var(--v2-line-strong); }
html[data-theme='dark'] .v2-auth .social-btn:hover { background: rgba(255,255,255,.1); }
.v2-auth .auth-divider { margin: .95rem 0 .8rem; color: var(--v2-muted); font-size: .58rem; }
.v2-auth .auth-foot { margin-top: 1.15rem; color: var(--v2-muted); font-size: .7rem; }
.v2-auth .auth-foot a { color: var(--v2-violet); }
.v2-auth .auth-note {
  margin-top: .9rem;
  padding: .7rem .85rem;
  border: 1px solid var(--v2-line);
  border-radius: 14px;
  background: rgba(255,255,255,.32);
  color: var(--v2-muted);
  font-size: .6rem;
}
html[data-theme='dark'] .v2-auth .auth-note { background: rgba(255,255,255,.035); }
.v2-auth .auth-note svg { color: var(--v2-violet); }
.v2-auth .auth-success { min-height: 440px; }
.v2-auth .auth-success__icon { background: rgba(82,55,230,.1); border-color: rgba(82,55,230,.24); color: var(--v2-violet); }
.v2-auth .auth-success h2 { font-family: 'Unbounded', sans-serif; font-weight: 500; letter-spacing: -.04em; }

.v2-auth__visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100%;
  padding: clamp(1.4rem, 2.8vw, 2.2rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
  color: #fff;
  background: #121626;
}
.v2-auth__photo { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.v2-auth__veil {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(9,12,20,.34) 0%, rgba(9,12,20,.12) 34%, rgba(9,12,20,.82) 100%),
    linear-gradient(110deg, rgba(43,27,145,.48), rgba(9,12,20,.06) 62%);
}
.v2-auth__grain {
  position: absolute; inset: 0; z-index: -1; opacity: .18; pointer-events: none; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
.v2-auth__orb {
  position: absolute; right: -10%; top: 2%; width: clamp(150px, 16vw, 220px); aspect-ratio: 1;
  border-radius: 50%; z-index: -1; opacity: .55;
  background: radial-gradient(circle at 33% 26%, #fff 0%, #d5e4f6 11%, #8a9fe3 30%, #4a3ac6 58%, #16123d 82%, #090b18 100%);
  box-shadow: inset -24px -26px 60px rgba(4,5,15,.7), 0 40px 80px rgba(23,15,70,.4);
  animation: v2OrbFloat 10s ease-in-out infinite;
}
.v2-auth__visual-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.v2-auth__quote {
  position: relative; z-index: 2; margin-top: auto;
  max-width: 540px; padding: 1.05rem 1.15rem;
  border: 1px solid rgba(255,255,255,.14); border-radius: 22px;
  background: rgba(10, 13, 22, .46);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 20px 60px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.1);
}
.v2-auth__quote h2 {
  max-width: 18ch;
  margin: .8rem 0 0;
  color: #fff;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  line-height: 1.08;
  letter-spacing: -.05em;
  font-weight: 500;
}
.v2-auth__quote p { max-width: 40ch; margin: .7rem 0 0; color: rgba(255,255,255,.6); font-size: .76rem; line-height: 1.65; }
.v2-auth__chart { position: relative; z-index: 2; height: 150px; margin: .3rem 0; }
.v2-auth__chart svg { width: 100%; height: 100%; overflow: visible; }
.v2-auth__chart::after {
  content: ''; position: absolute; inset: 8% 0 0; z-index: -1;
  background: radial-gradient(60% 80% at 50% 50%, rgba(82,55,230,.28), transparent 72%);
  filter: blur(24px);
}
.v2-auth__tiles { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.v2-auth__tile {
  padding: .7rem .75rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
}
.v2-auth__tile small { display: block; color: rgba(255,255,255,.5); font-size: .48rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.v2-auth__tile b { display: block; margin-top: .22rem; color: #fff; font-family: 'Unbounded', sans-serif; font-size: .92rem; letter-spacing: -.04em; font-weight: 500; }
.v2-auth__tile b.is-lime { color: var(--v2-lime); }
.v2-auth__author { position: relative; z-index: 2; display: flex; align-items: center; gap: .6rem; }
.v2-auth__author img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.4); }
.v2-auth__author b { display: block; color: #fff; font-size: .68rem; }
.v2-auth__author span { display: block; color: rgba(255,255,255,.48); font-size: .56rem; }
.v2-auth__legal { position: relative; z-index: 2; margin: 0; color: rgba(255,255,255,.36); font-size: .54rem; line-height: 1.55; }

.v2-auth__steps { position: relative; z-index: 2; display: grid; gap: .45rem; margin: .4rem 0; }
.v2-auth__steps > div { display: flex; align-items: center; gap: .65rem; padding: .6rem .7rem; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.07); backdrop-filter: blur(12px); }
.v2-auth__steps i { display: grid; place-items: center; flex: 0 0 26px; height: 26px; border-radius: 50%; background: rgba(217,255,99,.16); color: var(--v2-lime); font-family: 'Unbounded', sans-serif; font-size: .48rem; font-style: normal; }
.v2-auth__steps b { display: block; color: #fff; font-size: .67rem; }
.v2-auth__steps span { display: block; color: rgba(255,255,255,.48); font-size: .53rem; }

/* ---------- ACCOUNT ---------- */
.v2-acc { position: relative; padding: 10px 0 clamp(3rem, 6vw, 5.5rem); }
.v2-acc__hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.3rem, 3vw, 2.3rem);
  border-radius: clamp(26px, 3.4vw, 40px);
  color: #fff;
  background: #17191d;
  box-shadow: 0 28px 80px rgba(23,25,29,.24);
}
.v2-acc__hero-bg { position: absolute; inset: 0; z-index: -3; background: url('../img/new/city-dusk.jpg') center 58%/cover; opacity: .55; }
.v2-acc__hero-veil {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(13,15,22,.9) 0%, rgba(13,15,22,.52) 52%, rgba(13,15,22,.2) 100%),
    linear-gradient(180deg, rgba(13,15,22,.2), rgba(13,15,22,.55));
}
.v2-acc__hero-orb {
  position: absolute; right: 6%; top: 50%; translate: 0 -50%; z-index: -1;
  width: clamp(180px, 22vw, 300px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 33% 26%, #fff 0%, #d5e4f6 11%, #8a9fe3 30%, #4a3ac6 58%, #16123d 82%, #090b18 100%);
  box-shadow: inset -24px -26px 60px rgba(4,5,15,.7), 0 40px 80px rgba(23,15,70,.35);
  opacity: .8;
  animation: v2OrbFloat 11s ease-in-out infinite;
}
.v2-acc__hero-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; flex-wrap: wrap; }
.v2-acc__identity { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.v2-acc__avatar {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 78px; height: 78px; border-radius: 26px;
  background: linear-gradient(145deg, #6b52ff, #2c1b91);
  border: 1px solid rgba(255,255,255,.3);
  box-shadow: 0 16px 40px rgba(23,15,70,.42), inset 0 1px 0 rgba(255,255,255,.3);
  font-family: 'Unbounded', sans-serif; font-size: 1.5rem; letter-spacing: -.05em;
}
.v2-acc__eyebrow { color: rgba(255,255,255,.52); font-size: .56rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.v2-acc__name { margin: .3rem 0 .2rem; color: #fff; font-family: 'Unbounded', sans-serif; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1; letter-spacing: -.055em; font-weight: 500; }
.v2-acc__email { margin: 0; color: rgba(255,255,255,.55); font-size: .72rem; overflow-wrap: anywhere; }
.v2-acc__hero-actions { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.v2-acc__plan {
  display: inline-flex; align-items: center; gap: .45rem;
  min-height: 38px; padding: 0 .9rem; border-radius: 999px;
  border: 1px solid rgba(217,255,99,.32); background: rgba(217,255,99,.12);
  color: var(--v2-lime); font-size: .6rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
}
.v2-acc__plan i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.v2-acc__logout {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 38px; padding: 0 .9rem;
  border: 1px solid rgba(255,255,255,.2); border-radius: 999px;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.82);
  font-size: .64rem; font-weight: 800;
}
.v2-acc__logout:hover { background: rgba(255,255,255,.16); color: #fff; }
.v2-acc__logout svg { width: 14px; height: 14px; }

.v2-acc__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .8fr); gap: 16px; margin-top: 16px; align-items: start; }
.v2-acc__col { display: grid; gap: 16px; align-content: start; min-width: 0; }
.v2-panel {
  position: relative;
  padding: clamp(1.1rem, 2.2vw, 1.6rem);
  border: 1px solid var(--v2-line);
  border-radius: 28px;
  background: rgba(255,255,255,.46);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 14px 44px rgba(49,43,33,.055);
}
html[data-theme='dark'] .v2-panel { background: rgba(255,255,255,.04); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 14px 44px rgba(0,0,0,.2); }
.v2-panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; margin-bottom: 1rem; }
.v2-panel__eyebrow { display: inline-flex; align-items: center; gap: .4rem; color: var(--v2-muted); font-size: .54rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.v2-panel__eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--v2-violet); }
.v2-panel h2 { margin: .35rem 0 0; font-family: 'Unbounded', sans-serif; font-size: 1.22rem; letter-spacing: -.045em; font-weight: 500; }
.v2-panel__desc { margin: .5rem 0 0; color: var(--v2-muted); font-size: .76rem; line-height: 1.65; }
.v2-panel__desc b { color: var(--v2-ink); }

.v2-acc .acc-gate { min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; text-align: center; }
.v2-acc .acc-gate__spinner { width: 34px; height: 34px; border: 3px solid var(--v2-line); border-top-color: var(--v2-violet); border-radius: 50%; animation: spin .7s linear infinite; }
.v2-acc .acc-gate h2 { font-size: 1.4rem; }

.acc-status-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  min-height: 28px; padding: 0 .7rem; border-radius: 999px;
  border: 1px solid var(--v2-line); color: var(--v2-muted);
  font-size: .54rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap;
}
.acc-status-badge.pending { color: #8a6a1f; background: rgba(234,179,8,.12); border-color: rgba(234,179,8,.28); }
.acc-status-badge.verified { color: #2f7d54; background: rgba(47,125,84,.1); border-color: rgba(47,125,84,.28); }
.acc-status-badge.rejected { color: #bd4560; background: rgba(189,69,96,.1); border-color: rgba(189,69,96,.28); }
html[data-theme='dark'] .acc-status-badge.pending { color: #f0d27a; }
html[data-theme='dark'] .acc-status-badge.verified { color: #7fdfae; }

.acc-pocket__desc { margin: .2rem 0 .8rem; color: var(--v2-muted); font-size: .76rem; line-height: 1.65; }
.acc-pocket__desc b { color: var(--v2-ink); }
.acc-pocket__hint { margin: .7rem 0 0; color: var(--v2-muted); font-size: .58rem; line-height: 1.55; }
.acc-pocket__steps { display: grid; gap: .4rem; margin: .8rem 0 1rem; }
.acc-step { display: flex; align-items: center; gap: .65rem; padding: .6rem .7rem; border: 1px dashed var(--v2-line); border-radius: 14px; }
.acc-step__num { display: grid; place-items: center; flex: 0 0 26px; height: 26px; border-radius: 50%; background: rgba(23,25,29,.07); color: var(--v2-muted); font-family: 'Unbounded', sans-serif; font-size: .5rem; }
html[data-theme='dark'] .acc-step__num { background: rgba(255,255,255,.08); }
.acc-step b { display: block; color: var(--v2-ink); font-size: .7rem; }
.acc-step span { display: block; color: var(--v2-muted); font-size: .58rem; line-height: 1.4; }
.acc-step.acc-step--done { border-style: solid; border-color: rgba(47,125,84,.28); background: rgba(47,125,84,.06); }
.acc-step.acc-step--done .acc-step__num { background: #2f7d54; color: #fff; }
.acc-step.acc-step--active { border-style: solid; border-color: rgba(82,55,230,.3); background: rgba(82,55,230,.055); }
.acc-step.acc-step--active .acc-step__num { background: var(--v2-violet); color: #fff; }

.acc-deposit-row { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin: .9rem 0; }
.acc-deposit-stat { padding: .8rem .9rem; border: 1px solid var(--v2-line); border-radius: 16px; background: rgba(255,255,255,.38); }
html[data-theme='dark'] .acc-deposit-stat { background: rgba(255,255,255,.04); }
.acc-deposit-stat span { display: block; color: var(--v2-muted); font-size: .52rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.acc-deposit-stat strong { display: block; margin-top: .25rem; font-family: 'Unbounded', sans-serif; font-size: 1.02rem; letter-spacing: -.04em; font-weight: 500; }

.acc-progress { margin-top: .9rem; }
.acc-progress__bar { height: 8px; overflow: hidden; border-radius: 99px; background: rgba(23,25,29,.1); }
html[data-theme='dark'] .acc-progress__bar { background: rgba(255,255,255,.1); }
.acc-progress__fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--v2-violet), #9b8bff); transition: width .8s cubic-bezier(.22,1,.36,1); }
.acc-progress__labels { display: flex; justify-content: space-between; gap: .5rem; margin-top: .45rem; color: var(--v2-muted); font-size: .6rem; }
.ai-quota-line { display: flex; justify-content: space-between; gap: .5rem; margin-top: .75rem; padding-top: .65rem; border-top: 1px dashed var(--v2-line); color: var(--v2-muted); font-size: .64rem; }
.ai-quota-line b { color: var(--v2-ink); }
.acc-ai__desc { margin: .3rem 0 .8rem; color: var(--v2-muted); font-size: .76rem; line-height: 1.65; }
.acc-ai__desc b { color: var(--v2-ink); }

.acc-pred-row { display: grid; grid-template-columns: 58px 44px minmax(0, 1fr) auto; gap: .55rem; align-items: center; padding: .65rem 0; border-top: 1px solid var(--v2-line); font-size: .68rem; }
.acc-pred-row:first-child { border-top: 0; }
.acc-pred-dir { display: inline-grid; place-items: center; min-height: 24px; border-radius: 7px; background: rgba(23,25,29,.07); color: var(--v2-ink-soft); font-size: .52rem; font-weight: 900; letter-spacing: .06em; }
html[data-theme='dark'] .acc-pred-dir { background: rgba(255,255,255,.07); }
.acc-pred-dir.up { background: rgba(47,125,84,.12); color: #2f7d54; }
.acc-pred-dir.down { background: rgba(189,69,96,.12); color: #bd4560; }
.acc-pred-conf { font-weight: 800; }
.acc-pred-text { overflow: hidden; color: var(--v2-muted); text-overflow: ellipsis; white-space: nowrap; }
.acc-pred-date { color: var(--v2-muted); font-size: .58rem; white-space: nowrap; }

.v2-panel .form-field { margin-bottom: .7rem; }
.v2-panel .form-field label { display: flex; align-items: center; justify-content: space-between; color: var(--v2-ink-soft); font-size: .62rem; font-weight: 800; margin-bottom: .35rem; }
.v2-panel .input-wrap > svg { left: .85rem; width: 15px; height: 15px; color: var(--v2-muted); }
.v2-panel .input-wrap input {
  height: 48px;
  padding: 0 2.6rem 0 2.4rem;
  border: 1px solid var(--v2-line);
  border-radius: 13px;
  background: rgba(255,255,255,.5);
  color: var(--v2-ink);
  font-size: .78rem;
  font-weight: 600;
}
html[data-theme='dark'] .v2-panel .input-wrap input { background: rgba(255,255,255,.05); }
.v2-panel .input-wrap input:focus { border-color: rgba(82,55,230,.5); background: rgba(255,255,255,.85); box-shadow: 0 0 0 3px rgba(82,55,230,.1); }
html[data-theme='dark'] .v2-panel .input-wrap input:focus { background: rgba(255,255,255,.09); }
.v2-panel .input-action { right: .6rem; color: var(--v2-muted); }
.v2-panel .field-hint { display: block; margin-top: .3rem; color: var(--v2-muted); font-size: .56rem; }
.v2-panel .pw-meter { margin-top: .5rem; }
.v2-panel .pw-meter span { color: var(--v2-muted); }
.v2-panel .btn { min-height: 42px; padding-inline: 1rem; font-size: .68rem; }
.v2-panel .btn--block { justify-content: center; }
.v2-acc__actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .4rem; }
.v2-links { display: grid; gap: .2rem; }
.v2-links a { display: flex; align-items: center; gap: .6rem; padding: .58rem .65rem; border-radius: 12px; color: var(--v2-ink-soft); font-size: .68rem; font-weight: 800; }
.v2-links a:hover { background: rgba(255,255,255,.55); color: var(--v2-ink); }
html[data-theme='dark'] .v2-links a:hover { background: rgba(255,255,255,.07); }
.v2-links svg { width: 16px; height: 16px; color: var(--v2-muted); }
.v2-links a span { margin-left: auto; color: var(--v2-muted); }

.v2-mini-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.v2-mini-plans > div { padding: .85rem; border: 1px solid var(--v2-line); border-radius: 16px; background: rgba(255,255,255,.36); }
html[data-theme='dark'] .v2-mini-plans > div { background: rgba(255,255,255,.04); }
.v2-mini-plans > div.is-featured { color: #fff; background: #17191d; border-color: #17191d; }
.v2-mini-plans span { display: block; color: var(--v2-muted); font-size: .52rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.v2-mini-plans > div.is-featured span { color: rgba(255,255,255,.44); }
.v2-mini-plans b { display: block; margin-top: .35rem; font-family: 'Unbounded', sans-serif; font-size: .9rem; letter-spacing: -.04em; font-weight: 500; }
.v2-mini-plans small { display: block; margin-top: .15rem; color: var(--v2-muted); font-size: .55rem; }
.v2-mini-plans > div.is-featured small { color: rgba(255,255,255,.5); }

/* ---------- PLAN MODAL ---------- */
.plan-modal[hidden] { display: none; }
.plan-modal { position: fixed; inset: 0; z-index: 220; display: grid; place-items: center; padding: 1rem; }
.plan-modal__backdrop { position: absolute; inset: 0; background: rgba(10,8,18,.64); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.plan-modal__box {
  position: relative; z-index: 2;
  width: min(1000px, 100%); max-height: 92vh; overflow: auto;
  padding: clamp(1.3rem, 3vw, 2.3rem);
  border: 1px solid var(--v2-line); border-radius: 32px;
  background: var(--v2-paper-2); color: var(--v2-ink);
  box-shadow: 0 50px 130px rgba(0,0,0,.45);
}
.plan-modal__close {
  position: absolute; right: 1rem; top: 1rem;
  display: grid; place-items: center; width: 36px; height: 36px;
  border: 1px solid var(--v2-line); border-radius: 50%;
  background: rgba(255,255,255,.5); color: var(--v2-ink); font-size: 1.2rem; line-height: 1;
}
html[data-theme='dark'] .plan-modal__close { background: rgba(255,255,255,.06); }
.plan-modal__box .eyebrow { display: inline-flex; align-items: center; gap: .4rem; color: var(--v2-violet); font-size: .56rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.plan-modal__box h2 { margin: .7rem 0 0; font-family: 'Unbounded', sans-serif; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.02; letter-spacing: -.05em; font-weight: 500; }
.plan-modal__lead { max-width: 560px; margin: .6rem 0 0; color: var(--v2-muted); font-size: .76rem; line-height: 1.6; }
.plan-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; margin-top: 1.2rem; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 1.1rem; border: 1px solid var(--v2-line); border-radius: 22px; background: rgba(255,255,255,.5); }
html[data-theme='dark'] .plan-card { background: rgba(255,255,255,.045); }
.plan-card:nth-child(2) { color: #fff; background: #17191d; border-color: #17191d; box-shadow: 0 20px 50px rgba(23,25,29,.3); }
.plan-card__tag { color: var(--v2-muted); font-size: .48rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.plan-card:nth-child(2) .plan-card__tag { color: rgba(255,255,255,.44); }
.plan-card h3 { margin: 1rem 0 .3rem; font-family: 'Unbounded', sans-serif; font-size: 1.35rem; letter-spacing: -.05em; font-weight: 500; }
.plan-card__deposit { color: var(--v2-violet); font-size: .7rem; font-weight: 900; }
.plan-card:nth-child(2) .plan-card__deposit { color: var(--v2-lime); }
.plan-card__desc { min-height: 48px; margin: .5rem 0 .7rem; color: var(--v2-muted); font-size: .66rem; line-height: 1.55; }
.plan-card:nth-child(2) .plan-card__desc { color: rgba(255,255,255,.55); }
.plan-card ul { display: grid; gap: .3rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.plan-card li { display: flex; justify-content: space-between; gap: .6rem; padding: .4rem .5rem; border-radius: 9px; background: rgba(255,255,255,.4); font-size: .58rem; }
html[data-theme='dark'] .plan-card li { background: rgba(255,255,255,.05); }
.plan-card:nth-child(2) li { background: rgba(255,255,255,.07); }
.plan-card li span { color: var(--v2-muted); }
.plan-card:nth-child(2) li span { color: rgba(255,255,255,.5); }
.plan-card li b { font-weight: 800; }
.plan-card .btn { margin-top: auto; min-height: 40px; font-size: .66rem; }
.plan-card:nth-child(2) .btn--primary { background: var(--v2-lime); border-color: var(--v2-lime); color: #17191d; }

[hidden] { display: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .v2-auth__shell { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); min-height: 640px; }
  .v2-acc__grid { grid-template-columns: minmax(0, 1fr); }
  .v2-acc__col--side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-acc__col--side .v2-panel:last-child { grid-column: span 2; }
}

@media (max-width: 900px) {
  .v2-auth__shell { grid-template-columns: 1fr; min-height: 0; }
  .v2-auth__visual { display: none; }
  .v2-auth__form { max-width: none; padding: clamp(1.4rem, 5vw, 2.6rem); }
  .v2-auth h1 { font-size: clamp(2.1rem, 7vw, 2.9rem); }
  .v2-acc__hero-inner { align-items: flex-start; }
  .v2-acc__hero-orb { opacity: .4; right: -8%; }
  .plan-cards { grid-template-columns: 1fr; }
  .plan-card__desc { min-height: 0; }
}

@media (max-width: 640px) {
  .v2-auth__top { padding: 12px 0; }
  .v2-auth__main { padding-bottom: 24px; }
  .v2-auth__shell { border-radius: 26px; }
  .v2-auth h1 { font-size: clamp(1.7rem, 7.2vw, 2.05rem); }
  .v2-auth h1 .v2-auth__ink { white-space: nowrap; }
  .v2-auth .social-row { grid-template-columns: 1fr; }
  .v2-auth .auth-note { display: none; }
  .v2-acc { padding-top: 0; }
  .v2-acc__hero { border-radius: 26px; }
  .v2-acc__avatar { width: 62px; height: 62px; border-radius: 20px; font-size: 1.2rem; }
  .v2-acc__hero-actions { width: 100%; justify-content: space-between; }
  .v2-acc__col--side { grid-template-columns: 1fr; }
  .v2-acc__col--side .v2-panel:last-child { grid-column: auto; }
  .v2-panel { border-radius: 24px; }
  .acc-deposit-row { grid-template-columns: 1fr; }
  .acc-pred-row { grid-template-columns: 52px 40px minmax(0, 1fr); }
  .acc-pred-date { display: none; }
  .v2-mini-plans { grid-template-columns: 1fr; }
}

/* ===== Account: latest prediction card ===== */
.acc-prediction-card-body { position: relative; }
.acc-prediction-loader { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; padding: 1.2rem .6rem; color: var(--v2-muted); font-size: .7rem; }
.acc-prediction-result { display: flex; flex-direction: column; gap: .35rem; padding: .35rem 0 .1rem; animation: acc-pred-in .5s cubic-bezier(.22, 1, .36, 1) both; }
.acc-prediction-direction { align-self: flex-start; padding: .32rem .72rem; border-radius: 99px; background: rgba(23, 25, 29, .07); color: var(--v2-ink-soft); font-family: 'Unbounded', sans-serif; font-size: .58rem; font-weight: 600; letter-spacing: .08em; }
html[data-theme='dark'] .acc-prediction-direction { background: rgba(255, 255, 255, .08); }
.acc-prediction-direction.up { background: rgba(47, 125, 84, .12); color: #2f7d54; }
.acc-prediction-direction.down { background: rgba(189, 69, 96, .12); color: #bd4560; }
.acc-prediction-direction.wait { background: rgba(176, 138, 46, .14); color: #8a6a1f; }
html[data-theme='dark'] .acc-prediction-direction.up { color: #7fdfae; }
html[data-theme='dark'] .acc-prediction-direction.down { color: #ff9db2; }
html[data-theme='dark'] .acc-prediction-direction.wait { color: #f0d27a; }
.acc-prediction-answer { color: var(--v2-ink); font-size: .86rem; line-height: 1.55; }
.acc-prediction-reason { color: var(--v2-muted); font-size: .68rem; line-height: 1.55; }
@keyframes acc-pred-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
