/* DEMO ONLY – design + colour switcher (see demo.js). */
.demo-bar {
  position: fixed; left: 16px; bottom: 16px; z-index: 90;
  display: flex; align-items: center; gap: 6px; padding: 7px 10px 7px 14px; border-radius: 999px;
  background: rgba(8, 24, 42, .95); color: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
  font: 700 .76rem/1 system-ui, -apple-system, "Segoe UI", sans-serif;
}
.demo-bar[hidden] { display: none; }
.demo-bar__label { opacity: .65; letter-spacing: .06em; text-transform: uppercase; margin-right: 2px; }
.demo-bar__sep { width: 1px; height: 22px; background: rgba(255, 255, 255, .25); margin: 0 6px; }
.demo-bar__d, .demo-bar__all {
  min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center;
  color: #fff; text-decoration: none; border: 2px solid rgba(255, 255, 255, .3); font-size: .85rem;
}
.demo-bar__d:hover, .demo-bar__all:hover { background: rgba(255, 255, 255, .15); }
.demo-bar__d[aria-current="page"] { background: #fff; color: #08182a; border-color: #fff; }
.demo-bar__all { border-color: transparent; opacity: .75; }
.demo-bar button { width: 30px; height: 30px; padding: 0; border-radius: 50%; border: 2px solid transparent; background: none; cursor: pointer; display: grid; place-items: center; }
.demo-bar button i { width: 22px; height: 22px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.demo-bar button[aria-pressed="true"] { border-color: #fff; }
.demo-bar__name { min-width: 64px; }
.demo-bar .demo-bar__hide { width: 26px; height: 26px; color: #fff; font-size: 1.2rem; opacity: .7; }
.demo-bar :focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 960px) { .demo-bar { bottom: 92px; left: 8px; right: auto; max-width: calc(100% - 16px); } }
@media (max-width: 640px) { .demo-bar__label, .demo-bar__name, .demo-bar__all { display: none; } .demo-bar { gap: 4px; padding: 6px 8px; } .demo-bar__sep { margin: 0 3px; } }
