:root {
  --bg: #0f1115;
  --panel: #151a22;
  --panel-2: #1b2331;
  --text: #e6edf3;
  --muted: #98a2b3;
  --accent: #5be3c6;
  --accent-2: #62b7ff;
  --danger: #ff7a7a;
  --ok: #7cffb5;
  --border: #2a3344;
  --glow: rgba(98, 183, 255, 0.2);
  --card: rgba(18, 24, 34, 0.9);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 10% -10%, #1b2333 0%, transparent 60%),
    radial-gradient(900px 500px at 90% 0%, #142536 0%, transparent 55%),
    linear-gradient(180deg, #0f1115 0%, #10151d 100%),
    var(--bg);
  min-height: 100vh;
}

.bg {
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg, rgba(98, 183, 255, 0.06), rgba(91, 227, 198, 0.05));
  pointer-events: none;
  mix-blend-mode: screen;
}

.term-top-tape {
  position: relative;
  z-index: 2;
  margin: 10px 24px 0;
  border: 1px solid #2f4258;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(11, 19, 31, 0.98), rgba(9, 15, 24, 0.98));
  padding: 4px 8px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  min-height: 34px;
}

.term-top-tape-head {
  min-width: 0;
}

.term-top-tape-head-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.term-top-tape-quote-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid #36506d;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(10, 18, 29, 0.92);
}

.term-top-tape-quote-btn {
  min-height: 20px;
  padding: 0 8px;
  border: 0;
  border-right: 1px solid rgba(58, 83, 112, 0.8);
  background: transparent;
  color: #89a3c4;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.term-top-tape-quote-btn:last-child {
  border-right: 0;
}

.term-top-tape-quote-btn:hover {
  color: #e3eefc;
  background: rgba(18, 31, 46, 0.82);
}

.term-top-tape-quote-btn.is-active {
  background: linear-gradient(180deg, rgba(29, 45, 66, 0.96), rgba(14, 24, 38, 0.98));
  color: #f1f7ff;
  box-shadow: inset 0 0 0 1px rgba(119, 167, 217, 0.18);
}

.term-top-tape-info .info-tip {
  width: 14px;
  height: 14px;
  font-size: 9px;
}

.term-top-tape-info .info-tip-bubble {
  min-width: 250px;
}

.term-top-tape-wrap {
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.term-top-tape-wrap::-webkit-scrollbar {
  display: none;
}

.term-top-tape-empty {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #8fa6c3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.term-tape-track {
  width: max-content;
  min-width: 100%;
  display: flex;
  align-items: center;
}

.term-tape-list {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.term-tape-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  min-width: 0;
  text-decoration: none;
  color: #d7e6fb;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.term-tape-item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: rgba(73, 92, 117, 0.6);
}

.term-tape-item:hover {
  color: #f0f6ff;
  background: rgba(57, 83, 114, 0.18);
}

.term-tape-item-sell .term-tape-value {
  color: #ff9ea5;
}

.term-tape-item-neutral .term-tape-value {
  color: #f5d98a;
}

.term-tape-item-buy .term-tape-value {
  color: #98efc0;
}

.term-tape-logo-wrap {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.term-tape-logo,
.term-tape-fallback {
  position: absolute;
  inset: 0;
  width: 14px;
  height: 14px;
  border-radius: 999px;
}

.term-tape-logo {
  object-fit: cover;
  border: 1px solid #4d698c;
  background: #101926;
}

.term-tape-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
  color: #d7e8ff;
  border: 1px solid #4d698c;
  background: #122338;
}

.term-tape-logo-hidden {
  display: none !important;
}

.term-tape-symbol,
.term-tape-name {
  color: #e2ecfb;
  font-weight: 700;
  letter-spacing: 0.1px;
}

.term-tape-value {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-weight: 700;
  color: #8fc1f1;
}

.term-floating-tooltip {
  position: fixed;
  left: -9999px;
  top: -9999px;
  width: min(1280px, 97vw);
  border: 1px solid #3a4f69;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(10, 17, 27, 0.99), rgba(8, 13, 21, 0.99));
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  padding: 7px 8px;
  z-index: 1300;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 70ms linear, transform 70ms linear;
}

.term-floating-tooltip.is-visible {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.ttf-root {
  display: grid;
  gap: 6px;
  font-family: "JetBrains Mono", monospace;
}

.ttf-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid rgba(73, 93, 118, 0.55);
  padding-bottom: 4px;
}

.ttf-head-symbol {
  color: #e8f0fc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ttf-head-rank {
  color: #f4ce86;
  font-size: 12px;
  font-weight: 700;
}

.ttf-kv-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.ttf-kv {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ttf-kv span {
  color: #8ea6c4;
  font-size: 10px;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}

.ttf-kv b {
  color: #eaf2ff;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ttf-kv small {
  color: #8fb2d7;
  font-size: 10px;
  line-height: 1.1;
}

.ttf-kv-imbalance-buy b {
  color: #6ee7d7;
}

.ttf-kv-imbalance-sell b {
  color: #ff9b6f;
}

.ttf-kv-imbalance-neutral b {
  color: #a8bbd4;
}

.ttf-table {
  display: block;
  border-top: 1px solid rgba(67, 88, 113, 0.45);
  overflow-x: auto;
  overflow-y: hidden;
}

.ttf-tr {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1.4fr)
    minmax(0, 0.86fr)
    minmax(0, 0.86fr)
    52px
    minmax(0, 0.68fr)
    minmax(0, 0.8fr)
    minmax(0, 0.8fr)
    minmax(0, 0.76fr)
    minmax(0, 0.8fr)
    minmax(0, 0.8fr)
    minmax(0, 0.66fr)
    minmax(0, 0.8fr);
  gap: 8px;
  align-items: center;
  min-width: 1680px;
  min-height: 20px;
  padding: 2px 0;
  border-bottom: 1px solid rgba(35, 50, 68, 0.75);
}

.ttf-th {
  min-height: 18px;
  color: #8ea4bf;
  font-size: 10px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.ttf-tr span,
.ttf-tr a {
  font-size: 11px;
  color: #dce8f8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ttf-tr .c-addr {
  color: #9ec5ef;
}

.ttf-tr .c-addr-link {
  text-decoration: none;
}

.ttf-tr .c-addr-link:hover {
  color: #d9ecff;
  text-decoration: underline;
}

.ttf-tr .c-bin,
.ttf-th .c-bin {
  text-align: right;
}

.ttf-tr .c-bid,
.ttf-th .c-bid,
.ttf-tr .c-ask,
.ttf-th .c-ask,
.ttf-tr .c-fee-tier,
.ttf-th .c-fee-tier,
.ttf-tr .c-volume,
.ttf-th .c-volume,
.ttf-tr .c-fees,
.ttf-th .c-fees,
.ttf-tr .c-fee-tvl,
.ttf-th .c-fee-tvl,
.ttf-tr .c-tvl,
.ttf-th .c-tvl,
.ttf-tr .c-market-cap,
.ttf-th .c-market-cap,
.ttf-tr .c-holders,
.ttf-th .c-holders,
.ttf-tr .c-pool-price,
.ttf-th .c-pool-price {
  text-align: right;
}

.ttf-th .c-bid {
  color: #6ee7d7;
}

.ttf-th .c-ask {
  color: #ff9b6f;
}

.ttf-th .c-volume {
  color: #80c6ff;
}

.ttf-th .c-fees {
  color: #ffc27f;
}

.ttf-th .c-fee-tvl {
  color: #9bc8ff;
}

.ttf-tr .c-bid {
  display: grid;
  justify-items: end;
  gap: 1px;
  color: #7ee3d0;
}

.ttf-tr .c-ask {
  display: grid;
  justify-items: end;
  gap: 1px;
  color: #f6c27a;
}

.ttf-cell-main {
  color: inherit;
  font-size: 11px;
  line-height: 1.15;
}

.ttf-cell-sub {
  color: #8fb2d7;
  font-size: 10px;
  line-height: 1.1;
}

.ttf-tr .c-fee-tier {
  color: #f0cc89;
}

.ttf-empty {
  color: #8ca4c0;
  font-size: 11px;
  padding: 6px 0 2px;
}

@keyframes termTapeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 40px 10px;
}

.hero h1 {
  margin: 0 0 6px 0;
  font-size: 28px;
  letter-spacing: 0.3px;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.controls {
  display: grid;
  gap: 16px;
  padding: 12px 40px 20px;
}

.filters-shell {
  gap: 10px;
}

.filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(58, 77, 103, 0.55);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(14, 21, 31, 0.85), rgba(17, 26, 38, 0.74));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(120, 169, 224, 0.05) inset;
  padding: 10px 14px;
}

.filters-head-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.filters-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filters-head-actions .btn {
  padding: 8px 14px;
}

.btn-filter-toggle {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  border-color: rgba(98, 183, 255, 0.45);
}

.quick-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(91, 227, 198, 0.4);
  background: rgba(91, 227, 198, 0.1);
  color: #b9ece2;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.quick-toggle input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: var(--accent);
}

.filters-top-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.filters-top-grid.collapsed {
  display: none;
}

.filters-top-grid .controls-block {
  min-width: 0;
}

.controls-block {
  border: 1px solid rgba(42, 51, 68, 0.75);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(20, 30, 43, 0.78), rgba(15, 22, 32, 0.72));
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  padding: 12px;
}

.controls-title {
  font-size: 11px;
  font-weight: 700;
  color: #d6e3f4;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(79, 99, 128, 0.35);
}

.controls-block-sol {
  border-color: rgba(91, 227, 198, 0.35);
}

.controls-block-token {
  border-color: rgba(255, 164, 96, 0.35);
}

.controls-block-ranking {
  border-color: rgba(98, 183, 255, 0.35);
}

.controls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.controls-grid-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.controls-grid-ranking {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.controls-grid-ranking .toggle-wide {
  grid-column: 1 / -1;
}

.control {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.control label {
  font-size: 11px;
  color: #a9b8cd;
  letter-spacing: 0.3px;
}

.control input,
.control select {
  height: 42px;
  background: rgba(20, 30, 43, 0.82);
  border: 1px solid rgba(62, 82, 108, 0.7);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 10px;
  font-family: "JetBrains Mono", monospace;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.control input:focus,
.control select:focus {
  outline: none;
  border-color: rgba(98, 183, 255, 0.85);
  box-shadow: 0 0 0 2px rgba(98, 183, 255, 0.2);
  background: rgba(19, 31, 45, 0.95);
}

.control input:disabled,
.control select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  border-color: rgba(62, 82, 108, 0.45);
}

.check-list {
  display: grid;
  gap: 10px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(62, 82, 108, 0.65);
  border-radius: 10px;
  background: rgba(18, 28, 40, 0.72);
  color: #cbd6e4;
  line-height: 1.25;
}

.check-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent-2);
  flex: 0 0 auto;
}

.check-row span {
  font-size: 13px;
}

.check-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(62, 82, 108, 0.65);
  border-radius: 10px;
  background: rgba(18, 28, 40, 0.72);
  color: #cbd6e4;
}

.check-inline input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent-2);
  flex: 0 0 auto;
}

.check-inline span {
  font-size: 13px;
  line-height: 1.2;
  white-space: normal;
}

.controls-block-actions .actions {
  margin-top: 2px;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  grid-column: 1 / -1;
}

.actions-inline {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(79, 99, 128, 0.35);
}

.actions .action-filter {
  margin-left: auto;
  min-width: 420px;
  flex: 1 1 420px;
  max-width: 820px;
}

.actions .action-filter input {
  width: 100%;
}

.btn {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, #1b2a3a, #182433);
  transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.btn:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(91, 227, 198, 0.15);
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(91, 227, 198, 0.25), rgba(98, 183, 255, 0.2));
  border-color: rgba(91, 227, 198, 0.5);
}

.btn-ghost {
  background: linear-gradient(135deg, #1a2431, #17202c);
}

.btn-danger {
  border-color: rgba(255, 122, 122, 0.5);
  background: linear-gradient(135deg, rgba(255, 122, 122, 0.2), rgba(255, 122, 122, 0.08));
  color: #ffd6d6;
}

.btn-danger:hover {
  border-color: rgba(255, 122, 122, 0.9);
  box-shadow: 0 0 0 2px rgba(255, 122, 122, 0.2);
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 0 40px 32px;
}

.grid.single {
  grid-template-columns: 1fr;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  padding: 14px 24px 32px;
  align-items: start;
}

.dashboard-sidebar {
  display: grid;
  gap: 14px;
  align-content: start;
}

.dashboard-content {
  min-width: 0;
  display: grid;
  gap: 14px;
  align-content: start;
}

.dashboard-sidebar-panel,
.dashboard-toolbar {
  border: 1px solid rgba(54, 78, 104, 0.88);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(10, 18, 30, 0.96), rgba(7, 14, 24, 0.96));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.dashboard-sidebar-panel {
  padding: 14px;
}

.dashboard-sidebar-panel h2,
.dashboard-sidebar-panel-head h2 {
  margin: 0;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #ecf4ff;
}

.dashboard-sidebar-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dashboard-sidebar-panel-head span {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7f97b7;
}

.dashboard-sidebar-nav {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.dashboard-sidebar-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(59, 86, 115, 0.86);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(10, 20, 31, 0.84), rgba(8, 15, 26, 0.92));
  color: #d4e4f8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: border-color 90ms linear, color 90ms linear, background-color 90ms linear;
}

.dashboard-sidebar-link:hover {
  border-color: rgba(96, 137, 178, 0.92);
  color: #eff6ff;
}

.dashboard-sidebar-link.is-active {
  border-color: rgba(100, 160, 214, 0.88);
  background: linear-gradient(180deg, rgba(18, 34, 52, 0.95), rgba(10, 18, 30, 0.98));
  box-shadow: inset 0 0 0 1px rgba(123, 185, 239, 0.14);
}

.dashboard-sidebar-link.is-disabled {
  color: #6d86a5;
  border-style: dashed;
  pointer-events: none;
}

.dashboard-sidebar-empty {
  min-height: 108px;
  display: grid;
  align-content: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(38, 54, 73, 0.8);
}

.dashboard-sidebar-empty p {
  margin: 0;
  color: #7891b1;
  font-size: 0.8rem;
  line-height: 1.45;
}

.dashboard-toolbar {
  display: grid;
  gap: 10px;
  padding: 12px 14px;
}

.dashboard-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.dashboard-toolbar-tabs,
.dashboard-toolbar-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dashboard-notification-shell {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dashboard-toolbar-tab,
.dashboard-toolbar-pill {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(57, 82, 114, 0.9);
  border-radius: 4px;
  background: rgba(10, 20, 31, 0.76);
  color: #d3e5fb;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-toolbar-tab.is-active {
  border-color: rgba(101, 140, 176, 0.94);
  background: linear-gradient(180deg, rgba(23, 37, 55, 0.96), rgba(13, 22, 35, 0.98));
  color: #f1f7ff;
}

.dashboard-toolbar-tab.is-disabled {
  color: #6d86a5;
  border-style: dashed;
  opacity: 0.72;
  pointer-events: none;
}

.dashboard-toolbar-pill {
  border-radius: 999px;
  color: #7ee3e0;
}

.dashboard-toolbar-pill-muted {
  color: #9db2cb;
}

.scanner-columns-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.scanner-columns-trigger {
  cursor: pointer;
}

.scanner-columns-popover {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(320px, calc(100vw - 24px));
  max-height: min(62vh, 520px);
  overflow: hidden;
  border: 1px solid rgba(63, 95, 130, 0.9);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(12, 23, 38, 0.98), rgba(8, 16, 28, 0.99));
  box-shadow: 0 18px 38px rgba(2, 7, 14, 0.62), inset 0 1px 0 rgba(117, 161, 209, 0.08);
  padding: 10px;
  z-index: 85;
  display: none;
}

.scanner-columns-menu.is-open .scanner-columns-popover {
  display: grid;
  gap: 8px;
}

.scanner-columns-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  color: #dbe8fb;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.scanner-columns-head strong {
  font-weight: 700;
  color: #edf6ff;
}

.scanner-columns-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.scanner-columns-btn {
  min-height: 28px;
  border: 1px solid rgba(67, 97, 132, 0.88);
  border-radius: 8px;
  background: rgba(14, 26, 42, 0.92);
  color: #d6e7fb;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.scanner-columns-btn:hover {
  border-color: rgba(98, 141, 189, 0.96);
  background: rgba(21, 38, 58, 0.96);
}

.scanner-columns-list {
  max-height: min(48vh, 360px);
  overflow: auto;
  border: 1px solid rgba(50, 77, 103, 0.8);
  border-radius: 8px;
  background: rgba(7, 15, 26, 0.9);
  padding: 6px;
  display: grid;
  gap: 4px;
}

.scanner-columns-item {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 8px;
  border: 1px solid rgba(42, 67, 92, 0.74);
  border-radius: 7px;
  background: rgba(10, 20, 33, 0.9);
}

.scanner-columns-item-name {
  color: #d5e5f8;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
}

.scanner-columns-item-name small {
  color: #89a2bf;
  font-size: 11px;
}

.scanner-columns-item-toggle {
  width: 42px;
  height: 22px;
  margin: 0;
  accent-color: #2e9cf8;
  cursor: pointer;
}

.scanner-columns-item.is-required .scanner-columns-item-toggle {
  cursor: not-allowed;
  opacity: 0.74;
}

.scanner-columns-foot {
  color: #8fa7c3;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dashboard-notification-button {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(57, 82, 114, 0.9);
  border-radius: 999px;
  background: rgba(10, 20, 31, 0.76);
  color: #d3e5fb;
  position: relative;
}

.dashboard-notification-button.is-open {
  border-color: rgba(140, 115, 61, 0.94);
  background: linear-gradient(180deg, rgba(32, 25, 12, 0.86), rgba(17, 14, 9, 0.92));
  color: #f4cb76;
}

.dashboard-notification-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dashboard-notification-icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-notification-dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #7ee3e0;
  box-shadow: 0 0 0 2px rgba(7, 14, 24, 0.92);
}

.dashboard-notification-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 270px;
  max-width: min(320px, calc(100vw - 36px));
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(137, 112, 58, 0.86);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(11, 18, 29, 0.98), rgba(8, 14, 24, 0.99));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  z-index: 35;
}

.dashboard-notification-label {
  color: #f2c66e;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-notification-panel code {
  display: block;
  padding: 10px 12px;
  border: 1px solid rgba(47, 68, 92, 0.9);
  background: rgba(11, 18, 29, 0.92);
  color: #f5f8ff;
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  line-height: 1.45;
  word-break: break-word;
}

.dashboard-notification-empty {
  padding: 10px 12px;
  border: 1px solid rgba(47, 68, 92, 0.9);
  background: rgba(11, 18, 29, 0.92);
  color: #8ea5bf;
  font-size: 12px;
  line-height: 1.45;
}

.dashboard-notification-panel small {
  color: #8ea5bf;
  line-height: 1.45;
}

.dashboard-notification-actions {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
}

.dashboard-premium-chip {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(137, 112, 58, 0.86);
  border-radius: 999px;
  background: rgba(36, 24, 8, 0.56);
  color: #f2c66e;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-premium-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-top: 1px solid rgba(53, 76, 105, 0.88);
  background: linear-gradient(180deg, rgba(9, 17, 28, 0.94), rgba(8, 14, 24, 0.98));
}

.dashboard-premium-panel-compact {
  gap: 12px;
}

.dashboard-premium-panel-copy {
  display: grid;
  gap: 8px;
}

.dashboard-premium-kicker {
  color: #9db2cb;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-premium-panel-copy h3 {
  margin: 0;
  color: #f5f8ff;
  font-size: 22px;
  line-height: 1.1;
}

.dashboard-premium-panel-copy p {
  margin: 0;
  color: #8fa5c1;
  line-height: 1.45;
  font-size: 12px;
}

.dashboard-premium-compact-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-premium-compact-title {
  display: grid;
  gap: 4px;
}

.dashboard-premium-status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(57, 78, 104, 0.9);
  background: rgba(10, 17, 28, 0.9);
  color: #8ea5bf;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-premium-status-chip.is-success {
  border-color: rgba(58, 125, 101, 0.9);
  color: #8cf2cb;
}

.dashboard-premium-status-chip.is-warn {
  border-color: rgba(139, 113, 60, 0.94);
  color: #f4cb76;
}

.dashboard-premium-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dashboard-premium-button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(56, 77, 104, 0.92);
  background: rgba(12, 18, 28, 0.78);
  color: #8da4bf;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-premium-button[disabled] {
  cursor: not-allowed;
  opacity: 1;
}

.dashboard-premium-button-primary {
  border-color: rgba(140, 115, 61, 0.94);
  background: linear-gradient(180deg, rgba(56, 41, 14, 0.82), rgba(34, 24, 8, 0.88));
  color: #f4cb76;
}

.dashboard-premium-price-row {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  align-items: stretch;
  gap: 10px;
}

.dashboard-premium-price-card,
.dashboard-premium-wallet-pill,
.dashboard-premium-empty-note,
.dashboard-premium-link-shell {
  border: 1px solid rgba(47, 68, 92, 0.9);
  background: rgba(11, 18, 29, 0.92);
}

.dashboard-premium-price-card {
  display: grid;
  gap: 5px;
  min-height: 58px;
  padding: 10px 14px;
}

.dashboard-premium-price-card strong {
  color: #f4f7ff;
  font-size: 18px;
  line-height: 1.1;
}

.dashboard-premium-price-card small {
  color: #7f95b0;
  font-size: 11px;
}

.dashboard-premium-wallet-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  padding: 0 12px;
  color: #dce8f8;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-premium-empty-note {
  display: flex;
  align-items: center;
  min-height: 84px;
  padding: 0 14px;
  color: #8ea4bf;
  font-size: 12px;
}

.dashboard-premium-checkout-body {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.dashboard-premium-checkout-body.is-empty {
  grid-template-columns: 1fr;
}

.dashboard-premium-qr-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid rgba(47, 68, 92, 0.9);
  background: rgba(11, 18, 29, 0.92);
}

.dashboard-premium-checkout-main {
  display: grid;
  gap: 10px;
}

.dashboard-premium-link-shell {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
}

.dashboard-premium-link-label {
  color: #89a1bc;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-premium-link-shell code {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #d8e4f2;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}

.dashboard-premium-link-shell small {
  color: #7f95b0;
  font-size: 11px;
  line-height: 1.4;
}

.dashboard-premium-issued-key-shell code {
  white-space: normal;
  overflow-wrap: anywhere;
}

.dashboard-premium-key-verify {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
}

.dashboard-premium-key-field {
  flex: 1 1 280px;
  display: grid;
  gap: 6px;
}

.dashboard-premium-key-field input {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(56, 77, 104, 0.92);
  background: rgba(12, 18, 28, 0.78);
  color: #d8e4f2;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-premium-key-field input:focus {
  outline: none;
  border-color: rgba(139, 113, 60, 0.94);
  box-shadow: 0 0 0 1px rgba(139, 113, 60, 0.3);
}

.dashboard-premium-key-field small {
  color: #7f95b0;
  font-size: 11px;
  line-height: 1.4;
}

.dashboard-premium-email-capture {
  margin-top: 10px;
}

.dashboard-premium-asset-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dashboard-premium-asset-switch-hidden {
  visibility: hidden;
  pointer-events: none;
}

.dashboard-premium-asset-pill {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(54, 75, 101, 0.92);
  background: rgba(10, 18, 30, 0.9);
  color: #8ea5bf;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-premium-asset-pill.is-active {
  border-color: rgba(139, 113, 60, 0.94);
  background: linear-gradient(180deg, rgba(52, 39, 14, 0.82), rgba(30, 21, 8, 0.88));
  color: #f2c76f;
}

.dashboard-premium-qr-frame {
  width: 210px;
  height: 210px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(52, 76, 104, 0.92);
  background: rgba(248, 250, 255, 0.98);
}

.dashboard-premium-qr-frame img {
  width: 196px;
  height: 196px;
  display: block;
  object-fit: contain;
}

.dashboard-premium-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 16px;
  background: linear-gradient(90deg, rgba(91, 227, 198, 0.08), rgba(98, 183, 255, 0.05));
  border-bottom: 1px solid var(--border);
}

.panel-head h2 {
  margin: 0;
  padding: 0;
  font-size: 16px;
}

.panel-head-filter {
  display: grid;
  gap: 4px;
  min-width: min(460px, 52vw);
}

.panel-head-filter label {
  font-size: 10px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #9cb4d1;
}

.panel-head-filter input {
  height: 34px;
  width: 100%;
  border: 1px solid rgba(62, 82, 108, 0.7);
  border-radius: 9px;
  background: rgba(15, 24, 35, 0.86);
  color: var(--text);
  padding: 6px 10px;
  font-family: "JetBrains Mono", monospace;
}

.panel-head-filter input:focus {
  outline: none;
  border-color: rgba(98, 183, 255, 0.85);
  box-shadow: 0 0 0 2px rgba(98, 183, 255, 0.2);
}

.table {
  display: grid;
  gap: 0;
}

#walls {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  min-height: 1260px;
  align-content: start;
}

#walls .wall-overview {
  grid-column: 1 / -1;
}

.wall-shell-placeholder {
  min-height: 94px;
}

.wall-filter-group-placeholder {
  min-width: 0;
}

.wall-shell-pill,
.wall-shell-tab {
  display: inline-block;
  height: 34px;
  border: 1px solid rgba(64, 88, 118, 0.65);
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(22, 34, 49, 0.95), rgba(14, 24, 36, 0.95));
}

.wall-shell-pill {
  width: 86px;
}

.wall-shell-pill-wide {
  width: 114px;
}

.wall-shell-pill-input {
  width: 182px;
}

.wall-shell-tab {
  width: 74px;
}

.wall-card-skeleton {
  min-height: 318px;
  position: relative;
  overflow: hidden;
}

.wall-card-skeleton::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 4px;
  background:
    linear-gradient(90deg, transparent 0%, rgba(113, 150, 201, 0.08) 50%, transparent 100%) 0 0 / 220px 100% no-repeat,
    linear-gradient(180deg, rgba(62, 89, 121, 0.28), rgba(62, 89, 121, 0.28)) 0 0 / 150px 18px no-repeat,
    linear-gradient(180deg, rgba(62, 89, 121, 0.2), rgba(62, 89, 121, 0.2)) 0 36px / 92px 26px no-repeat,
    linear-gradient(180deg, rgba(62, 89, 121, 0.18), rgba(62, 89, 121, 0.18)) 0 88px / 100% 14px no-repeat,
    linear-gradient(180deg, rgba(62, 89, 121, 0.18), rgba(62, 89, 121, 0.18)) 0 126px / 100% 36px no-repeat,
    linear-gradient(180deg, rgba(62, 89, 121, 0.14), rgba(62, 89, 121, 0.14)) 0 182px / 88% 12px no-repeat,
    linear-gradient(180deg, rgba(62, 89, 121, 0.14), rgba(62, 89, 121, 0.14)) 0 212px / 80% 12px no-repeat,
    linear-gradient(180deg, rgba(62, 89, 121, 0.14), rgba(62, 89, 121, 0.14)) 0 242px / 84% 12px no-repeat,
    linear-gradient(180deg, rgba(62, 89, 121, 0.14), rgba(62, 89, 121, 0.14)) 0 272px / 72px 28px no-repeat;
  animation: wallSkeletonSweep 1.7s linear infinite;
}

@keyframes wallSkeletonSweep {
  from {
    background-position:
      -220px 0,
      0 0,
      0 36px,
      0 88px,
      0 126px,
      0 182px,
      0 212px,
      0 242px,
      0 272px;
  }
  to {
    background-position:
      calc(100% + 220px) 0,
      0 0,
      0 36px,
      0 88px,
      0 126px,
      0 182px,
      0 212px,
      0 242px,
      0 272px;
  }
}

#walls .wall-row {
  margin: 0;
  height: 100%;
}

#walls .wall-row.wall-row-expanded {
  grid-column: 1 / -1;
}

.row {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent);
}

.row.group {
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(98, 183, 255, 0.06), rgba(91, 227, 198, 0.04));
}

.row.group.bullish-row {
  border: 1px solid rgba(124, 255, 181, 0.45);
  box-shadow: 0 0 0 1px rgba(124, 255, 181, 0.12) inset;
  background: linear-gradient(135deg, rgba(27, 60, 42, 0.46), rgba(35, 88, 60, 0.34));
}

.row:last-child {
  border-bottom: 0;
}

.wall-overview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(61, 72, 88, 0.8);
  background: linear-gradient(90deg, rgba(255, 167, 76, 0.11), rgba(255, 167, 76, 0.03) 48%, rgba(74, 134, 230, 0.06));
}

.wall-overview-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffcf8a;
  font-weight: 700;
}

.wall-overview-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.wall-overview-pill {
  border-radius: 999px;
  border: 1px solid rgba(255, 183, 107, 0.4);
  background: rgba(255, 183, 107, 0.08);
  color: #ffcf8a;
  padding: 4px 10px;
  font-size: 11px;
  font-family: "JetBrains Mono", monospace;
}

.wall-overview-pill.support {
  border-color: rgba(111, 244, 186, 0.45);
  color: #91ffd0;
  background: rgba(82, 229, 166, 0.1);
}

.wall-overview-pill.resistance {
  border-color: rgba(255, 120, 106, 0.45);
  color: #ffb7ad;
  background: rgba(255, 120, 106, 0.1);
}

.wall-row {
  gap: 12px;
  border: 1px solid rgba(52, 68, 89, 0.72);
  border-radius: 12px;
  margin: 12px 12px 0;
  padding: 14px;
  background: linear-gradient(135deg, rgba(14, 20, 28, 0.95), rgba(10, 16, 24, 0.98));
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.26), 0 0 0 1px rgba(255, 167, 76, 0.07) inset;
  grid-template-rows: auto auto 1fr auto;
  align-content: start;
}

.wall-row::before {
  content: "";
  display: block;
  height: 2px;
  margin: -14px -14px 12px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(90deg, rgba(96, 219, 167, 0.84), rgba(255, 183, 107, 0.88), rgba(252, 121, 105, 0.84));
}

.wall-token-head {
  display: grid;
  grid-template-rows: 34px 30px 1fr;
  gap: 9px;
  min-width: 0;
}

.wall-token-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 34px;
}

.wall-rank {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 183, 107, 0.48);
  background: rgba(255, 183, 107, 0.1);
  color: #ffd49a;
}

.wall-meta-row {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1.2fr) auto;
  grid-template-areas: "price pool bucket";
  gap: 8px;
  align-items: center;
}

.wall-meta-row .pill {
  display: block;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wall-meta-row .pill-ref-price {
  grid-area: price;
}

.wall-meta-row .pill-ref-pool {
  grid-area: pool;
}

.wall-meta-row .pill-bucket {
  grid-area: bucket;
}

.wall-summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-height: 62px;
}

.wall-total {
  border-radius: 9px;
  padding: 8px 10px;
  border: 1px solid rgba(68, 82, 101, 0.66);
  background: rgba(20, 27, 37, 0.72);
  display: grid;
  gap: 3px;
  align-content: center;
}

.wall-total .k {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #91a4be;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wall-total .v {
  font-family: "JetBrains Mono", monospace;
  color: #f3f7ff;
  font-weight: 700;
  font-size: 12px;
}

.wall-total-support {
  border-color: rgba(109, 236, 180, 0.35);
}

.wall-total-resistance {
  border-color: rgba(255, 130, 112, 0.35);
}

.wall-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 246px 130px;
  gap: 12px;
  align-items: start;
}

.wall-section {
  border: 1px solid rgba(55, 71, 92, 0.65);
  border-radius: 11px;
  background: rgba(11, 18, 27, 0.7);
  padding: 10px;
  display: grid;
  grid-template-rows: auto 86px 86px;
  gap: 8px;
  align-content: start;
}

.wall-section-support {
  border-color: rgba(109, 236, 180, 0.28);
  height: 246px;
}

.wall-section-resistance {
  border-color: rgba(255, 130, 112, 0.3);
  height: 246px;
}

.wall-section-structure {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto 86px;
  height: 130px;
}

.wall-section-structure .wall-section-title {
  grid-column: 1 / -1;
}

.wall-section-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  color: #b7c9df;
  font-family: "JetBrains Mono", monospace;
}

.wall-section-title-ladder {
  padding-left: 2px;
  color: #a7bfe0;
}

.wall-chip {
  padding: 10px 12px;
  border: 1px solid rgba(42, 51, 68, 0.55);
  border-radius: 10px;
  background: rgba(14, 19, 27, 0.7);
  display: grid;
  gap: 7px;
  height: 100%;
}

.wall-chip-support {
  border-color: rgba(109, 236, 180, 0.33);
  box-shadow: 0 0 0 1px rgba(109, 236, 180, 0.09) inset;
}

.wall-chip-resistance {
  border-color: rgba(255, 130, 112, 0.35);
  box-shadow: 0 0 0 1px rgba(255, 130, 112, 0.09) inset;
}

.wall-chip-neutral {
  border-color: rgba(113, 166, 255, 0.3);
  box-shadow: 0 0 0 1px rgba(113, 166, 255, 0.08) inset;
}

.wall-chip .label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #9aa6bb;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.info-tip-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.info-tip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid rgba(98, 183, 255, 0.55);
  background: rgba(98, 183, 255, 0.12);
  color: #d9ecff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  font-family: "JetBrains Mono", monospace;
  padding: 0;
  margin: 0;
}

.info-tip-bubble {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  min-width: 240px;
  max-width: min(360px, 72vw);
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(98, 183, 255, 0.45);
  background: rgba(10, 16, 24, 0.98);
  color: #d7e3f4;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
  font-size: 11px;
  line-height: 1.35;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 80ms ease, transform 80ms ease, visibility 80ms ease;
  z-index: 40;
}

.info-tip-bubble::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%) rotate(45deg);
  border-left: 1px solid rgba(98, 183, 255, 0.45);
  border-bottom: 1px solid rgba(98, 183, 255, 0.45);
  background: rgba(10, 16, 24, 0.98);
}

.info-tip-wrap.is-pinned .info-tip-bubble {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.info-tip:hover,
.info-tip:focus {
  border-color: rgba(91, 227, 198, 0.75);
  background: rgba(91, 227, 198, 0.16);
  color: #e9fff8;
  outline: none;
}

.info-tip-wrap.is-pinned .info-tip {
  border-color: rgba(255, 183, 107, 0.82);
  background: rgba(255, 183, 107, 0.2);
  color: #fff4de;
}

@media (max-width: 980px) {
  .info-tip-bubble {
    left: auto;
    right: 0;
    top: calc(100% + 8px);
    transform: translateY(-4px);
    min-width: 220px;
    max-width: min(320px, 82vw);
  }

  .info-tip-bubble::before {
    left: auto;
    right: 8px;
    top: -6px;
    transform: rotate(45deg);
    border-left: 1px solid rgba(98, 183, 255, 0.45);
    border-top: 1px solid rgba(98, 183, 255, 0.45);
    border-bottom: 0;
  }

  .info-tip-wrap.is-pinned .info-tip-bubble {
    transform: translateY(0);
  }
}

.wall-chip .value {
  color: #f1f5f9;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.25;
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.wall-metric {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 62px;
  gap: 8px;
  align-items: center;
  font-family: "JetBrains Mono", monospace;
}

.wall-metric .dist {
  color: #b7cff0;
  white-space: nowrap;
}

.wall-metric .liq {
  color: #f5f9ff;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}

.wall-metric .pools {
  color: #96abc5;
  text-align: right;
  white-space: nowrap;
}

.wall-metric-empty {
  color: #8ca0bc;
  font-family: "JetBrains Mono", monospace;
}

.wall-structure-value {
  font-family: "JetBrains Mono", monospace;
  font-size: 20px;
  line-height: 1;
}

.wall-ladder-wrap {
  border-top: 1px solid rgba(52, 66, 86, 0.72);
  padding-top: 10px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 8px;
  min-height: 252px;
}

.wall-ladder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wall-ladder {
  border-radius: 10px;
  border: 1px solid rgba(57, 72, 91, 0.7);
  background: rgba(13, 18, 26, 0.78);
  padding: 10px 12px;
  display: grid;
  grid-template-rows: auto 1fr;
}

.wall-ladder-support {
  border-color: rgba(109, 236, 180, 0.32);
}

.wall-ladder-resistance {
  border-color: rgba(255, 130, 112, 0.34);
}

.wall-ladder-head {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  color: #a7bcda;
  margin-bottom: 8px;
}

.wall-ladder-body {
  display: grid;
  grid-auto-rows: minmax(24px, auto);
  gap: 7px;
  min-height: 136px;
  align-content: start;
}

.wall-ladder-row {
  display: grid;
  gap: 4px;
}

.wall-ladder-meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}

.wall-ladder-meta .dist {
  color: #b8c7dd;
  min-width: 56px;
}

.wall-ladder-meta .liq {
  color: #eef4ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wall-ladder-meta .pools {
  color: #93a6bf;
}

.wall-ladder-bar {
  height: 7px;
  border-radius: 999px;
  background: rgba(34, 44, 58, 0.9);
  overflow: hidden;
}

.wall-ladder-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.wall-ladder-support .wall-ladder-bar span {
  background: linear-gradient(90deg, rgba(83, 210, 157, 0.98), rgba(134, 245, 198, 0.88));
}

.wall-ladder-resistance .wall-ladder-bar span {
  background: linear-gradient(90deg, rgba(254, 120, 101, 0.97), rgba(255, 177, 112, 0.88));
}

.wall-ladder-empty {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #8699b3;
  padding: 8px 0;
}

.row-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.row .pool {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: #f1f5f9;
  word-break: break-all;
  min-width: 0;
}

.row .pool a {
  color: #eaf4ff;
  text-decoration: none;
  border-bottom: 1px dotted rgba(110, 231, 255, 0.4);
  display: block;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  line-height: 1.2;
}

.row .pool a:hover {
  color: var(--accent-2);
  border-bottom-color: var(--accent-2);
}

.row-main {
  display: grid;
  gap: 6px;
}

.row-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #b7c2d3;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}

.group-summary {
  display: grid;
  gap: 12px;
  align-items: center;
}

.group-summary.has-pump-sol {
  grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr));
}

.group-summary.no-pump-sol {
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
}

.group-left {
  display: grid;
  gap: 8px;
}

.metric-chip {
  padding: 10px 12px;
  border: 1px solid rgba(42, 51, 68, 0.5);
  border-radius: 10px;
  background: rgba(14, 19, 27, 0.6);
}

.metric-chip .label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #9aa6bb;
  margin-bottom: 6px;
}

.metric-chip .value {
  color: #f1f5f9;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.metric-chip .value.value-support {
  display: grid;
  gap: 2px;
  white-space: normal;
}

.metric-chip .value.value-support .support-main {
  white-space: nowrap;
}

.metric-chip .value .support-change {
  margin-left: 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.15;
  font-family: "JetBrains Mono", monospace;
}

.metric-chip .value .support-change.up {
  color: var(--ok);
}

.metric-chip .value .support-change.down {
  color: var(--danger);
}

.metric-chip .value .support-change.flat,
.metric-chip .value .support-change.na {
  color: var(--muted);
}

.token-mint {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.token-caption {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  color: #8ea3c0;
  font-family: "JetBrains Mono", monospace;
}

.pill {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(98, 183, 255, 0.35);
  color: var(--accent-2);
  background: rgba(98, 183, 255, 0.12);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 18px;
  align-content: start;
}

.metric {
  display: grid;
  gap: 4px;
  color: #b7c2d3;
}

.metric .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #9aa6bb;
}

.metric .value {
  color: #f1f5f9;
  font-weight: 600;
}

.pool-list {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
  grid-template-columns: 1fr;
}

.pool-list.collapsed {
  display: none;
}

.pool-line {
  display: grid;
  grid-template-columns: minmax(200px, 1.3fr) 4fr;
  gap: 12px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(42, 51, 68, 0.6);
  border-radius: 10px;
  background: var(--card);
  min-width: 0;
}

.pool-header {
  display: grid;
  grid-template-columns: minmax(200px, 1.3fr) 4fr;
  gap: 12px;
  align-items: center;
  padding: 6px 12px;
  color: #9aa6bb;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.pool-header .pool {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #c8d3e0;
}

.pool-stats-inline {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 8px;
  color: #b7c2d3;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}

.pool-stats-inline .item {
  display: grid;
  gap: 4px;
}

.pool-stats-inline .label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #9aa6bb;
}

.pool-stats-inline .value {
  color: #f1f5f9;
  font-weight: 600;
}

.toggle-pools {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(91, 227, 198, 0.45);
  background: rgba(91, 227, 198, 0.12);
  color: var(--accent);
  font-size: 11px;
  cursor: pointer;
  font-family: "JetBrains Mono", monospace;
}

.toggle-pools:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
}

.row .token {
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}

.row .token a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px dotted rgba(110, 231, 255, 0.4);
}

.row .token a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.row .reserves {
  margin-top: 4px;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}

.pump-section {
  margin-top: 12px;
  border-top: 1px solid rgba(42, 51, 68, 0.6);
  padding-top: 12px;
}
.pump-section.collapsed {
  display: none;
}

.pump-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #9aa6bb;
  margin-bottom: 8px;
}

.pump-list {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.pump-stats-inline {
  grid-template-columns: repeat(3, minmax(120px, 1fr));
}

.pump-empty {
  font-size: 12px;
  color: var(--muted);
  padding: 6px 0;
}

.footer {
  padding: 16px 40px 28px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 980px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .controls {
    padding: 10px 20px 18px;
  }
  .controls-grid {
    grid-template-columns: 1fr 1fr;
  }
  .filters-top-grid {
    grid-template-columns: 1fr 1fr;
  }
  .filters-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .filters-head-right {
    width: 100%;
    justify-content: flex-start;
  }
  .controls-grid-ranking {
    grid-template-columns: 1fr 1fr;
  }
  .controls-grid-ranking .toggle-wide {
    grid-column: 1 / -1;
  }
  .panel-head {
    flex-direction: column;
    align-items: stretch;
  }
  .panel-head-filter {
    min-width: 100%;
  }
  .grid {
    grid-template-columns: 1fr;
    padding: 0 20px 28px;
  }
  .row {
    grid-template-columns: 1fr;
  }
  .wall-overview {
    flex-direction: column;
    align-items: flex-start;
  }
  .wall-overview-stats {
    justify-content: flex-start;
  }
  #walls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wall-meta-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "price bucket"
      "pool pool";
  }
  .wall-summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .group-summary {
    grid-template-columns: 1fr;
  }
  .wall-sections {
    grid-template-rows: none;
    grid-template-columns: 1fr;
  }
  .wall-section-support,
  .wall-section-resistance,
  .wall-section-structure {
    height: auto;
  }
  .wall-section-structure {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wall-ladder-grid {
    grid-template-columns: 1fr;
  }
  .pool-line {
    grid-template-columns: 1fr;
  }
  .pool-list {
    grid-template-columns: 1fr;
  }
  .pool-stats-inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pump-stats-inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pump-list {
    grid-template-columns: 1fr;
  }
  .actions .action-filter {
    margin-left: 0;
    min-width: 100%;
    max-width: 100%;
  }
  .footer {
    padding: 14px 20px 22px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 22px 16px 8px;
  }
  .controls {
    padding: 10px 16px 16px;
  }
  .controls-grid {
    grid-template-columns: 1fr;
  }
  .filters-top-grid {
    grid-template-columns: 1fr;
  }
  .controls-grid-ranking {
    grid-template-columns: 1fr;
  }
  .filters-head-right {
    flex-direction: column;
    align-items: flex-start;
  }
  .filters-head-actions {
    width: 100%;
  }
  .actions {
    gap: 8px;
  }
  .actions .btn {
    flex: 1 1 auto;
  }
  .grid {
    padding: 0 16px 22px;
  }
  #walls {
    grid-template-columns: 1fr;
    padding: 10px 8px;
  }
  .wall-summary-strip {
    grid-template-columns: 1fr;
  }
  .wall-meta-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "price"
      "pool"
      "bucket";
  }
  .wall-section-structure {
    grid-template-columns: 1fr;
    grid-template-rows: auto 86px 86px;
  }
  .wall-section {
    grid-template-rows: auto repeat(2, minmax(78px, auto));
  }
  .wall-ladder-wrap {
    min-height: 0;
  }
  .wall-ladder-body {
    min-height: 0;
  }
  .wall-metric {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .wall-metric .pools {
    text-align: left;
  }
  .wall-ladder-wrap {
    padding-top: 8px;
  }
  .wall-ladder-grid {
    grid-template-columns: 1fr;
  }
}

/* Terminal redesign for cross-pool wall monitor */
.hero {
  padding: 12px 24px 8px;
}

.hero h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.hero-sub {
  margin-top: 2px;
  font-size: 11px;
  color: #92a4bc;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

#walls {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
}

.grid.single > .panel:first-child > .panel-head {
  display: none;
}

#walls .term-page-header {
  grid-column: 1 / -1;
  border-radius: 2px;
  border: 1px solid #2b3441;
  background: #10161f;
  padding: 8px 10px;
}

.term-page-title-wrap {
  display: grid;
  gap: 2px;
}

.term-page-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #e7edf5;
}

.term-page-subtitle {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  color: #93a5be;
}

.term-page-stats {
  gap: 6px;
}

#walls .term-panel {
  margin: 0;
  border-radius: 6px;
  border: 1px solid #32445a;
  background: radial-gradient(80% 80% at 50% 20%, rgba(30, 69, 112, 0.2) 0%, rgba(10, 17, 28, 0) 70%),
    linear-gradient(180deg, #0d1828 0%, #0a1421 100%);
  box-shadow: none;
  padding: 10px;
  gap: 8px;
  display: grid;
  grid-template-rows: auto auto 286px 145px 28px 124px auto;
  align-content: start;
  font-family: "JetBrains Mono", monospace;
  position: relative;
  overflow: visible;
}

#walls .term-panel::after {
  content: "";
  position: absolute;
  left: 1px;
  right: 1px;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #4fdca7, #f5b46e, #ff7368);
  opacity: 0.95;
}

#walls .term-panel::before {
  display: none;
}

.term-instrument-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  border-bottom: 1px solid #223853;
  padding: 4px 0 10px;
}

.term-instrument-left {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.term-instrument-right {
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 6px;
}

.term-token-line {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.term-pair-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
}

.term-pair-left {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  flex: 1 1 auto;
}

.term-pair-logo-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

.term-pair-logo {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 2px solid #4f6c8d;
  object-fit: cover;
  background: #0d1520;
  position: absolute;
  inset: 0;
}

.term-pair-logo-img {
  z-index: 1;
}

.term-pair-logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d8e8fb;
  font-size: 17px;
  font-weight: 700;
  z-index: 0;
}

.term-pair-logo-is-hidden {
  display: none !important;
}

.term-pair-link {
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.2px;
  color: #e6edf7;
  text-decoration: none;
  text-transform: uppercase;
}

.term-pair-link:hover {
  color: #8ac8ff;
}

.term-pair-sep {
  color: #a7bdd5;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}

.term-token-name-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin-left: 52px;
  color: #89a4c3;
  font-size: 11px;
  letter-spacing: 0.14px;
  line-height: 1.15;
}

.term-token-name {
  min-width: 0;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.term-token-name-sep {
  color: #637d99;
  flex: 0 0 auto;
}

.term-social-strip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 4px;
  min-width: 0;
}

.term-market-price {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 6px;
  padding: 2px 7px;
  border: 1px solid #3d5a78;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(18, 34, 52, 0.96) 0%, rgba(12, 24, 38, 0.94) 100%);
  color: #d8e8fb;
  font-family: "JetBrains Mono", monospace;
  line-height: 1;
  white-space: nowrap;
  flex: 0 0 auto;
}

.term-market-price-label {
  color: #8db2d8;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.35px;
}

.term-market-price-value {
  color: #9ff8c8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15px;
}

.term-market-price-quote {
  color: #9db6d2;
  font-size: 9px;
  letter-spacing: 0.2px;
}

.term-social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid #355779;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(18, 34, 52, 0.95) 0%, rgba(12, 24, 38, 0.92) 100%);
  color: #b8d2ee;
  text-decoration: none;
}

.term-social-link:hover {
  border-color: #65a7de;
  color: #f0f7ff;
  background: linear-gradient(180deg, rgba(27, 51, 76, 0.98) 0%, rgba(18, 35, 54, 0.96) 100%);
}

.term-social-icon {
  width: 11px;
  height: 11px;
  display: block;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.term-social-link-web {
  color: #8ecbff;
}

.term-social-link-x {
  color: #f4d28e;
}

.term-social-count {
  position: absolute;
  right: -5px;
  bottom: -5px;
  min-width: 11px;
  height: 11px;
  padding: 0 2px;
  border: 1px solid #496b8f;
  border-radius: 999px;
  background: #15273b;
  color: #d2e4f8;
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  font-weight: 700;
  line-height: 9px;
  text-align: center;
}

.term-social-strip-compact .term-social-link {
  width: 19px;
  height: 19px;
}

.term-market-price-compact {
  gap: 4px;
  margin-left: 4px;
  padding: 2px 6px;
}

.term-market-price-compact .term-market-price-label,
.term-market-price-compact .term-market-price-quote {
  font-size: 8px;
}

.term-market-price-compact .term-market-price-value {
  font-size: 10px;
}

.term-social-strip-compact .term-social-icon {
  width: 9px;
  height: 9px;
}

.term-social-strip-compact .term-social-count {
  right: -4px;
  bottom: -4px;
  min-width: 10px;
  height: 10px;
  font-size: 7px;
  line-height: 8px;
}

.term-token-title {
  font-size: 15px;
  font-weight: 700;
  color: #f2f6fc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.term-token-mint {
  font-size: 10px;
  color: #8fa1b8;
  letter-spacing: 0.35px;
}

.term-meta-strip {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  min-height: 34px;
  overflow: hidden;
}

.term-meta-chip {
  font-size: 12px;
  color: #7eb8e8;
  border: 1px solid #2f4f73;
  border-radius: 6px;
  padding: 5px 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: linear-gradient(180deg, rgba(20, 35, 54, 0.92) 0%, rgba(13, 25, 39, 0.9) 100%);
  font-weight: 500;
  flex: 0 1 auto;
}

.term-meta-chip-bucket {
  color: #8cbde9;
}

.term-meta-chip-price {
  color: #95c7f2;
}

.term-meta-chip-price .term-meta-mode-icon {
  color: #5ce2ab;
  font-weight: 700;
}

.term-meta-chip-pool {
  color: #82aecd;
  flex: 1 1 auto;
}

.term-meta-divider {
  font-size: 14px;
  color: #335e87;
  line-height: 1;
}

.term-rank {
  align-self: start;
  font-size: 14px;
  color: #f4d58a;
  border: 1px solid #83663b;
  border-radius: 8px;
  padding: 6px 10px;
  background: rgba(20, 19, 14, 0.58);
  font-weight: 700;
}

.term-head-signal {
  width: 176px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 68px;
  align-items: center;
  gap: 7px;
  border: 1px solid #2f3a49;
  border-radius: 4px;
  padding: 5px 8px;
  background: linear-gradient(180deg, rgba(16, 24, 35, 0.94) 0%, rgba(11, 18, 27, 0.95) 100%);
}

.term-head-signal-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.term-head-signal-meter {
  height: 6px;
  background: #1d2734;
  position: relative;
  overflow: hidden;
}

.term-head-signal-meter::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  bottom: -1px;
  border-left: 1px solid #8e9daf;
}

.term-head-signal-meter span {
  display: block;
  height: 100%;
}

.term-head-signal-sell {
  border-color: #76484d;
  color: #ff9ea5;
}

.term-head-signal-sell .term-head-signal-meter span {
  background: linear-gradient(90deg, #ff7066, #ffae69);
}

.term-head-signal-neutral {
  border-color: #7d723f;
  color: #ffe59c;
}

.term-head-signal-neutral .term-head-signal-meter span {
  background: linear-gradient(90deg, #e4c35d, #f0dd90);
}

.term-head-signal-buy {
  border-color: #2f6950;
  color: #9ef2c3;
}

.term-head-signal-buy .term-head-signal-meter span {
  background: linear-gradient(90deg, #4fc78f, #89e5ba);
}

.term-bias-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  border: 1px solid #35617b;
  border-radius: 6px;
  padding: 12px 14px;
  min-height: 74px;
  text-transform: uppercase;
  overflow: visible;
}

.term-bias-row {
  min-width: 0;
}

.term-bias-row-label {
  display: flex;
  align-items: center;
}

.term-bias-row-ratio {
  display: block;
}

.term-bias-label {
  font-size: 13px;
  letter-spacing: 0.45px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  white-space: normal;
  overflow: visible;
  justify-self: start;
  text-align: left;
}

.term-bias-label-main {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  line-height: 1.2;
}

.term-bias-icon {
  font-size: 12px;
  line-height: 1;
}

.term-bias-ratio {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.25px;
  white-space: normal;
  text-align: left;
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: break-word;
  padding-left: 0;
  border-left: 0;
  justify-self: start;
  display: block;
}

.term-bias-banner-sell {
  border-color: #82464c;
  background: linear-gradient(90deg, rgba(67, 24, 30, 0.88) 0%, rgba(39, 22, 29, 0.9) 100%);
  color: #ff9da3;
}

.term-bias-banner-buy {
  border-color: #377d63;
  background: linear-gradient(90deg, rgba(14, 58, 40, 0.92) 0%, rgba(11, 43, 30, 0.94) 100%);
  color: #9ff3c7;
}

.term-bias-banner-neutral {
  border-color: #7e6f37;
  background: linear-gradient(90deg, rgba(54, 42, 18, 0.9) 0%, rgba(42, 36, 16, 0.9) 100%);
  color: #ffe38e;
}

.term-bias-banner .info-tip-wrap {
  position: relative;
  overflow: visible;
}

.term-bias-banner .info-tip {
  width: 15px;
  height: 15px;
  font-size: 9px;
}

.term-bias-banner .info-tip-bubble {
  left: 0;
  right: auto;
  top: calc(100% + 8px);
  transform: translateY(-4px);
  min-width: 250px;
  max-width: min(420px, 74vw);
  z-index: 90;
}

.term-bias-banner .info-tip-bubble::before {
  left: 10px;
  right: auto;
  top: -6px;
  transform: rotate(45deg);
  border-left: 1px solid rgba(98, 183, 255, 0.45);
  border-top: 1px solid rgba(98, 183, 255, 0.45);
  border-bottom: 0;
}

.term-bias-banner .info-tip-wrap.is-pinned .info-tip-bubble {
  transform: translateY(0);
}

.term-section {
  border: 1px solid #2b3442;
  border-radius: 2px;
  padding: 6px;
  background: linear-gradient(180deg, #0c131c 0%, #0a1119 100%);
  min-width: 0;
}

.term-section-head {
  font-size: 10px;
  color: #95a7bf;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.term-ladder-graph {
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: 4px;
  height: calc(100% - 20px);
}

.term-ladder-force-row {
  height: 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.35px;
}

.term-ladder-force-row .lfr-label {
  color: #b9c7d9;
}

.term-ladder-force-row .lfr-dots {
  border-bottom: 1px dashed rgba(185, 199, 217, 0.45);
  transform: translateY(-1px);
}

.term-ladder-force-row .lfr-ratio {
  font-size: 11px;
  color: #f7d6c6;
  font-weight: 700;
}

.term-ladder-mid {
  position: relative;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.term-ladder-mid::before {
  content: "";
  position: absolute;
  inset: 8px 0 auto;
  border-top: 1px solid #7e8ca0;
}

.term-ladder-mid span {
  z-index: 1;
  background: #0d131b;
  padding: 0 8px;
  font-size: 10px;
  color: #b5c4d8;
  letter-spacing: 0.45px;
}

.term-ladder-mid.is-tracking-focus span {
  color: #ffe2a4;
  text-shadow: 0 0 12px rgba(247, 195, 104, 0.42);
}

.term-ladder-side {
  display: grid;
  gap: 2px;
  align-content: start;
}

.term-ladder-side.is-scrollable {
  max-height: 190px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 2px;
  overflow-anchor: none;
  scrollbar-width: thin;
  scrollbar-color: #4f6f95 rgba(18, 31, 48, 0.68);
}

.term-ladder-side.is-scrollable::-webkit-scrollbar {
  width: 8px;
}

.term-ladder-side.is-scrollable::-webkit-scrollbar-track {
  background: rgba(18, 31, 48, 0.68);
}

.term-ladder-side.is-scrollable::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #47688f 0%, #345171 100%);
  border: 1px solid rgba(110, 147, 188, 0.6);
  border-radius: 8px;
}

.term-ladder-row {
  height: 16px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 42px 118px 54px;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  border-radius: 1px;
  padding: 0 2px;
}

.term-ladder-row .dist {
  color: #a9b8cc;
}

.term-ladder-row .amt {
  color: #edf4ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}

.term-ladder-row .amt-main {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.term-ladder-row .amt-change {
  flex: 0 0 auto;
  font-size: 10px;
  color: #8ea6c3;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.term-ladder-row .amt-change.up {
  color: #7ee2b5;
}

.term-ladder-row .amt-change.down {
  color: #ff8d7a;
}

.term-ladder-row .amt-change.neutral {
  color: #8ea6c3;
}

.term-ladder-row .size {
  color: #8ea6c3;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.term-ladder-row .pools {
  color: #8da2be;
  text-align: right;
}

.term-ladder-row .bar {
  height: 7px;
  background: linear-gradient(90deg, #222d3d, #1c2736);
  position: relative;
  border: 1px solid #243244;
  overflow: hidden;
}

.term-ladder-row .bar span {
  display: block;
  height: 100%;
  box-shadow: 0 0 8px rgba(255, 165, 120, 0.3);
}

.term-ladder-row-resistance .bar span {
  background: linear-gradient(90deg, #ff786c, #ffb26d);
}

.term-ladder-row-support .bar span {
  background: linear-gradient(90deg, #45c48f, #83e3b8);
  box-shadow: 0 0 8px rgba(116, 239, 186, 0.25);
}

.term-ladder-row.is-nearest {
  background: linear-gradient(90deg, rgba(83, 135, 197, 0.18), rgba(83, 135, 197, 0.03));
}

.term-ladder-row.is-tracking-focus {
  background: linear-gradient(90deg, rgba(247, 195, 104, 0.18), rgba(247, 195, 104, 0.04));
  box-shadow: inset 0 0 0 1px rgba(247, 195, 104, 0.46);
}

.term-ladder-row.is-tracking-focus .dist {
  color: #ffe2a4;
  font-weight: 700;
}

.term-ladder-row.is-tracking-focus .amt {
  color: #fff0cf;
}

.term-ladder-row.is-nearest .dist {
  color: #d6e8ff;
  font-weight: 700;
}

.term-ladder-row.is-strongest .amt {
  font-weight: 700;
}

.term-ladder-row.is-empty {
  opacity: 0.35;
}

.term-ladder-spacer {
  pointer-events: none;
}

.term-ladder-filter-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 10px;
  color: #8ea6c4;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-align: center;
}

.wall-ladder-loading {
  min-height: 190px;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  border: 1px solid #243244;
  background: linear-gradient(180deg, rgba(11, 26, 43, 0.82), rgba(10, 21, 36, 0.9));
}

.wall-ladder-loading-title {
  color: #dbeaff;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wall-ladder-loading-copy {
  color: #89a1bf;
  font-size: 11px;
  max-width: 280px;
  margin: 0 auto;
}

.term-keylevels-table {
  display: grid;
  border-top: 1px solid #243040;
}

.term-level-head,
.term-level-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 70px minmax(0, 1fr) 66px;
  gap: 6px;
  align-items: center;
  min-height: 26px;
  border-bottom: 1px solid #202a38;
}

.term-level-head {
  font-size: 10px;
  color: #8fa2bb;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.term-level-row {
  font-size: 11px;
}

.term-level-row .c-label {
  color: #dce7f5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.term-level-row .c-dist {
  color: #a7bfdc;
}

.term-level-row .c-size {
  color: #f2f6ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.term-level-row .c-pools {
  color: #8ea4c0;
  text-align: right;
}

.term-structure-bias-row {
  border: 1px solid #2f3949;
  border-radius: 2px;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 3px 8px;
  font-size: 11px;
}

.term-structure-bias-row .sbr-label {
  color: #9fb3cc;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.term-structure-bias-row .sbr-arrow {
  font-weight: 700;
  font-size: 12px;
}

.term-structure-bias-row .sbr-score {
  justify-self: end;
  color: #eaf3ff;
}

.term-majorwalls-section {
  display: grid;
  grid-template-rows: auto auto 1fr;
}

.term-major-grid {
  display: grid;
  gap: 4px;
  border-top: 1px solid #243040;
  border-bottom: 1px solid #243040;
  padding: 4px 0;
}

.term-major-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 70px minmax(0, 1fr) 70px;
  gap: 8px;
  min-height: 24px;
  align-items: center;
  font-size: 11px;
}

.term-major-row .mw-label {
  color: #d9e4f2;
  text-transform: uppercase;
  letter-spacing: 0.25px;
}

.term-major-row .mw-dist {
  color: #9fb8d6;
}

.term-major-row .mw-size {
  color: #f1f6ff;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.term-major-row .mw-pools {
  color: #8ca3be;
  text-align: right;
}

.term-summary-inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding-top: 4px;
}

.term-summary-inline span {
  color: #9fb2cb;
  font-size: 10px;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.term-summary-inline b {
  color: #edf4ff;
  font-weight: 700;
}

.term-signal-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  align-items: center;
  gap: 8px;
  border: 1px solid #2f3a49;
  border-radius: 2px;
  padding: 5px 8px;
  font-size: 11px;
  background: linear-gradient(180deg, #0f1823 0%, #0c141d 100%);
}

.term-signal-ratio {
  color: #f5f9ff;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.term-signal-text {
  text-transform: uppercase;
  letter-spacing: 0.35px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.term-signal-meter {
  height: 8px;
  background: #1d2734;
  position: relative;
}

.term-signal-meter::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  bottom: -1px;
  border-left: 1px solid #8e9daf;
}

.term-signal-meter span {
  display: block;
  height: 100%;
}

.term-signal-strip-sell {
  border-color: #76484d;
  color: #ff9ea5;
}

.term-structure-bias-row.term-bias-sell {
  border-color: #784950;
  background: rgba(96, 24, 31, 0.34);
}

.term-structure-bias-row.term-bias-neutral {
  border-color: #7d6f3d;
  background: rgba(79, 64, 19, 0.3);
}

.term-structure-bias-row.term-bias-buy {
  border-color: #33674f;
  background: rgba(20, 72, 48, 0.3);
}

.term-signal-strip-sell .term-signal-meter span {
  background: linear-gradient(90deg, #ff7066, #ffae69);
}

.term-signal-strip-neutral {
  border-color: #7d723f;
  color: #ffe59c;
}

.term-signal-strip-neutral .term-signal-meter span {
  background: linear-gradient(90deg, #e4c35d, #f0dd90);
}

.term-signal-strip-buy {
  border-color: #2f6950;
  color: #9ef2c3;
}

.term-signal-strip-buy .term-signal-meter span {
  background: linear-gradient(90deg, #4fc78f, #89e5ba);
}

#walls .term-panel .info-tip {
  width: 13px;
  height: 13px;
  font-size: 9px;
}

#walls .term-panel .info-tip-bubble {
  min-width: 210px;
}

.term-ladder-section {
  overflow: visible;
}

.term-keylevels-section,
.term-structure-section {
  overflow: visible;
}

.term-majorwalls-section {
  overflow: visible;
}

@media (max-width: 1320px) {
  #walls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .term-top-tape {
    margin: 8px 14px 0;
    grid-template-columns: 1fr;
    gap: 6px;
    min-height: 0;
  }

  .term-top-tape-head {
    width: 100%;
  }

  .term-top-tape-head-inner {
    width: 100%;
    justify-content: space-between;
  }

  .term-tape-item {
    font-size: 11px;
    padding: 2px 8px;
    gap: 5px;
  }

  .term-floating-tooltip {
    width: min(94vw, 620px);
    padding: 6px 7px;
  }

  .ttf-kv-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .ttf-tr {
    grid-template-columns:
      minmax(0, 0.86fr)
      minmax(0, 1.14fr)
      minmax(0, 0.74fr)
      minmax(0, 0.74fr)
      42px
      minmax(0, 0.62fr)
      minmax(0, 0.68fr)
      minmax(0, 0.68fr)
      minmax(0, 0.64fr)
      minmax(0, 0.68fr)
      minmax(0, 0.68fr)
      minmax(0, 0.58fr)
      minmax(0, 0.68fr);
    gap: 6px;
    min-width: 1480px;
  }

  .hero {
    padding: 10px 14px 8px;
  }

  #walls {
    grid-template-columns: 1fr;
    padding: 6px;
  }

  #walls .term-panel {
    grid-template-rows: auto auto 286px auto auto auto auto;
  }

  .term-pair-logo-wrap {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .term-pair-logo {
    width: 40px;
    height: 40px;
  }

  .term-pair-logo-fallback {
    font-size: 16px;
  }

  .term-pair-link {
    font-size: 22px;
  }

  .term-pair-sep {
    font-size: 16px;
  }

  .term-meta-strip {
    flex-wrap: wrap;
    min-height: 0;
  }

  .term-meta-chip {
    font-size: 12px;
    padding: 4px 8px;
  }

  .term-meta-divider {
    display: none;
  }

  .term-rank {
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 6px;
  }

  .term-instrument-header {
    grid-template-columns: 1fr;
  }

  .term-instrument-right {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    justify-items: stretch;
  }

  .term-head-signal {
    width: 100%;
    max-width: 260px;
    justify-self: end;
  }

  .term-bias-banner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 8px 10px;
  }

  .term-bias-label,
  .term-bias-ratio {
    font-size: 13px;
  }

  .term-summary-inline {
    grid-template-columns: 1fr;
  }

  .term-signal-strip {
    grid-template-columns: 1fr;
  }
}

/* FlowTerminal header area (ticker component remains unchanged) */
.hero.flow-header {
  display: grid;
  gap: 8px;
  padding: 8px 16px 7px;
  border-bottom: 1px solid #2b3c52;
  background: linear-gradient(90deg, rgba(8, 14, 24, 0.96), rgba(14, 24, 39, 0.9), rgba(8, 14, 24, 0.96));
}

.flow-header-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.flow-header-left {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding-right: 6px;
}

.flow-logo {
  width: 40px;
  height: 32px;
  position: relative;
  flex: 0 0 40px;
}

.flow-logo-mark {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 8px rgba(125, 219, 198, 0.2));
}

.flow-logo-link {
  stroke: url(#flowLinkGradient);
  stroke-width: 2.8;
  stroke-linecap: round;
  fill: none;
}

.flow-logo-node {
  fill: url(#flowNodeFill);
  stroke: url(#flowRingGradient);
  stroke-width: 2.6;
}

.flow-header-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.hero.flow-header .flow-title {
  margin: 0;
  font-size: 21px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #eef4fc;
}

.flow-subtitle {
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  color: #8ea4c2;
}

.flow-header-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  justify-content: flex-end;
}

.flow-header-nav {
  justify-self: start;
  min-width: 0;
}

.flow-market-strip {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.flow-header-search {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-height: 28px;
  min-width: 0;
  max-width: none;
  padding: 2px 8px;
  border: 1px solid #334b66;
  border-radius: 2px;
  background: rgba(14, 22, 34, 0.9);
  color: #8ea4c2;
  font-family: "JetBrains Mono", monospace;
}

.flow-header-search-icon {
  font-size: 12px;
  line-height: 1;
  color: #94abc7;
}

.flow-header-search-input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #eaf2fd;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.2px;
}

.flow-header-search-input::placeholder {
  color: #7087a6;
}

.flow-market-strip .term-top-tape {
  margin: 0;
  min-height: 28px;
  width: 100%;
  padding: 2px 7px;
}

.flow-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 4px 9px;
  border: 1px solid #334b66;
  border-radius: 999px;
  background: rgba(14, 22, 34, 0.86);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  line-height: 1;
  color: #b4c4d8;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.flow-chip-label {
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.flow-chip b {
  color: #f2f6ff;
  font-weight: 700;
}

.flow-chip-updated {
  border-color: #8a6c40;
}

.flow-chip-updated b {
  color: #f5c773;
}

.flow-chip-disabled {
  border-color: #3f5066;
  background: rgba(12, 18, 28, 0.84);
  color: #8ca0ba;
}

.flow-chip-disabled b {
  color: #b7c7d8;
}

.terminal-nav-strip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  justify-self: center;
}

.terminal-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border: 1px solid #395272;
  border-radius: 2px;
  background: rgba(13, 23, 36, 0.72);
  color: #a8bfda;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.32px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 80ms linear, border-color 80ms linear, background-color 80ms linear;
}

.terminal-nav-link:hover {
  color: #e2eefc;
  border-color: #51749b;
  background: rgba(22, 35, 52, 0.9);
}

.terminal-nav-link.is-active {
  color: #f0f6ff;
  border-color: #6c8eb6;
  background: linear-gradient(180deg, rgba(37, 56, 82, 0.88), rgba(23, 36, 56, 0.9));
  box-shadow: inset 0 0 0 1px rgba(120, 162, 209, 0.22);
}

@media (max-width: 980px) {
  .dashboard-shell {
    grid-template-columns: 1fr;
    padding: 12px 14px 28px;
  }

  .dashboard-sidebar {
    order: 2;
  }

  .dashboard-content {
    order: 1;
  }

  .hero.flow-header {
    padding: 8px 14px;
    gap: 8px;
  }

  .flow-header-top {
    width: 100%;
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 8px;
  }

  .flow-title {
    font-size: 24px;
  }

  .flow-header-right {
    width: 100%;
    justify-content: flex-end;
  }

  .flow-market-strip {
    width: 100%;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .flow-header-search {
    min-width: 100%;
  }

  .dashboard-toolbar-row {
    align-items: stretch;
  }

  .dashboard-premium-compact-head,
  .dashboard-premium-price-row {
    grid-template-columns: 1fr;
  }

  .dashboard-premium-checkout-body {
    grid-template-columns: 1fr;
  }

  .dashboard-premium-qr-frame {
    width: min(210px, 100%);
  }

  .terminal-nav-link {
    min-height: 23px;
    padding: 0 8px;
    font-size: 10px;
  }
}

.tracking-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
  margin: 0 0 10px;
  padding: 10px;
  border: 1px solid #2f4258;
  background: rgba(10, 19, 30, 0.76);
}

.tracking-control {
  display: grid;
  gap: 6px;
  min-width: 150px;
}

.tracking-control span {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.32px;
  text-transform: uppercase;
  color: #9cb4d0;
}

.tracking-control input,
.tracking-control select {
  min-height: 30px;
  border: 1px solid #36506d;
  background: rgba(9, 17, 28, 0.95);
  color: #dce8f7;
  padding: 6px 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.tracking-apply-btn {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid #4f6d8f;
  background: linear-gradient(180deg, rgba(37, 56, 82, 0.9), rgba(23, 36, 56, 0.92));
  color: #eef6ff;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  cursor: pointer;
}

.tracking-apply-btn:hover {
  border-color: #6f93bf;
}

.tracking-status {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #9ec2e8;
}

.tracking-table-wrap {
  overflow: auto;
}

.tracking-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1080px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}

.tracking-table th,
.tracking-table td {
  border-bottom: 1px solid rgba(63, 89, 118, 0.6);
  padding: 7px 8px;
  text-align: left;
  white-space: nowrap;
}

.tracking-table th {
  color: #8fb3da;
  text-transform: uppercase;
  letter-spacing: 0.34px;
  font-size: 10px;
}

.tracking-table td {
  color: #d7e6f8;
}

.tracking-table td a {
  color: #8ec7ff;
  text-decoration: none;
}

.tracking-table td a:hover {
  color: #d9eeff;
  text-decoration: underline;
}

/* Wall card display modes */
.wall-overview-right {
  display: grid;
  gap: 8px;
  justify-items: stretch;
}

.wall-filter-group {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 8px 10px;
  flex-wrap: nowrap;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(50, 72, 99, 0.72);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(18, 29, 44, 0.88), rgba(12, 20, 31, 0.9));
  box-shadow: inset 0 1px 0 rgba(110, 160, 220, 0.06);
}

.wall-filter-cluster {
  display: flex;
  align-items: flex-end;
  gap: 6px 8px;
  flex-wrap: nowrap;
  min-width: 0;
}

.wall-filter-cluster-primary {
  flex: 0 1 auto;
  min-width: 0;
}

.wall-filter-cluster-search {
  flex: 0 1 180px;
  min-width: 160px;
  margin-left: auto;
}

.wall-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #a8bfda;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.28px;
  text-transform: uppercase;
}

.wall-filter-toggle input {
  accent-color: #63a8ff;
}

.wall-filter-select-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  color: #9fb7d3;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.28px;
  text-transform: uppercase;
}

.wall-filter-field {
  min-width: 0;
}

.wall-filter-field-quote {
  width: 90px;
}

.wall-filter-field-number {
  width: 104px;
}

.wall-filter-field-range {
  width: 82px;
}

.wall-filter-field-small {
  width: 66px;
}

.wall-filter-field-search {
  width: min(100%, 180px);
}

.wall-filter-apply-btn {
  min-height: 36px;
  height: 36px;
  align-self: end;
  margin-top: auto;
  white-space: nowrap;
}

.wall-filter-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.wall-filter-label {
  display: inline-flex;
  align-items: center;
  min-height: 11px;
  color: #93abca;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.42px;
  text-transform: uppercase;
  white-space: nowrap;
}

.wall-filter-group .wall-filter-label {
  overflow: visible;
  text-overflow: clip;
}

.wall-filter-select {
  width: 100%;
  height: 36px;
  border: 1px solid rgba(67, 97, 132, 0.9);
  background:
    linear-gradient(180deg, rgba(16, 28, 44, 0.94), rgba(10, 19, 31, 0.96));
  color: #edf5ff;
  border-radius: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.24px;
  padding: 0 12px;
  box-shadow: inset 0 1px 0 rgba(118, 169, 222, 0.05);
}

.wall-filter-select option {
  color: #edf5ff;
  background: #142234;
}

.wall-filter-select option:checked,
.wall-filter-select option:hover,
.wall-filter-select option:focus {
  color: #f8fbff;
  background: #2b6fd7;
}

.wall-filter-select option:disabled {
  color: #91a8c2;
  background: #142234;
}

.wall-filter-select[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.wall-filter-select[type="number"]::-webkit-outer-spin-button,
.wall-filter-select[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.wall-filter-select:focus,
.wall-filter-search:focus {
  outline: none;
  border-color: rgba(100, 158, 220, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(118, 169, 222, 0.08),
    0 0 0 1px rgba(39, 89, 145, 0.32);
}

.wall-filter-search-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
}

.wall-filter-search {
  width: 100%;
  height: 36px;
  min-width: 0;
  border: 1px solid rgba(67, 97, 132, 0.9);
  background:
    linear-gradient(180deg, rgba(16, 28, 44, 0.94), rgba(10, 19, 31, 0.96));
  color: #edf5ff;
  border-radius: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.24px;
  padding: 0 12px;
}

.wall-filter-search::placeholder {
  color: #6f87a6;
}

.wall-mode-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(62, 84, 111, 0.72);
  border-radius: 3px;
  padding: 2px;
  background: rgba(12, 19, 30, 0.85);
}

.wall-mode-btn {
  border: 1px solid transparent;
  background: transparent;
  color: #97abc3;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 2px;
  cursor: pointer;
}

.wall-mode-btn:hover {
  color: #d7e7fb;
  background: rgba(57, 80, 106, 0.3);
}

.wall-page-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(56, 79, 104, 0.72);
  background: rgba(10, 18, 29, 0.92);
  text-align: center;
}

.wall-page-status {
  color: #93acc7;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.28px;
  text-transform: uppercase;
}

.wall-page-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.wall-page-btn {
  border: 1px solid #3b5f86;
  background: rgba(12, 23, 37, 0.92);
  color: #d8e9fb;
  border-radius: 3px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding: 6px 10px;
  cursor: pointer;
}

.wall-page-btn:hover {
  background: rgba(24, 41, 63, 0.96);
  border-color: #5b88bd;
}

.wall-mode-btn.is-active {
  color: #f0f6ff;
  border-color: #43638a;
  background: rgba(26, 40, 60, 0.85);
}

.wall-orderbook-btn {
  border: 1px solid #3c5778;
  background: rgba(15, 25, 40, 0.86);
  color: #a8bfda;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  border-radius: 3px;
  padding: 4px 10px;
  cursor: pointer;
}

.wall-orderbook-btn:hover {
  color: #e1eefc;
  background: rgba(28, 44, 66, 0.9);
}

.wall-orderbook-btn.is-active {
  border-color: #63a8ff;
  color: #eff8ff;
  background: rgba(22, 50, 85, 0.95);
}

.wall-ladder-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid #3c5778;
  border-radius: 3px;
  background: rgba(15, 25, 40, 0.86);
  color: #a8bfda;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.wall-ladder-filter-label {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding-right: 8px;
  border-right: 1px solid rgba(93, 123, 160, 0.35);
  color: #d5e7fb;
}

.wall-ladder-filter-input {
  width: 40px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #edf7ff;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  padding: 0;
  text-align: center;
  outline: none;
  appearance: textfield;
  -moz-appearance: textfield;
}

.wall-ladder-filter-input::-webkit-outer-spin-button,
.wall-ladder-filter-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.wall-ladder-filter:focus-within {
  border-color: #69b3ff;
  box-shadow: 0 0 0 1px rgba(105, 179, 255, 0.2);
  background: rgba(22, 50, 85, 0.95);
}

.token-card,
.wall-card {
  margin: 0;
  border: 1px solid #314861;
  border-radius: 3px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(10, 19, 32, 0.98), rgba(9, 16, 28, 0.98));
  box-shadow: none;
  gap: 7px;
  align-content: start;
}

.token-card::before,
.wall-card::before {
  content: "";
  display: block;
  height: 2px;
  margin: -8px -10px 8px;
  background: linear-gradient(90deg, #58d8aa, #f3bd75, #f47270);
}

.token-card .term-instrument-header,
.wall-card .term-instrument-header {
  padding: 0 0 6px;
  gap: 8px;
}

.token-card .term-pair-line,
.wall-card .term-pair-line {
  min-height: 28px;
}

.token-card .term-pair-logo-wrap,
.wall-card .term-pair-logo-wrap {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
}

.token-card .term-pair-logo,
.wall-card .term-pair-logo {
  width: 28px;
  height: 28px;
  border-width: 1px;
}

.token-card .term-pair-logo-fallback,
.wall-card .term-pair-logo-fallback {
  font-size: 12px;
}

.token-card .term-pair-link,
.wall-card .term-pair-link {
  font-size: 15px;
}

.token-card .term-social-strip,
.wall-card .term-social-strip {
  gap: 3px;
  margin-left: 2px;
}

.token-card .term-social-link,
.wall-card .term-social-link {
  width: 19px;
  height: 19px;
}

.token-card .term-pair-sep,
.wall-card .term-pair-sep {
  font-size: 13px;
}

.token-card .term-meta-strip,
.wall-card .term-meta-strip {
  min-height: 0;
  gap: 4px;
}

.token-card .term-meta-chip,
.wall-card .term-meta-chip {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
}

.token-card .term-rank,
.wall-card .term-rank {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
}

.wall-signal-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  border: 1px solid #304660;
  background: rgba(15, 26, 40, 0.86);
  padding: 6px 9px;
  border-radius: 2px;
  font-family: "JetBrains Mono", monospace;
}

.wall-signal-banner .label {
  font-size: 12px;
  letter-spacing: 0.22px;
  color: #d6e6f9;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.wall-signal-banner .label .icon {
  font-size: 11px;
}

.wall-signal-banner .ratio {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  color: #edf4ff;
}

.wall-signal-banner-sell {
  border-color: rgba(228, 124, 112, 0.45);
}

.wall-signal-banner-sell .ratio {
  color: #ffb2aa;
}

.wall-signal-banner-neutral {
  border-color: rgba(220, 187, 112, 0.42);
}

.wall-signal-banner-neutral .ratio {
  color: #efd794;
}

.wall-signal-banner-buy {
  border-color: rgba(102, 217, 167, 0.45);
}

.wall-signal-banner-buy .ratio {
  color: #9ff0ca;
}

.token-card-buzz,
.wall-card-buzz {
  border-color: rgba(247, 195, 104, 0.72);
  box-shadow: 0 0 0 1px rgba(247, 195, 104, 0.24), 0 0 20px rgba(247, 195, 104, 0.12);
  animation: wall-buzz-pulse 1.4s ease-in-out infinite;
}

@keyframes wall-buzz-pulse {
  0% {
    box-shadow: 0 0 0 1px rgba(247, 195, 104, 0.24), 0 0 0 rgba(247, 195, 104, 0.12);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(247, 195, 104, 0.4), 0 0 28px rgba(247, 195, 104, 0.22);
  }
  100% {
    box-shadow: 0 0 0 1px rgba(247, 195, 104, 0.24), 0 0 0 rgba(247, 195, 104, 0.12);
  }
}

.wall-tx-alert {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(247, 195, 104, 0.52);
  background: linear-gradient(90deg, rgba(247, 195, 104, 0.14), rgba(247, 195, 104, 0.04));
  border-radius: 2px;
  padding: 5px 8px;
  font-family: "JetBrains Mono", monospace;
}

.wall-tx-alert-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(247, 195, 104, 0.56);
  background: rgba(247, 195, 104, 0.12);
  color: #ffdca1;
  font-size: 10px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border-radius: 2px;
  padding: 3px 6px;
}

.wall-tx-alert-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d9e9fb;
  font-size: 11px;
  letter-spacing: 0.2px;
}

.wall-tx-alert-action {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(120, 188, 255, 0.45);
  background: rgba(84, 160, 255, 0.13);
  color: #9fd0ff;
  font-size: 10px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border-radius: 2px;
  padding: 1px 5px;
}

.wall-tx-alert-bins {
  color: #ffe2a4;
}

.wall-tx-alert-meta a {
  color: #ffd38c;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 211, 140, 0.5);
}

.wall-tx-alert-meta a:hover {
  color: #ffe5bc;
  border-bottom-color: rgba(255, 229, 188, 0.8);
}

.wall-summary-pressure {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
}

.wsp-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  color: #9ab2ce;
}

.wsp-meter {
  position: relative;
  height: 8px;
  border: 1px solid #2c445f;
  background: #101d2d;
}

.wsp-meter::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  bottom: -1px;
  width: 1px;
  background: rgba(196, 214, 236, 0.62);
}

.wsp-meter > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #64d8b8, #f0b574, #ef7a73);
}

.term-bias-banner-compact {
  min-height: 0;
  padding: 7px 10px;
}

.wall-summary-quick-row,
.wall-summary-totals-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #d7e5f7;
}

.wall-summary-quick-row span,
.wall-summary-totals-row span {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wall-summary-quick-row b {
  color: #9bb5d4;
  font-weight: 600;
  margin-right: 4px;
  text-transform: uppercase;
  letter-spacing: 0.28px;
  font-size: 10px;
}

.wall-totals {
  border-top: 1px solid #274463;
  padding-top: 6px;
  display: grid;
  gap: 4px;
}

.wall-totals-compact {
  border-top: 1px solid #294661;
  padding-top: 6px;
}

.wall-totals-compact .wall-total-line {
  gap: 6px;
}

.wall-totals-compact .wall-total-line .k,
.wall-totals-compact .wall-total-side-label {
  font-size: 10px;
  letter-spacing: 0.22px;
}

.wall-totals-compact .wall-total-line .v,
.wall-totals-compact .wall-total-side-value {
  font-size: 12px;
}

.wall-totals-compact .wall-total-side-note {
  gap: 5px;
}

.wall-totals-compact .wall-pools-trigger {
  padding: 2px 6px;
  font-size: 9px;
}

.wall-total-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, auto);
  gap: 8px;
  align-items: center;
  font-family: "JetBrains Mono", monospace;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.wall-total-line .k {
  color: #9ab2ce;
  font-size: 11px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.wall-total-line .v {
  color: #e9f1fc;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wall-total-side-note {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
  white-space: nowrap;
}

.wall-total-side-label {
  color: #87a4c7;
  font-size: 11px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.wall-total-side-value {
  color: #dbe8f8;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wall-total-line-support .v {
  color: #a7f1d0;
}

.wall-total-line-resistance .v {
  color: #ffc0a7;
}

.wall-total-line-support .wall-total-side-value {
  color: #a7f1d0;
}

.wall-total-line-resistance .wall-total-side-value {
  color: #ffc0a7;
}

.wall-summary-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.wall-summary-usd-metrics {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-wrap: wrap;
}

.wall-summary-usd-metric {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 4px 8px;
  border: 1px solid rgba(56, 80, 108, 0.92);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(16, 28, 44, 0.94), rgba(10, 19, 31, 0.96));
  font-family: "JetBrains Mono", monospace;
  white-space: nowrap;
}

.wall-summary-usd-label {
  color: #89a5c8;
  font-size: 9px;
  letter-spacing: 0.34px;
  text-transform: uppercase;
}

.wall-summary-usd-value {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  color: #e8f1fd;
}

.wall-summary-usd-metric-support .wall-summary-usd-value {
  color: #a7f1d0;
}

.wall-summary-usd-metric-resistance .wall-summary-usd-value {
  color: #ffc0a7;
}

.wall-expand-btn {
  border: 1px solid #496a8f;
  background: linear-gradient(180deg, rgba(22, 37, 56, 0.96), rgba(15, 27, 42, 0.96));
  color: #d9e9fc;
  border-radius: 2px;
  padding: 4px 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  cursor: pointer;
}

.wall-expand-btn:hover {
  border-color: #6f9ac9;
  color: #f4f9ff;
}

.token-card-heatmap .wall-heat-grid,
.wall-card-heatmap .wall-heat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wall-heat-side {
  border: 1px solid #2d4058;
  background: rgba(12, 21, 33, 0.8);
  padding: 6px;
}

.wall-heat-side-resistance {
  border-color: rgba(241, 140, 120, 0.38);
}

.wall-heat-side-support {
  border-color: rgba(107, 225, 173, 0.35);
}

.wall-heat-head {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.38px;
  text-transform: uppercase;
  color: #9ab2cf;
  margin-bottom: 5px;
}

.wall-heat-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 120px) 56px;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  border-bottom: 1px solid rgba(35, 52, 74, 0.7);
}

.wall-heat-row:last-child {
  border-bottom: 0;
}

.wall-heat-row .dist,
.wall-heat-row .pools {
  color: #9bb0cb;
}

.wall-heat-row .bar {
  height: 8px;
  background: #1a2a3f;
}

.wall-heat-row-resistance .bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #fa8d88, #e8b06f);
}

.wall-heat-row-support .bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #4ed8b1, #9deac7);
}

.wall-heat-row .amt {
  color: #e7f0fb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wall-heat-empty {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #8ea6c4;
  min-height: 22px;
  display: flex;
  align-items: center;
}

.wall-scanner-table {
  grid-column: 1 / -1;
  border: 1px solid #324961;
  background: linear-gradient(180deg, rgba(11, 21, 34, 0.96), rgba(9, 17, 29, 0.99));
}

.wall-scanner-head,
.wall-scanner-row {
  display: grid;
  grid-template-columns:
    minmax(220px, 1.2fr)
    minmax(100px, 0.72fr)
    minmax(160px, 0.95fr)
    minmax(160px, 0.95fr)
    minmax(120px, 0.8fr)
    minmax(280px, 1.35fr)
    92px
    80px;
  gap: 8px;
  align-items: center;
  padding: 6px 8px;
}

.token-card-ladder {
  gap: 8px;
}

.ladder-shell {
  border: 1px solid #304760;
  background: rgba(11, 21, 33, 0.84);
  padding: 7px;
}

.ladder-shell-head {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.38px;
  color: #9ab2ce;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ladder-shell-head-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ladder-shell-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.term-ladder-orderbook-btn {
  flex-shrink: 0;
  padding: 3px 8px;
  font-size: 9px;
  letter-spacing: 0.28px;
}

.wall-trade-btn {
  border-color: #4e8d73;
  color: #b9f4d9;
  background: rgba(13, 37, 31, 0.92);
}

.wall-trade-btn:hover {
  color: #edfff7;
  background: rgba(18, 53, 44, 0.96);
}

.term-ladder-history-btn {
  flex-shrink: 0;
  padding: 3px 8px;
  font-size: 9px;
  letter-spacing: 0.28px;
}

.ladder-history-panel {
  margin-top: 8px;
  border-top: 1px solid #29445f;
  padding-top: 7px;
  display: grid;
  gap: 4px;
}

.ladder-history-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.34px;
  text-transform: uppercase;
  color: #8ea6c4;
}

.ladder-history-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #9db3cd;
}

.ladder-history-row .k {
  color: #8ea6c4;
}

.ladder-history-row .v {
  color: #e7f0fb;
  white-space: nowrap;
}

.ladder-history-row .d {
  white-space: nowrap;
}

.ladder-history-row .d.up {
  color: #61f0be;
}

.ladder-history-row .d.down {
  color: #ff9d9d;
}

.ladder-history-row .d.neutral {
  color: #9db3cd;
}

.ladder-history-spark {
  width: 100%;
  height: 34px;
  display: block;
}

.ladder-history-spark .spark-grid {
  stroke: rgba(64, 92, 122, 0.6);
  stroke-width: 1;
  fill: none;
}

.ladder-history-spark .spark-line {
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ladder-history-spark-support .spark-line {
  stroke: #66e2bd;
}

.ladder-history-spark-resistance .spark-line {
  stroke: #ff9f87;
}

.ladder-history-empty {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: #8ea6c4;
}

.ladder-keylevels {
  border: 1px solid #304760;
  background: rgba(11, 21, 33, 0.84);
  padding: 6px;
}

.ladder-keylevels-head {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.38px;
  color: #9ab2ce;
  margin-bottom: 5px;
}

.ladder-keylevels-table {
  display: grid;
}

.ladder-keylevels-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 84px minmax(0, 1fr) 72px;
  gap: 8px;
  align-items: center;
}

.ladder-keylevels-row-head {
  color: #94abc7;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  border-bottom: 1px solid #2a3f58;
  margin-bottom: 2px;
  padding-bottom: 3px;
}

.ladder-keylevels-table .term-level-row {
  border-bottom: 1px solid rgba(36, 54, 75, 0.8);
  min-height: 24px;
  padding: 2px 0;
}

.ladder-keylevels-table .term-level-row:last-child {
  border-bottom: 0;
}

.ladder-aux-row {
  border-top: 1px solid #29445f;
  padding-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #9db3cd;
}

.ladder-aux-row b {
  color: #ecf3fd;
}

.ladder-actions {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid #29445f;
  padding-top: 6px;
}

.wall-scanner-head {
  border-bottom: 1px solid #2b3e56;
  background: rgba(17, 30, 47, 0.84);
}

.wall-scanner-sort {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  color: #96abc5;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.34px;
  text-transform: uppercase;
  cursor: pointer;
}

.wall-scanner-sort:hover,
.wall-scanner-sort.is-active {
  color: #e5eefb;
}

.wall-scanner-row {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #d8e7fa;
  border-bottom: 1px solid rgba(35, 52, 72, 0.85);
  cursor: pointer;
}

.wall-scanner-row:hover {
  background: rgba(40, 58, 80, 0.35);
}

.ws-token-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.term-pair-logo-wrap-mini {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}

.term-pair-logo-wrap-mini .term-pair-logo {
  width: 18px;
  height: 18px;
  border-width: 1px;
}

.term-pair-logo-wrap-mini .term-pair-logo-fallback {
  font-size: 9px;
}

.ws-token-text {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wall-scanner-row .c-pools,
.wall-scanner-row .c-price,
.wall-scanner-row .c-volume,
.wall-scanner-row .c-fees,
.wall-scanner-row .c-tvl,
.wall-scanner-row .c-market-cap,
.wall-scanner-row .c-holders,
.wall-scanner-row .c-net-imbalance,
.wall-scanner-row .c-pressure,
.wall-scanner-row .c-total-support,
.wall-scanner-row .c-total-resistance,
.wall-scanner-row .c-pool-composition {
  font-variant-numeric: tabular-nums;
}

.wall-scanner-row .c-price,
.wall-scanner-row .c-volume,
.wall-scanner-row .c-fees,
.wall-scanner-row .c-tvl,
.wall-scanner-row .c-market-cap,
.wall-scanner-row .c-holders,
.wall-scanner-row .c-total-support,
.wall-scanner-row .c-total-resistance,
.wall-scanner-row .c-net-imbalance,
.wall-scanner-row .c-pressure,
.wall-scanner-row .c-pool-composition {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wall-scanner-row .c-pools {
  overflow: visible;
}

.wall-scanner-row .c-action {
  display: flex;
  justify-content: flex-end;
}

.wall-pools-empty {
  color: #9bb0cb;
}

.wall-pools-popover-wrap {
  position: relative;
  display: inline-flex;
  justify-content: flex-end;
}

.wall-pools-trigger,
.wall-pool-copy-btn {
  border: 1px solid #3c5877;
  background: rgba(15, 27, 42, 0.92);
  color: #e6f1ff;
  border-radius: 3px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2px;
  cursor: pointer;
}

.wall-pools-trigger {
  padding: 3px 8px;
}

.wall-pools-popover-head {
  color: #9db6d2;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.32px;
  text-transform: uppercase;
}

.wall-pool-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  padding-top: 6px;
  border-top: 1px solid rgba(45, 66, 89, 0.8);
}

.wall-pool-main {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.wall-pool-item code {
  color: #e6f1ff;
  font-size: 10px;
  white-space: normal;
  word-break: break-all;
}

.wall-pool-reserves {
  display: grid;
  gap: 3px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: #9db6d2;
}

.wall-pool-reserves span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wall-pool-reserves b {
  color: #e6f1ff;
}

.wall-pool-copy-btn {
  padding: 3px 7px;
  flex-shrink: 0;
}

.wall-pools-floating-tooltip {
  width: min(460px, 90vw);
  max-height: min(62vh, 420px);
  overflow: auto;
}

.wall-pools-floating {
  display: grid;
  gap: 6px;
}

.wall-scanner-detail {
  border-bottom: 1px solid rgba(35, 52, 72, 0.9);
  padding: 8px;
}

.wall-scanner-detail .term-panel-embedded {
  margin: 0;
  border-radius: 2px;
}

.token-card-ladder-embedded {
  border-color: #365071;
}

#walls[data-wall-mode="scanner"] {
  grid-template-columns: 1fr;
}

#walls[data-wall-mode="ladder"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1320px) {
  #walls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .ladder-shell-head {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .term-ladder-orderbook-btn {
    margin-left: auto;
  }

  .ladder-shell-head-actions {
    margin-left: auto;
  }

  .term-ladder-side.is-scrollable {
    max-height: 160px;
  }

  .wall-overview-right {
    justify-items: start;
    width: 100%;
  }

  .wall-mode-switch {
    flex-wrap: wrap;
  }

  #walls {
    grid-template-columns: 1fr;
  }

  .wall-summary-quick-row,
  .wall-summary-totals-row {
    grid-template-columns: 1fr;
  }

  .token-card-heatmap .wall-heat-grid,
  .wall-card-heatmap .wall-heat-grid {
    grid-template-columns: 1fr;
  }

  .wall-signal-banner {
    grid-template-columns: 1fr;
  }

  .wall-scanner-table {
    overflow-x: auto;
  }

  .wall-scanner-head,
  .wall-scanner-row {
    min-width: 1550px;
  }
}

/* Desktop hierarchy system: 100% zoom baseline */
@media (min-width: 981px) {
  :root {
    --ft-desk-type-0: clamp(14px, 0.74vw, 16px);
    --ft-desk-type-1: clamp(16px, 0.86vw, 18px);
    --ft-desk-type-2: clamp(18px, 0.98vw, 22px);
    --ft-desk-type-3: clamp(24px, 1.4vw, 32px);
    --ft-desk-type-4: clamp(34px, 2vw, 44px);
    --ft-desk-gap-1: 8px;
    --ft-desk-gap-2: 12px;
    --ft-desk-gap-3: 16px;
    --ft-desk-gap-4: 22px;
    --ft-desk-control-h: 42px;
    --ft-desk-control-h-lg: 46px;
  }

  body {
    font-size: var(--ft-desk-type-0);
    line-height: 1.42;
  }

  .dashboard-shell {
    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
    padding: 12px clamp(18px, 1.8vw, 34px) 30px;
    gap: var(--ft-desk-gap-3);
  }

  .dashboard-content {
    gap: var(--ft-desk-gap-3);
  }

  .hero.flow-header {
    gap: 12px;
    padding: 12px clamp(18px, 1.8vw, 32px) 10px;
  }

  .flow-header-top {
    grid-template-columns: minmax(280px, auto) minmax(0, 1fr) auto;
    gap: 16px;
  }

  .flow-header-left {
    gap: 12px;
    padding-right: 8px;
  }

  .flow-logo {
    width: 56px;
    height: 44px;
    flex: 0 0 56px;
  }

  .flow-header-copy {
    gap: 3px;
  }

  .hero.flow-header .flow-title {
    font-size: var(--ft-desk-type-4);
    letter-spacing: 0.03em;
    line-height: 0.92;
  }

  .flow-subtitle {
    font-size: 11px;
    letter-spacing: 0.3em;
    line-height: 1.25;
  }

  .terminal-nav-strip {
    gap: 10px;
  }

  .terminal-nav-link {
    min-height: 40px;
    padding: 0 18px;
    border-radius: 6px;
    font-size: 13px;
    letter-spacing: 0.12em;
  }

  .flow-chip {
    min-height: 42px;
    padding: 0 16px;
    gap: 8px;
    font-size: 14px;
  }

  .flow-chip-label {
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  .flow-market-strip {
    grid-template-columns: clamp(170px, 15vw, 250px) minmax(0, 1fr);
    gap: 8px;
  }

  .flow-header-search {
    min-height: var(--ft-desk-control-h-lg);
    padding: 0 10px;
    gap: 7px;
    border-radius: 6px;
  }

  .flow-header-search-icon {
    font-size: 14px;
  }

  .flow-header-search-input {
    font-size: 12px;
    letter-spacing: 0.03em;
  }

  .term-top-tape,
  .flow-market-strip .term-top-tape {
    min-height: var(--ft-desk-control-h-lg);
    padding: 3px 6px;
    gap: 6px;
    border-radius: 6px;
  }

  .term-top-tape-head-inner {
    gap: 6px;
  }

  .term-top-tape-quote-btn {
    min-height: 24px;
    padding: 0 8px;
    font-size: 10px;
  }

  .term-top-tape-info .info-tip {
    width: 14px;
    height: 14px;
    font-size: 8px;
  }

  .term-top-tape-wrap {
    overflow-x: hidden;
  }

  .term-tape-track {
    width: 100%;
    min-width: 0;
  }

  .term-tape-list {
    display: flex;
    width: 100%;
    min-width: 0;
  }

  .term-tape-item {
    flex: 1 1 0;
    min-width: 0;
    gap: 4px;
    padding: 1px 5px;
    font-size: 11px;
  }

  .term-tape-name,
  .term-tape-symbol {
    flex: 1 1 auto;
    min-width: 4ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-transform: uppercase;
  }

  .term-tape-value {
    flex: 0 0 auto;
    margin-left: auto;
    padding-left: 2px;
    font-size: 11px;
  }

  .term-tape-logo-wrap {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
  }

  .term-tape-logo,
  .term-tape-fallback {
    width: 12px;
    height: 12px;
  }

  .term-tape-fallback {
    font-size: 7px;
  }

  .dashboard-toolbar {
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
  }

  .dashboard-toolbar-row {
    gap: 12px;
  }

  .dashboard-toolbar-tabs,
  .dashboard-toolbar-meta {
    gap: 12px;
  }

  .dashboard-toolbar-tab,
  .dashboard-toolbar-pill {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 6px;
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  .dashboard-notification-button {
    width: 40px;
    height: 40px;
  }

  .dashboard-notification-icon,
  .dashboard-notification-icon svg {
    width: 17px;
    height: 17px;
  }

  .dashboard-notification-dot {
    top: 7px;
    right: 7px;
    width: 7px;
    height: 7px;
  }

  .panel {
    border-radius: 16px;
  }

  .panel-head {
    align-items: center;
    min-height: 84px;
    padding: 16px 22px;
  }

  .panel-head h2 {
    font-size: var(--ft-desk-type-3);
    line-height: 1.06;
    letter-spacing: 0.01em;
  }

  #walls {
    gap: 10px;
    padding: 10px;
    min-height: 0;
  }

  #walls .term-page-header {
    padding: 12px 14px;
    border-radius: 8px;
  }

  .term-page-title {
    font-size: var(--ft-desk-type-2);
    line-height: 1.1;
    letter-spacing: 0.015em;
  }

  .term-page-subtitle {
    font-size: 12px;
    letter-spacing: 0.14em;
  }

  .wall-filter-group {
    gap: 10px 12px;
    padding: 12px 14px;
    border-radius: 8px;
  }

  .wall-filter-cluster {
    gap: 8px 10px;
  }

  .wall-filter-cluster-search {
    flex: 0 1 260px;
    min-width: 220px;
  }

  .wall-filter-field-quote {
    width: 102px;
  }

  .wall-filter-field-number {
    width: 108px;
  }

  .wall-filter-field-range {
    width: 88px;
  }

  .wall-filter-field-small {
    width: 72px;
  }

  .wall-filter-field-search {
    width: min(100%, 260px);
  }

  .wall-filter-select-wrap,
  .wall-filter-search-wrap {
    gap: 6px;
  }

  .wall-filter-label {
    min-height: 12px;
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .wall-filter-select,
  .wall-filter-search {
    height: var(--ft-desk-control-h);
    font-size: 13px;
    padding: 0 12px;
    border-radius: 6px;
  }

  .wall-filter-apply-btn {
    min-height: var(--ft-desk-control-h);
    height: var(--ft-desk-control-h);
  }

  .token-card,
  .wall-card {
    border-radius: 8px;
    padding: 10px 12px;
    gap: 8px;
  }

  .token-card::before,
  .wall-card::before {
    height: 3px;
    margin: -10px -12px 8px;
  }

  .token-card .term-instrument-header,
  .wall-card .term-instrument-header {
    padding: 0 0 8px;
    gap: 10px;
  }

  .token-card .term-pair-line,
  .wall-card .term-pair-line {
    min-height: 34px;
  }

  .token-card .term-pair-logo-wrap,
  .wall-card .term-pair-logo-wrap {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .token-card .term-pair-logo,
  .wall-card .term-pair-logo {
    width: 32px;
    height: 32px;
  }

  .token-card .term-pair-link,
  .wall-card .term-pair-link {
    font-size: clamp(23px, 1.08vw, 27px);
    letter-spacing: 0.02em;
  }

  .token-card .term-pair-sep,
  .wall-card .term-pair-sep {
    font-size: 18px;
  }

  .term-token-name-line {
    margin-left: 40px;
    gap: 7px;
    font-size: 12px;
  }

  .term-market-price {
    padding: 3px 8px;
  }

  .term-market-price-label {
    font-size: 10px;
  }

  .term-market-price-value {
    font-size: 14px;
  }

  .term-social-link {
    width: 22px;
    height: 22px;
  }

  .term-meta-strip {
    min-height: 36px;
    gap: 7px;
  }

  .token-card .term-meta-chip,
  .wall-card .term-meta-chip {
    font-size: 12px;
    padding: 5px 10px;
  }

  .token-card .term-rank,
  .wall-card .term-rank {
    font-size: 13px;
    padding: 5px 9px;
  }

  .term-head-signal {
    width: 210px;
    grid-template-columns: minmax(0, 1fr) 78px;
    padding: 6px 8px;
  }

  .term-head-signal-text {
    font-size: 12px;
  }

  .term-bias-banner {
    min-height: 64px;
    padding: 8px 12px;
    gap: 6px;
  }

  .term-bias-label {
    font-size: 14px;
    letter-spacing: 0.05em;
  }

  .term-bias-ratio {
    font-size: 15px;
  }

  .term-section {
    border-radius: 4px;
    padding: 8px;
  }

  .term-section-head {
    font-size: 11px;
  }

  .wall-summary-pressure {
    gap: 10px;
  }

  .wsp-tag {
    font-size: 11px;
  }

  .wsp-meter {
    height: 9px;
  }

  .wall-summary-quick-row,
  .wall-summary-totals-row {
    gap: 10px;
    font-size: 12px;
  }

  .wall-summary-quick-row b {
    font-size: 11px;
  }

  .wall-total-line .k {
    font-size: 11px;
  }

  .wall-total-line .v {
    font-size: 15px;
  }

  .wall-total-side-label {
    font-size: 11px;
  }

  .wall-total-side-value {
    font-size: 15px;
  }

  .wall-summary-usd-metric {
    min-height: 34px;
    padding: 4px 10px;
    border-radius: 4px;
  }

  .wall-summary-usd-label {
    font-size: 10px;
  }

  .wall-summary-usd-value {
    font-size: 14px;
  }

  .wall-expand-btn {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 4px;
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .term-level-head {
    font-size: 11px;
  }

  .term-level-row {
    font-size: 12px;
  }

  .term-major-row {
    font-size: 12px;
  }

  .term-summary-inline span {
    font-size: 11px;
  }

  .term-signal-strip {
    padding: 6px 9px;
    font-size: 12px;
  }

  .wall-scanner-head,
  .wall-scanner-row {
    gap: 10px;
    padding: 8px 10px;
  }

  .wall-scanner-sort {
    font-size: 11px;
  }

  .wall-scanner-row {
    font-size: 12px;
  }

  .ws-token-text {
    font-size: 13px;
  }
}

@media (min-width: 981px) and (max-width: 1700px) {
  .flow-market-strip {
    grid-template-columns: clamp(150px, 14vw, 220px) minmax(0, 1fr);
    gap: 6px;
  }

  .term-tape-item {
    gap: 3px;
    padding: 1px 4px;
  }

  .term-tape-symbol {
    font-size: 10px;
    letter-spacing: 0.03em;
  }

  .term-tape-value {
    font-size: 10px;
  }
}

@media (min-width: 981px) {
  #walls[data-wall-mode="summary"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 981px) and (max-width: 1120px) {
  #walls[data-wall-mode="summary"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Top 7 tape final tuning */
.flow-header-top {
  grid-template-columns: 1fr !important;
}

.flow-header-search {
  display: none !important;
}

.flow-market-strip {
  grid-template-columns: 1fr !important;
  gap: 8px;
}

.flow-market-strip .term-top-tape {
  width: 100%;
}

.term-tape-item {
  justify-content: flex-start;
  gap: 5px;
  padding: 1px 6px 1px 8px;
}

.term-tape-symbol,
.term-tape-name {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 9ch;
}

.term-tape-value {
  flex: 0 0 auto;
  margin-left: 0;
  padding-left: 2px;
  white-space: nowrap;
}

.term-tape-logo-wrap {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.term-tape-logo,
.term-tape-fallback {
  width: 16px;
  height: 16px;
}

.term-tape-fallback {
  font-size: 8px;
}

.term-tape-item::after {
  right: auto;
  left: 0;
}

.term-tape-item:first-child::after {
  display: none;
}

@media (min-width: 981px) and (max-width: 1450px) {
  .term-tape-item {
    gap: 3px;
    padding: 1px 4px 1px 6px;
    font-size: 10px;
  }

  .term-tape-symbol {
    max-width: 7ch;
  }

  .term-tape-value {
    font-size: 10px;
  }

  .term-tape-logo-wrap {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
  }

  .term-tape-logo,
  .term-tape-fallback {
    width: 14px;
    height: 14px;
  }
}

/* Ensure top tape token images stay clearly visible */
.term-tape-logo-wrap {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid #4d698c;
  background: #122338;
}

.term-tape-logo,
.term-tape-fallback {
  width: 18px;
  height: 18px;
}

.term-tape-fallback {
  font-size: 9px;
  font-weight: 700;
}

@media (min-width: 981px) and (max-width: 1450px) {
  .term-tape-logo-wrap {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
  }

  .term-tape-logo,
  .term-tape-fallback {
    width: 16px;
    height: 16px;
  }

  .term-tape-fallback {
    font-size: 8px;
  }
}

/* Safe 75 desktop density mode */
@media (min-width: 981px) {
  body {
    font-size: 13px;
    line-height: 1.34;
  }

  .dashboard-shell {
    max-width: 2480px;
    padding: 8px 12px 22px;
    gap: 12px;
  }

  .dashboard-content {
    gap: 12px;
  }

  .hero.flow-header {
    padding: 8px 12px 7px;
    gap: 8px;
  }

  .flow-header-top {
    gap: 10px;
    align-items: center;
  }

  .flow-header-left {
    gap: 8px;
  }

  .flow-logo {
    width: 46px;
    height: 36px;
    flex: 0 0 46px;
  }

  .hero.flow-header .flow-title {
    font-size: clamp(30px, 1.55vw, 36px);
    line-height: 0.95;
  }

  .flow-subtitle {
    font-size: 9px;
    letter-spacing: 0.22em;
  }

  .flow-market-strip {
    gap: 6px;
  }

  .flow-market-strip .term-top-tape {
    min-height: 38px;
    padding: 2px 6px;
  }

  .term-top-tape-head-inner {
    gap: 5px;
  }

  .term-top-tape-quote-btn {
    min-height: 22px;
    padding: 0 7px;
    font-size: 10px;
  }

  .term-top-tape-info .info-tip {
    width: 13px;
    height: 13px;
    font-size: 8px;
  }

  .term-tape-item {
    gap: 4px;
    padding: 1px 5px 1px 7px;
    font-size: 10px;
  }

  .term-tape-symbol,
  .term-tape-name {
    max-width: 8ch;
    font-size: 10px;
  }

  .term-tape-value {
    font-size: 10px;
    padding-left: 1px;
  }

  .dashboard-toolbar {
    padding: 10px 12px;
    gap: 8px;
  }

  .dashboard-toolbar-tab,
  .dashboard-toolbar-pill {
    min-height: 34px;
    padding: 0 12px;
    font-size: 11px;
  }

  .panel-head {
    min-height: 68px;
    padding: 12px 16px;
  }

  .panel-head h2 {
    font-size: clamp(20px, 1.15vw, 24px);
  }

  #walls {
    gap: 8px;
    padding: 8px;
  }

  #walls .term-page-header {
    padding: 10px 12px;
  }

  .wall-filter-group {
    padding: 10px 12px;
    gap: 8px 10px;
  }

  .wall-filter-select,
  .wall-filter-search {
    height: 38px;
    font-size: 12px;
  }

  .wall-filter-label {
    font-size: 9px;
  }

  .token-card,
  .wall-card {
    padding: 8px 10px;
    gap: 7px;
  }

  .token-card::before,
  .wall-card::before {
    margin: -8px -10px 7px;
    height: 2px;
  }

  .token-card .term-instrument-header,
  .wall-card .term-instrument-header {
    padding: 0 0 7px;
    gap: 8px;
  }

  .token-card .term-pair-line,
  .wall-card .term-pair-line {
    min-height: 30px;
  }

  .token-card .term-pair-logo-wrap,
  .wall-card .term-pair-logo-wrap {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .token-card .term-pair-logo,
  .wall-card .term-pair-logo {
    width: 28px;
    height: 28px;
  }

  .token-card .term-pair-link,
  .wall-card .term-pair-link {
    font-size: clamp(18px, 0.95vw, 22px);
  }

  .token-card .term-pair-sep,
  .wall-card .term-pair-sep {
    font-size: 15px;
  }

  .term-token-name-line {
    margin-left: 34px;
    font-size: 11px;
    gap: 6px;
  }

  .term-market-price {
    padding: 2px 7px;
    gap: 4px;
  }

  .term-market-price-value {
    font-size: 12px;
  }

  .term-social-link {
    width: 20px;
    height: 20px;
  }

  .term-meta-strip {
    min-height: 32px;
    gap: 6px;
  }

  .token-card .term-meta-chip,
  .wall-card .term-meta-chip {
    font-size: 11px;
    padding: 4px 8px;
  }

  .token-card .term-rank,
  .wall-card .term-rank {
    font-size: 12px;
    padding: 4px 8px;
  }

  .term-head-signal {
    width: 180px;
    grid-template-columns: minmax(0, 1fr) 66px;
    padding: 5px 7px;
  }

  .term-head-signal-text {
    font-size: 11px;
  }

  .term-bias-banner {
    min-height: 56px;
    padding: 7px 10px;
    gap: 5px;
  }

  .term-bias-label {
    font-size: 12px;
  }

  .term-bias-ratio {
    font-size: 13px;
  }

  .wall-total-line .k {
    font-size: 10px;
  }

  .wall-total-line .v {
    font-size: 13px;
  }

  .wall-summary-usd-metric {
    min-height: 30px;
    padding: 3px 8px;
  }

  .wall-summary-usd-label {
    font-size: 9px;
  }

  .wall-summary-usd-value {
    font-size: 12px;
  }

  .wall-expand-btn {
    min-height: 30px;
    font-size: 10px;
    padding: 0 10px;
  }
}

/* Safe 65 desktop density mode (stronger) */
@media (min-width: 981px) {
  body {
    font-size: 12.5px;
    line-height: 1.3;
  }

  .dashboard-shell {
    max-width: none;
    padding: 6px 10px 18px;
    gap: 10px;
  }

  .dashboard-content {
    gap: 10px;
  }

  .hero.flow-header {
    padding: 6px 10px 6px;
    gap: 6px;
  }

  .flow-header-top {
    gap: 8px;
  }

  .flow-header-left {
    gap: 7px;
  }

  .flow-logo {
    width: 40px;
    height: 32px;
    flex: 0 0 40px;
  }

  .hero.flow-header .flow-title {
    font-size: clamp(26px, 1.35vw, 32px);
    line-height: 0.94;
  }

  .flow-subtitle {
    font-size: 8px;
    letter-spacing: 0.18em;
  }

  .flow-market-strip {
    gap: 4px;
  }

  .flow-market-strip .term-top-tape {
    min-height: 34px;
    padding: 2px 5px;
  }

  .term-top-tape-head-inner {
    gap: 4px;
  }

  .term-top-tape-quote-btn {
    min-height: 20px;
    padding: 0 6px;
    font-size: 9px;
  }

  .term-tape-item {
    gap: 3px;
    padding: 0 4px 0 6px;
    font-size: 9.5px;
  }

  .term-tape-symbol,
  .term-tape-name {
    max-width: 7ch;
    font-size: 9.5px;
  }

  .term-tape-value {
    font-size: 9.5px;
  }

  .dashboard-toolbar {
    padding: 8px 10px;
    gap: 6px;
  }

  .dashboard-toolbar-tab,
  .dashboard-toolbar-pill {
    min-height: 30px;
    padding: 0 10px;
    font-size: 10px;
  }

  .panel-head {
    min-height: 58px;
    padding: 10px 14px;
  }

  .panel-head h2 {
    font-size: clamp(18px, 1vw, 22px);
  }

  #walls {
    gap: 6px;
    padding: 6px;
  }

  #walls .term-page-header {
    padding: 8px 10px;
  }

  .wall-filter-group {
    padding: 8px 10px;
    gap: 6px 8px;
  }

  .wall-filter-select,
  .wall-filter-search {
    height: 34px;
    font-size: 11px;
  }

  .wall-filter-label {
    font-size: 8px;
  }

  .token-card,
  .wall-card {
    padding: 7px 8px;
    gap: 6px;
  }

  .token-card::before,
  .wall-card::before {
    margin: -7px -8px 6px;
    height: 2px;
  }

  .token-card .term-instrument-header,
  .wall-card .term-instrument-header {
    padding: 0 0 6px;
    gap: 7px;
  }

  .token-card .term-pair-line,
  .wall-card .term-pair-line {
    min-height: 26px;
  }

  .token-card .term-pair-logo-wrap,
  .wall-card .term-pair-logo-wrap {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .token-card .term-pair-logo,
  .wall-card .term-pair-logo {
    width: 24px;
    height: 24px;
  }

  .token-card .term-pair-link,
  .wall-card .term-pair-link {
    font-size: clamp(16px, 0.82vw, 19px);
  }

  .token-card .term-pair-sep,
  .wall-card .term-pair-sep {
    font-size: 13px;
  }

  .term-token-name-line {
    margin-left: 30px;
    font-size: 10px;
    gap: 5px;
  }

  .term-market-price {
    padding: 2px 6px;
    gap: 3px;
  }

  .term-market-price-value {
    font-size: 11px;
  }

  .term-social-link {
    width: 18px;
    height: 18px;
  }

  .term-meta-strip {
    min-height: 28px;
    gap: 5px;
  }

  .token-card .term-meta-chip,
  .wall-card .term-meta-chip {
    font-size: 10px;
    padding: 3px 7px;
  }

  .token-card .term-rank,
  .wall-card .term-rank {
    font-size: 11px;
    padding: 3px 7px;
  }

  .term-head-signal {
    width: 160px;
    grid-template-columns: minmax(0, 1fr) 58px;
    padding: 4px 6px;
  }

  .term-head-signal-text {
    font-size: 10px;
  }

  .term-bias-banner {
    min-height: 50px;
    padding: 6px 8px;
    gap: 4px;
  }

  .term-bias-label {
    font-size: 11px;
  }

  .term-bias-ratio {
    font-size: 12px;
  }

  .wall-total-line .k {
    font-size: 9px;
  }

  .wall-total-line .v {
    font-size: 12px;
  }

  .wall-summary-usd-metric {
    min-height: 26px;
    padding: 3px 7px;
  }

  .wall-summary-usd-label {
    font-size: 8px;
  }

  .wall-summary-usd-value {
    font-size: 11px;
  }

  .wall-expand-btn {
    min-height: 26px;
    font-size: 9.5px;
    padding: 0 8px;
  }

  #walls .term-panel {
    padding: 8px 9px;
    gap: 6px;
    grid-template-rows: auto auto 236px 104px 22px 86px auto;
  }
}

/* Additional 10% desktop dezoom */
@media (min-width: 981px) {
  body {
    font-size: 11.25px;
    line-height: 1.28;
  }

  .dashboard-shell {
    padding: 5px 9px 16px;
    gap: 9px;
  }

  .dashboard-content {
    gap: 9px;
  }

  .hero.flow-header {
    padding: 5px 9px;
    gap: 5px;
  }

  .hero.flow-header .flow-title {
    font-size: clamp(23px, 1.2vw, 29px);
  }

  .flow-subtitle {
    font-size: 7px;
    letter-spacing: 0.14em;
  }

  .flow-market-strip .term-top-tape {
    min-height: 31px;
    padding: 1px 4px;
  }

  .term-top-tape-quote-btn {
    min-height: 18px;
    padding: 0 5px;
    font-size: 8px;
  }

  .term-tape-item {
    font-size: 8.5px;
    padding: 0 3px 0 5px;
  }

  .term-tape-symbol,
  .term-tape-name,
  .term-tape-value {
    font-size: 8.5px;
  }

  .dashboard-toolbar {
    padding: 7px 9px;
    gap: 5px;
  }

  .dashboard-toolbar-tab,
  .dashboard-toolbar-pill {
    min-height: 27px;
    padding: 0 9px;
    font-size: 9px;
  }

  .panel-head {
    min-height: 52px;
    padding: 8px 12px;
  }

  .panel-head h2 {
    font-size: clamp(16px, 0.92vw, 20px);
  }

  #walls {
    gap: 5px;
    padding: 5px;
  }

  #walls .term-page-header {
    padding: 7px 9px;
  }

  .wall-filter-group {
    padding: 7px 9px;
    gap: 5px 7px;
  }

  .wall-filter-select,
  .wall-filter-search {
    height: 30px;
    font-size: 10px;
  }

  .wall-filter-label {
    font-size: 7px;
  }

  .token-card,
  .wall-card {
    padding: 6px 7px;
    gap: 5px;
  }

  .token-card::before,
  .wall-card::before {
    margin: -6px -7px 5px;
  }

  .token-card .term-pair-line,
  .wall-card .term-pair-line {
    min-height: 23px;
  }

  .token-card .term-pair-logo-wrap,
  .wall-card .term-pair-logo-wrap {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .token-card .term-pair-logo,
  .wall-card .term-pair-logo {
    width: 22px;
    height: 22px;
  }

  .token-card .term-pair-link,
  .wall-card .term-pair-link {
    font-size: clamp(14px, 0.72vw, 17px);
  }

  .token-card .term-pair-sep,
  .wall-card .term-pair-sep {
    font-size: 11px;
  }

  .term-token-name-line {
    margin-left: 27px;
    font-size: 9px;
  }

  .term-market-price-value {
    font-size: 10px;
  }

  .term-social-link {
    width: 16px;
    height: 16px;
  }

  .term-meta-strip {
    min-height: 25px;
    gap: 4px;
  }

  .token-card .term-meta-chip,
  .wall-card .term-meta-chip {
    font-size: 9px;
    padding: 2px 6px;
  }

  .token-card .term-rank,
  .wall-card .term-rank {
    font-size: 10px;
    padding: 2px 6px;
  }

  .term-head-signal {
    width: 142px;
    grid-template-columns: minmax(0, 1fr) 52px;
    padding: 3px 5px;
  }

  .term-head-signal-text {
    font-size: 9px;
  }

  .term-bias-banner {
    min-height: 44px;
    padding: 5px 7px;
    gap: 3px;
  }

  .term-bias-label {
    font-size: 10px;
  }

  .term-bias-ratio {
    font-size: 11px;
  }

  .wall-total-line .k {
    font-size: 8px;
  }

  .wall-total-line .v {
    font-size: 11px;
  }

  .wall-summary-usd-metric {
    min-height: 23px;
    padding: 2px 6px;
  }

  .wall-summary-usd-label {
    font-size: 7px;
  }

  .wall-summary-usd-value {
    font-size: 10px;
  }

  .wall-expand-btn {
    min-height: 23px;
    font-size: 8.5px;
    padding: 0 7px;
  }

  #walls .term-panel {
    padding: 7px 8px;
    gap: 5px;
    grid-template-rows: auto auto 212px 92px 20px 74px auto;
  }
}

/* Top Header Refresh */
.hero.flow-header {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 8px;
  padding: 8px clamp(10px, 1.25vw, 18px) 7px;
  border-bottom: 1px solid rgba(52, 75, 102, 0.78);
  background:
    radial-gradient(85% 120% at 50% -25%, rgba(58, 110, 176, 0.18) 0%, rgba(8, 13, 24, 0) 60%),
    linear-gradient(90deg, rgba(6, 12, 22, 0.98), rgba(10, 21, 36, 0.96) 52%, rgba(6, 12, 22, 0.98));
}

.hero.flow-header .flow-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100% !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 10px;
}

.hero.flow-header .flow-header-left {
  flex: 0 1 auto;
  gap: 8px;
  padding-right: 0;
}

.hero.flow-header .flow-logo {
  width: 42px;
  height: 33px;
  flex: 0 0 42px;
}

.hero.flow-header .flow-header-copy {
  gap: 2px;
}

.hero.flow-header .flow-title {
  font-size: clamp(24px, 2.05vw, 36px);
  line-height: 0.98;
  letter-spacing: 0.01em;
}

.hero.flow-header .flow-subtitle {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(10px, 0.7vw, 12px);
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #9bb2cf;
}

.hero.flow-header .flow-header-right {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
  flex: 0 0 auto;
  gap: 10px;
}

.flow-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 0 11px;
  border: 1px solid rgba(61, 96, 128, 0.76);
  border-radius: 8px;
  background: radial-gradient(120% 150% at 50% 0%, rgba(39, 81, 122, 0.26), rgba(10, 22, 34, 0.92));
  color: #e3effe;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(74, 120, 165, 0.24), 0 0 18px rgba(57, 130, 203, 0.16);
}

.flow-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #52f0b0;
  box-shadow: 0 0 12px rgba(82, 240, 176, 0.62);
}

.flow-header-icon-btn {
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #b5c9e1;
  cursor: pointer;
  transition: color 120ms ease, opacity 120ms ease;
  opacity: 0.92;
}

.flow-header-icon-btn:hover {
  color: #f3f8ff;
  opacity: 1;
}

.flow-header-icon-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.hero.flow-header .flow-market-strip {
  width: 100% !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.hero.flow-header .flow-market-strip .term-top-tape {
  margin: 0;
  width: 100%;
  min-height: 56px;
  padding: 8px 10px;
  border: 1px solid rgba(60, 87, 118, 0.82);
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(7, 16, 30, 0.98), rgba(7, 13, 24, 0.98));
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
}

.hero.flow-header .term-top-tape-head {
  min-width: 0;
}

.hero.flow-header .term-top-tape-head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.term-top-tape-title {
  flex: 1 1 auto;
  min-width: 0;
  color: #ebf3ff;
  font-size: clamp(14px, 0.92vw, 16px);
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero.flow-header .term-top-tape-quote-switch {
  border-radius: 7px;
  border-color: rgba(61, 94, 128, 0.88);
  background: rgba(8, 20, 34, 0.9);
  margin-left: 2px;
}

.hero.flow-header .term-top-tape-quote-btn {
  min-height: 23px;
  padding: 0 10px;
  font-size: 10px;
  border-right-color: rgba(61, 94, 128, 0.7);
}

.hero.flow-header .term-top-tape-quote-btn.is-active {
  background: linear-gradient(180deg, rgba(33, 53, 77, 0.97), rgba(17, 29, 45, 0.97));
}

.hero.flow-header .term-top-tape-wrap {
  min-width: 0;
  overflow: visible;
}

.hero.flow-header .term-tape-track {
  width: 100%;
  min-width: 0;
}

.hero.flow-header .term-tape-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.hero.flow-header .term-tape-item {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  grid-template-areas:
    "logo symbol"
    "logo value"
    "logo usd";
  align-items: center;
  gap: 1px 7px;
  padding: 5px 8px;
  border: 1px solid rgba(51, 74, 100, 0.6);
  border-radius: 8px;
  margin-right: 0;
  min-width: 0;
}

.hero.flow-header .term-tape-item::after {
  display: none;
}

.hero.flow-header .term-tape-logo-wrap {
  grid-area: logo;
}

.hero.flow-header .term-tape-symbol,
.hero.flow-header .term-tape-name {
  grid-area: symbol;
  max-width: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero.flow-header .term-tape-value {
  grid-area: value;
  margin-left: 0;
  padding-left: 0;
  font-size: 10px;
  letter-spacing: 0.01em;
}

.hero.flow-header .term-tape-usd {
  grid-area: usd;
  margin-left: 0;
  padding-left: 0;
  color: #93b2d5;
  font-size: 9px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.hero.flow-header .term-top-tape-empty {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
}

.top-market-insights {
  width: 100%;
}

.top-market-insights-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.95fr) minmax(0, 1.2fr);
  gap: 8px;
}

.top-market-insights-card {
  border: 1px solid rgba(56, 84, 113, 0.8);
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(8, 16, 30, 0.96), rgba(7, 14, 26, 0.96));
  padding: 9px 10px;
  min-width: 0;
}

.top-market-insights-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.top-market-insights-title {
  color: #dce9fb;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.top-market-live-badge {
  min-height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(76, 114, 146, 0.74);
  background: rgba(10, 25, 38, 0.86);
  color: #5cf4b8;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}

.top-market-signals-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.top-market-signal-group {
  border: 1px solid rgba(64, 91, 122, 0.75);
  border-radius: 8px;
  padding: 7px;
  min-width: 0;
  background: rgba(9, 20, 34, 0.82);
}

.top-market-signal-group-buy {
  border-color: rgba(80, 204, 164, 0.58);
  background: linear-gradient(180deg, rgba(10, 38, 35, 0.44), rgba(9, 20, 34, 0.84));
}

.top-market-signal-group-sell {
  border-color: rgba(226, 108, 123, 0.56);
  background: linear-gradient(180deg, rgba(43, 23, 31, 0.48), rgba(9, 20, 34, 0.84));
}

.top-market-signal-group-head {
  color: #c7d8ee;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.top-market-signal-group-list {
  display: grid;
  gap: 5px;
}

.top-market-signal-card {
  border: 1px solid rgba(62, 91, 122, 0.64);
  border-radius: 8px;
  padding: 6px 7px;
  min-width: 0;
  background: rgba(6, 15, 27, 0.7);
}

.top-market-signal-card-buy {
  border-color: rgba(80, 204, 164, 0.58);
  background: linear-gradient(180deg, rgba(10, 38, 35, 0.42), rgba(9, 20, 34, 0.8));
}

.top-market-signal-card-sell {
  border-color: rgba(226, 108, 123, 0.56);
  background: linear-gradient(180deg, rgba(43, 23, 31, 0.44), rgba(9, 20, 34, 0.8));
}

.top-market-signal-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 2px 8px;
}

.top-market-signal-pair {
  color: #eef5ff;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-market-signal-action {
  color: #f3cf7d;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.top-market-signal-imbalance {
  grid-column: 1 / -1;
  color: #94b0cf;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.top-market-empty-inline {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8ea6c3;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  border: 1px dashed rgba(63, 90, 119, 0.46);
  border-radius: 7px;
}

.top-market-summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.top-market-summary-item {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(60, 88, 118, 0.76);
  border-radius: 8px;
  background: rgba(8, 20, 34, 0.8);
  padding: 8px;
}

.top-market-summary-item .k {
  color: #93abc8;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.top-market-summary-item .v {
  color: #f0f6ff;
  font-family: "JetBrains Mono", monospace;
  font-size: 27px;
  font-weight: 600;
  line-height: 1;
}

.top-market-quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 7px;
}

.top-market-timeframe-wrap {
  display: grid;
  gap: 4px;
  margin-bottom: 7px;
}

.top-market-timeframe-label {
  color: #8ea6c3;
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-market-timeframe-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.top-market-timeframe-btn {
  min-height: 28px;
  padding: 0 8px;
  border-radius: 7px;
  border: 1px solid rgba(63, 94, 126, 0.82);
  background: rgba(11, 24, 38, 0.8);
  color: #a8bfda;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.top-market-timeframe-btn.is-active {
  color: #f2f8ff;
  border-color: rgba(120, 167, 219, 0.95);
  background: linear-gradient(180deg, rgba(32, 50, 72, 0.96), rgba(14, 25, 40, 0.98));
}

.top-market-quick-btn {
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(63, 94, 126, 0.82);
  background: rgba(11, 24, 38, 0.8);
  color: #a8bfda;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.top-market-quick-btn.is-active {
  color: #f2f8ff;
  border-color: rgba(120, 167, 219, 0.95);
  background: linear-gradient(180deg, rgba(32, 50, 72, 0.96), rgba(14, 25, 40, 0.98));
}

.top-market-quick-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 7px;
}

.top-market-field {
  display: grid;
  gap: 4px;
}

.top-market-field span {
  color: #8ea6c3;
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-market-field input,
.top-market-field select {
  width: 100%;
  min-height: 28px;
  border-radius: 7px;
  border: 1px solid rgba(61, 91, 123, 0.78);
  background: rgba(9, 20, 34, 0.92);
  color: #dceafa;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  padding: 0 8px;
}

.top-market-field input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.top-market-field input[type="number"]::-webkit-outer-spin-button,
.top-market-field input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.top-market-search-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-height: 30px;
  border-radius: 7px;
  border: 1px solid rgba(61, 91, 123, 0.78);
  background: rgba(9, 20, 34, 0.92);
  padding: 0 8px;
}

.top-market-search-wrap svg {
  width: 13px;
  height: 13px;
  fill: #8ea6c3;
  flex: 0 0 auto;
}

.top-market-search-wrap input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #dceafa;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}

.top-market-search-wrap input::placeholder {
  color: #6f87a6;
}

.top-market-empty {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8ea6c3;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  border: 1px dashed rgba(63, 90, 119, 0.5);
  border-radius: 8px;
}

@media (max-width: 980px) {
  .hero.flow-header .flow-header-top {
    align-items: center;
    gap: 10px;
  }

  .hero.flow-header .flow-header-right {
    justify-content: flex-end;
  }

  .hero.flow-header .flow-market-strip .term-top-tape {
    min-height: 54px;
    padding: 7px 9px;
  }

  .hero.flow-header .term-tape-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .top-market-insights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-market-insights-filters {
    grid-column: 1 / -1;
  }

  .top-market-signals-list,
  .top-market-quick-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-market-timeframe-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .top-market-summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero.flow-header {
    padding: 8px 8px 7px;
    gap: 7px;
  }

  .hero.flow-header .flow-logo {
    width: 36px;
    height: 28px;
    flex-basis: 36px;
  }

  .hero.flow-header .flow-title {
    font-size: clamp(21px, 7vw, 27px);
  }

  .hero.flow-header .flow-subtitle {
    font-size: 9px;
  }

  .flow-live-pill {
    min-height: 24px;
    padding: 0 9px;
    font-size: 9px;
  }

  .flow-header-icon-btn {
    padding: 0;
  }

  .hero.flow-header .term-top-tape-head-inner {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
  }

  .hero.flow-header .flow-header-top {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero.flow-header .flow-header-right {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }

  .term-top-tape-title {
    width: 100%;
    font-size: 13px;
  }

  .hero.flow-header .term-top-tape-quote-btn {
    min-height: 22px;
    font-size: 9px;
    padding: 0 8px;
  }

  .hero.flow-header .term-tape-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .hero.flow-header .term-tape-item {
    grid-template-columns: 14px minmax(0, 1fr);
    gap: 1px 6px;
    padding: 4px 6px;
  }

  .hero.flow-header .term-tape-value {
    font-size: 9px;
  }

  .hero.flow-header .term-tape-usd {
    font-size: 8px;
  }

  .top-market-insights-grid,
  .top-market-signals-list,
  .top-market-quick-fields {
    grid-template-columns: 1fr;
  }

  .top-market-timeframe-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .top-market-summary-grid {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .top-market-insights-card {
    padding: 8px 9px;
  }

  .top-market-summary-item {
    padding: 6px;
  }

  .top-market-summary-item .v {
    font-size: clamp(14px, 3.8vw, 20px);
  }

}

/* Scanner Visual Refresh */
.wall-scanner-table {
  --ws-col-template: 260px 126px 130px 120px 210px 210px 178px 180px 150px 130px 150px 145px 165px 120px 340px;
  --ws-table-min-width: 3114px;
  border: 1px solid rgba(56, 86, 116, 0.84);
  border-radius: 11px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-gutter: stable both-edges;
  background:
    radial-gradient(140% 120% at 50% -20%, rgba(45, 88, 138, 0.16) 0%, rgba(10, 20, 33, 0) 60%),
    linear-gradient(180deg, rgba(10, 20, 33, 0.98), rgba(8, 16, 28, 0.99));
  box-shadow: inset 0 1px 0 rgba(116, 165, 220, 0.08);
}

.wall-scanner-head,
.wall-scanner-row {
  display: grid;
  grid-template-columns: var(--ws-col-template);
  min-width: var(--ws-table-min-width);
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
}

.wall-scanner-head {
  border-bottom: 1px solid rgba(59, 87, 116, 0.8);
  background: linear-gradient(180deg, rgba(19, 32, 48, 0.85), rgba(12, 22, 34, 0.92));
}

.wall-scanner-sort {
  color: #9ab1cc;
  font-size: 10px;
  letter-spacing: 0.08em;
  width: 100%;
  text-align: left;
  padding-right: 12px;
}

.wall-scanner-sort:hover,
.wall-scanner-sort.is-active {
  color: #f2f8ff;
}

.ws-head-cell {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
}

.ws-head-label {
  color: #9ab1cc;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: 100%;
  padding-right: 12px;
}

.ws-col-resizer {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 12px;
  height: calc(100% + 12px);
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: col-resize;
  z-index: 4;
}

.ws-col-resizer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 18%;
  transform: translateX(-50%);
  width: 1px;
  height: 64%;
  background: rgba(86, 126, 164, 0.52);
}

.ws-col-resizer:hover::before,
.ws-col-resizer:focus-visible::before {
  background: rgba(141, 194, 243, 0.9);
}

body.is-wall-scanner-resizing,
body.is-wall-scanner-resizing * {
  cursor: col-resize !important;
  user-select: none !important;
}

.wall-scanner-row {
  border-bottom: 1px dashed rgba(59, 87, 116, 0.52);
  transition: background 120ms ease, border-color 120ms ease;
}

.wall-scanner-row:last-of-type {
  border-bottom-style: solid;
  border-bottom-color: rgba(59, 87, 116, 0.32);
}

.wall-scanner-row:hover {
  background: linear-gradient(90deg, rgba(35, 57, 81, 0.34), rgba(23, 38, 57, 0.24));
  border-bottom-color: rgba(89, 128, 166, 0.72);
}

.ws-token-wrap {
  gap: 9px;
}

.term-pair-logo-wrap-mini {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}

.term-pair-logo-wrap-mini .term-pair-logo {
  width: 34px;
  height: 34px;
}

.term-pair-logo-wrap-mini .term-pair-logo-fallback {
  font-size: 11px;
}

.ws-token-stack {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.ws-token-text {
  font-size: 16px;
  letter-spacing: 0.02em;
  color: #eef6ff;
}

.ws-token-sub {
  color: #90a8c6;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ws-metric-cell {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.ws-metric-main {
  color: #edf5ff;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ws-metric-sub {
  color: #90a8c6;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ws-metric-bar {
  margin-top: 1px;
  height: 6px;
  border-radius: 999px;
  background: rgba(61, 87, 116, 0.56);
  overflow: hidden;
}

.ws-metric-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.ws-metric-bar-support span {
  background: linear-gradient(90deg, #4ee0bc, #83f1cd);
}

.ws-metric-bar-resistance span {
  background: linear-gradient(90deg, #f8c24d, #ff7b7b);
}

.ws-net-imbalance-value {
  font-weight: 600;
}

.ws-net-imbalance-value.is-buy {
  color: #7df0c9;
}

.ws-net-imbalance-value.is-sell {
  color: #ff9cae;
}

.ws-net-imbalance-value.is-neutral {
  color: #d8e5f6;
}

.ws-pressure-pill {
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 10px;
  border: 1px solid rgba(71, 102, 136, 0.84);
  background: rgba(15, 27, 42, 0.86);
  padding: 0 10px;
  width: fit-content;
  max-width: 100%;
}

.ws-pressure-pill .ws-pressure-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #9db3cd;
  box-shadow: 0 0 8px rgba(157, 179, 205, 0.5);
}

.ws-pressure-pill-buy {
  border-color: rgba(70, 191, 154, 0.72);
  background: linear-gradient(180deg, rgba(16, 52, 46, 0.68), rgba(10, 29, 35, 0.84));
}

.ws-pressure-pill-buy .ws-pressure-dot {
  background: #62f0bd;
  box-shadow: 0 0 8px rgba(98, 240, 189, 0.65);
}

.ws-pressure-pill-sell {
  border-color: rgba(217, 88, 111, 0.72);
  background: linear-gradient(180deg, rgba(58, 23, 35, 0.7), rgba(32, 16, 24, 0.86));
}

.ws-pressure-pill-sell .ws-pressure-dot {
  background: #ff7b90;
  box-shadow: 0 0 8px rgba(255, 123, 144, 0.64);
}

.ws-pressure-action {
  color: #d9e8fb;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.ws-pressure-ratio {
  color: #eff6ff;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
}

.wall-scanner-row .c-pools,
.wall-scanner-row .c-action {
  align-self: center;
}

.wall-scanner-row .wall-pools-trigger {
  min-height: 29px;
  border-radius: 8px;
  border-color: rgba(73, 106, 142, 0.9);
  background: rgba(13, 24, 38, 0.92);
  font-size: 11px;
  padding: 0 11px;
}

.wall-scanner-row .wall-expand-btn {
  min-height: 30px;
  border-radius: 9px;
  font-size: 10px;
  padding: 0 12px;
}

.wall-scanner-detail-pools {
  padding: 8px 10px;
}

.wall-scanner-breakdown {
  display: grid;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
}

.wall-scanner-breakdown-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 0;
}

.wall-scanner-breakdown-title {
  color: #ecf5ff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.wall-scanner-breakdown-meta {
  color: #99b2cf;
  font-size: 11px;
  text-align: right;
}

.wall-scanner-breakdown-table-wrap {
  border: 1px solid rgba(58, 87, 117, 0.8);
  border-radius: 8px;
  overflow: auto;
  background: linear-gradient(180deg, rgba(11, 21, 36, 0.95), rgba(8, 16, 28, 0.96));
}

.wall-scanner-breakdown-table {
  width: 100%;
  min-width: 1540px;
  border-collapse: collapse;
}

.wall-scanner-breakdown-table th,
.wall-scanner-breakdown-table td {
  padding: 7px 8px;
  border-bottom: 1px dashed rgba(52, 80, 108, 0.56);
  text-align: left;
  vertical-align: middle;
}

.wall-scanner-breakdown-table th {
  color: #9fb5cf;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(17, 30, 46, 0.9), rgba(10, 20, 33, 0.95));
}

.wsbd-sort-btn {
  border: 0;
  background: transparent;
  color: #9fb5cf;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  white-space: nowrap;
  padding: 0;
  cursor: pointer;
}

.wsbd-sort-btn:hover,
.wsbd-sort-btn.is-active {
  color: #edf6ff;
}

.wall-scanner-breakdown-table td {
  color: #e6f1ff;
  font-size: 11px;
}

.wall-scanner-breakdown-table tbody tr:hover td {
  background: linear-gradient(90deg, rgba(31, 55, 82, 0.3), rgba(20, 36, 54, 0.24));
}

.wsbd-main {
  display: block;
  color: #e6f1ff;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wsbd-sub {
  display: block;
  color: #8ea7c6;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wsbd-pool-address {
  display: inline-block;
  color: #8fc6ff;
  font-size: 10px;
  text-decoration: none;
}

.wsbd-pool-address:hover {
  color: #d8ebff;
  text-decoration: underline;
}

.wsbd-orderbook-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(71, 104, 140, 0.9);
  border-radius: 7px;
  background: rgba(13, 24, 38, 0.92);
  color: #e8f2ff;
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.wsbd-orderbook-btn:hover {
  border-color: rgba(106, 146, 188, 0.96);
  color: #ffffff;
}

.wsbd-net.is-buy {
  color: #7df0c9;
}

.wsbd-net.is-sell {
  color: #ff9cae;
}

.wsbd-net.is-neutral {
  color: #d9e6f8;
}

.wsbd-empty {
  text-align: center;
  color: #91aac8;
  font-size: 11px;
  padding: 14px 8px;
}

@media (max-width: 1300px) {
  .wall-scanner-head,
  .wall-scanner-row {
    gap: 8px;
    padding: 7px 8px;
  }

  .ws-token-text {
    font-size: 15px;
  }

  .ws-token-sub,
  .ws-metric-main,
  .ws-pressure-ratio {
    font-size: 13px;
  }

  .ws-metric-sub,
  .ws-pressure-action {
    font-size: 11px;
  }
}

@media (max-width: 980px) {
  .wall-scanner-head,
  .wall-scanner-row {
    min-width: var(--ws-table-min-width);
  }
}

/* Reference Palette Alignment */
:root {
  --bg: #060d1a;
  --panel: #081427;
  --panel-2: #0d1a30;
  --text: #e8f1ff;
  --muted: #8ea5c2;
  --border: #284463;
}

body {
  background:
    radial-gradient(1200px 560px at 14% -12%, rgba(26, 47, 78, 0.34) 0%, transparent 58%),
    radial-gradient(980px 500px at 86% -8%, rgba(18, 44, 74, 0.36) 0%, transparent 56%),
    linear-gradient(180deg, #050c19 0%, #071020 100%),
    var(--bg);
}

.bg {
  background:
    radial-gradient(72% 44% at 78% 0%, rgba(48, 101, 165, 0.16), rgba(8, 17, 30, 0)),
    radial-gradient(66% 40% at 14% -4%, rgba(46, 103, 147, 0.12), rgba(8, 17, 30, 0));
  mix-blend-mode: normal;
  opacity: 0.9;
}

.hero.flow-header {
  border-bottom: 1px solid rgba(45, 70, 97, 0.82);
  background:
    radial-gradient(95% 120% at 52% -30%, rgba(45, 95, 152, 0.2) 0%, rgba(7, 13, 24, 0) 58%),
    linear-gradient(90deg, rgba(5, 11, 21, 0.99), rgba(8, 19, 34, 0.97) 55%, rgba(5, 11, 21, 0.99));
}

.hero.flow-header .flow-subtitle {
  color: #9bb2cc;
}

.flow-live-pill {
  border-color: rgba(66, 105, 143, 0.78);
  background: radial-gradient(130% 150% at 50% 0%, rgba(38, 80, 118, 0.28), rgba(9, 21, 34, 0.94));
  box-shadow: inset 0 0 0 1px rgba(86, 135, 183, 0.28), 0 0 14px rgba(39, 100, 156, 0.22);
}

.flow-header-icon-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(55, 86, 118, 0.9);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(10, 21, 35, 0.9), rgba(8, 16, 28, 0.95));
  color: #b4c8df;
}

.flow-header-icon-btn:hover {
  border-color: rgba(87, 127, 167, 0.94);
  background: linear-gradient(180deg, rgba(15, 30, 48, 0.9), rgba(10, 20, 34, 0.95));
}

.hero.flow-header .flow-market-strip .term-top-tape,
.top-market-insights-card,
.dashboard-toolbar,
.panel,
.wall-scanner-table {
  border-color: rgba(50, 79, 108, 0.9);
  background: linear-gradient(180deg, rgba(8, 17, 31, 0.98), rgba(6, 13, 24, 0.98));
  box-shadow: inset 0 1px 0 rgba(103, 150, 201, 0.08);
}

.term-top-tape-title,
.panel-head h2 {
  color: #ecf4ff;
}

.top-market-insights-title {
  color: #dbe8fb;
}

.top-market-live-badge {
  border-color: rgba(66, 106, 146, 0.74);
  background: rgba(10, 24, 39, 0.9);
}

.top-market-signal-group {
  border-color: rgba(58, 91, 126, 0.72);
  background: rgba(9, 20, 35, 0.86);
}

.top-market-signal-group-buy {
  border-color: rgba(78, 185, 150, 0.6);
  background: linear-gradient(180deg, rgba(13, 44, 41, 0.44), rgba(9, 20, 35, 0.86));
}

.top-market-signal-group-sell {
  border-color: rgba(196, 87, 107, 0.6);
  background: linear-gradient(180deg, rgba(49, 24, 34, 0.46), rgba(9, 20, 35, 0.86));
}

.top-market-summary-item {
  border-color: rgba(57, 88, 121, 0.78);
  background: rgba(8, 19, 33, 0.86);
}

.top-market-quick-btn {
  border-color: rgba(61, 94, 129, 0.84);
  background: rgba(9, 21, 35, 0.84);
}

.top-market-quick-btn.is-active {
  border-color: rgba(112, 157, 206, 0.96);
  background: linear-gradient(180deg, rgba(29, 50, 74, 0.96), rgba(13, 25, 41, 0.98));
}

.top-market-field input,
.top-market-field select,
.top-market-search-wrap {
  border-color: rgba(61, 94, 127, 0.84);
  background: rgba(8, 20, 34, 0.94);
}

.dashboard-toolbar-tab,
.dashboard-toolbar-pill,
.dashboard-notification-button {
  border-color: rgba(57, 87, 118, 0.9);
  background: rgba(10, 21, 35, 0.82);
}

.dashboard-toolbar-tab.is-active {
  border-color: rgba(98, 143, 192, 0.94);
  background: linear-gradient(180deg, rgba(20, 37, 57, 0.96), rgba(11, 22, 36, 0.98));
}

.dashboard-toolbar-pill {
  color: #74e6d7;
}

.panel-head {
  background: linear-gradient(90deg, rgba(16, 30, 46, 0.92), rgba(10, 20, 35, 0.9));
  border-bottom-color: rgba(45, 70, 97, 0.8);
}

.wall-scanner-head {
  border-bottom-color: rgba(54, 84, 114, 0.8);
  background: linear-gradient(180deg, rgba(17, 30, 46, 0.9), rgba(10, 20, 33, 0.95));
}

.wall-scanner-row {
  border-bottom-color: rgba(56, 84, 113, 0.5);
}

.wall-scanner-row:hover {
  background: linear-gradient(90deg, rgba(27, 48, 72, 0.34), rgba(18, 33, 50, 0.26));
  border-bottom-color: rgba(77, 117, 155, 0.7);
}

.startup-loader {
  position: fixed;
  inset: 0;
  z-index: 2600;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(1200px 620px at 16% -12%, rgba(40, 87, 146, 0.28) 0%, rgba(6, 13, 24, 0) 56%),
    radial-gradient(920px 540px at 84% -8%, rgba(22, 68, 112, 0.26) 0%, rgba(6, 13, 24, 0) 58%),
    linear-gradient(180deg, rgba(5, 11, 21, 0.98), rgba(4, 9, 17, 0.98));
  opacity: 1;
  visibility: visible;
  transition: opacity 260ms ease, visibility 260ms ease;
}

.startup-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.startup-loader-card {
  width: min(450px, 94vw);
  border: 1px solid rgba(76, 112, 150, 0.7);
  border-radius: 16px;
  padding: 24px 24px 20px;
  background: linear-gradient(180deg, rgba(9, 18, 32, 0.97), rgba(7, 14, 25, 0.99));
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(107, 153, 203, 0.2);
}

.startup-loader-mark-wrap {
  width: 126px;
  height: 126px;
  margin: 0 auto 10px;
  filter: drop-shadow(0 0 20px rgba(123, 205, 226, 0.24));
}

.startup-loader-mark {
  width: 100%;
  height: 100%;
  display: block;
}

.startup-loader-ring {
  fill: none;
  stroke: rgba(95, 138, 193, 0.5);
  stroke-width: 2;
}

.startup-loader-link {
  fill: none;
  stroke: url(#ltLoaderLinkGradient);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.startup-loader-node {
  fill: url(#ltLoaderNodeFill);
  stroke: url(#ltLoaderLinkGradient);
  stroke-width: 2;
}

.startup-loader-mark-wrap {
  animation: startupLoaderPulse 1.8s ease-in-out infinite;
}

.startup-loader-brand {
  text-align: center;
  color: #edf5ff;
  font-weight: 700;
  font-size: clamp(34px, 5vw, 50px);
  line-height: 1;
  letter-spacing: 0.01em;
}

.startup-loader-status {
  margin-top: 10px;
  text-align: center;
  color: #96b1cf;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.startup-loader-progress-row {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.startup-loader-progress-value {
  color: #c8ddf5;
  font-family: "JetBrains Mono", monospace;
  font-size: 17px;
  letter-spacing: 0.06em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.startup-loader-progress-track {
  margin-top: 8px;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(66, 100, 137, 0.72);
  background: rgba(7, 16, 30, 0.96);
  overflow: hidden;
}

.startup-loader-progress-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #74d9cb 0%, #8edcb1 52%, #f0c96f 100%);
  box-shadow: 0 0 14px rgba(117, 214, 204, 0.38);
  transition: width 240ms ease;
}

body.startup-loading .hero,
body.startup-loading .dashboard-shell {
  opacity: 0;
  pointer-events: none;
}

body:not(.startup-loading) .hero,
body:not(.startup-loading) .dashboard-shell {
  opacity: 1;
  transition: opacity 220ms ease;
}

@keyframes startupLoaderPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.018);
  }
}
