/* v732 brand colour tokens: HotVoucher = the orange scale (today's values); UTopian (html.hv-utopian) = navy on light blue. theme732.pl replaced every literal. */
:root{--o1:#f97316;--o2:#ea580c;--o3:#c2410c;--o4:#9a3412;--o5:#7c2d12;--o6:#431407;--t1:#fff7ed;--t2:#fff4e8;--t3:#ffedd5;--t4:#fed7aa;--t5:#fdba74;--t6:#fb923c;--o1-rgb:249,115,22;--o2-rgb:234,88,12;--t5-rgb:253,186,116;--t6-rgb:251,146,60;--o3-rgb:194,65,12}
html.hv-utopian{--o1:#0F2A44;--o2:#0B2036;--o3:#1D3F63;--o4:#27496D;--o5:#0B2036;--o6:#071626;--t1:#EAF3FB;--t2:#EAF3FB;--t3:#D6E8F8;--t4:#BFDDF7;--t5:#8FC3F0;--t6:#4A79A8;--o1-rgb:15,42,68;--o2-rgb:11,32,54;--t5-rgb:143,195,240;--t6-rgb:74,121,168;--o3-rgb:29,63,99}
[fill="var(--o1)"]{fill:var(--o1)}[stroke="var(--o1)"]{stroke:var(--o1)}[stop-color="var(--o1)"]{stop-color:var(--o1)}[fill="var(--o2)"]{fill:var(--o2)}[stroke="var(--o2)"]{stroke:var(--o2)}[stop-color="var(--o2)"]{stop-color:var(--o2)}[fill="var(--o3)"]{fill:var(--o3)}[stroke="var(--o3)"]{stroke:var(--o3)}[stop-color="var(--o3)"]{stop-color:var(--o3)}[fill="var(--o4)"]{fill:var(--o4)}[stroke="var(--o4)"]{stroke:var(--o4)}[stop-color="var(--o4)"]{stop-color:var(--o4)}[fill="var(--o5)"]{fill:var(--o5)}[stroke="var(--o5)"]{stroke:var(--o5)}[stop-color="var(--o5)"]{stop-color:var(--o5)}[fill="var(--o6)"]{fill:var(--o6)}[stroke="var(--o6)"]{stroke:var(--o6)}[stop-color="var(--o6)"]{stop-color:var(--o6)}[fill="var(--t1)"]{fill:var(--t1)}[stroke="var(--t1)"]{stroke:var(--t1)}[stop-color="var(--t1)"]{stop-color:var(--t1)}[fill="var(--t2)"]{fill:var(--t2)}[stroke="var(--t2)"]{stroke:var(--t2)}[stop-color="var(--t2)"]{stop-color:var(--t2)}[fill="var(--t3)"]{fill:var(--t3)}[stroke="var(--t3)"]{stroke:var(--t3)}[stop-color="var(--t3)"]{stop-color:var(--t3)}[fill="var(--t4)"]{fill:var(--t4)}[stroke="var(--t4)"]{stroke:var(--t4)}[stop-color="var(--t4)"]{stop-color:var(--t4)}[fill="var(--t5)"]{fill:var(--t5)}[stroke="var(--t5)"]{stroke:var(--t5)}[stop-color="var(--t5)"]{stop-color:var(--t5)}[fill="var(--t6)"]{fill:var(--t6)}[stroke="var(--t6)"]{stroke:var(--t6)}[stop-color="var(--t6)"]{stop-color:var(--t6)}
:root{--sat:max(14px,env(safe-area-inset-top));--sab:env(safe-area-inset-bottom,0px)}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{background:#e9eef6;color:#0f172a;font-family:'Vazirmatn',system-ui,sans-serif;-webkit-font-smoothing:antialiased;overscroll-behavior-y:none;-webkit-tap-highlight-color:transparent}
.num{font-variant-numeric:tabular-nums;letter-spacing:0}
a{color:var(--o1)}
.noscroll::-webkit-scrollbar{display:none}
.noscroll{-ms-overflow-style:none;scrollbar-width:none;overflow-x:auto!important}
@keyframes uwPulse{0%,100%{opacity:1}50%{opacity:.4}}
.dot{width:6px;height:6px;border-radius:50%;background:#c62234;animation:uwPulse 1.1s infinite;display:inline-block}

#app{position:fixed;inset:0;margin:0 auto;width:100%;max-width:430px;background:#f5f8fd;overflow:clip}
@media (min-width:600px) and (hover:hover) and (pointer:fine){#app{max-width:402px;box-shadow:0 20px 60px rgba(15,23,42,.18);top:24px;bottom:24px;border-radius:32px;--sat:22px;--sab:0px}}
.screen{position:absolute;inset:0;overflow-y:auto;overflow-x:clip;-webkit-overflow-scrolling:touch;display:none;animation:hvIn .18s ease-out}
.screen.active{display:block}
.screen>[dir=rtl]{min-height:100%}
.screen.full>[dir=rtl]{height:100%}
@keyframes hvIn{from{opacity:.6;transform:translateX(-6px)}to{opacity:1;transform:none}}
@keyframes hvInR{from{opacity:.6;transform:translateX(6px)}to{opacity:1;transform:none}}
html[dir="rtl"] .screen{animation-name:hvInR} /* v652: in Persian, pages enter from the right (the reverse of English) */
.hv-nav{position:sticky;bottom:0;z-index:30;padding:11px 4px max(7px,calc(var(--sab,0px) - 14px))!important;border-top:0!important;box-shadow:0 -6px 20px rgba(15,23,42,.06)}
.hv-nav>div{cursor:pointer;user-select:none;position:relative}
/* v691: design 2 "Indicator" — indicator bar on the nav's top edge above the active item, tinted active icon */
.hv-nav>div.on:before{content:'';position:absolute;top:-11px;left:50%;transform:translateX(-50%);width:26px;height:3px;border-radius:0 0 3px 3px;background:var(--o1)}
.hv-nav>div.on>svg{fill:var(--o1);fill-opacity:.18}
[data-tap]{cursor:pointer}
[data-tap]:active{opacity:.75}
.hv-field-input{all:unset;flex:1;min-width:0;font:inherit;color:#0f172a;direction:ltr;text-align:left}
.hv-field-input::placeholder{color:#5f6d80}
#toast{position:fixed;left:50%;bottom:calc(90px + var(--sab));transform:translateX(-50%) translateY(20px);background:#0f172a;color:#fff;font-size:12.5px;font-weight:600;padding:9px 14px;border-radius:12px;opacity:0;transition:.2s;pointer-events:none;z-index:99;white-space:nowrap;font-family:'Vazirmatn',sans-serif}
#toast.show{opacity:1;transform:translateX(-50%)}
#install{position:absolute;top:calc(var(--sat) + 4px);left:50%;transform:translateX(-50%);z-index:60;display:none;align-items:center;gap:8px;background:#0f172a;color:#fff;border-radius:14px;padding:8px 10px 8px 12px;font-size:12px;font-weight:600;box-shadow:0 10px 26px rgba(15,23,42,.28);direction:rtl;white-space:nowrap}
#install.show{display:flex}
#install button{all:unset;background:var(--o1);color:#fff;border-radius:9px;padding:5px 10px;font-weight:700;cursor:pointer}
#install .x{cursor:pointer;opacity:.7;padding:0 4px}
#update{position:absolute;bottom:calc(84px + var(--sab));left:16px;right:16px;z-index:60;display:none;background:var(--o1);color:#fff;border-radius:14px;padding:11px 14px;font-size:12.5px;font-weight:700;text-align:center;cursor:pointer;box-shadow:0 10px 26px rgba(var(--o1-rgb),.28)}
#update.show{display:block}
.hv-offline{position:absolute;top:0;left:0;right:0;z-index:70;background:#c62234;color:#fff;font-size:11px;font-weight:700;text-align:center;padding:calc(var(--sat) - 10px) 0 4px;display:none}
.hv-offline.show{display:block}
/* Standard directionality: Persian text right-to-left, numbers/codes/Latin left-to-right and set apart (isolate) inside a Persian sentence */
.num{direction:ltr;unicode-bidi:isolate}
input[dir=auto],textarea[dir=auto]{text-align:start}
input,textarea{unicode-bidi:plaintext}
/* Balance chart range chips: compact and on one line */
.hv-chart-chips>div{padding:3px 7px!important;font-size:10.5px!important;white-space:nowrap;flex-shrink:0}
.noscroll{scrollbar-width:none}.noscroll::-webkit-scrollbar{display:none}
/* Fixed site header on every page after login */
#hv-header{position:absolute;top:0;left:0;right:0;z-index:40;background:#f5f8fd;padding-top:var(--sat);font-family:'Vazirmatn',sans-serif;direction:rtl}
.screen.has-hdr{top:var(--hdrH,96px)}
.screen.has-hdr>[dir=rtl]>:first-child{padding-top:8px!important}
#hv-footer{position:absolute;left:0;right:0;bottom:0;z-index:40;font-family:'Vazirmatn',sans-serif;direction:rtl}
.screen.has-ftr{bottom:var(--ftrH,72px)}
.screen.has-ftr>[dir=rtl]{min-height:100%;height:auto!important;padding-bottom:14px} /* Cards at the bottom of the page (withdrawal confirmation) must not get stuck behind the bottom menu */

/* Persian placeholder text inside left-aligned fields (address, email, number): should start from the right */
.ph-fa::placeholder{direction:rtl;text-align:right}
input[dir="ltr"]::placeholder,input[style*="direction:ltr"]::placeholder,input[style*="direction: ltr"]::placeholder{unicode-bidi:plaintext;text-align:start}

/* Edges of colored pages: a soft white fade at the top and bottom, where the color reaches the browser edge */
/* Toto jackpot bar (light D3 design) under "Play & earn" */
.hv-jp{background:#fff;border:1px solid rgba(var(--o2-rgb),.18);border-radius:18px;padding:11px 12px 10px;box-shadow:0 4px 14px rgba(var(--o2-rgb),.08);margin:2px 0 12px;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .12s}
.hv-jp:active{transform:scale(.985)}
.hv-jp .r1{display:flex;align-items:center;gap:10px}
.hv-jp .ico{width:38px;height:38px;border-radius:12px;background:linear-gradient(145deg,var(--t1),var(--t1));display:flex;align-items:center;justify-content:center;flex-shrink:0}
.hv-jp .lab{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:700;color:#4d5a6e}
.hv-jp .val{font-size:23px;font-weight:900;color:var(--o2);display:flex;align-items:baseline;gap:4px;margin-top:1px;direction:ltr;justify-content:flex-start}
html[dir=rtl] .hv-jp .val{justify-content:flex-end}
.hv-jp .val small{font-size:10.5px;opacity:.8}
.hv-jp .cnt{margin-inline-start:auto;text-align:center;font-size:10px;font-weight:700;color:#8593a8;line-height:1.3;padding:0 4px}
.hv-jp .cnt b{display:block;font-size:14px;color:#0f172a}
.hv-jp .play{position:relative;width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:var(--o2);color:var(--o2)}
.hv-jp .play::before{content:"";position:absolute;inset:-5px;border-radius:50%;border:2px solid currentColor;opacity:.35;animation:hvJpRing 2s ease-out infinite}
@keyframes hvJpRing{0%{transform:scale(.85);opacity:.5}100%{transform:scale(1.25);opacity:0}}
html[dir=rtl] .hv-jp .play svg{transform:scaleX(-1)}
.hv-jp .live{position:relative;width:8px;height:8px;border-radius:50%;background:#4ade80;flex-shrink:0}
.hv-jp .live::after{content:"";position:absolute;inset:0;border-radius:50%;background:#4ade80;animation:hvJpPing 1.6s cubic-bezier(0,0,.2,1) infinite}
@keyframes hvJpPing{75%,100%{transform:scale(2.6);opacity:0}}
.hv-jp .strip{display:flex;align-items:center;margin-top:10px;height:30px;border-radius:10px;background:#f8f5f1;overflow:hidden}
.hv-jp .tag{flex-shrink:0;font-size:10px;font-weight:900;color:var(--o2);padding:0 9px}
.hv-jp .empty{font-size:11.5px;color:#4d5a6e;padding:0 6px}
.hv-jp .mq{flex:1;min-width:0;overflow:hidden;white-space:nowrap;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.hv-jp .track{display:inline-flex;animation:hvJpMq var(--mqd,26s) linear infinite}
html[dir=rtl] .hv-jp .track{animation-name:hvJpMqR}
@keyframes hvJpMq{to{transform:translateX(-50%)}}@keyframes hvJpMqR{to{transform:translateX(50%)}}
.hv-jp .it{display:inline-flex;align-items:center;gap:6px;padding:0 13px;font-size:12px;font-weight:600;color:#334155}
.hv-jp .av{width:18px;height:18px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:8.5px;font-weight:900;color:#fff;flex-shrink:0;direction:ltr}
.hv-jp .uid{direction:ltr;unicode-bidi:isolate;font-weight:700}
.hv-jp .st{font-weight:900;color:var(--o2);direction:ltr;unicode-bidi:isolate}
.hv-jp .ago{opacity:.6;font-weight:500}
.hv-jp .odo{display:inline-flex;direction:ltr;align-items:flex-end;font-variant-numeric:tabular-nums;line-height:1}
.hv-jp .odo .od{display:inline-block;height:1em;overflow:hidden;width:.62em}
.hv-jp .odo .od>span{display:flex;flex-direction:column;transition:transform .7s cubic-bezier(.2,.9,.25,1)}
.hv-jp .odo .od i{font-style:normal;height:1em;display:flex;align-items:center;justify-content:center}
.hv-jp .odo .pt{display:inline-flex;height:1em;align-items:flex-end;justify-content:center;width:.28em}
@media (prefers-reduced-motion:reduce){.hv-jp .track,.hv-jp .play::before,.hv-jp .live::after{animation:none}}
.hv-edgefade:before,.hv-edgefade:after{content:"";position:absolute;left:0;right:0;pointer-events:none;z-index:9}
.hv-edgefade:before{top:0;height:calc(16px + var(--sat,0px));background:linear-gradient(180deg,rgba(255,255,255,.34),rgba(255,255,255,.12) 55%,rgba(255,255,255,0))}
.hv-edgefade:after{bottom:0;height:calc(16px + var(--sab,0px));background:linear-gradient(0deg,rgba(255,255,255,.34),rgba(255,255,255,.12) 55%,rgba(255,255,255,0))}
.hv-edgefade.dark:before{background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,0))}
.hv-edgefade.dark:after{background:linear-gradient(0deg,rgba(255,255,255,.16),rgba(255,255,255,0))}

/* Home page total balance card ("Sky blue" design): amount, USD/toman/BTC, trend chart, 4 buttons, level */
.hv-bal{border-radius:22px;padding:14px 15px 12px;color:#fff;position:relative;overflow:hidden;background:radial-gradient(120% 140% at 100% 0%,var(--t5) 0%,var(--t6) 42%,var(--o1) 100%);box-shadow:0 12px 26px rgba(var(--o1-rgb),.3)}
html[dir=rtl] .hv-bal{background:radial-gradient(120% 140% at 0% 0%,var(--t5) 0%,var(--t6) 42%,var(--o1) 100%)}
.hv-bal::before{content:"";position:absolute;width:190px;height:190px;border-radius:50%;border:30px solid rgba(255,255,255,.07);inset-inline-end:-64px;top:-76px;pointer-events:none}
.hv-bal::after{content:"";position:absolute;width:130px;height:130px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.14),transparent 70%);inset-inline-start:-34px;bottom:-56px;pointer-events:none}
.hv-bal>*{position:relative;z-index:1}
.hv-bal .r{display:flex;align-items:center;gap:8px}
.hv-bal .lab{font-size:12px;font-weight:600;opacity:.92;text-shadow:0 1px 2px rgba(154,52,18,.25)}
.hv-bal .eye{width:28px;height:28px;border-radius:9px;background:rgba(255,255,255,.2);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0}
.hv-bal .cur{margin-inline-start:auto;display:flex;background:rgba(154,52,18,.18);border-radius:9px;padding:2px;direction:ltr}
.hv-bal .cur span{font-size:10.5px;font-weight:800;padding:4px 8px;border-radius:7px;opacity:.75;cursor:pointer;white-space:nowrap}
.hv-bal .cur span.on{background:#fff;color:var(--o3);opacity:1}
.hv-bal .mid{display:flex;align-items:flex-end;gap:10px;margin-top:6px}
.hv-bal .amtw{flex:1;min-width:0}
.hv-bal .amt{font-size:31px;font-weight:800;line-height:1.1;white-space:nowrap;direction:ltr;text-align:start;text-shadow:0 1px 2px rgba(154,52,18,.25)}
html[dir=rtl] .hv-bal .amt{text-align:right}
.hv-bal .amt small{font-size:.55em;opacity:.85;font-weight:700}
.hv-bal .chgl{margin-top:5px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.hv-bal .chg{display:inline-flex;align-items:center;gap:3px;font-size:11.5px;font-weight:800;border-radius:8px;padding:3px 7px;direction:ltr;background:rgba(255,255,255,.92);color:#0f7a48}
.hv-bal .chg.dn{color:#c62234}
.hv-bal .sub{font-size:11px;opacity:.85}
.hv-bal .spk{width:104px;height:50px;display:block}
html[dir=rtl] .hv-bal .spk{transform:scaleX(-1)}
.hv-bal .per{display:flex;gap:2px;justify-content:flex-end;margin-top:2px;direction:ltr}
.hv-bal .per span{font-size:9.5px;font-weight:800;opacity:.65;padding:2px 5px;border-radius:5px;cursor:pointer}
.hv-bal .per span.on{opacity:1;background:rgba(255,255,255,.22)}
.hv-bal .acts{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:12px}
.hv-bal .acts div{background:rgba(255,255,255,.2);border-radius:13px;padding:8px 0 7px;text-align:center;font-size:10.5px;font-weight:700;cursor:pointer}
.hv-bal .acts svg{display:block;margin:0 auto 3px}
.hv-bal .lvl{display:flex;align-items:center;gap:8px;margin-top:11px;font-size:10.5px;font-weight:700;cursor:pointer}
.hv-bal .lvl .bar{flex:1;height:5px;border-radius:3px;background:rgba(255,255,255,.25);overflow:hidden}
.hv-bal .lvl .bar i{display:block;height:100%;width:0;border-radius:3px;background:#fff;transition:width .6s}
@media (max-width:360px){.hv-bal .spk{width:84px}}
/* Total balance card — tidy layout: amount row (auto-fit for long numbers), change + range row, full-width chart, thin level bar */
.hv-bal{padding:16px 16px 14px}
.hv-bal .mid{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"amt amt" "chg per" "sp sp";align-items:center;gap:0 8px;margin-top:12px}
.hv-bal .mid>.amtw,.hv-bal .mid>div:last-child{display:contents}
.hv-bal .amt{grid-area:amt;font-size:30px;overflow:hidden;min-width:0}
.hv-bal .chgl{grid-area:chg;margin-top:8px}
.hv-bal .per{grid-area:per;margin-top:8px;justify-content:flex-end;background:rgba(154,52,18,.14);border-radius:8px;padding:2px}
.hv-bal .per span{font-size:10px;padding:3px 7px}
.hv-bal .sp{grid-area:sp;margin:10px 0 0;height:42px;min-width:0}
.hv-bal .spk{width:100%!important;height:42px}
.hv-bal .spk path{vector-effect:non-scaling-stroke}
.hv-bal .spk circle{display:none}
.hv-bal .acts{margin-top:12px}
.hv-bal .acts div{padding:9px 0 8px;border-radius:14px}
.hv-bal .lvl{margin-top:12px;background:rgba(255,255,255,.14);border-radius:12px;padding:7px 10px;gap:10px}
.hv-bal .lvl .bar{height:4px;background:rgba(255,255,255,.22)}
.hv-bal .lvl .ln,.hv-bal .lvl .lx{white-space:nowrap}
.hv-bal .lvl .lx{font-size:10px;background:rgba(154,52,18,.2);border-radius:999px;padding:2px 8px}
/* Story row: all circles fit within the page width (nothing cut off on either side) */
[data-story-rail]{justify-content:space-between!important;gap:0!important;padding:2px 0 0}
[data-story-rail]>div{width:auto!important;flex:1 1 0;min-width:0;gap:5px!important}
[data-story-rail]>div>div:first-child{width:50px!important;height:50px!important}
[data-story-rail] img{width:30px!important;height:30px!important}
[data-story-rail] svg{width:21px!important;height:21px!important}
[data-story-rail] span{font-size:10px!important;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.tp-prz:empty{display:none}

/* Network selection (deposit/send): a tidy grid; 4 → 2×2, 5 or more → 3 columns */
.hv-netgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.hv-netgrid[data-n="1"]{grid-template-columns:minmax(0,1fr)}
.hv-netgrid[data-n="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.hv-netgrid[data-n="4"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.hv-net{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:54px;padding:8px 6px;border-radius:14px;background:#fff;border:1.5px solid rgba(15,23,42,.09);cursor:pointer;min-width:0;transition:border-color .15s,background .15s}
.hv-net.on{background:rgba(var(--o1-rgb),.1);border-color:var(--o1);box-shadow:0 4px 12px rgba(var(--o1-rgb),.15)}
.hv-net .nm{font-size:12.5px;font-weight:800;color:#334155;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.hv-net.on .nm{color:#0f172a}
.hv-net .sd{font-size:10px;font-weight:700;color:#8593a8;white-space:nowrap;direction:ltr}
.hv-net .dt{position:absolute;top:6px;inset-inline-end:6px;width:6px;height:6px;border-radius:50%}
.hv-net .ck{position:absolute;top:5px;inset-inline-start:6px;font-size:10px;font-weight:900;color:var(--o1);display:none}
.hv-net.on .ck{display:block}
.hv-net.soon{opacity:.55}

/* ---------- Desktop version (html.hv-desk): three columns; none of these rules apply on a phone ---------- */
html.hv-desk body{background:#f5f1ec}
html.hv-desk #app{max-width:none!important;margin:0!important;border-radius:24px;box-shadow:0 12px 40px rgba(15,23,42,.10);--sat:16px;--sab:0px}
html.hv-desk #hv-footer{display:none!important}
html.hv-desk .screen.has-ftr{bottom:0}
html.hv-desk #toast{bottom:40px}
#hv-dside,#hv-dwid{display:none}
html.hv-desk-auth #hv-dside{display:flex;flex-direction:column;position:fixed;top:16px;bottom:16px;z-index:50;background:#fff;border-radius:24px;box-shadow:0 12px 40px rgba(15,23,42,.08);padding:18px 12px 12px;font-family:'Vazirmatn',sans-serif;direction:rtl;overflow:hidden}
#hv-dside .ds-brand{display:flex;align-items:center;gap:10px;padding:2px 8px 16px}
#hv-dside .ds-brand img{width:40px;height:40px;object-fit:contain}
#hv-dside .ds-brand b{display:block;font-size:16px;font-weight:900}
#hv-dside .ds-brand small{display:block;font-size:11px;color:#8593a8}
#hv-dside .ds-nav{flex:1;overflow-y:auto;margin:0 -4px;padding:0 4px;scrollbar-width:thin}
#hv-dside .ds-g{font-size:11px;font-weight:800;color:#8593a8;margin:12px 10px 6px}
#hv-dside a{display:flex;align-items:center;gap:11px;padding:9px 11px;border-radius:12px;color:#4d5a6e;font-weight:700;font-size:13.5px;cursor:pointer;user-select:none;text-decoration:none;margin-bottom:1px}
#hv-dside a svg{width:19px;height:19px;flex-shrink:0}
#hv-dside a:hover{background:var(--t1);color:#0f172a}
#hv-dside a.on{background:rgba(var(--o1-rgb),.1);color:var(--o2)}
#hv-dside .ds-view{border-top:1px solid rgba(15,23,42,.08);border-radius:0 0 12px 12px;margin-top:8px;padding-top:12px;font-size:12.5px;color:#8593a8}
html.hv-desk-auth #hv-dwid{display:flex;flex-direction:column;gap:14px;position:fixed;top:16px;bottom:16px;z-index:50;overflow-y:auto;scrollbar-width:thin;font-family:'Vazirmatn',sans-serif;direction:rtl;padding-bottom:4px}
#hv-dwid .dw-hero{border-radius:22px;padding:18px;color:#fff;background:radial-gradient(120% 140% at 0% 0%,var(--t5) 0%,var(--t6) 40%,var(--o1) 100%);box-shadow:0 14px 30px rgba(var(--o1-rgb),.25);flex-shrink:0}
#hv-dwid .dw-lbl{font-size:12.5px;font-weight:700;opacity:.9}
#hv-dwid .dw-big{font-size:30px;font-weight:900;margin:4px 0 6px;direction:ltr;text-align:start}
#hv-dwid .dw-chg{display:inline-block;font-size:11.5px;font-weight:800;border-radius:999px;padding:3px 9px}
#hv-dwid .dw-qa{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:14px}
#hv-dwid .dw-qa span{background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.28);border-radius:12px;padding:9px 2px;text-align:center;font-size:12px;font-weight:800;cursor:pointer}
#hv-dwid .dw-qa span:hover{background:rgba(255,255,255,.3)}
#hv-dwid .dw-card{background:#fff;border-radius:20px;padding:14px;box-shadow:0 8px 24px rgba(15,23,42,.06);flex-shrink:0}
#hv-dwid .dw-h{font-size:13.5px;font-weight:900;margin-bottom:8px}
#hv-dwid .dw-row{display:flex;align-items:center;gap:10px;padding:8px 6px;border-radius:12px;cursor:pointer}
#hv-dwid .dw-row:hover{background:#f5f8fd}
#hv-dwid .dw-ic{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-style:normal;font-weight:800;font-size:13px;flex-shrink:0;overflow:hidden}
#hv-dwid .dw-n{flex:1;min-width:0}
#hv-dwid .dw-n b{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#hv-dwid .dw-n small,#hv-dwid .dw-v small{display:block;font-size:10.5px;color:#8593a8}
#hv-dwid .dw-v{text-align:end}
#hv-dwid .dw-v b{font-size:12.5px}
#hv-dwid .dw-pct{font-size:11.5px;font-weight:800;color:#0f7a48;background:rgba(15,122,72,.1);border-radius:999px;padding:3px 8px}
#hv-dwid .dw-empty{font-size:12.5px;color:#8593a8;padding:6px}
#hv-dwid .dw-games{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#hv-dwid .dw-games span{display:flex;align-items:center;gap:8px;border:1px solid rgba(15,23,42,.08);border-radius:14px;padding:10px;font-size:12.5px;font-weight:800;cursor:pointer}
#hv-dwid .dw-games span:hover{border-color:rgba(var(--o1-rgb),.4);background:#f5f9ff}
#hv-dwid .dw-games em{font-style:normal;font-size:18px}
/* Sub-brand (html.hv-tn, e.g. UBet): base wallet + enabled games; swap, voucher, market, stories and "Play & earn" hidden */
html.hv-tn [data-nav=swap],html.hv-tn .hv-bal .acts [data-a=swap],html.hv-tn .hv-bal .acts [data-a=vou],html.hv-tn [data-story-rail],html.hv-tn [data-mk=home-banner],html.hv-tn [data-mk=games-rail],html.hv-tn [data-mk=games-dots],html.hv-tn #s-home div:has(>div[data-en="Play & earn"]){display:none!important}
html.hv-tn .hv-bal .acts{grid-template-columns:repeat(2,1fr)!important}
/* v729: wallet product (html.hv-wallet, HV_MODE=wallet): menu Home · Market · Swap · Voucher · More; every game entry hidden (the games live on the UTopian site) */
html:not(.hv-wallet) .hv-nav [data-wnav]{display:none!important}
html.hv-wallet .hv-nav [data-nav=scores],html.hv-wallet .hv-nav [data-nav=sport],html.hv-wallet .hv-nav [data-nav=casino],html.hv-wallet .hv-nav [data-nav=chat],html.hv-wallet [data-mk=home-banner],html.hv-wallet [data-mk=games-rail],html.hv-wallet [data-mk=games-dots],html.hv-wallet #s-home div:has(>div[data-en="Play & earn"]),html.hv-wallet [data-mk=home-play],html.hv-wallet [data-mk=home-popular],html.hv-wallet [data-mk=home-jp],html.hv-wallet [data-mk=home-live],html.hv-wallet [data-mk=home-recent],html.hv-wallet [data-mk=home-books],html.hv-wallet [data-mk=home-wins],html.hv-wallet #hv-plpill,html.hv-wallet [data-htv-bonus],html.hv-wallet [data-coin-bonus],html.hv-wallet [data-bonus],html.hv-wallet .hv-pmed,html.hv-wallet [data-hv-level],html.hv-wallet .hb-btn,html.hv-wallet #hv-dtop .dt-sw,html.hv-wallet [data-wl-game]{display:none!important}
html.tn-off-toto [data-mk=home-jp],html.tn-off-scores [data-nav=scores],html.tn-off-scores [data-mk=home-live],html.tn-off-sport [data-nav=sport],html.tn-off-casino [data-nav=casino],html.tn-off-more [data-nav=more]{display:none!important}
#hv-dview{display:none;position:fixed;bottom:18px;left:18px;z-index:120;align-items:center;gap:8px;background:#fff;border:1px solid rgba(15,23,42,.1);border-radius:14px;padding:9px 13px;font:700 12.5px 'Vazirmatn',sans-serif;color:var(--o2);cursor:pointer;box-shadow:0 8px 22px rgba(15,23,42,.12)}
#hv-dview svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
/* English desktop: menu and widget column left-to-right and left-aligned (placed last so it overrides the direction:rtl above) */
html.hv-desk-ltr.hv-desk-auth #hv-dside,html.hv-desk-ltr.hv-desk-auth #hv-dwid{direction:ltr;text-align:left}
/* Desktop: the logo and name are in the side menu; do not repeat them in the top bar of the middle column (the empty space stays for the ID and bell) */
html.hv-desk-auth #hv-header>div>img{display:none}
html.hv-desk-auth #hv-header>div>img+div>*{display:none}
/* Desktop with a right column: header (ID, notifications, settings) and total balance card at the top of the right column; the middle column starts from the top */
#hv-dwid>div:empty{display:none}
#hv-dwid>.dw-top,#hv-dwid>.dw-balhost,#hv-dwid>.dw-rest{flex-shrink:0}
#hv-dwid>.dw-rest{display:flex;flex-direction:column;gap:14px}
html.hv-desk-wid .screen.has-hdr{top:0}
/* Desktop: the top bar (ID, bell, settings) is not shown; the ID is in the side menu, and messages/settings are in that same menu */
html.hv-desk-auth #hv-header{display:none!important}
html.hv-desk-auth .screen.has-hdr{top:0}
#hv-dside .ds-id{display:flex;align-items:center;gap:6px;margin:0 4px 4px;padding:9px 11px;border-radius:12px;background:#f5f8fd;font-size:12px;color:#4d5a6e;cursor:pointer;user-select:none}
#hv-dside .ds-id:hover{background:var(--t1)}
#hv-dside .ds-id b{font-size:12.5px;font-weight:800;color:#0f172a;direction:ltr;unicode-bidi:isolate}
html.hv-desk-wid #hv-dwid #hv-header{display:block!important;position:static;background:none;padding:0}
html.hv-desk-wid #hv-dwid #hv-header>div{padding:0!important;justify-content:flex-end!important;gap:8px}
html.hv-desk-wid #hv-dwid [data-mk=home-bal]{margin:0!important}
/* Desktop: the home story row is not shown (it stays on phones) */
html.hv-desk-auth [data-story-rail]{display:none!important}
/* Desktop: the home "Play & earn" section is not shown (all games are in the side menu; it stays on phones) */
html.hv-desk-auth #s-home div:has(>div[data-en="Play & earn"]),html.hv-desk-auth #s-home [data-mk=games-rail],html.hv-desk-auth #s-home [data-mk=games-dots]{display:none!important}

/* "Total balance" card (hv-bal2): one line — title, amount the same size as the title, rial/dollar — and four buttons */
.hv-bal2{padding:14px 16px}
.hv-bal2 .top{display:flex;align-items:center;gap:10px}
.hv-bal2 .lab,.hv-bal2 .amt{font-size:14px;font-weight:800;line-height:1.3;text-shadow:0 1px 2px rgba(154,52,18,.25)}
.hv-bal2 .lab{white-space:nowrap;opacity:.95}
.hv-bal2 .amt{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;direction:ltr;text-align:center;cursor:pointer}
.hv-bal2 .amt small{font-size:1em;font-weight:800;opacity:.9}
.hv-bal2 .cur{margin:0;flex-shrink:0}
.hv-bal2 .acts{margin-top:14px}
/* Persian: "Rial" after the number (to its left); the number itself left-to-right */
html[dir=rtl] .hv-bal2 .amt{direction:rtl}

/* Orange theme (2026-09-25, per the "New light design" demo): gradient balance card with a glow; white buttons with colored icons
   deposit green, send blue, swap purple, voucher amber — so the page is not monochrome and monotonous */
.hv-bal2{background:linear-gradient(135deg,var(--t5) 0%,var(--o1) 50%,var(--o3) 100%)!important;box-shadow:0 16px 32px rgba(var(--o1-rgb),.32)!important;border-radius:24px}
.hv-bal2::after{width:220px;height:220px;background:radial-gradient(circle,rgba(255,255,255,.32),transparent 65%);inset-inline-start:-60px;top:-110px;bottom:auto}
.hv-bal2 .lab,.hv-bal2 .amt{text-shadow:0 1px 2px rgba(124,45,18,.3)}
.hv-bal2 .cur{background:rgba(124,45,18,.22)}
.hv-bal2 .cur span.on{color:var(--o3)}
.hv-bal2 .acts{gap:8px}
.hv-bal2 .acts div{background:rgba(255,255,255,.96);color:#0f172a;border-radius:16px;padding:8px 0 7px;font-weight:800;box-shadow:0 4px 10px rgba(124,45,18,.12)}
.hv-bal2 .acts div:active{transform:scale(.96)}
.hv-bal2 .acts svg{width:30px;height:30px;padding:6px;border-radius:10px;margin:0 auto 3px}
.hv-bal2 .acts [data-a=dep] svg{background:#dcfce7;color:#16a34a}
.hv-bal2 .acts [data-a=send] svg{background:#dbeafe;color:#2563eb}
.hv-bal2 .acts [data-a=swap] svg{background:var(--t3);color:#7c3aed}
.hv-bal2 .acts [data-a=vou] svg{background:#fef3c7;color:#d97706}
/* Home tiles: softer shadow, rounder edges */
.hp-lb{border-radius:18px;border-color:rgba(15,23,42,.05);box-shadow:0 2px 10px rgba(16,24,40,.07)}
.hp-lb .th::after{box-shadow:none}
.hp-lb .lv{background:rgba(255,255,255,.92);color:#0f172a}
.hp-lb .lv i{background:#22c55e}

/* ---------- Desktop design 2 (v508, approved 2026-09-25): narrow icon menu, glass top bar, home dashboard ---------- */
html.hv-desk body{background:radial-gradient(900px 520px at 100% -10%,rgba(var(--o1-rgb),.10),transparent 60%),radial-gradient(800px 520px at 0% 35%,rgba(139,92,246,.06),transparent 60%),#f3f5fa;background-attachment:fixed}
html.hv-desk-auth #hv-dside{top:0!important;bottom:0!important;border-radius:0!important;box-shadow:none!important;border-inline-end:1px solid #e8ecf4;padding:14px 0 10px!important;align-items:center}
#hv-dside .ds-brand{padding:0 0 10px!important;justify-content:center}
#hv-dside .ds-brand img{width:42px;height:42px}
#hv-dside .ds-nav{width:100%;display:flex;flex-direction:column;align-items:center;gap:2px;margin:0!important;padding:0 6px!important;scrollbar-width:none}
#hv-dside .ds-nav::-webkit-scrollbar{display:none}
#hv-dside .ds-nav hr{width:40px;border:0;border-top:1px solid #e8ecf4;margin:6px 0;flex-shrink:0}
#hv-dside a{flex-direction:column;gap:3px!important;width:78px;flex-shrink:0;padding:8px 2px!important;border-radius:14px!important;font-size:10.5px!important;font-weight:700!important;text-align:center;line-height:1.3;margin:0!important}
#hv-dside a span{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#hv-dside a svg{width:22px!important;height:22px!important}
#hv-dside a:hover{background:#f5f7fb!important;color:#0f172a}
#hv-dside a.on{background:rgba(var(--o1-rgb),.12)!important;color:var(--o2)!important}
#hv-dside .ds-view{border-top:1px solid #e8ecf4!important;border-radius:14px!important;margin-top:6px!important;padding-top:10px!important}
#hv-dtop{display:none}
html.hv-desk-auth #hv-dtop{display:flex;position:fixed;top:0;height:68px;z-index:55;align-items:center;gap:12px;padding:0 24px;background:rgba(255,255,255,.78);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid rgba(15,23,42,.06);font-family:'Vazirmatn',sans-serif}
#hv-dtop svg{width:18px;height:18px;flex-shrink:0}
#hv-dtop .dt-sw{display:flex;background:#eef1f7;border-radius:14px;padding:4px}
#hv-dtop .dt-sw a{display:flex;align-items:center;gap:6px;padding:7px 16px;border-radius:11px;font-weight:800;font-size:13px;color:#64748b;cursor:pointer;user-select:none;white-space:nowrap}
#hv-dtop .dt-sw a:hover{color:#0f172a}
#hv-dtop .dt-sw a.on{background:#fff;color:#0f172a;box-shadow:0 2px 8px rgba(16,24,40,.08)}
#hv-dtop .dt-sw a.on svg{color:var(--o1)}
#hv-dtop .dt-q{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e8ecf4;border-radius:14px;height:42px;padding:0 12px;color:#94a3b8;width:min(360px,26vw);cursor:text}
#hv-dtop .dt-q:focus-within{border-color:rgba(var(--o1-rgb),.5);box-shadow:0 0 0 3px rgba(var(--o1-rgb),.12)}
#hv-dtop .dt-q input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:13px 'Vazirmatn',sans-serif;color:#0f172a}
#hv-dtop kbd{font:700 10.5px Inter,sans-serif;background:#f1f5f9;border-radius:6px;padding:1px 6px;color:#64748b;direction:ltr;white-space:nowrap}
#hv-dtop .dt-sp{flex:1}
#hv-dtop .dt-bal{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e8ecf4;border-radius:14px;padding:4px;padding-inline-start:14px}
#hv-dtop .dt-bal b{font:800 14.5px Inter,'Vazirmatn',sans-serif;cursor:pointer;direction:ltr;unicode-bidi:isolate;white-space:nowrap}
#hv-dtop .dt-bal button{border:0;background:linear-gradient(135deg,var(--t5),var(--o1) 55%,var(--o2));color:#fff;font:800 12.5px 'Vazirmatn',sans-serif;border-radius:11px;padding:8px 16px;cursor:pointer;box-shadow:0 6px 14px rgba(var(--o1-rgb),.3);white-space:nowrap}
#hv-dtop .dt-ic{width:42px;height:42px;border-radius:14px;background:#fff;border:1px solid #e8ecf4;display:flex;align-items:center;justify-content:center;color:#475569;position:relative;cursor:pointer;flex-shrink:0}
#hv-dtop .dt-ic:hover{color:var(--o2);border-color:rgba(var(--o1-rgb),.35)}
#hv-dtop .dt-bell i{position:absolute;top:9px;inset-inline-end:10px;width:8px;height:8px;border-radius:50%;background:#e11d48;border:2px solid #fff}
#hv-dtop .dt-me{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #e8ecf4;border-radius:14px;padding:4px;padding-inline-end:12px;cursor:pointer;user-select:none;flex-shrink:0}
#hv-dtop .dt-me .av{width:34px;height:34px;border-radius:11px;background:linear-gradient(135deg,var(--t5),var(--o1) 55%,var(--o3));color:#fff;display:flex;align-items:center;justify-content:center;font:900 11.5px Inter,sans-serif}
#hv-dtop .dt-me small{display:block;color:#64748b;font-size:10.5px;line-height:1.2;white-space:nowrap}
#hv-dtop .dt-me b{font:800 12px Inter,sans-serif;direction:ltr;unicode-bidi:isolate}
@media (max-width:1180px){#hv-dtop kbd,#hv-dtop .dt-me small{display:none}#hv-dtop .dt-sw a{padding:7px 11px}}
/* Desktop home: only the dashboard (and the balance card when there is no right column) */
#hv-dhome{display:none}
#hv-dhome a,#hv-dtop a{color:inherit;text-decoration:none}
#hv-dhome .dh-mc,#hv-dhome .dh-gm{color:#0f172a}
html.hv-desk-home #hv-dhome{display:block;padding:4px 2px 30px;font-family:'Vazirmatn',sans-serif;color:#0f172a;container-type:inline-size}
html.hv-desk-home #app{background:transparent!important;box-shadow:none!important;border-radius:0!important}
html.hv-desk-home #s-home,html.hv-desk-home #s-home>div{background:transparent!important}
html.hv-desk-home #s-home>div{padding:0!important}
html.hv-desk-home #s-home>div>*:not(#hv-dhome){display:none!important}
#hv-dhome .dh-balhost:empty{display:none}
#hv-dhome .dh-balhost{margin-bottom:18px;max-width:520px}
#hv-dhome .dh-promos{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:16px}
#hv-dhome .dh-pm{position:relative;height:200px;border-radius:24px;overflow:hidden;color:#fff;padding:20px;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:4px;background-size:cover;background-position:center;cursor:pointer;box-shadow:0 1px 2px rgba(16,24,40,.04),0 10px 30px rgba(16,24,40,.08);transition:transform .25s}
#hv-dhome .dh-pm:hover{transform:translateY(-3px)}
#hv-dhome .dh-pm::before{content:"";position:absolute;inset:0;background:var(--ov,none)}
#hv-dhome .dh-pm>*{position:relative}
#hv-dhome .dh-pm .tg{position:absolute;top:16px;inset-inline-start:16px;background:rgba(255,255,255,.2);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.3);border-radius:999px;padding:1px 12px;font-size:11px;font-weight:800}
#hv-dhome .dh-pm h3{margin:0;font-size:18px;font-weight:900;line-height:1.55;max-width:80%}
#hv-dhome .dh-pm .big{font:900 24px Inter,'Vazirmatn',sans-serif}
#hv-dhome .dh-pm small{font-size:12px;opacity:.92;line-height:1.8;max-width:80%}
#hv-dhome .dh-pm .cta{margin-top:8px;background:#fff;color:#0f172a;font-weight:900;border-radius:12px;padding:6px 16px;font-size:12.5px}
#hv-dhome .dh-pm-g{background:linear-gradient(135deg,var(--t5),var(--o1) 50%,var(--o3))}
#hv-dhome .dh-pm-g h3,#hv-dhome .dh-pm-g small{max-width:68%}
#hv-dhome .dh-pm-g::before{background:radial-gradient(260px 200px at 20% 10%,rgba(255,255,255,.3),transparent 70%)}
#hv-dhome .dh-pm .emo{position:absolute;top:22px;inset-inline-end:22px;font-size:60px;line-height:1;filter:drop-shadow(0 10px 18px rgba(0,0,0,.2));display:flex}
#hv-dhome .dh-pm .emo svg{width:60px;height:60px}
#hv-dhome .dh-cats{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
#hv-dhome .dh-cats a{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #e8ecf4;border-radius:16px;padding:6px 7px;padding-inline-end:16px;font-weight:800;font-size:13px;color:#475569;cursor:pointer;transition:transform .15s,box-shadow .15s}
#hv-dhome .dh-cats a:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(16,24,40,.08);color:#0f172a}
#hv-dhome .dh-ci{width:30px;height:30px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
#hv-dhome .dh-ci svg{width:17px;height:17px}
#hv-dhome .c-v{background:var(--t3);color:#7c3aed}#hv-dhome .c-p{background:#fce7f3;color:#db2777}#hv-dhome .c-e{background:#d1fae5;color:#059669}#hv-dhome .c-am{background:#fef3c7;color:#d97706}#hv-dhome .c-s{background:#e0f2fe;color:#0284c7}#hv-dhome .c-r{background:#ffe4e6;color:#e11d48}#hv-dhome .c-g{background:#dcfce7;color:#16a34a}#hv-dhome .c-b{background:#dbeafe;color:#2563eb}#hv-dhome .c-o{background:var(--t3);color:var(--o2)}
#hv-dhome .dh-sh{display:flex;align-items:center;gap:10px;margin:28px 0 14px}
#hv-dhome .dh-sh b{font-size:17px;font-weight:900}
#hv-dhome .dh-sh small{color:#64748b;font-weight:700;font-size:12px}
#hv-dhome .dh-sh .all{margin-inline-start:auto;color:var(--o2);font-weight:800;font-size:13px;cursor:pointer}
#hv-dhome .dh-r6,#hv-dhome .dh-pop{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
#hv-dhome .dh-gc{aspect-ratio:3/4;border-radius:20px;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;padding:12px 10px;color:#fff;background-size:cover;background-position:center;cursor:pointer;box-shadow:0 1px 2px rgba(16,24,40,.04),0 10px 30px rgba(16,24,40,.08);transition:transform .25s,box-shadow .25s}
#hv-dhome .dh-gc:hover{transform:translateY(-5px);box-shadow:0 18px 40px rgba(16,24,40,.18)}
#hv-dhome .dh-gc::before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,var(--pc) 0%,color-mix(in srgb,var(--pc) 70%,transparent) 32%,transparent 72%)}
#hv-dhome .dh-gc>*{position:relative}
#hv-dhome .dh-gc .lg{display:block;width:100%}
#hv-dhome .dh-gc .lg svg{display:block;width:100%;max-width:140px;height:auto;margin:0 auto;filter:drop-shadow(0 2px 6px rgba(0,0,0,.5))}
#hv-dhome .dh-gc small{font-size:11px;font-weight:700;opacity:.85;margin-top:2px}
#hv-dhome .dh-gc .pl{position:absolute;top:10px;inset-inline-end:10px;background:rgba(255,255,255,.92);color:#0f172a;border-radius:999px;padding:1px 9px;font:800 10.5px Inter,'Vazirmatn',sans-serif;display:flex;align-items:center;gap:5px}
#hv-dhome .dh-gc .pl i,#hv-dhome .dh-mc .lv i{width:6px;height:6px;border-radius:50%;background:#22c55e;animation:uwPulse 1.1s infinite}
#hv-dhome .dh-gm{background:#fff;border-radius:18px;overflow:hidden;cursor:pointer;box-shadow:0 1px 2px rgba(16,24,40,.04),0 8px 24px rgba(16,24,40,.06);transition:transform .2s}
#hv-dhome .dh-gm:hover{transform:translateY(-4px)}
#hv-dhome .dh-gm .im{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;background:linear-gradient(135deg,var(--t5),var(--o3));background-size:cover;background-position:center;color:#fff;font:900 22px Inter,sans-serif}
#hv-dhome .dh-gm .nm{display:block;padding:8px 10px 10px;direction:ltr;text-align:left}
#hv-dhome .dh-gm .nm b{display:block;font:800 12.5px Inter,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#hv-dhome .dh-gm .nm small{display:block;font:600 10.5px Inter,sans-serif;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#hv-dhome .dh-m3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
#hv-dhome .dh-mc{background:#fff;border-radius:20px;padding:14px 16px;cursor:pointer;box-shadow:0 1px 2px rgba(16,24,40,.04),0 8px 24px rgba(16,24,40,.06);transition:box-shadow .2s}
#hv-dhome .dh-mc:hover{box-shadow:0 12px 30px rgba(16,24,40,.12)}
#hv-dhome .dh-mc .h{display:flex;align-items:center;gap:8px;font-size:11.5px;color:#64748b;font-weight:700;margin-bottom:6px}
#hv-dhome .dh-mc .lgn{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#hv-dhome .dh-mc .wh{font-weight:800;color:#475569;white-space:nowrap}
#hv-dhome .dh-mc .lv{display:flex;align-items:center;gap:5px;color:#e11d48;background:#fff1f2;border-radius:999px;padding:0 9px;font-weight:800;white-space:nowrap}
#hv-dhome .dh-mc .lv i{background:#e11d48}
#hv-dhome .dh-mc .tm{display:flex;align-items:center;gap:9px;font-weight:800;font-size:13.5px;padding:3px 0}
#hv-dhome .dh-mc .tm span:not(.dh-crest){flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#hv-dhome .dh-mc .tm b{font:900 16px Inter,sans-serif}
#hv-dhome .dh-crest{width:24px;height:24px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:10.5px;font-weight:800;flex-shrink:0}
#hv-dhome .dh-wait{grid-column:1/-1;font-size:12.5px;color:#8593a8;padding:10px 2px}
@container (max-width:900px){#hv-dhome .dh-r6,#hv-dhome .dh-pop{grid-template-columns:repeat(3,minmax(0,1fr))}#hv-dhome .dh-m3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container (max-width:700px){#hv-dhome .dh-promos{grid-template-columns:1fr 1fr}#hv-dhome .dh-promos .dh-pm:nth-child(3){display:none}}

/* v509: categories on one line (draggable with the mouse), live wins bar, latest wins table */
#hv-dhome .dh-cats{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding:2px 2px 8px;margin-inline:-2px;cursor:grab;user-select:none;-webkit-mask-image:linear-gradient(to left,#000 92%,transparent);mask-image:linear-gradient(to left,#000 92%,transparent)}
html.hv-desk-ltr #hv-dhome .dh-cats{-webkit-mask-image:linear-gradient(to right,#000 92%,transparent);mask-image:linear-gradient(to right,#000 92%,transparent)}
#hv-dhome .dh-cats::-webkit-scrollbar{display:none}
#hv-dhome .dh-cats a{flex-shrink:0;white-space:nowrap}
#hv-dhome .dh-cats.drag{cursor:grabbing}
#hv-dhome .dh-cats.drag a{pointer-events:none}
#hv-dhome .dh-mq{margin-top:18px;background:#fff;border-radius:18px;box-shadow:0 1px 2px rgba(16,24,40,.04),0 8px 24px rgba(16,24,40,.06);display:flex;align-items:center;overflow:hidden;height:52px}
#hv-dhome .dh-mq .lb{display:flex;align-items:center;gap:7px;padding:0 16px;font-weight:900;white-space:nowrap;height:100%;border-inline-end:1px solid #e8ecf4;flex-shrink:0}
#hv-dhome .dh-mq .lb i{width:7px;height:7px;border-radius:50%;background:#e11d48;animation:uwPulse 1.1s infinite}
#hv-dhome .dh-mq .vp{flex:1;min-width:0;overflow:hidden}
#hv-dhome .dh-mq .tr{display:flex;gap:10px;width:max-content;padding-inline-start:10px;animation:dhMq 60s linear infinite}
#hv-dhome .dh-mq:hover .tr{animation-play-state:paused}
@keyframes dhMq{from{transform:translateX(0)}to{transform:translateX(50%)}}
html.hv-desk-ltr #hv-dhome .dh-mq .tr{animation-name:dhMqL}
@keyframes dhMqL{from{transform:translateX(0)}to{transform:translateX(-50%)}}
#hv-dhome .wc{display:inline-flex;align-items:center;gap:7px;background:#f8fafc;border:1px solid #e8ecf4;border-radius:999px;padding:3px 4px;padding-inline-end:12px;font-size:12px;color:#475569;white-space:nowrap}
#hv-dhome .wc i{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font:800 9px Inter,sans-serif;font-style:normal}
#hv-dhome .wc b{color:#0f172a;font:800 12px Inter,sans-serif}
#hv-dhome .wc em{font:800 12px Inter,sans-serif;font-style:normal;color:#16a34a;direction:ltr}
#hv-dhome .dh-wt{background:#fff;border-radius:22px;box-shadow:0 1px 2px rgba(16,24,40,.04),0 8px 24px rgba(16,24,40,.06);overflow:hidden}
#hv-dhome .dh-wt .tb{display:flex;gap:4px;padding:10px}
#hv-dhome .dh-wt .tb a{padding:6px 16px;border-radius:11px;font-weight:800;color:#64748b;cursor:pointer}
#hv-dhome .dh-wt .tb a.on{background:rgba(var(--o1-rgb),.12);color:var(--o2)}
#hv-dhome .dh-wt table{width:100%;border-collapse:collapse;font-size:13px}
#hv-dhome .dh-wt th{font-size:11.5px;color:#64748b;font-weight:700;padding:8px 18px;text-align:start;background:#f8fafc}
#hv-dhome .dh-wt td{padding:10px 18px;border-top:1px solid #eef2f7}
#hv-dhome .dh-wt .gm{display:flex;align-items:center;gap:10px;font-weight:700}
#hv-dhome .dh-wt .gm .dh-ci{width:30px;height:30px;border-radius:9px}
#hv-dhome .dh-wt .mx{font:800 11.5px Inter,sans-serif;border-radius:999px;padding:1px 9px}
#hv-dhome .dh-wt .pay{text-align:end;color:#16a34a;font-weight:800}
#hv-dhome .dh-wt th.pay{color:#64748b}
#hv-dhome .dh-wt .mut{color:#94a3b8}

/* v510: casino on wide desktop — cards at a fixed, sensible size (not a third of the width), draggable rows, header and search aligned */
html.hv-desk-wide #s-casino [data-mk=cs-grid]{grid-template-columns:repeat(auto-fill,minmax(168px,1fr))!important;gap:14px!important}
html.hv-desk-wide #s-casino [data-mk=cs-recent]>div,html.hv-desk-wide #s-casino [data-mk=cs-popular]>div{flex:0 0 176px!important}
html.hv-desk-wide #s-casino .cs-lobby{flex:0 0 clamp(260px,30%,380px)!important}
html.hv-desk #app .noscroll{cursor:grab}
html.hv-desk #app .noscroll:active{cursor:grabbing}
html.hv-desk-wide #app{border-radius:24px}

/* Pull down to refresh (v511) — white circle with an orange arrow at the top of the page */
#hv-ptr{position:fixed;top:calc(env(safe-area-inset-top,0px) - 40px);left:50%;z-index:300;width:40px;height:40px;border-radius:50%;background:#fff;color:var(--o1);display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(15,23,42,.18);opacity:0;transform:translate(-50%,0);pointer-events:none}
#hv-ptr svg{width:22px;height:22px}
#hv-ptr.back{transition:transform .25s ease,opacity .25s ease}
#hv-ptr.ready{background:var(--o1);color:#fff}
#hv-ptr.spin{transition:transform .2s ease}
#hv-ptr.spin svg{animation:hvPtrSpin .7s linear infinite}
html.hv-refreshing #app{opacity:.35;transition:opacity .25s ease;pointer-events:none} /* v608: while refreshing */
@keyframes hvPtrSpin{to{transform:rotate(360deg)}}
.screen{overscroll-behavior-y:contain}
/* v587: in-app game page — provider frame between the header and the bottom menu; pl-full = temporary full screen */
#s-play{overflow:hidden;background:#0b1220;animation:none}
#s-play>[dir=rtl]{height:100%!important;min-height:0!important;padding:0!important}
#s-play .pl-host{position:absolute;inset:0;overflow:hidden}
#s-play .pl-host>iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;background:#0b1220}
#app.pl-full #hv-header,#app.pl-full #hv-footer{display:none!important}
#app.pl-full #s-play.has-hdr{top:0}#app.pl-full #s-play.has-ftr{bottom:0}
/* v629: BetConstruct frame exactly up to the top of the bottom menu (v610 extended it under the menu by the safe-area; inside an iframe on iOS the safe-area is zero, and BC's bottom bar stayed under our menu) */
#hv-plpill{position:absolute;left:50%;transform:translateX(-50%);bottom:calc(var(--ftrH,72px) + 10px);z-index:39;display:none;align-items:center;gap:8px;background:#0f172a;color:#fff;border-radius:999px;padding:9px 16px 9px 14px;font-size:12.5px;font-weight:800;box-shadow:0 8px 24px rgba(15,23,42,.28);cursor:pointer;font-family:'Vazirmatn',sans-serif;direction:rtl;white-space:nowrap}
#hv-plpill.on{display:flex}
#hv-plpill .pl-dot{width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.25)}
#hv-plpill .pl-x{width:22px;height:22px;border-radius:50%;background:rgba(255,255,255,.16);display:flex;align-items:center;justify-content:center;margin-inline-start:4px;margin-inline-end:-6px;flex-shrink:0} /* v609: close the game */
#hv-plpill .pl-x:active{background:rgba(255,255,255,.3)}
html.hv-desk #hv-plpill{bottom:16px}
#s-play .pl-fx{display:none;position:absolute;top:10px;right:10px;z-index:5;width:34px;height:34px;border-radius:50%;background:rgba(15,23,42,.5);align-items:center;justify-content:center;cursor:pointer;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
#app.pl-full #s-play .pl-fx{display:flex;top:calc(var(--sat,0px) + 10px)}
html[dir="ltr"] #s-play .pl-fx{right:auto;left:10px}
/* v588/v589: global floating live stream (#hv-pv inside #app; stays on every page until × is pressed) */
#hv-pv{display:none;position:absolute;z-index:39;width:56%;min-width:180px;max-width:340px;aspect-ratio:16/9;right:10px;top:calc(var(--hdrH,96px) + 8px);border-radius:12px;overflow:hidden;background:#000;box-shadow:0 14px 34px rgba(0,0,0,.45);touch-action:none}
#hv-pv.on{display:block}
#hv-pv.dock{left:0;right:0;top:var(--hdrH,96px);width:100%;max-width:none;min-width:0;aspect-ratio:auto;height:var(--pvH,211px);border-radius:0;box-shadow:none}
#app.pl-full #hv-pv.dock{top:0}
html.hv-desk-auth #hv-pv{top:16px}html.hv-desk-auth #hv-pv.dock{top:0}
#s-play.pv-dock .pl-host{top:var(--pvH,211px)}
#hv-pv .pv-fr,#hv-pv .pv-fr>iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#000}
#hv-pv .pv-bar{position:absolute;top:0;left:0;right:0;display:flex;align-items:center;gap:6px;padding:5px 7px;background:linear-gradient(rgba(0,0,0,.65),transparent);color:#fff;direction:ltr;cursor:grab;z-index:2}
#hv-pv .pv-live{background:#dc2626;font-size:9.5px;font-weight:900;border-radius:5px;padding:1px 5px;letter-spacing:.5px;flex-shrink:0}
#hv-pv .pv-t{flex:1;min-width:0;font-size:10.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;font-family:Inter,system-ui,sans-serif}
#hv-pv .pv-b{width:22px;height:22px;border-radius:7px;background:rgba(15,23,42,.6);display:flex;align-items:center;justify-content:center;font-size:13px;cursor:pointer;flex-shrink:0}
#hv-pv .pv-grab{position:absolute;inset:0;z-index:1;cursor:grab;touch-action:none} /* v609: drag from anywhere on the floating player; v620: a tap does nothing (only ⤢ enlarges it) */
#hv-pv.dock .pv-grab{display:none}
#hv-pv .pv-msg{position:absolute;inset:0;z-index:3}
#hv-pv.dock .pv-bar{padding:8px 10px}#hv-pv.dock .pv-t{font-size:12.5px}#hv-pv.dock .pv-b{width:28px;height:28px;font-size:15px}
#hv-pv .pv-msg{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:28px 10px 10px;color:#cbd5e1;font-size:11px;line-height:1.7;background:#0b1220;z-index:1;direction:rtl;font-family:'Vazirmatn',sans-serif}
#hv-pv .pv-msg [data-retry]{display:inline-block;margin-inline-start:6px;color:#fff;text-decoration:underline;cursor:pointer}
/* TV button at the top-right of the game page (sportsbooks) */
#s-play .pl-tv{display:none;position:absolute;top:10px;left:10px;z-index:5;width:36px;height:36px;border-radius:50%;touch-action:none;background:rgba(15,23,42,.55);color:#fff;align-items:center;justify-content:center;cursor:pointer;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
#s-play .pl-tv.on{display:flex}
/* v614: game menu tab on the screen edge (Persian left, English right) + "Live TV" in the bottom menu */
#s-play .pl-mt{position:absolute;left:0;top:38%;z-index:6;width:24px;height:56px;border-radius:0 14px 14px 0;background:rgba(15,23,42,.74);color:#FFFFFF;display:flex;align-items:center;justify-content:center;cursor:pointer;touch-action:none;box-shadow:0 6px 18px rgba(15,23,42,.28);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
#s-play .pl-mt:active{background:rgba(15,23,42,.9)}
#s-play .pl-mt svg{display:block}
html[dir="ltr"] #s-play .pl-mt{left:auto;right:0;border-radius:14px 0 0 14px}
html[dir="ltr"] #s-play .pl-mt .pl-mt-a svg{transform:scaleX(-1)}
html.hv-bbmode #s-play .pl-mt{pointer-events:auto}
#hv-footer .pl-tvi{position:relative;display:flex;width:22px;height:22px;align-items:center;justify-content:center}
#hv-footer .pl-tvi svg{width:22px;height:22px;display:block}
#hv-footer .pl-tvi .dot{position:absolute;top:-2px;right:-5px;width:9px;height:9px;border-radius:50%;background:#EF4444;box-shadow:0 0 0 2px #FFFFFF;animation:hvPulse 1.4s ease-in-out infinite}
html[dir="ltr"] #s-play .pl-tv{left:auto;right:10px} /* v592: Persian left, English right (user request) */
#s-play .pl-tv svg{width:19px;height:19px;display:block}
#s-play .pl-tv .dot{display:none;position:absolute;top:-1px;right:-1px;width:11px;height:11px;border-radius:50%;background:#ef4444;box-shadow:0 0 0 2px #fff}
#s-play .pl-tv.has .dot{display:block;animation:hvPulse 1.4s ease-in-out infinite}
@keyframes hvPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.25)}}
#s-play.pv-dock .pl-tv{top:calc(var(--pvH,211px) + 10px)}
#app.pl-full #s-play .pl-tv{top:calc(var(--sat,0px) + 10px)}
.sv-mcb.sv-mcb2{background:var(--o1);box-shadow:0 6px 16px rgba(var(--o1-rgb),.35)}
/* v594: Betby without an iframe — container in body, #app transparent and taking no events; on leaving the game page (hv-bbaway) #app is opaque and body locked */
html.hv-bbmode #app{z-index:2147483000} /* v607: only while Betby is mounted; otherwise #app ended up over the splash (index.html, same z-index) and the pull-to-refresh indicator */
#toast{z-index:2147483001}
#hv-bb{position:static;min-height:100vh;background:#f5f8fd;box-sizing:border-box}
#hv-bb .hv-bb-msg{display:flex;align-items:center;justify-content:center;min-height:40vh;padding:24px;text-align:center;font-size:13px;line-height:1.9;color:#64748b;font-family:'Vazirmatn',sans-serif}
html.hv-bbmode #app{background:transparent;pointer-events:none}
html.hv-bbmode #app>*{pointer-events:auto}
html.hv-bbmode #s-play{background:transparent;pointer-events:none}
html.hv-bbmode #s-play>[dir=rtl]{background:transparent!important}
html.hv-bbmode #s-play .pl-host{display:none}
html.hv-bbmode #s-play .pl-tv,html.hv-bbmode #s-play .pl-fx{pointer-events:auto}
html.hv-bbmode #hv-footer{background:#fff}
html.hv-bbaway body{overflow:hidden}
html.hv-bbaway #hv-bb{visibility:hidden}

/* v618: "Upcoming big matches" inside the page column — scroll snaps to whole cards, soft edge fade, page dots; two cards side by side in a wide column */
.hv-live-row{display:flex;gap:10px;overflow-x:auto;padding:2px 0 4px;align-items:stretch;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 14px,#000 calc(100% - 14px),transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 14px,#000 calc(100% - 14px),transparent 100%)}
.hv-live-row::-webkit-scrollbar{display:none}
.hv-live-row .hv-live-card{flex:0 0 78%;min-width:0;box-sizing:border-box;scroll-snap-align:start;box-shadow:0 1px 2px rgba(15,23,42,.04)}
/* v623: several cards side by side only when the row itself is very wide (not the window) — in a phone-width column always one 78% card as before */
.hv-live-row{container-type:inline-size}
@container (min-width:700px){.hv-live-row .hv-live-card{flex-basis:calc((100% - 10px) / 2)}}
@container (min-width:1000px){.hv-live-row .hv-live-card{flex-basis:calc((100% - 20px) / 3)}}
.hv-live-dots{display:flex;justify-content:center;gap:5px;margin:8px 0 2px}
.hv-live-dots i{width:6px;height:6px;border-radius:3px;background:#d4d9e3;cursor:pointer;transition:width .2s ease,background .2s ease}
.hv-live-dots i.on{width:16px;background:var(--o1)}

/* v620: screen-edge game menu tab = arrow (wallet/language) + the "Live TV" badge under it when a matching stream has been found */
#s-play .pl-mt{flex-direction:column;height:auto;min-height:56px;width:26px}
#s-play .pl-mt .pl-mt-a{display:flex;align-items:center;justify-content:center;width:100%;height:56px}
#s-play .pl-mt .pl-mt-tv{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:42px;border-top:1px solid rgba(255,255,255,.2)}
#s-play .pl-mt .pl-mt-tv svg{width:17px;height:17px;display:block}
#s-play .pl-mt .pl-mt-tv .dot{position:absolute;top:8px;right:3px;width:7px;height:7px;border-radius:50%;background:#EF4444;box-shadow:0 0 0 1.5px rgba(15,23,42,.85);animation:hvPulse 1.4s ease-in-out infinite}
#s-play .pl-mt .pl-mt-tv.on{color:var(--t5)}
#s-play .pl-mt .pl-mt-tv.on .dot{display:none}
/* v620: floating player buttons slightly bigger (⤢ is the only way to enlarge) */
#hv-pv .pv-b{width:26px;height:26px;font-size:15px}
#hv-pv.dock .pv-b{width:30px;height:30px;font-size:16px}

/* v621: game menu = side drawer next to the screen-edge tab (Betby; the other providers have the same look inside the launch page) */
#s-play .pl-mt{transition:transform .28s cubic-bezier(.2,.85,.25,1),background .2s}
#s-play .pl-mt.mt-open{transform:translateX(var(--mtW,0px));z-index:7}
html[dir="ltr"] #s-play .pl-mt.mt-open{transform:translateX(calc(-1 * var(--mtW,0px)))}
#s-play .pl-mt .pl-mt-a svg{transition:transform .28s cubic-bezier(.2,.85,.25,1)}
#s-play .pl-mt.mt-open .pl-mt-a svg{transform:rotate(180deg)}
html[dir="ltr"] #s-play .pl-mt.mt-open .pl-mt-a svg{transform:none}
#s-play .pl-mt.mt-open .pl-mt-tv{display:none!important}
#hv-bbm{position:absolute;inset:0;z-index:5;pointer-events:auto;background:rgba(15,23,42,0);transition:background .28s}
#hv-bbm.on{background:rgba(15,23,42,.3)}
#hv-bbm .bbm-panel{position:absolute;left:0;top:30%;width:min(292px,calc(100% - 44px));max-height:calc(100% - 16px);overflow-y:auto;box-sizing:border-box;background:#fff;border-radius:0 22px 22px 0;padding:12px 14px;box-shadow:14px 0 36px rgba(15,23,42,.32);font-family:'Vazirmatn',sans-serif;transform:translateX(-108%);transition:transform .28s cubic-bezier(.2,.85,.25,1)}
html[dir="ltr"] #hv-bbm .bbm-panel{left:auto;right:0;border-radius:22px 0 0 22px;box-shadow:-14px 0 36px rgba(15,23,42,.32);transform:translateX(108%)}
#hv-bbm.on .bbm-panel,html[dir="ltr"] #hv-bbm.on .bbm-panel{transform:none} /* v630: in English mode the ltr closed-state rule was stronger and the drawer never opened */
#hv-bbm .bbm-hd{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 2px 10px}#hv-bbm .bbm-hd b{font-size:14px;font-weight:800;color:#0f172a}
#hv-bbm .bbm-x{width:30px;height:30px;border-radius:50%;background:#f1f5f9;display:flex;align-items:center;justify-content:center;font-size:19px;line-height:1;cursor:pointer;color:#334155;flex-shrink:0}
#hv-bbm .bbm-panel>.bbm-b{display:flex;align-items:center;gap:10px;background:#f6f7fb;border-radius:13px;padding:12px;margin:6px 0;color:#0f172a}
#hv-bbm .bbm-panel>.bbm-b::before{content:'';width:20px;height:20px;flex-shrink:0;background:var(--o1);-webkit-mask:var(--hvic) center/contain no-repeat;mask:var(--hvic) center/contain no-repeat}
#hv-bbm .bbm-b[data-a="wallet"]{--hvic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='13' rx='3'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='M16 14.5h2'/%3E%3C/svg%3E")}#hv-bbm .bbm-b[data-a="lang"]{--hvic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18'/%3E%3Cpath d='M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3z'/%3E%3C/svg%3E")}#hv-bbm .bbm-b[data-a="full"]{--hvic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9V4h5M20 9V4h-5M4 15v5h5M20 15v5h-5'/%3E%3C/svg%3E")}#hv-bbm .bbm-b[data-a="back"]{--hvic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-4'/%3E%3Cpath d='M9 8l-4 4 4 4'/%3E%3Cpath d='M5 12h10'/%3E%3C/svg%3E");color:#b91c1c}#hv-bbm .bbm-b[data-a="back"]::before{background:#dc2626}
/* v621: floating player — the drag layer over the video was removed so touches reach the player itself (sound); drag from the top bar */
#hv-pv{touch-action:auto}#hv-pv .pv-grab{display:none}#hv-pv .pv-bar{touch-action:none}#hv-pv:not(.dock) .pv-bar{padding:7px 8px}
#hv-pv.dock .pv-bar{pointer-events:none}#hv-pv.dock .pv-bar .pv-b{pointer-events:auto}
/* v621: open tab = white handle attached to the drawer */
#s-play .pl-mt.mt-open{background:#fff;color:#0f172a;box-shadow:10px 6px 22px rgba(15,23,42,.28);backdrop-filter:none;-webkit-backdrop-filter:none}
html[dir="ltr"] #s-play .pl-mt.mt-open{box-shadow:-10px 6px 22px rgba(15,23,42,.28)}
#s-play .pl-mt.mt-open:active{background:#f1f5f9}

/* v622: menu drawer — scrolling inside it does not spill over to the page underneath */
#hv-bbm .bbm-panel{overscroll-behavior:contain}
/* v622: floating player — drag from anywhere (the layer is back); one tap = "Controls" mode (the layer moves aside so touches reach the player) */
#hv-pv:not(.dock):not(.ctl) .pv-grab{display:block}
#hv-pv .pv-hint{position:absolute;left:50%;bottom:8px;transform:translate(-50%,4px);z-index:4;max-width:92%;padding:4px 10px;border-radius:999px;background:rgba(15,23,42,.84);color:#fff;font:600 11px/1.5 'Vazirmatn',sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}
#hv-pv .pv-hint.on{opacity:1;transform:translate(-50%,0)}

/* v632: the stream message layer (preparing/error) does not take touches, so dragging the floating player always works; only the "Retry" link does */
#hv-pv .pv-msg{pointer-events:none}#hv-pv .pv-msg [data-retry]{pointer-events:auto}
/* v635: TurboSports leaves 30px of empty space under the Bet Slip bar on its own mobile page (useless inside our frame) — the frame extends that much under our bottom menu so the bar sits right on the menu (--tsGap adjustable from admin/CSS) */
#s-play.pl-ts.has-ftr{bottom:calc(var(--ftrH,72px) - var(--tsGap,30px))}
#app.pl-full #s-play.pl-ts.has-ftr{bottom:0}

/* v650: the top bar of the floating/docked player hides after 3 seconds and comes back on touch */
#hv-pv .pv-bar{transition:opacity .25s,transform .25s}#hv-pv.bar-off .pv-bar{opacity:0;transform:translateY(-8px);pointer-events:none}#hv-pv.bar-off .pv-bar .pv-b{pointer-events:none}

/* v651: the Persian "UTopian" line in the header is larger than the general header rule (14.5px) so the address fits under it */
html[dir="rtl"] .hv-hw .hv-hc-nm>:first-child{font-size:20px!important;line-height:1.1!important}

/* v653: the five header buttons are separated from the logo and pushed to the opposite edge (empty space between the name and the buttons) */
.hv-hw .hw-chip{margin-inline-start:auto}

/* v654: the floating player's drag layer does not cover the player's bottom control bar (sound/PiP/full screen) → one touch is enough; drag from the rest of the video */
#hv-pv .pv-grab{bottom:40px}

/* v734: UTopian wordmark sizes in one place (user 2026-10-15: the header logo was far too small): header 28/32, welcome + login 32/36 */
img.brand-ut.hv-br-en{height:28px;width:auto;display:block}
img.brand-ut.hv-br-fa{height:32px;width:auto;display:block}
#s-welcome img.brand-ut.hv-br-en,#s-login img.brand-ut.hv-br-en{height:32px}
#s-welcome img.brand-ut.hv-br-fa,#s-login img.brand-ut.hv-br-fa{height:36px}

/* v735: the games product (UTopian) has no wallet lists on Home: assets + latest transactions live in the wallet (header square) */
html.hv-utopian #s-home [data-mk=home-assets],html.hv-utopian #s-home [data-mk=home-tx]{display:none!important}

/* v736: the wallet product's Home opens with the assets tile (design A): the old asset list is hidden there and the balance container is shown again */
html.hv-wallet #s-home [data-mk=home-assets]{display:none!important}
html.hv-wallet #s-home.hw-on [data-mk=home-bal]{display:block!important}
.hv-tile{background:linear-gradient(145deg,var(--o1),var(--o2) 60%,var(--o3));border-radius:22px;padding:14px 16px;color:#fff;box-shadow:0 12px 26px rgba(var(--o1-rgb),.28)}
.hv-tile .tt{display:flex;align-items:center;gap:8px;font-size:12px}
.hv-tile .tt .lab{flex:1;opacity:.95}
.hv-tile .cur{display:flex;gap:2px;background:rgba(255,255,255,.16);border-radius:999px;padding:2px}
.hv-tile .cur span{padding:2px 8px;border-radius:999px;font-size:10.5px;font-weight:800;cursor:pointer;opacity:.8;direction:ltr}
.hv-tile .cur span.on{background:#fff;color:var(--o3);opacity:1}
.hv-tile .eye{width:30px;height:30px;border-radius:10px;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0}
.hv-tile .eye svg{width:16px;height:16px;stroke:#fff;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hv-tile .amt{font-family:'Albert Sans','Vazirmatn',sans-serif;font-size:30px;font-weight:700;direction:ltr;text-align:start;margin:8px 0 2px;letter-spacing:-.01em;cursor:pointer;line-height:1.15}
.hv-tile .amt small{font-size:13px;font-weight:700;opacity:.9}
.hv-tile .sub{display:flex;align-items:center;gap:8px;font-size:12px;opacity:.95;min-height:20px;flex-wrap:wrap}
.hv-tile .sub .pct{background:rgba(255,255,255,.2);border-radius:999px;padding:2px 8px;font-weight:800;direction:ltr}
.hv-tile .sub .pct.dn{background:rgba(67,20,7,.35)}
.hv-tile .chips{display:flex;gap:8px;margin-top:14px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.hv-tile .chips::-webkit-scrollbar{display:none}
.hv-tile .chip{flex-shrink:0;display:flex;align-items:center;gap:8px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.22);border-radius:14px;padding:7px 10px 7px 8px;cursor:pointer}
.hv-tile .chip:active{transform:scale(.97)}
.hv-tile .chip .lg{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;overflow:hidden;flex-shrink:0}
.hv-tile .chip .v{line-height:1.2}
.hv-tile .chip .v b{display:block;font-size:12px;direction:ltr;text-align:start;white-space:nowrap}
.hv-tile .chip .v small{display:block;font-size:10px;opacity:.85;direction:ltr;text-align:start}
.hv-tile .chip.all{justify-content:center;min-width:64px;font-size:12px;font-weight:800;padding:7px 12px}
.hv-tile .acts{display:flex;gap:8px;margin-top:12px}
.hv-tile .acts div{flex:1;background:rgba(255,255,255,.95);color:var(--o3);border-radius:12px;padding:9px 0;text-align:center;font-size:12.5px;font-weight:800;cursor:pointer}
.hv-tile .acts div:active{transform:scale(.97)}
html.hv-desk-wid #hv-dwid .hv-tile .amt{font-size:26px}
