@import url("./styles/base.css?v=20260710b");
@import url("./crypto/dashboard/dashboard.css?v=20260707e");
@import url("./crypto/terminal/terminal.css?v=20260707e");

:root {
  --bg: #000000;
  --bg-elevated: rgba(0, 0, 0, 0.96);
  --bg-soft: rgba(0, 0, 0, 0.9);
  --panel: #000000;
  --line: rgba(255, 215, 0, 0.24);
  --line-strong: rgba(255, 215, 0, 0.5);
  --text: #f7f3e8;
  --muted: #c8cdd6;
  --accent: #ffd700;
  --accent-strong: #ffe76a;
  --gold: #ffd700;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.66);
}

html,
body {
  background: #000000 !important;
}

body {
  background-image: none !important;
}

.background-glow,
.background-glow-left,
.background-glow-right {
  display: none !important;
}

.background-grid {
  opacity: 0.22 !important;
}

body .site-header {
  border-bottom-color: rgba(255, 215, 0, 0.28) !important;
  background: rgba(0, 0, 0, 0.96) !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.58), inset 0 -1px 0 rgba(255, 215, 0, 0.08) !important;
}

body .brand-mark,
body .selector-trigger,
body .selector-item,
body .nav-link,
body .header-button,
body .hero-button,
body .toggle-button,
body .profile-toggle-button,
body .tick-stepper,
body .axis-share-trigger,
body .axis-drawing-toolbar,
body .axis-drawing-tool,
body .axis-drawing-color {
  border-color: rgba(255, 215, 0, 0.26) !important;
  background: rgba(0, 0, 0, 0.86) !important;
  color: #f7f3e8 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 0 0 1px rgba(255, 215, 0, 0.035),
    0 10px 28px rgba(0, 0, 0, 0.38) !important;
}

body .selector-trigger:hover,
body .selector-trigger[aria-expanded="true"],
body .selector-item:hover,
body .selector-item.is-active,
body .nav-link:hover,
body .header-button:hover,
body .hero-button:hover,
body .toggle-button:hover,
body .profile-toggle-button[aria-pressed="true"],
body .axis-drawing-tool.is-active,
body .axis-drawing-color.is-active {
  border-color: rgba(255, 215, 0, 0.72) !important;
  background: rgba(255, 215, 0, 0.12) !important;
  color: #fff4a8 !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 215, 0, 0.16),
    0 0 18px rgba(255, 215, 0, 0.2) !important;
}

body .selector-menu,
body .site-main,
body .landing-hero,
body .landing-card,
body .landing-modules article,
body .landing-metric,
body .dashboard-tile,
body .home-feature-card,
body .module-card,
body .terminal-shell,
body .chart-shell,
body .orderbook-chart-shell,
body .orderbook-chart-frame,
body .orderbook-panel,
body .orderbook-terminal-shell,
body .orderbook-terminal-chart-frame,
body .spot-depth-shell,
body .spot-depth-panel,
body .spot-depth-canvas-shell,
body .options-chain-shell,
body .options-chain-card,
body .knowledge-shell,
body .knowledge-panel,
body .macro-card {
  border-color: rgba(255, 215, 0, 0.2) !important;
  background-color: #000000 !important;
  background-image: none !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 215, 0, 0.035),
    0 18px 54px rgba(0, 0, 0, 0.5) !important;
}

body .landing-hero::after,
body .landing-hero-media::after,
body .home-carousel-slide::after,
body .home-hero::after,
body .home-hero::before,
body .dashboard-tile::before,
body .chart-shell::before,
body .landing-hero::before {
  background: none !important;
  background-image: none !important;
  opacity: 0 !important;
}

body .axis-terminal-loader {
  background: rgba(0, 0, 0, 0.72) !important;
}

body .axis-terminal-loader-field {
  background: none !important;
  filter: none !important;
}

body .brand-subtitle,
body .module-label,
body .dashboard-tile-label,
body .panel-eyebrow,
body .axis-label,
body .selector-item.is-active {
  color: #ffd700 !important;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.18) !important;
}

body .site-header .market-hub-trigger,
body .site-header .market-hub-trigger span,
body .site-header .market-hub-link,
body .site-header .market-hub-link span,
body .site-header .market-hub-trigger:hover,
body .site-header .market-hub-trigger:focus-visible,
body .site-header .market-hub-trigger[aria-expanded="true"],
body .site-header .market-hub-link:hover,
body .site-header .market-hub-link:focus-visible,
body .site-header .market-hub-link.is-active {
  color: #ffffff !important;
  text-shadow: none !important;
  -webkit-text-fill-color: #ffffff !important;
}

body[data-axis-theme] {
  --accent: var(--axis-theme-accent);
  --text: var(--axis-theme-text);
  --muted: var(--axis-theme-muted);
  background-color: var(--axis-theme-bg) !important;
  color: var(--axis-theme-text) !important;
}

body[data-axis-theme][data-axis-theme-gradient="on"] {
  background-image:
    radial-gradient(circle at 18% 0%, rgba(var(--axis-theme-accent-rgb), 0.13), transparent 34%),
    radial-gradient(circle at 78% 12%, rgba(var(--axis-theme-up-rgb), 0.09), transparent 30%),
    linear-gradient(145deg, rgba(var(--axis-theme-bg-rgb), 1), rgba(var(--axis-theme-panel-rgb), 0.92)) !important;
}

body[data-axis-theme] .site-header,
body[data-axis-theme] .brand-mark,
body[data-axis-theme] .selector-trigger,
body[data-axis-theme] .selector-item,
body[data-axis-theme] .nav-link,
body[data-axis-theme] .header-button,
body[data-axis-theme] .hero-button,
body[data-axis-theme] .toggle-button,
body[data-axis-theme] .profile-toggle-button,
body[data-axis-theme] .tick-stepper,
body[data-axis-theme] .axis-share-trigger,
body[data-axis-theme] .axis-drawing-toolbar,
body[data-axis-theme] .axis-drawing-tool,
body[data-axis-theme] .axis-drawing-color,
body[data-axis-theme] .header-auth-name,
body[data-axis-theme] .header-auth-menu,
body[data-axis-theme] .header-auth-menu-item {
  border-color: rgba(var(--axis-theme-accent-rgb), 0.28) !important;
  background-color: rgba(var(--axis-theme-panel-rgb), 0.88) !important;
  color: var(--axis-theme-text) !important;
}

body[data-axis-theme] .selector-trigger:hover,
body[data-axis-theme] .selector-trigger[aria-expanded="true"],
body[data-axis-theme] .selector-item:hover,
body[data-axis-theme] .selector-item.is-active,
body[data-axis-theme] .nav-link:hover,
body[data-axis-theme] .header-button:hover,
body[data-axis-theme] .hero-button:hover,
body[data-axis-theme] .toggle-button:hover,
body[data-axis-theme] .profile-toggle-button[aria-pressed="true"],
body[data-axis-theme] .axis-drawing-tool.is-active,
body[data-axis-theme] .axis-drawing-color.is-active,
body[data-axis-theme] .header-auth-menu-item:hover {
  border-color: rgba(var(--axis-theme-accent-rgb), 0.74) !important;
  background-color: rgba(var(--axis-theme-accent-rgb), 0.12) !important;
  color: var(--axis-theme-accent-strong) !important;
}

body[data-axis-theme] .selector-menu,
body[data-axis-theme] .site-main,
body[data-axis-theme] .landing-card,
body[data-axis-theme] .landing-modules article,
body[data-axis-theme] .landing-metric,
body[data-axis-theme] .dashboard-tile,
body[data-axis-theme] .home-feature-card,
body[data-axis-theme] .module-card,
body[data-axis-theme] .terminal-shell,
body[data-axis-theme] .chart-shell,
body[data-axis-theme] .orderbook-chart-shell,
body[data-axis-theme] .orderbook-chart-frame,
body[data-axis-theme] .orderbook-panel,
body[data-axis-theme] .orderbook-terminal-shell,
body[data-axis-theme] .orderbook-terminal-chart-frame,
body[data-axis-theme] .spot-depth-shell,
body[data-axis-theme] .spot-depth-panel,
body[data-axis-theme] .spot-depth-canvas-shell,
body[data-axis-theme] .options-chain-shell,
body[data-axis-theme] .options-chain-card,
body[data-axis-theme] .knowledge-shell,
body[data-axis-theme] .knowledge-panel,
body[data-axis-theme] .macro-card,
body[data-axis-theme] .market-metric-chart-frame,
body[data-axis-theme] .market-metric-terminal-chart-frame {
  border-color: rgba(var(--axis-theme-accent-rgb), 0.24) !important;
  background-color: rgba(var(--axis-theme-panel-rgb), 0.96) !important;
}

body[data-axis-theme][data-axis-theme-gradient="on"] .dashboard-tile,
body[data-axis-theme][data-axis-theme-gradient="on"] .terminal-shell,
body[data-axis-theme][data-axis-theme-gradient="on"] .chart-shell,
body[data-axis-theme][data-axis-theme-gradient="on"] .orderbook-chart-frame,
body[data-axis-theme][data-axis-theme-gradient="on"] .orderbook-panel,
body[data-axis-theme][data-axis-theme-gradient="on"] .spot-depth-panel,
body[data-axis-theme][data-axis-theme-gradient="on"] .market-metric-chart-frame,
body[data-axis-theme][data-axis-theme-gradient="on"] .market-metric-terminal-chart-frame {
  background-image:
    radial-gradient(circle at 18% 0%, rgba(var(--axis-theme-accent-rgb), 0.11), transparent 42%),
    linear-gradient(155deg, rgba(var(--axis-theme-panel-rgb), 0.98), rgba(var(--axis-theme-bg-rgb), 0.96)) !important;
}

body[data-axis-theme] .chart-surface,
body[data-axis-theme] .market-metric-chart-frame,
body[data-axis-theme] .market-metric-terminal-chart-frame,
body[data-axis-theme] .orderbook-chart-frame,
body[data-axis-theme] .orderbook-terminal-chart-frame,
body[data-axis-theme] .spot-depth-canvas-shell {
  background-color: var(--axis-theme-bg) !important;
  background-image: none !important;
  background-size: auto !important;
}

body[data-axis-theme][data-axis-theme-gradient="on"] .chart-surface,
body[data-axis-theme][data-axis-theme-gradient="on"] .market-metric-chart-frame,
body[data-axis-theme][data-axis-theme-gradient="on"] .market-metric-terminal-chart-frame,
body[data-axis-theme][data-axis-theme-gradient="on"] .orderbook-chart-frame,
body[data-axis-theme][data-axis-theme-gradient="on"] .orderbook-terminal-chart-frame,
body[data-axis-theme][data-axis-theme-gradient="on"] .spot-depth-canvas-shell {
  background-image:
    radial-gradient(circle at 50% 44%, rgba(var(--axis-theme-accent-rgb), 0.055), transparent 38%),
    linear-gradient(145deg, rgba(var(--axis-theme-panel-rgb), 0.34), rgba(var(--axis-theme-bg-rgb), 0.9)) !important;
}

body[data-axis-theme][data-axis-theme-neon="on"] .dashboard-tile,
body[data-axis-theme][data-axis-theme-neon="on"] .terminal-shell,
body[data-axis-theme][data-axis-theme-neon="on"] .chart-shell,
body[data-axis-theme][data-axis-theme-neon="on"] .orderbook-chart-frame,
body[data-axis-theme][data-axis-theme-neon="on"] .orderbook-panel,
body[data-axis-theme][data-axis-theme-neon="on"] .spot-depth-panel,
body[data-axis-theme][data-axis-theme-neon="on"] .market-metric-chart-frame,
body[data-axis-theme][data-axis-theme-neon="on"] .market-metric-terminal-chart-frame {
  box-shadow:
    inset 0 0 0 1px rgba(var(--axis-theme-accent-rgb), 0.08),
    0 0 22px rgba(var(--axis-theme-accent-rgb), 0.10),
    0 20px 58px rgba(0, 0, 0, 0.52) !important;
}

body[data-axis-theme] .brand-subtitle,
body[data-axis-theme] .module-label,
body[data-axis-theme] .dashboard-tile-label,
body[data-axis-theme] .panel-eyebrow,
body[data-axis-theme] .axis-label,
body[data-axis-theme] .selector-item.is-active {
  color: var(--axis-theme-accent) !important;
}

.axis-theme-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
}

.axis-theme-backdrop[hidden] {
  display: none !important;
}

.axis-theme-modal {
  width: min(920px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  border: 1px solid rgba(var(--axis-theme-accent-rgb), 0.34);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(var(--axis-theme-panel-rgb), 0.98), rgba(var(--axis-theme-bg-rgb), 0.98));
  color: var(--axis-theme-text);
  box-shadow:
    0 0 0 1px rgba(var(--axis-theme-accent-rgb), 0.08),
    0 28px 80px rgba(0, 0, 0, 0.72);
}

.axis-theme-modal-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid rgba(var(--axis-theme-accent-rgb), 0.18);
}

.axis-theme-modal-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--axis-theme-accent);
  font: 800 0.72rem "Cascadia Mono", ui-monospace, monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.axis-theme-modal h2,
.axis-theme-modal h3,
.axis-theme-modal p {
  margin: 0;
}

.axis-theme-modal h2 {
  font-size: 1.35rem;
}

.axis-theme-modal p {
  margin-top: 6px;
  color: var(--axis-theme-muted);
  font-size: 0.9rem;
}

.axis-theme-close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(var(--axis-theme-accent-rgb), 0.28);
  border-radius: 8px;
  background: rgba(var(--axis-theme-bg-rgb), 0.8);
  color: var(--axis-theme-text);
  font: 900 0.9rem "Cascadia Mono", ui-monospace, monospace;
  cursor: pointer;
}

.axis-theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(154px, 1fr));
  gap: 12px;
  padding: 18px 22px 8px;
}

.axis-theme-card {
  display: grid;
  gap: 9px;
  min-height: 164px;
  padding: 12px;
  border: 1px solid rgba(var(--axis-theme-accent-rgb), 0.2);
  border-radius: 8px;
  background: rgba(var(--axis-theme-bg-rgb), 0.72);
  color: var(--axis-theme-text);
  text-align: left;
  cursor: pointer;
}

.axis-theme-card.is-active {
  border-color: rgba(var(--axis-theme-accent-rgb), 0.82);
  box-shadow: 0 0 18px rgba(var(--axis-theme-accent-rgb), 0.18);
}

.axis-theme-preview {
  position: relative;
  display: grid;
  align-content: end;
  gap: 5px;
  height: 74px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--preview-accent) 36%, transparent);
  border-radius: 7px;
  background:
    linear-gradient(color-mix(in srgb, var(--preview-accent) 11%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--preview-accent) 8%, transparent) 1px, transparent 1px),
    linear-gradient(145deg, var(--preview-panel), var(--preview-bg));
  background-size: 24px 24px, 24px 24px, auto;
}

.axis-theme-preview-line {
  display: block;
  height: 4px;
  border-radius: 999px;
}

.axis-theme-preview-line-up {
  width: 74%;
  background: var(--preview-up);
}

.axis-theme-preview-line-down {
  width: 52%;
  margin-left: auto;
  background: var(--preview-down);
}

.axis-theme-preview-line-accent {
  width: 88%;
  background: var(--preview-accent);
}

.axis-theme-card-title {
  font-weight: 900;
}

.axis-theme-card-description {
  color: var(--axis-theme-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.axis-theme-customizer {
  padding: 14px 22px 22px;
}

.axis-theme-customizer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.axis-theme-customizer h3 {
  font-size: 1rem;
}

.axis-theme-reset {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(var(--axis-theme-accent-rgb), 0.26);
  border-radius: 8px;
  background: rgba(var(--axis-theme-bg-rgb), 0.7);
  color: var(--axis-theme-accent-strong);
  font-weight: 800;
  cursor: pointer;
}

.axis-theme-color-grid,
.axis-theme-toggle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.axis-theme-toggle-grid {
  margin-top: 12px;
}

.axis-theme-color-field,
.axis-theme-toggle-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid rgba(var(--axis-theme-accent-rgb), 0.16);
  border-radius: 8px;
  background: rgba(var(--axis-theme-bg-rgb), 0.54);
  color: var(--axis-theme-muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.axis-theme-color-field {
  align-items: flex-start;
  flex-wrap: wrap;
}

.axis-theme-color-current {
  width: 30px;
  height: 22px;
  border: 1px solid rgba(var(--axis-theme-accent-rgb), 0.34);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 42%),
    var(--axis-theme-current-color);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.58),
    0 0 10px rgba(var(--axis-theme-accent-rgb), 0.10);
}

.axis-theme-color-swatches {
  display: grid;
  flex: 1 0 100%;
  grid-template-columns: repeat(6, minmax(22px, 1fr));
  gap: 7px;
}

.axis-theme-color-swatch {
  aspect-ratio: 1;
  min-width: 0;
  padding: 0;
  border: 1px solid rgba(var(--axis-theme-accent-rgb), 0.20);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 42%),
    var(--axis-theme-swatch-color);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.58);
}

.axis-theme-color-swatch:hover,
.axis-theme-color-swatch:focus-visible,
.axis-theme-color-swatch.is-active {
  border-color: rgba(var(--axis-theme-accent-rgb), 0.86);
  outline: none;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.58),
    0 0 12px rgba(var(--axis-theme-accent-rgb), 0.24);
}

.axis-theme-toggle-field {
  justify-content: flex-start;
  cursor: pointer;
}

.axis-theme-toggle-field input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.axis-theme-toggle-visual {
  position: relative;
  width: 38px;
  height: 22px;
  border: 1px solid rgba(var(--axis-theme-accent-rgb), 0.24);
  border-radius: 999px;
  background: rgba(var(--axis-theme-bg-rgb), 0.82);
}

.axis-theme-toggle-visual::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--axis-theme-muted);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.axis-theme-toggle-field input:checked + .axis-theme-toggle-visual::after {
  transform: translateX(16px);
  background: var(--axis-theme-accent);
  box-shadow: 0 0 10px rgba(var(--axis-theme-accent-rgb), 0.45);
}

.indicator-color-controls {
  grid-template-columns: 28px minmax(0, 1fr);
}

.indicator-color-swatches {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(6, minmax(22px, 1fr));
  gap: 6px;
}

.indicator-color-swatch {
  aspect-ratio: 1;
  min-width: 0;
  border: 1px solid rgba(255, 215, 0, 0.24);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 36%),
    var(--indicator-swatch-color);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.54);
}

.indicator-color-swatch:hover,
.indicator-color-swatch:focus-visible,
.indicator-color-swatch.is-active {
  border-color: rgba(255, 215, 0, 0.82);
  outline: none;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.54),
    0 0 10px rgba(255, 215, 0, 0.24);
}

.axis-color-preset-menu {
  position: fixed;
  z-index: 9000;
  display: grid;
  grid-template-columns: repeat(6, 28px);
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(var(--axis-theme-accent-rgb, 255, 215, 0), 0.32);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), transparent 44%),
    rgba(var(--axis-theme-bg-rgb, 0, 0, 0), 0.96);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.axis-color-preset-menu[hidden] {
  display: none !important;
}

.axis-color-preset-swatch {
  width: 28px;
  height: 28px;
  min-width: 0;
  padding: 0;
  border: 1px solid rgba(248, 251, 255, 0.26);
  border-radius: 9px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 38%),
    var(--axis-color-preset, #ffd700);
  cursor: pointer;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.55),
    0 0 14px color-mix(in srgb, var(--axis-color-preset, #ffd700), transparent 72%);
}

.axis-color-preset-swatch:hover,
.axis-color-preset-swatch:focus-visible,
.axis-color-preset-swatch.is-active {
  border-color: rgba(var(--axis-theme-accent-rgb, 255, 215, 0), 0.92);
  outline: none;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.55),
    0 0 0 2px rgba(var(--axis-theme-accent-rgb, 255, 215, 0), 0.18),
    0 0 18px color-mix(in srgb, var(--axis-color-preset, #ffd700), transparent 58%);
}

.axis-color-preview,
.profile-color-preview,
.spot-depth-color-preview {
  cursor: pointer;
  touch-action: manipulation;
}

@media (max-width: 640px) {
  .axis-theme-backdrop {
    padding: 10px;
  }

  .axis-theme-modal-header,
  .axis-theme-customizer {
    padding-inline: 14px;
  }

  .axis-theme-grid {
    grid-template-columns: 1fr;
    padding-inline: 14px;
  }
}

/* AXIS premium theme system v2 */
body[data-axis-theme] {
  --axis-premium-border: rgba(var(--axis-theme-accent-rgb), 0.24);
  --axis-premium-border-strong: rgba(var(--axis-theme-accent-rgb), 0.48);
  --axis-premium-surface: rgba(var(--axis-theme-panel-rgb), 0.92);
  --axis-premium-surface-strong: rgba(var(--axis-theme-panel-rgb), 0.98);
  --axis-premium-surface-soft: rgba(var(--axis-theme-bg-rgb), 0.62);
  --axis-premium-glow: rgba(var(--axis-theme-accent-rgb), 0.14);
  --axis-premium-shadow: 0 22px 64px rgba(0, 0, 0, 0.52);
  --axis-premium-shadow-tight: 0 10px 28px rgba(0, 0, 0, 0.38);
  --axis-premium-highlight: rgba(255, 255, 255, 0.055);
  background:
    linear-gradient(145deg, rgba(var(--axis-theme-bg-rgb), 1) 0%, rgba(var(--axis-theme-panel-rgb), 0.84) 54%, rgba(var(--axis-theme-bg-rgb), 1) 100%) !important;
}

body[data-axis-theme] .site-background {
  background:
    linear-gradient(115deg, rgba(var(--axis-theme-accent-rgb), 0.085) 0%, transparent 27%, transparent 72%, rgba(var(--axis-theme-up-rgb), 0.045) 100%),
    linear-gradient(180deg, rgba(var(--axis-theme-bg-rgb), 0.98), rgba(var(--axis-theme-panel-rgb), 0.72) 42%, rgba(var(--axis-theme-bg-rgb), 0.98)) !important;
}

body[data-axis-theme-gradient="off"] .site-background {
  background: var(--axis-theme-bg) !important;
}

body[data-axis-theme] .background-grid {
  display: none !important;
}

body[data-axis-theme] .background-glow,
body[data-axis-theme] .background-glow-left,
body[data-axis-theme] .background-glow-right {
  display: none !important;
}

body[data-axis-theme] .site-header,
body[data-axis-theme] .chart-toolbar-row,
body[data-axis-theme] .chart-toolbar-left,
body[data-axis-theme] .chart-toolbar-right,
body[data-axis-theme] .orderbook-toolbar,
body[data-axis-theme] .orderbook-terminal-toolbar,
body[data-axis-theme] .footprint-toolbar,
body[data-axis-theme] .spot-depth-toolbar,
body[data-axis-theme] .flow-terminal-toolbar,
body[data-axis-theme] .fund-terminal-toolbar,
body[data-axis-theme] .market-metric-terminal-toolbar,
body[data-axis-theme] .open-interest-page-toolbar,
body[data-axis-theme] .profile-terminal-toolbar {
  border-color: var(--axis-premium-border) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 44%),
    linear-gradient(135deg, rgba(var(--axis-theme-panel-rgb), 0.96), rgba(var(--axis-theme-bg-rgb), 0.94)) !important;
  box-shadow:
    inset 0 1px 0 var(--axis-premium-highlight),
    inset 0 -1px 0 rgba(var(--axis-theme-accent-rgb), 0.055),
    0 14px 40px rgba(0, 0, 0, 0.42) !important;
  backdrop-filter: blur(18px) saturate(1.18);
}

body[data-axis-theme] .brand-mark,
body[data-axis-theme] .selector-trigger,
body[data-axis-theme] .selector-item,
body[data-axis-theme] .nav-link,
body[data-axis-theme] .header-button,
body[data-axis-theme] .hero-button,
body[data-axis-theme] .toggle-button,
body[data-axis-theme] .profile-toggle-button,
body[data-axis-theme] .tick-stepper,
body[data-axis-theme] .axis-share-trigger,
body[data-axis-theme] .axis-drawing-toolbar,
body[data-axis-theme] .axis-drawing-tool,
body[data-axis-theme] .axis-drawing-color,
body[data-axis-theme] .header-auth-name,
body[data-axis-theme] .header-auth-login,
body[data-axis-theme] .header-auth-menu,
body[data-axis-theme] .header-auth-menu-item,
body[data-axis-theme] .chart-layout-sync-switch {
  border-color: rgba(var(--axis-theme-accent-rgb), 0.26) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), transparent 42%),
    linear-gradient(145deg, rgba(var(--axis-theme-panel-rgb), 0.88), rgba(var(--axis-theme-bg-rgb), 0.9)) !important;
  color: var(--axis-theme-text) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    inset 0 0 0 1px rgba(var(--axis-theme-accent-rgb), 0.035),
    var(--axis-premium-shadow-tight) !important;
}

body[data-axis-theme] .selector-trigger:hover,
body[data-axis-theme] .selector-trigger[aria-expanded="true"],
body[data-axis-theme] .selector-item:hover,
body[data-axis-theme] .selector-item.is-active,
body[data-axis-theme] .nav-link:hover,
body[data-axis-theme] .header-button:hover,
body[data-axis-theme] .hero-button:hover,
body[data-axis-theme] .toggle-button:hover,
body[data-axis-theme] .profile-toggle-button[aria-pressed="true"],
body[data-axis-theme] .axis-drawing-tool.is-active,
body[data-axis-theme] .axis-drawing-color.is-active,
body[data-axis-theme] .header-auth-menu-item:hover {
  border-color: rgba(var(--axis-theme-accent-rgb), 0.62) !important;
  background:
    linear-gradient(180deg, rgba(var(--axis-theme-accent-rgb), 0.16), rgba(var(--axis-theme-accent-rgb), 0.055)),
    linear-gradient(145deg, rgba(var(--axis-theme-panel-rgb), 0.96), rgba(var(--axis-theme-bg-rgb), 0.94)) !important;
  color: var(--axis-theme-accent-strong) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 0 1px rgba(var(--axis-theme-accent-rgb), 0.11),
    0 14px 34px rgba(0, 0, 0, 0.44) !important;
}

body[data-axis-theme] .dashboard-tile,
body[data-axis-theme] .dashboard-chart-tile,
body[data-axis-theme] .chart-shell,
body[data-axis-theme] .terminal-shell,
body[data-axis-theme] .module-card,
body[data-axis-theme] .home-feature-card,
body[data-axis-theme] .landing-card,
body[data-axis-theme] .landing-modules article,
body[data-axis-theme] .landing-metric,
body[data-axis-theme] .orderbook-chart-shell,
body[data-axis-theme] .orderbook-panel,
body[data-axis-theme] .orderbook-terminal-shell,
body[data-axis-theme] .spot-depth-shell,
body[data-axis-theme] .spot-depth-panel,
body[data-axis-theme] .options-chain-shell,
body[data-axis-theme] .options-chain-card,
body[data-axis-theme] .knowledge-shell,
body[data-axis-theme] .knowledge-panel,
body[data-axis-theme] .macro-card,
body[data-axis-theme] .macro-panel,
body[data-axis-theme] .market-metric-shell,
body[data-axis-theme] .profile-shell,
body[data-axis-theme] .flow-shell,
body[data-axis-theme] .market-metric-chart-frame,
body[data-axis-theme] .market-metric-terminal-chart-frame {
  border-color: var(--axis-premium-border) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 26%),
    linear-gradient(142deg, rgba(var(--axis-theme-panel-rgb), 0.96), rgba(var(--axis-theme-bg-rgb), 0.955)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.044),
    inset 0 0 0 1px rgba(var(--axis-theme-accent-rgb), 0.034),
    var(--axis-premium-shadow) !important;
}

body[data-axis-theme][data-axis-theme-gradient="on"] .dashboard-tile,
body[data-axis-theme][data-axis-theme-gradient="on"] .dashboard-chart-tile,
body[data-axis-theme][data-axis-theme-gradient="on"] .chart-shell,
body[data-axis-theme][data-axis-theme-gradient="on"] .terminal-shell,
body[data-axis-theme][data-axis-theme-gradient="on"] .orderbook-panel,
body[data-axis-theme][data-axis-theme-gradient="on"] .spot-depth-panel,
body[data-axis-theme][data-axis-theme-gradient="on"] .market-metric-chart-frame,
body[data-axis-theme][data-axis-theme-gradient="on"] .market-metric-terminal-chart-frame {
  background-image:
    linear-gradient(122deg, rgba(var(--axis-theme-accent-rgb), 0.095) 0%, transparent 28%, transparent 68%, rgba(var(--axis-theme-up-rgb), 0.055) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.042), transparent 30%),
    linear-gradient(142deg, rgba(var(--axis-theme-panel-rgb), 0.965), rgba(var(--axis-theme-bg-rgb), 0.955)) !important;
}

body[data-axis-theme] .tile-placeholder,
body[data-axis-theme] .chart-surface,
body[data-axis-theme] .price-chart-panel,
body[data-axis-theme] .volume-chart-panel,
body[data-axis-theme] .chart-stack,
body[data-axis-theme] canvas.chart-canvas,
body[data-axis-theme] .chart-embed,
body[data-axis-theme] .orderbook-chart-frame,
body[data-axis-theme] .orderbook-terminal-chart-frame,
body[data-axis-theme] .spot-depth-canvas-shell,
body[data-axis-theme] .footprint-chart-frame,
body[data-axis-theme] .open-interest-tile-chart-frame,
body[data-axis-theme] .open-interest-chart-frame,
body[data-axis-theme] .open-interest-page-chart-frame,
body[data-axis-theme] .flow-tile-chart,
body[data-axis-theme] .flow-terminal-chart-frame,
body[data-axis-theme] .funding-terminal-chart-frame {
  border-color: rgba(var(--axis-theme-accent-rgb), 0.18) !important;
  background:
    linear-gradient(180deg, rgba(var(--axis-theme-panel-rgb), 0.36), rgba(var(--axis-theme-bg-rgb), 0.98)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.032),
    inset 0 0 0 1px rgba(var(--axis-theme-accent-rgb), 0.028) !important;
}

body[data-axis-theme][data-axis-theme-gradient="on"] .chart-surface,
body[data-axis-theme][data-axis-theme-gradient="on"] .price-chart-panel,
body[data-axis-theme][data-axis-theme-gradient="on"] .volume-chart-panel,
body[data-axis-theme][data-axis-theme-gradient="on"] .orderbook-chart-frame,
body[data-axis-theme][data-axis-theme-gradient="on"] .orderbook-terminal-chart-frame,
body[data-axis-theme][data-axis-theme-gradient="on"] .spot-depth-canvas-shell,
body[data-axis-theme][data-axis-theme-gradient="on"] .chart-embed {
  background-image:
    linear-gradient(118deg, rgba(var(--axis-theme-accent-rgb), 0.038), transparent 26%, transparent 76%, rgba(var(--axis-theme-up-rgb), 0.026)),
    linear-gradient(180deg, rgba(var(--axis-theme-panel-rgb), 0.34), rgba(var(--axis-theme-bg-rgb), 0.98)) !important;
}

body[data-axis-theme-neon="on"] .dashboard-tile,
body[data-axis-theme-neon="on"] .dashboard-chart-tile,
body[data-axis-theme-neon="on"] .chart-shell,
body[data-axis-theme-neon="on"] .terminal-shell,
body[data-axis-theme-neon="on"] .orderbook-chart-frame,
body[data-axis-theme-neon="on"] .orderbook-panel,
body[data-axis-theme-neon="on"] .spot-depth-panel,
body[data-axis-theme-neon="on"] .market-metric-chart-frame,
body[data-axis-theme-neon="on"] .market-metric-terminal-chart-frame {
  box-shadow:
    inset 0 0 0 1px rgba(var(--axis-theme-accent-rgb), 0.10),
    0 0 26px rgba(var(--axis-theme-accent-rgb), 0.13),
    0 22px 68px rgba(0, 0, 0, 0.56) !important;
}

body[data-axis-theme] .brand-title,
body[data-axis-theme] h1,
body[data-axis-theme] h2,
body[data-axis-theme] h3 {
  color: var(--axis-theme-text) !important;
  letter-spacing: 0 !important;
  text-shadow: 0 0 18px rgba(var(--axis-theme-accent-rgb), 0.09);
}

body[data-axis-theme] .brand-subtitle,
body[data-axis-theme] .module-label,
body[data-axis-theme] .dashboard-tile-label,
body[data-axis-theme] .panel-eyebrow,
body[data-axis-theme] .axis-label,
body[data-axis-theme] .section-label,
body[data-axis-theme] .eyebrow,
body[data-axis-theme] .tile-badge,
body[data-axis-theme] .selector-item.is-active {
  color: var(--axis-theme-accent) !important;
  text-shadow: 0 0 12px rgba(var(--axis-theme-accent-rgb), 0.18) !important;
}

body[data-axis-theme] .axis-theme-backdrop {
  background:
    linear-gradient(135deg, rgba(var(--axis-theme-bg-rgb), 0.86), rgba(0, 0, 0, 0.74)) !important;
  backdrop-filter: blur(16px) saturate(1.08);
}

body[data-axis-theme] .axis-theme-modal {
  width: min(1040px, 100%) !important;
  border-color: rgba(var(--axis-theme-accent-rgb), 0.34) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 26%),
    linear-gradient(135deg, rgba(var(--axis-theme-panel-rgb), 0.985), rgba(var(--axis-theme-bg-rgb), 0.99)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(var(--axis-theme-accent-rgb), 0.08),
    0 34px 96px rgba(0, 0, 0, 0.78) !important;
}

body[data-axis-theme] .axis-theme-modal-header {
  border-bottom-color: rgba(var(--axis-theme-accent-rgb), 0.2) !important;
  background:
    linear-gradient(90deg, rgba(var(--axis-theme-accent-rgb), 0.11), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent) !important;
}

body[data-axis-theme] .axis-theme-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  gap: 14px !important;
}

body[data-axis-theme] .axis-theme-card {
  min-height: 194px !important;
  padding: 13px !important;
  border-color: rgba(var(--axis-theme-accent-rgb), 0.22) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 36%),
    linear-gradient(145deg, var(--preview-panel), var(--preview-bg)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.052),
    0 18px 42px rgba(0, 0, 0, 0.36) !important;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body[data-axis-theme] .axis-theme-card:hover,
body[data-axis-theme] .axis-theme-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--preview-accent) !important;
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.062),
    0 0 0 1px rgba(var(--axis-theme-accent-rgb), 0.12),
    0 22px 52px rgba(0, 0, 0, 0.44) !important;
}

body[data-axis-theme] .axis-theme-card.is-active {
  border-color: var(--preview-accent) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.062),
    0 0 0 1px rgba(var(--axis-theme-accent-rgb), 0.18),
    0 0 28px rgba(var(--axis-theme-accent-rgb), 0.16),
    0 24px 56px rgba(0, 0, 0, 0.48) !important;
}

body[data-axis-theme] .axis-theme-preview {
  height: 92px !important;
  padding: 12px !important;
  border-color: rgba(var(--axis-theme-accent-rgb), 0.34) !important;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.07) 0%, transparent 35%, transparent 72%, rgba(255, 255, 255, 0.035) 100%),
    linear-gradient(180deg, var(--preview-panel), var(--preview-bg)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(var(--axis-theme-accent-rgb), 0.14);
}

body[data-axis-theme] .axis-theme-preview::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 12px;
  height: 22px;
  border-bottom: 1px solid rgba(var(--axis-theme-accent-rgb), 0.18);
  background:
    linear-gradient(90deg, var(--preview-down) 0 6px, transparent 6px 14px, var(--preview-up) 14px 19px, transparent 19px 29px, var(--preview-accent) 29px 33px, transparent 33px 46px, var(--preview-up) 46px 51px, transparent 51px 66px, var(--preview-down) 66px 71px, transparent 71px 100%);
  opacity: 0.85;
}

body[data-axis-theme] .axis-theme-preview-line {
  height: 5px !important;
  box-shadow: 0 0 12px currentColor;
}

body[data-axis-theme] .axis-theme-card-title {
  color: var(--axis-theme-text) !important;
  font-size: 0.95rem;
}

body[data-axis-theme] .axis-theme-card-description {
  color: var(--axis-theme-muted) !important;
}

body[data-axis-theme] .axis-theme-color-field,
body[data-axis-theme] .axis-theme-toggle-field {
  border-color: rgba(var(--axis-theme-accent-rgb), 0.18) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    rgba(var(--axis-theme-bg-rgb), 0.58) !important;
}

body[data-axis-theme] .axis-theme-color-current,
body[data-axis-theme] .axis-theme-color-swatch,
body[data-axis-theme] .indicator-color-swatch {
  border-color: rgba(var(--axis-theme-accent-rgb), 0.24) !important;
  border-radius: 8px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(0, 0, 0, 0.58),
    0 8px 20px rgba(0, 0, 0, 0.28) !important;
}
