/* Спільне для всіх демосайтів: позначка «Демо» і кнопка «До портфоліо». Решта стилів — у кожного сайту своя. */
.demo-bar {
  position: fixed;
  left: 12px;
  bottom: var(--demo-offset, 12px);
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(17, 17, 17, .88);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .25);
  font: 500 13px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.demo-bar a,
.demo-bar span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.demo-bar a { background: #fff; color: #111; font-weight: 600; }
.demo-bar a:hover { background: #e9e9e9; }
.demo-bar a:focus-visible { outline: 3px solid #4da3ff; outline-offset: 2px; }
.demo-bar span { color: #f1f1f1; }

.demo-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px dashed currentColor;
  font-size: .92em;
  line-height: 1.5;
}
.demo-note[hidden] { display: none; }

.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-link {
  position: absolute; left: 12px; top: -60px; z-index: 9100;
  padding: 10px 14px; border-radius: 8px;
  background: #111; color: #fff; font: 600 14px system-ui, sans-serif; text-decoration: none;
}
.skip-link:focus { top: 12px; }

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