/* ROAS a ROI – "reklamny predajny automat": vitrina s tovarom na spiralach, LED displej s ROAS (zeleny ≥ 1, cerveny < 1),
   otvor na mince, do ktoreho leti minca zo stlpca minci (naklady na reklamu). Vo vydajnej priehradke lezi tolko kusov tovaru,
   kolko € trzieb prinesie 1 € reklamy (posledny kus ciastocne). Vlavo kopa krabic s trzbami a stitok ROI.
   Pred zadanim prikladom z data-ex (tlmene, "napr."). */
.rvm-fig{--rvm-bg1:#fdf2ee;--rvm-bg2:#f6f1ea;--rvm-body:#d9363e;--rvm-side:#b4262e;--rvm-sign:#fff1d6;--rvm-bulb:#ffb020;--rvm-gl1:#e8f3fb;--rvm-gl2:#c4d9ea;
  --rvm-shelf:#8c96a6;--rvm-coil:#6b7686;--rvm-tray:#1d222c;--rvm-ink:#1d2330;--rvm-mut:#606a7c;--rvm-coin:#f2b632;--rvm-coin2:#c98d12;--rvm-box:#c99a66;--rvm-box2:#a87b48;
  --rvm-pos:#0f9f6a;--rvm-neg:#dc2626;
  position:relative;margin:.3rem 0 1rem;padding:.7rem .7rem .4rem;border-radius:14px;
  background:radial-gradient(120% 100% at 50% 0%,var(--rvm-bg1),var(--rvm-bg2));transition:opacity .3s,filter .3s}
@media(prefers-color-scheme:dark){.rvm-fig{--rvm-bg1:#2a1d22;--rvm-bg2:#191b24;--rvm-body:#b52a33;--rvm-side:#8e1f27;--rvm-sign:#3a2a12;--rvm-bulb:#ffc94d;--rvm-gl1:#2a3a4e;--rvm-gl2:#16202e;
  --rvm-shelf:#7b8596;--rvm-coil:#9aa4b4;--rvm-tray:#090b10;--rvm-ink:#eef2f9;--rvm-mut:#b0b9ca;--rvm-coin:#e0a92c;--rvm-coin2:#a87612;--rvm-box:#a77d50;--rvm-box2:#7f5c35;
  --rvm-pos:#34d399;--rvm-neg:#f87171}}
.rvm-fig.is-ex{opacity:.8;filter:saturate(.75)}
.rvm-ex{display:none;position:absolute;top:.45rem;left:.6rem;z-index:2;padding:.05rem .5rem;border-radius:4px;background:var(--rvm-ink);color:var(--rvm-bg2);font:800 .7rem/1.5 system-ui,sans-serif;letter-spacing:.06em}
.rvm-fig.is-ex .rvm-ex{display:block}
.rvm-svg{display:block;width:100%;max-width:720px;height:auto;margin:0 auto;overflow:visible}
.rvm-svg text{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-variant-numeric:tabular-nums}
.rvm-shadow{fill:rgba(30,20,20,.14)}
@media(prefers-color-scheme:dark){.rvm-shadow{fill:rgba(0,0,0,.45)}}
.rvm-body{fill:var(--rvm-body)}
.rvm-side{fill:var(--rvm-side)}
.rvm-foot{fill:#2b2f38}
.rvm-sign{fill:var(--rvm-sign)}
.rvm-bulb{fill:var(--rvm-bulb)}
.rvm-win{stroke:rgba(0,0,0,.25);stroke-width:1.5}
.rvm-shelf{fill:var(--rvm-shelf)}
.rvm-coil{fill:none;stroke:var(--rvm-coil);stroke-width:1.3}
.rvm-glint{fill:#fff;opacity:.22}
.rvm-disp{fill:#0b1410;stroke:#000;stroke-width:1}
.rvm-led{fill:#4ade80;font-family:ui-monospace,"Cascadia Mono",Consolas,monospace!important;font-weight:800;text-anchor:middle;letter-spacing:.02em}
.rvm-led.rvm-bad{fill:#f87171}
.rvm-dlab{fill:#fff;font-size:8.5px;font-weight:900;letter-spacing:.16em;text-anchor:middle;opacity:.9}
.rvm-plateo{stroke:rgba(0,0,0,.25);stroke-width:1}
.rvm-slot{fill:#111}
.rvm-btn{stroke:rgba(0,0,0,.3);stroke-width:1.2}
.rvm-ret{fill:var(--rvm-tray);stroke:rgba(255,255,255,.25);stroke-width:1}
.rvm-tray{fill:var(--rvm-tray)}
.rvm-flap{fill:#3a404d}
.rvm-ghost{fill:none;stroke:rgba(255,255,255,.35);stroke-width:1;stroke-dasharray:2 2}
.rvm-more{fill:#fff;font-size:16px;font-weight:900;text-anchor:middle}
.rvm-per{fill:#fff;font-size:10.5px;font-weight:800;text-anchor:middle}
.rvm-coin{fill:var(--rvm-coin);stroke:var(--rvm-coin2);stroke-width:1.3}
.rvm-cointop{fill:none;stroke:var(--rvm-coin2);stroke-width:1;stroke-dasharray:2 1.6}
.rvm-trail{fill:none;stroke:var(--rvm-coin2);stroke-width:1.5;stroke-dasharray:3 4;stroke-linecap:round}
.rvm-box{fill:var(--rvm-box);stroke:var(--rvm-box2);stroke-width:1.2}
.rvm-tape{stroke:var(--rvm-box2);stroke-width:1.4;fill:none}
.rvm-val{fill:var(--rvm-ink);font-size:20px;font-weight:900;text-anchor:middle}
.rvm-cap{fill:var(--rvm-mut);font-size:9px;font-weight:800;letter-spacing:.1em;text-anchor:middle}
.rvm-roi rect{fill:var(--rvm-pos)}
.rvm-roi text{fill:#fff;font-size:12.5px;font-weight:900;text-anchor:middle;white-space:pre}
.rvm-roi.rvm-neg rect{fill:var(--rvm-neg)}
@media(prefers-color-scheme:dark){.rvm-roi text{fill:#0c1a14}}
@media print{.rvm-fig{display:none!important}}
