/* Auth-only trading welcome; marketing surfaces remain unchanged. */
body.mfc-trading-auth { --auth-cyan:#73cfe6; --auth-glass-border:#31414c; background:#0b131b; }
body.mfc-trading-auth .gl-auth-stage-media, body.mfc-trading-auth .gl-auth-stage-grain { display:none; }
body.mfc-trading-auth .gl-auth-stage-wash { background:radial-gradient(ellipse at 12% 30%, #19405255, transparent 65%); }
body.gl-auth-cinematic.mfc-trading-auth .gl-auth-shell { grid-template-columns:minmax(0,1fr) minmax(340px,410px); gap:64px; padding:48px 0; }
body.gl-auth-cinematic.mfc-trading-auth .gl-auth-showcase { display:block; }
body.mfc-trading-auth .gl-auth-showcase-inner { padding:0; }
body.mfc-trading-auth .sneat-auth-card { background:#111e28 !important; backdrop-filter:none; box-shadow:0 24px 70px #0003 !important; border-radius:16px !important; }
body.mfc-trading-auth .sneat-auth-card:before { display:none; }
body.mfc-trading-auth .sneat-auth-card > .card-body { padding:24px !important; }
body.mfc-trading-auth .sneat-auth-card .btn-primary { background:#e4bd71 !important; border-color:#e4bd71 !important; box-shadow:none !important; }
body.mfc-trading-auth .sneat-auth-card .btn-primary:hover { background:#f4cf88 !important; }
.mfc-auth-kicker { font-size:10px; letter-spacing:2px; color:#78b3c6; font-weight:600; }
.mfc-auth-intro h1 { font-family:"Bricolage Grotesque",sans-serif; font-size:clamp(36px,4.4vw,58px); line-height:1.04; letter-spacing:-2px; color:#f0f4f5; margin:18px 0 14px; }
.mfc-auth-intro h1 span { color:#7bd9d2; }
.mfc-auth-intro p { color:#a5b7c2; font-size:14px; margin-bottom:32px; }
.mfc-auth-network { position:relative; overflow:hidden; border:1px solid #304451; border-radius:16px; background:radial-gradient(ellipse at 50% 40%,#173342,#101e29 70%); padding:22px 20px 25px; }
.mfc-auth-network:before { content:''; position:absolute; inset:0; background:repeating-linear-gradient(0deg,transparent 0 32px,#95c6d908 33px 34px); pointer-events:none; }
.mfc-network-caption { position:relative; display:flex; justify-content:space-between; gap:12px; color:#a4bfc9; font-size:8px; letter-spacing:1.2px; }
.mfc-network-caption span:last-child { color:#778e9a; }
.mfc-order-flow { position:relative; display:flex; align-items:center; justify-content:space-between; gap:0; min-height:236px; }
.mfc-account-node { position:relative; flex:0 0 92px; text-align:center; border:1px solid #419abb; border-radius:10px; background:#163040; padding:17px 5px; z-index:2; }
.mfc-account-node i { display:block; font-size:28px; line-height:1; color:#6ed7f6; margin-bottom:13px; }
.mfc-account-node strong { display:block; font-size:12px; color:#c0edff; }
.mfc-account-node small { display:block; font-size:7px; letter-spacing:.4px; margin-top:7px; color:#88bed1; }
.mfc-followers { border-color:#4eaf8f; background:#17382f; }
.mfc-followers i { color:#83e1b5; }
.mfc-followers strong { color:#b3f2d3; }
.mfc-followers small { color:#91bfae; }
.mfc-engine-node { position:relative; flex:0 0 138px; height:138px; border:1px solid #c9ab66; border-radius:50%; background:radial-gradient(circle at 35% 30%,#285563,#102b38 65%); text-align:center; padding-top:30px; z-index:2; }
.mfc-engine-node i { display:block; color:#f2d393; font-size:32px; line-height:1; margin-bottom:13px; }
.mfc-engine-node strong { display:block; color:#f3e1bc; font-size:12px; }
.mfc-engine-node small { display:block; color:#a8c4cd; font-size:7px; letter-spacing:1px; margin-top:6px; }
.mfc-engine-rings { position:absolute; inset:-12px; border:1px dashed #c9ab6677; border-radius:50%; animation:mfc-engine-spin 24s linear infinite; pointer-events:none; }
.mfc-engine-rings:before { content:''; position:absolute; inset:8px; border:1px solid #8bc9d333; border-radius:50%; }
.mfc-order-track { position:relative; height:1px; flex:1; min-width:28px; background:#4792a7; }
.mfc-order-track:before { content:''; position:absolute; right:0; top:-3px; border:4px solid transparent; border-left-color:#77d9e6; }
.mfc-order-track span { position:absolute; top:-29px; left:0; font:600 8px "Public Sans",sans-serif; padding:4px 6px; border-radius:4px; border:1px solid #66cda3; color:#a9efcc; background:#15362c; animation:mfc-order-move 5s linear infinite; white-space:nowrap; }
.mfc-order-track .mfc-sell { color:#ffdbb3; border-color:#d8a564; background:#3c2c1b; animation-delay:-2.5s; }
.mfc-track-out span { animation-delay:-1.2s; }
.mfc-track-out .mfc-sell { animation-delay:-3.7s; }
.mfc-network-controls { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; padding-top:18px; border-top:1px solid #2a414c; font-size:10px; color:#acc5cf; }
.mfc-network-controls i { color:#d9bc7a; margin-right:5px; }
.mfc-auth-foot { font-size:11px; color:#93a6b2; margin-top:22px; }
.mfc-auth-foot i { color:#83b7c4; margin-right:7px; }
.mfc-auth-paused .mfc-engine-rings,.mfc-auth-paused .mfc-order-track span { animation-play-state:paused; }
@keyframes mfc-engine-spin { to { transform:rotate(360deg); } }
@keyframes mfc-order-move { 0% { left:0; opacity:0; transform:translateX(-50%); } 15%,75% { opacity:1; } 100% { left:100%; opacity:0; transform:translateX(-50%); } }
body.mfc-trading-auth[data-theme="light"] { background:#edf2f4; }
body.mfc-trading-auth[data-theme="light"] .gl-auth-stage-wash { background:radial-gradient(ellipse at 10% 30%,#b6dce666,transparent 65%); }
body.mfc-trading-auth[data-theme="light"] .mfc-auth-intro h1 { color:#172f3e; }
body.mfc-trading-auth[data-theme="light"] .mfc-auth-intro h1 span { color:#187a7b; }
body.mfc-trading-auth[data-theme="light"] .mfc-auth-intro p,body.mfc-trading-auth[data-theme="light"] .mfc-auth-foot { color:#455f6f; }
body.mfc-trading-auth[data-theme="light"] .sneat-auth-card { background:#fff !important; }
@media(max-width:1000px) {
  body.gl-auth-cinematic.mfc-trading-auth .gl-auth-shell { gap:28px; grid-template-columns:minmax(0,1fr) minmax(320px,380px); }
  .mfc-account-node { flex-basis:70px; }
  .mfc-engine-node { flex-basis:110px; height:110px; padding-top:20px; }
  .mfc-engine-node i { font-size:26px; margin-bottom:9px; }
  .mfc-auth-network { padding:20px 14px; }
}
@media(max-width:767px) {
  body.gl-auth-cinematic.mfc-trading-auth .gl-auth-shell { grid-template-columns:1fr; padding:64px 0 30px; gap:28px; max-width:480px; margin:auto; }
  body.mfc-trading-auth .gl-auth-showcase { display:block; }
  .mfc-auth-intro h1 { font-size:35px; margin-top:12px; }
  .mfc-auth-intro h1 br { display:none; }
  .mfc-auth-intro p { margin-bottom:18px; font-size:12px; }
  .mfc-auth-kicker { font-size:8px; letter-spacing:1px; }
  .mfc-order-flow { min-height:180px; }
  .mfc-auth-foot { display:none; }
  .mfc-network-caption { font-size:7px; letter-spacing:.5px; }
  .mfc-network-controls { font-size:8px; gap:8px; padding-top:12px; }
  body.mfc-trading-auth .gl-auth-brand { margin-bottom:14px; }
}
@media(max-width:420px) {
  .mfc-account-node { flex-basis:60px; padding:14px 3px; }
  .mfc-account-node strong { font-size:10px; }
  .mfc-account-node small { font-size:6px; }
  .mfc-engine-node { flex-basis:90px; height:90px; padding-top:14px; }
  .mfc-engine-node i { font-size:23px; margin-bottom:7px; }
  .mfc-engine-node strong { font-size:10px; }
  .mfc-engine-node small { font-size:6px; margin-top:3px; }
  .mfc-engine-rings { inset:-7px; }
  .mfc-order-track { min-width:18px; }
  .mfc-order-track span { padding:3px 4px; font-size:7px; }
}
@media(prefers-reduced-motion:reduce) { .mfc-engine-rings,.mfc-order-track span { animation:none !important; } .mfc-order-track .mfc-sell { top:12px; } }
/* Premium cinematic auth — restored copy-map board + hero photo depth */
body.gl-auth-cinematic{
  --auth-cyan:#3B82F6;
  --auth-cyan-deep:#1557C0;
  --auth-cyan-rgb:59,130,246;
  --auth-steel:#0B3D91;
  --auth-amber:#C99712;
  --auth-amber-rgb:201,151,18;
  --auth-gold:#D4A017;
  --auth-gold-deep:#8F6A0E;
  --auth-ink:#e8eef2;
  --auth-muted:rgba(232,238,242,.68);
  --auth-glass:rgba(8,12,22,.84);
  --auth-glass-border:rgba(201,151,18,.30);
  --auth-field:rgba(6,10,20,.55);
  --auth-field-border:rgba(232,238,242,.12);
  font-family:"Public Sans",system-ui,sans-serif;
  color:var(--auth-ink);
  background:#070b10;
  min-height:100vh;
  min-height:100dvh;
  position:relative;
  overflow-x:clip;
}

body.gl-auth-cinematic .container-xxl.gl-auth-container{
  position:relative;
  z-index:2;
  max-width:1240px;
}

/* Soft ambient stage behind the board */
.gl-auth-stage{
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  overflow:hidden;
}

.gl-auth-stage-media{
  position:absolute;
  inset:-3%;
  background:center/cover no-repeat var(--auth-hero);
  transform:scale(1.06);
  filter:saturate(1.05) contrast(1.04) blur(2px);
  opacity:.55;
  animation:authStageDrift 24s ease-in-out infinite alternate;
}

.gl-auth-stage-wash{
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse 50% 60% at 20% 40%, rgba(46,160,176,.16), transparent 55%),
    linear-gradient(120deg, rgba(5,9,14,.88) 0%, rgba(5,9,14,.72) 45%, rgba(5,9,14,.9) 100%);
}

.gl-auth-stage-veil{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(5,9,14,.5) 0%, transparent 30%, transparent 70%, rgba(5,9,14,.65) 100%);
}

.gl-auth-stage-grain{
  position:absolute;
  inset:0;
  opacity:.03;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:180px;
}

@keyframes authStageDrift{
  from{ transform:scale(1.06) translate3d(0,0,0); }
  to{ transform:scale(1.1) translate3d(-1%, -.6%, 0); }
}

/* Theme toggle */
body.gl-auth-cinematic .gl-auth-theme-toggle{
  position:fixed;
  top:1.25rem;
  right:1.25rem;
  z-index:30;
}

body.gl-auth-cinematic .gl-auth-theme-btn{
  width:2.65rem;
  height:2.65rem;
  border-radius:12px;
  color:var(--auth-ink);
  background:rgba(8,12,22,.55);
  border:1px solid rgba(232,185,35,.28);
  backdrop-filter:blur(14px);
  box-shadow:0 10px 28px rgba(0,0,0,.28);
}

body.gl-auth-cinematic .gl-auth-theme-btn:hover{
  background:rgba(59,130,246,.18);
  border-color:rgba(245,197,24,.45);
  color:#fff;
}

/* Shell — board left, form right */
body.gl-auth-cinematic .gl-auth-shell{
  min-height:100vh;
  min-height:100dvh;
  display:grid;
  grid-template-columns:minmax(0,1.32fr) minmax(340px,420px);
  gap:1.35rem;
  align-items:center;
  padding:clamp(1.25rem,3vh,2.25rem) 0;
}

body.gl-auth-cinematic .gl-auth-showcase{
  color:#fff;
  display:flex;
  align-items:center;
  animation:authRise .85s cubic-bezier(.22,1,.36,1) both;
}

body.gl-auth-cinematic .gl-auth-showcase-inner{
  position:relative;
  width:100%;
  padding:.35rem .4rem .35rem 0;
  background:none;
  border-radius:0;
}

/* ========== Restored + enhanced cinematic board ========== */
body.gl-auth-cinematic .gl-auth-cinematic-board, body.mfc-site .gl-auth-cinematic-board{
  position:relative;
  margin-top:0;
  min-height:560px;
  max-width:100%;
  border-radius:1.75rem;
  overflow:hidden;
  background:
    radial-gradient(circle at 18% 50%, rgba(59,130,246,.20), transparent 22%),
    radial-gradient(circle at 74% 18%, rgba(245,197,24,.14), transparent 24%),
    linear-gradient(135deg, rgba(4,8,16,.92) 0%, rgba(8,12,24,.88) 45%, rgba(10,16,32,.94) 100%);
  border:1px solid rgba(232,185,35,.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 36px 90px rgba(0,0,0,.48),
    0 0 0 1px rgba(0,0,0,.2);
}

body.gl-auth-cinematic .gl-auth-cinematic-photo, body.mfc-site .gl-auth-cinematic-photo{
  position:absolute;
  inset:0;
  z-index:0;
  background:
    linear-gradient(105deg, rgba(4,8,14,.72) 0%, rgba(4,8,14,.35) 48%, rgba(4,8,14,.55) 100%),
    center 40%/cover no-repeat var(--auth-hero);
  opacity:.92;
  transform:scale(1.03);
  animation:authBoardPhoto 18s ease-in-out infinite alternate;
}

@keyframes authBoardPhoto{
  from{ transform:scale(1.03) translate3d(0,0,0); }
  to{ transform:scale(1.07) translate3d(-1.2%, -0.8%, 0); }
}

body.gl-auth-cinematic .gl-auth-cinematic-glow, body.mfc-site .gl-auth-cinematic-glow,
body.gl-auth-cinematic .gl-auth-cinematic-vignette, body.mfc-site .gl-auth-cinematic-vignette{
  z-index:1;
}

body.gl-auth-cinematic .gl-auth-cinematic-glow-a, body.mfc-site .gl-auth-cinematic-glow-a{
  background:radial-gradient(circle, rgba(59,130,246,.28) 0%, rgba(59,130,246,0) 72%);
}

body.gl-auth-cinematic .gl-auth-cinematic-glow-b, body.mfc-site .gl-auth-cinematic-glow-b{
  background:radial-gradient(circle, rgba(11,61,145,.28) 0%, rgba(11,61,145,0) 72%);
}

body.gl-auth-cinematic .gl-auth-cinematic-glow-c, body.mfc-site .gl-auth-cinematic-glow-c{
  background:radial-gradient(circle, rgba(196,160,106,.18) 0%, rgba(196,160,106,0) 72%);
}

body.gl-auth-cinematic .gl-auth-cinematic-vignette, body.mfc-site .gl-auth-cinematic-vignette{
  background:radial-gradient(circle at center, transparent 0%, transparent 42%, rgba(0,0,0,.28) 72%, rgba(0,0,0,.55) 100%);
}

body.gl-auth-cinematic .gl-auth-cinematic-topbar, body.mfc-site .gl-auth-cinematic-topbar,
body.gl-auth-cinematic .gl-auth-cinematic-core, body.mfc-site .gl-auth-cinematic-core,
body.gl-auth-cinematic .gl-auth-cinematic-copy-card, body.mfc-site .gl-auth-cinematic-copy-card,
body.gl-auth-cinematic .gl-auth-cinematic-mini-panel, body.mfc-site .gl-auth-cinematic-mini-panel{
  z-index:2;
}

body.gl-auth-cinematic .gl-auth-cinematic-tool, body.mfc-site .gl-auth-cinematic-tool{
  background:rgba(8,14,20,.62);
  border-color:rgba(59,130,246,.18);
  color:var(--auth-cyan);
  backdrop-filter:blur(12px);
}

body.gl-auth-cinematic .gl-auth-cinematic-pill, body.mfc-site .gl-auth-cinematic-pill{
  background:rgba(8,14,20,.55);
  border-color:rgba(59,130,246,.22);
  color:rgba(232,238,242,.82);
  backdrop-filter:blur(12px);
  font-weight:600;
  letter-spacing:.02em;
}

/* Orb — cyan/steel instead of purple */
body.gl-auth-cinematic .gl-auth-cinematic-orb-chip-master, body.mfc-site .gl-auth-cinematic-orb-chip-master{
  color:#f2e7d6;
  background:rgba(196,160,106,.18);
  border-color:rgba(196,160,106,.28);
}

body.gl-auth-cinematic .gl-auth-cinematic-orb-chip-risk, body.mfc-site .gl-auth-cinematic-orb-chip-risk{
  color:#c8f0f6;
  background:rgba(59,130,246,.16);
  border-color:rgba(59,130,246,.28);
}

body.gl-auth-cinematic .gl-auth-cinematic-orb-core, body.mfc-site .gl-auth-cinematic-orb-core{
  background:radial-gradient(circle at 35% 35%, #60A5FA 0%, #1557C0 32%, #0B3D91 62%, rgba(8,14,20,.96) 100%);
  box-shadow:
    0 0 36px rgba(59,130,246,.55),
    0 0 0 10px rgba(59,130,246,.08),
    0 0 0 22px rgba(11,61,145,.05);
  animation:authOrbPulseCyan 5.5s ease-in-out infinite;
}

body.gl-auth-cinematic .gl-auth-cinematic-orb-ring-a, body.mfc-site .gl-auth-cinematic-orb-ring-a{
  border-color:rgba(59,130,246,.28);
}

body.gl-auth-cinematic .gl-auth-cinematic-orb-ring-b, body.mfc-site .gl-auth-cinematic-orb-ring-b{
  border-color:rgba(255,255,255,.08);
  animation:authRingSpin 14s linear infinite;
}

@keyframes authOrbPulseCyan{
  0%,100%{
    transform:scale(1);
    box-shadow:0 0 36px rgba(59,130,246,.55), 0 0 0 10px rgba(59,130,246,.08), 0 0 0 22px rgba(11,61,145,.05);
  }
  50%{
    transform:scale(1.05);
    box-shadow:0 0 46px rgba(59,130,246,.68), 0 0 0 14px rgba(59,130,246,.12), 0 0 0 28px rgba(11,61,145,.08);
  }
}

@keyframes authRingSpin{
  from{ transform:rotate(0deg); }
  to{ transform:rotate(360deg); }
}

body.gl-auth-cinematic .gl-auth-cinematic-route-hub, body.mfc-site .gl-auth-cinematic-route-hub{
  background:radial-gradient(circle at 35% 35%, rgba(59,130,246,.22), rgba(8,14,20,.96) 62%);
  border-color:rgba(59,130,246,.22);
  box-shadow:0 0 0 10px rgba(59,130,246,.04), 0 0 28px rgba(59,130,246,.18);
}

body.gl-auth-cinematic .gl-auth-cinematic-route-core, body.mfc-site .gl-auth-cinematic-route-core{
  background:radial-gradient(circle, #60A5FA 0%, #1557C0 58%, rgba(21,87,192,.12) 100%);
  box-shadow:0 0 16px rgba(59,130,246,.7);
}

body.gl-auth-cinematic .gl-auth-cinematic-network-lines span,
body.mfc-site .gl-auth-cinematic-network-lines span{
  background:linear-gradient(90deg, rgba(59,130,246,.18), rgba(196,160,106,.7) 68%, rgba(255,255,255,.08) 100%);
}

body.gl-auth-cinematic .gl-auth-cinematic-node::before, body.mfc-site .gl-auth-cinematic-node::before{
  background:var(--auth-cyan);
  box-shadow:0 0 10px rgba(59,130,246,.7);
}

body.gl-auth-cinematic .gl-auth-cinematic-node span,
body.mfc-site .gl-auth-cinematic-node span{
  text-shadow:0 2px 10px rgba(0,0,0,.45);
}

body.gl-auth-cinematic .gl-auth-cinematic-copy-card, body.mfc-site .gl-auth-cinematic-copy-card{
  background:linear-gradient(180deg, rgba(10,18,26,.78), rgba(8,14,20,.9));
  border-color:rgba(59,130,246,.22);
  backdrop-filter:blur(16px);
}

body.gl-auth-cinematic .gl-auth-cinematic-copy-card-kicker, body.mfc-site .gl-auth-cinematic-copy-card-kicker{
  color:var(--auth-cyan);
}

body.gl-auth-cinematic .gl-auth-cinematic-copy-card-track span,
body.mfc-site .gl-auth-cinematic-copy-card-track span{
  background:linear-gradient(90deg, rgba(196,160,106,.9), rgba(59,130,246,.85));
  box-shadow:0 0 12px rgba(59,130,246,.28);
}

body.gl-auth-cinematic .gl-auth-cinematic-mini-panel, body.mfc-site .gl-auth-cinematic-mini-panel{
  background:rgba(8,14,20,.72);
  border-color:rgba(59,130,246,.2);
}

body.gl-auth-cinematic .gl-auth-cinematic-mini-dot, body.mfc-site .gl-auth-cinematic-mini-dot{
  background:radial-gradient(circle, #60A5FA 0%, #1557C0 60%, rgba(21,87,192,.25) 100%);
  box-shadow:0 0 14px rgba(59,130,246,.7);
}

body.gl-auth-cinematic .gl-auth-cinematic-mini-bars span,
body.mfc-site .gl-auth-cinematic-mini-bars span{
  background:linear-gradient(180deg, rgba(59,130,246,.92), rgba(11,61,145,.4));
}

body.gl-auth-cinematic .gl-auth-cinematic-mini-ring, body.mfc-site .gl-auth-cinematic-mini-ring{
  border-color:rgba(59,130,246,.55);
  box-shadow:inset 0 0 0 4px rgba(59,130,246,.1);
}

body.gl-auth-cinematic .gl-auth-cinematic-core, body.mfc-site .gl-auth-cinematic-core{
  min-height:28rem;
}

/* Panel / brand */
body.gl-auth-cinematic .gl-auth-panel-wrap{
  display:flex;
  justify-content:flex-end;
  animation:authRise .95s .08s cubic-bezier(.22,1,.36,1) both;
}

body.gl-auth-cinematic .gl-auth-panel{
  width:100%;
  max-width:26.5rem;
}

body.gl-auth-cinematic .gl-auth-brand{
  display:inline-flex;
  margin-bottom:1rem;
  text-decoration:none;
  color:#f4f8fa;
  filter:drop-shadow(0 8px 20px rgba(0,0,0,.35));
}

body.gl-auth-cinematic .gl-auth-brand .gl-brand-meta,
body.gl-auth-cinematic .gl-auth-brand .brand-text-name{
  color:#f4f8fa !important;
}

@keyframes authRise{
  from{ opacity:0; transform:translateY(16px); }
  to{ opacity:1; transform:translateY(0); }
}

/* Glass auth card */
body.gl-auth-cinematic .sneat-auth-card,
body.gl-auth-cinematic .gl-auth-card{
  position:relative;
  overflow:hidden;
  border:1px solid var(--auth-glass-border) !important;
  border-radius:22px !important;
  background:
    linear-gradient(165deg, rgba(59,130,246,.12), transparent 42%),
    var(--auth-glass) !important;
  backdrop-filter:blur(22px) saturate(1.15);
  -webkit-backdrop-filter:blur(22px) saturate(1.15);
  box-shadow:
    0 1px 0 rgba(255,255,255,.06) inset,
    0 28px 64px rgba(0,0,0,.42) !important;
  padding:0 !important;
}

body.gl-auth-cinematic .sneat-auth-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 90% 0%, rgba(59,130,246,.16), transparent 42%);
  pointer-events:none;
}

body.gl-auth-cinematic .sneat-auth-card > .card-body{
  position:relative;
  z-index:1;
  background:transparent !important;
  border-radius:22px;
  padding:1.45rem 1.35rem 1.25rem !important;
}

body.gl-auth-cinematic .gl-auth-form-kicker{
  color:var(--auth-cyan) !important;
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  margin-bottom:.2rem;
}

body.gl-auth-cinematic .sneat-auth-card h4{
  font-family:"Bricolage Grotesque",sans-serif;
  font-size:1.45rem;
  font-weight:800;
  letter-spacing:-.03em;
  color:#f4f8fa !important;
  margin-bottom:.35rem;
}

body.gl-auth-cinematic .sneat-auth-card p,
body.gl-auth-cinematic .sneat-auth-card span,
body.gl-auth-cinematic .sneat-auth-card small,
body.gl-auth-cinematic .sneat-auth-card label,
body.gl-auth-cinematic .sneat-auth-card .form-label{
  color:var(--auth-muted) !important;
}

body.gl-auth-cinematic .sneat-auth-card .form-label{
  font-weight:600;
  font-size:.8rem;
  color:rgba(232,238,242,.82) !important;
}

body.gl-auth-cinematic .gl-auth-form-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:3.4rem;
  padding:.38rem .7rem;
  border-radius:10px;
  background:rgba(59,130,246,.14);
  border:1px solid rgba(59,130,246,.28);
  color:var(--auth-cyan) !important;
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
}

body.gl-auth-cinematic .sneat-auth-card .form-control,
body.gl-auth-cinematic .sneat-auth-card .input-group-text{
  min-height:2.75rem;
  background:var(--auth-field) !important;
  border-color:var(--auth-field-border) !important;
  color:#f4f8fa !important;
  border-radius:12px;
}

body.gl-auth-cinematic .sneat-auth-card .input-group-merge .form-control{
  border-top-right-radius:0;
  border-bottom-right-radius:0;
}

body.gl-auth-cinematic .sneat-auth-card .input-group-merge .input-group-text{
  border-top-left-radius:0;
  border-bottom-left-radius:0;
}

body.gl-auth-cinematic .sneat-auth-card .form-control::placeholder{
  color:rgba(232,238,242,.38) !important;
}

body.gl-auth-cinematic .sneat-auth-card .form-control:focus{
  border-color:rgba(59,130,246,.55) !important;
  box-shadow:0 0 0 .2rem rgba(59,130,246,.16) !important;
  background:rgba(8,16,22,.72) !important;
}

body.gl-auth-cinematic .sneat-auth-card .input-group-text i{
  color:rgba(59,130,246,.7);
}

body.gl-auth-cinematic .sneat-auth-card .form-check-input{
  background-color:rgba(8,14,20,.55);
  border-color:rgba(232,238,242,.22);
}

body.gl-auth-cinematic .sneat-auth-card .form-check-input:checked{
  background-color:var(--auth-cyan-deep) !important;
  border-color:var(--auth-cyan-deep) !important;
}

body.gl-auth-cinematic .sneat-auth-card .btn-primary{
  min-height:2.85rem;
  border:1px solid var(--auth-gold-deep) !important;
  border-radius:12px !important;
  font-weight:700;
  letter-spacing:.01em;
  color:#1a1406 !important;
  background:linear-gradient(180deg, #D4A017 0%, #C99712 48%, #A67C0F 100%) !important;
  box-shadow:0 14px 32px rgba(var(--auth-amber-rgb),.34), inset 0 1px 0 rgba(255,255,255,.24) !important;
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

body.gl-auth-cinematic .sneat-auth-card .btn-primary:hover{
  filter:none;
  transform:translateY(-1px);
  background:linear-gradient(180deg, #C99712 0%, #A67C0F 55%, #8F6A0E 100%) !important;
  box-shadow:0 18px 36px rgba(var(--auth-amber-rgb),.42), inset 0 1px 0 rgba(255,255,255,.18) !important;
}

body.gl-auth-cinematic .sneat-auth-card .btn-outline-primary,
body.gl-auth-cinematic .sneat-auth-card .btn-light-primary{
  border-radius:12px !important;
  color:var(--auth-amber) !important;
  border-color:rgba(var(--auth-amber-rgb),.45) !important;
  background:rgba(var(--auth-amber-rgb),.10) !important;
}

body.gl-auth-cinematic .sneat-auth-card a{
  color:var(--auth-cyan) !important;
  font-weight:600;
  text-decoration:none;
}

body.gl-auth-cinematic .sneat-auth-card a:hover{
  color:#60A5FA !important;
}

body.gl-auth-cinematic .sneat-auth-card .alert{
  border-radius:12px;
  border:1px solid rgba(59,130,246,.2);
  background:rgba(59,130,246,.08);
  color:var(--auth-ink);
}

body.gl-auth-cinematic .sneat-auth-card .alert-warning{
  border-color:rgba(196,160,106,.35);
  background:rgba(196,160,106,.12);
  color:#f0e2c8;
}

body.gl-auth-cinematic .sneat-auth-meta,
body.gl-auth-cinematic .sneat-auth-card .text-muted{
  color:rgba(232,238,242,.45) !important;
}

body.gl-auth-cinematic .sneat-auth-card .text-danger{
  color:#f0a0a0 !important;
}

body.gl-auth-cinematic .gl-mini-card{
  border-radius:14px;
  background:rgba(8,14,20,.45);
  border:1px solid rgba(59,130,246,.16);
  padding:1rem;
  color:var(--auth-muted);
}

/* Light theme — cool paper glass over cinematic photo (not flat B&W) */
body.gl-auth-cinematic[data-theme="light"]{
  --auth-ink:#152028;
  --auth-muted:rgba(21,32,40,.68);
  --auth-glass:rgba(255,255,255,.86);
  --auth-glass-border:rgba(47,127,143,.28);
  --auth-field:rgba(238,244,246,.92);
  --auth-field-border:rgba(47,127,143,.18);
  --auth-cyan:#1557C0;
  --auth-cyan-deep:#0B3D91;
  --auth-steel:#0B3D91;
}

body.gl-auth-cinematic[data-theme="light"] .gl-auth-stage-media{
  opacity:.78;
  filter:saturate(1.08) contrast(1.02) blur(0px);
}

body.gl-auth-cinematic[data-theme="light"] .gl-auth-stage-wash{
  background:
    radial-gradient(ellipse 55% 50% at 18% 30%, rgba(59,130,246,.18), transparent 55%),
    linear-gradient(118deg, rgba(238,244,246,.78) 0%, rgba(238,244,246,.42) 42%, rgba(10,18,24,.45) 100%);
}

body.gl-auth-cinematic[data-theme="light"] .gl-auth-cinematic-board, body.mfc-site[data-theme="light"] .gl-auth-cinematic-board{
  border-color:rgba(47,127,143,.28);
  box-shadow:0 28px 70px rgba(31,70,82,.18), inset 0 1px 0 rgba(255,255,255,.35);
}

body.gl-auth-cinematic[data-theme="light"] .gl-auth-cinematic-photo, body.mfc-site[data-theme="light"] .gl-auth-cinematic-photo{
  opacity:.78;
}

body.gl-auth-cinematic[data-theme="light"] .sneat-auth-card{
  background:
    linear-gradient(165deg, rgba(59,130,246,.14), transparent 45%),
    rgba(255,255,255,.9) !important;
  box-shadow:0 24px 56px rgba(31,70,82,.16) !important;
}

body.gl-auth-cinematic[data-theme="light"] .sneat-auth-card h4,
body.gl-auth-cinematic[data-theme="light"] .gl-auth-brand .brand-text-name{
  color:#121a20 !important;
}

body.gl-auth-cinematic[data-theme="light"] .sneat-auth-card p,
body.gl-auth-cinematic[data-theme="light"] .sneat-auth-card span,
body.gl-auth-cinematic[data-theme="light"] .sneat-auth-card small,
body.gl-auth-cinematic[data-theme="light"] .sneat-auth-card label,
body.gl-auth-cinematic[data-theme="light"] .sneat-auth-card .form-label,
body.gl-auth-cinematic[data-theme="light"] .sneat-auth-card .form-check-label{
  color:#3a4654 !important;
}

body.gl-auth-cinematic[data-theme="light"] .sneat-auth-card .form-label{
  color:#1c2733 !important;
  font-weight:700;
}

body.gl-auth-cinematic[data-theme="light"] .gl-auth-form-kicker,
body.gl-auth-cinematic[data-theme="light"] .gl-auth-form-chip,
body.gl-auth-cinematic[data-theme="light"] .sneat-auth-card a{
  color:#1557C0 !important;
}

body.gl-auth-cinematic[data-theme="light"] .gl-auth-form-chip{
  background:rgba(21,87,192,.10);
  border-color:rgba(21,87,192,.22);
}

body.gl-auth-cinematic[data-theme="light"] .sneat-auth-card .form-control,
body.gl-auth-cinematic[data-theme="light"] .sneat-auth-card .input-group-text{
  color:#152028 !important;
  background:#f3f6f9 !important;
  border-color:rgba(21,40,56,.18) !important;
}

body.gl-auth-cinematic[data-theme="light"] .sneat-auth-card .form-control::placeholder{
  color:rgba(28,39,51,.42) !important;
}

body.gl-auth-cinematic[data-theme="light"] .sneat-auth-card .form-control:focus{
  color:#101820 !important;
  background:#fff !important;
  border-color:rgba(21,87,192,.45) !important;
  box-shadow:0 0 0 .2rem rgba(21,87,192,.14) !important;
}

body.gl-auth-cinematic[data-theme="light"] .sneat-auth-card .input-group-text i{
  color:rgba(21,87,192,.72);
}

body.gl-auth-cinematic[data-theme="light"] .sneat-auth-card .form-check-input{
  background-color:#fff;
  border-color:rgba(21,40,56,.28);
}

body.gl-auth-cinematic[data-theme="light"] .sneat-auth-card .form-check-input:checked{
  background-color:#1557C0 !important;
  border-color:#1557C0 !important;
}

body.gl-auth-cinematic[data-theme="light"] .sneat-auth-card .btn-primary{
  color:#1a1406 !important;
  background:linear-gradient(180deg, #D4A017 0%, #C99712 48%, #A67C0F 100%) !important;
  border-color:#8F6A0E !important;
  box-shadow:0 14px 28px rgba(201,151,18,.30), inset 0 1px 0 rgba(255,255,255,.24) !important;
}

body.gl-auth-cinematic[data-theme="light"] .sneat-auth-card .alert{
  color:#1c2733;
  background:rgba(21,87,192,.08);
  border-color:rgba(21,87,192,.18);
}

body.gl-auth-cinematic[data-theme="light"] .sneat-auth-card .alert-info{
  color:#14324f;
  background:rgba(21,87,192,.10);
  border-color:rgba(21,87,192,.22);
}

body.gl-auth-cinematic[data-theme="light"] .sneat-auth-card .alert-warning{
  color:#5a4314;
  background:rgba(232,185,35,.14);
  border-color:rgba(201,151,18,.28);
}

body.gl-auth-cinematic[data-theme="light"] .sneat-auth-meta,
body.gl-auth-cinematic[data-theme="light"] .sneat-auth-card .text-muted{
  color:#5b6780 !important;
}

body.gl-auth-cinematic[data-theme="light"] .sneat-auth-card .text-danger,
body.gl-auth-cinematic[data-theme="light"] .sneat-auth-card .field-validation-error,
body.gl-auth-cinematic[data-theme="light"] .sneat-auth-card .validation-summary-errors{
  color:#b42318 !important;
}

body.gl-auth-cinematic[data-theme="light"] .gl-auth-theme-btn{
  color:#152028;
  background:rgba(255,255,255,.82);
  border-color:rgba(47,127,143,.25);
}

/* Responsive */
@media (max-width: 1199.98px){
  body.gl-auth-cinematic .gl-auth-shell{
    grid-template-columns:1fr;
    gap:1.25rem;
    padding:4.5rem 0 2rem;
  }

  body.gl-auth-cinematic .gl-auth-panel-wrap{
    justify-content:center;
  }

  body.gl-auth-cinematic .gl-auth-cinematic-board, body.mfc-site .gl-auth-cinematic-board{
    min-height:480px;
  }

  body.gl-auth-cinematic .gl-auth-cinematic-core, body.mfc-site .gl-auth-cinematic-core{
    grid-template-columns:1fr;
    min-height:22rem;
  }
}

@media (max-width: 767.98px){
  body.gl-auth-cinematic .gl-auth-showcase{
    display:none;
  }

  body.gl-auth-cinematic .gl-auth-shell{
    padding:5rem 0 2rem;
  }

  body.gl-auth-cinematic .gl-auth-panel{
    max-width:100%;
  }

  body.gl-auth-cinematic .gl-auth-stage-media{
    animation:none;
    opacity:.7;
    filter:saturate(1.05) contrast(1.04);
  }
}

@media (prefers-reduced-motion: reduce){
  body.gl-auth-cinematic .gl-auth-stage-media,
  body.gl-auth-cinematic .gl-auth-cinematic-photo, body.mfc-site .gl-auth-cinematic-photo,
  body.gl-auth-cinematic .gl-auth-cinematic-orb-core, body.mfc-site .gl-auth-cinematic-orb-core,
  body.gl-auth-cinematic .gl-auth-cinematic-orb-ring-b, body.mfc-site .gl-auth-cinematic-orb-ring-b,
  body.gl-auth-cinematic .gl-auth-showcase,
  body.gl-auth-cinematic .gl-auth-panel-wrap{
    animation:none !important;
  }
}

/* Marketing home reuses cinematic board tokens */
body.mfc-site{
  --auth-cyan:#3B82F6;
  --auth-cyan-deep:#1557C0;
  --auth-cyan-rgb:59,130,246;
  --auth-steel:#0B3D91;
  --auth-amber:#C99712;
  --auth-amber-rgb:201,151,18;
  --auth-gold:#D4A017;
  --auth-gold-deep:#8F6A0E;
  --auth-ink:#e8eef2;
  --auth-muted:rgba(232,238,242,.68);
  --auth-glass:rgba(8,12,22,.84);
  --auth-glass-border:rgba(201,151,18,.30);
}

/* Matching APEX-inspired operator surface, scoped to the auth pages. */
body.gl-auth-cinematic.mfc-trading-auth { --auth-cyan:#7ce3ed; --auth-field:#0a1d2a; --auth-field-border:#315466; --auth-muted:#aec7d1; background:#08141f; }
body.gl-auth-cinematic.mfc-trading-auth .sneat-auth-card { border-color:#3e6878 !important; background:linear-gradient(145deg,#14303e,#0d202e 65%) !important; box-shadow:0 18px 55px #0005, inset 0 1px 0 #8ce9ff15 !important; }
body.gl-auth-cinematic.mfc-trading-auth .sneat-auth-card .btn-primary { color:#092731 !important; border-color:#84e0ea !important; background:linear-gradient(135deg,#adf1f2,#56c2d8) !important; box-shadow:0 5px 22px #4dc7d62b !important; }
body.gl-auth-cinematic.mfc-trading-auth .sneat-auth-card .btn-primary:hover { background:linear-gradient(135deg,#c8ffff,#72dce9) !important; }
body.gl-auth-cinematic.mfc-trading-auth .sneat-auth-card .form-control,
body.gl-auth-cinematic.mfc-trading-auth .sneat-auth-card .input-group-text { background:#0a1d2a !important; border-color:#315466 !important; color:#e6f5f9 !important; }
body.gl-auth-cinematic.mfc-trading-auth .sneat-auth-card .form-control:focus { border-color:#7ce3ed !important; box-shadow:0 0 0 3px #75deed22 !important; }
body.gl-auth-cinematic.mfc-trading-auth .sneat-auth-card .input-group-text:focus-visible { outline:2px solid #edc887; outline-offset:2px; }
body.gl-auth-cinematic.mfc-trading-auth .gl-auth-form-chip { color:#f2d49d !important; background:#d5b27115; border-color:#b3905655; }
body.gl-auth-cinematic.mfc-trading-auth .sneat-auth-card .form-check-input:checked { background-color:#54c4d7 !important; border-color:#73d9e5 !important; }
body.gl-auth-cinematic.mfc-trading-auth .mfc-auth-network { background:radial-gradient(ellipse at center,#154455,#091f2e 70%); border-color:#3a6375; }
.mfc-auth-particles { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.mfc-auth-network .mfc-engine-node { background:transparent; }
.mfc-auth-network .mfc-engine-node > i { opacity:.3; }
body.gl-auth-cinematic.mfc-trading-auth[data-theme="light"] .sneat-auth-card { background:#f2fafc !important; }
body.gl-auth-cinematic.mfc-trading-auth[data-theme="light"] .sneat-auth-card .form-control,
body.gl-auth-cinematic.mfc-trading-auth[data-theme="light"] .sneat-auth-card .input-group-text { background:#fff !important; color:#12313f !important; border-color:#9dbecb !important; }
