/* The promotions (src/app/promotions/page.ts: /promotions, /promotions/dacia). The heading and the links are a topic's
   (topics.css, app.css `.tp-nav`), the stage scene.css's, the cards the list's own (explorer.css, `.gx`); here, what a
   card says under its car and a make's tile. After those; it never redefines a token. */
/* A card: the promotional price large, its list price struck beside it, then what the promotion takes off. */
.pm-cost { display: grid; margin-top: 6px; }
.pm-cost .price { display: contents; }
.pm-cost .price > b { font: 800 1.0625rem/1.25rem var(--display); letter-spacing: -0.025em; }
.pm-cost .price-list { font: 500 0.75rem/1rem var(--label); color: var(--soft); font-variant-numeric: tabular-nums; }
.pm-cost .price-list s { font: inherit; }
.pm-drop { display: flex; margin-top: 4px; min-width: 0; }
.pm-drop .gap { max-width: 100%; white-space: nowrap; }
/* Two lines, each of one height whether it says something or not: every card of a row ends level. */
.pm-said { display: block; height: 1rem; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 0.75rem/1rem var(--body); color: var(--soft); }
.pm-said + .pm-said { margin-top: 0; }
/* On a stage, a drop under a car's name. */
.scene-fact .gap { min-height: 22px; padding: 1px 8px; font-size: 0.75rem; }

/* The biggest drops are twelve: rows of two, three, four or six, never a row left open. */
@media (min-width: 1300px) { .pm-top .gx { --cols: 6; } }

/* A make with promotions: its logo, its name, how many, the biggest. */
.pm-makes { grid-template-columns: repeat(auto-fill, minmax(min(100%, 156px), 1fr)); }
.pm-logo { display: flex; align-items: center; height: 36px; --logo-w: 64px; --logo-h: 32px; }
.pm-logo .mk-logo { -webkit-mask-position: var(--line-start) center; mask-position: var(--line-start) center; }
.pm-logo .mk-mono { display: grid; place-items: center; width: 32px; height: 32px; border: 1.5px solid var(--edge); border-radius: 50%; font: 800 0.875rem/1 var(--label); color: var(--soft); }

/* What the figures rest on. */
.pm-rests { display: grid; gap: 6px; max-width: 78ch; }
.pm-rests ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font: 400 0.8125rem/1.45 var(--body); color: var(--soft); text-wrap: pretty; font-variant-numeric: tabular-nums; }
