/*
 * Dashboard geometry corrections r15
 *
 * Static presentation only. The feed, animations, curation, lifecycle, and
 * cycle remain exactly as published by the production pipeline.
 */

/* Make the Certain News clipping boundary real rather than only an internal
   padding edge. It now physically ends below the header's Telegram edge. */
.market-ticker {
  padding-right: var(--ticker-page-edge);
}

.ticker-viewport {
  padding-right: 0;
}

/* Companion panels use the same thin gold perimeter as Top Story. */
.certain-panel,
.asset-panel {
  border-color: rgba(241, 201, 40, 0.36);
}

/* Values and labels use a shared centre line inside each metric cell. */
.lead-metric {
  align-items: center;
  padding-right: 8px;
  padding-left: 8px;
  text-align: center;
}

.lead-metric:first-child {
  padding-left: 0;
}

.lead-value,
.lead-label {
  width: 100%;
  text-align: center;
}

/* Header metadata was visually too high against the title baseline. */
.panel-horizon {
  top: 14px;
}

/* The right value strip is one continuous surface: no 15px dark gutter can
   remain after the arrow, and a solid shade avoids a muddy black/grey seam. */
.asset-scroll .asset-row,
.asset-scroll .asset-row:nth-child(odd) {
  padding-right: 0;
}

.asset-scroll .asset-range-wrap {
  padding: 0 15px 0 14px;
  border-left-color: rgba(255, 255, 255, 0.09);
  background: #111415;
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.018);
}

.asset-scroll .asset-range {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .market-ticker {
    padding-right: var(--ticker-page-edge);
  }

  .panel-horizon {
    top: 12px;
    right: 13px;
  }

  .lead-metric {
    padding-right: 5px;
    padding-left: 5px;
  }
}
