/* "À découvrir aussi" (src/app/explore/): a row of cards that lead on, each a sign and a few words, its car or cars at
   one scale on one ground, a name, a figure as the app's signed chip. 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(168px, 1fr)); gap: 10px; 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 1fr; gap: 0; min-width: 0; padding: 12px 14px 14px; border: 1.5px solid var(--line); border-radius: var(--r-m); background: var(--card); color: inherit; text-decoration: none; transition: border-color var(--quick), translate var(--quick) var(--ease); }
/* Why it is here: its sign in a well, three lines of words at most, the same height on every card of the row. */
.xp-why { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: center; gap: 8px; min-height: 2.875rem; font: 700 0.8125rem/1.15 var(--display); letter-spacing: -0.008em; text-wrap: balance; }
.xp-sign { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--sunk); color: var(--ink); }
.xp-sign .ic { width: 18px; height: 18px; }
/* The cars: one height whatever stands there, on the row's one ground line. */
.xp-pic { display: grid; align-items: end; height: 64px; margin-top: 8px; }
.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 { margin-top: 10px; font: 800 1rem/1.15 var(--display); letter-spacing: -0.015em; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.xp-under { margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 0.75rem/1.3 var(--body); color: var(--soft); font-variant-numeric: tabular-nums; }
.xp-price { font-weight: 650; color: var(--ink); }
.xp-price .amt, .xp-price .amt * { font: inherit; }
.xp-foot { display: flex; align-self: end; margin-top: 10px; 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 (max-width: 699px) {
  .xp-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(58%, 220px); 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; }
}
