/* Pages du moteur Vistroom (boutiques, messages, favoris, paquets…) : composants communs.
   Les styles propres à un module sont dans css/engine-<module>.css. Jetons : voir style.css. */
.vr-page { padding-top: 12px; padding-bottom: 48px; }
.vr-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.vr-head h1 { margin: 0; font-size: var(--fs-28); }
.vr-head p { margin: 4px 0 0; color: var(--text-2); }
.vr-layout { display: grid; gap: 20px; }
@media (min-width: 1000px) { .vr-layout { grid-template-columns: 260px minmax(0, 1fr); align-items: start; gap: 28px; } }
.vr-layout > * { min-width: 0; }
.vr-empty { display: grid; justify-items: center; gap: 10px; padding: 40px 20px; background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--r-lg); text-align: center; color: var(--text-2); }
.vr-empty .ic { width: 40px; height: 40px; color: var(--text-3); }
.vr-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-card); overflow: hidden; }
.vr-list > li + li { border-top: 1px solid var(--border); }
.vr-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; color: var(--text); }
a.vr-row:hover { background: var(--surface-2); color: var(--text); }
.vr-row.is-unread { background: var(--blue-50); }
.vr-row .vr-row-main { flex: 1; min-width: 0; }
.vr-row strong { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vr-row small { display: block; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vr-row time { flex: none; color: var(--text-3); font-size: var(--fs-12); }
.vr-thumb { width: 52px; height: 52px; flex: none; border-radius: var(--r-sm); object-fit: cover; background: var(--surface-2); }
.vr-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--r-pill); background: var(--red); color: #fff; font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; }
.vr-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.vr-pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 6px; font-size: var(--fs-12); font-weight: 600; background: var(--surface-2); color: var(--text-2); }
.vr-pill.is-ok { background: var(--ok-50); color: var(--ok); }
.vr-pill.is-warn { background: #FFF3DC; color: #9A5B00; }
.vr-pill.is-bad { background: var(--red-50); color: var(--err); }

/* Étoiles : affichage (.vr-stars) et saisie (.vr-rate) */
.vr-stars { display: inline-flex; gap: 1px; color: var(--gold); vertical-align: middle; }
.vr-stars .ic { width: 16px; height: 16px; }
.vr-stars .is-off { color: #D4D9E4; }
.vr-rate { display: inline-flex; flex-direction: row-reverse; gap: 4px; border: 0; margin: 0; padding: 0; }
.vr-rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vr-rate label { cursor: pointer; color: #D4D9E4; }
.vr-rate label .ic { width: 30px; height: 30px; }
.vr-rate input:checked ~ label, .vr-rate label:hover, .vr-rate label:hover ~ label { color: var(--gold); }
.vr-rate input:focus-visible + label { outline: 2px solid var(--blue); border-radius: 4px; }
