/* Seven-day sparkline column (public/v2/sparklines.js). It is shown only where
   the table has room for it; below each width the table is exactly as before,
   and hidden cells are never near the viewport, so they request nothing. */
.spark-column { display: none; }
body.v2 .table-wrap table tr > .spark-column { box-sizing: border-box; width: 136px; padding: 0 16px 0 0; text-align: right; vertical-align: middle; }
body.v2 .table-wrap table tr > th.spark-column { font-size: 12px; }
/* The sparkline cell is now the last child of every row, shown or not: the
   Market value column of the Top 50 keeps the edge padding theme.css gave it
   as td:last-child. */
@media (min-width: 701px) {
  body.v2 .table-wrap tr > .ranking-value-column { padding-right: 18px; }
}
.spark { display: block; width: 120px; height: 34px; margin-left: auto; overflow: visible; }
.spark-up { color: var(--green); }
.spark-down { color: var(--red); }
.spark-flat { color: var(--subtle); }
/* The table layout is fixed. The column takes its 136px from the asset column
   and a wider minimum, so the performance columns keep at least the width
   they had at each mode's previous minimum. Each breakpoint is that minimum
   plus the page margins and a scrollbar: the table never starts to scroll
   sideways because of this column. */
@media (min-width: 1267px) {
  body.v2.has-sparklines:not(.show-intraday):not(.show-crypto-fdv) .table-wrap table tr > .spark-column:not([hidden]) { display: table-cell; }
  body.v2.has-sparklines:not(.show-intraday):not(.show-crypto-fdv) .panel:not(.explorer-mode) #asset-heading { width: 27%; }
  body.v2.has-sparklines:not(.show-intraday):not(.show-crypto-fdv) .panel:not(.explorer-mode) #last-heading { width: 11%; }
  body.v2.has-sparklines:not(.show-intraday):not(.show-crypto-fdv) .panel:not(.explorer-mode) .table-wrap table { min-width: 1200px; }
}
@media (min-width: 1331px) {
  body.v2.has-sparklines.show-crypto-fdv:not(.show-intraday) .table-wrap table tr > .spark-column:not([hidden]) { display: table-cell; }
  body.v2.has-sparklines.show-crypto-fdv:not(.show-intraday) .panel:not(.explorer-mode) #asset-heading { width: 24%; }
  body.v2.has-sparklines.show-crypto-fdv:not(.show-intraday) .panel:not(.explorer-mode) .table-wrap table { min-width: 1264px; }
}
@media (min-width: 1391px) {
  body.v2.has-sparklines.show-intraday:not(.show-crypto-fdv) .table-wrap table tr > .spark-column:not([hidden]) { display: table-cell; }
  body.v2.has-sparklines.show-intraday:not(.show-crypto-fdv) .panel:not(.explorer-mode) #asset-heading { width: 22%; }
  body.v2.has-sparklines.show-intraday:not(.show-crypto-fdv) .panel:not(.explorer-mode) .table-wrap table { min-width: 1324px; }
}

