/* ======================================================================
   STRIX EDGE v2 — Professional Neomorphism / Soft UI Visual System
   Non-destructive presentation layer. Existing functionality is preserved.
   ====================================================================== */

:root {
  --neo-bg: #111821;
  --neo-bg-deep: #0d141c;
  --neo-surface: #151e28;
  --neo-surface-2: #19242f;
  --neo-surface-3: #1d2935;
  --neo-text: #eef7f4;
  --neo-text-2: #b7c7c4;
  --neo-muted: #7f9492;
  --neo-accent: #64e8c3;
  --neo-logo: #15936f;
  --neo-logo-deep: #0b6b53;
  --neo-accent-strong: #24c997;
  --neo-accent-soft: rgba(100, 232, 195, .11);
  --neo-danger: #ff7388;
  --neo-warning: #ffc65d;
  --neo-info: #70a8ff;
  --neo-border: rgba(255,255,255,.055);
  --neo-border-strong: rgba(255,255,255,.10);
  --neo-shadow-dark: rgba(2, 6, 10, .72);
  --neo-shadow-light: rgba(44, 62, 76, .34);
  --neo-shadow-soft: 12px 12px 28px var(--neo-shadow-dark), -10px -10px 24px var(--neo-shadow-light);
  --neo-shadow-sm: 7px 7px 16px rgba(2, 6, 10, .66), -6px -6px 14px rgba(44, 62, 76, .28);
  --neo-shadow-xs: 4px 4px 10px rgba(2, 6, 10, .58), -4px -4px 9px rgba(44, 62, 76, .22);
  --neo-inset: inset 5px 5px 12px rgba(2, 6, 10, .70), inset -5px -5px 12px rgba(44, 62, 76, .24);
  --neo-inset-soft: inset 3px 3px 7px rgba(2, 6, 10, .62), inset -3px -3px 7px rgba(44, 62, 76, .20);
  --neo-radius-sm: 12px;
  --neo-radius-md: 18px;
  --neo-radius-lg: 26px;
  --neo-radius-xl: 34px;
  --neo-ease: cubic-bezier(.2,.8,.2,1);

  /* map the original design tokens to v2 */
  --black-void: var(--neo-bg);
  --black-deep: var(--neo-bg-deep);
  --primary: var(--neo-surface);
  --surface: var(--neo-surface);
  --surface-raised: var(--neo-surface-2);
  --border: var(--neo-border);
  --border-hover: var(--neo-border-strong);
  --canvas: #f3fbf8;
  --accent: var(--neo-accent);
  --accent-dim: var(--neo-accent-strong);
  --accent-glow: rgba(100,232,195,.16);
  --accent-subtle: var(--neo-accent-soft);
  --text-primary: var(--neo-text);
  --text-secondary: var(--neo-text-2);
  --text-muted: var(--neo-muted);
  --danger: var(--neo-danger);
  --warning: var(--neo-warning);
  --info: var(--neo-info);
  --glass-bg: rgba(21,30,40,.88);
  --glass-bg-strong: rgba(21,30,40,.96);
  --glass-border: var(--neo-border);
  --shadow-sm: var(--neo-shadow-xs);
  --shadow-md: var(--neo-shadow-sm);
  --shadow-lg: var(--neo-shadow-soft);
  --shadow-glow: 0 0 0 1px rgba(100,232,195,.08), 0 12px 30px rgba(2,6,10,.46);
  --shadow-glow-strong: 0 0 0 1px rgba(100,232,195,.18), 0 16px 40px rgba(2,6,10,.56);
}

[data-theme="light"] {
  --neo-bg: #e8eef2;
  --neo-bg-deep: #dfe7ec;
  --neo-surface: #e8eef2;
  --neo-surface-2: #edf3f6;
  --neo-surface-3: #f3f7f9;
  --neo-text: #17232c;
  --neo-text-2: #52646d;
  --neo-muted: #7d8c94;
  --neo-accent: #0f9f7b;
  --neo-logo: #0b6b53;
  --neo-logo-deep: #064737;
  --neo-accent-strong: #087c61;
  --neo-accent-soft: rgba(15,159,123,.10);
  --neo-danger: #d9445d;
  --neo-warning: #bf7b00;
  --neo-info: #2d6fd5;
  --neo-border: rgba(22,39,50,.055);
  --neo-border-strong: rgba(22,39,50,.11);
  --neo-shadow-dark: rgba(166,176,184,.72);
  --neo-shadow-light: rgba(255,255,255,.96);
  --neo-shadow-soft: 12px 12px 28px rgba(166,176,184,.72), -11px -11px 25px rgba(255,255,255,.96);
  --neo-shadow-sm: 7px 7px 16px rgba(166,176,184,.65), -7px -7px 15px rgba(255,255,255,.95);
  --neo-shadow-xs: 4px 4px 10px rgba(166,176,184,.58), -4px -4px 9px rgba(255,255,255,.92);
  --neo-inset: inset 5px 5px 12px rgba(166,176,184,.62), inset -5px -5px 12px rgba(255,255,255,.90);
  --neo-inset-soft: inset 3px 3px 7px rgba(166,176,184,.55), inset -3px -3px 7px rgba(255,255,255,.86);

  --black-void: var(--neo-bg);
  --black-deep: var(--neo-bg-deep);
  --primary: var(--neo-surface);
  --surface: var(--neo-surface);
  --surface-raised: var(--neo-surface-2);
  --canvas: #17232c;
  --accent: var(--neo-accent);
  --accent-dim: var(--neo-accent-strong);
  --accent-glow: rgba(15,159,123,.14);
  --accent-subtle: var(--neo-accent-soft);
  --text-primary: var(--neo-text);
  --text-secondary: var(--neo-text-2);
  --text-muted: var(--neo-muted);
  --glass-bg: rgba(232,238,242,.90);
  --glass-bg-strong: rgba(232,238,242,.97);
  --glass-border: var(--neo-border);
}

html { background: var(--neo-bg); }
body.neo-v2 {
  background:
    radial-gradient(circle at 8% 0%, rgba(100,232,195,.055), transparent 27rem),
    radial-gradient(circle at 95% 22%, rgba(112,168,255,.04), transparent 30rem),
    linear-gradient(150deg, var(--neo-bg-deep), var(--neo-bg) 35%, var(--neo-bg));
  color: var(--neo-text);
  min-height: 100vh;
  letter-spacing: .005em;
}

[data-theme="light"] body.neo-v2 {
  background:
    radial-gradient(circle at 8% 0%, rgba(15,159,123,.07), transparent 28rem),
    radial-gradient(circle at 95% 22%, rgba(45,111,213,.045), transparent 30rem),
    linear-gradient(150deg, #dfe7ec, #e8eef2 38%, #e9eff3);
}

body.neo-v2::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .24;
  background-image: radial-gradient(rgba(255,255,255,.08) .55px, transparent .55px);
  background-size: 7px 7px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}
[data-theme="light"] body.neo-v2::before { opacity: .09; }

body.neo-v2 .grid-overlay {
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px);
  background-size: 72px 72px;
}
[data-theme="light"] body.neo-v2 .grid-overlay {
  background-image:
    linear-gradient(rgba(20,34,45,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,34,45,.03) 1px, transparent 1px);
}

body.neo-v2 .ambient-glow { filter: blur(12px); opacity: .55; }
body.neo-v2 .container { position: relative; }

/* Typography */
body.neo-v2 .section__title,
body.neo-v2 .hero__title,
body.neo-v2 .dash__title,
body.neo-v2 .sc-hero-title,
body.neo-v2 h1,
body.neo-v2 h2,
body.neo-v2 h3 {
  text-wrap: balance;
}
body.neo-v2 .gradient-text {
  background: linear-gradient(115deg, #b9ffeb 0%, var(--neo-accent) 42%, #2fcda0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 22px rgba(100,232,195,.09));
}
[data-theme="light"] body.neo-v2 .gradient-text {
  background: linear-gradient(115deg, #087c61 0%, #0f9f7b 55%, #19b88d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.neo-v2 .section__label,
body.neo-v2 .hero__micro,
body.neo-v2 .dash-signal-search__eyebrow,
body.neo-v2 .sc-section-label {
  letter-spacing: .2em;
  text-shadow: 0 0 22px rgba(100,232,195,.16);
}

/* Navigation — raised floating soft bar */
body.neo-v2 .nav { top: 18px; }
body.neo-v2 .nav__inner {
  max-width: 1160px;
  height: 60px;
  padding: 0 10px 0 20px;
  background: linear-gradient(145deg, rgba(27,38,50,.96), rgba(18,27,36,.98));
  border: 1px solid var(--neo-border) !important;
  border-radius: 24px;
  box-shadow: var(--neo-shadow-soft), inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}
[data-theme="light"] body.neo-v2 .nav__inner {
  background: linear-gradient(145deg, #edf3f6, #e2e9ee);
  box-shadow: var(--neo-shadow-soft), inset 0 1px 0 rgba(255,255,255,.68);
}
body.neo-v2 .nav.scrolled .nav__inner {
  height: 54px;
  background: linear-gradient(145deg, rgba(25,36,47,.985), rgba(17,25,34,.99));
  box-shadow: 9px 9px 22px rgba(2,6,10,.67), -7px -7px 18px rgba(44,62,76,.27);
}
[data-theme="light"] body.neo-v2 .nav.scrolled .nav__inner {
  background: linear-gradient(145deg, #edf3f6, #e2e9ee);
}
body.neo-v2 .nav__logo svg {
  filter: drop-shadow(4px 5px 7px rgba(1,5,8,.55)) drop-shadow(-2px -2px 5px rgba(100,232,195,.10));
}
body.neo-v2 .nav__link {
  padding: 8px 13px;
  border-radius: 13px;
  color: var(--neo-text-2);
}
body.neo-v2 .nav__link:hover {
  color: var(--neo-text);
  background: var(--neo-surface);
  box-shadow: var(--neo-shadow-xs);
}
body.neo-v2 .nav__link.active {
  color: var(--neo-accent);
  background: var(--neo-surface);
  box-shadow: var(--neo-inset-soft);
}
body.neo-v2 .nav__link.active::after { display: none; }
body.neo-v2 .theme-toggle,
body.neo-v2 .nav__toggle {
  background: var(--neo-surface) !important;
  border: 1px solid var(--neo-border) !important;
  border-radius: 13px !important;
  box-shadow: var(--neo-shadow-xs);
}
body.neo-v2 .theme-toggle:hover,
body.neo-v2 .nav__toggle:hover { transform: translateY(-1px); }
body.neo-v2 .theme-toggle:active,
body.neo-v2 .nav__toggle:active { box-shadow: var(--neo-inset-soft); transform: translateY(0); }

/* Buttons — tactile raised / pressed */
body.neo-v2 .btn,
body.neo-v2 .sc-scan-btn,
body.neo-v2 .sett-btn,
body.neo-v2 .auth-submit-btn,
body.neo-v2 .btn-upgrade,
body.neo-v2 .btn-back {
  border-radius: 14px !important;
  border: 1px solid var(--neo-border) !important;
  transition: transform .22s var(--neo-ease), box-shadow .22s var(--neo-ease), color .22s ease, background .22s ease !important;
}
body.neo-v2 .btn--primary,
body.neo-v2 .sc-scan-btn,
body.neo-v2 .sett-btn,
body.neo-v2 .auth-submit-btn,
body.neo-v2 .btn-upgrade {
  color: #0c211a !important;
  background: linear-gradient(145deg, #7df0cf, #42cea7) !important;
  box-shadow: 7px 7px 17px rgba(2,6,10,.56), -6px -6px 14px rgba(44,62,76,.24), inset 0 1px 0 rgba(255,255,255,.38) !important;
}
[data-theme="light"] body.neo-v2 .btn--primary,
[data-theme="light"] body.neo-v2 .sc-scan-btn,
[data-theme="light"] body.neo-v2 .sett-btn,
[data-theme="light"] body.neo-v2 .auth-submit-btn,
[data-theme="light"] body.neo-v2 .btn-upgrade {
  color: #f5fffb !important;
  background: linear-gradient(145deg, #13ae86, #0a8e6d) !important;
  box-shadow: 6px 6px 14px rgba(166,176,184,.62), -6px -6px 14px rgba(255,255,255,.92) !important;
}
body.neo-v2 .btn--ghost,
body.neo-v2 .btn-back,
body.neo-v2 .sc-back-btn {
  background: linear-gradient(145deg, var(--neo-surface-2), var(--neo-surface)) !important;
  color: var(--neo-text-2) !important;
  border: 1px solid var(--neo-border) !important;
  box-shadow: var(--neo-shadow-xs) !important;
}
body.neo-v2 .btn:hover,
body.neo-v2 .sc-scan-btn:hover,
body.neo-v2 .sett-btn:hover,
body.neo-v2 .auth-submit-btn:hover,
body.neo-v2 .btn-upgrade:hover,
body.neo-v2 .btn-back:hover,
body.neo-v2 .sc-back-btn:hover {
  transform: translateY(-2px) !important;
  filter: saturate(1.05);
}
body.neo-v2 .btn:active,
body.neo-v2 .sc-scan-btn:active,
body.neo-v2 .sett-btn:active,
body.neo-v2 .auth-submit-btn:active,
body.neo-v2 .btn-back:active,
body.neo-v2 .sc-back-btn:active {
  transform: translateY(0) scale(.99) !important;
  box-shadow: var(--neo-inset-soft) !important;
}

/* Core neomorphic surfaces */
body.neo-v2 .glass-card,
body.neo-v2 .bento__item,
body.neo-v2 .stat,
body.neo-v2 .team-member,
body.neo-v2 .governance-card,
body.neo-v2 .blog-card,
body.neo-v2 .community-link,
body.neo-v2 .newsletter,
body.neo-v2 .dash__card,
body.neo-v2 .dash__stat-card,
body.neo-v2 .dash__tool-card,
body.neo-v2 .sett-block,
body.neo-v2 .sc-panel,
body.neo-v2 .sc-ontop-card,
body.neo-v2 .ind-card,
body.neo-v2 .tv-review,
body.neo-v2 .lm-widget,
body.neo-v2 .card {
  background: linear-gradient(145deg, var(--neo-surface-2), var(--neo-surface)) !important;
  border: 1px solid var(--neo-border) !important;
  box-shadow: var(--neo-shadow-sm) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body.neo-v2 .glass-card,
body.neo-v2 .bento__item,
body.neo-v2 .dash__card,
body.neo-v2 .sett-block,
body.neo-v2 .sc-panel,
body.neo-v2 .lm-widget,
body.neo-v2 .newsletter { border-radius: var(--neo-radius-lg) !important; }
body.neo-v2 .stat,
body.neo-v2 .dash__stat-card,
body.neo-v2 .dash__tool-card,
body.neo-v2 .ind-card,
body.neo-v2 .tv-review,
body.neo-v2 .community-link,
body.neo-v2 .blog-card,
body.neo-v2 .team-member,
body.neo-v2 .governance-card,
body.neo-v2 .card { border-radius: var(--neo-radius-md) !important; }

body.neo-v2 .glass-card:hover,
body.neo-v2 .bento__item:hover,
body.neo-v2 .stat:hover,
body.neo-v2 .team-member:hover,
body.neo-v2 .governance-card:hover,
body.neo-v2 .blog-card:hover,
body.neo-v2 .community-link:hover,
body.neo-v2 .dash__stat-card:hover,
body.neo-v2 .dash__tool-card:hover,
body.neo-v2 .ind-card:hover,
body.neo-v2 .tv-review:hover,
body.neo-v2 .lm-widget__stat:hover {
  background: linear-gradient(145deg, var(--neo-surface-3), var(--neo-surface)) !important;
  border-color: rgba(100,232,195,.13) !important;
  box-shadow: 14px 14px 30px rgba(2,6,10,.68), -11px -11px 25px rgba(44,62,76,.30), 0 0 0 1px rgba(100,232,195,.045) !important;
  transform: translateY(-3px) !important;
}
[data-theme="light"] body.neo-v2 .glass-card:hover,
[data-theme="light"] body.neo-v2 .bento__item:hover,
[data-theme="light"] body.neo-v2 .stat:hover,
[data-theme="light"] body.neo-v2 .team-member:hover,
[data-theme="light"] body.neo-v2 .governance-card:hover,
[data-theme="light"] body.neo-v2 .blog-card:hover,
[data-theme="light"] body.neo-v2 .community-link:hover,
[data-theme="light"] body.neo-v2 .dash__stat-card:hover,
[data-theme="light"] body.neo-v2 .dash__tool-card:hover,
[data-theme="light"] body.neo-v2 .ind-card:hover,
[data-theme="light"] body.neo-v2 .tv-review:hover {
  box-shadow: 14px 14px 30px rgba(166,176,184,.67), -12px -12px 27px rgba(255,255,255,.96) !important;
}

body.neo-v2 .glass-card::before,
body.neo-v2 .bento__item::before {
  opacity: .28;
  background: linear-gradient(90deg, transparent, rgba(100,232,195,.48), transparent);
}

/* Recessed wells, rows, controls and meters */
body.neo-v2 .token-row,
body.neo-v2 .faq-item,
body.neo-v2 .auth-tabs,
body.neo-v2 .sett-nav,
body.neo-v2 .sc-tabs,
body.neo-v2 .hm-tabs,
body.neo-v2 .progress-bar,
body.neo-v2 .sc-progress__bar,
body.neo-v2 .conf-meter,
body.neo-v2 .sc-conf-bar,
body.neo-v2 .dash-signal-search__input-wrap,
body.neo-v2 .chart-wrap,
body.neo-v2 .sc-hm__table-wrap {
  background: var(--neo-surface) !important;
  border: 1px solid var(--neo-border) !important;
  box-shadow: var(--neo-inset-soft) !important;
}
body.neo-v2 .faq-item { border-radius: 17px !important; overflow: hidden; }
body.neo-v2 .faq-item.active { border-color: rgba(100,232,195,.16) !important; }
body.neo-v2 .faq-item__header:hover { background: rgba(100,232,195,.045) !important; }

/* Inputs */
body.neo-v2 .form-input,
body.neo-v2 .form-textarea,
body.neo-v2 .form-select,
body.neo-v2 .newsletter__input,
body.neo-v2 .auth-input,
body.neo-v2 .sett-input,
body.neo-v2 .dash-signal-search__input,
body.neo-v2 input[type="text"],
body.neo-v2 input[type="email"],
body.neo-v2 input[type="password"],
body.neo-v2 input[type="search"],
body.neo-v2 select,
body.neo-v2 textarea {
  background: var(--neo-surface) !important;
  color: var(--neo-text) !important;
  border: 1px solid var(--neo-border) !important;
  border-radius: 14px !important;
  box-shadow: var(--neo-inset-soft) !important;
}
body.neo-v2 .form-input:focus,
body.neo-v2 .form-textarea:focus,
body.neo-v2 .form-select:focus,
body.neo-v2 .newsletter__input:focus,
body.neo-v2 .auth-input:focus,
body.neo-v2 .sett-input:focus,
body.neo-v2 .dash-signal-search__input:focus,
body.neo-v2 input:focus,
body.neo-v2 select:focus,
body.neo-v2 textarea:focus {
  border-color: rgba(100,232,195,.40) !important;
  box-shadow: var(--neo-inset-soft), 0 0 0 3px rgba(100,232,195,.07) !important;
  outline: none !important;
}
body.neo-v2 ::placeholder { color: var(--neo-muted) !important; opacity: .78; }

/* Badges / chips */
body.neo-v2 .audit-badge,
body.neo-v2 .billing-pill,
body.neo-v2 .timeline__tag,
body.neo-v2 .blog-card__category,
body.neo-v2 .heatmap__badge,
body.neo-v2 .sc-tag,
body.neo-v2 .sc-ontop-badge,
body.neo-v2 .signal-badge,
body.neo-v2 .elite-badge,
body.neo-v2 .url-badge,
body.neo-v2 .live-badge,
body.neo-v2 .sett-profile-badge {
  background: var(--neo-surface) !important;
  border: 1px solid var(--neo-border) !important;
  box-shadow: var(--neo-shadow-xs) !important;
  color: var(--neo-accent) !important;
}

/* Hero / page header */
body.neo-v2 .section--hero { min-height: 94vh; }
body.neo-v2 .page-header { padding-top: 154px; }
body.neo-v2 .page-header::after {
  height: 2px;
  opacity: .65;
  background: linear-gradient(90deg, transparent, rgba(100,232,195,.26), transparent);
}
body.neo-v2 .trust-bar { border-top: 0 !important; }
body.neo-v2 .trust-bar__item {
  min-width: 110px;
  padding: 15px 18px;
  border-radius: 16px;
  background: var(--neo-surface);
  box-shadow: var(--neo-inset-soft);
}
body.neo-v2 .chain-logo,
body.neo-v2 .glass-card__icon,
body.neo-v2 .dash__stat-icon,
body.neo-v2 .dash__tool-icon,
body.neo-v2 .community-link__icon,
body.neo-v2 .sett-social-link__icon,
body.neo-v2 .sc-det-summary__icon,
body.neo-v2 .dash-signal-search__icon {
  background: var(--neo-surface) !important;
  border: 1px solid var(--neo-border) !important;
  box-shadow: var(--neo-shadow-xs) !important;
}

/* Footer */
body.neo-v2 .footer {
  background: transparent !important;
  border-top: 0 !important;
  margin-top: 36px;
}
body.neo-v2 .footer__grid,
body.neo-v2 .footer__bottom {
  background: linear-gradient(145deg, var(--neo-surface-2), var(--neo-surface));
  border: 1px solid var(--neo-border) !important;
  box-shadow: var(--neo-shadow-sm);
}
body.neo-v2 .footer__grid {
  padding: 34px;
  border-radius: var(--neo-radius-lg);
  margin-bottom: 18px;
}
body.neo-v2 .footer__bottom {
  padding: 20px 24px;
  border-radius: 18px;
}
body.neo-v2 .footer__social {
  background: var(--neo-surface) !important;
  border: 1px solid var(--neo-border) !important;
  box-shadow: var(--neo-shadow-xs);
}
body.neo-v2 .footer__social:hover { box-shadow: var(--neo-inset-soft); }

/* Tables / market data */
body.neo-v2 .hm-table-wrap,
body.neo-v2 .sc-table-wrap,
body.neo-v2 .sc-hm__table-wrap {
  border-radius: 20px;
  overflow: hidden;
  background: var(--neo-surface) !important;
  border: 1px solid var(--neo-border) !important;
  box-shadow: var(--neo-inset-soft) !important;
}
body.neo-v2 .hm-table,
body.neo-v2 .sc-table,
body.neo-v2 .conf-table,
body.neo-v2 .af-table,
body.neo-v2 .cp-table,
body.neo-v2 .div-table,
body.neo-v2 .ew-table,
body.neo-v2 .fr-table,
body.neo-v2 .fvg-table,
body.neo-v2 .liq-table,
body.neo-v2 .of-table,
body.neo-v2 .pa-table,
body.neo-v2 .struct-table,
body.neo-v2 .trend-table,
body.neo-v2 .wk-table {
  background: transparent !important;
}
body.neo-v2 .hm-th,
body.neo-v2 .sc-table__th,
body.neo-v2 th {
  background: rgba(100,232,195,.035) !important;
  color: var(--neo-muted) !important;
  border-color: var(--neo-border) !important;
}
body.neo-v2 .hm-td,
body.neo-v2 .sc-table__td,
body.neo-v2 td {
  border-color: var(--neo-border) !important;
}
body.neo-v2 tbody tr:hover td { background: rgba(100,232,195,.035) !important; }

/* Scanner */
body.neo-v2 .scanner-page { background: transparent !important; }
body.neo-v2 .sc-tabs { padding: 6px; border-radius: 17px; }
body.neo-v2 .sc-tab,
body.neo-v2 .hm-tab,
body.neo-v2 .auth-tab,
body.neo-v2 .sett-nav__item {
  border-radius: 12px !important;
  color: var(--neo-text-2) !important;
}
body.neo-v2 .sc-tab:hover,
body.neo-v2 .hm-tab:hover,
body.neo-v2 .auth-tab:hover,
body.neo-v2 .sett-nav__item:hover {
  background: rgba(255,255,255,.025) !important;
}
body.neo-v2 .sc-tab.active,
body.neo-v2 .hm-tab.active,
body.neo-v2 .auth-tab.active,
body.neo-v2 .sett-nav__item.active {
  background: var(--neo-surface) !important;
  color: var(--neo-accent) !important;
  box-shadow: var(--neo-inset-soft) !important;
}
body.neo-v2 .sc-detail-modal__backdrop,
body.neo-v2 .auth-modal__backdrop {
  background: rgba(4,8,12,.72) !important;
  backdrop-filter: blur(16px) !important;
}
body.neo-v2 .sc-detail-modal__card,
body.neo-v2 .auth-modal__card,
body.neo-v2 .auth-dropdown {
  background: linear-gradient(145deg, var(--neo-surface-2), var(--neo-surface)) !important;
  border: 1px solid var(--neo-border) !important;
  box-shadow: 20px 20px 50px rgba(2,6,10,.72), -12px -12px 32px rgba(44,62,76,.22) !important;
  border-radius: 24px !important;
}
[data-theme="light"] body.neo-v2 .sc-detail-modal__card,
[data-theme="light"] body.neo-v2 .auth-modal__card,
[data-theme="light"] body.neo-v2 .auth-dropdown {
  box-shadow: 20px 20px 48px rgba(155,166,176,.60), -15px -15px 38px rgba(255,255,255,.96) !important;
}
body.neo-v2 .sc-detail-modal__close,
body.neo-v2 .auth-modal__close,
body.neo-v2 .auth-eye {
  background: var(--neo-surface) !important;
  border: 1px solid var(--neo-border) !important;
  box-shadow: var(--neo-shadow-xs) !important;
}
body.neo-v2 .sc-det-ind,
body.neo-v2 .sc-det-summary,
body.neo-v2 .sc-det-disclaimer,
body.neo-v2 .sc-det-top {
  background: var(--neo-surface) !important;
  border: 1px solid var(--neo-border) !important;
  box-shadow: var(--neo-inset-soft) !important;
  border-radius: 16px !important;
}
body.neo-v2 .sc-hm-cell { border-color: var(--neo-border) !important; }
body.neo-v2 .sc-hm-cell--ob { background: rgba(255,115,136,.08) !important; }
body.neo-v2 .sc-hm-cell--os { background: rgba(100,232,195,.08) !important; }
body.neo-v2 .sc-progress__fill,
body.neo-v2 .progress-fill,
body.neo-v2 .conf-fill {
  background: linear-gradient(90deg, var(--neo-accent-strong), var(--neo-accent)) !important;
  box-shadow: 0 0 15px rgba(100,232,195,.25);
}

/* Settings */
body.neo-v2 .sett-theme-card {
  background: var(--neo-surface) !important;
  border: 1px solid var(--neo-border) !important;
  box-shadow: var(--neo-shadow-xs);
  border-radius: 18px !important;
}
body.neo-v2 .sett-theme-card.active {
  border-color: rgba(100,232,195,.28) !important;
  box-shadow: var(--neo-inset-soft), 0 0 0 1px rgba(100,232,195,.10) !important;
}
body.neo-v2 .sett-social-link:hover,
body.neo-v2 .sett-security-item:hover { background: rgba(100,232,195,.035) !important; }
body.neo-v2 .sett-delete-btn {
  border-radius: 14px !important;
  background: var(--neo-surface) !important;
  box-shadow: var(--neo-shadow-xs) !important;
}
body.neo-v2 .sett-delete-btn:active { box-shadow: var(--neo-inset-soft) !important; }

/* Live market widgets */
body.neo-v2 .lm-widget { overflow: hidden; }
body.neo-v2 .lm-widget::before {
  opacity: .24 !important;
  background: radial-gradient(circle at top right, rgba(100,232,195,.18), transparent 44%) !important;
}
body.neo-v2 .lm-widget__stat,
body.neo-v2 .lm-widget__row {
  background: var(--neo-surface) !important;
  border: 1px solid var(--neo-border) !important;
  border-radius: 14px !important;
  box-shadow: var(--neo-inset-soft) !important;
}
body.neo-v2 .lm-widget__row + .lm-widget__row::before { display: none !important; }

/* Auth */
body.neo-v2 .auth-profile__btn {
  background: var(--neo-surface) !important;
  border: 1px solid var(--neo-border) !important;
  box-shadow: var(--neo-shadow-xs) !important;
  border-radius: 14px !important;
}
body.neo-v2 .auth-profile__btn:hover { background: var(--neo-surface-2) !important; }
body.neo-v2 .auth-google-btn {
  background: var(--neo-surface-2) !important;
  color: var(--neo-text) !important;
  border: 1px solid var(--neo-border) !important;
  box-shadow: var(--neo-shadow-xs) !important;
  border-radius: 14px !important;
}
body.neo-v2 .auth-google-btn:hover { transform: translateY(-1px); }
body.neo-v2 .auth-dropdown__divider,
body.neo-v2 .auth-divider::before,
body.neo-v2 .auth-divider::after { background: var(--neo-border) !important; }


/* Status feedback */
body.neo-v2 .auth-msg,
body.neo-v2 .sett-msg,
body.neo-v2 .dash-signal-search__error,
body.neo-v2 .sc-empty {
  border-radius: 14px !important;
  box-shadow: var(--neo-inset-soft);
}

/* Scrollbar */
body.neo-v2 * { scrollbar-width: thin; scrollbar-color: rgba(100,232,195,.30) transparent; }
body.neo-v2 *::-webkit-scrollbar { width: 9px; height: 9px; }
body.neo-v2 *::-webkit-scrollbar-track { background: transparent; }
body.neo-v2 *::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(100,232,195,.36), rgba(100,232,195,.16));
  border-radius: 999px;
  border: 2px solid var(--neo-bg);
}

/* Focus accessibility */
body.neo-v2 :focus-visible {
  outline: 2px solid rgba(100,232,195,.78) !important;
  outline-offset: 3px !important;
}

/* Mobile */
@media (max-width: 768px) {
  body.neo-v2 .nav { top: 10px; }
  body.neo-v2 .nav__inner { border-radius: 19px; height: 56px; padding-left: 14px; }
  body.neo-v2 .nav__mobile {
    background: rgba(15,22,30,.97) !important;
    backdrop-filter: blur(20px) !important;
  }
  [data-theme="light"] body.neo-v2 .nav__mobile { background: rgba(232,238,242,.98) !important; }
  body.neo-v2 .nav__mobile a {
    margin: 3px 0;
    background: var(--neo-surface);
    box-shadow: var(--neo-shadow-xs);
    border: 1px solid var(--neo-border);
  }
  body.neo-v2 .page-header { padding-top: 126px; }
  body.neo-v2 .footer__grid { padding: 26px; }
  body.neo-v2 .footer__bottom { padding: 18px; }
}

@media (max-width: 480px) {
  body.neo-v2 .glass-card,
  body.neo-v2 .bento__item,
  body.neo-v2 .dash__card,
  body.neo-v2 .sett-block,
  body.neo-v2 .sc-panel { border-radius: 20px !important; }
  body.neo-v2 .trust-bar__item { width: 100%; }
  body.neo-v2 .footer__grid { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  body.neo-v2 *, body.neo-v2 *::before, body.neo-v2 *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* v2 precision states */
body.neo-v2.page-pricing .billing-pill.active {
  background: linear-gradient(145deg, #7df0cf, #42cea7) !important;
  color: #0c211a !important;
  border-color: rgba(100,232,195,.35) !important;
  box-shadow: var(--neo-inset-soft), 0 0 0 1px rgba(100,232,195,.08) !important;
}
[data-theme="light"] body.neo-v2.page-pricing .billing-pill.active {
  background: linear-gradient(145deg, #13ae86, #0a8e6d) !important;
  color: #fff !important;
}
body.neo-v2.page-pricing .glass-card[style*="border-color:var(--accent)"] {
  border-color: rgba(100,232,195,.42) !important;
  box-shadow: var(--neo-shadow-soft), 0 0 0 1px rgba(100,232,195,.12), 0 0 38px rgba(100,232,195,.08) !important;
}
body.neo-v2.page-pricing #payModal {
  background: rgba(4,8,12,.72) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

body.neo-v2 .dash-signal-badge {
  background: var(--neo-surface) !important;
  border: 1px solid var(--neo-border) !important;
  box-shadow: var(--neo-inset-soft) !important;
  border-radius: 12px !important;
}
body.neo-v2 .dash-signal-badge.is-long { color: var(--neo-accent) !important; }
body.neo-v2 .dash-signal-badge.is-short { color: var(--neo-danger) !important; }
body.neo-v2 .dash-signal-badge.is-neutral { color: var(--neo-muted) !important; }


/* Preserve semantic state colors while keeping the soft-UI material language. */
body.neo-v2 .hm-signal--bull,
body.neo-v2 .sc-signal.is-long { color: var(--neo-accent) !important; }
body.neo-v2 .hm-signal--bear,
body.neo-v2 .sc-signal.is-short { color: var(--neo-danger) !important; }
body.neo-v2 .hm-signal--neutral { color: var(--neo-muted) !important; }

/* v2.1 brand refinement — darker, more professional logo tone */
body.neo-v2 .nav__logo-text span {
  color: var(--neo-logo) !important;
  text-shadow: none !important;
}
body.neo-v2 .nav__logo svg {
  filter: saturate(.9) brightness(.92);
}




/* ═══════════════════════════════════════════════════════════════════
   v5 — Core Workspaces (reference-matched)
   ═══════════════════════════════════════════════════════════════════ */
.core-workspaces-section { position: relative; }
.core-workspaces {
  position: relative;
  overflow: hidden;
  padding: 24px 26px 28px;
  border: 1px solid rgba(130,157,168,.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 8%, rgba(23,166,124,.08), transparent 24%),
    linear-gradient(145deg, rgba(250,253,254,.94), rgba(236,244,247,.84));
  box-shadow: 16px 18px 42px rgba(134,151,160,.20), -10px -10px 30px rgba(255,255,255,.82);
}
.core-workspaces::before,
.core-workspaces::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(20,157,117,.11);
  border-radius: 50%;
  pointer-events: none;
}
.core-workspaces::before { width: 300px; height: 300px; right: -118px; top: -185px; }
.core-workspaces::after { width: 240px; height: 240px; right: -95px; bottom: -190px; }
.core-workspaces__head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 5px 0 20px;
  border-bottom: 1px solid rgba(118,145,156,.20);
  margin-bottom: 22px;
}
.core-workspaces__eyebrow,
.core-workspaces__meta,
.workspace-card__type,
.workspace-card__num,
.workspace-card__tag,
.workspace-card__open {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 2.6px;
}
.core-workspaces__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #0b8f68;
  font-size: 11px;
  font-weight: 700;
}
.core-workspaces__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #12a777;
  box-shadow: 0 0 0 7px rgba(18,167,119,.08);
}
.core-workspaces__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 10px;
  color: #7c8c98;
  font-weight: 700;
}
.core-workspaces__meta strong { color: #162235; font-size: 12px; }
.core-workspaces__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.workspace-card {
  position: relative;
  min-height: 248px;
  display: flex;
  flex-direction: column;
  padding: 20px 18px 17px;
  border: 1px solid rgba(128,153,163,.18);
  border-radius: 20px;
  color: #10172b;
  background:
    linear-gradient(145deg, rgba(251,253,254,.94), rgba(239,245,247,.88));
  box-shadow: 10px 14px 24px rgba(132,148,157,.18), -8px -8px 20px rgba(255,255,255,.78);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  overflow: visible;
}
.workspace-card:hover,
.workspace-card:focus-visible {
  color: #10172b;
  transform: translateY(-4px);
  border-color: rgba(18,167,119,.26);
  box-shadow: 14px 18px 30px rgba(126,145,155,.23), -10px -10px 24px rgba(255,255,255,.9);
  outline: none;
}
.workspace-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}
.workspace-card__num { color: #079d6e; font-size: 11px; font-weight: 800; }
.workspace-card__type { color: #99a6b1; font-size: 10px; font-weight: 800; text-align: right; }
.workspace-card__title {
  margin: 0 0 9px;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.2;
  font-weight: 800;
  color: #11182c;
}
.workspace-card__desc {
  margin: 0;
  max-width: 95%;
  color: #71808f;
  font-size: 12px;
  line-height: 1.75;
}
.workspace-card__side-arrow {
  position: absolute;
  right: -29px;
  top: 47%;
  transform: translateY(-50%);
  color: #15a579;
  font-family: var(--font-mono);
  font-size: 15px;
  z-index: 3;
}
.workspace-card:last-child .workspace-card__side-arrow { display: none; }
.workspace-card__foot {
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid rgba(123,148,158,.19);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.workspace-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #91a0ab;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}
.workspace-card__tag i { width: 6px; height: 6px; border-radius: 50%; background: #0ea273; flex: 0 0 auto; }
.workspace-card__open { color: #079d6e; font-size: 9px; font-weight: 800; white-space: nowrap; }

/* Dark-mode counterpart keeps the exact geometry while respecting theme */
html:not([data-theme="light"]) .core-workspaces {
  background: radial-gradient(circle at 92% 8%, rgba(21,147,111,.11), transparent 24%), linear-gradient(145deg, #101b25, #0b141d);
  border-color: rgba(96,139,139,.17);
  box-shadow: 16px 18px 42px rgba(1,5,9,.48), -9px -9px 24px rgba(37,55,67,.18);
}
html:not([data-theme="light"]) .core-workspaces__head { border-color: rgba(126,159,164,.13); }
html:not([data-theme="light"]) .core-workspaces__meta { color: #71808d; }
html:not([data-theme="light"]) .core-workspaces__meta strong { color: #d7e1e7; }
html:not([data-theme="light"]) .workspace-card {
  color: #edf5f7;
  background: linear-gradient(145deg, #14212c, #0e1922);
  border-color: rgba(98,136,142,.16);
  box-shadow: 10px 14px 26px rgba(1,5,9,.54), -7px -7px 18px rgba(41,59,70,.15);
}
html:not([data-theme="light"]) .workspace-card:hover,
html:not([data-theme="light"]) .workspace-card:focus-visible { color: #edf5f7; border-color: rgba(21,147,111,.30); }
html:not([data-theme="light"]) .workspace-card__title { color: #eef5f7; }
html:not([data-theme="light"]) .workspace-card__desc { color: #82939f; }
html:not([data-theme="light"]) .workspace-card__foot { border-color: rgba(121,151,158,.14); }

/* Workspace destination pages */
.workspace-page-main { min-height: 72vh; padding: calc(var(--nav-height) + 78px) 0 var(--space-5xl); position: relative; z-index: 1; }
.workspace-page-head { max-width: 900px; margin-bottom: 32px; }
.workspace-page-kicker { font-family: var(--font-mono); color: #0b8f68; letter-spacing: 2.5px; font-size: 11px; font-weight: 700; text-transform: uppercase; margin-bottom: 14px; }
.workspace-page-title { font-family: var(--font-display); font-size: clamp(38px, 6vw, 72px); line-height: 1; letter-spacing: -.035em; margin: 0 0 18px; }
.workspace-page-sub { max-width: 720px; color: var(--text-secondary); font-size: 16px; line-height: 1.8; }
.workspace-placeholder {
  min-height: 330px;
  padding: 34px;
  border-radius: 26px;
  border: 1px solid var(--neo-border);
  background: linear-gradient(145deg, var(--neo-surface-2), var(--neo-surface));
  box-shadow: var(--neo-shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.workspace-placeholder__status { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px; color: #0b8f68; text-transform: uppercase; }
.workspace-placeholder__status i { width: 7px; height: 7px; border-radius: 50%; background: #0ea273; }
.workspace-placeholder h2 { font-size: clamp(26px, 4vw, 42px); margin: 0 0 12px; }
.workspace-placeholder p { max-width: 650px; color: var(--text-secondary); line-height: 1.8; margin: 0; }

/* Indicators & Scanners directory */
.tool-directory { display: grid; gap: 30px; }
.tool-section { padding: 28px; border-radius: 26px; border: 1px solid var(--neo-border); background: linear-gradient(145deg, var(--neo-surface-2), var(--neo-surface)); box-shadow: var(--neo-shadow-sm); }
.tool-section__head { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:20px; }
.tool-section__head h2 { margin:0; font-size:24px; }
.tool-section__head span { font-family:var(--font-mono); color:var(--text-muted); font-size:10px; letter-spacing:2px; text-transform:uppercase; }
.tool-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.tool-link { display:block; padding:18px; min-height:145px; border-radius:18px; border:1px solid var(--neo-border); background:linear-gradient(145deg,var(--neo-surface-3),var(--neo-surface)); box-shadow:8px 8px 18px rgba(2,6,10,.24),-6px -6px 14px rgba(255,255,255,.03); transition:.2s ease; }
.tool-link:hover,.tool-link:focus-visible { transform:translateY(-3px); border-color:rgba(21,147,111,.35); outline:none; }
.tool-link__meta { display:flex; justify-content:space-between; gap:10px; font-family:var(--font-mono); font-size:9px; letter-spacing:1.8px; text-transform:uppercase; color:var(--text-muted); }
.tool-link__meta b { color:#0b8f68; }
.tool-link h3 { margin:18px 0 7px; font-size:17px; color:var(--text-primary); }
.tool-link p { margin:0; color:var(--text-secondary); font-size:12px; line-height:1.65; }
.tool-link__open { display:block; margin-top:14px; font-family:var(--font-mono); font-size:9px; letter-spacing:1.8px; color:#0b8f68; text-transform:uppercase; }

@media (max-width: 1050px) {
  .core-workspaces__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .workspace-card__side-arrow { display:none; }
  .tool-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 650px) {
  .core-workspaces { padding:18px; border-radius:22px; }
  .core-workspaces__head { align-items:flex-start; flex-direction:column; }
  .core-workspaces__grid { grid-template-columns:1fr; gap:14px; }
  .workspace-card { min-height:220px; }
  .tool-grid { grid-template-columns:1fr; }
  .tool-section { padding:18px; }
  .tool-section__head { align-items:flex-start; flex-direction:column; }
}


/* ═══════════════════════════════════════
   STRIX EDGE v7 — Light / Black toggle
   ═══════════════════════════════════════ */
body.neo-v2 .theme-toggle {
  width: auto !important;
  min-width: 106px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 7px 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(21,147,111,.12) !important;
  background: #f4f8f9 !important;
  color: #1f2937 !important;
  box-shadow: 7px 7px 16px rgba(166,176,184,.35), -6px -6px 15px rgba(255,255,255,.96) !important;
  font-family: var(--font-display) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  overflow: visible !important;
  white-space: nowrap !important;
  transform: none !important;
}
body.neo-v2 .theme-toggle:hover { transform: translateY(-1px) !important; }
body.neo-v2 .theme-toggle:active { transform: translateY(0) !important; box-shadow: inset 3px 3px 8px rgba(166,176,184,.28), inset -3px -3px 8px rgba(255,255,255,.9) !important; }
body.neo-v2 .theme-toggle__icon { width: 15px; display:inline-flex; justify-content:center; align-items:center; font-size:17px; color:#111827; }
body.neo-v2 .theme-toggle__track { position:relative; width:38px; height:20px; flex:0 0 38px; border-radius:999px; background:#dce5e9; box-shadow: inset 2px 2px 5px rgba(135,149,160,.20), inset -2px -2px 4px rgba(255,255,255,.70); }
body.neo-v2 .theme-toggle__knob { position:absolute; top:2px; left:2px; width:16px; height:16px; border-radius:50%; background:#fff; box-shadow:0 1px 4px rgba(31,41,55,.20); transition:transform .24s cubic-bezier(.2,.8,.2,1),background .24s ease; }
body.neo-v2 .theme-toggle__label { min-width:34px; text-align:left; }
html:not([data-theme="light"]) body.neo-v2 .theme-toggle {
  background:#0d1512 !important;
  color:#eef7f3 !important;
  border-color:rgba(90,224,185,.15) !important;
  box-shadow:7px 7px 16px rgba(0,0,0,.42), -5px -5px 14px rgba(35,54,46,.28) !important;
}
html:not([data-theme="light"]) body.neo-v2 .theme-toggle__icon { color:#dfeae6; }
html:not([data-theme="light"]) body.neo-v2 .theme-toggle__track { background:#1a2a25; box-shadow: inset 2px 2px 6px rgba(0,0,0,.38), inset -2px -2px 5px rgba(62,91,79,.20); }
html:not([data-theme="light"]) body.neo-v2 .theme-toggle__knob { transform:translateX(18px); background:#55e1bd; box-shadow:0 0 10px rgba(85,225,189,.35); }
html:not([data-theme="light"]) body.neo-v2 .theme-toggle:active { box-shadow: inset 3px 3px 9px rgba(0,0,0,.40), inset -3px -3px 8px rgba(42,67,57,.18) !important; }
@media (max-width: 720px){
  body.neo-v2 .theme-toggle { min-width:94px !important; height:40px !important; min-height:40px !important; padding:6px 10px !important; gap:6px !important; font-size:12px !important; }
  body.neo-v2 .theme-toggle__track { width:34px; flex-basis:34px; height:18px; }
  body.neo-v2 .theme-toggle__knob { width:14px; height:14px; }
  html:not([data-theme="light"]) body.neo-v2 .theme-toggle__knob { transform:translateX(16px); }
}


/* v8 — global Back control */
body.neo-v2 .nav-back-btn{display:inline-flex;align-items:center;justify-content:center;height:36px;padding:0 12px;border-radius:12px;border:1px solid var(--neo-border,var(--border));background:linear-gradient(145deg,var(--neo-surface-2),var(--neo-surface));color:var(--text-secondary);font-family:var(--font-mono);font-size:10px;font-weight:800;letter-spacing:.4px;box-shadow:5px 5px 12px rgba(0,0,0,.18),-4px -4px 10px rgba(255,255,255,.03);transition:all .18s ease;white-space:nowrap}body.neo-v2 .nav-back-btn:hover{color:var(--accent);transform:translateY(-1px);border-color:rgba(21,147,111,.28)}body.neo-v2 .nav-back-btn--compact{height:30px;border-radius:9px}@media(max-width:520px){body.neo-v2 .nav-back-btn{width:34px;padding:0;font-size:0}body.neo-v2 .nav-back-btn:before{content:"←";font-size:14px}}


/* v10 — universal Back control */
body.neo-v2 .nav-back-btn{height:36px;padding:0 13px!important;border-radius:11px!important;gap:7px!important;font-size:10px!important;line-height:1!important;display:inline-flex!important;visibility:visible!important;opacity:1!important}
body.neo-v2 .nav-back-btn:before{content:none!important}
@media(max-width:520px){body.neo-v2 .nav-back-btn{width:auto!important;min-width:68px!important;padding:0 10px!important;font-size:9px!important}}


/* ═══ v11: guaranteed fixed Back button ═══ */
body.neo-v2 .global-back-btn {
  position: fixed;
  top: 86px;
  left: 18px;
  z-index: 140;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--neo-border, var(--border));
  border-radius: 12px;
  background: linear-gradient(145deg, var(--neo-surface-2), var(--neo-surface));
  color: var(--text-primary);
  box-shadow: 7px 7px 16px rgba(2,6,10,.20), -5px -5px 13px rgba(255,255,255,.035);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .6px;
  cursor: pointer;
  transition: transform .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
body.neo-v2 .global-back-btn:hover {
  color: var(--accent);
  border-color: rgba(21,147,111,.34);
  transform: translateY(-2px);
}
body.neo-v2 .global-back-btn:active { transform: translateY(0); }
body.neo-v2 .global-back-btn__icon { font-size: 15px; line-height: 1; }
[data-theme="light"] body.neo-v2 .global-back-btn {
  box-shadow: 6px 6px 14px rgba(166,176,184,.48), -6px -6px 14px rgba(255,255,255,.92);
}
@media (max-width: 760px) {
  body.neo-v2 .global-back-btn {
    top: 72px; left: 10px; height: 34px; padding: 0 11px; border-radius: 10px; font-size: 9px;
  }
}

/* v11 — real asset logos in StrixEDGE Live Market */
body.neo-v2 .lm-widget__coin {
  min-width: 58px;
}
body.neo-v2 .lm-widget__coin-badge.lm-widget__coin-badge--real {
  width: auto;
  min-width: 52px;
  padding: 4px 7px 4px 5px;
  gap: 6px;
  background: var(--lm-card);
  border: 1px solid var(--lm-divider);
  color: var(--text-primary);
}
body.neo-v2 .lm-widget__coin-logo {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: contain;
  flex: 0 0 20px;
}
body.neo-v2 .lm-widget__coin-symbol {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .35px;
}


/* ═══════════════════════════════════════════════════
   v12 — Embedded Back control
   Back lives INSIDE the page's primary content surface.
   ═══════════════════════════════════════════════════ */
body.neo-v2 .global-back-btn { display:none !important; }
body.neo-v2 .content-back-row {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin: 0 0 18px;
}
body.neo-v2 .content-back-btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 72px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--neo-border, var(--border));
  border-radius: 11px;
  background: linear-gradient(145deg, var(--neo-surface-2), var(--neo-surface));
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .35px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 5px 5px 12px rgba(0,0,0,.16), -4px -4px 10px rgba(255,255,255,.025);
  transition: transform .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
body.neo-v2 .content-back-btn:hover {
  color: var(--accent);
  transform: translateY(-1px);
  border-color: rgba(21,147,111,.30);
  box-shadow: 7px 7px 15px rgba(0,0,0,.18), -5px -5px 12px rgba(255,255,255,.03);
}
body.neo-v2 .content-back-btn:active {
  transform: translateY(0);
  box-shadow: inset 3px 3px 7px rgba(0,0,0,.12), inset -3px -3px 7px rgba(255,255,255,.025);
}
body.neo-v2 .content-back-btn:focus-visible {
  outline: 2px solid rgba(21,147,111,.35);
  outline-offset: 3px;
}
body.neo-v2 .content-back-btn__icon { font-size: 13px; line-height: 1; }

/* Market: visually part of the Spot + Futures Heatmap shell. */
body.neo-v2 .market-shell > .content-back-row {
  margin: 0;
  padding: 18px 28px 0;
}
body.neo-v2 .market-shell > .content-back-row + .market-head {
  padding-top: 20px;
}

/* Workspace pages: the Back control sits in the same content container as the page header. */
body.neo-v2 .workspace-page-main > .container > .content-back-row {
  margin-bottom: 14px;
}

/* Authenticated tools: keep the Back control inside their own content area. */
body.neo-v2 #settingsContent > .container > .content-back-row,
body.neo-v2 .scanner-page > .container > .content-back-row {
  margin-bottom: 14px;
}

/* Standard inner pages: Back is inside the header's container. */
body.neo-v2 .page-header .content-back-row { margin-bottom: 14px; }

/* 404 keeps Back inside its centered content card/area. */
body.neo-v2.page-404 section > div > .content-back-row {
  justify-content: center;
  margin-bottom: 22px;
}


[data-theme="light"] body.neo-v2 .content-back-btn {
  background: linear-gradient(145deg, #f3f8fa, #e7eef2);
  box-shadow: 5px 5px 12px rgba(169,182,190,.35), -4px -4px 10px rgba(255,255,255,.88);
}

@media (max-width: 768px) {
  body.neo-v2 .market-shell > .content-back-row { padding: 14px 18px 0; }
  body.neo-v2 .market-shell > .content-back-row + .market-head { padding-top: 16px; }
  body.neo-v2 .content-back-btn { min-width: 68px; height: 32px; padding: 0 10px; }
}


/* ══════════════════════════════════════════════════════════════
   STRIX EDGE v17 — Analytical Layer Selector + Directories
   ══════════════════════════════════════════════════════════════ */
body.neo-v2 .layer-selector-shell,
body.neo-v2 .engine-directory-shell{
  position:relative;
  overflow:hidden;
  border:1px solid var(--neo-border);
  border-radius:28px;
  background:
    radial-gradient(circle at 88% 9%, rgba(21,147,111,.09), transparent 25%),
    linear-gradient(145deg,var(--neo-surface-2),var(--neo-surface));
  box-shadow:var(--neo-shadow-sm);
  padding:24px 22px 22px;
}

body.neo-v2 .layer-selector-shell::after,
body.neo-v2 .engine-directory-shell::after{
  content:"";
  position:absolute;
  right:-115px;
  top:-105px;
  width:300px;
  height:300px;
  border:1px solid rgba(21,147,111,.10);
  border-radius:50%;
  pointer-events:none;
}

body.neo-v2 .layer-selector-shell > *,
body.neo-v2 .engine-directory-shell > *{position:relative;z-index:1}

body.neo-v2 .layer-selector-shell > .content-back-row,
body.neo-v2 .engine-directory-shell > .content-back-row{
  margin:0 0 18px;
}

body.neo-v2 .layer-selector-head{margin-bottom:18px}
body.neo-v2 .layer-selector-kicker,
body.neo-v2 .engine-directory-kicker{
  font-family:var(--font-mono);
  color:#0b8f68;
  font-size:10px;
  font-weight:800;
  letter-spacing:2.2px;
  text-transform:uppercase;
  margin-bottom:10px;
}

body.neo-v2 .layer-selector-head h1,
body.neo-v2 .engine-directory-head h1{
  margin:0;
  font-family:var(--font-display);
  color:var(--text-primary);
  letter-spacing:-.035em;
}

body.neo-v2 .layer-selector-head h1{font-size:clamp(28px,3vw,38px)}
body.neo-v2 .layer-selector-head p,
body.neo-v2 .engine-directory-head p{
  margin:8px 0 0;
  color:var(--text-secondary);
  font-size:13px;
  line-height:1.65;
}

body.neo-v2 .layer-selector-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

body.neo-v2 .layer-category-card{
  position:relative;
  min-height:158px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  align-items:center;
  gap:16px;
  padding:22px 18px 22px 15px;
  border:1px solid var(--neo-border);
  border-radius:20px;
  background:linear-gradient(145deg,var(--neo-surface-3),var(--neo-surface));
  box-shadow:8px 8px 20px rgba(2,6,10,.18),-6px -6px 16px rgba(255,255,255,.025);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease;
}

body.neo-v2 .layer-category-card--active{
  border-color:rgba(21,147,111,.45);
  border-left:3px solid #13a777;
  background:
    linear-gradient(145deg,rgba(21,147,111,.10),rgba(21,147,111,.035)),
    linear-gradient(145deg,var(--neo-surface-3),var(--neo-surface));
}

body.neo-v2 .layer-category-card:hover,
body.neo-v2 .layer-category-card:focus-visible{
  transform:translateY(-3px);
  border-color:rgba(21,147,111,.52);
  box-shadow:12px 12px 25px rgba(2,6,10,.24),-8px -8px 20px rgba(255,255,255,.035);
  outline:none;
}

body.neo-v2 .layer-category-number{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border:1px solid var(--neo-border);
  border-radius:10px;
  font-family:var(--font-mono);
  font-size:10px;
  color:var(--text-secondary);
  box-shadow:var(--neo-inset-soft);
}

body.neo-v2 .layer-category-eyebrow{
  font-family:var(--font-mono);
  color:var(--text-muted);
  font-size:9px;
  font-weight:700;
  letter-spacing:2px;
  text-transform:uppercase;
  margin-bottom:8px;
}

body.neo-v2 .layer-category-body h2{
  margin:0 0 7px;
  font-family:var(--font-display);
  color:var(--text-primary);
  font-size:19px;
  letter-spacing:-.02em;
}

body.neo-v2 .layer-category-body p{
  margin:0;
  max-width:480px;
  color:var(--text-secondary);
  font-size:12px;
  line-height:1.6;
}

body.neo-v2 .layer-category-actions{
  min-width:86px;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-end;
  gap:16px;
}

body.neo-v2 .layer-category-count,
body.neo-v2 .layer-category-open{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:0 10px;
  border:1px solid rgba(21,147,111,.22);
  border-radius:9px;
  background:rgba(21,147,111,.055);
  font-family:var(--font-mono);
  font-size:9px;
  font-weight:700;
  color:var(--text-secondary);
  white-space:nowrap;
}

body.neo-v2 .layer-category-count b{
  color:#0b8f68;
  font-size:12px;
  margin-right:5px;
}

body.neo-v2 .layer-category-open{
  color:#078b63;
  background:rgba(21,147,111,.13);
  border-color:rgba(21,147,111,.30);
  letter-spacing:.7px;
}

body.neo-v2 .engine-directory-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  padding:2px 2px 20px;
  border-bottom:1px solid var(--neo-border);
  margin-bottom:20px;
}

body.neo-v2 .engine-directory-head h1{font-size:clamp(34px,5vw,54px)}
body.neo-v2 .engine-directory-head p{max-width:720px;font-size:14px}

body.neo-v2 .engine-directory-count{
  width:112px;
  min-width:112px;
  height:86px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(21,147,111,.24);
  border-radius:17px;
  background:rgba(21,147,111,.06);
  box-shadow:var(--neo-inset-soft);
}

body.neo-v2 .engine-directory-count strong{
  color:#0b8f68;
  font-family:var(--font-display);
  font-size:30px;
  line-height:1;
}

body.neo-v2 .engine-directory-count span{
  margin-top:7px;
  font-family:var(--font-mono);
  font-size:8px;
  font-weight:700;
  letter-spacing:1.6px;
  color:var(--text-muted);
  text-align:center;
}

body.neo-v2 .engine-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

body.neo-v2 .engine-card{
  position:relative;
  min-height:170px;
  display:flex;
  flex-direction:column;
  padding:18px;
  border:1px solid var(--neo-border);
  border-radius:18px;
  background:linear-gradient(145deg,var(--neo-surface-3),var(--neo-surface));
  box-shadow:8px 8px 18px rgba(2,6,10,.16),-6px -6px 14px rgba(255,255,255,.025);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}

body.neo-v2 .engine-card:hover,
body.neo-v2 .engine-card:focus-visible{
  transform:translateY(-3px);
  border-color:rgba(21,147,111,.42);
  box-shadow:11px 11px 24px rgba(2,6,10,.22),-7px -7px 18px rgba(255,255,255,.035);
  outline:none;
}

body.neo-v2 .engine-card__top{
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-family:var(--font-mono);
  font-size:8px;
  font-weight:700;
  letter-spacing:1.7px;
  color:var(--text-muted);
}

body.neo-v2 .engine-card__index{color:#0b8f68}
body.neo-v2 .engine-card h3{
  margin:20px 0 8px;
  color:var(--text-primary);
  font-family:var(--font-display);
  font-size:18px;
}
body.neo-v2 .engine-card p{
  margin:0;
  color:var(--text-secondary);
  font-size:12px;
  line-height:1.62;
}
body.neo-v2 .engine-card__open{
  margin-top:auto;
  padding-top:18px;
  color:#078b63;
  font-family:var(--font-mono);
  font-size:9px;
  font-weight:800;
  letter-spacing:1.2px;
}

body.neo-v2 .engine-confluence{
  margin-top:14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:20px;
  border:1px solid rgba(21,147,111,.30);
  border-radius:18px;
  background:linear-gradient(145deg,rgba(21,147,111,.10),rgba(21,147,111,.035));
}

body.neo-v2 .engine-confluence__copy>span{
  font-family:var(--font-mono);
  font-size:9px;
  font-weight:800;
  letter-spacing:1.8px;
  color:#0b8f68;
}
body.neo-v2 .engine-confluence__copy h2{
  margin:7px 0 5px;
  color:var(--text-primary);
  font-size:19px;
}
body.neo-v2 .engine-confluence__copy p{
  margin:0;
  color:var(--text-secondary);
  font-size:12px;
}
body.neo-v2 .engine-confluence__open{
  min-width:120px;
  height:38px;
  padding:0 13px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(21,147,111,.30);
  border-radius:10px;
  color:#078b63;
  background:rgba(21,147,111,.12);
  font-family:var(--font-mono);
  font-size:9px;
  font-weight:800;
  letter-spacing:1px;
  transition:.2s ease;
}
body.neo-v2 .engine-confluence__open:hover{transform:translateY(-2px);background:rgba(21,147,111,.17)}

[data-theme="light"] body.neo-v2 .layer-category-card,
[data-theme="light"] body.neo-v2 .engine-card{
  box-shadow:8px 8px 18px rgba(166,176,184,.38),-7px -7px 17px rgba(255,255,255,.92);
}

@media(max-width:900px){
  body.neo-v2 .layer-selector-grid{grid-template-columns:1fr}
  body.neo-v2 .engine-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  body.neo-v2 .layer-selector-shell,
  body.neo-v2 .engine-directory-shell{padding:16px;border-radius:22px}
  body.neo-v2 .layer-category-card{
    min-height:0;
    grid-template-columns:38px minmax(0,1fr);
    padding:18px 14px;
  }
  body.neo-v2 .layer-category-actions{
    grid-column:1 / -1;
    width:100%;
    height:auto;
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
    padding-left:54px;
  }
  body.neo-v2 .engine-directory-head{align-items:flex-start}
  body.neo-v2 .engine-directory-count{width:86px;min-width:86px;height:72px}
  body.neo-v2 .engine-grid{grid-template-columns:1fr}
  body.neo-v2 .engine-confluence{align-items:flex-start;flex-direction:column}
  body.neo-v2 .engine-confluence__open{width:100%}
}


/* ══════════════════════════════════════════════════════════════
   STRIX EDGE v18 — Analyse Confluence Layer
   ══════════════════════════════════════════════════════════════ */
body.neo-v2 .analyse-confluence-shell{
  position:relative;
  overflow:hidden;
  margin-top:18px;
  padding:22px;
  border:1px solid var(--neo-border);
  border-radius:26px;
  background:
    radial-gradient(circle at 90% 8%, rgba(21,147,111,.10), transparent 24%),
    linear-gradient(145deg,var(--neo-surface-2),var(--neo-surface));
  box-shadow:var(--neo-shadow-sm);
}

body.neo-v2 .analyse-confluence-shell::after{
  content:"";
  position:absolute;
  width:280px;
  height:280px;
  right:-120px;
  top:-120px;
  border:1px solid rgba(21,147,111,.11);
  border-radius:50%;
  pointer-events:none;
}

body.neo-v2 .analyse-confluence-shell>*{position:relative;z-index:1}

body.neo-v2 .analyse-confluence-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:22px;
  padding-bottom:18px;
  border-bottom:1px solid var(--neo-border);
}

body.neo-v2 .analyse-confluence-kicker{
  margin-bottom:8px;
  font-family:var(--font-mono);
  font-size:10px;
  font-weight:800;
  letter-spacing:2.2px;
  color:#0b8f68;
}

body.neo-v2 .analyse-confluence-head h2{
  margin:0;
  font-family:var(--font-display);
  font-size:clamp(28px,3.5vw,40px);
  letter-spacing:-.035em;
  color:var(--text-primary);
}

body.neo-v2 .analyse-confluence-head p{
  max-width:700px;
  margin:8px 0 0;
  color:var(--text-secondary);
  font-size:13px;
  line-height:1.65;
}

body.neo-v2 .analyse-confluence-count{
  width:92px;
  min-width:92px;
  height:72px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(21,147,111,.25);
  border-radius:16px;
  background:rgba(21,147,111,.06);
  box-shadow:var(--neo-inset-soft);
}

body.neo-v2 .analyse-confluence-count strong{
  color:#0b8f68;
  font-family:var(--font-display);
  font-size:28px;
  line-height:1;
}

body.neo-v2 .analyse-confluence-count span{
  margin-top:6px;
  color:var(--text-muted);
  font-family:var(--font-mono);
  font-size:8px;
  font-weight:800;
  letter-spacing:1.6px;
}

body.neo-v2 .analyse-confluence-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:18px;
}

body.neo-v2 .analyse-confluence-card{
  min-height:160px;
  display:grid;
  grid-template-columns:40px minmax(0,1fr) auto;
  align-items:center;
  gap:15px;
  padding:20px 17px 20px 15px;
  border:1px solid rgba(21,147,111,.25);
  border-radius:19px;
  background:
    linear-gradient(145deg,rgba(21,147,111,.075),rgba(21,147,111,.025)),
    linear-gradient(145deg,var(--neo-surface-3),var(--neo-surface));
  box-shadow:8px 8px 18px rgba(2,6,10,.16),-6px -6px 14px rgba(255,255,255,.025);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}

body.neo-v2 .analyse-confluence-card:hover,
body.neo-v2 .analyse-confluence-card:focus-visible{
  transform:translateY(-3px);
  border-color:rgba(21,147,111,.52);
  box-shadow:12px 12px 24px rgba(2,6,10,.22),-7px -7px 18px rgba(255,255,255,.035);
  outline:none;
}

body.neo-v2 .analyse-confluence-card__index{
  width:37px;
  height:37px;
  display:grid;
  place-items:center;
  border:1px solid var(--neo-border);
  border-radius:10px;
  box-shadow:var(--neo-inset-soft);
  color:#0b8f68;
  font-family:var(--font-mono);
  font-size:10px;
  font-weight:800;
}

body.neo-v2 .analyse-confluence-card__eyebrow{
  margin-bottom:7px;
  color:var(--text-muted);
  font-family:var(--font-mono);
  font-size:9px;
  font-weight:800;
  letter-spacing:1.7px;
}

body.neo-v2 .analyse-confluence-card__body h3{
  margin:0 0 7px;
  color:var(--text-primary);
  font-family:var(--font-display);
  font-size:19px;
}

body.neo-v2 .analyse-confluence-card__body p{
  margin:0;
  color:var(--text-secondary);
  font-size:12px;
  line-height:1.6;
}

body.neo-v2 .analyse-confluence-card__action span{
  display:inline-flex;
  min-height:34px;
  align-items:center;
  justify-content:center;
  padding:0 11px;
  border:1px solid rgba(21,147,111,.28);
  border-radius:9px;
  background:rgba(21,147,111,.12);
  color:#078b63;
  font-family:var(--font-mono);
  font-size:9px;
  font-weight:800;
  letter-spacing:.9px;
  white-space:nowrap;
}

[data-theme="light"] body.neo-v2 .analyse-confluence-card{
  box-shadow:8px 8px 18px rgba(166,176,184,.38),-7px -7px 17px rgba(255,255,255,.92);
}

@media(max-width:780px){
  body.neo-v2 .analyse-confluence-grid{grid-template-columns:1fr}
}

@media(max-width:560px){
  body.neo-v2 .analyse-confluence-shell{padding:16px;border-radius:22px}
  body.neo-v2 .analyse-confluence-head{align-items:flex-start}
  body.neo-v2 .analyse-confluence-count{width:76px;min-width:76px;height:66px}
  body.neo-v2 .analyse-confluence-card{
    grid-template-columns:38px minmax(0,1fr);
  }
  body.neo-v2 .analyse-confluence-card__action{
    grid-column:1 / -1;
    padding-left:53px;
  }
  body.neo-v2 .analyse-confluence-card__action span{width:100%}
}


/* ══════════════════════════════════════════════════════════════
   STRIX EDGE v26 — Premium PWA install experience
   ══════════════════════════════════════════════════════════════ */
body.neo-v2 .install-banner,
.install-banner{
  position:fixed;
  left:50%;
  bottom:16px;
  z-index:9998;
  width:min(1180px,calc(100% - 32px));
  min-height:104px;
  display:grid;
  grid-template-columns:48px minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  padding:16px 18px;
  border:1px solid rgba(53,205,164,.28);
  border-radius:22px;
  background:
    radial-gradient(circle at 7% 100%,rgba(7,118,88,.18),transparent 26%),
    linear-gradient(120deg,rgba(10,19,23,.985),rgba(13,20,29,.985));
  box-shadow:
    0 20px 55px rgba(0,0,0,.32),
    inset 0 1px 0 rgba(255,255,255,.045);
  -webkit-backdrop-filter:blur(22px) saturate(140%);
  backdrop-filter:blur(22px) saturate(140%);
  transform:translate(-50%,calc(100% + 38px));
  opacity:0;
  visibility:hidden;
  transition:transform .24s cubic-bezier(.2,.75,.2,1),opacity .2s ease,visibility .2s ease;
}

.install-banner.install-banner--visible{
  transform:translate(-50%,0);
  opacity:1;
  visibility:visible;
}

.install-banner__brand{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border:1px solid rgba(8,225,161,.30);
  border-radius:14px;
  background:linear-gradient(145deg,rgba(2,110,82,.28),rgba(5,56,49,.30));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.045),
    0 8px 20px rgba(0,0,0,.13);
}

.install-banner__brand img{
  width:31px;
  height:31px;
  display:block;
  border-radius:8px;
}

.install-banner__content{
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.install-banner__copy{min-width:0}

.install-banner__copy strong{
  display:block;
  margin:0;
  color:#f2f7f7;
  font-family:var(--font-display,inherit);
  font-size:15px;
  font-weight:850;
  line-height:1.15;
  letter-spacing:-.018em;
}

.install-banner__copy span{
  display:block;
  margin-top:5px;
  max-width:760px;
  color:#9baaae;
  font-size:12px;
  font-weight:500;
  line-height:1.4;
}

.install-banner__benefits{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  margin-top:10px;
}

.install-banner__benefits>span{
  height:27px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:0 10px;
  border:1px solid rgba(145,166,170,.16);
  border-radius:999px;
  background:rgba(255,255,255,.035);
  color:#c9d3d5;
  font-size:10px;
  font-weight:750;
  white-space:nowrap;
}

.install-banner__benefits i{
  width:6px;
  height:6px;
  flex:0 0 6px;
  border-radius:50%;
  background:#06e5a4;
  box-shadow:0 0 0 4px rgba(6,229,164,.08);
}

.install-banner__help{
  margin-top:9px;
  color:#99aaa9;
  font-size:10px;
  line-height:1.4;
}

.install-banner__help[hidden]{display:none}

.install-banner__actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.install-banner__actions button{
  height:44px;
  border-radius:999px;
  font-family:var(--font-sans,inherit);
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease,opacity .16s ease;
}

.install-banner__actions button:hover{transform:translateY(-1px)}

.install-banner__actions button:focus-visible{
  outline:2px solid rgba(8,232,165,.42);
  outline-offset:2px;
}

.install-banner__actions button:disabled{
  opacity:.55;
  cursor:wait;
  transform:none;
}

.install-banner__primary{
  min-width:90px;
  padding:0 20px;
  border:1px solid rgba(0,247,173,.52);
  background:linear-gradient(180deg,#08efaa,#00d795);
  color:#051713;
  box-shadow:
    0 10px 24px rgba(0,221,153,.24),
    inset 0 1px 0 rgba(255,255,255,.30);
}

.install-banner__primary:hover{
  box-shadow:
    0 13px 30px rgba(0,221,153,.31),
    inset 0 1px 0 rgba(255,255,255,.32);
}

.install-banner__secondary{
  min-width:76px;
  padding:0 18px;
  border:1px solid rgba(151,166,172,.20);
  background:rgba(255,255,255,.025);
  color:#a5b0b4;
}

.install-banner__secondary:hover{
  border-color:rgba(151,166,172,.32);
  background:rgba(255,255,255,.05);
  color:#d5dcde;
}

.install-banner__close{
  width:40px;
  min-width:40px;
  padding:0;
  border:1px solid rgba(151,166,172,.16);
  background:rgba(255,255,255,.02);
  color:#7e8d92;
  font-size:18px !important;
  font-weight:500 !important;
}

.install-banner__close:hover{
  border-color:rgba(151,166,172,.30);
  background:rgba(255,255,255,.05);
  color:#cdd6d8;
}

/* Intentionally remains a premium dark install surface in Light mode,
   matching the user's reference and giving the install CTA clear hierarchy. */
[data-theme="light"] .install-banner,
html[data-theme="light"] body .install-banner{
  border-color:rgba(53,205,164,.32);
  background:
    radial-gradient(circle at 7% 100%,rgba(7,118,88,.19),transparent 26%),
    linear-gradient(120deg,rgba(9,20,23,.985),rgba(14,21,30,.985));
  box-shadow:
    0 19px 48px rgba(67,86,92,.28),
    inset 0 1px 0 rgba(255,255,255,.05);
}

@media(max-width:760px){
  .install-banner{
    bottom:10px;
    width:calc(100% - 20px);
    min-height:0;
    grid-template-columns:44px minmax(0,1fr);
    gap:11px;
    padding:13px;
    border-radius:18px;
  }

  .install-banner__brand{
    width:44px;
    height:44px;
    border-radius:12px;
  }

  .install-banner__brand img{
    width:29px;
    height:29px;
  }

  .install-banner__copy strong{font-size:14px}
  .install-banner__copy span{font-size:10.5px}

  .install-banner__benefits{
    gap:5px;
    margin-top:8px;
  }

  .install-banner__benefits>span{
    height:25px;
    padding:0 8px;
    font-size:9px;
  }

  .install-banner__actions{
    grid-column:1 / -1;
    width:100%;
    padding-left:55px;
    gap:7px;
  }

  .install-banner__actions button{
    height:38px;
  }

  .install-banner__primary,
  .install-banner__secondary{
    flex:1;
  }

  .install-banner__close{
    flex:0 0 38px !important;
    width:38px;
    min-width:38px;
  }
}

@media(max-width:430px){
  .install-banner{
    grid-template-columns:40px minmax(0,1fr);
    padding:11px;
  }

  .install-banner__brand{
    width:40px;
    height:40px;
  }

  .install-banner__actions{
    padding-left:51px;
  }

  .install-banner__benefits>span{
    font-size:8.5px;
  }
}


/* v42 — brand lockup compatibility */
body.neo-v2 .nav__brand-mark svg{filter:none!important}
body.neo-v2 .nav__logo-text .nav__brand-strix{color:var(--neo-text,var(--text-primary))!important}
body.neo-v2 .nav__logo-text .nav__brand-edge{color:var(--neo-logo,var(--accent))!important}
body.neo-v2 .nav__logo-text .nav__brand-dot{background:var(--neo-logo,var(--accent))!important}
