:root {
      --rise-font-sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      --gold: #d4a574;
      /* Primary accent (Polymarket-style blue; maps to existing --cyan usage site-wide) */
      --cyan: #2563eb;
      --line: rgba(255, 255, 255, 0.08);
      /* Nav: logo row + optional desktop icon labels under center links */
      --header-offset: calc(0.65rem * 2 + 54px + 1px);
      --glow-blue: 221 83% 53%;
      --glow-pink: 215 16% 47%;
      --glow-cyan: 210 20% 42%;
    }

html[data-theme="dark"] {
      /* Polymarket-style dark: charcoal base, lifted surfaces, cool borders */
      --bg-page: #0f111a;
      --bg-elevated: #1a1d29;
      --text: #f9fafb;
      --text-muted: #94a3b8;
      --nav-bg: rgba(15, 17, 26, 0.94);
      --noise-opacity: 0.028;
      --aurora-a: rgba(37, 99, 235, 0.14);
      --aurora-b: rgba(148, 163, 184, 0.1);
      --aurora-c: rgba(71, 85, 105, 0.12);
      --vignette: radial-gradient(ellipse 88% 72% at 50% 48%, transparent 32%, rgba(15, 17, 26, 0.82) 72%, #0f111a 100%);
      --grid-line: rgba(255, 255, 255, 0.05);
      --hero-border: rgba(255, 255, 255, 0.08);
      --cta-fg: #f9fafb;
      --cta-bg: linear-gradient(165deg, #252936 0%, #1a1d29 48%, #12141c 100%);
      --cyan: #3b82f6;
    }

/* Public dark: same family as global dark (prediction-style neutral canvas). */
html[data-theme="dark"][data-rise-scope="public"] {
      --bg-page: #0f111a;
      --bg-elevated: #1a1d29;
      --nav-bg: rgba(15, 17, 26, 0.94);
      --glow-blue: 221 83% 53%;
      --glow-pink: 215 16% 47%;
      --glow-cyan: 210 20% 42%;
      --aurora-a: rgba(37, 99, 235, 0.12);
      --aurora-b: rgba(148, 163, 184, 0.09);
      --aurora-c: rgba(71, 85, 105, 0.1);
      --vignette: radial-gradient(ellipse 90% 72% at 50% 48%, transparent 30%, rgba(15, 17, 26, 0.85) 72%, #0f111a 100%);
    }

html[data-theme="light"] {
      --cyan: #2563eb;
      --gold: #b45309;
      --bg-page: #ffffff;
      --bg-elevated: #f9fafb;
      --text: #111827;
      --text-muted: #6b7280;
      --nav-bg: rgba(255, 255, 255, 0.92);
      --noise-opacity: 0.02;
      --aurora-a: rgba(37, 99, 235, 0.06);
      --aurora-b: rgba(148, 163, 184, 0.08);
      --aurora-c: rgba(226, 232, 240, 0.45);
      --vignette: radial-gradient(ellipse 100% 85% at 50% 40%, transparent 55%, rgba(243, 244, 246, 0.9) 100%);
      --grid-line: rgba(17, 24, 39, 0.06);
      --hero-border: #e5e7eb;
      --cta-fg: #111827;
      --cta-bg: linear-gradient(165deg, #f9fafb 0%, #e5e7eb 100%);
    }

html[data-theme="light"][data-route="documentation"] {
      --bg-elevated: #f4f4f5;
      --nav-bg: rgba(255, 255, 255, 0.96);
      --hero-border: #e5e7eb;
      --grid-line: rgba(17, 24, 39, 0.06);
      --line: rgba(17, 24, 39, 0.1);
      --cta-fg: #111827;
      --cta-bg: linear-gradient(165deg, #f9fafb 0%, #e5e7eb 100%);
      --cyan: #2563eb;
      --gold: #b45309;
      --vignette: none;
    }

html[data-theme="light"][data-route="documentation"],
    html[data-theme="light"][data-route="documentation"] body {
      background: #f3f4f6;
    }

html[data-theme="light"][data-rise-scope="public"] .nav {
      border-bottom-color: #e5e7eb;
      box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
      color: #111827;
    }

html[data-theme="light"][data-rise-scope="public"] .nav__bd {
      background: rgba(255, 255, 255, 0.94);
      backdrop-filter: blur(14px) saturate(1.08);
      -webkit-backdrop-filter: blur(14px) saturate(1.08);
    }

html[data-theme="light"][data-rise-scope="public"] .nav-wordmark {
      color: #111827;
    }

html[data-theme="light"][data-rise-scope="public"] .nav-logo {
      color: #111827;
    }

html[data-theme="light"][data-rise-scope="public"] .nav-links a {
      color: #374151;
    }

html[data-theme="light"][data-rise-scope="public"] .nav-link-icon {
      opacity: 0.88;
    }

html[data-theme="light"][data-rise-scope="public"] .nav-links a:hover {
      color: #111827;
      background: rgba(15, 23, 42, 0.06);
    }

html[data-theme="light"][data-rise-scope="public"] .theme-toggle,
    html[data-theme="light"][data-rise-scope="public"] .wallet-connect,
    html[data-theme="light"][data-rise-scope="public"] .nav-profile-btn,
    html[data-theme="light"][data-rise-scope="public"] .nav-dashboard-btn,
    html[data-theme="light"][data-rise-scope="public"] .nav-menu-btn {
      background: #f3f4f6;
      border-color: #e5e7eb;
      color: #111827;
    }

html[data-theme="light"][data-rise-scope="public"] .theme-toggle:hover,
    html[data-theme="light"][data-rise-scope="public"] .wallet-connect:hover,
    html[data-theme="light"][data-rise-scope="public"] .nav-profile-btn:hover,
    html[data-theme="light"][data-rise-scope="public"] .nav-dashboard-btn:hover,
    html[data-theme="light"][data-rise-scope="public"] .nav-menu-btn:hover {
      border-color: #d1d5db;
      background: #e5e7eb;
    }

html[data-theme="light"][data-rise-scope="public"] .nav-profile-btn:hover {
      background: #e5e7eb;
    }

html[data-theme="light"][data-rise-scope="public"] .wallet-connect-panel {
      background: rgba(255, 255, 255, 0.98);
      border-color: var(--hero-border);
    }

html[data-theme="light"][data-rise-scope="public"] .wallet-opt-list {
      background: #f8fafc;
    }

@media (max-width: 767px) {
      html[data-theme="light"][data-rise-scope="public"] .nav-links a {
        border-bottom-color: #e5e7eb;
      }
    }

html[data-theme="light"][data-route^="user-"] {
      --bg-page: #ffffff;
      --bg-elevated: #f9fafb;
      --text: #111827;
      --text-muted: #6b7280;
      --nav-bg: rgba(255, 255, 255, 0.96);
      --hero-border: #e5e7eb;
      --grid-line: rgba(17, 24, 39, 0.06);
      --line: rgba(17, 24, 39, 0.1);
      --cta-fg: #111827;
      --cta-bg: linear-gradient(165deg, #f9fafb 0%, #e5e7eb 100%);
      --cyan: #2563eb;
      --gold: #b45309;
      --vignette: none;
    }

html[data-theme="light"][data-route^="user-"] body {
      background: #ffffff !important;
      background-image: none !important;
    }

html[data-theme="light"][data-route^="user-"] .nav {
      border-bottom-color: #e5e7eb;
      box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
      color: #111827;
    }

html[data-theme="light"][data-route^="user-"] .nav__bd {
      background: rgba(255, 255, 255, 0.94);
      backdrop-filter: blur(14px) saturate(1.08);
      -webkit-backdrop-filter: blur(14px) saturate(1.08);
    }

html[data-theme="light"][data-route^="user-"] .nav-wordmark {
      color: #111827;
    }

html[data-theme="light"][data-route^="user-"] .nav-logo {
      color: #111827;
    }

html[data-theme="light"][data-route^="user-"] .nav-links a {
      color: #374151;
    }

html[data-theme="light"][data-route^="user-"] .nav-link-icon {
      opacity: 0.88;
    }

html[data-theme="light"][data-route^="user-"] .nav-links a:hover {
      color: #111827;
      background: rgba(15, 23, 42, 0.06);
    }

html[data-theme="light"][data-route^="user-"] .theme-toggle,
    html[data-theme="light"][data-route^="user-"] .wallet-connect,
    html[data-theme="light"][data-route^="user-"] .nav-menu-btn {
      background: #f3f4f6;
      border-color: #e5e7eb;
      color: #111827;
    }

html[data-theme="light"][data-route^="user-"] .theme-toggle:hover,
    html[data-theme="light"][data-route^="user-"] .wallet-connect:hover,
    html[data-theme="light"][data-route^="user-"] .nav-menu-btn:hover {
      border-color: #d1d5db;
      background: #e5e7eb;
    }

html[data-theme="light"][data-route^="user-"] .wallet-connect-panel {
      background: rgba(255, 255, 255, 0.98);
      border-color: var(--hero-border);
    }

html[data-theme="light"][data-route^="user-"] .wallet-opt-list {
      background: #f8fafc;
    }

@media (max-width: 767px) {
      html[data-theme="light"][data-route^="user-"] .nav-links a {
        border-bottom-color: #e5e7eb;
      }
    }

html[data-theme="light"][data-route="ai-suite-studio"] {
      --bg-page: #ffffff;
      --bg-elevated: #f9fafb;
      --text: #111827;
      --text-muted: #6b7280;
      --nav-bg: rgba(255, 255, 255, 0.96);
      --hero-border: #e5e7eb;
      --grid-line: rgba(17, 24, 39, 0.06);
      --line: rgba(17, 24, 39, 0.1);
      --cta-fg: #111827;
      --cta-bg: linear-gradient(165deg, #f9fafb 0%, #e5e7eb 100%);
      --cyan: #2563eb;
      --gold: #b45309;
      --vignette: none;
    }

html[data-theme="light"][data-route="ai-suite-studio"] body {
      background: #ffffff !important;
      background-image: none !important;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .nav {
      border-bottom-color: #e5e7eb;
      box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
      color: #111827;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .nav__bd {
      background: rgba(255, 255, 255, 0.94);
      backdrop-filter: blur(14px) saturate(1.08);
      -webkit-backdrop-filter: blur(14px) saturate(1.08);
    }

html[data-theme="light"][data-route="ai-suite-studio"] .nav-wordmark {
      color: #111827;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .nav-logo {
      color: #111827;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .nav-links a {
      color: #374151;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .nav-link-icon {
      opacity: 0.88;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .nav-links a:hover {
      color: #111827;
      background: rgba(15, 23, 42, 0.06);
    }

html[data-theme="light"][data-route="ai-suite-studio"] .theme-toggle,
    html[data-theme="light"][data-route="ai-suite-studio"] .wallet-connect,
    html[data-theme="light"][data-route="ai-suite-studio"] .nav-menu-btn {
      background: #f3f4f6;
      border-color: #e5e7eb;
      color: #111827;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .theme-toggle:hover,
    html[data-theme="light"][data-route="ai-suite-studio"] .wallet-connect:hover,
    html[data-theme="light"][data-route="ai-suite-studio"] .nav-menu-btn:hover {
      border-color: #d1d5db;
      background: #e5e7eb;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .wallet-connect-panel {
      background: rgba(255, 255, 255, 0.98);
      border-color: var(--hero-border);
    }

html[data-theme="light"][data-route="ai-suite-studio"] .wallet-opt-list {
      background: #f8fafc;
    }

@media (max-width: 767px) {
      html[data-theme="light"][data-route="ai-suite-studio"] .nav-links a {
        border-bottom-color: #e5e7eb;
      }
    }

html[data-theme="light"][data-rise-scope="dashboard"] {
      --bg-page: #ffffff;
      --bg-elevated: #f9fafb;
      --text: #111827;
      --text-muted: #6b7280;
      --nav-bg: rgba(255, 255, 255, 0.96);
      --hero-border: #e5e7eb;
      --grid-line: rgba(17, 24, 39, 0.06);
      --line: rgba(17, 24, 39, 0.1);
      --cta-fg: #111827;
      --cta-bg: linear-gradient(165deg, #f9fafb 0%, #e5e7eb 100%);
      --cyan: #2563eb;
      --gold: #b45309;
      --vignette: none;
    }

html[data-theme="light"][data-rise-scope="dashboard"],
    html[data-theme="light"][data-rise-scope="dashboard"] body {
      background: #ffffff !important;
      background-image: none !important;
    }

html[data-theme="dark"][data-rise-scope="dashboard"],
    html[data-theme="dark"][data-rise-scope="dashboard"] body {
      background: var(--bg-page) !important;
      background-image: none !important;
    }

html[data-theme="dark"][data-rise-scope="dashboard"],
    html[data-theme="dark"][data-rise-scope="public"][data-route="automated-trading"] {
      --bg-page: #0f111a;
      --bg-elevated: #1a1d29;
      --text: #f9fafb;
      --text-muted: #9ca3af;
      --hero-border: rgba(255, 255, 255, 0.08);
      --line: rgba(255, 255, 255, 0.1);
      --grid-line: rgba(255, 255, 255, 0.05);
      --cyan: #3b82f6;
      --nav-bg: rgba(15, 17, 26, 0.94);
      --cta-bg: linear-gradient(165deg, #252936 0%, #1a1d29 48%, #12141c 100%);
    }

html[data-theme="dark"][data-route="automated-trading"] .rise-screener {
      background: color-mix(in srgb, var(--bg-elevated) 78%, var(--bg-page));
    }

html[data-theme="dark"][data-route="automated-trading"]:is(
        [data-rise-scope="dashboard"],
        [data-rise-scope="public"][data-rise-trade-access="1"]
      )
      .trade-desk__kpis {
      box-shadow:
        0 1px 0 color-mix(in srgb, var(--hero-border) 72%, transparent),
        0 12px 32px rgba(0, 0, 0, 0.45);
    }

html[data-theme="dark"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="automated-trading"]
      .trade-hub__flow {
      border-color: color-mix(in srgb, var(--hero-border) 100%, transparent);
      background: linear-gradient(160deg, var(--bg-elevated), color-mix(in srgb, var(--bg-page) 94%, #000000));
      box-shadow: 0 20px 54px rgba(0, 0, 0, 0.55);
    }

html[data-theme="dark"][data-rise-scope="dashboard"] .product-showcase-strip__card,
    html[data-theme="dark"][data-rise-scope="public"][data-route="automated-trading"] .product-showcase-strip__card,
    html[data-theme="dark"][data-rise-scope="public"][data-route="prediction-markets"] .product-showcase-strip__card {
      box-shadow: 0 12px 36px rgba(0, 0, 0, 0.38);
    }

html[data-theme="dark"][data-rise-scope="dashboard"] .rise-public-page-preview__frame {
      box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
    }

html[data-theme="dark"][data-route="automated-trading"] .trade-alert--tier-ultra {
      --alert-tint: #60a5fa;
      --alert-accent: #93c5fd;
      --alert-glow: #3b82f6;
    }

html[data-theme="light"][data-rise-scope="dashboard"] .nav {
      border-bottom-color: #e5e7eb;
      box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
      color: #111827;
    }

html[data-theme="light"][data-rise-scope="dashboard"] .nav__bd {
      background: rgba(255, 255, 255, 0.94);
      backdrop-filter: blur(14px) saturate(1.08);
      -webkit-backdrop-filter: blur(14px) saturate(1.08);
    }

html[data-theme="light"][data-rise-scope="dashboard"] .nav-wordmark {
      color: #111827;
    }

html[data-theme="light"][data-rise-scope="dashboard"] .nav-logo {
      color: #111827;
    }

html[data-theme="light"][data-rise-scope="dashboard"] .nav-links a {
      color: #374151;
    }

html[data-theme="light"][data-rise-scope="dashboard"] .nav-link-icon {
      opacity: 0.88;
    }

html[data-theme="light"][data-rise-scope="dashboard"] .nav-links a:hover {
      color: #111827;
      background: rgba(15, 23, 42, 0.06);
    }

html[data-theme="light"][data-rise-scope="dashboard"] .nav-links__item--dashboard-suite a[aria-current="page"] {
      color: #1d4ed8;
      background: rgba(37, 99, 235, 0.12);
      outline-color: rgba(37, 99, 235, 0.35);
    }

html[data-theme="light"][data-rise-scope="dashboard"] .theme-toggle,
    html[data-theme="light"][data-rise-scope="dashboard"] .wallet-connect,
    html[data-theme="light"][data-rise-scope="dashboard"] .nav-profile-btn,
    html[data-theme="light"][data-rise-scope="dashboard"] .nav-dashboard-btn,
    html[data-theme="light"][data-rise-scope="dashboard"] .nav-menu-btn {
      background: #f3f4f6;
      border-color: #e5e7eb;
      color: #111827;
    }

html[data-theme="light"][data-rise-scope="dashboard"] .theme-toggle:hover,
    html[data-theme="light"][data-rise-scope="dashboard"] .wallet-connect:hover,
    html[data-theme="light"][data-rise-scope="dashboard"] .nav-profile-btn:hover,
    html[data-theme="light"][data-rise-scope="dashboard"] .nav-dashboard-btn:hover,
    html[data-theme="light"][data-rise-scope="dashboard"] .nav-menu-btn:hover {
      border-color: #d1d5db;
      background: #e5e7eb;
    }

html[data-theme="light"][data-rise-scope="dashboard"] .nav-profile-btn:hover {
      background: #e5e7eb;
    }

html[data-theme="light"][data-rise-scope="dashboard"] .wallet-connect-panel {
      background: rgba(255, 255, 255, 0.98);
      border-color: var(--hero-border);
    }

html[data-theme="light"][data-rise-scope="dashboard"] .wallet-opt-list {
      background: #f8fafc;
    }

@media (max-width: 767px) {
      html[data-theme="light"][data-rise-scope="dashboard"] .nav-links a {
        border-bottom-color: #e5e7eb;
      }
    }

html[data-theme="light"],
    html[data-theme="light"] body {
      background: #f3f4f6;
    }

html[data-theme="dark"] .nav {
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    }

html[data-theme="light"] .nav {
      box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
    }

html[data-theme="light"] .nav-dashboard-btn:hover {
      border-color: #d1d5db;
      background: #e5e7eb;
    }

html[data-theme="light"] .nav-profile-btn:hover {
      border-color: #d1d5db;
      background: #e5e7eb;
    }

html[data-theme="light"] .nav-profile-panel {
      box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
      color: #0f172a;
    }

html[data-theme="light"] .nav-profile-panel .suite-studio__fieldset-h,
    html[data-theme="light"] .nav-profile-panel .suite-studio__asset-bar-label {
      color: #475569;
    }

html[data-theme="light"] .nav-profile-panel .suite-studio__asset-menu {
      border-color: #e5e7eb;
      background: #ffffff;
      box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
    }

html[data-theme="light"] .wallet-connect:hover {
      border-color: #d1d5db;
      background: #e5e7eb;
    }

html[data-theme="light"] .wallet-connect-panel {
      box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
      color: #0f172a;
    }

html[data-theme="light"] .wallet-connect-panel .wallet-opt {
      color: #0f172a;
    }

html[data-theme="light"] .wallet-connect-panel .wallet-opt:hover:not(:disabled) {
      background: rgba(15, 23, 42, 0.06);
    }

html[data-theme="light"] .wallet-connect-panel .wallet-opt__name {
      color: #0f172a;
    }

html[data-theme="light"] .wallet-connect-panel .wallet-opt__sub {
      color: #475569;
    }

html[data-theme="light"] .wallet-connect-panel .wallet-opt__badge {
      color: #64748b;
    }

html[data-theme="light"] .wallet-connect-panel .wallet-connect-panel__status {
      color: #64748b;
    }

html[data-theme="light"] .wallet-connect-panel .wallet-connect-panel__status.is-ok {
      color: #15803d;
    }

html[data-theme="light"] .wallet-connect-panel .wallet-connect-panel__status.is-error {
      color: #b91c1c;
    }

html[data-theme="light"] .wallet-connect-panel .wallet-opt__ico {
      color: #0f172a;
    }

html[data-theme="light"] .wallet-connect-panel .wallet-opt__ico--ok {
      color: #15803d;
      background: rgba(34, 197, 94, 0.14);
      border-color: rgba(22, 163, 74, 0.45);
    }

html[data-theme="light"] .wallet-connect-panel .wallet-opt__sub--addr {
      color: #0f172a;
    }

html[data-theme="light"] .wallet-connect-panel .wallet-opt__chev {
      color: #475569;
      opacity: 0.85;
    }

html[data-theme="light"] .wallet-opt-list {
      background: transparent;
    }

html[data-theme="light"] .wallet-opt:hover:not(:disabled) {
      background: rgba(255, 255, 255, 0.12);
    }

html[data-theme="light"] .wallet-opt__ico {
      background: transparent;
      box-shadow: none;
    }

html[data-theme="light"] .wallet-opt__ico--ok {
      background: transparent;
    }

html[data-theme="light"] .wallet-opt__sub--addr {
      color: rgba(15, 23, 42, 0.88);
    }

html[data-theme="light"] .nav-links a:hover {
      background: rgba(255, 255, 255, 0.1);
    }

html[data-theme="light"] .nav-links a {
      color: #ffffff;
    }

html[data-theme="light"] .nav-links .nav-link-icon {
      opacity: 1;
    }

html[data-theme="light"] .nav-menu-backdrop {
      background: rgba(15, 23, 42, 0.25);
    }

@media (min-width: 768px) {
      .nav-menu-panel {
        overflow: visible;
      }
      .nav__strip {
        overflow: visible;
      }
    }

@media (max-width: 767px) {
      .nav {
        padding-left: 0.65rem;
        padding-right: 0.65rem;
      }
      .nav__strip {
        gap: 0.45rem;
      }
      .nav-brand {
        gap: 0.45rem;
        min-width: 0;
      }
      .nav-actions {
        margin-left: auto;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.35rem;
        min-width: 0;
      }
      .nav-actions > :not(.nav-menu-btn) {
        display: none !important;
      }
      .theme-toggle {
        order: 0;
        flex-shrink: 0;
      }
      .nav-menu-btn {
        display: flex;
        order: 1;
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        z-index: 5;
        border-width: 2px;
      }
      .nav-menu-icon {
        width: 22px;
      }
      .wallet-connect-wrap {
        order: 2;
        min-width: 0;
        flex: 1 1 auto;
        max-width: min(10rem, 38vw);
      }
      .wallet-connect {
        max-width: 100%;
        min-width: 0;
      }
      .nav-profile-wrap {
        order: 3;
      }
      .nav-profile-btn.is-disabled {
        display: none !important;
      }
      .nav-menu-panel {
        margin-left: 0;
        position: fixed;
        left: auto;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(300px, 88vw);
        z-index: 199;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 5rem 1.25rem 2rem;
        background: var(--nav-bg);
        border-left: 1px solid var(--hero-border);
        transform: translateX(100%);
        transition: transform 0.28s ease;
        pointer-events: none;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        overflow-y: auto;
      }
      html[data-theme="dark"] .nav-menu-panel {
        background: #1a1d29;
        border-left-color: rgba(255, 255, 255, 0.1);
      }
      html[data-theme="light"] .nav-menu-panel {
        background: #ffffff;
        border-left-color: #e5e7eb;
      }
      .nav.nav-menu-open .nav-menu-panel {
        transform: translateX(0);
        pointer-events: auto;
      }
      .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
      }
      .nav-links li { width: 100%; }
      .nav-links a {
        padding: 0.85rem 0.75rem;
        width: 100%;
        min-width: 0;
        justify-content: flex-start;
        gap: 0.75rem;
        border-bottom: 1px solid var(--hero-border);
        border-radius: 0;
      }
      html[data-theme="dark"] .nav-menu-panel .nav-links a {
        color: var(--text);
      }
      html[data-theme="dark"] .nav-menu-panel .nav-links a:hover {
        color: #f8fafc;
        background: rgba(255, 255, 255, 0.08);
      }
      .nav-link-text {
        display: inline;
        position: static;
        left: auto;
        bottom: auto;
        transform: none;
        padding: 0;
        margin: 0;
        max-width: none;
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
        text-align: left;
        font-size: 0.9rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        line-height: 1.2;
        color: inherit;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: none;
        z-index: auto;
      }
      .nav-links a:hover {
        background: rgba(255, 255, 255, 0.04);
      }
      html[data-theme="light"] .nav-links a:hover {
        background: rgba(15, 23, 42, 0.06);
      }
      html[data-theme="light"] .nav-menu-panel .nav-links a {
        color: #111827;
      }
      html[data-theme="light"] .nav-menu-panel .nav-links a:hover {
        color: #111827;
        background: rgba(15, 23, 42, 0.08);
      }
      .nav-links .nav-link-icon {
        width: 26px;
        height: 26px;
      }
      .nav-mobile-actions {
        margin-top: 1rem;
        display: grid;
        gap: 0.6rem;
      }
      .nav-menu-panel .theme-toggle,
      .nav-menu-panel .wallet-connect-wrap,
      .nav-menu-panel .nav-dashboard-btn,
      .nav-menu-panel .nav-profile-wrap {
        width: 100%;
        max-width: none;
      }
      .nav-menu-panel .theme-toggle,
      .nav-menu-panel .wallet-connect,
      .nav-menu-panel .nav-dashboard-btn,
      .nav-menu-panel .nav-profile-btn {
        width: 100%;
        height: 40px;
        justify-content: flex-start;
      }
      .nav-menu-panel .wallet-connect-panel,
      .nav-menu-panel .nav-profile-panel {
        left: 0;
        right: auto;
        width: min(100%, 320px);
      }
      /* Mobile dashboard nav: keep core actions only; hide crowded suite placeholders. */
      html[data-rise-scope="dashboard"] .nav-links__item--dashboard-suite,
      html[data-rise-scope="dashboard"] .nav-links__item--dashboard-sports {
        display: none !important;
      }
      html[data-rise-scope="dashboard"] .nav-links {
        gap: 0.3rem;
      }
      html[data-rise-scope="dashboard"] .nav-links a {
        padding: 0.72rem 0.7rem;
      }
    }

html[data-theme="light"] .rise-stack {
      background: radial-gradient(ellipse 100% 70% at 20% 0%, rgba(37, 99, 235, 0.06), transparent 52%),
        radial-gradient(ellipse 80% 60% at 100% 30%, rgba(226, 232, 240, 0.85), transparent 48%),
        linear-gradient(185deg, #f9fafb 0%, #f3f4f6 55%, #eef2f7 100%);
    }

html[data-theme="light"] .rise-stack__bg {
      opacity: 0.22;
    }

html[data-theme="light"] .rise-stack__title {
      background: linear-gradient(120deg, #111827 0%, #2563eb 42%, #1d4ed8 70%, #111827 100%);
      background-size: 200% auto;
      background-position: 0% center;
      -webkit-background-clip: text;
      background-clip: text;
    }

html[data-theme="light"] .rise-stack__lead {
      color: #4b5563;
    }

html[data-theme="light"] .rise-stack__mosaic-side-kicker {
      color: rgba(15, 23, 42, 0.62);
      text-shadow: none;
      border-bottom-color: rgba(37, 99, 235, 0.14);
    }

html[data-theme="light"] .rise-stack__mosaic-hit {
      color: #0f172a;
      background: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.88) 100%);
      border-color: color-mix(in srgb, var(--hit-c1) 22%, rgba(37, 99, 235, 0.12));
      border-bottom-color: color-mix(in srgb, var(--hit-c1) 22%, rgba(37, 99, 235, 0.12));
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 6px 18px rgba(37, 99, 235, 0.08);
    }

html[data-theme="light"] .rise-stack__mosaic-hit-icon {
      background: color-mix(in srgb, var(--hit-c1) 14%, #ffffff);
      border-color: color-mix(in srgb, var(--hit-c1) 35%, rgba(37, 99, 235, 0.12));
      box-shadow: 0 4px 12px color-mix(in srgb, var(--hit-c1) 12%, rgba(37, 99, 235, 0.12));
    }

html[data-theme="light"] .rise-stack__mosaic-hit-icon svg {
      color: color-mix(in srgb, var(--hit-c1) 55%, #2563eb);
    }

html[data-theme="light"] .rise-stack__mosaic-hit-hint {
      color: color-mix(in srgb, var(--hit-c1) 38%, rgba(15, 23, 42, 0.55));
    }

html[data-theme="light"] .rise-stack__mosaic-hit:hover,
    html[data-theme="light"] .rise-stack__mosaic-hit:focus-visible {
      color: #020617;
      border-color: color-mix(in srgb, var(--hit-c1) 45%, rgba(37, 99, 235, 0.22));
      border-bottom-color: color-mix(in srgb, var(--hit-c1) 45%, rgba(37, 99, 235, 0.22));
      background: linear-gradient(145deg, #ffffff 0%, rgba(248, 250, 252, 0.98) 100%);
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.98) inset,
        0 10px 28px color-mix(in srgb, var(--hit-c1) 18%, rgba(37, 99, 235, 0.14));
    }

html[data-theme="light"] .rise-stack__mosaic-hit:hover .rise-stack__mosaic-hit-icon,
    html[data-theme="light"] .rise-stack__mosaic-hit:focus-visible .rise-stack__mosaic-hit-icon {
      background: color-mix(in srgb, var(--hit-c1) 22%, #ffffff);
      border-color: color-mix(in srgb, var(--hit-c1) 42%, rgba(37, 99, 235, 0.18));
    }

html[data-theme="light"] .rise-stack__hive-cluster.is-expanded .rise-stack__mosaic-hit[aria-expanded="false"] {
      box-shadow: 0 4px 12px rgba(37, 99, 235, 0.05);
    }

html[data-theme="light"] .rise-stack__hive-cluster.is-expanded .rise-stack__mosaic-hit[aria-expanded="true"] {
      border-color: color-mix(in srgb, var(--hit-c1) 38%, rgba(37, 99, 235, 0.28));
      border-bottom-color: color-mix(in srgb, var(--hit-c1) 38%, rgba(37, 99, 235, 0.28));
      background: linear-gradient(145deg, #ffffff 0%, color-mix(in srgb, var(--hit-c1) 8%, #f8fafc) 100%);
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.98) inset,
        0 12px 30px color-mix(in srgb, var(--hit-c1) 22%, rgba(37, 99, 235, 0.16));
    }

html[data-theme="light"] .rise-stack__mosaic-visual {
      background: transparent;
    }

html[data-theme="light"] .rise-stack__arch-content {
      background: linear-gradient(165deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
      border-color: color-mix(in srgb, var(--arch-accent) 38%, rgba(255, 255, 255, 0.4));
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.16) inset,
        0 18px 42px rgba(0, 16, 50, 0.28);
    }

html[data-theme="light"] .rise-stack__arch-info.is-active .rise-stack__arch-content,
    html[data-theme="light"] .rise-stack__arch-info:hover .rise-stack__arch-content {
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 24px 52px color-mix(in srgb, var(--arch-accent) 26%, rgba(0, 16, 50, 0.3));
    }

html[data-theme="light"] .rise-stack__arch-kicker {
      color: color-mix(in srgb, var(--arch-accent) 55%, #374151);
    }

html[data-theme="light"] .rise-stack__arch-h {
      color: #111827;
    }

html[data-theme="light"] .rise-stack__arch-desc {
      color: #4b5563;
    }

html[data-theme="light"] .rise-stack__arch-cta {
      color: #f8fafc;
      background: color-mix(in srgb, var(--arch-accent) 42%, #1e3a8a);
      border-color: color-mix(in srgb, var(--arch-accent) 55%, rgba(37, 99, 235, 0.45));
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 10px 24px color-mix(in srgb, var(--arch-accent) 28%, rgba(15, 23, 42, 0.2));
    }

html[data-theme="light"] .rise-stack__arch-cta:hover {
      background: color-mix(in srgb, var(--arch-accent) 40%, rgba(12, 20, 48, 0.76));
      border-color: color-mix(in srgb, var(--arch-accent) 76%, rgba(255, 255, 255, 0.52));
      box-shadow: 0 14px 30px color-mix(in srgb, var(--arch-accent) 34%, rgba(0, 12, 48, 0.3));
    }

html[data-theme="light"] .rise-stack__arch-meta li {
      color: #f8fafc;
      border-color: color-mix(in srgb, var(--arch-accent) 56%, rgba(255, 255, 255, 0.3));
      background: linear-gradient(
        145deg,
        color-mix(in srgb, var(--arch-accent) 26%, rgba(15, 23, 42, 0.7)),
        rgba(15, 23, 42, 0.75)
      );
    }

html[data-theme="light"] .rise-stack__arch-frame {
      box-shadow: 0 10px 28px rgba(37, 99, 235, 0.1);
      background: #f8fafc;
    }

html[data-theme="light"] .rise-stack__tube-stage {
      background: radial-gradient(circle at center, rgba(248, 250, 252, 0.92), rgba(226, 232, 240, 0.98));
      border-color: rgba(37, 99, 235, 0.2);
      box-shadow: 0 18px 42px rgba(37, 99, 235, 0.16);
    }

html[data-theme="light"] .rise-stack__detail {
      background: transparent;
      scrollbar-color: rgba(37, 99, 235, 0.35) rgba(37, 99, 235, 0.08);
    }

html[data-theme="light"] .rise-stack__product-sheet::before {
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, transparent 45%);
    }

html[data-theme="light"] .rise-stack__product-sheet__kicker {
      color: color-mix(in srgb, var(--rs-c1) 38%, #020617);
      text-shadow: none;
      border-top-color: rgba(37, 99, 235, 0.12);
    }

html[data-theme="light"] .rise-stack__product-sheet {
      border: 1px solid rgba(37, 99, 235, 0.22);
      background: linear-gradient(
        165deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(240, 246, 255, 0.94) 52%,
        rgba(228, 236, 252, 0.97) 100%
      );
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 2px 0 rgba(37, 99, 235, 0.06) inset,
        0 8px 26px rgba(37, 99, 235, 0.12);
    }

html[data-theme="light"] .rise-stack__product-sheet__head {
      border-color: color-mix(in srgb, var(--rs-c1) 38%, rgba(37, 99, 235, 0.2));
      background:
        radial-gradient(100% 120% at 0% 0%, color-mix(in srgb, var(--rs-c1) 22%, #ffffff) 0%, transparent 52%),
        linear-gradient(165deg, #ffffff 0%, rgba(248, 250, 252, 0.98) 100%);
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.98) inset,
        0 0 0 1px color-mix(in srgb, var(--rs-c1) 12%, transparent),
        0 16px 44px rgba(37, 99, 235, 0.12),
        0 0 40px color-mix(in srgb, var(--rs-c1) 8%, transparent);
    }

html[data-theme="light"] .rise-stack__product-sheet__mark {
      background: linear-gradient(145deg, #ffffff, color-mix(in srgb, var(--rs-c1) 10%, #f8fafc));
      color: #2563eb;
      border-color: rgba(37, 99, 235, 0.14);
      box-shadow: 0 10px 26px rgba(37, 99, 235, 0.1);
    }

html[data-theme="light"] .rise-stack__product-sheet__eyebrow {
      color: #020617;
      background: color-mix(in srgb, var(--rs-c1) 18%, #ffffff);
      border-color: color-mix(in srgb, var(--rs-c1) 42%, rgba(37, 99, 235, 0.22));
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 4px 18px rgba(37, 99, 235, 0.09);
    }

html[data-theme="light"] .rise-stack__product-sheet__title {
      color: #020617;
    }

html[data-theme="light"] .rise-stack__product-sheet__lead {
      color: #0f172a;
      font-weight: 560;
    }

html[data-theme="light"] .rise-stack__product-preview {
      background: rgba(255, 255, 255, 0.55);
      border-color: rgba(37, 99, 235, 0.14);
    }

html[data-theme="light"] .rise-stack__product-preview__chrome {
      background: rgba(240, 246, 255, 0.95);
      border-bottom-color: rgba(37, 99, 235, 0.1);
    }

html[data-theme="light"] .rise-stack__product-preview__chrome-label {
      color: #0f172a;
      font-weight: 800;
    }

html[data-theme="light"] .rise-stack__product-preview__shot-frame .rise-stack__product-preview__theme-img--dark {
      display: none;
    }

html[data-theme="light"] .rise-stack__product-preview__shot-frame .rise-stack__product-preview__theme-img--light {
      display: block;
    }

html[data-theme="light"] .rise-stack__product-preview__shot-frame {
      background: rgba(255, 255, 255, 0.55);
      box-shadow:
        0 0 0 1px rgba(37, 99, 235, 0.12),
        0 18px 44px rgba(37, 99, 235, 0.14),
        0 0 60px color-mix(in srgb, var(--rs-c1) 12%, transparent);
    }

html[data-theme="light"] .rise-stack__mock-k {
      color: #020617;
    }

html[data-theme="light"] .rise-stack__mock-job {
      background: rgba(255, 255, 255, 0.72);
      border-color: rgba(37, 99, 235, 0.08);
    }

html[data-theme="light"] .rise-stack__mock-job__lines i {
      background: rgba(37, 99, 235, 0.1);
    }

html[data-theme="light"] .rise-stack__mock-tag {
      color: #020617;
    }

html[data-theme="light"] .rise-stack__mock-policy {
      background: rgba(255, 255, 255, 0.78);
    }

html[data-theme="light"] .rise-stack__mock-lines i {
      background: rgba(37, 99, 235, 0.09);
    }

html[data-theme="light"] .rise-stack__mock-pill {
      color: rgba(6, 78, 59, 0.9);
    }

html[data-theme="light"] .rise-stack__mock-chart {
      background: rgba(248, 250, 252, 0.9);
    }

html[data-theme="light"] .rise-stack__mock-outcomes__opt {
      background: rgba(255, 255, 255, 0.75);
    }

html[data-theme="light"] .rise-stack__mock-outcomes__opt span {
      color: #020617;
    }

html[data-theme="light"] .rise-stack__mock-outcomes__opt small {
      color: #334155;
    }

html[data-theme="light"] .rise-stack__mock-pool {
      color: #0f172a;
    }

html[data-theme="light"] .rise-stack__mock-event {
      background: rgba(255, 255, 255, 0.78);
    }

html[data-theme="light"] .rise-stack__mock-event__lines i {
      background: rgba(37, 99, 235, 0.09);
    }

html[data-theme="light"] .rise-stack__mock-feed {
      background: rgba(248, 250, 252, 0.92);
    }

html[data-theme="light"] .rise-stack__mock-feed__txt i {
      background: rgba(37, 99, 235, 0.08);
    }

html[data-theme="light"] .rise-stack__mock-grid span {
      background: linear-gradient(145deg, rgba(244, 114, 182, 0.12), rgba(255, 255, 255, 0.9));
    }

html[data-theme="light"] .rise-stack__product-row {
      border: 1px solid rgba(37, 99, 235, 0.12);
      border-left: 3px solid color-mix(in srgb, var(--rs-c1) 62%, #2563eb);
      background: linear-gradient(142deg, #ffffff 0%, rgba(248, 250, 252, 0.98) 100%);
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 6px 22px rgba(37, 99, 235, 0.1);
    }

html[data-theme="light"] .rise-stack__product-row__icon {
      background: linear-gradient(160deg, #ffffff, color-mix(in srgb, var(--rs-c1) 8%, #f1f5f9));
      color: #2563eb;
      border-color: rgba(37, 99, 235, 0.12);
      box-shadow: 0 6px 16px rgba(37, 99, 235, 0.08);
    }

html[data-theme="light"] .rise-stack__product-row__h {
      color: color-mix(in srgb, var(--rs-c1) 32%, #0f172a);
    }

html[data-theme="light"] .rise-stack__product-row__p {
      color: #0f172a;
      font-weight: 480;
    }

html[data-theme="light"] .rise-stack__product-sheet__body--stack .rise-stack__product-row {
      border: 1px solid rgba(37, 99, 235, 0.12);
      border-left: 3px solid color-mix(in srgb, var(--rs-c1) 62%, #2563eb);
    }

html[data-theme="light"] .rise-stack__product-sheet__foot {
      border-top-color: rgba(37, 99, 235, 0.1);
    }

html[data-theme="light"] .rise-stack__product-sheet .rise-stack__reveal-cta {
      color: #2563eb;
      border-bottom-color: rgba(37, 99, 235, 0.35);
    }

html[data-theme="light"] .rise-stack__product-sheet__foot .rise-stack__reveal-cta {
      color: #ffffff !important;
      border-color: color-mix(in srgb, var(--rs-c1) 48%, rgba(37, 99, 235, 0.35));
      border-bottom-color: color-mix(in srgb, var(--rs-c1) 48%, rgba(37, 99, 235, 0.35));
      background: linear-gradient(
        165deg,
        color-mix(in srgb, var(--rs-c1) 88%, #1e1b4b) 0%,
        color-mix(in srgb, var(--rs-c1) 65%, #0f172a) 100%
      );
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.22) inset,
        0 10px 28px rgba(37, 99, 235, 0.22);
    }

html[data-theme="light"] .rise-stack__product-sheet__foot .rise-stack__reveal-cta:hover {
      color: #ffffff !important;
      border-color: color-mix(in srgb, var(--rs-c1) 65%, #2563eb);
      border-bottom-color: color-mix(in srgb, var(--rs-c1) 65%, #2563eb);
    }

html[data-theme="light"] .rise-stack__product-sheet .rise-stack__reveal-cta:hover {
      color: #020617;
      border-bottom-color: rgba(2, 6, 23, 0.42);
    }

@media (prefers-reduced-motion: reduce) {
      .rise-stack__title {
        animation: none;
        color: #f8fafc;
        background: none;
        -webkit-text-fill-color: #f8fafc;
      }
      html[data-theme="light"] .rise-stack__title {
        color: #111827;
        -webkit-text-fill-color: #111827;
        background: none;
      }
      .rise-stack__hive-cluster,
      .rise-stack__mosaic-hit,
      .rise-stack__detail {
        transition: none !important;
      }
      .rise-stack__mosaic-hit:hover,
      .rise-stack__mosaic-hit:focus-visible {
        transform: none;
      }
      .rise-stack__detail-panel--enter .rise-stack__product-sheet,
      .rise-stack__detail-panel--enter .rise-stack__product-sheet__head,
      .rise-stack__detail-panel--enter .rise-stack__product-preview,
      .rise-stack__detail-panel--enter .rise-stack__product-row,
      .rise-stack__detail-panel--enter .rise-stack__product-sheet__foot .rise-stack__reveal-cta {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
      }
    }

html[data-theme="light"] .product-deep__shell {
      background: linear-gradient(
        165deg,
        rgba(255, 255, 255, 0.14) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(0, 30, 90, 0.25) 100%
      );
      border-color: rgba(255, 255, 255, 0.2);
      box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.12) inset,
        0 20px 40px rgba(0, 10, 40, 0.35),
        0 0 60px var(--pd-accent-soft);
    }

html[data-theme="light"] .product-deep__card {
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(255, 255, 255, 0.12);
    }

html[data-theme="light"] .product-deep__card:hover {
      background: rgba(255, 255, 255, 0.14);
    }

html[data-theme="light"] .partners-marquee {
      background: rgba(255, 255, 255, 0.62);
    }

html[data-theme="light"] .hero-spotlight__bg {
      background-color: #001c5c;
    }

html[data-theme="dark"] .hero-glow-blobs {
      display: none !important;
    }

html[data-theme="light"] .hero-glow-blobs__cluster .glow-blob {
      filter: blur(16px);
      mix-blend-mode: soft-light;
    }

html[data-theme="light"] .hero-glow-blobs__cluster .glow-blob-1 { animation-name: glow-breathe-1-light; }

html[data-theme="light"] .hero-glow-blobs__cluster .glow-blob-2 { animation-name: glow-breathe-2-light; }

html[data-theme="light"] .hero-glow-blobs__cluster .glow-blob-3 { animation-name: glow-breathe-3-light; }

html[data-theme="light"] .hero-glow-blobs__cluster .glow-blob-4 { animation-name: glow-breathe-4-light; }

html[data-theme="light"] .hero-glow-blobs__cluster .glow-blob-5 { animation-name: glow-breathe-5-light; }

html[data-theme="light"] .hero-glow-blobs__cluster .glow-blob-6 { animation-name: glow-breathe-6-light; }

html[data-theme="light"] .hero-glow-blobs__cluster .glow-blob-7 { animation-name: glow-breathe-7-light; }

html[data-theme="light"] .hero-glow-blobs__cluster .glow-blob-8 { animation-name: glow-breathe-8-light; }

html[data-theme="light"] .hero-glow-blobs__cluster .glow-blob-9 { animation-name: glow-breathe-9-light; }

html[data-theme="light"] .hero-glow-blobs__cluster .glow-blob-10 { animation-name: glow-breathe-10-light; }

html[data-theme="light"] .hero-glow-blobs__cluster .glow-blob-11 { animation-name: glow-breathe-11-light; }

html[data-theme="light"] .hero-glow-blobs__cluster .glow-blob-12 { animation-name: glow-breathe-12-light; }

html[data-theme="light"] .hero-glow-blobs__cluster .glow-blob-13 { animation-name: glow-breathe-13-light; }

html[data-theme="light"] .hero-glow-blobs__cluster .glow-blob-14 { animation-name: glow-breathe-14-light; }

html[data-theme="light"] .hero-glow-blobs__cluster .glow-blob-15 { animation-name: glow-breathe-15-light; }

html[data-theme="light"] .hero-glow-blobs__cluster .glow-blob-16 { animation-name: glow-breathe-16-light; }

html[data-theme="light"] .hero-glow-blobs__cluster .glow-blob-17 { animation-name: glow-breathe-17-light; }

html[data-theme="dark"] .hero-mesh,
    html[data-theme="dark"] .hero-mesh-grain {
      display: none !important;
    }

html[data-theme="dark"] .hero-mesh__blob--cyan {
      background: radial-gradient(
        circle at 45% 42%,
        rgba(125, 211, 252, 0.45) 0%,
        rgba(56, 189, 248, 0.28) 38%,
        rgba(14, 165, 233, 0.12) 58%,
        transparent 74%
      );
    }

html[data-theme="dark"] .hero-mesh__blob--pink {
      background: radial-gradient(
        circle at 50% 48%,
        rgba(251, 182, 206, 0.32) 0%,
        rgba(216, 180, 254, 0.24) 40%,
        rgba(167, 139, 250, 0.14) 58%,
        transparent 76%
      );
    }

html[data-theme="dark"] .hero-mesh__blob--teal {
      background: radial-gradient(
        circle at 40% 55%,
        rgba(45, 212, 191, 0.3) 0%,
        rgba(34, 211, 238, 0.14) 45%,
        transparent 72%
      );
    }

html[data-theme="light"] .hero-spotlight__aurora::before,
    html[data-theme="light"] .hero-spotlight__aurora::after {
      mix-blend-mode: screen;
      filter: blur(96px);
      animation-duration: 36s;
    }

html[data-theme="light"] .hero-spotlight__aurora::before {
      opacity: 0.55;
    }

html[data-theme="light"] .hero-spotlight__aurora::after {
      opacity: 0.4;
    }

html[data-theme="dark"] .hero-spotlight__vignette {
      display: none !important;
    }

html[data-theme="dark"] .hero-spotlight__title-line--sub,
    html[data-theme="dark"] .hero-spotlight__tag {
      color: #ffffff;
      -webkit-text-fill-color: #ffffff;
    }

html[data-theme="light"] .hero-spotlight__title-line--sub,
    html[data-theme="light"] .hero-spotlight__tag {
      color: #ffffff;
      -webkit-text-fill-color: #ffffff;
    }

html[data-theme="dark"] .hero-spotlight__cta {
      box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 8px 32px rgba(0, 0, 0, 0.35);
    }

html[data-theme="light"] .hero-spotlight__cta {
      box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 6px 28px rgba(0, 10, 45, 0.35),
        0 0 36px rgba(76, 201, 240, 0.1);
    }

html[data-theme="dark"] .hero-product-tile {
      box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 6px 24px rgba(0, 0, 0, 0.3);
    }

html[data-theme="dark"] .hero-spotlight__product-grid-list__suite ~ li .hero-product-tile {
      border-color: transparent;
    }

html[data-theme="dark"] .hero-spotlight__product-grid-list__suite ~ li .hero-product-tile:hover {
      border-color: rgba(255, 255, 255, 0.45);
    }

html[data-theme="light"] .hero-product-tile {
      background: linear-gradient(165deg, rgba(0, 58, 145, 0.82) 0%, rgba(0, 34, 92, 0.88) 100%);
      border-color: rgba(255, 255, 255, 0.28);
      box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 8px 28px rgba(0, 8, 48, 0.42),
        0 1px 0 rgba(255, 255, 255, 0.1) inset;
    }

html[data-theme="light"] .hero-product-tile:hover {
      border-color: rgba(255, 255, 255, 0.48);
      box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.16) inset,
        0 12px 36px rgba(0, 10, 55, 0.52);
    }

html[data-theme="light"] .hero-product-tile__icon {
      opacity: 1;
    }

html[data-theme="light"] .hero-spotlight__meta-row a {
      color: var(--cta-fg);
      background: var(--cta-bg);
      border-color: var(--hero-border);
      box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 6px 28px rgba(0, 10, 45, 0.35),
        0 0 36px rgba(76, 201, 240, 0.1);
    }

html[data-theme="light"] .hero-spotlight__meta-row a:hover {
      color: var(--cta-fg);
      border-color: rgba(255, 255, 255, 0.45);
      box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.14) inset,
        0 8px 32px rgba(0, 10, 55, 0.42),
        0 0 40px rgba(76, 201, 240, 0.12);
    }

html[data-theme="light"] .hero-spotlight__meta-row a svg {
      opacity: 1;
    }

html[data-theme="dark"] .hero-spotlight__meta-row a {
      color: var(--cta-fg);
      background: var(--cta-bg);
      border-color: var(--hero-border);
      box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 8px 32px rgba(0, 0, 0, 0.35);
    }

html[data-theme="dark"] .hero-spotlight__meta-row a:hover {
      color: #ffffff;
      border-color: rgba(255, 255, 255, 0.45);
    }

html[data-theme="dark"] .hero-spotlight__meta-row a svg {
      opacity: 1;
    }

html[data-theme="light"] footer {
      background: radial-gradient(ellipse 140% 100% at 50% 0%, #002070 0%, #001752 100%);
    }

html[data-theme="light"][data-rise-scope="public"] footer,
    html[data-theme="light"][data-route="ai-suite-studio"] footer,
    html[data-theme="light"][data-rise-scope="dashboard"] footer,
    html[data-theme="light"][data-route^="user-"] footer {
      background: #2563eb;
      border-top-color: rgba(255, 255, 255, 0.16);
    }

html[data-theme="light"][data-rise-scope="public"] .footer-brand,
    html[data-theme="light"][data-route="ai-suite-studio"] .footer-brand,
    html[data-theme="light"][data-rise-scope="dashboard"] .footer-brand,
    html[data-theme="light"][data-route^="user-"] .footer-brand {
      color: rgba(255, 255, 255, 0.8);
    }

html[data-theme="light"][data-rise-scope="public"] .footer-links a,
    html[data-theme="light"][data-route="ai-suite-studio"] .footer-links a,
    html[data-theme="light"][data-rise-scope="dashboard"] .footer-links a,
    html[data-theme="light"][data-route^="user-"] .footer-links a {
      color: #ffffff;
    }

html[data-theme="light"][data-rise-scope="public"] .footer-links a:hover,
    html[data-theme="light"][data-route="ai-suite-studio"] .footer-links a:hover,
    html[data-theme="light"][data-rise-scope="dashboard"] .footer-links a:hover,
    html[data-theme="light"][data-route^="user-"] .footer-links a:hover {
      color: var(--cyan);
    }

html[data-theme="light"][data-route="home"] .hero-spotlight__bg {
      contain: paint;
      --glow-point-wave-dur: 5.75s;
      --hero-breathe-cycle: 10s;
    }

html[data-theme="light"][data-route="home"] .hero-mesh-grain {
      display: none !important;
    }

html[data-theme="light"][data-route="home"] .hero-spotlight__sweep {
      animation: none !important;
      transform: translateX(4%) skewX(-4deg);
      opacity: 0.2;
    }

html[data-theme="light"][data-route="home"] .hero-spotlight__grid {
      animation: none !important;
      transform: translate(36px, 36px);
    }

html[data-theme="light"][data-route="home"] .nav__bd {
      backdrop-filter: blur(8px) saturate(1.08);
      -webkit-backdrop-filter: blur(8px) saturate(1.08);
    }

html[data-theme="light"][data-route="home"] .rise-stack__bg {
      display: none !important;
    }

html[data-theme="light"] .merch-hub__visual-shell {
      background: rgba(255, 255, 255, 0.55);
      box-shadow:
        0 0 0 1px rgba(37, 99, 235, 0.12),
        0 18px 44px rgba(37, 99, 235, 0.14),
        0 0 60px color-mix(in srgb, var(--gold) 12%, transparent);
    }

html[data-theme="light"] .merch-hub__tile {
      background: rgba(255, 255, 255, 0.88);
      border-color: rgba(37, 99, 235, 0.12);
    }

html[data-theme="light"][data-route="user-dashboard"] .user-portal__dash-heading__char {
      color: #000000 !important;
      -webkit-text-fill-color: #000000 !important;
    }

html[data-theme="light"][data-route^="user-"] .user-portal-form {
      background: #ffffff;
      border-color: rgba(37, 99, 235, 0.22);
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 2px 0 rgba(37, 99, 235, 0.05) inset,
        0 6px 20px rgba(37, 99, 235, 0.1);
    }

html[data-theme="light"][data-route^="user-"] .user-portal-form__row label {
      color: #2563eb;
    }

html[data-theme="dark"][data-route^="user-"] .user-portal-form__row label {
      color: #7dd3fc;
    }

html[data-theme="light"][data-route^="user-"] .user-portal-form__row input {
      background: #f8fafc;
      border-color: rgba(37, 99, 235, 0.18);
      color: #0f172a;
    }

html[data-theme="light"][data-route^="user-"] .user-portal-form__row input::placeholder {
      color: rgba(15, 23, 42, 0.42);
    }

html[data-theme="light"][data-route^="user-"] .user-portal-form__row input:focus-visible {
      outline: 2px solid #2563eb;
      outline-offset: 2px;
      border-color: rgba(37, 99, 235, 0.4);
    }

html[data-theme="light"][data-route="user-dashboard"] .dash-product-grid--products {
      border: 0;
      background: transparent;
    }

html[data-theme="dark"] .dash-product-tile {
      box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 6px 24px rgba(0, 0, 0, 0.3);
      border-color: transparent;
    }

html[data-theme="light"][data-route="user-dashboard"] .dash-product-tile {
      border-radius: 0.6rem;
      border: 1px solid rgba(37, 99, 235, 0.26);
      background: linear-gradient(
        165deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(240, 246, 255, 0.94) 52%,
        rgba(228, 236, 252, 0.97) 100%
      );
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 2px 0 rgba(37, 99, 235, 0.06) inset,
        0 6px 20px rgba(37, 99, 235, 0.1);
      color: var(--text);
    }

html[data-theme="dark"] .dash-product-tile:hover {
      transform: translateY(-2px);
      border-color: rgba(255, 255, 255, 0.45);
    }

html[data-theme="light"][data-route="user-dashboard"] .dash-product-tile:hover {
      transform: none;
      border-color: rgba(37, 99, 235, 0.45);
      background: linear-gradient(165deg, #ffffff 0%, #f0f6ff 48%, #e4edfb 100%);
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.92) inset,
        0 2px 0 rgba(37, 99, 235, 0.08) inset,
        0 10px 28px rgba(37, 99, 235, 0.16);
    }

html[data-theme="dark"] a.dash-product-tile--visual:hover {
      transform: translateY(-2px);
    }

html[data-theme="light"][data-route="user-dashboard"] a.dash-product-tile--visual:hover {
      transform: none;
    }

html[data-theme="light"][data-route="user-dashboard"] .dash-product-tile__thumb {
      background:
        radial-gradient(120% 90% at 50% 0%, rgba(37, 99, 235, 0.12) 0%, transparent 55%),
        linear-gradient(165deg, rgba(240, 246, 255, 0.95) 0%, rgba(228, 236, 252, 0.88) 100%);
      border-bottom-color: rgba(37, 99, 235, 0.14);
    }

html[data-theme="light"][data-route="user-dashboard"] .dash-product-tile__title,
    html[data-theme="light"][data-route="user-dashboard"] .dash-product-tile__gate {
      color: #000;
    }

html[data-theme="light"][data-route="user-dashboard"] .dash-product-tile--coming-soon .dash-product-tile__title,
    html[data-theme="light"][data-route="user-dashboard"] .dash-product-tile--coming-soon .dash-product-tile__gate {
      color: #000;
    }

html[data-theme="light"][data-route="user-dashboard"] .dash-product-tile.is-selected {
      border-color: rgba(161, 98, 7, 0.55);
      box-shadow:
        0 0 0 1px rgba(201, 162, 39, 0.45),
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 2px 0 rgba(37, 99, 235, 0.06) inset,
        0 6px 20px rgba(37, 99, 235, 0.12);
    }

html[data-theme="light"][data-route="user-dashboard"] .dash-product-tile.is-selected:hover {
      border-color: rgba(161, 98, 7, 0.75);
      background: linear-gradient(165deg, #ffffff 0%, #f0f6ff 48%, #e4edfb 100%);
      box-shadow:
        0 0 0 1px rgba(201, 162, 39, 0.5),
        0 1px 0 rgba(255, 255, 255, 0.92) inset,
        0 2px 0 rgba(37, 99, 235, 0.08) inset,
        0 10px 28px rgba(37, 99, 235, 0.16);
    }

html[data-theme="light"][data-route="user-dashboard"] .dash-product-tile:focus-visible {
      outline-color: #2563eb;
    }

html[data-theme="light"] .rise-stack__studio-iframe-host {
      background: #ffffff;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__rail {
      background: #f8fafc;
    }

html[data-theme="dark"] .suite-studio__img-pill {
      background: color-mix(in srgb, #4ade80 35%, #0f172a);
      color: #ecfccb;
    }

html[data-theme="light"] .suite-studio__videos-hub-card-ph {
      background: linear-gradient(135deg, #e0f2fe, #f8fafc);
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__code-preview-rail {
      border-top-color: rgba(37, 99, 235, 0.14);
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__code-preview-rail-h,
    html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__rail-panel-h {
      color: #000000;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__preview-body,
    html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__preview-tab {
      border-color: rgba(37, 99, 235, 0.18);
      background: #ffffff;
      color: #000000;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__preview-tab[aria-selected="true"] {
      background: color-mix(in srgb, var(--cyan) 10%, #f0f6ff);
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__preview-code {
      background: #f8fafc;
      color: #0f172a;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__rail--nav,
    html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__rail--settings {
      border-color: rgba(37, 99, 235, 0.14);
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__rail--nav {
      --text: #000000;
      --text-muted: #000000;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__nav-btn svg,
    html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__nav-list svg {
      color: #2563eb;
      opacity: 1;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__nav-btn:focus-visible {
      outline-color: #2563eb;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__nav-foot-ico {
      color: #2563eb;
      opacity: 1;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__workspace-top {
      border-bottom-color: rgba(37, 99, 235, 0.12);
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__main {
      background: #ffffff;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__main-tagline {
      color: #000000;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__main-lead a {
      color: #2563eb;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio-card {
      border: 1px solid rgba(37, 99, 235, 0.26);
      background: linear-gradient(
        165deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(240, 246, 255, 0.94) 52%,
        rgba(228, 236, 252, 0.97) 100%
      );
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 2px 0 rgba(37, 99, 235, 0.06) inset,
        0 6px 20px rgba(37, 99, 235, 0.1);
    }

html[data-theme="light"][data-route="ai-suite-studio"] a.suite-studio-card:hover {
      border-color: rgba(37, 99, 235, 0.45);
      background: linear-gradient(165deg, #ffffff 0%, #f0f6ff 48%, #e4edfb 100%);
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.92) inset,
        0 2px 0 rgba(37, 99, 235, 0.08) inset,
        0 10px 28px rgba(37, 99, 235, 0.16);
    }

html[data-theme="light"][data-route="ai-suite-studio"] a.suite-studio-card:focus-visible {
      outline-color: #2563eb;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__engine-showcase {
      border-color: rgba(37, 99, 235, 0.2);
      background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 246, 255, 0.9) 100%);
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 12px 24px rgba(37, 99, 235, 0.09);
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__engine-workbench {
      border-color: rgba(37, 99, 235, 0.2);
      background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 246, 255, 0.92) 100%);
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__code-chat {
      background: transparent;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__projects-list-wrap {
      background: rgba(255, 255, 255, 0.55);
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__projects-row-actions button {
      background: rgba(255, 255, 255, 0.75);
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__chat-msg--terminal {
      border-color: rgba(5, 150, 105, 0.42);
      box-shadow:
        0 0 0 1px rgba(2, 44, 34, 0.12),
        0 12px 40px rgba(2, 20, 40, 0.22),
        0 0 48px rgba(16, 185, 129, 0.08);
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__chat-msg--terminal .suite-studio__chat-msg__body--md {
      color: #0f172a;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__chat-msg__body--md.prose h1,
    html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__chat-msg__body--md.prose h2,
    html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__chat-msg__body--md.prose h3 {
      color: #0f172a;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__chat-msg__body--md.prose strong {
      color: #0f172a;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__chat-msg__body--md.prose code {
      background: rgba(241, 245, 249, 0.95);
      color: #0f172a;
      border-color: rgba(15, 23, 42, 0.12);
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__img-gen-card {
      background: #f1f5f9;
      border-color: rgba(37, 99, 235, 0.14);
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__prompt {
      background: #ffffff;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__prompt-inner {
      border-color: rgba(37, 99, 235, 0.2);
      background: #f8fafc;
      box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__chip-btn {
      border-color: rgba(37, 99, 235, 0.16);
      background: #ffffff;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__engine-trigger {
      border-color: rgba(37, 99, 235, 0.16);
      background-color: #ffffff;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__engine-trigger-chev {
      color: #64748b;
    }

html[data-theme="dark"][data-route="ai-suite-studio"] .suite-studio__engine-trigger-chev {
      color: rgba(186, 198, 214, 0.92);
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__engine-menu {
      border-color: rgba(37, 99, 235, 0.2);
      background: #ffffff;
      box-shadow: 0 -12px 32px rgba(37, 99, 235, 0.16);
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__engine-opt.is-active {
      background: rgba(2, 132, 199, 0.12);
    }

html[data-theme="dark"][data-route="ai-suite-studio"] .suite-studio__engine-opt:hover {
      background: rgba(56, 189, 248, 0.1);
    }

html[data-theme="dark"][data-route="ai-suite-studio"] .suite-studio__engine-opt.is-active {
      background: rgba(56, 189, 248, 0.16);
      color: #f0f9ff;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__asset-trigger {
      border-color: rgba(37, 99, 235, 0.18);
      background: #ffffff;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__asset-menu {
      border-color: rgba(37, 99, 235, 0.2);
      background: #ffffff;
      box-shadow: 0 10px 28px rgba(37, 99, 235, 0.14);
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__asset-opt.is-active {
      background: rgba(2, 132, 199, 0.1);
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__select,
    html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__textarea {
      border-color: rgba(37, 99, 235, 0.18);
      background: #ffffff;
      color: #000000;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__seg-btn {
      border-color: rgba(37, 99, 235, 0.2);
      background: #ffffff;
      color: #000000;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__seg-btn[aria-pressed="true"] {
      border-color: rgba(37, 99, 235, 0.45);
      background: color-mix(in srgb, var(--cyan) 12%, #f0f6ff);
      color: #000000;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__field label {
      color: #000000;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__brand-mark,
    html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__nav-foot a,
    html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__nav-foot button,
    html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__nav-list a,
    html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__nav-btn,
    html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__chip-btn,
    html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__engine-trigger,
    html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__engine-opt,
    html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__prompt-input,
    html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__side-h,
    html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__icon-btn,
    html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__asset-bar-label,
    html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__asset-trigger,
    html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__asset-trigger-sym,
    html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__asset-trigger-usd,
    html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__asset-trigger-chevron,
    html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__asset-opt,
    html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__asset-opt-label,
    html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__asset-opt-usd,
    html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__toggle {
      color: #000000;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__nav-foot a:hover,
    html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__nav-foot button:hover,
    html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__nav-foot a:hover .suite-studio__nav-foot-ico,
    html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__nav-foot button:hover .suite-studio__nav-foot-ico {
      color: #000000;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__icon-btn:hover {
      color: #000000;
    }

html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__prompt-input::placeholder,
    html[data-theme="light"][data-route="ai-suite-studio"] .suite-studio__textarea::placeholder {
      color: #64748b;
    }

html[data-theme="light"] .suite-hub__card--lane h3 svg {
      box-shadow:
        0 10px 22px rgba(37, 99, 235, 0.15),
        0 0 0 1px rgba(37, 99, 235, 0.12) inset;
    }

html[data-theme="light"] .suite-hub__stack-card:hover {
      box-shadow:
        0 12px 28px rgba(37, 99, 235, 0.11),
        0 0 0 1px rgba(37, 99, 235, 0.08);
    }

html[data-theme="dark"][data-route="ai-suite"] .suite-hub__cta--primary {
      border-color: color-mix(in srgb, var(--gold) 55%, #1a1d29);
      background: linear-gradient(165deg, color-mix(in srgb, var(--gold) 22%, #0f172a) 0%, #1a1d29 100%);
      color: var(--text);
    }

html[data-theme="dark"][data-route="ai-suite"] .suite-hub__cta--primary:hover {
      border-color: var(--gold);
      background: color-mix(in srgb, var(--gold) 16%, #1a1d29);
    }

html[data-theme="light"] .rise-hub-hero {
      background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 245, 249, 0.94) 55%, rgba(238, 242, 255, 0.92) 100%);
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 20px 50px rgba(37, 99, 235, 0.1);
    }

html[data-theme="light"] .rise-hub-hero::after {
      opacity: 0.5;
      background-image:
        linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
    }

html[data-theme="light"] .rise-hub-hero__stat {
      background: rgba(255, 255, 255, 0.72);
      box-shadow: 0 2px 14px rgba(37, 99, 235, 0.08);
    }

html[data-theme="dark"] .rise-hub-hero__link--primary {
      border-color: color-mix(in srgb, var(--gold) 50%, #1a1d29);
      background: linear-gradient(165deg, color-mix(in srgb, var(--gold) 24%, #0f172a) 0%, #1a1d29 100%);
      color: var(--text);
    }

html[data-theme="dark"] .rise-hub-hero__link--primary:hover {
      border-color: var(--gold);
      background: color-mix(in srgb, var(--gold) 18%, #1a1d29);
    }

html[data-theme="light"] .rise-hub-hero__visual-wrap {
      box-shadow:
        0 0 0 1px rgba(37, 99, 235, 0.14),
        0 22px 56px rgba(37, 99, 235, 0.14);
    }

html[data-theme="light"] .suite-hub__preview-stage {
      box-shadow:
        0 18px 44px rgba(37, 99, 235, 0.12),
        0 0 0 1px rgba(37, 99, 235, 0.12) inset;
    }

html[data-theme="light"][data-route="ai-suite"] .suite-hub__hero.rise-hub-hero {
      background: transparent;
      box-shadow: none;
    }

html[data-theme="light"][data-rise-scope="public"][data-route="ai-suite"] .page-ai-suite,
    html[data-theme="light"][data-rise-scope="public"][data-route="automated-trading"] .page-trade-hub,
    html[data-theme="light"][data-rise-scope="public"][data-route="prediction-markets"] .page-prediction-markets,
    html[data-theme="light"][data-rise-scope="public"][data-route="events-betting"] .page-events-rail {
      --text: #ffffff;
      --text-muted: rgba(255, 255, 255, 0.78);
    }

html[data-theme="light"][data-route="automated-trading"] .trade-hub__bots,
    html[data-theme="light"][data-route="automated-trading"] .rise-screener,
    html[data-theme="light"][data-route="automated-trading"] #tradeHubDashboardDesk {
      --text: #0a0a0a;
      --text-muted: #525252;
      color: var(--text);
    }

html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"]):is(
      [data-route="ai-suite"],
      [data-route="automated-trading"],
      [data-route="prediction-markets"],
      [data-route="events-betting"]
    )
      .rise-hub-hero .rise-hub-hero__eyebrow {
      color: rgba(255, 255, 255, 0.88);
    }

html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"]):is(
      [data-route="ai-suite"],
      [data-route="automated-trading"],
      [data-route="prediction-markets"],
      [data-route="events-betting"]
    )
      :is(
        .suite-hub__card,
        .suite-hub__stack-card,
        .product-showcase-strip__card,
        .suite-hub__steps li,
        .suite-hub__preview-stage,
        .trade-hub__card,
        .trade-hub__steps li
      ) {
      --text: #ffffff;
      --text-muted: rgba(255, 255, 255, 0.78);
      color: #ffffff;
      border-radius: 0.9rem;
      border-color: rgba(255, 255, 255, 0.28);
      background: linear-gradient(165deg, rgba(0, 58, 145, 0.82) 0%, rgba(0, 34, 92, 0.88) 100%);
      box-shadow: none;
    }

html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"]):is(
      [data-route="ai-suite"],
      [data-route="automated-trading"],
      [data-route="prediction-markets"],
      [data-route="events-betting"]
    )
      :is(.suite-hub__card--persona, .suite-hub__card--governance) {
      background: linear-gradient(165deg, rgba(0, 58, 145, 0.82) 0%, rgba(0, 34, 92, 0.88) 100%);
    }

html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"]):is(
      [data-route="ai-suite"],
      [data-route="automated-trading"],
      [data-route="prediction-markets"],
      [data-route="events-betting"]
    )
      :is(.suite-hub__card--persona, .suite-hub__card--governance)::after {
      opacity: 0.35;
    }

html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"]):is(
      [data-route="ai-suite"],
      [data-route="automated-trading"],
      [data-route="prediction-markets"],
      [data-route="events-betting"]
    )
      :is(
        .suite-hub__card--lane h3 svg,
        .suite-hub__card--persona h3 svg,
        .suite-hub__card--governance h3 svg,
        .suite-hub__stack-card-icon,
        .suite-hub__card--impact h3 svg
      ) {
      border-color: rgba(255, 255, 255, 0.28);
      background: linear-gradient(165deg, rgba(0, 58, 145, 0.72) 0%, rgba(0, 34, 92, 0.78) 100%);
      box-shadow: none;
    }

html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"]):is(
      [data-route="ai-suite"],
      [data-route="automated-trading"],
      [data-route="prediction-markets"],
      [data-route="events-betting"]
    )
      .suite-hub__stack-card-step {
      color: #ffffff;
      border-color: rgba(255, 255, 255, 0.28);
      background: rgba(0, 0, 0, 0.12);
    }

html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"]):is(
      [data-route="ai-suite"],
      [data-route="automated-trading"],
      [data-route="prediction-markets"],
      [data-route="events-betting"]
    )
      .suite-hub__stack-card:hover {
      border-color: rgba(255, 255, 255, 0.48);
      box-shadow: none;
    }

html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"]):is(
      [data-route="ai-suite"],
      [data-route="automated-trading"],
      [data-route="prediction-markets"],
      [data-route="events-betting"]
    )
      :is(.suite-hub__cta, .suite-hub__cta--primary) {
      border-color: rgba(255, 255, 255, 0.26);
      background: linear-gradient(165deg, rgba(0, 52, 130, 0.78) 0%, rgba(0, 34, 92, 0.85) 100%);
      color: #ffffff;
      box-shadow: none;
    }

html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"]):is(
      [data-route="ai-suite"],
      [data-route="automated-trading"],
      [data-route="prediction-markets"],
      [data-route="events-betting"]
    )
      :is(.suite-hub__cta:hover, .suite-hub__cta--primary:hover) {
      border-color: rgba(255, 255, 255, 0.46);
      background: linear-gradient(165deg, rgba(0, 62, 150, 0.88) 0%, rgba(0, 40, 105, 0.92) 100%);
      color: #ffffff;
      box-shadow: none;
    }

html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"]):is(
      [data-route="ai-suite"],
      [data-route="automated-trading"],
      [data-route="prediction-markets"],
      [data-route="events-betting"]
    )
      :is(.rise-hub-hero__link, .rise-hub-hero__link--primary) {
      border-color: rgba(255, 255, 255, 0.26);
      background: linear-gradient(165deg, rgba(0, 52, 130, 0.78) 0%, rgba(0, 34, 92, 0.85) 100%);
      color: #ffffff;
      --text: #ffffff;
      box-shadow: none;
    }

html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"]):is(
      [data-route="ai-suite"],
      [data-route="automated-trading"],
      [data-route="prediction-markets"],
      [data-route="events-betting"]
    )
      :is(.rise-hub-hero__link:hover, .rise-hub-hero__link--primary:hover) {
      border-color: rgba(255, 255, 255, 0.46);
      background: linear-gradient(165deg, rgba(0, 62, 150, 0.88) 0%, rgba(0, 40, 105, 0.92) 100%);
      color: #ffffff;
      box-shadow: none;
    }

html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"]):is(
      [data-route="ai-suite"],
      [data-route="automated-trading"],
      [data-route="prediction-markets"],
      [data-route="events-betting"]
    )
      .rise-hub-hero__stat {
      border-color: rgba(255, 255, 255, 0.28);
      background: linear-gradient(165deg, rgba(0, 58, 145, 0.82) 0%, rgba(0, 34, 92, 0.88) 100%);
      color: #ffffff;
      --text: #ffffff;
      box-shadow: none;
      backdrop-filter: none;
    }

html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"]):is(
      [data-route="ai-suite"],
      [data-route="automated-trading"],
      [data-route="prediction-markets"],
      [data-route="events-betting"]
    )
      .suite-hub__preview-stage .rise-hub-hero__visual-wrap,
    html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"]):is(
      [data-route="ai-suite"],
      [data-route="automated-trading"],
      [data-route="prediction-markets"],
      [data-route="events-betting"]
    )
      .suite-hub__preview-stage .rise-stack__product-preview__shot-frame,
    html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="automated-trading"] .page-trade-hub .rise-hub-hero__visual-wrap,
    html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="prediction-markets"] .page-prediction-markets .rise-hub-hero__visual-wrap,
    html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="events-betting"] .page-events-rail .rise-hub-hero__visual-wrap {
      box-shadow: none;
    }

html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"]):is(
      [data-route="ai-suite"],
      [data-route="automated-trading"],
      [data-route="prediction-markets"],
      [data-route="events-betting"]
    )
      .trade-hub__card:hover {
      box-shadow: none;
    }

html[data-theme="light"][data-route="automated-trading"] .trade-hub__hero.rise-hub-hero {
      background: transparent;
      box-shadow: none;
    }

html[data-theme="light"] .suite-hub__card:hover {
      box-shadow:
        0 14px 36px rgba(37, 99, 235, 0.12),
        0 0 0 1px rgba(37, 99, 235, 0.08);
    }

html[data-theme="light"] .trade-hub__card:hover {
      box-shadow: 0 12px 32px rgba(37, 99, 235, 0.1);
    }

html[data-theme="light"] .pm-card:hover {
      box-shadow: 0 12px 36px rgba(37, 99, 235, 0.11);
    }

html[data-theme="light"] .pm-preview {
      background: rgba(255, 255, 255, 0.78);
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 18px 48px rgba(37, 99, 235, 0.12);
    }

html[data-theme="light"] .rise-public-page-preview__img--dark {
      display: none;
    }

html[data-theme="light"] .rise-public-page-preview__img--light {
      display: block;
    }

html[data-theme="light"][data-route="automated-trading"]:is(
      [data-rise-scope="dashboard"],
      [data-rise-scope="public"][data-rise-trade-access="1"]
    ) .trade-desk__pane--desk-log {
      background: #ffffff;
    }

html[data-theme="light"] .trade-desk__alerts-link-filters input[type="checkbox"]:checked {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%230a0a0a' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2.5 6.2L5.1 8.8L9.5 3.5'/%3E%3C/svg%3E");
    }

html[data-theme="light"] .trade-alert {
      background: color-mix(in srgb, var(--bg-elevated) 90%, transparent);
      border-color: var(--hero-border);
      box-shadow: none;
    }

html[data-theme="light"] .trade-alert::before {
      opacity: 0.38;
    }

html[data-theme="light"] .trade-alert--tier-danger {
      --alert-tint: #fca5a5;
      --alert-accent: #dc2626;
      --alert-glow: #fecaca;
    }

html[data-theme="light"] .trade-alert--tier-risk {
      --alert-tint: #fde68a;
      --alert-accent: #b45309;
      --alert-glow: #fef3c7;
    }

html[data-theme="light"] .trade-alert--tier-safe {
      --alert-tint: #bbf7d0;
      --alert-accent: #15803d;
      --alert-glow: #dcfce7;
    }

html[data-theme="light"] .trade-alert--tier-caution,
    html[data-theme="light"] .trade-alert--tier-moderate {
      --alert-tint: #fde68a;
      --alert-accent: #b45309;
      --alert-glow: #fef3c7;
    }

html[data-theme="light"] .trade-alert--tier-elite {
      --alert-tint: #99f6e4;
      --alert-accent: #0f766e;
      --alert-glow: #ccfbf1;
    }

html[data-theme="light"] .trade-alert--tier-ultra {
      --alert-tint: #bfdbfe;
      --alert-accent: #1d4ed8;
      --alert-glow: #dbeafe;
    }

html[data-theme="light"] .trade-alert:hover {
      box-shadow: 0 6px 22px rgba(15, 23, 42, 0.08);
    }

html[data-theme="light"] .trade-alert__pair {
      color: var(--text);
    }

html[data-theme="light"] .trade-alert__badge-safety {
      color: #0f172a;
    }

html[data-theme="light"] .trade-alert__age {
      color: var(--text-muted);
    }

html[data-theme="light"] .trade-alert__safety {
      background: color-mix(in srgb, var(--bg-elevated) 55%, var(--bg-page));
      border-color: var(--hero-border);
    }

html[data-theme="light"] .trade-alert__safety-kicker {
      color: var(--text-muted);
    }

html[data-theme="light"] .trade-alert__safety-bar {
      background: color-mix(in srgb, var(--text-muted) 18%, transparent);
    }

html[data-theme="light"] .trade-alert--tier-danger .trade-alert__safety-score,
    html[data-theme="light"] .trade-alert--tier-danger .trade-alert__safety-label {
      color: #b91c1c;
    }

html[data-theme="light"] .trade-alert--tier-risk .trade-alert__safety-score,
    html[data-theme="light"] .trade-alert--tier-risk .trade-alert__safety-label,
    html[data-theme="light"] .trade-alert--tier-caution .trade-alert__safety-score,
    html[data-theme="light"] .trade-alert--tier-caution .trade-alert__safety-label,
    html[data-theme="light"] .trade-alert--tier-moderate .trade-alert__safety-score,
    html[data-theme="light"] .trade-alert--tier-moderate .trade-alert__safety-label {
      color: #92400e;
    }

html[data-theme="light"] .trade-alert--tier-safe .trade-alert__safety-score,
    html[data-theme="light"] .trade-alert--tier-safe .trade-alert__safety-label {
      color: #166534;
    }

html[data-theme="light"] .trade-alert--tier-elite .trade-alert__safety-score,
    html[data-theme="light"] .trade-alert--tier-elite .trade-alert__safety-label {
      color: #0f766e;
    }

html[data-theme="light"] .trade-alert--tier-ultra .trade-alert__safety-score,
    html[data-theme="light"] .trade-alert--tier-ultra .trade-alert__safety-label {
      color: #1d4ed8;
    }

html[data-theme="light"] .trade-alert--tier-danger .trade-alert__tags-row .trade-alert__externals-tools .trade-alert__chip {
      color: #991b1b;
      background: color-mix(in srgb, #fecaca 35%, var(--bg-elevated));
    }

html[data-theme="light"] .trade-alert--tier-risk .trade-alert__tags-row .trade-alert__externals-tools .trade-alert__chip,
    html[data-theme="light"] .trade-alert--tier-caution .trade-alert__tags-row .trade-alert__externals-tools .trade-alert__chip,
    html[data-theme="light"] .trade-alert--tier-moderate .trade-alert__tags-row .trade-alert__externals-tools .trade-alert__chip {
      color: #92400e;
      background: color-mix(in srgb, #fef3c7 55%, var(--bg-elevated));
    }

html[data-theme="light"] .trade-alert--tier-safe .trade-alert__tags-row .trade-alert__externals-tools .trade-alert__chip,
    html[data-theme="light"] .trade-alert--tier-elite .trade-alert__tags-row .trade-alert__externals-tools .trade-alert__chip {
      color: #166534;
      background: color-mix(in srgb, #dcfce7 55%, var(--bg-elevated));
    }

html[data-theme="light"] .trade-alert--tier-ultra .trade-alert__tags-row .trade-alert__externals-tools .trade-alert__chip {
      color: #1d4ed8;
      background: color-mix(in srgb, #dbeafe 65%, var(--bg-elevated));
    }

html[data-theme="light"][data-route="automated-trading"]:is(
      [data-rise-scope="dashboard"],
      [data-rise-scope="public"][data-rise-trade-access="1"]
    ) .trade-desk__chart-wrap {
      background: #ffffff;
      filter: none;
    }

html[data-theme="light"][data-route="automated-trading"]:is(
      [data-rise-scope="dashboard"],
      [data-rise-scope="public"][data-rise-trade-access="1"]
    ) .trade-desk__pane.trade-desk__mid {
      background: #ffffff;
    }

html[data-theme="light"][data-route="automated-trading"]:is(
      [data-rise-scope="dashboard"],
      [data-rise-scope="public"][data-rise-trade-access="1"]
    ) .trade-desk__chart {
      background: #ffffff;
    }

html[data-theme="light"][data-route="automated-trading"]:is(
      [data-rise-scope="dashboard"],
      [data-rise-scope="public"][data-rise-trade-access="1"]
    ) .trade-desk__chart[data-rise-desk-chart] {
      filter: none;
    }

html[data-theme="light"] .trade-desk__auto-tier-btn {
      background: color-mix(in srgb, #fff 35%, var(--bg-elevated));
      border-color: color-mix(in srgb, var(--hero-border) 90%, transparent);
    }

html[data-theme="light"] .trade-desk__auto-tier-btn--danger {
      color: #b91c1c;
      border-color: color-mix(in srgb, #f87171 45%, var(--hero-border));
    }

html[data-theme="light"] .trade-desk__auto-tier-btn--danger:hover {
      background: color-mix(in srgb, #fecaca 35%, var(--bg-elevated));
    }

html[data-theme="light"] .trade-desk__auto-tier-btn--danger.is-active {
      color: #991b1b;
      border-color: #dc2626;
      background: color-mix(in srgb, #fecaca 55%, var(--bg-elevated));
      box-shadow: none;
    }

html[data-theme="light"] .trade-desk__auto-tier-btn--risk {
      color: #92400e;
      border-color: color-mix(in srgb, #fbbf24 50%, var(--hero-border));
    }

html[data-theme="light"] .trade-desk__auto-tier-btn--risk:hover {
      background: color-mix(in srgb, #fef3c7 55%, var(--bg-elevated));
    }

html[data-theme="light"] .trade-desk__auto-tier-btn--risk.is-active {
      color: #92400e;
      border-color: #ca8a04;
      background: color-mix(in srgb, #fef3c7 70%, var(--bg-elevated));
      box-shadow: none;
    }

html[data-theme="light"] .trade-desk__auto-tier-btn--safe {
      color: #166534;
      border-color: color-mix(in srgb, #4ade80 45%, var(--hero-border));
    }

html[data-theme="light"] .trade-desk__auto-tier-btn--safe:hover {
      background: color-mix(in srgb, #dcfce7 55%, var(--bg-elevated));
    }

html[data-theme="light"] .trade-desk__auto-tier-btn--safe.is-active {
      color: #14532d;
      border-color: #16a34a;
      background: color-mix(in srgb, #dcfce7 65%, var(--bg-elevated));
      box-shadow: none;
    }

html[data-theme="light"] .trade-desk__auto-tier-chip {
      color: var(--text-muted);
      border-color: var(--hero-border);
      background: color-mix(in srgb, var(--bg-elevated) 92%, var(--bg-page));
      box-shadow: none;
    }

html[data-theme="light"] .trade-desk__auto-tier-chip__range {
      color: var(--text-muted);
    }

html[data-theme="light"] .trade-desk__auto-tier-chip__tag {
      color: var(--text-muted);
    }

html[data-theme="light"] .trade-desk__auto-tier-btn--danger.is-active .trade-desk__auto-tier-btn__range {
      color: #7f1d1d;
    }

html[data-theme="light"] .trade-desk__auto-tier-btn--risk.is-active .trade-desk__auto-tier-btn__range {
      color: #78350f;
    }

html[data-theme="light"] .trade-desk__auto-tier-btn--safe.is-active .trade-desk__auto-tier-btn__range {
      color: #14532d;
    }

html[data-theme="light"][data-route="automated-trading"] .trade-hub__flow {
      border-color: rgba(2, 132, 199, 0.38);
      background: rgba(240, 246, 255, 0.72);
    }

html[data-theme="light"][data-route="automated-trading"] .trade-hub__preview-row input {
      border-color: rgba(37, 99, 235, 0.18);
      background: #ffffff;
    }

html[data-theme="light"][data-route="automated-trading"] .trade-hub__desk-shell {
      background: #f7f9ff;
    }

html[data-theme="light"][data-route="automated-trading"] .trade-hub__card,
    html[data-theme="light"][data-route="automated-trading"] .trade-hub__bot-path,
    html[data-theme="light"][data-route="automated-trading"] .trade-hub__preview,
    html[data-theme="light"][data-route="automated-trading"] .trade-hub__sniper-item,
    html[data-theme="light"][data-route="automated-trading"] .trade-hub__demo-metric,
    html[data-theme="light"][data-route="automated-trading"] .trade-hub__demo-table-wrap {
      border: 1px solid rgba(37, 99, 235, 0.26);
      background: linear-gradient(
        165deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(240, 246, 255, 0.94) 52%,
        rgba(228, 236, 252, 0.97) 100%
      );
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 2px 0 rgba(37, 99, 235, 0.06) inset,
        0 6px 20px rgba(37, 99, 235, 0.08);
    }

html[data-theme="light"][data-route="automated-trading"] .trade-hub__steps li {
      border-color: rgba(37, 99, 235, 0.18);
      background: rgba(255, 255, 255, 0.92);
    }

html[data-theme="light"][data-route="automated-trading"] .trade-hub__bots {
      border-color: rgba(37, 99, 235, 0.22);
      background: linear-gradient(165deg, #ffffff 0%, #f4f7fc 100%);
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 6px 22px rgba(37, 99, 235, 0.08);
    }

html[data-theme="light"][data-route="automated-trading"] .rise-screener {
      border-color: rgba(37, 99, 235, 0.22);
      background: linear-gradient(165deg, #ffffff 0%, #f4f7fc 100%);
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 6px 22px rgba(37, 99, 235, 0.08);
    }

html[data-theme="light"][data-route="automated-trading"] .rise-screener__search input {
      border-color: rgba(37, 99, 235, 0.2);
      background: #ffffff;
    }

html[data-theme="light"][data-route="automated-trading"] .rise-screener__mode.is-active {
      border-color: #2563eb;
      box-shadow: none;
    }

html[data-theme="light"][data-route="automated-trading"] .rise-screener__preview {
      background: #0f172a;
      color: #f1f5f9;
      border-color: rgba(37, 99, 235, 0.35);
    }

html[data-theme="light"][data-route="automated-trading"] .trade-hub__modules {
      border-color: rgba(37, 99, 235, 0.22);
      background: linear-gradient(165deg, #ffffff 0%, #f4f7fc 100%);
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 6px 22px rgba(37, 99, 235, 0.08);
    }

html[data-theme="light"] .sports-pools__bokeh {
      display: none;
    }

html[data-theme="light"] .sports-pools__access-callout {
      color: var(--text);
      background: color-mix(in srgb, #f59e0b 14%, #fff);
      border-color: rgba(180, 83, 9, 0.28);
    }

html[data-theme="light"] .sports-pools__main-event {
      background: rgba(255, 255, 255, 0.9);
      box-shadow: none;
    }

html[data-theme="light"] .sports-pools__odd {
      background: rgba(255, 255, 255, 0.72);
    }

html[data-theme="light"] .sports-pools__chip:not(.is-active) {
      background: rgba(255, 255, 255, 0.85);
    }

html[data-theme="light"] .sports-pools__chip[data-rise-grid-filter]:not(.is-active):not(.sports-pools__chip--muted):hover,
    html[data-theme="light"] .sports-pools__recent-filters .sports-pools__chip:not(.is-active):not(.sports-pools__chip--muted):hover {
      background: color-mix(in srgb, #ffffff 82%, var(--cyan) 18%);
      border-color: color-mix(in srgb, #e5e7eb 28%, var(--cyan) 72%);
      color: var(--text);
      box-shadow:
        0 0 0 1px color-mix(in srgb, var(--cyan) 14%, transparent),
        0 1px 2px color-mix(in srgb, var(--cyan) 12%, transparent);
    }

html[data-theme="light"] .sports-pools__chip[data-rise-grid-filter].sports-pools__chip--live:not(.is-active):not(.sports-pools__chip--muted):hover {
      background: color-mix(in srgb, #ffffff 72%, var(--cyan) 28%);
      border-color: color-mix(in srgb, var(--cyan) 52%, #e5e7eb);
    }

html[data-theme="light"] .sports-pools__chip[data-rise-grid-filter].sports-pools__chip--soon:not(.is-active):not(.sports-pools__chip--muted):hover {
      background: color-mix(in srgb, #ffffff 78%, var(--cyan) 22%);
      border-color: color-mix(in srgb, var(--cyan) 44%, #e5e7eb);
    }

html[data-theme="light"] .sports-pools__chip[data-rise-grid-filter].sports-pools__chip--result:not(.is-active):not(.sports-pools__chip--muted):hover {
      background: color-mix(in srgb, #ffffff 70%, #a78bfa 30%);
      border-color: color-mix(in srgb, #a78bfa 48%, #e5e7eb);
    }

html[data-theme="light"] .sports-pools__card {
      background: rgba(255, 255, 255, 0.9);
    }

html[data-theme="light"] .sports-pools__pill--today {
      border-color: #ffffff;
    }

html[data-theme="light"] .page-rise-dashboard-swap .rise-swap__access-callout {
      color: var(--text);
      background: color-mix(in srgb, #f59e0b 14%, #fff);
      border-color: rgba(180, 83, 9, 0.28);
    }

html[data-theme="light"] .rise-swap__bokeh {
      opacity: 0.92;
      filter: blur(46px);
      background:
        radial-gradient(circle at 20% 34%, rgba(30, 64, 175, 0.26) 0%, transparent 46%),
        radial-gradient(circle at 80% 28%, rgba(29, 78, 216, 0.2) 0%, transparent 44%),
        radial-gradient(circle at 54% 74%, rgba(23, 37, 84, 0.18) 0%, transparent 42%);
    }

html[data-theme="light"] .rise-swap .rise-swap__title,
    html[data-theme="light"] .rise-swap .rise-swap__title-buy {
      color: var(--text);
    }

html[data-theme="light"] .rise-swap .rise-swap__title-rise {
      background: linear-gradient(115deg, #6366f1 0%, #c026d3 55%, #e879f9 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

html[data-theme="light"] .rise-swap .rise-swap__subtitle {
      color: var(--text-muted);
    }

html[data-theme="light"] .rise-swap__card {
      background: rgba(255, 255, 255, 0.94);
      border-color: rgba(37, 99, 235, 0.12);
      box-shadow: 0 18px 50px rgba(37, 99, 235, 0.1);
    }

html[data-theme="light"] .rise-swap__settings {
      border-bottom-color: rgba(37, 99, 235, 0.1);
    }

html[data-theme="light"] .rise-swap__panel {
      background: rgba(37, 99, 235, 0.04);
      border: none;
      box-shadow: none;
    }

html[data-theme="light"] .rise-swap__token {
      background: rgba(255, 255, 255, 0.92);
      border-color: rgba(37, 99, 235, 0.12);
      box-shadow: none;
    }

html[data-theme="light"] .rise-eth-token-modal__backdrop {
      background: rgba(37, 99, 235, 0.04);
    }

html[data-theme="light"] .rise-eth-token-modal__shell {
      background: linear-gradient(165deg, #fcfcfc 0%, #f4f6fa 52%, #eef1f8 100%);
      border-color: rgba(37, 99, 235, 0.12);
      color: #0f172a;
    }

html[data-theme="light"] .rise-eth-token-modal__head {
      border-bottom-color: rgba(37, 99, 235, 0.09);
    }

html[data-theme="light"] .rise-eth-token-modal__close {
      background: rgba(37, 99, 235, 0.08);
      color: #0f172a;
    }

html[data-theme="light"] .rise-eth-token-modal__search-wrap {
      background: rgba(37, 99, 235, 0.05);
      border-color: rgba(37, 99, 235, 0.1);
    }

html[data-theme="light"] .rise-eth-token-modal__quick-btn {
      border-color: rgba(37, 99, 235, 0.12);
      background: rgba(255, 255, 255, 0.9);
    }

html[data-theme="light"] .rise-eth-token-modal__section-label {
      color: rgba(15, 23, 42, 0.45);
    }

html[data-theme="light"] .rise-eth-token-modal__holdings-status {
      color: rgba(15, 23, 42, 0.5);
    }

html[data-theme="light"] .rise-eth-token-modal__row-bal-amt {
      color: rgba(15, 23, 42, 0.52);
    }

html[data-theme="light"] .rise-eth-token-modal__row:hover,
    html[data-theme="light"] .rise-eth-token-modal__row:focus-visible {
      background: rgba(37, 99, 235, 0.07);
    }

html[data-theme="light"] .rise-eth-token-modal__row--selected {
      background: rgba(0, 76, 200, 0.12);
    }

html[data-theme="light"] .rise-eth-token-modal__row-meta {
      color: rgba(15, 23, 42, 0.5);
    }

html[data-theme="light"] .rise-eth-token-modal__empty {
      color: rgba(15, 23, 42, 0.45);
    }

html[data-theme="light"] #riseEthSwapRoot .rise-eth-dash__tokpill--muted {
      background: rgba(255, 255, 255, 0.96);
      border-color: rgba(37, 99, 235, 0.12);
    }

html[data-theme="light"] .rise-swap__card {
      color: #0a0a0a;
    }

html[data-theme="light"] .rise-swap__card .rise-swap__row-label {
      color: #0a0a0a !important;
      -webkit-text-fill-color: #0a0a0a;
    }

html[data-theme="light"] .rise-swap__card .rise-swap__sub {
      color: #0a0a0a !important;
      -webkit-text-fill-color: #0a0a0a;
    }

html[data-theme="light"] .rise-swap__card .rise-swap__input {
      color: #0a0a0a !important;
      -webkit-text-fill-color: #0a0a0a;
    }

html[data-theme="light"] .rise-swap__card .rise-swap__input::placeholder {
      color: rgba(10, 10, 10, 0.42) !important;
      -webkit-text-fill-color: rgba(10, 10, 10, 0.42);
    }

html[data-theme="light"] .rise-swap__card .rise-swap__token {
      color: #0a0a0a !important;
      background: #f4f4f5 !important;
      border-color: rgba(10, 10, 10, 0.12) !important;
    }

html[data-theme="light"] .rise-swap__card .rise-swap__token--rise {
      color: #86198f !important;
      border-color: rgba(134, 25, 143, 0.4) !important;
    }

html[data-theme="light"] .rise-swap__card .rise-swap__flip {
      color: #0a0a0a !important;
      background: #ececf0 !important;
      border-color: rgba(10, 10, 10, 0.18) !important;
    }

html[data-theme="light"] .rise-swap__card .rise-swap__flip svg {
      stroke: #0a0a0a;
    }

html[data-theme="light"] .rise-swap__card .rise-swap__hint {
      color: #0a0a0a !important;
      -webkit-text-fill-color: #0a0a0a;
    }

html[data-theme="light"] .rise-swap__card .rise-swap__status {
      color: #0a0a0a !important;
      -webkit-text-fill-color: #0a0a0a;
    }

html[data-theme="light"] .rise-swap__card .rise-swap__status.rise-swap__status--error {
      color: #b91c1c !important;
    }

html[data-theme="light"] .rise-swap__card .rise-swap__status.rise-swap__status--ok {
      color: #15803d !important;
    }

html[data-theme="light"] .rise-swap__card .rise-swap__cta {
      background: #fce7f3 !important;
      color: #0a0a0a !important;
      border: 1px solid rgba(157, 23, 77, 0.35) !important;
    }

html[data-theme="light"] .rise-swap__card .rise-swap__cta:hover:not(:disabled) {
      background: #fbcfe8 !important;
      filter: none;
    }

html[data-theme="light"] .rise-swap__card .rise-swap__settings-label {
      color: #0a0a0a !important;
      -webkit-text-fill-color: #0a0a0a;
    }

html[data-theme="light"] .rise-swap__card .rise-swap__chip {
      color: #0a0a0a !important;
      -webkit-text-fill-color: #0a0a0a;
      background: #f4f4f5 !important;
      border-color: rgba(10, 10, 10, 0.12) !important;
    }

html[data-theme="light"] .rise-swap__card .rise-swap__chip:hover {
      color: #0a0a0a !important;
      -webkit-text-fill-color: #0a0a0a;
      border-color: rgba(134, 25, 143, 0.35) !important;
    }

html[data-theme="light"] .rise-swap__card .rise-swap__chip--active {
      color: #86198f !important;
      -webkit-text-fill-color: #86198f;
      border-color: rgba(134, 25, 143, 0.45) !important;
      background: #fce7f3 !important;
    }

html[data-theme="light"] .rise-swap__card .rise-swap__slip-custom-label {
      color: #0a0a0a !important;
      -webkit-text-fill-color: #0a0a0a;
    }

html[data-theme="light"] .rise-swap__card .rise-swap__slip-custom {
      color: #0a0a0a !important;
      -webkit-text-fill-color: #0a0a0a;
      background: #fff !important;
      border-color: rgba(10, 10, 10, 0.15) !important;
    }

html[data-theme="light"] .rise-swap__card .rise-swap__balance-line {
      color: #0a0a0a !important;
      -webkit-text-fill-color: #0a0a0a;
    }

html[data-theme="light"] .rise-swap__card .rise-swap__pct-btn {
      color: #0a0a0a !important;
      -webkit-text-fill-color: #0a0a0a;
      background: #f4f4f5 !important;
      border-color: rgba(10, 10, 10, 0.12) !important;
    }

html[data-theme="light"] .rise-swap__card .rise-swap__pct-btn:hover:not(:disabled) {
      color: #0a0a0a !important;
      -webkit-text-fill-color: #0a0a0a;
      border-color: rgba(134, 25, 143, 0.35) !important;
    }

html[data-theme="light"] .rise-swap__card .rise-swap__pct-btn:disabled {
      opacity: 0.38;
    }

html[data-theme="dark"][data-route="events-betting"] .page-events-rail .pm-preview__cta {
      border-color: color-mix(in srgb, var(--cyan) 55%, #1a1d29);
      background: linear-gradient(165deg, color-mix(in srgb, var(--cyan) 22%, #0f172a) 0%, #1a1d29 100%);
      color: var(--text);
    }

html[data-theme="dark"][data-route="events-betting"] .page-events-rail .pm-cta--primary {
      border-color: color-mix(in srgb, var(--cyan) 55%, #1a1d29);
      background: linear-gradient(165deg, color-mix(in srgb, var(--cyan) 22%, #0f172a) 0%, #1a1d29 100%);
      color: var(--text);
    }

html[data-theme="dark"][data-route="events-betting"] .page-events-rail .pm-cta--primary:hover {
      border-color: var(--cyan);
      background: color-mix(in srgb, var(--cyan) 16%, #1a1d29);
    }

html[data-theme="light"] .ev-match-card:hover {
      box-shadow: 0 10px 28px rgba(37, 99, 235, 0.1);
    }

html[data-theme="light"] .ev-betslip.ev-betslip-card {
      box-shadow: 0 14px 40px rgba(37, 99, 235, 0.1);
    }

html[data-theme="light"] .ev-betslip__win-val {
      color: #15803d;
      text-shadow: none;
    }

html[data-theme="light"] .ev-mode-pill.is-active {
      box-shadow: 0 0 12px color-mix(in srgb, #fb7185 12%, transparent);
    }

html[data-theme="dark"][data-route="prediction-markets"] .pm-preview__cta {
      border-color: color-mix(in srgb, var(--cyan) 55%, #1a1d29);
      background: linear-gradient(165deg, color-mix(in srgb, var(--cyan) 22%, #0f172a) 0%, #1a1d29 100%);
      color: var(--text);
    }

html[data-theme="dark"][data-route="prediction-markets"] .pm-cta--primary {
      border-color: color-mix(in srgb, var(--cyan) 55%, #1a1d29);
      background: linear-gradient(165deg, color-mix(in srgb, var(--cyan) 22%, #0f172a) 0%, #1a1d29 100%);
      color: var(--text);
    }

html[data-theme="dark"][data-route="prediction-markets"] .pm-cta--primary:hover {
      border-color: var(--cyan);
      background: color-mix(in srgb, var(--cyan) 16%, #1a1d29);
    }

html[data-theme="light"][data-route="documentation"] .page-documentation-hub .doc-card,
    html[data-theme="light"][data-route="documentation"] .page-documentation-hub .doc-card__title {
      color: #0a0a0a;
    }

html[data-theme="light"][data-route="documentation"] .page-documentation-hub .doc-card__desc {
      color: #525252;
    }

html[data-theme="light"][data-route="documentation"] .doc-card {
      border: 1px solid rgba(37, 99, 235, 0.26);
      background: linear-gradient(
        165deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(240, 246, 255, 0.94) 52%,
        rgba(228, 236, 252, 0.97) 100%
      );
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 2px 0 rgba(37, 99, 235, 0.06) inset,
        0 6px 20px rgba(37, 99, 235, 0.1);
    }

html[data-theme="light"][data-route="documentation"] a.doc-card:hover {
      border-color: rgba(37, 99, 235, 0.45);
      background: linear-gradient(
        165deg,
        #ffffff 0%,
        #f0f6ff 48%,
        #e4edfb 100%
      );
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.92) inset,
        0 2px 0 rgba(37, 99, 235, 0.08) inset,
        0 10px 28px rgba(37, 99, 235, 0.16);
      transform: none;
    }

html[data-theme="light"][data-route="documentation"] a.doc-card:focus-visible {
      outline-color: #2563eb;
    }

html[data-theme="light"][data-route="documentation"] .doc-card--placeholder {
      opacity: 1;
    }

html[data-theme="light"][data-route="documentation"] .doc-card--visual .doc-card__thumb {
      border-bottom: 1px solid rgba(37, 99, 235, 0.14);
    }

html[data-theme="light"][data-rise-scope="public"][data-route="ai-suite"] .suite-hub__section,
    html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="automated-trading"] .trade-hub__bots {
      background: transparent;
      border-color: rgba(255, 255, 255, 0.16);
      box-shadow: none;
    }

html[data-theme="light"][data-rise-scope="public"][data-route="ai-suite"] .suite-hub__section {
      background: transparent;
      border: 1px solid rgba(255, 255, 255, 0.16);
      box-shadow: none;
    }

html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="automated-trading"] .suite-hub__section,
    html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="prediction-markets"] .suite-hub__section {
      background: transparent;
      border-color: rgba(255, 255, 255, 0.16);
      box-shadow: none;
    }

html[data-theme="dark"][data-rise-scope="public"][data-route="ai-suite"] .suite-hub__card,
    html[data-theme="dark"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="automated-trading"] .suite-hub__card,
    html[data-theme="dark"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="prediction-markets"] .suite-hub__card,
    html[data-theme="dark"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="events-betting"] .suite-hub__card,
    html[data-theme="dark"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="automated-trading"] .trade-hub__card,
    html[data-theme="dark"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="automated-trading"] .trade-hub__bot-path {
      border-radius: 0.9rem;
      border-color: color-mix(in srgb, var(--hero-border) 72%, transparent);
      background: linear-gradient(162deg, color-mix(in srgb, var(--bg-elevated) 92%, transparent), color-mix(in srgb, var(--bg-page) 85%, transparent));
      transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
    }

html[data-theme="dark"][data-rise-scope="public"][data-route="ai-suite"] .suite-hub__card:hover,
    html[data-theme="dark"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="automated-trading"] .suite-hub__card:hover,
    html[data-theme="dark"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="prediction-markets"] .suite-hub__card:hover,
    html[data-theme="dark"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="events-betting"] .suite-hub__card:hover,
    html[data-theme="dark"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="automated-trading"] .trade-hub__card:hover,
    html[data-theme="dark"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="automated-trading"] .trade-hub__bot-path:hover {
      transform: translateY(-3px);
      border-color: color-mix(in srgb, var(--cyan) 42%, var(--hero-border));
      box-shadow: 0 18px 44px color-mix(in srgb, var(--cyan) 20%, transparent);
    }

html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"]):is(
      [data-route="ai-suite"],
      [data-route="automated-trading"],
      [data-route="prediction-markets"],
      [data-route="events-betting"]
    )
      :is(.suite-hub__card:hover, .trade-hub__card:hover) {
      box-shadow: none;
    }

html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="automated-trading"] .trade-hub__flow {
      background: transparent;
      border-color: rgba(255, 255, 255, 0.16);
      box-shadow: none;
    }

html[data-theme="light"] .product-showcase-strip__card {
      background: linear-gradient(164deg, #ffffff, #f7fbff);
      box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
    }

html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="prediction-markets"] .pm-feed-header .pm-feed-kicker,
    html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="prediction-markets"] .pm-feed-header .pm-feed-title,
    html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="prediction-markets"] .pm-feed-header .pm-feed-sub,
    html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="events-betting"] .pm-feed-header .pm-feed-kicker,
    html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="events-betting"] .pm-feed-header .pm-feed-title,
    html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="events-betting"] .pm-feed-header .pm-feed-sub {
      color: #ffffff;
    }

html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="prediction-markets"] .pm-feed-header .pm-feed-sub,
    html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="events-betting"] .pm-feed-header .pm-feed-sub {
      color: #ffffff;
    }

html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"]):is(
      [data-route="ai-suite"],
      [data-route="automated-trading"],
      [data-route="prediction-markets"],
      [data-route="events-betting"]
    )
      :is(
        .suite-hub__subtitle,
        .trade-hub__subtitle,
        .rise-hub-hero__lead,
        .pm-feed-sub,
        .product-showcase-strip__kicker,
        .product-showcase-strip__text
      ) {
      color: #ffffff;
    }

html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="prediction-markets"] .pm-preview,
    html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="events-betting"] .pm-preview,
    html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="prediction-markets"] .pm-spot,
    html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="prediction-markets"] .pm-feed-tile,
    html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="events-betting"] .ev-match-card {
      border-color: rgba(255, 255, 255, 0.28);
      background: linear-gradient(165deg, rgba(0, 58, 145, 0.82) 0%, rgba(0, 34, 92, 0.88) 100%);
      box-shadow: none;
      color: #ffffff;
      --text: #ffffff;
      --text-muted: rgba(255, 255, 255, 0.78);
    }

html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="prediction-markets"] .pm-spot:hover,
    html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="prediction-markets"] .pm-feed-tile:hover,
    html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="events-betting"] .ev-match-card:hover {
      box-shadow: none;
      border-color: rgba(255, 255, 255, 0.48);
    }

html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="prediction-markets"] .pm-filter-btn,
    html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="events-betting"] .pm-filter-btn,
    html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="events-betting"] .ev-mode-pill {
      border-color: rgba(255, 255, 255, 0.26);
      background: linear-gradient(165deg, rgba(0, 52, 130, 0.78) 0%, rgba(0, 34, 92, 0.85) 100%);
      color: #ffffff;
      box-shadow: none;
    }

html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="prediction-markets"] .pm-filter-btn:hover,
    html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="events-betting"] .pm-filter-btn:hover,
    html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="events-betting"] .ev-mode-pill:hover {
      border-color: rgba(255, 255, 255, 0.46);
      background: linear-gradient(165deg, rgba(0, 62, 150, 0.88) 0%, rgba(0, 40, 105, 0.92) 100%);
    }

html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="prediction-markets"] .pm-filter-btn.is-active,
    html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="events-betting"] .pm-filter-btn.is-active,
    html[data-theme="light"]:is([data-rise-scope="public"], [data-rise-scope="dashboard"])[data-route="events-betting"] .ev-mode-pill.is-active {
      border-color: rgba(255, 255, 255, 0.46);
      background: linear-gradient(165deg, rgba(0, 62, 150, 0.88) 0%, rgba(0, 40, 105, 0.92) 100%);
      color: #ffffff;
      box-shadow: none;
    }

html[data-theme="light"][data-route="home"] .rise-stack__arch {
      background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(224, 236, 255, 0.08));
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.3) inset,
        0 24px 70px rgba(37, 99, 235, 0.22);
    }

html[data-theme="light"] .portfolio-item__media {
          border-radius: 1.35rem;
          border: 1px solid rgba(255, 255, 255, 0.55);
          background:
            linear-gradient(145deg, rgba(255, 255, 255, 0.55) 0%, transparent 42%),
            linear-gradient(168deg, #cfd9e8 0%, #b8c6d9 38%, #9fb0c8 100%);
          box-shadow:
            0 0 0 1px rgba(15, 23, 42, 0.07),
            0 1px 0 rgba(255, 255, 255, 0.65) inset,
            0 -1px 0 rgba(15, 23, 42, 0.06) inset,
            0 50px 100px -28px rgba(15, 23, 42, 0.28),
            0 24px 48px rgba(30, 64, 175, 0.12),
            0 8px 20px rgba(15, 23, 42, 0.1);
        }

html[data-theme="light"] .portfolio-item__media::after {
          content: "";
          position: absolute;
          inset: 0;
          z-index: 0;
          border-radius: inherit;
          pointer-events: none;
          opacity: 0.35;
          background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
          mix-blend-mode: overlay;
        }

html[data-theme="light"] .portfolio-item:hover .portfolio-item__media {
          box-shadow:
            0 0 0 1px rgba(15, 23, 42, 0.08),
            0 1px 0 rgba(255, 255, 255, 0.75) inset,
            0 -1px 0 rgba(15, 23, 42, 0.05) inset,
            0 56px 110px -26px rgba(15, 23, 42, 0.32),
            0 28px 56px rgba(30, 64, 175, 0.16),
            0 12px 28px rgba(15, 23, 42, 0.12);
        }

html[data-theme="light"] .portfolio-item__window {
          position: relative;
          z-index: 1;
          margin: 3px;
          border-radius: 1.12rem;
          border: 1px solid rgba(255, 255, 255, 0.35);
          background-color: #aab6d2;
          background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
          background-size: 120px 120px;
          box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.35),
            0 10px 28px rgba(15, 23, 42, 0.08);
        }

html[data-theme="light"] .portfolio-item__window::before {
          content: "";
          position: absolute;
          inset: 0;
          border-radius: inherit;
          pointer-events: none;
          z-index: 0;
          box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
        }

html[data-theme="light"] .portfolio-item__window-chrome {
          position: relative;
          z-index: 3;
          height: 42px;
          padding: 0 0.65rem 0 0.85rem;
          gap: 0.5rem;
          border-bottom: 1px solid rgba(255, 255, 255, 0.22);
          background: linear-gradient(180deg, #b3bdd7 0%, #a5b0cd 100%);
          box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
        }

html[data-theme="light"] .portfolio-item__window-chrome::after {
          content: "";
          flex: 1;
          min-width: 0;
          max-width: min(52%, 220px);
          height: 26px;
          margin-left: auto;
          margin-right: 0.35rem;
          border-radius: 7px;
          background: rgba(255, 255, 255, 0.22);
          border: 1px solid rgba(255, 255, 255, 0.28);
          box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
        }

html[data-theme="light"] .portfolio-item__window-dot {
          width: 11px;
          height: 11px;
          box-shadow:
            0 0 0 1px rgba(15, 23, 42, 0.1) inset,
            0 1px 2px rgba(255, 255, 255, 0.5),
            0 2px 4px rgba(15, 23, 42, 0.12);
        }

html[data-theme="light"] .portfolio-item__window-canvas {
          position: relative;
          z-index: 1;
          aspect-ratio: 16/10;
          margin: 0 0.65rem 0.75rem;
          padding: 0.55rem;
          border-radius: 0.55rem;
          background-color: #aab6d2;
          background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
          background-size: 120px 120px;
          box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.12);
        }

html[data-theme="light"] .portfolio-item__window-canvas .portfolio-item__img {
          border-radius: 0.35rem;
          box-shadow: 0 2px 10px rgba(15, 23, 42, 0.15);
        }

html[data-theme="light"] .portfolio-item__preview--dark { display: none !important; }

html[data-theme="light"] .portfolio-item__preview--light { display: block !important; }

html[data-theme="light"] .portfolio-modal__backdrop {
          background: rgba(15, 23, 42, 0.38);
          backdrop-filter: blur(12px);
        }

html[data-theme="light"] .portfolio-modal__panel {
          background: #ffffff;
          border-color: rgba(15, 23, 42, 0.1);
          box-shadow: 0 32px 90px rgba(15, 23, 42, 0.14);
          /* Body uses white --text on the light home field; stop it inheriting into this card. */
          color: #0a0a0a;
        }

html[data-theme="light"] .portfolio-modal__close {
          background: #0f172a;
          color: #ffffff;
          border-color: rgba(15, 23, 42, 0.35);
          box-shadow: 0 6px 20px rgba(15, 23, 42, 0.22);
        }

html[data-theme="light"] .portfolio-modal__close:hover {
          background: #020617;
          border-color: rgba(15, 23, 42, 0.5);
        }

html[data-theme="light"] .portfolio-modal__cat { color: rgba(0, 0, 0, 0.55); }

html[data-theme="light"] .portfolio-modal__title { color: #000000; }

html[data-theme="light"] .portfolio-modal__text { color: #0a0a0a; }

html[data-theme="light"] .portfolio-modal__tags span {
          border-color: rgba(0, 0, 0, 0.14);
          color: #0a0a0a;
        }

html[data-theme="light"] .portfolio-modal__stat {
          border-color: rgba(0, 0, 0, 0.1);
          background: #f4f4f5;
        }

html[data-theme="light"] .portfolio-modal__stat-value { color: #000000; }

html[data-theme="light"] .portfolio-modal__stat-label { color: rgba(0, 0, 0, 0.55); }

html[data-theme="light"] .portfolio-modal__hero-hint { color: rgba(0, 0, 0, 0.48); }

html[data-theme="light"] .portfolio-modal__hero-toolbar {
          border-color: rgba(15, 23, 42, 0.12);
          background: rgba(255, 255, 255, 0.96);
          box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
        }

html[data-theme="light"] .portfolio-modal__hero-zoom {
          border-color: rgba(15, 23, 42, 0.14);
          background: #f4f4f5;
          color: #0a0a0a;
        }

html[data-theme="light"] .portfolio-modal__hero-zoom:hover {
          background: #e4e4e7;
        }

html[data-theme="light"] .portfolio-modal__hero-zoom:focus-visible {
          outline-color: rgba(15, 23, 42, 0.45);
        }

html[data-theme="light"] .portfolio-modal__hero-zoom-pct {
          color: rgba(0, 0, 0, 0.55);
        }

html[data-theme="light"] .portfolio-modal__launch {
          background: #0f172a;
          color: #fff;
          border-color: rgba(15, 23, 42, 0.2);
        }
