/* "À découvrir aussi" (src/app/explore/): a row of at most four cards that lead on, each the same five things, centred:
   its mark (a make's logo, two makes' side by side, else its sign in a well) over why it is here, its car or cars at one
   scale on one ground, its name, its price, its figure as the app's signed chip. Every line keeps its room on every card
   of the row, so that a card's parts stand level with its neighbours' and nothing is cut (the owner, 2 December 2026).
   A row one swipes on a phone, the next card showing at the edge. After app.css and scene.css; it never redefines a
   token, and writes no colour. */
.xp-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.xp-row > li { display: grid; min-width: 0; }
.xp-card { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto auto 1fr; justify-items: center; gap: 0; min-width: 0; padding: 16px 14px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--card); color: inherit; text-align: center; text-decoration: none; transition: border-color var(--quick), translate var(--quick) var(--ease); }
/* The mark: one box whatever it holds, a logo, two, or the sign in its well. */
.xp-marks, .xp-sign { display: flex; align-items: center; justify-content: center; gap: 10px; height: 32px; }
.xp-marks .mk-logo { --logo-w: 44px; --logo-h: 22px; }
.xp-marks.is-two .mk-logo { --logo-w: 38px; }
.xp-marks .mk-mono { --logo-h: 26px; }
.xp-sign { width: 32px; border-radius: 50%; background: var(--sunk); color: var(--ink); }
.xp-sign .ic { width: 18px; height: 18px; }
/* Why it is here: two lines of room on every card. */
.xp-why { display: grid; align-items: center; min-height: calc(2 * 1.25em); margin-top: 8px; font: 600 0.8125rem/1.25 var(--body); color: var(--soft); text-wrap: balance; }
/* The cars: one height whatever stands there, on the row's one ground line. */
.xp-pic { display: grid; align-items: end; justify-self: stretch; height: 64px; margin-top: 10px; }
.xp-pic > :is(.duel, .lineup) { padding: 0 2px; }
.xp-pic > .lineup > .carfig { --mm: min(0.03px, calc((100cqi - 4px - (var(--n) - 1) * 8px) / (var(--n) * var(--longest)))); }
.xp-name { display: grid; align-items: center; min-height: calc(2 * 1.2em); margin-top: 12px; font: 750 1rem/1.2 var(--display); letter-spacing: -0.012em; overflow-wrap: anywhere; text-wrap: balance; }
.xp-price { margin-top: 4px; font: 650 0.9375rem/1.3 var(--body); color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.xp-price .amt, .xp-price .amt * { font: inherit; }
.xp-price small { font: 500 0.8125rem/1 var(--body); color: var(--soft); }
.xp-foot { display: flex; align-self: end; justify-content: center; margin-top: 12px; min-width: 0; }
@media (hover: hover) { .xp-card:hover { border-color: var(--ink); translate: 0 -2px; } }
@media (prefers-reduced-motion: reduce) { .xp-card { transition: border-color var(--quick); } .xp-card:hover { translate: none; } }
.xp-card:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; }
@media (min-width: 1000px) { .xp-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 699px) {
  .xp-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(64%, 240px); margin-inline: calc(var(--pad) * -1); padding: 2px var(--pad) 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: var(--pad); scrollbar-width: none; }
  .xp-row::-webkit-scrollbar { display: none; }
  .xp-row > li { scroll-snap-align: start; }
}
