/* Vehicles > What You Get Back (owner 2026-10-12): which vehicles give back fuel, items, modules and engine parts, and
   which keep their license after a crash. One table grouped by family; sticky header on desktop; one card per vehicle
   on phones. Marks only: never prices, cooldowns, amounts or timers. n/a is gray and never reads as "no". */
.vr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vr-m { display: inline-flex; align-items: center; justify-content: center; gap: 0.3rem; min-width: 2rem; height: 2rem; padding: 0 0.45rem; border-radius: 999px; font: 800 0.8rem/1 "Inter", system-ui, sans-serif; letter-spacing: 0.02em; }
.vr-m svg { width: 16px; height: 16px; flex: 0 0 auto; }
.vr-m.is-yes { color: #7dffb0; background: rgba(125, 255, 176, 0.12); border: 1px solid rgba(125, 255, 176, 0.4); }
.vr-m.is-no { color: #ff8a7a; background: rgba(255, 138, 122, 0.12); border: 1px solid rgba(255, 138, 122, 0.4); }
.vr-m.is-na { color: #8b93a6; background: transparent; border: 1px dashed #3a4054; font-weight: 600; text-transform: lowercase; }

.vr-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.2rem; margin: 0 0 1rem; padding: 0.8rem 1rem; border-radius: 12px; background: #151821; border: 1px solid #2c3040; font-size: 0.92rem; font-weight: 600; }
.vr-legend > span { display: inline-flex; align-items: center; gap: 0.5rem; }
.vr-legend > .vr-legend-note { display: block; flex-basis: 100%; font-weight: 400; color: var(--muted, #b7becf); }
.vr-legend-note b { color: var(--text, #eef1f8); }

.vr-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.95rem; }
.vr-table thead th { position: sticky; top: var(--vr-sticky, 57px); z-index: 2; padding: 0.75rem 0.5rem; background: #1b1f29; border-bottom: 2px solid var(--rk-accent, #ffd964); font: 800 0.74rem/1.25 "Inter", system-ui, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rk-accent-bright, #ffe38a); text-align: center; vertical-align: bottom; }
.vr-table thead th:first-child { text-align: left; border-top-left-radius: 12px; }
.vr-table thead th:last-child { border-top-right-radius: 12px; }
.vr-table tbody th, .vr-table td { padding: 0.55rem 0.5rem; border-bottom: 1px solid #262b38; background: #12151c; }
.vr-table tbody th { text-align: left; font-weight: 700; color: #fff; white-space: nowrap; }
.vr-table td { text-align: center; }
.vr-table tbody tr:not(.vr-fam):hover > * { background: #171b24; }
.vr-table .vr-fam th { position: static; padding: 1rem 0.5rem 0.45rem; background: transparent; border-bottom: 1px solid #2c3040; font: 900 1rem/1 "Cinzel", serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rk-accent, #ffd964); white-space: normal; }
.vr-foot { margin: 0.9rem 0 0; font-size: 0.92rem; color: var(--muted, #b7becf); }

/* phones and small tablets: one card per vehicle, each mark with its own label */
@media (max-width: 760px) {
  .vr-table, .vr-table tbody, .vr-table tr, .vr-table th, .vr-table td { display: block; width: 100%; }
  .vr-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .vr-table tbody tr:not(.vr-fam) { margin: 0 0 0.7rem; border-radius: 14px; overflow: hidden; border: 1px solid #2c3040; background: #12151c; }
  .vr-table tbody tr:not(.vr-fam) > th { padding: 0.75rem 0.9rem; background: #1b1f29; border-bottom: 1px solid #2c3040; white-space: normal; font-size: 1.05rem; }
  .vr-table td { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.45rem 0.9rem; text-align: left; border-bottom: 1px solid #1f2430; }
  .vr-table td:last-child { border-bottom: 0; }
  .vr-table td::before { content: attr(data-label); font-size: 0.88rem; color: var(--muted, #b7becf); }
  .vr-table .vr-fam th { padding: 1.1rem 0.1rem 0.6rem; border-bottom: 0; }
  .vr-table tbody tr:not(.vr-fam):hover > * { background: inherit; }
}
