.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10000;
  padding: 0.75rem 1rem;
  border: 2px solid currentColor;
  border-radius: 0.45rem;
  background: #ffffff;
  color: #17202a;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.se-a11y-tools {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.se-a11y-toggle {
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 0.55rem;
  background: #ffc400;
  color: #121512;
  box-shadow: 0 0.65rem 2rem rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.se-a11y-toggle:hover {
  background: #ffd02f;
  transform: translateY(-2px);
}

.se-a11y-toggle svg {
  width: 2rem;
  height: 2rem;
  fill: currentColor;
}

.se-a11y-toggle i {
  font-size: 2rem;
  line-height: 1;
}

.se-a11y-panel {
  width: min(20rem, calc(100vw - 2rem));
  margin-bottom: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.55rem;
  background: #1b1e1a;
  color: #ffffff;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.35);
}

[dir="rtl"] .se-a11y-tools {
  right: auto;
  left: 1rem;
  align-items: flex-start;
}

.se-a11y-panel[hidden] {
  display: none;
}

.se-a11y-panel h2 {
  margin: 0 0 0.8rem;
  color: #ffe09a;
  font-size: 1.12rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.se-a11y-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.se-a11y-action,
.se-a11y-reset {
  min-height: 2.9rem;
  padding: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.se-a11y-action[aria-pressed="true"] {
  border-color: #ffe09a;
  background: #ffe09a;
  color: #17202a;
}

.se-a11y-reset,
.se-a11y-statement {
  width: 100%;
  display: block;
  margin-top: 0.55rem;
  text-align: center;
}

.se-a11y-statement {
  padding: 0.55rem;
  color: #ffe09a;
  font-weight: 750;
  text-decoration: underline;
}

html.se-a11y-text {
  font-size: 112.5%;
}

html.se-a11y-contrast body {
  filter: contrast(1.35);
}

html.se-a11y-links a {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 0.2em !important;
}

html.se-a11y-motion *,
html.se-a11y-motion *::before,
html.se-a11y-motion *::after {
  animation: none !important;
  scroll-behavior: auto !important;
  transition: none !important;
}

@media (max-width: 480px) {
  .se-a11y-tools {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .se-a11y-toggle {
    width: 3.2rem;
    height: 3.2rem;
  }

  [dir="rtl"] .se-a11y-tools {
    left: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
