/* VSHVDOW Athletic — Arabic (v7.1). Loaded always, applies only under html.ar (dir=rtl): Readex Pro for Arabic
   letters, Arabic-Indic digits for every number (VSH Digits AR maps 0–9 and % to ٠–٩ and ٪), no letter-spacing
   (it breaks the joins between Arabic letters), and the few left/right rules mirrored. */
@font-face{font-family:'Readex AR';src:url(../fonts/readex-ar-300.woff2) format('woff2');font-weight:1 349;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F}
@font-face{font-family:'Readex AR';src:url(../fonts/readex-ar-400.woff2) format('woff2');font-weight:350 449;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F}
@font-face{font-family:'Readex AR';src:url(../fonts/readex-ar-500.woff2) format('woff2');font-weight:450 549;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F}
@font-face{font-family:'Readex AR';src:url(../fonts/readex-ar-600.woff2) format('woff2');font-weight:550 1000;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F}
@font-face{font-family:'VSH Digits AR';src:url(../fonts/digits-ar-200.woff2) format('woff2');font-weight:1 249;font-display:swap;unicode-range:U+0025,U+0030-0039,U+00B7}
@font-face{font-family:'VSH Digits AR';src:url(../fonts/digits-ar-300.woff2) format('woff2');font-weight:250 349;font-display:swap;unicode-range:U+0025,U+0030-0039,U+00B7}
@font-face{font-family:'VSH Digits AR';src:url(../fonts/digits-ar-400.woff2) format('woff2');font-weight:350 449;font-display:swap;unicode-range:U+0025,U+0030-0039,U+00B7}
@font-face{font-family:'VSH Digits AR';src:url(../fonts/digits-ar-500.woff2) format('woff2');font-weight:450 1000;font-display:swap;unicode-range:U+0025,U+0030-0039,U+00B7}

html.ar body,html.ar button,html.ar input,html.ar textarea,html.ar select{font-family:'VSH Digits AR','Raleway','Readex AR',system-ui,sans-serif}
html.ar .num,html.ar .box.big{font-family:'VSH Digits AR','Readex AR','Aileron',sans-serif}
html.ar *,html.ar *::before,html.ar *::after{letter-spacing:0!important}
html.ar .lbl,html.ar .lbl.s,html.ar .lbl.xs{font-size:11.5px;text-transform:none;font-weight:500}
html.ar h1,html.ar h2,html.ar .t-h1{letter-spacing:0;line-height:1.15!important}
html.ar .t-body,html.ar .t-small,html.ar p{line-height:1.7}
/* digits typed into fields read ٠–٩ too, but stay plain 0–9 in the data */
html.ar input,html.ar textarea{text-align:start}
html.ar input[inputmode=decimal],html.ar input[inputmode=numeric],html.ar input.num{direction:ltr;text-align:right}

/* ---------- mirrored rules */
html[dir=rtl] .stat+.stat{border-left:0;padding-left:0;border-right:1px solid var(--line);padding-right:12px}
html[dir=rtl] .inv .stat+.stat{border-right-color:var(--inv-line)}
html[dir=rtl] .stats-card .stat+.stat{padding-left:0;padding-right:14px}
html[dir=rtl] .bar>span{left:auto;right:0}
html[dir=rtl] .quote::before{left:auto;right:0}
html[dir=rtl] .seg-thumb{left:auto;right:3px}
html[dir=rtl] .switch::after{left:auto;right:3px}
html[dir=rtl] .prof-cam{right:auto;left:2px}
html[dir=rtl] .b4+.b4{border-left:0;border-right:1px solid var(--line)}
html[dir=rtl] .b4:nth-child(3){border-right:0}
html[dir=rtl] .field::after{transform-origin:right}
html[dir=rtl] .live-badge{right:auto;left:0}
html[dir=rtl] .tdot{right:auto;left:-6px}
html[dir=rtl] .dm-badge{right:auto;left:-3px}
html[dir=rtl] .compose-img .sq{right:auto;left:8px}
html[dir=rtl] .tab-lens{left:auto;right:6px}
html[dir=rtl] .lv-step i{left:auto;right:0;transform-origin:right}
html[dir=rtl] .pp-stats>div+div{border-left:0;border-right:1px solid var(--line)}
html[dir=rtl] select.uline{padding-right:0;padding-left:18px;background-position:7px 9px,2px 9px}
html[dir=rtl] .bubble.them{border-bottom-left-radius:20px;border-bottom-right-radius:20px}
html[dir=rtl] .bubble.me{border-bottom-right-radius:20px;border-bottom-left-radius:20px}
html[dir=rtl] .bubble.me:not(.last){border-bottom-right-radius:20px;border-bottom-left-radius:6px}
html[dir=rtl] .bubble.me:not(.first){border-top-right-radius:20px;border-top-left-radius:6px}
html[dir=rtl] .bubble.them:not(.last){border-bottom-left-radius:20px;border-bottom-right-radius:6px}
html[dir=rtl] .bubble.them:not(.first){border-top-left-radius:20px;border-top-right-radius:6px}
/* arrows and chevrons point the way you read */
html[dir=rtl] .ico.flip{transform:scaleX(-1)}
/* charts keep time running left to right, and their SVG labels keep their anchors */
html[dir=rtl] svg{direction:ltr}
/* growing bars and drawn hairlines start from the right */
html[dir=rtl] .grow{transform-origin:right}
html[dir=rtl] .switch.on::after{transform:translateX(-17px)}
.wl-lang{letter-spacing:.24em;padding:6px 10px;margin:-6px -10px;border-radius:999px;color:var(--ink)}
.wl-lang[lang=ar]{letter-spacing:0!important;font-family:'Readex AR',sans-serif;font-size:13px;text-transform:none}
/* What people write themselves (posts, comments, messages, notes, bios) keeps its own direction and its own digits:
   English stays left to right with 0–9, Arabic runs right to left with whatever digits were typed. */
html.ar .pre:not(.num),html.ar .ugc,html.ar .post-t,html.ar .prof-bio,html.ar .pp-bio,html.ar .goal-t,html.ar .msg-quote,html.ar textarea,html.ar input[type=text]:not([inputmode]):not(.num),html.ar input[type=search]{unicode-bidi:plaintext;text-align:start;font-family:'Raleway','Readex AR',system-ui,sans-serif}
html.ar bdi.ugc{text-align:inherit}
