/*
  Daily Pieces — redesign preview dock
  ------------------------------------
  Floating switcher injected by design-dock.js on every page while
  the redesign mockups are under review. Constant dark-glass look so
  it reads as a review tool, not as part of any design.

  Remove together with design-dock.js once a winning design ships.
*/

.design-dock {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 1300;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: calc(100vw - 20px);
  padding: 7px 9px;
  background: rgba(18, 18, 22, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.design-dock-label {
  padding: 0 7px 0 9px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}

.design-dock a {
  display: inline-block;
  padding: 7px 13px;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 140ms ease, color 140ms ease;
}

.design-dock a:hover {
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
}

.design-dock a[aria-current="page"] {
  color: #141418;
  background: #ffffff;
}

.design-dock a:focus-visible {
  outline: 2px solid #7cb3ff;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .design-dock {
    bottom: 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .design-dock::-webkit-scrollbar {
    display: none;
  }

  .design-dock a {
    padding: 6px 10px;
    font-size: 11px;
  }
}
