/* Jee Club — base, shell, components. Logical properties throughout (RTL first). */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; background: var(--paper); color: var(--ink);
  font: 400 var(--fs-body)/1.75 var(--f-ui); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  /* laid paper: faint chain lines + fibre noise */
  background-image:
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(42, 15, 22, .022) 31px 32px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .16 0 0 0 0 .06 0 0 0 0 .08 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 3px; border-radius: var(--r-xs); }
.night :focus-visible, .mc :focus-visible { outline-color: var(--leaf-hi); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums lining-nums; unicode-bidi: isolate; }
bdi[dir="ltr"] { unicode-bidi: isolate; }
.latin { font-family: var(--f-latin); letter-spacing: .02em; }
.skip { position: absolute; inset-inline-start: var(--s4); top: -60px; z-index: 100; padding: var(--s2) var(--s4); background: var(--ink); color: var(--paper); border-radius: var(--r-s); }
.skip:focus { top: var(--s3); }
[dir="ltr"] .ico-flip svg { transform: scaleX(-1); }

/* avatars */
.avatar { display: inline-block; flex: none; border-radius: 50%; overflow: hidden; }
.avatar svg { width: 100%; height: 100%; }

/* ───────── shell ───────── */
.app { min-height: 100dvh; display: flex; flex-direction: column; }
.bar {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: var(--s3);
  padding: var(--s3) var(--gutter); min-height: 60px;
  background: color-mix(in srgb, var(--paper) 92%, transparent); border-bottom: 1px solid transparent;
  transition: border-color var(--d-state);
}
.bar.is-scrolled { border-bottom-color: var(--line); }
@supports (backdrop-filter: blur(1px)) { .bar { backdrop-filter: saturate(1.2) blur(10px); } }
.bar__brand { display: inline-flex; align-items: center; gap: var(--s2); text-decoration: none; color: var(--oxblood); min-height: 44px; }
.bar__seal { width: 26px; height: 26px; }
.bar__word { font: 600 13px/1 var(--f-latin); letter-spacing: .34em; padding-top: 2px; }
.bar__back { display: none; }
.bar__spacer { flex: 1; }
.bar__me { width: 40px; height: 40px; border-radius: 50%; padding: 0; border: 0; background: none; box-shadow: 0 0 0 1px var(--line-2); overflow: hidden; }
.bar__me svg { width: 100%; height: 100%; }
.topnav { display: none; }

.main { flex: 1; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: var(--s2) var(--gutter) calc(var(--nav-h) + var(--s7) + env(safe-area-inset-bottom)); outline: none; }

.tabbar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--nav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: var(--sheet); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -24px rgba(42, 15, 22, .5);
}
.tab { position: relative; display: grid; justify-items: center; align-content: center; gap: 3px; text-decoration: none; color: var(--ink-3); font-size: 11.5px; font-weight: 500; line-height: 1.2; }
.tab svg { width: 24px; height: 24px; }
.tab[aria-current="page"] { color: var(--oxblood); }
.tab[aria-current="page"]::before { content: ""; position: absolute; top: 0; inset-inline: 30%; height: 2px; background: var(--oxblood); border-radius: 0 0 2px 2px; }
@media (min-width: 900px) {
  .tabbar { display: none; }
  .topnav { display: flex; gap: var(--s1); margin-inline-start: var(--s6); }
  .topnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s3); text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: var(--fs-sm); border-radius: var(--r-s); }
  .topnav a:hover { color: var(--ink); background: rgba(42, 15, 22, .04); }
  .topnav a[aria-current="page"] { color: var(--oxblood); box-shadow: inset 0 -2px 0 var(--oxblood); border-radius: 0; }
  .main { padding-top: var(--s5); padding-bottom: var(--s8); }
}

/* ───────── type + section furniture ───────── */
.eyebrow { font: 600 11px/1 var(--f-latin); letter-spacing: .32em; color: var(--gold-ink); }
.h1 { font: 700 var(--fs-h1)/1.2 var(--f-display); letter-spacing: 0; }
.h2 { font: 700 var(--fs-h2)/1.25 var(--f-display); }
.h3 { font: 700 var(--fs-h3)/1.3 var(--f-display); }
.lead { color: var(--ink-2); font-size: var(--fs-sm); max-width: 56ch; }
.meta { color: var(--ink-3); font-size: var(--fs-meta); }
.pagehead { display: grid; gap: var(--s2); padding: var(--s4) 0 var(--s5); }
.pagehead .lead { margin-top: var(--s1); }

.folio { display: flex; align-items: baseline; gap: var(--s3); margin: 0 0 var(--s4); }
.folio__n { font: 600 12px/1 var(--f-latin); color: var(--gold-ink); letter-spacing: .1em; min-width: 2ch; }
.folio__t { font: 700 var(--fs-h3)/1.3 var(--f-display); }
.folio__rule { flex: 1; height: 1px; background: var(--line-2); align-self: center; }
.folio__link { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; color: var(--oxblood); font-size: var(--fs-meta); font-weight: 600; text-decoration: none; white-space: nowrap; }
.folio__link svg { width: 16px; height: 16px; }
.folio__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.section { margin-top: var(--s7); }

/* ───────── buttons, chips, inputs ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 48px; padding: 0 var(--s5);
  border-radius: var(--r-s); border: 1px solid var(--line-2); background: transparent; color: var(--ink); font-weight: 600; font-size: var(--fs-sm);
  text-decoration: none; transition: background var(--d-state), border-color var(--d-state), transform var(--d-press) var(--ease-press), color var(--d-state);
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { border-color: var(--ink-2); }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--oxblood); border-color: var(--oxblood); color: var(--sheet); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 8px 18px -12px rgba(94, 20, 36, .9); }
.btn--primary:hover { background: var(--oxblood-2); border-color: var(--oxblood-2); }
.btn--leaf { background: var(--leaf-hi); border-color: var(--leaf); color: var(--oxblood-3); }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 0 var(--s4); font-size: var(--fs-meta); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn.is-busy { cursor: progress; opacity: .8; }
.night .btn { color: var(--night-ink); border-color: var(--night-line); }
.night .btn:hover { border-color: var(--night-muted); }
.linkbtn { background: none; border: 0; padding: 0; min-height: 44px; color: var(--oxblood); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

.field { display: grid; gap: var(--s2); }
.field__label { font-weight: 600; font-size: var(--fs-sm); }
.field__hint { color: var(--ink-3); font-size: var(--fs-meta); }
.field__err { color: var(--err); font-size: var(--fs-meta); font-weight: 500; min-height: 1em; }
.input, .select {
  width: 100%; min-height: 48px; padding: 0 var(--s4); border-radius: var(--r-s); border: 1px solid var(--line-2); background: var(--sheet);
  transition: border-color var(--d-state), box-shadow var(--d-state);
}
.input:focus, .select:focus { outline: none; border-color: var(--oxblood); box-shadow: 0 0 0 3px rgba(94, 20, 36, .14); }
.input[aria-invalid="true"] { border-color: var(--err); }
.select { appearance: none; padding-inline-end: var(--s6);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B3A40' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 18px; background-position: left 12px center; }
[dir="ltr"] .select { background-position: right 12px center; }

/* membership card: styles/card.css (v2) */

/* ───────── dashboard ───────── */
.dash { display: grid; gap: 0; }
.greet { padding: var(--s3) 0 var(--s5); }
.dateline { display: flex; align-items: center; gap: var(--s3); font-size: var(--fs-meta); color: var(--gold-ink); font-weight: 500; margin-bottom: var(--s2); }
.dateline::after { content: ""; flex: 1; max-width: 96px; height: 1px; background: linear-gradient(90deg, transparent, var(--leaf)); }
[dir="rtl"] .dateline::after { background: linear-gradient(270deg, transparent, var(--leaf)); }

.ledger { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: var(--s2) var(--s4); padding: var(--s6) 0 var(--s4); border-bottom: 1px solid var(--line-2); }
.ledger__label { grid-column: 1 / -1; font-size: var(--fs-meta); color: var(--ink-3); font-weight: 500; letter-spacing: .02em; }
.ledger__value { display: flex; align-items: baseline; gap: var(--s2); }
.ledger__num { font: 600 var(--fs-num)/.95 var(--f-latin); letter-spacing: -.01em; color: var(--ink); }
.ledger__unit { font: 700 var(--fs-lead)/1 var(--f-display); color: var(--ink-2); }
.ledger__aside { text-align: end; display: grid; gap: 2px; padding-bottom: 6px; }
.ledger__aside b { font: 600 var(--fs-lead)/1.1 var(--f-latin); }
.ledger__aside span { font-size: var(--fs-cap); color: var(--ink-3); }
.ledger.is-deficit .ledger__num { color: var(--err); }

.note { display: grid; grid-template-columns: auto 1fr; gap: var(--s1) var(--s3); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.note__ico { grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--oxblood); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.note__ico svg { width: 20px; height: 20px; }
.note__t { font-weight: 600; }
.note__b { color: var(--ink-2); font-size: var(--fs-sm); }
.note--err .note__ico { color: var(--err); background: var(--err-bg); }
.note--err .note__t { color: var(--err); }

.rail { margin-top: var(--s5); }
.rail__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); margin-bottom: var(--s3); }
.rail__t { font: 700 var(--fs-lead)/1.4 var(--f-display); }
.rail__track { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding-top: 22px; }
.rail__seg { position: relative; height: 6px; border-radius: 3px; background: var(--paper-3); overflow: hidden; }
.rail__fill { position: absolute; inset-block: 0; inset-inline-start: 0; width: calc(var(--p, 0) * 1%); background: var(--oxblood); border-radius: inherit; transform-origin: right; }
[dir="ltr"] .rail__fill { transform-origin: left; }
.rail__stops { position: absolute; inset-inline: 0; top: 0; height: 22px; }
.rail__stop { position: absolute; top: 0; inset-inline-start: calc(var(--at) * 1%); transform: translateX(50%); font-size: 11.5px; color: var(--ink-3); font-weight: 500; line-height: 1; white-space: nowrap; }
[dir="ltr"] .rail__stop { transform: translateX(-50%); }
.rail__stop:first-child { transform: none; }
.rail__stop:last-child { inset-inline-start: auto; inset-inline-end: 0; transform: none; }
.rail__stop.is-on { color: var(--oxblood); font-weight: 700; }
.rail__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2) var(--s4); margin-top: var(--s3); font-size: var(--fs-sm); color: var(--ink-2); }
.rail__foot b { color: var(--ink); font-weight: 600; }

/* reward preview: a ruled list, cost in the margin */
.plates { list-style: none; margin: 0; padding: 0; display: grid; }
.plate { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.plate:first-child { border-top: 1px solid var(--line); }
.plate__art { width: 48px; height: 48px; color: var(--oxblood); }
.plate__t { font-weight: 600; line-height: 1.45; }
.plate__s { font-size: var(--fs-meta); color: var(--ink-3); }
.plate__s.is-ok { color: var(--ok); font-weight: 600; }
.plate__cost { text-align: end; font: 600 var(--fs-body)/1.2 var(--f-latin); color: var(--ink); white-space: nowrap; }
.plate__cost small { display: block; font: 500 11.5px/1.4 var(--f-ui); color: var(--ink-3); }
.plate__meter { grid-column: 2 / -1; height: 2px; background: var(--paper-3); border-radius: 1px; overflow: hidden; margin-top: -4px; }
.plate__meter i { display: block; height: 100%; width: calc(var(--p) * 1%); background: var(--leaf-lo); }
a.plate:hover .plate__t { text-decoration: underline; text-underline-offset: 4px; }

/* the night room */
.night { background: var(--night); color: var(--night-ink); border-radius: var(--r-m); position: relative; overflow: hidden; isolation: isolate; }
.night::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 90% at 50% -20%, rgba(201, 169, 106, .2), transparent 60%), radial-gradient(60% 50% at 100% 100%, rgba(122, 31, 51, .45), transparent 70%); }
.night .meta, .night .lead { color: var(--night-muted); }
.night .eyebrow { color: var(--leaf); }
.lpanel { padding: var(--s5); display: grid; gap: var(--s4); }
.lpanel__row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4); }
.lpanel__rank { display: flex; align-items: baseline; gap: var(--s2); }
.lpanel__hash { font: 600 22px/1 var(--f-latin); color: var(--leaf); }
.lpanel__n { font: 600 56px/.9 var(--f-latin); color: var(--leaf-hi); }
.lpanel__score { text-align: end; display: grid; gap: 2px; }
.lpanel__score b { font: 600 22px/1 var(--f-latin); }
.lpanel__score span { font-size: var(--fs-cap); color: var(--night-muted); }
.lpanel__none { color: var(--night-muted); font-size: var(--fs-sm); max-width: 36ch; }
.lpanel__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; padding-top: var(--s4); border-top: 1px solid var(--night-line); }
.lpanel__foot .meta { font-size: var(--fs-cap); }

.countdown { display: inline-flex; gap: var(--s3); }
.countdown__u { display: grid; justify-items: center; min-width: 2.4ch; }
.countdown__u b { font: 600 20px/1 var(--f-latin); font-variant-numeric: tabular-nums; }
.countdown__u span { font: 500 10.5px/1.6 var(--f-ui); color: var(--night-muted); }
.countdown--lg .countdown__u b { font-size: 34px; }
.countdown--lg { gap: var(--s5); }

/* referral stub */
.stub { display: grid; gap: var(--s4); padding: var(--s5); background: var(--sheet); border-radius: var(--r-m); box-shadow: var(--e1); position: relative; }
.stub::before { content: ""; position: absolute; inset-inline: var(--s5); top: 0; height: 3px; background: linear-gradient(90deg, var(--leaf) 50%, transparent 0) 0 0 / 8px 3px repeat-x; opacity: .7; }
.stub__code { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s3) var(--s3) var(--s3) var(--s4); border: 1px dashed var(--leaf-lo); border-radius: var(--r-s); background: var(--paper); }
[dir="rtl"] .stub__code { padding: var(--s3) var(--s4) var(--s3) var(--s3); }
.stub__val { font: 600 20px/1 var(--f-latin); letter-spacing: .12em; color: var(--oxblood); }
.stub__pitch { color: var(--ink-2); font-size: var(--fs-sm); }
.copybtn { min-width: 108px; }
.copybtn.is-done { background: var(--ok); border-color: var(--ok); color: #fff; }

/* history lines */
.lines { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 2px var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.line__t { font-weight: 500; font-size: var(--fs-sm); }
.line__m { grid-column: 1; font-size: var(--fs-cap); color: var(--ink-3); }
.line__v { grid-row: 1 / span 2; grid-column: 2; align-self: center; font: 600 var(--fs-body)/1 var(--f-latin); color: var(--ok); }
.line__v.is-neg { color: var(--err); }
.line__v.is-zero { color: var(--ink-3); }
.line__v small { display: block; text-align: end; font: 500 11px/1.6 var(--f-ui); color: var(--ink-3); }

/* empty, error, skeleton */
.empty { display: grid; justify-items: center; text-align: center; gap: var(--s3); padding: var(--s7) var(--s4); color: var(--ink-2); }
.empty__art { width: 96px; color: var(--leaf-lo); opacity: .8; }
.empty__t { font: 700 var(--fs-h3)/1.3 var(--f-display); color: var(--ink); }
.empty__b { max-width: 36ch; font-size: var(--fs-sm); }
.errorbox { display: grid; justify-items: center; text-align: center; gap: var(--s3); padding: var(--s8) var(--s4); }
.errorbox__t { font: 700 var(--fs-h3)/1.3 var(--f-display); }
.errorbox__b { color: var(--ink-2); font-size: var(--fs-sm); max-width: 34ch; }
.errorbox__code { font: 500 11px/1 var(--f-latin); letter-spacing: .2em; color: var(--ink-3); }
.sk { position: relative; overflow: hidden; background: var(--paper-2); border-radius: var(--r-s); }
.sk::after { content: ""; position: absolute; inset: 0; transform: translateX(100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); animation: sk 1.4s var(--ease-ink) infinite; }
@keyframes sk { to { transform: translateX(-100%); } }
.sk--card { aspect-ratio: 1.586; max-width: 440px; width: 100%; margin-inline: auto; border-radius: var(--r-card); }
.sk--num { height: 56px; width: 60%; margin-top: var(--s6); }
.sk--line { height: 14px; margin-top: var(--s3); }
.sk--line.w60 { width: 60%; } .sk--line.w40 { width: 40%; }
.loading-note { text-align: center; color: var(--ink-3); font-size: var(--fs-meta); margin-top: var(--s5); }

/* toast */
.toast { position: fixed; inset-inline: var(--gutter); bottom: calc(var(--nav-h) + var(--s4) + env(safe-area-inset-bottom)); z-index: 90; margin: 0 auto; max-width: 420px; display: flex; align-items: center; gap: var(--s3);
  padding: var(--s3) var(--s4); border-radius: var(--r-s); background: var(--ink); color: var(--paper); font-weight: 500; font-size: var(--fs-sm); box-shadow: 0 14px 30px -12px rgba(20, 6, 10, .6);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity var(--d-state), transform var(--d-state) var(--ease-settle); }
.toast svg { width: 20px; height: 20px; color: var(--leaf-hi); flex: none; }
.toast.is-on { opacity: 1; transform: none; }
.toast--err { background: var(--err); }
@media (min-width: 900px) { .toast { bottom: var(--s6); } }

/* sheet: bottom sheet on phones, panel on desktop */
.sheet { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; padding: 0; border: 0; border-radius: var(--r-m) var(--r-m) 0 0; background: var(--sheet); color: var(--ink); box-shadow: var(--e3); overflow: auto; overscroll-behavior: contain; }
.sheet::backdrop { background: rgba(23, 10, 14, .55); }
.sheet__grip { width: 40px; height: 4px; border-radius: 2px; background: var(--line-2); margin: 10px auto 0; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s3) var(--gutter) 0; }
.sheet__t { font: 700 var(--fs-h3)/1.3 var(--f-display); }
.sheet__x { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 0; background: var(--paper-2); }
.sheet__x svg { width: 20px; height: 20px; }
.sheet__body { padding: var(--s4) var(--gutter) calc(var(--s6) + env(safe-area-inset-bottom)); display: grid; gap: var(--s4); }
.sheet__actions { display: grid; gap: var(--s2); margin-top: var(--s2); }
@media (min-width: 768px) {
  .sheet { max-width: 520px; margin: auto; border-radius: var(--r-m); max-height: 86vh; }
  .sheet__grip { display: none; }
  .sheet__head { padding: var(--s5) var(--s6) 0; }
  .sheet__body { padding: var(--s4) var(--s6) var(--s6); }
  .sheet__actions { grid-template-columns: 1fr 1fr; }
}

/* reveal on route */
.view { animation: none; }

@media (min-width: 900px) {
  .dash { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); column-gap: var(--s8); align-items: start; }
  .dash__a { position: sticky; top: 84px; }
  .dash__b > .section:first-child { margin-top: 0; }
  .greet { grid-column: 1 / -1; padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .sk::after { display: none; }
}

/* Language selector in top bar */
.bar__lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(94, 20, 36, 0.15);
  margin-inline-end: 0.5rem;
}
.bar__lang-btn {
  background: none;
  border: none;
  padding: 0.15rem 0.35rem;
  cursor: pointer;
  color: var(--color-ink-muted, #7a5c61);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.15s ease;
}
.bar__lang-btn:hover {
  color: var(--color-ink, #2a0b12);
}
.bar__lang-btn.is-active {
  color: var(--color-ink, #2a0b12);
  font-weight: 700;
  background: rgba(94, 20, 36, 0.1);
}
.bar__lang-sep {
  opacity: 0.35;
  font-size: 0.65rem;
  user-select: none;
}

/* LTR typography adjustments when English or Spanish is active */
html[dir="ltr"] body {
  font-family: 'Cinzel', 'Cormorant Garamond', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
html[dir="ltr"] .bar__word {
  letter-spacing: 0.08em;
}

