/* R17 stat cards (js/vehicle-card.js): a radar over the stock triangle and tug bars from a centre line. */
/* The card is an inked field-journal panel like the rest of the menus: square corners, warm gunmetal, square bars (it was a
   rounded glassy box with pill bars; UI consistency 11-04). */
.vcard { margin: 10px 0 4px; padding: 10px 12px; border: 1px solid #b49b7238; border-left: 3px solid var(--vc); background: linear-gradient(115deg, #322c2345, transparent 45%), #1b1a18; box-shadow: 0 3px 0 #080908, inset 0 1px #eddbc012; text-align: left; }
.vc-top { display: flex; align-items: center; gap: 10px; }
.vc-radar { width: 140px; flex: 0 0 140px; height: auto; overflow: visible; }
.vc-radar .vc-ring { fill: none; stroke: rgba(255,255,255,.12); stroke-width: .8; }
.vc-radar .vc-ring.zero { stroke: rgba(255,255,255,.28); }
.vc-radar .vc-spoke { stroke: rgba(255,255,255,.12); stroke-width: .8; }
.vc-radar .vc-stock { fill: rgba(255,255,255,.06); stroke: rgba(242,238,230,.7); stroke-width: 1.2; stroke-dasharray: 3 2.5; }
.vc-radar .vc-shape { fill: color-mix(in srgb, var(--vc) 34%, transparent); stroke: var(--vc); stroke-width: 2; stroke-linejoin: round; }
.vc-radar .vc-dot { fill: #f2eee6; }
.vc-radar .vc-dot.up { fill: #7fd36b; } .vc-radar .vc-dot.down { fill: #ef6a55; }
.vc-radar text { fill: #d8d2c4; font-size: 9px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.vc-side { flex: 1; min-width: 0; }
.vc-side small { display: block; font: 400 11px var(--display); letter-spacing: .14em; text-transform: uppercase; color: #dfa882; }
.vc-side > b { display: block; font-size: 14px; margin: 1px 0 8px; color: #f2eee6; line-height: 1.2; }
.vc-bars { display: grid; gap: 6px; }
.vc-bar { display: grid; grid-template-columns: 58px 1fr 44px; align-items: center; gap: 5px; font-size: 11px; line-height: 1.2; color: #cfc8b8; }
.vc-bar i { position: relative; height: 8px; background: #090c0b; box-shadow: inset 0 0 0 1px #4a4035; }
.vc-bar i::after { content: ''; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: rgba(242,238,230,.55); }
.vc-bar i b { position: absolute; top: 0; bottom: 0; }
.vc-bar.up i b { background: linear-gradient(90deg, #4d8f3e, #7fd36b); }
.vc-bar.down i b { background: linear-gradient(90deg, #ef6a55, #a8392b); }
.vc-bar em { font-style: normal; font-weight: 700; text-align: right; color: #f2eee6; }
.vc-bar.up em { color: #9be487; } .vc-bar.down em { color: #f38a77; }
.vcard .vc-note, .sheet-box .vcard .vc-note { margin: 8px 0 0; font-size: 11.5px; line-height: 1.35; color: #a9a291; }
.vc-sheet .preview { width: 100%; height: 170px; }
/* Inspect is a tab on the foot of its Locker card: same frame as the card, no gap, small capitals and the pixel eye
   (it was a loose second button under every card, in mixed case; Gage 11-15). */
.lk-inspect-card { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 0; min-width: 0; }
.lk-inspect-card > .item { flex: 1; width: 100%; min-height: 85px; }
.lk-inspect { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 32px; padding: 1px 4px 0; background: #12110f; border: 1px solid #a08a6455; border-top: 0; color: #d6c49e; font: 400 14px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.lk-inspect .wi { width: 16px; height: 16px; flex: none; }
.lk-inspect span { padding-top: 1px; }
.lk-inspect:active { background: #292521; color: #f2eee6; }
.lk-inspect:focus-visible { outline: 2px solid #ffda88; outline-offset: 1px; }
@media (max-width: 360px) { .vc-top { flex-direction: column; align-items: stretch; gap: 4px; } .vc-radar { width: 118px; flex-basis: auto; margin: 0 auto; } .vc-sheet .preview { height: 112px; } .vc-bar { grid-template-columns: 62px 1fr 40px; } }
.items .item { position: relative; }
