/* Desktop scanner presentation only. Forms, actions and mobile styles stay owned
   by the existing application. No demo behavior is imported from the concept. */
.scanner-desktop-head,
.scanner-desktop-metrics,
.scanner-desktop-unit { display: none; }

body.scanner-interface .ticker-name .ticker-quote {
  font-size: 0.5em;
  line-height: 1;
}

@media (min-width: 1185px) {
  body.scanner-interface {
    --scanner-rule: #284652;
    --scanner-text: #eef2f4;
    --scanner-muted: #b2c6d0;
    --scanner-positive: #b6ce82;
    --scanner-negative: #e57b68;
    --scanner-input: #112b37;
    --scanner-background: #0d222d;
    --scanner-columns: minmax(120px, 1.2fr) minmax(110px, 1fr)
      minmax(100px, .9fr) minmax(135px, 1.15fr) minmax(135px, 1.15fr)
      minmax(110px, .95fr) minmax(190px, 1.7fr) 56px;
    background: var(--scanner-background);
    color: var(--scanner-text);
  }
  body.scanner-interface.theme-light {
    --scanner-rule: #cbd2ce;
    --scanner-text: #263133;
    --scanner-muted: #586c70;
    --scanner-positive: #486b37;
    --scanner-negative: #a74943;
    --scanner-input: #e5e9e4;
    --scanner-background: #f1f2ed;
  }
  body.scanner-interface .page-shell { max-width: 2200px; }
  body.scanner-interface .island-nav { background: transparent; border: 0; box-shadow: none; }
  body.scanner-interface .island-link { background: transparent; color: var(--scanner-muted); }
  body.scanner-interface .island-link-active {
    background: var(--scanner-input); color: var(--scanner-text);
    border-color: var(--scanner-muted); box-shadow: none;
  }
  body.scanner-interface .user-bubble { background: transparent; border: 0; box-shadow: none; }
  body.scanner-interface .arbitrage-layout {
    grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start;
  }
  body.scanner-interface .filters-rail {
    background: transparent; border: 0; border-right: 1px solid var(--scanner-rule);
    border-radius: 0; box-shadow: none; padding: 10px 22px 14px 0;
  }
  body.scanner-interface .filter-drawer,
  body.scanner-interface .filter-panel {
    background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 0;
  }
  body.scanner-interface .filter-drawer-title {
    color: var(--scanner-text); font-size: 17px; font-weight: 600;
    padding: 0; margin: 0 0 18px;
  }
  body.scanner-interface .filter-form-sidebar { gap: 16px; }
  body.scanner-interface .preset-field,
  body.scanner-interface .range-field,
  body.scanner-interface .toggle-field {
    background: transparent; border: 0; border-radius: 0; padding: 0;
    box-shadow: none; color: var(--scanner-text);
  }
  body.scanner-interface .label-with-info { font-size: 12px; font-weight: 400; gap: 5px; }
  body.scanner-interface .info-tip-button {
    width: 15px; min-width: 15px; height: 15px; min-height: 15px;
    padding: 0; font-size: 10px; color: var(--scanner-muted);
    background: transparent; border-color: var(--scanner-rule); box-shadow: none;
  }
  body.scanner-interface .preset-bubble-row-mode { gap: 18px; flex-wrap: nowrap; }
  body.scanner-interface .preset-bubble-button-mode {
    padding: 0 0 6px; min-height: 28px; border: 0;
    border-bottom: 2px solid transparent; border-radius: 0; background: transparent;
    box-shadow: none; font-size: 12px; color: var(--scanner-muted);
  }
  body.scanner-interface .preset-bubble-button-mode.preset-bubble-active {
    border-bottom-color: #c8a56d; color: var(--scanner-text); font-weight: 600;
    background: transparent; box-shadow: none;
  }
  body.scanner-interface .preset-picker-trigger {
    background: transparent; border: 0; border-bottom: 1px solid var(--scanner-rule);
    border-radius: 0; box-shadow: none; padding: 5px 2px;
    color: var(--scanner-text); font-size: 13px; min-height: 30px;
  }
  body.scanner-interface .preset-picker-menu {
    background: var(--scanner-background); border-color: var(--scanner-rule);
    color: var(--scanner-text);
  }
  body.scanner-interface .preset-save-row { align-items: center; gap: 8px; }
  body.scanner-interface .preset-save-row input {
    background: transparent; border: 0; border-bottom: 1px solid var(--scanner-rule);
    border-radius: 0; padding: 5px 2px; height: 30px; min-height: 30px;
    color: var(--scanner-text); font-size: 12px; box-shadow: none;
  }
  body.scanner-interface .preset-save-row input::placeholder { color: var(--scanner-muted); }
  body.scanner-interface .preset-save-action {
    width: 24px; min-width: 24px; height: 30px; min-height: 30px;
    background: transparent; border: 0; padding: 0; box-shadow: none;
    color: var(--scanner-text); font-size: 20px;
  }
  body.scanner-interface .field-top-split { gap: 5px; align-items: center; }
  body.scanner-interface .field-input-wrap {
    background: transparent; border: 0; padding: 0; gap: 3px; box-shadow: none;
  }
  body.scanner-interface .field-value-input {
    width: 52px; min-width: 0; padding: 0; height: 24px; min-height: 24px;
    background: transparent; border: 0; border-radius: 0; box-shadow: none;
    color: var(--scanner-text); text-align: center;
    font: 600 12px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-variant-numeric: tabular-nums lining-nums;
  }
  body.scanner-interface .stepper-btn {
    background: transparent; border: 0; border-radius: 0; box-shadow: none;
    color: var(--scanner-muted); width: 20px; min-width: 20px;
    height: 24px; min-height: 24px; padding: 0; font-size: 18px;
  }
  body.scanner-interface .stepper-btn { font-size: 0; }
  body.scanner-interface .stepper-btn::before { font-size: 16px; }
  body.scanner-interface .stepper-btn[data-stepper="down"]::before { content: "−"; }
  body.scanner-interface .stepper-btn[data-stepper="up"]::before { content: "+"; }
  body.scanner-interface .range-field input[type="range"] { accent-color: var(--scanner-muted); }
  body.scanner-interface .toggle-field { min-height: 22px; gap: 10px; }
  body.scanner-interface .switch-ui { width: 32px; height: 18px; }
  body.scanner-interface .switch-ui::before { width: 14px; height: 14px; }
  body.scanner-interface .filter-actions .primary-action {
    background: transparent; border: 1px solid var(--scanner-rule); border-radius: 5px;
    color: var(--scanner-text); height: 34px; min-height: 34px;
    padding: 0 12px; box-shadow: none; font-size: 14px;
  }
  body.scanner-interface .filter-actions .primary-action:hover { border-color: var(--scanner-muted); }
  body.scanner-interface .board-card {
    background: transparent; border: 0; border-radius: 0; box-shadow: none;
    padding: 8px 0 0; color: var(--scanner-text);
  }
  body.scanner-interface .section-head { margin: 0 0 14px; padding: 0 4px; align-items: center; }
  body.scanner-interface .section-head h2 { font-size: 24px; font-weight: 600; }
  body.scanner-interface .board-mode-chip {
    background: transparent; border: 0; border-radius: 0; box-shadow: none;
    padding: 0; min-height: 0; font-size: 12px; font-weight: 400;
    color: var(--scanner-muted);
  }
  body.scanner-interface .frame-indicator {
    background: transparent; border: 0; box-shadow: none; font-size: 11px;
  }
  body.scanner-interface .arb-table-head { display: none; }
  body.scanner-interface .scanner-desktop-head,
  body.scanner-interface .arb-row,
  body.scanner-interface .arb-variant-row {
    display: grid; grid-template-columns: var(--scanner-columns); column-gap: 14px;
  }
  body.scanner-interface .scanner-desktop-head {
    align-items: center; min-height: 46px; padding: 0 4px;
    color: var(--scanner-text); font-size: 12px;
  }
  .scanner-head-ticker { grid-column: 1; }
  .scanner-head-net { grid-column: 2; }
  .scanner-head-profit { grid-column: 3; }
  .scanner-head-spot { grid-column: 4; }
  .scanner-head-futures { grid-column: 5; }
  .scanner-head-volume-funding { grid-column: 6; }
  .scanner-head-actions { grid-column: 7 / 9; }
  body.scanner-interface .scanner-desktop-head .sort-head-link {
    background: transparent; color: var(--scanner-text); font-weight: 400;
    display: inline-flex; gap: 5px; align-items: center;
  }
  body.scanner-interface .scanner-desktop-head .sort-head-active { font-weight: 700; }
  body.scanner-interface .scanner-desktop-head .sort-head-arrow { display: none; font-size: 1em; }
  body.scanner-interface .scanner-desktop-head .sort-head-active .sort-head-arrow { display: inline; }
  body.scanner-interface .arb-list,
  body.scanner-interface .arb-group { gap: 0; }
  body.scanner-interface .arb-row,
  body.scanner-interface .arb-variant-row {
    grid-template-rows: 27px 27px; row-gap: 0; align-items: stretch;
    padding: 7px 4px; border: 0; border-bottom: 1px solid var(--scanner-rule);
    border-radius: 0; background: transparent; min-height: 69px;
    transform: none; transition: background 120ms ease;
  }
  body.scanner-interface .arb-row:hover,
  body.scanner-interface .arb-variant-row:hover { transform: none; background: var(--veil-faint); }
  body.scanner-interface .arb-row > .arb-cell,
  body.scanner-interface .arb-variant-row > .arb-cell {
    grid-row: 1 / 3; display: grid; grid-template-rows: subgrid;
    align-content: stretch; justify-content: stretch; justify-items: stretch;
    gap: 0; min-height: 0; padding: 0; border: 0; border-radius: 0;
    background: transparent; box-shadow: none; text-align: left;
  }
  body.scanner-interface .ticker-block { grid-column: 1; position: relative; }
  body.scanner-interface .spread-cell { grid-column: 2; }
  body.scanner-interface .profit-block { grid-column: 3; }
  body.scanner-interface .spot-cell { grid-column: 4; }
  body.scanner-interface .futures-cell { grid-column: 5; }
  body.scanner-interface .volume-cell { grid-column: 6; }
  body.scanner-interface .funding-cell { grid-column: 6; }
  body.scanner-interface .tv-block { grid-column: 7; }
  body.scanner-interface .actions-block { grid-column: 8; }
  body.scanner-interface .arb-cell .cell-primary {
    display: flex; align-items: center; justify-content: flex-start; gap: 4px;
    grid-row: 1; min-height: 0; width: 100%; text-align: left;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-variant-numeric: tabular-nums lining-nums; font-size: 15px;
  }
  body.scanner-interface .arb-cell .secondary-bubble-track {
    display: flex; align-items: center; justify-content: flex-start;
    grid-row: 2; min-height: 0; height: auto; padding: 0; width: auto; gap: 6px;
  }
  body.scanner-interface .arb-cell .mobile-cell-label,
  body.scanner-interface .compact-exchange-label { display: none; }
  body.scanner-interface .ticker-block .ticker-primary {
    grid-row: 1 / 3; font-family: inherit;
  }
  body.scanner-interface .ticker-title-row { min-height: 0; gap: 8px; width: 100%; }
  body.scanner-interface .ticker-name { font-family: inherit; font-size: 15px; font-weight: 600; }
  body.scanner-interface .group-toggle-chip {
    margin-left: auto; background: transparent; border: 0; box-shadow: none;
    width: 26px; min-width: 26px; height: 26px; min-height: 26px;
    padding: 0; color: var(--scanner-muted);
  }
  body.scanner-interface .ticker-secondary-track {
    position: absolute; bottom: 0; left: 0; pointer-events: auto;
    height: 10px !important; min-height: 0;
  }
  body.scanner-interface .ticker-secondary-track .signal-pill {
    background: transparent; border: 0; padding: 0;
    font-size: 9px; font-weight: 400; line-height: 1;
  }
  body.scanner-interface .spread-cell > .cell-primary,
  body.scanner-interface .spread-cell > .secondary-bubble-track { display: none; }
  body.scanner-interface .scanner-desktop-metrics {
    display: grid; grid-template-rows: subgrid; grid-row: 1 / 3; min-width: 0;
  }
  body.scanner-interface .scanner-net {
    display: flex; align-items: center; grid-row: 1;
    font: 700 25px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-variant-numeric: tabular-nums lining-nums;
  }
  body.scanner-interface .scanner-gross {
    display: flex; align-items: center; grid-row: 2;
    color: var(--scanner-muted); font-size: 11px; white-space: nowrap;
    font-variant-numeric: tabular-nums lining-nums;
  }
  body.scanner-interface .scanner-gross-active { font-weight: 600; }
  body.scanner-interface .profit-block .cell-primary {
    display: grid; grid-template-rows: subgrid; grid-row: 1 / 3;
    align-content: stretch; justify-content: stretch;
  }
  body.scanner-interface .profit-value {
    display: flex; align-items: center; grid-row: 1;
    font-size: 21px; line-height: 1; color: var(--scanner-text);
  }
  body.scanner-interface .scanner-desktop-unit {
    display: flex; align-items: center; grid-row: 2;
    font: 11px/1.2 ui-sans-serif, sans-serif; color: var(--scanner-muted);
  }
  body.scanner-interface .scanner-market-spot_futures .volume-cell { grid-row: 1; }
  body.scanner-interface .scanner-market-spot_futures .volume-cell .secondary-bubble-track { display: none; }
  body.scanner-interface .scanner-market-spot_futures .funding-cell { grid-row: 2; }
  body.scanner-interface .scanner-market-spot_futures .funding-cell .cell-primary { font-size: 11px; }
  body.scanner-interface .scanner-market-spot_futures .funding-cell .secondary-bubble-track { display: none; }
  body.scanner-interface .price-action-row { display: flex; align-items: center; }
  body.scanner-interface .direction-pill,
  body.scanner-interface .copy-chip,
  body.scanner-interface .favorite-chip,
  body.scanner-interface .blacklist-chip {
    background: transparent; border: 0; border-radius: 0; box-shadow: none;
    min-height: 24px; padding: 0; color: var(--scanner-muted); font-size: 11px;
  }
  body.scanner-interface .direction-long { color: var(--scanner-positive); }
  body.scanner-interface .direction-short { color: var(--scanner-negative); }
  body.scanner-interface .exchange-pill-link { color: var(--scanner-muted); }
  body.scanner-interface .scanner-direction-long { color: var(--scanner-positive); }
  body.scanner-interface .scanner-direction-short { color: var(--scanner-negative); }
  body.scanner-interface .copy-chip { width: auto; font-family: inherit; font-weight: 400; }
  body.scanner-interface .copy-chip:hover { background: transparent; color: var(--scanner-text); text-decoration: underline; }
  body.scanner-interface .tv-symbol-row { display: flex; align-items: center; gap: 16px; flex-wrap: nowrap; }
  body.scanner-interface .actions-block {
    display: flex !important; align-items: center; justify-content: flex-end !important;
  }
  body.scanner-interface .actions-primary { display: none !important; }
  body.scanner-interface .actions-secondary-track { display: flex; align-items: center; gap: 10px; }
  body.scanner-interface .favorite-chip,
  body.scanner-interface .blacklist-chip { display: inline-flex; align-items: center; justify-content: center; width: 24px; font-size: 22px; }
  body.scanner-interface .favorite-chip-active { color: #c8a56d; }
  body.scanner-interface .ff-metric-positive { color: var(--scanner-positive); }
  body.scanner-interface .ff-metric-negative { color: var(--scanner-negative); }
  body.scanner-interface .ff-metric-neutral { color: var(--scanner-muted); }
  body.scanner-interface .funding-positive-text,
  body.scanner-interface .funding-negative-text { color: #cb957e; }
  body.scanner-interface .ff-data-bubble { background: transparent; border: 0; padding: 0; box-shadow: none; }
  body.scanner-interface .scanner-market-futures_futures {
    --scanner-columns: minmax(115px, 1.1fr) minmax(105px, 1fr) minmax(100px, .9fr)
      minmax(130px, 1.1fr) minmax(130px, 1.1fr) minmax(100px, .8fr)
      minmax(120px, 1fr) minmax(185px, 1.5fr) 56px;
  }
  body.scanner-interface .scanner-market-futures_futures .arb-row,
  body.scanner-interface .scanner-market-futures_futures .arb-variant-row { grid-template-rows: 30px minmax(38px, auto); }
  body.scanner-interface .scanner-market-futures_futures .funding-cell { grid-column: 7; }
  body.scanner-interface .scanner-market-futures_futures .tv-block { grid-column: 8; }
  body.scanner-interface .scanner-market-futures_futures .actions-block { grid-column: 9; }
  body.scanner-interface .scanner-market-futures_futures .scanner-head-volume { grid-column: 6; }
  body.scanner-interface .scanner-market-futures_futures .scanner-head-funding { grid-column: 7; }
  body.scanner-interface .scanner-market-futures_futures .scanner-head-actions { grid-column: 8 / 10; }
  body.scanner-interface .scanner-market-futures_futures .ff-funding-breakdown { display: grid; gap: 2px; }
  body.scanner-interface .scanner-market-futures_futures .ff-funding-line { display: flex; gap: 8px; }
  body.scanner-interface :is(button, a, input, summary):focus-visible {
    outline: 2px solid var(--scanner-positive); outline-offset: 3px;
  }
}

/* Complete the desktop cascade over the inherited theme and cell styles. */
@media (min-width: 1185px) {
  body.scanner-interface .filter-form-sidebar { padding: 0; }
  body.scanner-interface .filter-drawer-title {
    border: 0; background: transparent; padding: 0 0 12px;
    border-bottom: 1px solid var(--scanner-rule);
  }
  body.scanner-interface .preset-bubble-button-mode,
  body.scanner-interface .preset-bubble-button-mode:hover,
  body.scanner-interface .preset-bubble-button-mode.preset-bubble-active {
    background: transparent; box-shadow: none;
  }
  body.scanner-interface .preset-picker-trigger:hover,
  body.scanner-interface .preset-save-action:hover {
    background: transparent; box-shadow: none;
  }
  body.scanner-interface .preset-picker-menu .preset-bubble {
    background: transparent; border: 0; border-radius: 0;
    box-shadow: none; padding: 8px 4px; color: var(--scanner-muted);
  }
  body.scanner-interface .preset-picker-menu .preset-bubble-active {
    color: var(--scanner-text); font-weight: 600;
  }
  body.scanner-interface .preset-picker-menu .preset-bubble:hover {
    background: var(--scanner-input); color: var(--scanner-text);
  }
  body.scanner-interface .scanner-note-card {
    background: transparent; border: 0;
    border-bottom: 1px solid var(--scanner-rule);
    border-radius: 0; box-shadow: none; padding: 0 4px 14px;
  }
  body.scanner-interface .scanner-note-copy { font-size: 13px; }
  body.scanner-interface .scanner-note-meta {
    font-size: 12px; color: var(--scanner-muted); margin-top: 4px;
  }
  body.scanner-interface .board-card .arb-cell .cell-primary {
    justify-items: start; justify-content: flex-start; text-align: left;
  }
  body.scanner-interface .board-card .price-value { text-align: left; }
  body.scanner-interface .board-card .profit-block .cell-primary {
    justify-content: stretch;
  }
  body.scanner-interface .board-card .secondary-bubble-track .price-action-row,
  body.scanner-interface .board-card .secondary-bubble-track .tv-symbol-row {
    min-height: 0; height: 27px; align-items: center;
    align-self: center; justify-self: start;
  }
  body.scanner-interface .board-card .secondary-bubble-track .direction-pill,
  body.scanner-interface .board-card .secondary-bubble-track .copy-chip,
  body.scanner-interface .board-card .secondary-bubble-track .ff-data-bubble,
  body.scanner-interface .board-card .secondary-bubble-track .favorite-chip,
  body.scanner-interface .board-card .secondary-bubble-track .blacklist-chip {
    min-height: 0; height: auto; padding: 0; justify-self: start;
  }
  body.scanner-interface .board-card .direction-pill { gap: 5px; }
  body.scanner-interface .board-card .ff-data-bubble {
    align-self: center; justify-self: start;
  }
  body.scanner-interface .board-card .actions-secondary-track {
    justify-content: flex-end; height: auto;
  }
}

/* Match the approved rail dimensions and keep every cell inside its column. */
@media (min-width: 1185px) {
  body.scanner-interface .arbitrage-layout {
    grid-template-columns: 300px minmax(0, 1fr); gap: 24px;
  }
  body.scanner-interface .filters-rail {
    width: 100%; min-width: 0; justify-self: stretch; align-self: stretch;
    box-sizing: border-box; padding: 10px 24px 14px 0;
  }
  body.scanner-interface .filter-panel,
  body.scanner-interface .filter-drawer {
    width: 100%; min-width: 0; min-height: 0; box-sizing: border-box;
  }
  body.scanner-interface .filter-drawer-title {
    border: 0; padding: 0; margin-bottom: 18px;
  }
  body.scanner-interface .filter-form-sidebar { gap: 14px; }
  body.scanner-interface .range-field { gap: 5px; }
  body.scanner-interface .field-top-split {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px;
  }
  body.scanner-interface .field-top .label-with-info {
    min-width: 0; font-size: 11.5px; line-height: 1.35;
  }
  body.scanner-interface .field-input-wrap { flex-shrink: 0; }
  body.scanner-interface .preset-bubble-row-mode { justify-content: flex-start; gap: 20px; }
  body.scanner-interface .preset-bubble-button-mode { flex: 0 1 auto; }
  body.scanner-interface .demo-notice {
    font-size: 11px; line-height: 1.4; color: var(--scanner-muted);
  }
  body.scanner-interface .range-field input[type="range"] {
    appearance: none; -webkit-appearance: none; background: transparent;
    box-shadow: none; height: 18px; margin: 0; padding: 0;
  }
  body.scanner-interface .range-field input[type="range"]::-webkit-slider-runnable-track {
    height: 2px; border: 0; border-radius: 0;
    background: var(--scanner-rule); box-shadow: none;
  }
  body.scanner-interface .range-field input[type="range"]::-webkit-slider-thumb {
    appearance: none; -webkit-appearance: none;
    width: 12px; height: 12px; margin-top: -5px;
    border: 0; border-radius: 50%; background: var(--scanner-muted); box-shadow: none;
  }
  body.scanner-interface .range-field input[type="range"]::-moz-range-track {
    height: 2px; border: 0; background: var(--scanner-rule); box-shadow: none;
  }
  body.scanner-interface .range-field input[type="range"]::-moz-range-thumb {
    width: 12px; height: 12px; border: 0; border-radius: 50%;
    background: var(--scanner-muted); box-shadow: none;
  }
  body.scanner-interface .checkbox-shell { width: 32px; height: 18px; }
  body.scanner-interface .switch-ui {
    width: 32px; height: 18px; box-sizing: border-box;
    background: transparent; border: 1px solid var(--scanner-rule); box-shadow: none;
  }
  body.scanner-interface .switch-ui::after {
    width: 12px; height: 12px; left: 2px; top: 2px;
    background: var(--scanner-muted); box-shadow: none;
  }
  body.scanner-interface .checkbox-shell input[type="checkbox"]:checked + .switch-ui {
    background: var(--scanner-input); border-color: var(--scanner-positive); box-shadow: none;
  }
  body.scanner-interface .checkbox-shell input[type="checkbox"]:checked + .switch-ui::after {
    transform: translateX(14px); background: var(--scanner-positive);
  }
  body.scanner-interface .board-card .scanner-desktop-head { font-size: 12px; }
  body.scanner-interface .board-card .scanner-desktop-head > * {
    min-width: 0; align-self: center;
  }
  body.scanner-interface .board-card .price-value { font-size: 16px; }
  body.scanner-interface .board-card .direction-pill,
  body.scanner-interface .board-card .copy-chip,
  body.scanner-interface .board-card .scanner-gross,
  body.scanner-interface .board-card .scanner-desktop-unit {
    font-size: 12px; font-weight: 400; line-height: 1.2;
  }
  body.scanner-interface .board-card .direction-pill { white-space: nowrap; }
  body.scanner-interface .board-card .scanner-direction-long,
  body.scanner-interface .board-card .scanner-direction-short { font-weight: 600; }
  body.scanner-interface .board-card .copy-chip {
    display: inline-flex; align-items: center; gap: 6px;
    text-align: left; justify-content: flex-start; white-space: nowrap;
  }
  body.scanner-interface .board-card .tv-symbol-chip::after {
    content: "⧉"; font-size: 13px; line-height: 1;
  }
  body.scanner-interface .board-card .copy-chip:hover,
  body.scanner-interface .board-card .exchange-pill-link:hover {
    color: var(--scanner-text); text-decoration: underline; text-underline-offset: 3px;
  }
  body.scanner-interface .board-card .ticker-secondary-track .signal-pill { font-size: 10px; }
  body.scanner-interface .board-card .ff-volume-value,
  body.scanner-interface .board-card .ff-funding-value,
  body.scanner-interface .board-card .ff-funding-side {
    font-size: 11px; line-height: 1.2;
    font-variant-numeric: tabular-nums lining-nums;
  }
  body.scanner-interface .board-card .scanner-gross-active {
    font-weight: 700;
  }
}

@media (min-width: 1185px) {
  body.scanner-interface .board-card .ticker-block .ticker-primary {
    grid-row: 1 / 3; display: flex;
    align-items: center; align-content: center; justify-content: flex-start;
    height: 100%; padding: 0;
  }
  body.scanner-interface .board-card .ticker-title-row {
    display: flex; align-items: center; width: 100%; margin: 0;
  }
  body.scanner-interface .board-card .variant-ticker-cell > .secondary-bubble-track {
    display: none;
  }
}

@media (min-width: 1185px) {
  body.scanner-interface .board-card .tv-block .copy-chip,
  body.scanner-interface .board-card .tv-block .secondary-bubble-track .copy-chip {
    min-height: 24px; height: 24px; padding: 0 7px;
    border: 1px solid var(--scanner-rule); border-radius: 4px;
    background: transparent; box-shadow: none; font-size: 11px;
    justify-content: center; text-decoration: none;
  }
  body.scanner-interface .board-card .tv-block .copy-chip:hover {
    border-color: var(--scanner-muted); background: transparent;
    color: var(--scanner-text); text-decoration: none;
  }
  body.scanner-interface .board-card .tv-block .copy-chip-wide {
    width: 100%; align-self: center; justify-self: stretch;
  }
  body.scanner-interface .board-card .tv-block .tv-symbol-row {
    width: 100%; gap: 6px;
  }
  body.scanner-interface .board-card .tv-block .tv-symbol-chip {
    flex: 1 1 0; min-width: 0;
  }
  body.scanner-interface .board-card .arb-group .group-toggle-chip,
  body.scanner-interface .board-card .arb-group .group-toggle-chip:hover,
  body.scanner-interface .board-card .arb-group.group-open .group-toggle-chip {
    background: transparent; border: 0; box-shadow: none;
    color: var(--scanner-muted); transform: none;
  }
  body.scanner-interface .board-card .arb-group .group-toggle-chip:hover {
    color: var(--scanner-text);
  }
  body.scanner-interface .board-card .arb-group.group-open .arb-variant-list {
    background: #112b37; border-radius: 0;
  }
  body.scanner-interface.theme-light .board-card .arb-group.group-open .arb-variant-list {
    background: #e5e9e4;
  }
}

@media (min-width: 1185px) {
  body.scanner-interface .board-card .tv-block .cell-primary,
  body.scanner-interface .board-card .tv-block .secondary-bubble-track,
  body.scanner-interface .board-card .tv-block .tv-symbol-row {
    width: 100%; min-width: 0; max-width: none; box-sizing: border-box;
  }
  body.scanner-interface .board-card .tv-block .copy-chip-wide {
    flex: 1 1 100%; width: 100%; min-width: 0; max-width: none;
    box-sizing: border-box; white-space: nowrap;
  }
}
