/* Painting picker (variant-pick.js). Tokens from website/paper.css; nothing here redefines one.
   The painting itself is shown large by the host page; these are the small choices under or
   beside it, three across at any width. */
.vp { display: grid; gap: 10px; min-width: 0; }
.vp[hidden] { display: none; }
.vp-intro { color: var(--muted); font-size: 15px; line-height: 1.45; }
.vp-intro[hidden] { display: none; }

.vp-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.vp-row[hidden] { display: none; }
.vp-card { min-width: 0; display: grid; }
.vp-pick { position: relative; display: grid; align-content: start; gap: 4px; width: 100%; min-height: 44px; padding: 4px 4px 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); font: 500 14px/1.3 var(--text); text-align: center; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; }
.vp-pick img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 6px; background: var(--surface); }
.vp-pick:hover { border-color: var(--field-line); }
.vp-pick:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.vp-card.is-chosen .vp-pick { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.vp-tag { position: absolute; top: 6px; left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--accent); color: var(--surface); font-size: 12px; font-weight: 600; }
.vp-tag[hidden] { display: none; }
.vp-name { padding: 0 2px; }

.vp-status { font-size: 15px; color: var(--muted); }
.vp-status:empty { display: none; }
.vp-err { color: var(--ink); font-size: 15px; }
.vp-err[hidden] { display: none; }
.vp-busy .vp-pick { cursor: progress; }

@media (prefers-reduced-motion: reduce) {
    .vp-pick { transition: none; }
}
