/* Accessibility button/panel + cookie notice */
.a11y-toggle {
  position: fixed; z-index: 61; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: #1f6feb; color: #fff; border: 2px solid #fff; box-shadow: 0 6px 18px rgba(0,0,0,.45);
}
.a11y-toggle svg { width: 30px; height: 30px; fill: currentColor; }
.a11y-toggle:focus-visible, .a11y-panel button:focus-visible { outline: 3px solid #ffd3a6; outline-offset: 3px; }
.a11y-panel {
  position: fixed; z-index: 62; right: max(18px, env(safe-area-inset-right)); bottom: 86px; width: min(300px, calc(100vw - 36px));
  background: #151a22; color: #f8f7fa; border: 1px solid #4b586b; border-radius: 18px; padding: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.6); display: flex; flex-direction: column; gap: 10px; font: 400 17px/1.3 Discovery, Arial, sans-serif;
}
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; justify-content: space-between; align-items: center; font-size: 19px; }
.a11y-close { background: none; border: 0; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; width: 40px; height: 40px; }
.a11y-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-panel button[data-opt], .a11y-reset, .a11y-statement {
  min-height: 48px; border-radius: 12px; border: 1px solid #4b586b; background: #202631; color: #f8f7fa; cursor: pointer; font: inherit; font-size: 16px; padding: 6px 8px;
}
.a11y-panel button[aria-pressed="true"] { background: #ffaa50; color: #111214; border-color: #ffaa50; font-weight: 500; }
.a11y-statement { background: none; text-decoration: underline; }

/* applied preferences */
html.a11y-text body { zoom: 1.18; }
html.a11y-contrast body { filter: contrast(1.25); }
html.a11y-contrast p, html.a11y-contrast li, html.a11y-contrast dt, html.a11y-contrast .muted { color: #fff !important; }
html.a11y-links a:not(.button):not(.wa-float) { text-decoration: underline !important; text-underline-offset: 3px; outline: 2px dashed #ffaa50; outline-offset: 2px; }
html.a11y-font body, html.a11y-font h1, html.a11y-font h2, html.a11y-font h3, html.a11y-font em { font-family: Arial, 'Segoe UI', sans-serif !important; letter-spacing: .01em; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-motion .lw-overlay, html.a11y-motion .hero-video { display: none !important; }

/* cookie notice */
.cookie-notice {
  position: fixed; z-index: 59; left: 50%; transform: translateX(-50%); bottom: 18px; width: min(760px, calc(100vw - 32px));
  display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 14px 18px; border-radius: 16px;
  background: #151a22; border: 1px solid #4b586b; box-shadow: 0 12px 40px rgba(0,0,0,.6);
}
.cookie-notice p { font-size: 16px; color: #e8e8ec; margin: 0; }
.cookie-notice .cookie-more { background: none; border: 0; color: #ffaa50; text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
.cookie-notice .cookie-ok { min-height: 44px; padding: 8px 22px; font-size: 17px; width: auto; flex: none; }
@media (max-width: 760px) {
  .a11y-toggle { width: 50px; height: 50px; right: 14px; bottom: 14px; }
  .a11y-panel { bottom: 74px; right: 14px; }
  .cookie-notice { flex-direction: column; align-items: stretch; bottom: 76px; }
  .cookie-notice .cookie-ok { width: 100%; }
}
