/* ============================================================
   Shared design switcher — a neutral utility bar that sits
   above every design so it reads as a tool, not part of the art.
   ============================================================ */
:root { --ds-h: 48px; }

.ds-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--ds-h);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 14px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #cdd6e0;
  background: rgba(12, 16, 22, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  scrollbar-width: none;
}
.ds-bar::-webkit-scrollbar { display: none; }

.ds-bar__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #8b97a6;
  padding-right: 10px;
  margin-right: 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.ds-bar__pulse {
  width: 16px; height: 16px;
  color: #34d3c4;
  flex: 0 0 auto;
}

.ds-bar a {
  text-decoration: none;
  color: #cdd6e0;
  white-space: nowrap;
  padding: 6px 11px;
  border-radius: 7px;
  transition: background 0.18s ease, color 0.18s ease;
}
.ds-bar a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.ds-bar a[aria-current="page"] {
  background: #34d3c4;
  color: #06231f;
  font-weight: 600;
}
.ds-bar a .ds-num { opacity: 0.55; margin-right: 6px; }
.ds-bar a[aria-current="page"] .ds-num { opacity: 0.7; }

.ds-bar__spacer { flex: 1 1 auto; }
.ds-bar__home {
  color: #8b97a6 !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Every design body gets pushed below the bar */
body { padding-top: var(--ds-h); }

@media (max-width: 720px) {
  .ds-bar__brand span { display: none; }
}
