/* he.html — the site in Hebrew, right to left. The skull chapters were Hebrew-first (site.css) and the regular site is
   laid out with logical properties (calm/calm.css), so it mirrors by itself; what is left here are the system's cards,
   drawn in English with a direction of their own (calm/cards.css), and the cinema (film.css). The Zero Lab lock-up and
   the workspace window keep their own direction. */

/* the case folder: its spine on the right, the tab and the delivery sheet mirrored, the route arrow pointing left */
html[dir=rtl] .c6-card{border-radius:1.3em .9em 1.4em 1.4em}
html[dir=rtl] .c6-spine{border-radius:0 .9em 1.4em 0;box-shadow:inset 1px 0 0 var(--zl-case-line),inset -1px 1px 0 var(--s-glass-2)}
html[dir=rtl] .c6-sheet{right:auto;left:1.5em;width:auto;min-width:10.6em;border-radius:.75em .45em .75em .75em;transform:rotate(-3deg)}   /* the Hebrew date is longer */
html[dir=rtl] .c6-arrow{background:linear-gradient(270deg,transparent,var(--zl-case-muted))}
html[dir=rtl] .c6-arrow::after{right:auto;left:0;border-right:0;border-left:1px solid var(--zl-case-muted);transform:rotate(-45deg)}

/* the stage bar fills from the right, its glint at the leading (left) edge */
html[dir=rtl] .c6-fill{background:linear-gradient(270deg,var(--zl-brand-emerald),color-mix(in srgb,var(--zl-brand-emerald) 70%,var(--zl-zero-1)));transform-origin:100% 50%}
html[dir=rtl] .c6-glint::after{left:auto;right:0;transform:translate(50%,-50%)}

/* money: the line and the clinics' bars grow from the right; the total keeps "₪8,870" as the app writes it */
html[dir=rtl] .c8-line{background:linear-gradient(270deg,var(--zl-brand-emerald),color-mix(in srgb,var(--zl-brand-emerald) 45%,transparent) 70%,transparent);transform-origin:100% 50%}
html[dir=rtl] .c8-bar i{transform-origin:100% 50%}
html[dir=rtl] .c8-figure{direction:ltr;justify-content:flex-end}

/* the cinema's close button top left */
html[dir=rtl] .film-close{right:auto;left:24px}
@media(max-width:650px){html[dir=rtl] .film-close{right:auto;left:14px}}

/* Hebrew type: no capitals to space out, so the small labels lose their wide tracking, and big headings take less
   negative tracking than Latin (Heebo's letters already sit close). */
html[lang=he] .calm h2,html[lang=he] .calm h3{letter-spacing:-.012em}
html[lang=he] .calm-eyebrow,html[lang=he] .calm-legend small,html[lang=he] .c6-eyebrow,html[lang=he] .c6-route small,html[lang=he] .c6-stage small,html[lang=he] .c6-sheet small,html[lang=he] .c6-tag,html[lang=he] .c7-chip small,html[lang=he] .c8-label,html[lang=he] .c8-head{letter-spacing:.01em}
html[lang=he] .c6-eyebrow,html[lang=he] .c6-route small,html[lang=he] .c6-stage small,html[lang=he] .c6-sheet small,html[lang=he] .c6-tag,html[lang=he] .c7-chip small,html[lang=he] .c8-label,html[lang=he] .c8-head,html[lang=he] .c8-sum small{font-size:max(11px,.8em)}   /* Hebrew letters read smaller than Latin capitals at the same size */
