/* Accessibility toolbar + skip link (shared by all pages) */
.skip{position:fixed;top:-80px;right:12px;z-index:10000;background:#f3d98b;color:#1a1405;padding:12px 18px;border-radius:0 0 12px 12px;font-weight:800;text-decoration:none;transition:top .15s}
.skip:focus{top:0}

.a11y-btn{position:fixed;left:12px;bottom:104px;z-index:9990;width:50px;height:50px;border-radius:50%;border:2px solid #f3d98b;background:#0a0a0c;color:#f3d98b;display:grid;place-items:center;cursor:pointer;box-shadow:0 6px 22px rgba(0,0,0,.6);padding:0}
.a11y-btn svg{width:30px;height:30px}
.a11y-btn:focus-visible,.a11y-panel button:focus-visible,.a11y-panel a:focus-visible{outline:3px solid #fff;outline-offset:2px}
.a11y-panel{position:fixed;left:12px;bottom:164px;z-index:9991;width:min(330px,calc(100vw - 24px));max-height:calc(100vh - 190px);overflow:auto;background:#101015;color:#efe9d9;border:2px solid #f3d98b;border-radius:18px;padding:14px;box-shadow:0 16px 50px rgba(0,0,0,.7);font-family:inherit;direction:rtl;text-align:right}
.a11y-panel[hidden]{display:none}
.a11y-panel h2{margin:0 0 10px;font-size:19px;color:#f3d98b;font-weight:800;display:flex;justify-content:space-between;align-items:center;gap:8px;line-height:1.2;text-align:right}
.a11y-x{width:40px;height:40px;border-radius:50%;border:1.5px solid #f3d98b;background:none;color:#f3d98b;font-size:24px;line-height:1;cursor:pointer}
.a11y-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.a11y-panel button.opt{min-height:48px;padding:8px 10px;border-radius:12px;border:1.5px solid rgba(243,217,139,.5);background:#17171e;color:#efe9d9;font:inherit;font-size:15px;font-weight:600;cursor:pointer;text-align:center;line-height:1.2}
.a11y-panel button.opt[aria-pressed="true"]{background:#f3d98b;color:#1a1405;border-color:#f3d98b}
.a11y-panel .row2{grid-column:1/-1}
.a11y-links{display:grid;gap:6px;margin-top:10px;font-size:15px}
.a11y-links a{color:#f3d98b}
.a11y-panel .reset{margin-top:10px;width:100%}

/* ---- modes ---- */
html.a11y-t1 main,html.a11y-t1 footer{zoom:1.15}
html.a11y-t2 main,html.a11y-t2 footer{zoom:1.3}
html.a11y-t3 main,html.a11y-t3 footer{zoom:1.5}
html.a11y-gray{filter:grayscale(1)}
html.a11y-underline a{text-decoration:underline!important;text-underline-offset:3px}
html.a11y-links a{outline:2px solid #ffeb3b!important;outline-offset:2px;background:rgba(255,235,59,.18)!important}
html.a11y-font body,html.a11y-font body *{font-family:Arial,Helvetica,sans-serif!important;letter-spacing:.02em!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 .rv{opacity:1!important;transform:none!important}
html.a11y-still .sp{display:none!important}
html.a11y-contrast body,html.a11y-contrast section,html.a11y-contrast main,html.a11y-contrast footer,html.a11y-contrast div,html.a11y-contrast article,html.a11y-contrast li,html.a11y-contrast details,html.a11y-contrast ol,html.a11y-contrast ul,html.a11y-contrast p,html.a11y-contrast h1,html.a11y-contrast h2,html.a11y-contrast h3,html.a11y-contrast span,html.a11y-contrast figure{background-color:#000!important;background-image:none!important;color:#fff!important;text-shadow:none!important;box-shadow:none!important;-webkit-text-fill-color:#fff!important;border-color:#fff!important}
html.a11y-contrast a:not(.btn){color:#ffeb3b!important;-webkit-text-fill-color:#ffeb3b!important}
html.a11y-contrast .btn,html.a11y-contrast .btn *{background:#ffeb3b!important;color:#000!important;-webkit-text-fill-color:#000!important;border:2px solid #fff!important}
html.a11y-contrast em,html.a11y-contrast b,html.a11y-contrast strong{color:#ffeb3b!important;-webkit-text-fill-color:#ffeb3b!important}
html.a11y-contrast .rays,html.a11y-contrast .sp,html.a11y-contrast .rewrite::before,html.a11y-contrast .eq::before,html.a11y-contrast .eq::after{display:none!important}
html.a11y-contrast .a11y-panel,html.a11y-contrast .a11y-panel *{background:#000!important}
html.a11y-contrast .a11y-panel button.opt[aria-pressed="true"]{background:#ffeb3b!important;color:#000!important}
