/* ==============================================
   login-enhance.css — v10.3 editorial login
   Override / layer on top of the React bundle's
   default login. Keyed on #eb-login-root injected
   by login-enhance.js
   ============================================== */

#eb-login-root{
  position:fixed;inset:0;z-index:9999;
  background:var(--bg-deep,#040608);
  color:var(--text-primary,#e2e8f0);
  font-family:Inter,sans-serif;
  overflow:hidden;
  display:grid;
  grid-template-columns:1fr 440px;
  animation:eb-login-in .6s cubic-bezier(.22,1,.36,1) both;
}

@keyframes eb-login-in{
  0%{opacity:0}
  100%{opacity:1}
}

/* backdrop ambient */
#eb-login-root::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(ellipse 60% 50% at 15% 20%, rgba(0,212,170,.07), transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 90%, rgba(59,130,246,.05), transparent 60%);
  z-index:0;
}

/* grain overlay */
#eb-login-root::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.008) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.008) 0 1px, transparent 1px 3px);
  opacity:.5;z-index:0;
}

/* ====== LEFT PANEL ====== */
.eb-l{
  position:relative;z-index:1;
  padding:56px 64px;
  display:flex;flex-direction:column;gap:48px;
  justify-content:space-between;
  border-right:1px solid rgba(255,255,255,.04);
  background:linear-gradient(165deg, #0a0e16 0%, #07090f 100%);
  overflow:hidden;
}
.eb-l::before{
  content:"";position:absolute;top:0;left:0;right:0;height:1px;
  background:linear-gradient(90deg,transparent 20%,rgba(0,212,170,.35),transparent 80%);
}

.eb-brand{
  display:flex;align-items:center;gap:14px;
  animation:eb-fade .5s .1s cubic-bezier(.22,1,.36,1) both;
}
.eb-brand-logo{
  width:40px;height:40px;border-radius:9px;
  background:linear-gradient(135deg,#00d4aa,#3b82f6);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 24px rgba(0,212,170,.25), inset 0 1px 0 rgba(255,255,255,.18);
  position:relative;
}
.eb-brand-logo::after{
  content:"";position:absolute;inset:2px;border-radius:7px;
  background:
    linear-gradient(135deg,#0c1018,#0a0d14);
  z-index:1;
}
.eb-brand-logo svg{position:relative;z-index:2}
.eb-brand-name{
  font-size:22px;font-weight:600;letter-spacing:-.02em;line-height:1;
}
.eb-brand-name em{font-weight:400;color:var(--accent,#00d4aa);font-style:normal}
.eb-brand-sub{
  font-family:JetBrains Mono,monospace;
  font-size:10px;font-weight:500;letter-spacing:.15em;
  color:var(--text-muted,#64748b);text-transform:uppercase;margin-top:4px;
}

/* manifesto */
.eb-manifesto{
  display:flex;flex-direction:column;gap:10px;
  animation:eb-fade .6s .2s cubic-bezier(.22,1,.36,1) both;
}
.eb-manifesto-line{
  font-size:64px;line-height:1.02;font-weight:300;letter-spacing:-.03em;
  color:var(--text-primary,#e2e8f0);
}
.eb-manifesto-line:nth-child(2){color:var(--accent,#00d4aa)}
.eb-manifesto-line:nth-child(3){font-weight:600;background:linear-gradient(135deg,#e2e8f0,#64748b);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}

.eb-manifesto-sub{
  margin-top:20px;max-width:420px;
  font-size:14px;line-height:1.6;color:var(--text-muted,#64748b);font-weight:400;
}

/* live stats strip */
.eb-stats{
  display:grid;grid-template-columns:repeat(3,1fr);gap:0;
  border-top:1px solid rgba(255,255,255,.05);
  border-bottom:1px solid rgba(255,255,255,.05);
  padding:20px 0;
  animation:eb-fade .6s .35s cubic-bezier(.22,1,.36,1) both;
}
.eb-stat{position:relative;padding:0 20px}
.eb-stat:not(:last-child){border-right:1px solid rgba(255,255,255,.04)}
.eb-stat:first-child{padding-left:0}
.eb-stat-label{
  font-family:JetBrains Mono,monospace;
  font-size:9px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;
  color:var(--text-muted,#64748b);margin-bottom:8px;
  display:flex;align-items:center;gap:6px;
}
.eb-stat-dot{
  width:6px;height:6px;border-radius:50%;
  background:var(--accent,#00d4aa);
  box-shadow:0 0 8px rgba(0,212,170,.6);
  animation:eb-pulse 2s infinite;
}
.eb-stat-dot.warn{background:#f59e0b;box-shadow:0 0 8px rgba(245,158,11,.6)}
.eb-stat-dot.info{background:#3b82f6;box-shadow:0 0 8px rgba(59,130,246,.6)}
@keyframes eb-pulse{
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.55;transform:scale(.85)}
}
.eb-stat-value{
  font-family:JetBrains Mono,monospace;
  font-size:20px;font-weight:600;letter-spacing:-.02em;color:var(--text-primary,#e2e8f0);
  line-height:1;font-variant-numeric:tabular-nums;
}
.eb-stat-hint{
  font-size:11px;color:var(--text-muted,#64748b);margin-top:6px;font-weight:400;
}

/* footer left */
.eb-l-foot{
  display:flex;align-items:center;justify-content:space-between;
  font-family:JetBrains Mono,monospace;
  font-size:10px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--text-muted,#64748b);
  animation:eb-fade .6s .5s cubic-bezier(.22,1,.36,1) both;
}
.eb-l-foot span{display:flex;align-items:center;gap:6px}
.eb-l-foot a{color:inherit;text-decoration:none;transition:color .2s}
.eb-l-foot a:hover{color:var(--accent,#00d4aa)}
.eb-flow{
  display:inline-block;width:16px;height:1px;background:var(--accent,#00d4aa);
  opacity:.5;position:relative;
}
.eb-flow::after{
  content:"";position:absolute;right:-3px;top:-2px;
  width:0;height:0;border-left:4px solid var(--accent,#00d4aa);
  border-top:2.5px solid transparent;border-bottom:2.5px solid transparent;
  opacity:.7;
}

/* ====== RIGHT PANEL ====== */
.eb-r{
  position:relative;z-index:1;
  display:flex;flex-direction:column;
  background:linear-gradient(180deg,#0b0e16,#080a10);
  padding:56px 48px;
  justify-content:center;
  animation:eb-fade .6s .15s cubic-bezier(.22,1,.36,1) both;
}
.eb-r-inner{max-width:380px;width:100%;margin:0 auto}

.eb-r-eyebrow{
  font-family:JetBrains Mono,monospace;
  font-size:10px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;
  color:var(--accent,#00d4aa);
  display:flex;align-items:center;gap:8px;margin-bottom:14px;
}
.eb-r-eyebrow::before{
  content:"";width:12px;height:1px;background:var(--accent,#00d4aa);opacity:.6;
}
.eb-r-title{
  font-size:30px;font-weight:500;letter-spacing:-.025em;line-height:1.15;
  color:var(--text-primary,#e2e8f0);margin-bottom:8px;
}
.eb-r-sub{
  font-size:14px;line-height:1.55;color:var(--text-muted,#64748b);margin-bottom:32px;
}

/* method button */
.eb-method{
  display:flex;align-items:center;gap:14px;
  width:100%;padding:16px 18px;
  background:linear-gradient(165deg, rgba(255,255,255,.02), rgba(255,255,255,.005));
  border:1px solid rgba(255,255,255,.06);
  border-radius:12px;
  color:var(--text-primary,#e2e8f0);
  font-family:inherit;font-size:14px;font-weight:500;
  cursor:pointer;text-align:left;
  transition:all .25s cubic-bezier(.22,1,.36,1);
  position:relative;overflow:hidden;
}
.eb-method:hover{
  border-color:rgba(0,212,170,.35);
  background:linear-gradient(165deg, rgba(0,212,170,.05), rgba(0,212,170,.01));
  transform:translateY(-1px);
  box-shadow:0 8px 24px rgba(0,0,0,.3), 0 0 0 1px rgba(0,212,170,.08);
}
.eb-method:active{transform:translateY(0)}
.eb-method + .eb-method{margin-top:10px}
.eb-method-icon{
  width:32px;height:32px;border-radius:8px;
  background:linear-gradient(145deg,#0f1320,#0a0d14);
  border:1px solid rgba(255,255,255,.04);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.eb-method-body{flex:1;min-width:0}
.eb-method-title{font-weight:500;font-size:14px;color:var(--text-primary,#e2e8f0);margin-bottom:2px;letter-spacing:-.01em}
.eb-method-hint{font-size:11px;color:var(--text-muted,#64748b);font-family:JetBrains Mono,monospace;letter-spacing:.04em}
.eb-method-arrow{color:var(--text-muted,#64748b);opacity:.6;transition:all .25s cubic-bezier(.22,1,.36,1)}
.eb-method:hover .eb-method-arrow{color:var(--accent,#00d4aa);opacity:1;transform:translate(4px)}

/* divider */
.eb-divider{
  display:flex;align-items:center;gap:12px;margin:24px 0;
  font-family:JetBrains Mono,monospace;font-size:10px;letter-spacing:.15em;
  color:var(--text-muted,#64748b);text-transform:uppercase;
}
.eb-divider::before,.eb-divider::after{
  content:"";flex:1;height:1px;background:rgba(255,255,255,.06);
}

/* token input group */
.eb-token-group{
  position:relative;
}
.eb-token-input{
  width:100%;padding:16px 18px 16px 46px;
  background:rgba(255,255,255,.02);
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  color:var(--text-primary,#e2e8f0);
  font-family:JetBrains Mono,monospace;font-size:13px;
  letter-spacing:.02em;
  transition:all .25s cubic-bezier(.22,1,.36,1);
  outline:none;
}
.eb-token-input:focus{
  border-color:rgba(0,212,170,.4);
  background:rgba(0,212,170,.02);
  box-shadow:0 0 0 3px rgba(0,212,170,.08);
}
.eb-token-input::placeholder{color:#3f4a5c}
.eb-token-icon{
  position:absolute;left:16px;top:50%;transform:translateY(-50%);
  color:var(--text-muted,#64748b);pointer-events:none;
}

.eb-cta{
  width:100%;margin-top:14px;padding:14px 20px;
  background:linear-gradient(135deg, rgba(0,212,170,.18), rgba(0,212,170,.1));
  border:1px solid rgba(0,212,170,.35);
  border-radius:12px;
  color:var(--accent,#00d4aa);
  font-family:JetBrains Mono,monospace;font-size:13px;font-weight:700;
  letter-spacing:.12em;text-transform:uppercase;
  cursor:pointer;display:flex;align-items:center;justify-content:center;gap:10px;
  transition:all .25s cubic-bezier(.22,1,.36,1);
  position:relative;overflow:hidden;
}
.eb-cta::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,transparent,rgba(0,212,170,.18),transparent);
  transform:translate(-100%);
  transition:transform .6s cubic-bezier(.22,1,.36,1);
}
.eb-cta:hover{
  background:linear-gradient(135deg, rgba(0,212,170,.28), rgba(0,212,170,.15));
  border-color:rgba(0,212,170,.55);
  box-shadow:0 8px 24px rgba(0,212,170,.18), 0 0 0 1px rgba(0,212,170,.2);
  transform:translateY(-1px);
}
.eb-cta:hover::before{transform:translate(100%)}
.eb-cta:disabled{opacity:.45;cursor:not-allowed;transform:none}

.eb-err{
  margin-top:14px;padding:10px 14px;
  background:rgba(239,68,68,.08);
  border:1px solid rgba(239,68,68,.25);
  border-radius:8px;
  color:#fca5a5;font-size:12px;line-height:1.4;
  font-family:JetBrains Mono,monospace;letter-spacing:.02em;
  animation:eb-shake .4s cubic-bezier(.36,.07,.19,.97);
  display:none;
}
.eb-err.visible{display:block}
@keyframes eb-shake{
  0%,100%{transform:translate(0)}
  20%{transform:translate(-4px)}
  40%{transform:translate(4px)}
  60%{transform:translate(-3px)}
  80%{transform:translate(2px)}
}

/* loader inside cta */
.eb-spin{
  width:12px;height:12px;border:2px solid rgba(0,212,170,.2);
  border-top-color:var(--accent,#00d4aa);border-radius:50%;
  animation:eb-spin .8s linear infinite;
}
@keyframes eb-spin{to{transform:rotate(360deg)}}

/* subtle r-foot */
.eb-r-foot{
  margin-top:40px;text-align:center;
  font-family:JetBrains Mono,monospace;
  font-size:9px;letter-spacing:.2em;text-transform:uppercase;
  color:#3f4a5c;
  display:flex;align-items:center;justify-content:center;gap:10px;
}
.eb-r-foot::before,.eb-r-foot::after{
  content:"";width:20px;height:1px;background:rgba(255,255,255,.05);
}

@keyframes eb-fade{
  0%{opacity:0;transform:translateY(14px)}
  100%{opacity:1;transform:translateY(0)}
}

/* responsive */
@media (max-width: 900px){
  #eb-login-root{grid-template-columns:1fr;grid-template-rows:auto 1fr}
  .eb-l{padding:32px;gap:24px;border-right:none;border-bottom:1px solid rgba(255,255,255,.04)}
  .eb-manifesto-line{font-size:40px}
  .eb-r{padding:40px 32px}
  .eb-stats{grid-template-columns:repeat(3,1fr)}
}
@media (max-width: 560px){
  .eb-stats{grid-template-columns:1fr;gap:14px}
  .eb-stat{border-right:none !important;padding:0}
  .eb-manifesto-line{font-size:32px}
  .eb-l{padding:28px}
  .eb-r{padding:32px 24px}
}

/* hide root scroll while login is visible */
body.eb-login-locked{overflow:hidden}
/* =========================================================
   v2 additions (2026-05-04)
   - scrollable left column with rich marketing
   - animated drifting background orbs + grid pulse
   - EIP-6963 wallet chooser overlay
   - scroll hint indicator
   ========================================================= */

/* override .eb-l to allow internal scrolling. The scroll body is .eb-l-scroll;
   the .eb-l itself becomes a positioning shell so the scroll-hint can sit
   absolutely at the bottom-left without scrolling away. */
.eb-l{
  padding:0;
  overflow:hidden;
  display:block;
  gap:0;
}
.eb-l-scroll{
  position:relative;
  width:100%;height:100%;
  padding:56px 64px 96px;
  display:flex;flex-direction:column;gap:48px;
  overflow-y:auto;
  overflow-x:hidden;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.08) transparent;
}
.eb-l-scroll::-webkit-scrollbar{width:4px}
.eb-l-scroll::-webkit-scrollbar-thumb{background:rgba(255,255,255,.06);border-radius:2px}
.eb-l-scroll::-webkit-scrollbar-thumb:hover{background:rgba(0,212,170,.25)}

/* scroll hint pill at bottom of left column */
.eb-scroll-hint{
  position:absolute;left:64px;bottom:24px;z-index:2;
  display:inline-flex;align-items:center;gap:6px;
  padding:6px 12px;border-radius:999px;
  background:rgba(0,212,170,.08);
  border:1px solid rgba(0,212,170,.22);
  color:rgba(0,212,170,.85);
  font-family:JetBrains Mono,monospace;
  font-size:10px;letter-spacing:.18em;text-transform:uppercase;font-weight:600;
  pointer-events:none;
  animation:eb-bounce 2.2s ease-in-out infinite, eb-fade .6s .8s both;
  transition:opacity .35s ease, transform .35s ease;
}
.eb-scroll-hint.eb-fade-out{opacity:0;transform:translateY(8px)}
@keyframes eb-bounce{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(4px)}
}

/* =====================================================
   ANIMATED BG LAYER — drifting accent orbs, grid pulse
   ===================================================== */
.eb-bg-layer{
  position:absolute;inset:0;pointer-events:none;z-index:0;
  overflow:hidden;
}
.eb-orb{
  position:absolute;
  border-radius:50%;
  filter:blur(70px);
  opacity:.55;
  will-change:transform;
}
.eb-orb-0{
  width:500px;height:500px;
  top:-180px;left:-200px;
  background:radial-gradient(circle, rgba(0,212,170,.35) 0%, transparent 60%);
  animation:eb-drift-a 24s ease-in-out infinite;
}
.eb-orb-1{
  width:380px;height:380px;
  bottom:-160px;left:35%;
  background:radial-gradient(circle, rgba(59,130,246,.22) 0%, transparent 60%);
  animation:eb-drift-b 30s ease-in-out infinite;
}
.eb-orb-2{
  width:340px;height:340px;
  top:30%;left:18%;
  background:radial-gradient(circle, rgba(168,85,247,.16) 0%, transparent 60%);
  animation:eb-drift-c 36s ease-in-out infinite;
}
@keyframes eb-drift-a{
  0%,100%{transform:translate(0,0) scale(1)}
  33%{transform:translate(60px,-30px) scale(1.05)}
  66%{transform:translate(-40px,40px) scale(.95)}
}
@keyframes eb-drift-b{
  0%,100%{transform:translate(0,0) scale(1)}
  50%{transform:translate(-80px,-60px) scale(1.08)}
}
@keyframes eb-drift-c{
  0%,100%{transform:translate(0,0) scale(.95)}
  40%{transform:translate(50px,30px) scale(1.05)}
  80%{transform:translate(-30px,-40px) scale(1)}
}

/* manifesto line entrance — staggered reveal */
.eb-anim-line{
  animation:eb-line-up .65s cubic-bezier(.22,1,.36,1) both;
}
.eb-anim-line:nth-child(1){animation-delay:.18s}
.eb-anim-line:nth-child(2){animation-delay:.32s}
.eb-anim-line:nth-child(3){animation-delay:.46s}
@keyframes eb-line-up{
  0%{opacity:0;transform:translateY(14px)}
  100%{opacity:1;transform:translateY(0)}
}

/* =====================================================
   MARKETING SECTIONS (features, stack, metrics)
   ===================================================== */
.eb-section-eyebrow{
  font-family:JetBrains Mono,monospace;
  font-size:10px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;
  color:var(--text-muted,#64748b);
  margin-top:8px;
  display:flex;align-items:center;gap:10px;
  animation:eb-fade .6s .55s cubic-bezier(.22,1,.36,1) both;
}
.eb-section-eyebrow::before{
  content:"";width:24px;height:1px;background:rgba(0,212,170,.5);
}
.eb-section-eyebrow::after{
  content:"";flex:1;height:1px;
  background:linear-gradient(to right, rgba(255,255,255,.06), transparent);
}

.eb-features{
  display:grid;grid-template-columns:1fr 1fr;gap:14px;
  animation:eb-fade .7s .65s cubic-bezier(.22,1,.36,1) both;
}
.eb-feature{
  display:flex;gap:12px;align-items:flex-start;
  padding:16px;border-radius:10px;
  background:linear-gradient(160deg,rgba(255,255,255,.018),rgba(255,255,255,.006));
  border:1px solid rgba(255,255,255,.05);
  transition:transform .25s cubic-bezier(.22,1,.36,1), border-color .25s, background .25s;
}
.eb-feature:hover{
  transform:translateY(-2px);
  border-color:rgba(0,212,170,.18);
  background:linear-gradient(160deg,rgba(0,212,170,.04),rgba(255,255,255,.01));
}
.eb-feature-icon{
  width:30px;height:30px;flex-shrink:0;border-radius:8px;
  background:rgba(0,212,170,.08);
  border:1px solid rgba(0,212,170,.18);
  color:#00d4aa;
  display:inline-flex;align-items:center;justify-content:center;
}
.eb-feature-body{min-width:0}
.eb-feature-title{
  font-size:13px;font-weight:600;color:var(--text-primary,#e2e8f0);
  letter-spacing:-.005em;margin-bottom:4px;
}
.eb-feature-text{
  font-size:11.5px;line-height:1.55;color:var(--text-muted,#94a3b8);
  font-weight:400;
}

.eb-stack{
  display:flex;flex-wrap:wrap;gap:6px;
  animation:eb-fade .7s .75s cubic-bezier(.22,1,.36,1) both;
}
.eb-stack-pill{
  display:inline-flex;align-items:center;
  padding:5px 10px;border-radius:999px;
  background:rgba(255,255,255,.025);
  border:1px solid rgba(255,255,255,.05);
  font-family:JetBrains Mono,monospace;
  font-size:10px;font-weight:600;letter-spacing:.04em;
  color:var(--text-muted,#94a3b8);
  transition:all .2s ease;
}
.eb-stack-pill:hover{
  background:rgba(0,212,170,.08);
  border-color:rgba(0,212,170,.22);
  color:#00d4aa;
}

.eb-metrics{
  display:grid;grid-template-columns:repeat(4,1fr);gap:10px;
  animation:eb-fade .7s .85s cubic-bezier(.22,1,.36,1) both;
}
.eb-metric{
  padding:14px 12px;border-radius:10px;
  background:linear-gradient(170deg,rgba(255,255,255,.025),rgba(255,255,255,.005));
  border:1px solid rgba(255,255,255,.05);
  display:flex;flex-direction:column;gap:3px;
  transition:border-color .25s, transform .25s cubic-bezier(.22,1,.36,1);
}
.eb-metric:hover{
  transform:translateY(-1px);
  border-color:rgba(0,212,170,.2);
}
.eb-metric-value{
  font-family:JetBrains Mono,monospace;
  font-size:20px;font-weight:700;letter-spacing:-.02em;
  color:var(--text-primary,#e2e8f0);font-variant-numeric:tabular-nums;
  line-height:1.1;
}
.eb-metric-label{
  font-size:11px;color:var(--text-muted,#94a3b8);font-weight:500;
}
.eb-metric-sub{
  font-family:JetBrains Mono,monospace;
  font-size:9px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--text-muted,#475569);font-weight:600;
  margin-top:2px;
}

/* =====================================================
   EIP-6963 wallet chooser overlay
   ===================================================== */
.eb-wc-overlay{
  position:fixed;inset:0;z-index:10000;
  background:rgba(4,6,8,.78);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  display:flex;align-items:center;justify-content:center;
  padding:24px;
  animation:eb-fade .25s ease both;
}
.eb-wc-card{
  width:100%;max-width:420px;
  background:linear-gradient(180deg,#0c0f16,#080a10);
  border:1px solid rgba(255,255,255,.06);
  border-radius:16px;
  box-shadow:0 24px 80px rgba(0,0,0,.6), 0 1px 0 rgba(255,255,255,.05) inset;
  overflow:hidden;
  animation:eb-pop .3s cubic-bezier(.22,1,.36,1) both;
}
@keyframes eb-pop{
  0%{opacity:0;transform:translateY(8px) scale(.96)}
  100%{opacity:1;transform:translateY(0) scale(1)}
}
.eb-wc-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:18px 20px;
  border-bottom:1px solid rgba(255,255,255,.04);
}
.eb-wc-title{
  font-size:15px;font-weight:600;letter-spacing:-.005em;
  color:var(--text-primary,#e2e8f0);
}
.eb-wc-close{
  width:28px;height:28px;border-radius:6px;
  background:transparent;border:1px solid rgba(255,255,255,.06);
  display:inline-flex;align-items:center;justify-content:center;
  color:var(--text-muted,#64748b);cursor:pointer;
  transition:all .2s;
}
.eb-wc-close:hover{color:#ef4444;background:rgba(239,68,68,.08);border-color:rgba(239,68,68,.25)}
.eb-wc-grid{display:flex;flex-direction:column;padding:8px}
.eb-wc-item{
  display:flex;align-items:center;gap:12px;
  padding:12px 14px;border-radius:10px;
  background:transparent;border:1px solid transparent;
  cursor:pointer;color:var(--text-primary,#e2e8f0);
  transition:all .18s cubic-bezier(.22,1,.36,1);
  text-align:left;width:100%;
}
.eb-wc-item:hover{
  background:linear-gradient(160deg,rgba(0,212,170,.05),rgba(255,255,255,.012));
  border-color:rgba(0,212,170,.22);
  transform:translateX(2px);
}
.eb-wc-icon{
  width:36px;height:36px;border-radius:8px;flex-shrink:0;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.025);
  border:1px solid rgba(255,255,255,.05);
  object-fit:cover;
}
.eb-wc-icon-fallback{color:var(--accent,#00d4aa)}
.eb-wc-item-body{flex:1;min-width:0}
.eb-wc-item-name{
  font-size:13px;font-weight:600;color:var(--text-primary,#e2e8f0);
  letter-spacing:-.005em;
}
.eb-wc-item-rdns{
  font-family:JetBrains Mono,monospace;
  font-size:10px;color:var(--text-muted,#64748b);
  letter-spacing:.04em;margin-top:2px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.eb-wc-item-arrow{color:var(--text-muted,#475569);transition:color .2s, transform .2s}
.eb-wc-item:hover .eb-wc-item-arrow{color:#00d4aa;transform:translateX(2px)}

.eb-wc-empty{padding:40px 24px;text-align:center}
.eb-wc-empty-title{
  font-size:13px;font-weight:600;color:var(--text-primary,#e2e8f0);
  margin-bottom:6px;
}
.eb-wc-empty-hint{
  font-size:11.5px;line-height:1.55;color:var(--text-muted,#64748b);
}
.eb-wc-foot{
  padding:10px 20px;
  font-family:JetBrains Mono,monospace;
  font-size:9px;letter-spacing:.16em;text-transform:uppercase;
  color:var(--text-muted,#475569);
  border-top:1px solid rgba(255,255,255,.04);
  text-align:center;
}

/* shrink the manifesto a touch on smaller heights so everything fits */
@media (max-height:820px){
  .eb-manifesto-line{font-size:48px}
  .eb-manifesto-sub{font-size:13px}
  .eb-l-scroll{padding:36px 48px 80px;gap:32px}
}

/* responsive: stack vertically on narrow screens */
@media (max-width:900px){
  #eb-login-root{grid-template-columns:1fr}
  .eb-l{display:none}
  .eb-r{padding:32px 24px}
}

/* ===========================================
   2FA enrolment + verify modal (within .eb-wc-overlay)
   =========================================== */
.eb-2fa-card{max-width:440px}
.eb-2fa-body{padding:20px 22px;display:flex;flex-direction:column;gap:14px}
.eb-2fa-step{
  font-size:12px;line-height:1.55;color:var(--text-muted,#94a3b8);
  font-weight:500;
}
.eb-2fa-qr{
  display:flex;justify-content:center;
  padding:14px;border-radius:10px;
  background:#fff; /* QR scanners need a light background */
  align-self:center;
}
.eb-2fa-qr img{display:block}
.eb-2fa-secret-wrap{
  display:flex;align-items:center;gap:8px;
  padding:10px 12px;border-radius:8px;
  background:rgba(255,255,255,.025);
  border:1px solid rgba(255,255,255,.05);
  font-size:11px;
}
.eb-2fa-secret-label{color:var(--text-muted,#64748b);flex-shrink:0}
.eb-2fa-secret{
  font-family:JetBrains Mono,monospace;
  font-size:11.5px;letter-spacing:.04em;
  color:var(--text-primary,#e2e8f0);
  word-break:break-all;
  cursor:pointer;
  flex:1;
  position:relative;
  padding-right:8px;
  transition:color .2s;
}
.eb-2fa-secret:hover{color:#00d4aa}
.eb-2fa-secret.copied::after{
  content:"copied";
  position:absolute;right:0;top:0;
  font-family:JetBrains Mono,monospace;
  font-size:9px;letter-spacing:.12em;
  color:#00d4aa;text-transform:uppercase;font-weight:600;
}
.eb-2fa-input{
  width:100%;padding:14px 16px;
  background:rgba(0,0,0,.35);
  border:1px solid rgba(0,212,170,.3);
  border-radius:10px;
  font-family:JetBrains Mono,monospace;
  font-size:24px;font-weight:700;letter-spacing:.4em;
  text-align:center;
  color:var(--text-primary,#e2e8f0);
  outline:none;
  font-variant-numeric:tabular-nums;
  transition:border-color .2s;
}
.eb-2fa-input:focus{border-color:rgba(0,212,170,.55);box-shadow:0 0 0 3px rgba(0,212,170,.1)}
.eb-2fa-submit{margin-top:0}
.eb-2fa-err{
  display:flex;align-items:center;gap:8px;
  padding:10px 13px;border-radius:8px;
  background:rgba(239,68,68,.08);
  border:1px solid rgba(239,68,68,.22);
  font-size:11.5px;color:#fca5a5;line-height:1.4;
  animation:eb-fade .2s ease both;
}

/* ===========================================
   VITRINE v3 (2026-05-04) — equity-bg, top strip, typewriter,
   orbital chooser, parallax orbs
   =========================================== */

/* Background equity curve — sits between orbs and content */
.eb-bg-equity{
  position:absolute;inset:0;
  pointer-events:none;
  z-index:0;
  opacity:.45;
}
.eb-bg-equity svg{width:100%;height:100%;display:block}
.eb-eq-line{
  stroke-dasharray:5000;
  stroke-dashoffset:5000;
  animation:eb-eq-draw 6s cubic-bezier(.22,1,.36,1) .4s both;
  filter:drop-shadow(0 0 6px rgba(0,212,170,.4));
}
.eb-eq-fill{
  opacity:0;
  animation:eb-eq-fade 1.6s ease 5s both;
}
@keyframes eb-eq-draw{
  0%{stroke-dashoffset:5000}
  100%{stroke-dashoffset:0}
}
@keyframes eb-eq-fade{
  0%{opacity:0}
  100%{opacity:.65}
}

/* Orb parallax — uses CSS vars set from JS */
.eb-orb{transform:translate(var(--px,0), var(--py,0)) scale(1);transition:transform .35s cubic-bezier(.22,1,.36,1)}

/* ===== TOP STRIP : heartbeat + ticker ===== */
.eb-top-strip{
  position:absolute;top:0;left:0;right:0;z-index:2;
  display:flex;flex-direction:column;
  background:linear-gradient(180deg, rgba(8,10,16,.92), rgba(8,10,16,.65) 70%, transparent);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(255,255,255,.04);
  pointer-events:none;
}
.eb-heartbeat{
  display:flex;align-items:center;gap:14px;
  padding:10px 24px 6px;
  font-family:JetBrains Mono,monospace;
  font-size:9px;letter-spacing:.2em;text-transform:uppercase;
  color:var(--text-muted,#64748b);
}
.eb-heartbeat-label{color:var(--accent,#00d4aa);font-weight:700}
.eb-heartbeat-cells{display:flex;gap:4px;flex:0 0 auto}
.eb-hb-cell{
  width:18px;height:6px;border-radius:1px;
  background:rgba(255,255,255,.04);
}
.eb-hb-cell.is-on{background:rgba(0,212,170,.45)}
.eb-hb-cell.is-latest{
  background:#00d4aa;
  box-shadow:0 0 12px rgba(0,212,170,.7);
  animation:eb-hb-pulse 1.4s ease-in-out infinite;
}
@keyframes eb-hb-pulse{
  0%,100%{opacity:1;transform:scaleY(1)}
  50%{opacity:.55;transform:scaleY(1.4)}
}
.eb-heartbeat-time{margin-left:auto;color:var(--text-muted,#475569)}

/* Ticker marquee */
.eb-ticker{
  display:flex;align-items:center;gap:14px;
  padding:6px 24px 10px;
  font-family:JetBrains Mono,monospace;
  font-size:11px;letter-spacing:.04em;
  overflow:hidden;
  position:relative;
}
.eb-ticker-label{
  font-size:9px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;
  color:var(--text-muted,#64748b);flex-shrink:0;
}
.eb-ticker-track{
  flex:1;overflow:hidden;
  position:relative;
  mask-image:linear-gradient(90deg,transparent 0,#000 8%,#000 92%,transparent);
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 8%,#000 92%,transparent);
}
.eb-ticker-inner{
  display:inline-flex;gap:32px;align-items:center;
  white-space:nowrap;
  animation:eb-ticker-roll 38s linear infinite;
}
@keyframes eb-ticker-roll{
  0%{transform:translateX(0)}
  100%{transform:translateX(-50%)}
}
.eb-ticker-item{
  display:inline-flex;align-items:center;gap:8px;
  padding:2px 0;
}
.eb-ticker-score{
  display:inline-block;min-width:30px;
  font-weight:700;color:var(--accent,#00d4aa);
  font-variant-numeric:tabular-nums;
}
.eb-ticker-sym{color:var(--text-primary,#e2e8f0);font-weight:600}
.eb-ticker-side{font-weight:700;letter-spacing:.08em}

/* Push the manifesto/auth a bit lower so the top strip doesn't overlap */
#eb-login-root{padding-top:72px}

/* ===== TYPEWRITER manifesto ===== */
.eb-tw-line{
  position:relative;
  min-height:1.02em; /* hold the line height during empty state */
}
.eb-tw-line.is-typing::after{
  content:"";
  display:inline-block;
  width:.55ch;height:.95em;
  margin-left:4px;vertical-align:-.1em;
  background:var(--accent,#00d4aa);
  animation:eb-caret-blink .9s steps(2) infinite;
}
@keyframes eb-caret-blink{
  0%,49%{opacity:1}
  50%,100%{opacity:0}
}

/* ===== ORBITAL wallet chooser ===== */
/* Two-ring variant needs more breathing room (outer radius is 175). */
.eb-wc-card-orbital{max-width:560px}
.eb-wc-orbital{
  position:relative;
  width:100%;height:430px;
  display:flex;align-items:center;justify-content:center;
}
/* Nucleus */
.eb-wc-nucleus{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:80px;height:80px;
  display:flex;align-items:center;justify-content:center;
}
.eb-wc-nucleus-core{
  width:56px;height:56px;border-radius:14px;
  background:linear-gradient(135deg,#00d4aa,#3b82f6);
  display:flex;align-items:center;justify-content:center;
  color:#fff;
  box-shadow:0 0 32px rgba(0,212,170,.4), inset 0 1px 0 rgba(255,255,255,.18);
  position:relative;z-index:2;
  animation:eb-nuc-breathe 3.2s ease-in-out infinite;
}
@keyframes eb-nuc-breathe{
  0%,100%{transform:scale(1)}
  50%{transform:scale(1.05)}
}
.eb-wc-nucleus-ring{
  position:absolute;inset:-10px;border-radius:50%;
  border:1px solid rgba(0,212,170,.25);
  animation:eb-nuc-spin 14s linear infinite;
}
.eb-wc-nucleus-ring-1{inset:-22px;border-color:rgba(0,212,170,.18)}
.eb-wc-nucleus-ring-2{inset:-46px;border-color:rgba(59,130,246,.12);animation-direction:reverse;animation-duration:22s}
@keyframes eb-nuc-spin{
  0%{transform:rotate(0)}
  100%{transform:rotate(360deg)}
}

/* Orbit buttons */
.eb-wc-orb{
  position:absolute;
  width:64px;height:64px;
  margin-left:-32px;margin-top:-32px;
  border-radius:14px;
  background:linear-gradient(160deg,rgba(14,18,26,.92),rgba(10,12,18,.94));
  border:1px solid rgba(255,255,255,.06);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:4px;cursor:pointer;
  color:var(--text-primary,#e2e8f0);
  transition:transform .25s cubic-bezier(.22,1,.36,1), border-color .2s, box-shadow .2s;
  animation:eb-orb-pop .55s cubic-bezier(.22,1,.36,1) both;
  padding:0;
}
@keyframes eb-orb-pop{
  0%{opacity:0;transform:scale(.4);}
  100%{opacity:1;transform:scale(1);}
}
.eb-wc-orb:hover{
  transform:scale(1.14);
  border-color:rgba(0,212,170,.45);
  box-shadow:0 0 24px rgba(0,212,170,.18);
  z-index:3;
}
.eb-wc-orb.is-collapsing{
  animation:eb-orb-collapse .32s cubic-bezier(.55,0,.55,1) forwards;
}
@keyframes eb-orb-collapse{
  0%{opacity:1;transform:scale(1);}
  100%{
    opacity:0;
    /* fly toward the centre — JS positions us with absolute left/top so
       translating to (-x,-y) of our local offset returns us to centre */
    transform:scale(.2);
    left:50%;top:50%;
  }
}
.eb-wc-orb-icon{
  width:30px;height:30px;border-radius:7px;
  display:inline-flex;align-items:center;justify-content:center;
  object-fit:cover;background:rgba(0,0,0,.2);
}
.eb-wc-orb-label{
  font-size:9px;font-weight:600;letter-spacing:.04em;
  color:var(--text-muted,#94a3b8);
  white-space:nowrap;
  max-width:60px;overflow:hidden;text-overflow:ellipsis;
}
.eb-wc-orb:hover .eb-wc-orb-label{color:#00d4aa}

/* On smaller screens, force the linear list (orbital is too tight) */
@media (max-width:540px){
  .eb-wc-orbital{display:none}
}

/* ===========================================
   WARP EXIT — login → dashboard transition (FIX-303)
   Triggered by adding .eb-warp-exit to #eb-login-root after auth success.
   Choreographed sequence over ~850ms then page reloads.
   =========================================== */
#eb-login-root.eb-warp-exit{
  pointer-events:none;
}
/* Top strip slides up out of view */
#eb-login-root.eb-warp-exit .eb-top-strip{
  animation:eb-warp-strip .55s cubic-bezier(.55,0,.55,1) both;
}
@keyframes eb-warp-strip{
  to{opacity:0;transform:translateY(-100%)}
}
/* Background equity curve fades */
#eb-login-root.eb-warp-exit .eb-bg-equity{
  animation:eb-warp-fade .65s ease both;
}
@keyframes eb-warp-fade{
  to{opacity:0}
}
/* Orbs converge to center then explode out (scale up) */
#eb-login-root.eb-warp-exit .eb-orb{
  animation:eb-warp-orb .7s cubic-bezier(.5,0,.35,1.4) both;
}
#eb-login-root.eb-warp-exit .eb-orb-0{animation-delay:.05s}
#eb-login-root.eb-warp-exit .eb-orb-1{animation-delay:.0s}
#eb-login-root.eb-warp-exit .eb-orb-2{animation-delay:.1s}
@keyframes eb-warp-orb{
  0%{transform:translate(0,0) scale(1);opacity:.55}
  35%{transform:translate(0,0) scale(.4);opacity:.85;filter:blur(35px)}
  100%{transform:translate(0,0) scale(2.4);opacity:0;filter:blur(110px)}
}
/* Left content slides up */
#eb-login-root.eb-warp-exit .eb-l-scroll{
  animation:eb-warp-left .55s cubic-bezier(.55,0,.55,1) both;
}
@keyframes eb-warp-left{
  to{opacity:0;transform:translateY(-22px)}
}
/* Right auth panel slides off to the right */
#eb-login-root.eb-warp-exit .eb-r{
  animation:eb-warp-right .55s cubic-bezier(.55,0,.55,1) both;
}
@keyframes eb-warp-right{
  to{opacity:0;transform:translateX(36px)}
}
/* Whole thing fades at the very end as the flash takes over */
#eb-login-root.eb-warp-exit{
  animation:eb-warp-root .85s ease both;
}
@keyframes eb-warp-root{
  0%,70%{opacity:1}
  100%{opacity:0}
}

/* Center flash card — overlays the warp exit, brief turquoise pulse */
.eb-warp-flash{
  position:fixed;inset:0;z-index:99999;
  display:flex;align-items:center;justify-content:center;
  background:radial-gradient(circle at 50% 50%, rgba(0,212,170,0.18) 0%, rgba(4,6,8,0.92) 60%);
  pointer-events:none;
  opacity:0;
  animation:eb-flash-in .85s ease both;
}
@keyframes eb-flash-in{
  0%{opacity:0}
  35%{opacity:1}
  85%{opacity:1}
  100%{opacity:0;background:radial-gradient(circle at 50% 50%, rgba(0,212,170,0.0) 0%, rgba(4,6,8,1) 30%)}
}
.eb-warp-flash-inner{
  display:flex;flex-direction:column;align-items:center;gap:14px;
  color:var(--accent,#00d4aa);
  animation:eb-flash-inner .7s cubic-bezier(.22,1,.36,1) .15s both;
}
@keyframes eb-flash-inner{
  0%{opacity:0;transform:scale(.6)}
  60%{opacity:1;transform:scale(1.08)}
  100%{opacity:1;transform:scale(1)}
}
.eb-warp-flash-inner svg{
  width:56px;height:56px;
  filter:drop-shadow(0 0 16px rgba(0,212,170,.6));
}
.eb-warp-flash-label{
  font-family:JetBrains Mono,monospace;
  font-size:10px;letter-spacing:.32em;text-transform:uppercase;font-weight:700;
  color:rgba(0,212,170,.9);
  text-align:center;
}

/* ===========================================
   TRANSITION SPLASH (FIX-300)
   Bridges the gap between page reload and React bundle mount, so the
   user sees a continuous "warm" loading screen instead of a flash of
   the old login or a blank page.
   =========================================== */
#eb-transition{
  position:fixed;inset:0;z-index:9998;
  background:#040608;
  color:var(--text-primary,#e2e8f0);
  font-family:Inter,sans-serif;
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;
  animation:eb-trans-in .35s ease both;
}
#eb-transition.is-leaving{
  animation:eb-trans-out .35s ease both;
}
@keyframes eb-trans-in{
  0%{opacity:0}
  100%{opacity:1}
}
@keyframes eb-trans-out{
  0%{opacity:1}
  100%{opacity:0}
}
.eb-trans-bg{
  position:absolute;inset:0;pointer-events:none;
}
/* Reuse the orb classes — same drift animation as the login bg */
#eb-transition .eb-orb-0{
  width:520px;height:520px;top:-160px;left:-160px;
  background:radial-gradient(circle, rgba(0,212,170,.32) 0%, transparent 60%);
  filter:blur(80px);opacity:.5;
  animation:eb-drift-a 18s ease-in-out infinite;
}
#eb-transition .eb-orb-1{
  width:400px;height:400px;bottom:-120px;right:-120px;
  background:radial-gradient(circle, rgba(59,130,246,.22) 0%, transparent 60%);
  filter:blur(80px);opacity:.45;
  animation:eb-drift-b 24s ease-in-out infinite;
}
#eb-transition .eb-orb-2{
  width:340px;height:340px;top:40%;left:40%;
  background:radial-gradient(circle, rgba(168,85,247,.16) 0%, transparent 60%);
  filter:blur(80px);opacity:.4;
  animation:eb-drift-c 30s ease-in-out infinite;
}

.eb-trans-center{
  position:relative;z-index:2;
  display:flex;flex-direction:column;align-items:center;gap:18px;
  animation:eb-trans-center .65s cubic-bezier(.22,1,.36,1) both;
}
@keyframes eb-trans-center{
  0%{opacity:0;transform:translateY(8px) scale(.95)}
  100%{opacity:1;transform:translateY(0) scale(1)}
}
.eb-trans-logo{
  width:48px;height:48px;border-radius:11px;
  background:linear-gradient(135deg,#00d4aa,#3b82f6);
  box-shadow:0 0 24px rgba(0,212,170,.4), inset 0 1px 0 rgba(255,255,255,.18);
  position:relative;
  animation:eb-nuc-breathe 3.2s ease-in-out infinite;
}
.eb-trans-logo::after{
  content:"";position:absolute;inset:2px;border-radius:9px;
  background:linear-gradient(135deg,#0c1018,#0a0d14);
}
.eb-trans-spinner{
  width:36px;height:36px;
  border:1.5px solid rgba(0,212,170,.15);
  border-top-color:#00d4aa;
  border-radius:50%;
  animation:eb-trans-spin 1.1s cubic-bezier(.65,0,.35,1) infinite;
}
@keyframes eb-trans-spin{
  to{transform:rotate(360deg)}
}
.eb-trans-label{
  font-family:JetBrains Mono,monospace;
  font-size:10px;letter-spacing:.28em;text-transform:uppercase;font-weight:600;
  color:rgba(0,212,170,.75);
  text-align:center;
}
/* ════════════════════════════════════════════════════════════════════
 * FIX-317 (2026-05-05) — REPLACE noisy mesh/scan with neural mesh.
 *
 * Strip the multi-layer demo-reel, keep ONE focused effect: an animated
 * neural network that propagates signals — colle au thème "Evolution"
 * et lit comme un terminal de trading pro plutôt qu'un wallpaper iOS.
 *
 * Layers kept (focused):
 *   - 1 big amber-turquoise ambient orb (very slow, breathes)
 *   - SVG neural mesh: nodes (subtle pulse) + edges (signal pulse)
 *   - Equity curve at bottom (already there)
 *   - Particles dialled DOWN (10 instead of 60, slower, more discreet)
 *
 * Removed: mesh-morph, hex grid, scan sweep, aurora ribbons,
 * 60-particle field — they competed with each other.
 * ════════════════════════════════════════════════════════════════════ */

/* Neutralize the mesh-morph & overlays from FIX-316 */
.eb-bg-layer{
  background:
    radial-gradient(ellipse 100% 80% at 50% 30%, rgba(0, 212, 170, .04) 0%, transparent 60%),
    linear-gradient(180deg, #07090f 0%, #050709 100%);
  background-size: auto;
  animation: none;
}
.eb-bg-layer::before{ content:none; }
.eb-bg-layer::after{ content:none; }

/* Drop scan sweep + particle field overrides from FIX-316 */
#eb-login-root .eb-scan-sweep{ display:none; }

/* Restore the orb count to 1 master orb (others kept but very faint) */
.eb-bg-layer .eb-orb{
  width: 900px; height: 900px;
  filter: blur(110px);
  opacity: .35;
}
.eb-bg-layer .eb-orb-0{
  background: radial-gradient(circle, rgba(0,212,170,.55) 0%, rgba(0,212,170,0) 65%);
  animation: eb-drift-a 60s ease-in-out infinite, eb-orb-breathe-slow 18s ease-in-out infinite;
}
.eb-bg-layer .eb-orb-1{
  background: radial-gradient(circle, rgba(99,102,241,.32) 0%, rgba(99,102,241,0) 65%);
  animation: eb-drift-b 70s ease-in-out infinite, eb-orb-breathe-slow 22s ease-in-out infinite;
  opacity: .22;
}
.eb-bg-layer .eb-orb-2{
  display: none; /* drop the third orb */
}
@keyframes eb-orb-breathe-slow{
  0%, 100%{ opacity: .28; transform: scale(1); }
  50%    { opacity: .42; transform: scale(1.04); }
}

/* ─── Neural mesh container ──────────────────────────────────────── */
#eb-login-root .eb-neural{
  position:absolute; inset:0; pointer-events:none; z-index:0;
  overflow:hidden;
}
#eb-login-root .eb-neural svg{
  position:absolute; inset:0;
  width:100%; height:100%;
  display:block;
}

/* Edges — drawn as semi-transparent lines, pulse opacity slowly */
.eb-neural .eb-edge{
  stroke: rgba(0, 212, 170, .14);
  stroke-width: 1px;
  fill: none;
  vector-effect: non-scaling-stroke;
}
.eb-neural .eb-edge-active{
  stroke: rgba(0, 212, 170, .55);
  stroke-width: 1.4px;
  filter: drop-shadow(0 0 4px rgba(0, 212, 170, .55));
  animation: eb-edge-fade 1.6s ease-out forwards;
}
@keyframes eb-edge-fade{
  0%   { opacity: 0; }
  20%  { opacity: 1; }
  100% { opacity: 0; }
}

/* Nodes — small circles, pulse in scale + opacity */
.eb-neural .eb-node{
  fill: rgba(0, 212, 170, .45);
  stroke: rgba(0, 212, 170, .25);
  stroke-width: 0.6;
  transform-origin: center;
  transform-box: fill-box;
  animation: eb-node-pulse 4s ease-in-out infinite;
}
.eb-neural .eb-node-2{ animation-delay: -1s; }
.eb-neural .eb-node-3{ animation-delay: -2s; }
.eb-neural .eb-node-4{ animation-delay: -3s; }
@keyframes eb-node-pulse{
  0%, 100%{ transform: scale(1); opacity: .55; }
  50%    { transform: scale(1.5); opacity: 1; }
}

/* A few "highlight" nodes that glow stronger (hubs of the network) */
.eb-neural .eb-node-hub{
  fill: rgba(99, 102, 241, .85);
  stroke: rgba(99, 102, 241, .5);
  filter: drop-shadow(0 0 6px rgba(99, 102, 241, .6));
  animation: eb-node-hub-pulse 5s ease-in-out infinite;
}
@keyframes eb-node-hub-pulse{
  0%, 100%{ transform: scale(1); opacity: .85; }
  50%    { transform: scale(1.35); opacity: 1; }
}

/* Signal — small bright circle traveling along an edge */
.eb-neural .eb-signal{
  fill: rgba(255, 255, 255, .95);
  filter: drop-shadow(0 0 4px rgba(0, 212, 170, .9));
  opacity: 0;
}

/* Particles — keep but dialled WAY down. Strip the box-shadow heavy
 * field from FIX-316 in favour of a quieter, slower atmosphere. */
#eb-login-root .eb-particles::before{
  width:1px; height:1px;
  background: rgba(0, 212, 170, .6);
  box-shadow:
     312px  82vh 0 rgba(255,255,255,.30),
     645px  18vh 0 rgba(0,212,170,.55),
     820px  62vh 0 rgba(255,255,255,.25),
    1085px  35vh 0 rgba(99,102,241,.55),
    1310px  74vh 0 rgba(255,255,255,.30),
    1502px  21vh 0 rgba(0,212,170,.45),
     180px  48vh 0 rgba(255,255,255,.22),
     445px  91vh 0 rgba(99,102,241,.40),
     760px   8vh 0 rgba(0,212,170,.50),
     940px  56vh 0 rgba(255,255,255,.28);
  animation: eb-particle-drift 90s linear infinite;
}
#eb-login-root .eb-particles::after{ content:none; }

/* Tighter, calmer vignette */
#eb-login-root::before{
  background:
    radial-gradient(ellipse 70% 60% at 18% 25%, rgba(0,212,170,.05), transparent 65%),
    radial-gradient(ellipse 100% 100% at 50% 50%, transparent 35%, rgba(0,0,0,.45) 100%);
}

/* Warp exit fades the new layer cleanly */
#eb-login-root.eb-warp-exit .eb-neural{
  opacity: 0;
  transition: opacity .55s ease-out;
}

/* ════════════════════════════════════════════════════════════════════
 * FIX-316 (2026-05-05) — LOGIN BACKGROUND ANIMATION PACK
 *
 * Layers added (all keep pointer-events:none, sit at z-index:0 below
 * the actual content panels which are z-index:1):
 *
 *  1. Mesh gradient morph ........ .eb-bg-layer (background) — 4 radial
 *     gradients in turquoise/indigo/violet that drift & morph slowly.
 *  2. Aurora ribbons ............. .eb-bg-layer::before — soft skewed
 *     gradient bands flowing horizontally.
 *  3. Hex grid + scan ............ .eb-bg-layer::after — repeating
 *     conic + a vertical light sweep every 14s.
 *  4. Floating particles ......... .eb-orb-0/1/2 reused, deepened with
 *     larger radius, soft glow, slower drift and a gentle pulse.
 *  5. Vignette ................... #eb-login-root::before re-tightened.
 *
 * Everything is GPU-friendly (only transform + opacity animations on
 * the heavy layers; gradient morph uses background-position which most
 * browsers also rasterize on the GPU).
 * ════════════════════════════════════════════════════════════════════ */

/* Strengthen the orbs — more presence, softer edges, better depth */
.eb-bg-layer .eb-orb{
  width: 720px; height: 720px;
  filter: blur(80px);
  opacity: .55;
}
.eb-bg-layer .eb-orb-0{
  background: radial-gradient(circle, rgba(0,212,170,.65) 0%, rgba(0,212,170,0) 65%);
  animation: eb-drift-a 28s ease-in-out infinite, eb-orb-breathe 10s ease-in-out infinite;
}
.eb-bg-layer .eb-orb-1{
  background: radial-gradient(circle, rgba(99,102,241,.55) 0%, rgba(99,102,241,0) 65%);
  animation: eb-drift-b 34s ease-in-out infinite, eb-orb-breathe 12s ease-in-out infinite;
}
.eb-bg-layer .eb-orb-2{
  background: radial-gradient(circle, rgba(236,72,153,.42) 0%, rgba(236,72,153,0) 65%);
  animation: eb-drift-c 40s ease-in-out infinite, eb-orb-breathe 14s ease-in-out infinite;
}
@keyframes eb-orb-breathe{
  0%, 100%{ opacity: .42; transform: scale(1); }
  50%{ opacity: .68; transform: scale(1.08); }
}

/* Mesh gradient that morphs by drifting background-position. The four
 * layered radial gradients sit on a 200% canvas; we slide that canvas
 * very slowly so the focal points appear to flow & merge. */
.eb-bg-layer{
  background:
    radial-gradient(circle at 10% 18%, rgba(0,212,170,.10) 0%, transparent 26%),
    radial-gradient(circle at 86% 24%, rgba(99,102,241,.09) 0%, transparent 26%),
    radial-gradient(circle at 22% 78%, rgba(236,72,153,.07) 0%, transparent 26%),
    radial-gradient(circle at 92% 84%, rgba(59,130,246,.10) 0%, transparent 26%),
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0,212,170,.04) 0%, transparent 70%);
  background-size: 200% 200%, 200% 200%, 200% 200%, 200% 200%, 200% 200%;
  background-repeat: no-repeat;
  animation: eb-mesh-morph 32s ease-in-out infinite alternate;
}
@keyframes eb-mesh-morph{
  0%   { background-position: 0% 0%, 100% 0%, 0% 100%, 100% 100%, 50% 50%; }
  50%  { background-position: 30% 20%, 70% 30%, 30% 70%, 80% 90%, 60% 40%; }
  100% { background-position: 60% 50%, 40% 60%, 60% 40%, 100% 80%, 40% 60%; }
}

/* Aurora ribbons — three soft horizontal bands skewed slightly,
 * crossfading and drifting at different speeds. They live in a
 * pseudo-element so they don't fight the mesh gradient. */
.eb-bg-layer::before{
  content:"";
  position:absolute; inset:-10% -20%;
  background:
    linear-gradient(115deg,
      transparent 0%,
      rgba(0, 212, 170, 0)   18%,
      rgba(0, 212, 170, .14) 28%,
      rgba(0, 212, 170, .04) 38%,
      transparent 48%,
      rgba(99, 102, 241, .12) 58%,
      rgba(99, 102, 241, .03) 68%,
      transparent 78%,
      rgba(236, 72, 153, .08) 86%,
      transparent 100%);
  filter: blur(70px) saturate(1.1);
  opacity: .85;
  mix-blend-mode: screen;
  animation: eb-aurora-flow 22s ease-in-out infinite;
  transform-origin: 50% 50%;
  pointer-events: none;
}
@keyframes eb-aurora-flow{
  0%, 100%{ transform: translate3d(-6%, -2%, 0) rotate(-2deg); }
  50%     { transform: translate3d( 6%,  2%, 0) rotate( 2deg); }
}

/* Subtle scan light — a thin vertical band that crosses the screen
 * every 14s, very low opacity so it reads as a soft refresh. */
.eb-bg-layer::after{
  content:"";
  position:absolute; inset:0;
  background:
    /* hex-ish dot grid */
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.04) 1px, transparent 1.5px) 0 0 / 36px 36px,
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.025) 1px, transparent 1.5px) 18px 18px / 36px 36px;
  opacity: .35;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 95%);
  animation: eb-grid-pulse 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes eb-grid-pulse{
  0%, 100%{ opacity: .25; }
  50%    { opacity: .5; }
}

/* Vertical scan sweep — independent overlay above the grid */
#eb-login-root .eb-scan-sweep,
#eb-login-root .eb-bg-layer + .eb-scan-sweep{
  position:absolute; inset:0;
  background:
    linear-gradient(105deg,
      transparent 0%,
      transparent 42%,
      rgba(0, 212, 170, .08) 49%,
      rgba(0, 212, 170, .14) 50%,
      rgba(0, 212, 170, .08) 51%,
      transparent 58%,
      transparent 100%);
  background-size: 220% 100%;
  background-repeat: no-repeat;
  pointer-events:none; z-index:0;
  animation: eb-scan-sweep 14s linear infinite;
  mix-blend-mode: screen;
  opacity: .6;
}
@keyframes eb-scan-sweep{
  0%   { background-position: -120% 0%; }
  100% { background-position: 220% 0%; }
}

/* Floating particles — many tiny stars created via box-shadow on a
 * single 1x1 element. Two layers at different depths/parallaxes for
 * a sense of volume. CSS-only, GPU-friendly. */
#eb-login-root .eb-particles{
  position:absolute; inset:0; pointer-events:none; z-index:0;
  overflow:hidden;
}
#eb-login-root .eb-particles::before,
#eb-login-root .eb-particles::after{
  content:"";
  position:absolute; left:0; top:0;
  width:1px; height:1px; border-radius:50%;
  background: rgba(0, 212, 170, .8);
  /* 60 particles per layer — pre-computed positions */
  box-shadow:
     117px  93vh 0 rgba(255,255,255,.35),  283px  47vh 0 rgba(0,212,170,.55),
     441px  72vh 0 rgba(255,255,255,.25),  629px  18vh 0 rgba(99,102,241,.55),
     802px  64vh 0 rgba(255,255,255,.30),  961px  29vh 0 rgba(0,212,170,.45),
    1136px  85vh 0 rgba(255,255,255,.22), 1294px  52vh 0 rgba(99,102,241,.45),
    1450px  10vh 0 rgba(0,212,170,.6),    1622px  78vh 0 rgba(255,255,255,.3),
      54px  37vh 0 rgba(255,255,255,.18),  221px  92vh 0 rgba(99,102,241,.4),
     387px  14vh 0 rgba(0,212,170,.5),    548px  61vh 0 rgba(255,255,255,.32),
     713px  43vh 0 rgba(99,102,241,.55),  879px   8vh 0 rgba(0,212,170,.42),
    1042px  76vh 0 rgba(255,255,255,.28), 1213px  21vh 0 rgba(99,102,241,.5),
    1378px  56vh 0 rgba(0,212,170,.45),  1547px  88vh 0 rgba(255,255,255,.34),
     162px  68vh 0 rgba(0,212,170,.38),   332px   5vh 0 rgba(255,255,255,.25),
     493px  39vh 0 rgba(99,102,241,.5),   668px  82vh 0 rgba(0,212,170,.55),
     833px  26vh 0 rgba(255,255,255,.36),  1003px  59vh 0 rgba(99,102,241,.42),
    1167px  12vh 0 rgba(0,212,170,.48),  1339px  74vh 0 rgba(255,255,255,.32),
    1502px  35vh 0 rgba(99,102,241,.55),  1671px   3vh 0 rgba(0,212,170,.52);
  animation: eb-particle-drift 38s linear infinite;
}
#eb-login-root .eb-particles::after{
  /* second layer — different positions, slower drift, more opaque */
  background: rgba(99, 102, 241, .8);
  width:2px; height:2px;
  box-shadow:
     230px  20vh 0 rgba(255,255,255,.45),  410px  88vh 0 rgba(0,212,170,.6),
     595px  55vh 0 rgba(99,102,241,.5),    782px   9vh 0 rgba(255,255,255,.5),
     968px  72vh 0 rgba(0,212,170,.6),    1148px  31vh 0 rgba(255,255,255,.4),
    1334px  64vh 0 rgba(99,102,241,.55), 1518px  16vh 0 rgba(0,212,170,.55),
      89px  47vh 0 rgba(255,255,255,.5),    354px  79vh 0 rgba(99,102,241,.45),
     531px  24vh 0 rgba(0,212,170,.55),    718px  68vh 0 rgba(255,255,255,.42),
     902px  41vh 0 rgba(99,102,241,.5),   1086px   6vh 0 rgba(0,212,170,.45),
    1272px  84vh 0 rgba(255,255,255,.4),  1457px  51vh 0 rgba(99,102,241,.55),
    1638px  22vh 0 rgba(0,212,170,.5);
  animation: eb-particle-drift-slow 62s linear infinite, eb-particle-twinkle 4s ease-in-out infinite;
}
@keyframes eb-particle-drift{
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-90px, -110vh, 0); }
}
@keyframes eb-particle-drift-slow{
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(60px, -100vh, 0); }
}
@keyframes eb-particle-twinkle{
  0%, 100%{ opacity: .6; }
  50%    { opacity: 1; }
}

/* Tighter vignette to push viewer's eye to the center where content lives */
#eb-login-root::before{
  background:
    radial-gradient(ellipse 70% 60% at 18% 25%, rgba(0,212,170,.10), transparent 65%),
    radial-gradient(ellipse 60% 50% at 82% 88%, rgba(99,102,241,.08), transparent 65%),
    radial-gradient(ellipse 100% 100% at 50% 50%, transparent 30%, rgba(0,0,0,.35) 100%);
}

/* When the warp exit fires, fade the new layers out smoothly */
#eb-login-root.eb-warp-exit .eb-bg-layer,
#eb-login-root.eb-warp-exit .eb-particles{
  animation-play-state: paused;
  opacity: 0;
  transition: opacity .6s ease-out;
}

/* ════════════════════════════════════════════════════════════════════
 * FIX-328 (2026-05-05) — Neural network canvas + scroll narrative.
 *
 * Replaced the SVG phylo tree (240 infinite leaf-pulse animations
 * → main thread saturated on scroll) with a single <canvas> driven
 * by one RAF loop. Network nodes appear and connect as the user
 * scrolls. Hue shifts turquoise → indigo via --phylo-hue.
 *
 * Reveal-on-scroll for marketing cards is unchanged (IntersectionObs
 * toggles .eb-revealed; CSS animates fade-up + scale-in + stagger).
 * ════════════════════════════════════════════════════════════════════ */

#eb-login-root .eb-phylo,
#eb-login-root .eb-neural {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  --phylo-hue: 0;
}
.eb-l { position: relative; --phylo-hue: 0; }
.eb-l > .eb-phylo,
.eb-l > .eb-neural {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.eb-l > .eb-l-scroll { position: relative; z-index: 1; }

#eb-login-root .eb-neural-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  will-change: opacity;
  animation: eb-neural-fade-in 1.1s ease-out .25s forwards;
}
@keyframes eb-neural-fade-in {
  from { opacity: 0; }
  to   { opacity: .85; }
}

/* ─── Reveal-on-scroll for sections ───────────────────────────────── */
.eb-stats,
.eb-features,
.eb-stack,
.eb-metrics,
.eb-manifesto {
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.97);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
.eb-revealed {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
}

/* Stagger children inside each section */
.eb-features.eb-revealed > * {
  animation: eb-card-rise .8s cubic-bezier(.22,1,.36,1) both;
}
.eb-features.eb-revealed > *:nth-child(1){ animation-delay: 0.05s; }
.eb-features.eb-revealed > *:nth-child(2){ animation-delay: 0.15s; }
.eb-features.eb-revealed > *:nth-child(3){ animation-delay: 0.25s; }
.eb-features.eb-revealed > *:nth-child(4){ animation-delay: 0.35s; }

.eb-metrics.eb-revealed > * {
  animation: eb-card-rise .7s cubic-bezier(.22,1,.36,1) both;
}
.eb-metrics.eb-revealed > *:nth-child(1){ animation-delay: 0.04s; }
.eb-metrics.eb-revealed > *:nth-child(2){ animation-delay: 0.12s; }
.eb-metrics.eb-revealed > *:nth-child(3){ animation-delay: 0.20s; }
.eb-metrics.eb-revealed > *:nth-child(4){ animation-delay: 0.28s; }

.eb-stack.eb-revealed > * {
  animation: eb-pill-drop .55s cubic-bezier(.22,1,.36,1) both;
}
.eb-stack.eb-revealed > *:nth-child(1){ animation-delay: 0.02s; }
.eb-stack.eb-revealed > *:nth-child(2){ animation-delay: 0.06s; }
.eb-stack.eb-revealed > *:nth-child(3){ animation-delay: 0.10s; }
.eb-stack.eb-revealed > *:nth-child(4){ animation-delay: 0.14s; }
.eb-stack.eb-revealed > *:nth-child(5){ animation-delay: 0.18s; }
.eb-stack.eb-revealed > *:nth-child(6){ animation-delay: 0.22s; }
.eb-stack.eb-revealed > *:nth-child(7){ animation-delay: 0.26s; }
.eb-stack.eb-revealed > *:nth-child(8){ animation-delay: 0.30s; }
.eb-stack.eb-revealed > *:nth-child(9){ animation-delay: 0.34s; }

@keyframes eb-card-rise {
  from { opacity: 0; transform: translate3d(0, 28px, 0) scale(0.96) rotate3d(1,0,0,4deg); }
  to   { opacity: 1; transform: translate3d(0, 0,  0) scale(1)    rotate3d(1,0,0,0deg); }
}
@keyframes eb-pill-drop {
  from { opacity: 0; transform: translate3d(0, -16px, 0) scale(0.9); }
  to   { opacity: 1; transform: translate3d(0,  0,   0) scale(1); }
}

/* ─── Hue shift on the left column ────────────────────────────────── */
.eb-l { transition: filter .8s ease; }

/* ─── Custom cursor dot on the auth panel ─────────────────────────
 * FIX-329: replaces the previous radial-gradient "magnetic glow"
 * (which looked cheap). A small turquoise 8×8 dot follows the mouse
 * when it hovers the auth panel. Pointer-events:none so it never
 * blocks clicks. GPU-only (transform translate3d). */
.eb-r-inner {
  position: relative;
  cursor: none;
}
.eb-r-inner * { cursor: none; }
/* …but bring the native cursor back on actual interactive elements */
.eb-r-inner button,
.eb-r-inner input,
.eb-r-inner a,
.eb-r-inner [role="button"] { cursor: pointer; }

#eb-login-root + .eb-cursor-dot,
.eb-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 212, 170, .95);
  box-shadow:
    0 0 8px rgba(0, 212, 170, .6),
    0 0 18px rgba(0, 212, 170, .25);
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
  transition: opacity .18s ease;
  will-change: transform, opacity;
}
.eb-cursor-dot.is-visible {
  opacity: 1;
}

/* Hide the custom cursor on touch devices (no hover, would be stuck) */
@media (hover: none) {
  .eb-r-inner, .eb-r-inner * { cursor: auto; }
  .eb-cursor-dot { display: none; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  #eb-login-root .eb-neural-canvas { opacity: .55; animation: none; }
  .eb-stats, .eb-features, .eb-stack, .eb-metrics, .eb-manifesto {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .eb-features.eb-revealed > *,
  .eb-metrics.eb-revealed > *,
  .eb-stack.eb-revealed > * { animation: none !important; }
}

/* ════════════════════════════════════════════════════════════════════
 * FIX-330 (2026-05-05) — Compliance layer styles.
 *   1. Footer with legal links
 *   2. Legal modal (iframe-based)
 *   3. Cookie consent banner (RGPD)
 *   4. Risk disclaimer toast
 * ════════════════════════════════════════════════════════════════════ */

/* ── 1. Footer with legal links ─────────────────────────────────── */
#eb-login-root .eb-r-foot {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
}
#eb-login-root .eb-r-foot-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  flex-wrap: wrap;
}
#eb-login-root .eb-r-foot-trust {
  color: rgba(255,255,255,0.55);
}
#eb-login-root .eb-foot-pill {
  padding: 3px 8px;
  border-radius: 3px;
  background: rgba(0, 212, 170, 0.10);
  border: 1px solid rgba(0, 212, 170, 0.30);
  color: rgba(0, 212, 170, 0.95);
  font-weight: 600;
  letter-spacing: 0.16em;
  font-size: 9.5px;
}
#eb-login-root .eb-foot-dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
}
#eb-login-root .eb-r-foot-legal a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color .18s ease;
  letter-spacing: 0.12em;
  cursor: pointer;
}
#eb-login-root .eb-r-foot-legal a:hover {
  color: rgba(0, 212, 170, 0.95);
}
#eb-login-root .eb-foot-sep {
  width: 2px; height: 2px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
}
#eb-login-root .eb-r-foot-meta {
  color: rgba(255,255,255,0.30);
  font-size: 9.5px;
  letter-spacing: 0.18em;
}

/* ── 2. Legal modal (iframe-backed) ────────────────────────────── */
.eb-legal-modal {
  position: fixed;
  inset: 0;
  z-index: 10100;
  pointer-events: none;
}
.eb-legal-modal.is-open { pointer-events: auto; }

.eb-legal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 5, 10, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .28s cubic-bezier(.22,1,.36,1);
}
.eb-legal-modal.is-open .eb-legal-backdrop { opacity: 1; }

.eb-legal-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(820px, 92vw);
  height: min(80vh, 880px);
  transform: translate(-50%, -46%) scale(.97);
  background: #050a10;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  box-shadow:
    0 28px 72px rgba(0,0,0,.55),
    0 0 0 1px rgba(0, 212, 170, 0.06) inset;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transition: opacity .32s cubic-bezier(.22,1,.36,1), transform .32s cubic-bezier(.22,1,.36,1);
}
.eb-legal-modal.is-open .eb-legal-panel {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.eb-legal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  flex: 0 0 auto;
}
.eb-legal-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(0, 212, 170, 0.85);
  font-weight: 600;
}
.eb-legal-close {
  background: none;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 4px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.55);
  font-size: 18px;
  line-height: 1;
  transition: all .15s ease;
}
.eb-legal-close:hover {
  border-color: rgba(0, 212, 170, 0.45);
  color: rgba(0, 212, 170, 0.95);
  background: rgba(0, 212, 170, 0.06);
}
.eb-legal-iframe {
  flex: 1 1 auto;
  width: 100%;
  border: 0;
  background: #050a10;
}

/* ── 3. Cookie consent banner ────────────────────────────────── */
.eb-cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: min(440px, calc(100vw - 48px));
  z-index: 10050;
  background: rgba(8, 12, 20, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  gap: 12px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.45);
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity .32s cubic-bezier(.22,1,.36,1), transform .32s cubic-bezier(.22,1,.36,1);
}
.eb-cookie-banner.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.eb-cookie-icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(0, 212, 170, 0.10);
  border: 1px solid rgba(0, 212, 170, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 212, 170, 0.95);
}
.eb-cookie-body { flex: 1 1 auto; min-width: 0; }
.eb-cookie-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  color: #d8dee8;
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.eb-cookie-text {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}
.eb-cookie-text a {
  color: rgba(0, 212, 170, 0.95);
  text-decoration: none;
  cursor: pointer;
}
.eb-cookie-text a:hover { text-decoration: underline; }
.eb-cookie-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
}
.eb-cookie-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 5px;
  border: 1px solid rgba(0, 212, 170, 0.45);
  background: rgba(0, 212, 170, 0.10);
  color: rgba(0, 212, 170, 0.95);
  cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
}
.eb-cookie-btn:hover {
  background: rgba(0, 212, 170, 0.20);
  border-color: rgba(0, 212, 170, 0.70);
}

/* ── 4. Risk disclaimer toast ────────────────────────────────── */
.eb-risk-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: min(380px, calc(100vw - 48px));
  z-index: 10040;
  background: rgba(8, 12, 20, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 179, 90, 0.32);
  border-left: 3px solid rgba(255, 179, 90, 0.78);
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow:
    0 18px 48px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255, 179, 90, 0.08);
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity .32s cubic-bezier(.22,1,.36,1), transform .32s cubic-bezier(.22,1,.36,1);
}
.eb-risk-toast.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.eb-risk-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.eb-risk-warn {
  color: rgba(255, 179, 90, 0.95);
  font-size: 16px;
  font-weight: 700;
}
.eb-risk-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(255, 179, 90, 0.92);
  font-weight: 600;
}
.eb-risk-body {
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
  margin-bottom: 12px;
}
.eb-risk-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.eb-risk-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  cursor: pointer;
  border-bottom: 1px dotted rgba(255,255,255,0.30);
  padding-bottom: 1px;
}
.eb-risk-link:hover {
  color: rgba(255, 179, 90, 0.95);
  border-bottom-color: rgba(255, 179, 90, 0.50);
}
.eb-risk-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 5px;
  border: 1px solid rgba(255, 179, 90, 0.45);
  background: rgba(255, 179, 90, 0.10);
  color: rgba(255, 179, 90, 0.95);
  cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
}
.eb-risk-btn:hover {
  background: rgba(255, 179, 90, 0.20);
  border-color: rgba(255, 179, 90, 0.70);
}

/* Mobile adjustments — stack cookie + risk vertically, narrow buttons */
@media (max-width: 640px) {
  .eb-cookie-banner {
    left: 12px; right: 12px; bottom: 12px;
    flex-direction: column;
    width: auto;
  }
  .eb-cookie-actions { width: 100%; }
  .eb-cookie-btn { width: 100%; text-align: center; }
  .eb-risk-toast {
    left: 12px; right: 12px; bottom: 12px;
    width: auto;
  }
}
