/* the listeners' vote under every live player (his design, 2026-12-01): one look everywhere,
   colours follow the surrounding text so it sits on the dark banner, the /radio app and the
   paper skin alike. Buttons: his triangles (2026-12-01, «خیلی گویاتره»), 48 px tall («خیلی بزرگ شد» at
   62), 3x pixels so they stay sharp. Free = his convex/domed picture, chosen = his flat inset picture
   + a halo that traces the triangle. The round faces still fly.
   The button box is 12 px bigger on every side than the picture (and -12 px margin, so the layout
   is unchanged): iPhone Safari clipped the halo at the box edge (his screenshot 2026-12-01). */
:root:root .rv-slot{margin:12px 0 0}
/* :root:root on every rule: the framed front page resets margins with html[data-zg] .zgh * */
/* on the front page the slot is painted inside #vipHeroSlot, right under the player (boot.js) */
:root:root #vipHeroSlot>.rv-slot.rv-slot{margin:8px 0 0}
@media (max-width:760px){:root:root #vipHeroSlot>.rv-slot.rv-slot{margin:8px 12px 0}}
:root:root .rv-slot[hidden],:root:root .rv-slot.rv-other{display:none}
:root:root .rv{position:relative;display:flex;align-items:center;gap:12px;font-size:14px;line-height:1.7;color:inherit}
:root:root .rv-btns{display:flex;gap:10px;flex:none}
:root:root .rv-b{position:relative;z-index:2;height:72px;border:0;padding:0;margin:-12px;border-radius:0;cursor:pointer;background:transparent center/54px 48px no-repeat;transition:transform .12s,filter .25s,opacity .25s;-webkit-tap-highlight-color:transparent}
:root:root .rv-b.keep{width:78px;background-image:url(/assets/rv/keep-tri.png)}
:root:root .rv-b.kick{width:78px;background-image:url(/assets/rv/kick-tri.png)}
:root:root .rv-b:active{transform:scale(.94)}
/* a long press is a gesture here: no iOS image callout, no text selection, no zoom delay */
:root:root .rv-b{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:manipulation}
/* the flying copies (vote.js fly) */
:root:root .rv-fly{position:fixed;z-index:2147483000;pointer-events:none;margin:0;padding:0;background:center/contain no-repeat;will-change:transform,opacity}
/* chosen: the inset picture, with a halo that follows the triangle (drop-shadow traces the picture) */
:root:root .rv-b.keep.on{background-image:url(/assets/rv/keep-tri-on.png?v=2);filter:drop-shadow(0 0 6px #5fd31b) drop-shadow(0 0 3px #5fd31b)}
:root:root .rv-b.kick.on{background-image:url(/assets/rv/kick-tri-on.png?v=2);filter:drop-shadow(0 0 6px #ff2a2a) drop-shadow(0 0 3px #ff2a2a)}
:root:root .rv-b.dim{opacity:.45}
:root:root .rv-b:focus-visible{outline:2px solid currentColor;outline-offset:3px}
:root:root .rv-side{flex:1;min-width:0}
:root:root .rv-bar{height:6px;background:rgba(127,127,127,.3);border-radius:3px;position:relative;margin:0;overflow:hidden}
:root:root .rv-bar i,:root:root .rv-bar u{position:absolute;top:0;bottom:0;transition:width .35s}
:root:root .rv-bar i{right:0;background:#5fd31b}
:root:root .rv-bar u{left:0;background:#ff2a2a}
:root:root .rv-bar s{position:absolute;top:-3px;bottom:-3px;width:2px;background:currentColor;text-decoration:none;transition:left .35s}
:root:root .rv-foot{font-size:13px;opacity:.7;margin:4px 0 0}
:root:root .rv-foot[hidden]{display:none}
/* preload the round faces that fly, so the first tap does not send an empty box up */
:root:root .rv::after{content:"";position:absolute;width:0;height:0;overflow:hidden;background:url(/assets/rv/keep.png),url(/assets/rv/kick.png),url(/assets/rv/keep-tri-on.png?v=2),url(/assets/rv/kick-tri-on.png?v=2)}

/* the bubble: what the tap did, over the buttons, gone after 4.5 s */
:root:root .rv-tip{position:absolute;bottom:calc(100% + 8px);right:0;z-index:20;max-width:min(300px,90vw);padding:8px 12px;border-radius:8px;background:#1d2029;color:#f2f3f5;font-size:13px;line-height:1.6;box-shadow:0 6px 20px rgba(0,0,0,.35);opacity:0;transform:translateY(4px);pointer-events:none;transition:opacity .2s,transform .2s}
:root:root .rv-tip.on{opacity:1;transform:none}
:root:root .rv-tip::after{content:"";position:absolute;top:100%;right:18px;border:6px solid transparent;border-top-color:#1d2029}
:root:root .rv-tip b{font-weight:700}

/* /radio: keep and kick sit in the transport row on both sides of play (data-rv slots). The bubble
   belongs to the whole row (.lra-ctl is its box), centred over it, so it never runs off the screen edge */
:root:root .rv-slot.rv-in{margin:0;position:static;flex:none}
:root:root .rv-solo{position:static;display:block}
:root:root .rv-solo .rv-b{display:block}
:root:root .rv-solo .rv-tip{left:50%;right:auto;width:max-content;max-width:min(320px,calc(100vw - 40px));transform:translate(-50%,4px)}
:root:root .rv-solo .rv-tip.on{transform:translate(-50%,0)}
:root:root .rv-solo .rv-tip::after{display:none}
:root:root .rv-slot[data-rv="foot"]{margin:0 20px;text-align:center}
:root:root .rv-slot[data-rv="foot"] .rv-foot{margin:10px 0 0}
/* the smallest phones (320 px): the /radio row (heart, keep, play, kick, share) would not fit */
@media (max-width:359px){:root:root .rv-b{height:68px;background-size:50px 44px}:root:root .rv-b.keep,:root:root .rv-b.kick{width:74px}}
