/* Shared base for all three options. Logical properties throughout (RTL first). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, canvas { display: block; max-inline-size: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sr-only { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.line { display: block; overflow: hidden; padding-block-end: .08em; padding-inline: .12em; margin-inline: -.12em; }
.line > span { display: block; }
.ch { display: inline-block; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
html.lenis, html.lenis body { block-size: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* placeholder / to-confirm marker */
.tbc { font-size: .72em; opacity: .55; letter-spacing: .02em; }
.ph { outline: 1px dashed currentColor; outline-offset: 2px; opacity: .8; }

/* option switcher, shown on every option */
.opt-switch { position: fixed; inset-block-end: 16px; inset-inline-start: 50%; transform: translateX(50%); z-index: 9999;
  display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(10,10,12,.78); backdrop-filter: blur(10px);
  font: 500 12px/1 system-ui, sans-serif; color: #fff; box-shadow: 0 6px 30px rgba(0,0,0,.35); }
.opt-switch a { padding: 9px 14px; border-radius: 999px; white-space: nowrap; }
.opt-switch a[aria-current] { background: #fff; color: #111; }
@media (max-width: 760px) { .opt-switch { inset-block-end: 10px; font-size: 11px; } .opt-switch a { padding: 8px 10px; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
