/* ===========================================================
   fp-vote.css: our own vote (round frontend/4a, 2026-11-16)
   The Claude Design `ertekelo-variaciok.html` element as `film-adatlap-m.html` carries it (`film-m.css`
   .rv rules and the hero's `.hAct` button and `.hSc a.fp` score), lifted once for every content page:
   frontend/views/profil/_vote.php draws it, fp-vote.js opens the stars. Two looks:
     .rvBand  on a picture (or in its place): the button left, the "<brand> olvasók" score right
     .rvRow   the "Aktivitásom" row's "Módosítás", opening the same stars in the row's light colours
   Every state is the stars' fill AND a number AND a frame or a word, never the colour alone.
   =========================================================== */
.fpVote [hidden]{display:none!important}
.fpVote form{margin:0}
.rvS{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}
.rvS.on{fill:var(--fp-yellow);stroke:var(--fp-yellow)}
.rvS .h{fill:var(--fp-yellow);stroke:none}
.rvI{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.4}

/* ---------- the band: on the picture's bottom, the button left, the score right ---------- */
.rvBand{position:absolute;left:0;right:0;bottom:0;z-index:2;display:flex;align-items:flex-end;justify-content:space-between;gap:8px;padding:10px;color:#fff}
/* on a picture only the BUTTON gets the film hero's blue, not see-through (the owner's smoke finding, 2026-11-16:
   "csak a gomb háttere legyen kék"); the open stars' number, row and X the same blue */
.rvBand .rvBtn{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:44px;padding:0 8px;background:rgba(0,47,135,.92);border:1px solid rgba(255,255,255,.28);color:#fff;border-radius:3px;transition:var(--fp-trans);cursor:pointer}
.rvBand .rvBtn:hover{background:var(--fp-ctl)}
.rvBand .rvNum,.rvBand .rvStars,.rvBand .rvInl .rvX,.rvBand .rvQ{background:rgba(0,47,135,.92)}
.rvBand .rvQ{padding:6px 8px;border-radius:3px}
.rvBand .rvInl .rvX:hover{background:var(--fp-ctl)}
.rvBand .rvBtn.me{border-color:#fff}
.rvBtn .rvSt{display:inline-flex;gap:1px}
.rvBand .rvBtn .rvSt .rvS{width:15px;height:15px;stroke-width:1.8}
.rvBtn .n{font-size:15px;font-weight:700;font-variant-numeric:tabular-nums}
.rvBtn.out .rvSt{opacity:.6}
/* the score: the hero's "<brand> olvasók" box (`.hSc a.fp`) */
.rvSc{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;align-items:center;min-width:150px;padding:7px 11px;background:rgba(0,47,135,.92);border-left:3px solid var(--fp-sky);color:#fff;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.4px}
.rvSc .sN{opacity:.8;line-height:14px}
.rvSc .val{grid-column:2;grid-row:1/3;display:inline-flex;align-items:center;gap:4px;font-size:20px;line-height:1;font-variant-numeric:tabular-nums}
/* the "Te: ..." line left the score everywhere (round frontend/5a), so the value spans the two lines always:
.rvSc.me .val{grid-row:1/4}
*/
.rvSc .val b{font-weight:700}
.rvSc .val em{font-style:normal;font-size:12px;opacity:.7}
.rvSc .val .rvS{width:17px;height:17px}
.rvSc .vt{display:flex;align-items:center;gap:4px;font-size:12px;line-height:14px;opacity:.75;font-weight:600;text-transform:none;letter-spacing:0}
/* .rvSc .vt.vMe{opacity:1;font-weight:700} (the "Te: ..." line, gone in round frontend/5a) */
.rvSc .rvI{width:12px;height:12px}
/* open: the five big stars take the whole band (the design: the row's own buttons step aside) */
.rvBand.open .rvF,.rvBand.open .rvSc{display:none}
.rvInlBox{min-width:0}
.rvBand .rvInlBox{flex:1 1 auto}
.rvInl{display:flex;align-items:center;gap:4px;width:100%}
.rvQ{display:none;font-size:12px;line-height:15px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap;margin-right:6px}
.rvQ b{display:block;font-size:13px;letter-spacing:0;text-transform:none;font-weight:600;opacity:.8}
.rvNum{flex:none;width:52px;height:44px;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700;font-variant-numeric:tabular-nums;color:#fff;border:1px solid rgba(255,255,255,.28);border-radius:3px;background:rgba(0,0,0,.25)}
.rvNum.e{opacity:.7}.rvNum.lv{background:#fff;color:var(--fp-blue);border-color:#fff}
.rvStars{flex:1 1 auto;min-width:0;display:flex;height:44px;touch-action:pan-y;cursor:pointer;user-select:none;-webkit-user-select:none;border-radius:3px}
.rvStars i{flex:1 1 0;display:flex;align-items:center;justify-content:center;pointer-events:none}
.rvStars .rvS{width:30px;height:30px;stroke-width:1.4}
.rvInl .rvX{flex:none;width:44px;height:44px;display:flex;align-items:center;justify-content:center;color:#fff;border:1px solid rgba(255,255,255,.28);border-radius:3px;background:rgba(0,0,0,.25);cursor:pointer}
.rvInl .rvX .rvI{width:18px;height:18px}
.rvInl .rvX:hover{background:rgba(255,255,255,.12)}
/* never a frame or a tint on focus (the owner, 2026-11-16 and 2026-11-17: no focus ring anywhere; site.css § 12) */
.rvStars:focus-visible,.rvBtn:focus-visible,.rvX:focus-visible{outline:none!important}
@media (min-width:861px){.rvInl{width:auto}.rvStars{flex:none;width:240px}.rvQ{display:block}}

/* ---------- the TV dialog: the band on the picture, or alone in its place ---------- */
.tvMd .im .rvBand{position:absolute}
.tvMd .im.noPic{aspect-ratio:auto;background:var(--fp-blue)}
.tvMd .im.noPic .rvBand{position:static;background:none;padding:12px 14px}
@media (min-width:861px){.tvMd .im.noPic .rvBand{padding:12px 20px}}

/* ---------- the "Aktivitásom" row: "Módosítás" opens the stars in the row's colours ---------- */
.rvRow{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.rvRow.open .rvF{display:none}
.rvRow .rvInl{color:var(--fp-fg)}
.rvRow .rvNum{color:var(--fp-fg);background:var(--fp-bg-input);border-color:var(--fp-divider)}
.rvRow .rvNum.lv{background:var(--fp-ctl);color:#fff;border-color:var(--fp-ctl)}
.rvRow .rvStars .rvS{width:26px;height:26px}
.rvRow .rvInl .rvX{color:var(--fp-fg);background:var(--fp-bg-input);border-color:var(--fp-divider)}
.rvRow .rvInl .rvX:hover{background:var(--fp-bg-surface)}
.rvRow .rvQ{display:none}
@media (min-width:861px){.rvRow .rvStars{width:200px}}
@media (prefers-reduced-motion:reduce){.rvBand .rvBtn{transition:none}}
