/* Pre-market and after-hours (docs/premarket.md): the line under a stock's price, the movers card on Market and the Board's widget. Phone first: everything wraps, nothing is wider than the screen. */
.pm-line:empty { display: none; }
.pm-line { margin-top: 0.35rem; min-width: 0; }
.pm-main { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.6rem; }
.pm-main .px { font-weight: 600; font-variant-numeric: tabular-nums; }
.pm-sub { margin: 0.2rem 0 0; overflow-wrap: anywhere; }
.pm-card { min-width: 0; }
.pm-group { min-width: 0; }
.pm-sub-title { margin: 0.25rem 0 0.35rem; font-size: 0.8rem; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--muted, inherit); }
.pm-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.pm-mover { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 0.75rem; row-gap: 0.1rem; align-items: baseline; padding: 0.45rem 0; border-top: 1px solid var(--line, rgba(127, 127, 127, 0.25)); min-width: 0; }
.pm-mover:first-child { border-top: 0; }
.pm-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.1rem 0.5rem; min-width: 0; }
.pm-co { overflow-wrap: anywhere; }
.pm-px, .pm-chg { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pm-chg { min-width: 4.5rem; }
.pm-vol { grid-column: 1 / -1; overflow-wrap: anywhere; }
.pm-closed { margin: 0; }
.hw-pm .pm-mover { padding: 0.3rem 0; }
@media (min-width: 640px) {
  .pm-mover { grid-template-columns: minmax(0, 1fr) 6rem 6rem minmax(0, 1.2fr); }
  .pm-vol { grid-column: auto; text-align: end; }
  .hw-pm .pm-vol { grid-column: 1 / -1; text-align: start; }
}
