/* ---------- accessibility: skip link, focus, screen-reader text, toolbar, user modes ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; z-index: 200; top: 10px; inset-inline-start: 10px; padding: 12px 20px; border-radius: 12px; background: #ffd43b; color: #1d0c36; font-weight: 700; transform: translateY(-160%); transition: transform .2s; }
.skip:focus { transform: none; }
:focus-visible { outline: 3px solid #ffd43b; outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { outline-offset: 4px; border-radius: 99px; }

.a11y-btn { position: fixed; z-index: 150; bottom: 16px; left: 16px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: #1d0c36; border: 2px solid #c9a8ff; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.a11y-btn svg { width: 28px; height: 28px; }
.a11y-panel { position: fixed; z-index: 151; bottom: 80px; left: 16px; width: min(300px, calc(100vw - 32px)); max-height: calc(100vh - 110px); overflow: auto; padding: 18px; border-radius: 18px;
  background: #140a24; border: 1px solid rgba(201,168,255,.4); box-shadow: 0 30px 60px rgba(0,0,0,.6); color: #fff; font-family: inherit; }
.a11y-panel[hidden] { display: none; }
.a11y-panel h2 { font-size: 1.1rem; font-weight: 700; margin: 0 0 12px; }
.a11y-panel .a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-panel button, .a11y-panel a { min-height: 48px; padding: 8px 10px; border-radius: 12px; font: inherit; font-size: .9rem; line-height: 1.25; text-align: center; cursor: pointer;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); color: #fff; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.a11y-panel button[aria-pressed="true"] { background: #ffd43b; color: #1d0c36; border-color: #ffd43b; font-weight: 700; }
.a11y-panel .a11y-wide { grid-column: 1 / -1; }

/* user modes */
html.a11y-t1 { font-size: 112.5%; } html.a11y-t2 { font-size: 125%; } html.a11y-t3 { font-size: 140%; }
html.a11y-contrast { --mute: #f1ebff; --dim: #e3d9ff; --violet-2: #eadcff; --line: rgba(255,255,255,.5); }
html.a11y-contrast body :is(p, li, small, figcaption, span, h3):not(.btn *):not(.btn) { color: #fff !important; -webkit-text-fill-color: #fff; text-shadow: none !important; }
html.a11y-contrast body :is(.red, .gold, .gold-shine, .red *, .gold *, .gold-shine *) { color: #ffd43b !important; -webkit-text-fill-color: #ffd43b; background: none !important; }
html.a11y-contrast img, html.a11y-contrast video { filter: none !important; }
html.a11y-links a:not(.btn):not(.skip) { text-decoration: underline !important; text-underline-offset: 4px; }
html.a11y-links .btn { outline: 3px solid #fff; outline-offset: 3px; }
html.a11y-font body, html.a11y-font body * { font-family: Arial, "Helvetica Neue", sans-serif !important; letter-spacing: 0 !important; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-still .words .w, html.a11y-still .fade-up, html.a11y-still .rv { opacity: 1 !important; transform: none !important; filter: none !important; }
html.a11y-still .marquee__track { transform: none !important; }
.foot a { color: #d9c4ff; text-decoration: underline; text-underline-offset: 3px; }
