/* R130: account shell (index.html: sign-up, sign-in, recovery, account settings) styled like the new public site.
   Pure presentation; no markup or behaviour changes. Loaded last so it wins over style.css / galaxy.css. */
@font-face{font-family:"Fraunces";src:url("./fonts/fraunces-latin-wght-opsz.woff2") format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:"Sora";src:url("./fonts/sora-latin-wght.woff2") format("woff2");font-weight:300 800;font-display:swap}
@font-face{font-family:"Cairo";src:url("./fonts/cairo-arabic-latin-wght.woff2") format("woff2");font-weight:200 1000;font-display:swap}

html.galaxy body{--a2-ink:#f1f4ff;--a2-muted:#cdd6ec;--a2-text:#dde4f5;--a2-line:rgba(148,183,255,.18);--a2-glass:rgba(14,12,40,.55);--a2-cyan:#70f0ed;--a2-gold:#ffd866}
html.galaxy body{font-family:"Sora","Vazirmatn","Segoe UI",system-ui,sans-serif;color:var(--a2-text)}
html.galaxy:lang(fa) body,html.galaxy:lang(ar) body{font-family:"Vazirmatn","Cairo","Segoe UI",Tahoma,sans-serif}

/* top strip of the old shell: the new site has none */
html.galaxy .topline{display:none!important}

/* header like the site's sticky glass bar */
html.galaxy .header{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:22px;min-height:66px;padding-block:8px;
  background:rgba(5,4,20,.62)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid var(--a2-line);border-radius:0!important;box-shadow:none!important}
html.galaxy .header .brand{color:#fff!important}
html.galaxy .brand-sub{display:none}
html.galaxy #navigation a{color:#c9d2ea!important;font-size:14.5px!important;font-weight:500!important;letter-spacing:0!important;text-transform:none!important;text-decoration:none;transition:color .2s}
html.galaxy #navigation a:hover,html.galaxy #navigation a[aria-current]{color:#fff!important;text-shadow:0 0 14px rgba(184,156,255,.7)}
html.galaxy .header-cta{color:#fff!important;background:linear-gradient(135deg,#4e1d96 0%,#782bd0 48%,#a14dec 100%)!important;border:1px solid #b98bff!important;
  border-radius:12px!important;padding:9px 16px!important;font-size:14px!important;font-weight:700!important;letter-spacing:0!important;text-transform:none!important;box-shadow:0 6px 22px rgba(123,44,212,.45)}
html.galaxy .header-cta:hover{background:linear-gradient(135deg,#6324b7,#a14dec)!important}
html.galaxy .menu-toggle{background:rgba(255,255,255,.06)!important;border:1px solid var(--a2-line)!important;border-radius:12px!important;color:#fff!important}
html.galaxy .language-switcher select,html.galaxy select{background:rgba(14,12,40,.7)!important;border:1px solid var(--a2-line)!important;border-radius:12px!important;color:#e8ecff!important;padding:8px 12px!important;font-size:14px!important}

/* hero: eyebrow pill + headings in the site's faces */
html.galaxy .eyebrow{display:inline-flex;align-items:center;gap:8px;background:rgba(10,8,30,.78)!important;border:1px solid rgba(112,240,237,.35);border-radius:99px;
  padding:6px 14px!important;color:#9ff7f3!important;font-family:"Sora","Vazirmatn",sans-serif!important;font-size:12.5px!important;letter-spacing:.08em}
html.galaxy:lang(fa) .eyebrow,html.galaxy:lang(ar) .eyebrow{letter-spacing:.02em;font-size:13.5px!important}
html.galaxy .eyebrow::before,html.galaxy .eyebrow::after{display:none!important}
html.galaxy .page-title,html.galaxy main h1{color:#fff!important;font-size:clamp(34px,5vw,58px)!important;line-height:1.12;letter-spacing:-.02em;text-shadow:0 0 42px rgba(150,110,255,.28)}
html.galaxy main h2{color:#fff!important;font-size:clamp(24px,3.2vw,36px)!important;line-height:1.2}
html.galaxy:lang(en) main :is(h1,h2),html.galaxy:lang(fr) main :is(h1,h2){font-family:"Fraunces",Georgia,serif!important;font-weight:650!important}
html.galaxy:lang(fa) main :is(h1,h2){font-family:"Vazirmatn",sans-serif!important;font-weight:900!important;letter-spacing:0;line-height:1.45}
html.galaxy:lang(ar) main :is(h1,h2){font-family:"Cairo","Vazirmatn",sans-serif!important;font-weight:800!important;letter-spacing:0;line-height:1.4}
html.galaxy main h3{color:#fff}
html.galaxy main p,html.galaxy .account-intro,html.galaxy .muted,html.galaxy .form-help,html.galaxy .account-footnote{color:var(--a2-text)!important}
html.galaxy .form-help,html.galaxy .account-footnote{color:var(--a2-muted)!important;font-size:14px}

/* cards: the site's glass panels */
html.galaxy .panel{background:var(--a2-glass)!important;border:1px solid var(--a2-line)!important;border-radius:20px!important;
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 18px 50px rgba(0,0,0,.35)!important;overflow:hidden}
html.galaxy .panel-head{border-bottom:1px solid var(--a2-line)!important;background:transparent!important}
html.galaxy .notice{background:rgba(255,216,102,.08)!important;border:1px solid rgba(255,216,102,.35)!important;border-radius:14px!important;color:#ffeab0!important}

/* inputs */
html.galaxy .input,html.galaxy input[type=email],html.galaxy input[type=password],html.galaxy input[type=text]{background:rgba(10,14,36,.72)!important;border:1px solid rgba(148,183,255,.24)!important;
  border-radius:12px!important;color:#f1f4ff!important;padding:12px 14px!important;font-size:16px!important;transition:border-color .2s,box-shadow .2s}
html.galaxy .input:focus,html.galaxy input:focus{outline:none;border-color:#b98bff!important;box-shadow:0 0 0 3px rgba(169,139,255,.22),0 0 22px rgba(161,77,236,.3)!important}
html.galaxy .input::placeholder{color:#8f9ab8}
html.galaxy .field label,html.galaxy .field>span{color:#e8ecff!important;font-weight:600}

/* buttons: primary purple with the site's sheen; secondary / ghost glass */
html.galaxy .btn{position:relative;overflow:hidden;border-radius:12px!important;padding:12px 20px!important;font-weight:700!important;font-size:15px!important;letter-spacing:0!important;
  text-transform:none!important;color:#fff!important;border:1px solid #b98bff!important;background:linear-gradient(135deg,#4e1d96 0%,#782bd0 48%,#a14dec 100%)!important;box-shadow:0 8px 26px rgba(123,44,212,.4)!important;cursor:pointer}
html.galaxy .btn:hover{background:linear-gradient(135deg,#6324b7,#a14dec)!important}
html.galaxy .btn::before{content:"";position:absolute;inset:-35% auto -35% -65%;width:35%;transform:skewX(-22deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.4),transparent);animation:a2sheen 5s ease-in-out infinite;pointer-events:none}
@keyframes a2sheen{0%,72%{left:-65%}100%{left:145%}}
html.galaxy .btn.secondary,html.galaxy .btn.ghost{background:rgba(255,255,255,.06)!important;border-color:var(--a2-line)!important;box-shadow:none!important}
html.galaxy .btn.secondary:hover,html.galaxy .btn.ghost:hover{border-color:rgba(185,139,255,.6)!important;background:rgba(169,139,255,.12)!important}
html.galaxy .btn.secondary::before,html.galaxy .btn.ghost::before{display:none}
html.galaxy .auth-divider{color:var(--a2-muted)!important}
html.galaxy .auth-divider::before,html.galaxy .auth-divider::after{background:var(--a2-line)!important}

/* footer like the site */
html.galaxy .footer{border-top:1px solid var(--a2-line);color:var(--a2-muted)!important;background:transparent!important}
html.galaxy .footer a{color:#c9d2ea!important}
html.galaxy .footer a:hover{color:#fff!important}
html.galaxy .footer .brand{color:#fff!important}

@media (max-width:700px){html.galaxy .page-title,html.galaxy main h1{font-size:clamp(30px,8vw,40px)!important}html.galaxy .header{gap:10px}html.galaxy .header-cta{padding:8px 12px!important;font-size:13px!important}}
@media (prefers-reduced-motion:reduce){html.galaxy .btn::before{animation:none}}

/* R139 Estedad headings (fa/ar) */
@font-face{font-family:"Estedad";src:url("./fonts/estedad-wght.woff2") format("woff2");font-weight:100 900;font-display:swap}
html.galaxy:lang(fa) main :is(h1,h2),html.galaxy:lang(ar) main :is(h1,h2){font-family:"Estedad","Vazirmatn",sans-serif!important;font-weight:800!important;letter-spacing:0;line-height:1.45}
