/* Preview-mode version switcher dock (auto-hidden when ACTIVE_SITE_VERSION != preview) */

body.hl-has-preview-dock {
  padding-bottom: 84px;
}

.hl-preview-dock {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(24, 41, 71, 0.94);
  color: #fdfaf0;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 14px 36px rgba(17, 29, 52, 0.28);
  backdrop-filter: blur(10px);
  font-family: "Figtree", system-ui, sans-serif;
  font-size: 13px;
  max-width: calc(100vw - 24px);
  overflow-x: auto;
}

.hl-preview-dock__label {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 11px;
  color: #f1c272;
  padding: 0 8px 0 6px;
  white-space: nowrap;
}

.hl-preview-dock__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #fdfaf0;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.hl-preview-dock__link:hover,
.hl-preview-dock__link:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.hl-preview-dock__link[aria-current="page"] {
  background: #ea6050;
  color: #ffffff;
}

.hl-preview-banner {
  background: #1e3150;
  color: #fdfaf0;
  font-family: "Figtree", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  padding: 8px 16px;
  text-align: center;
}

.hl-preview-banner strong {
  color: #f6c660;
}

@media (max-width: 640px) {
  .hl-preview-dock {
    bottom: 10px;
    padding: 5px 6px;
    font-size: 12px;
  }
  .hl-preview-dock__label {
    display: none;
  }
  .hl-preview-dock__link {
    padding: 6px 10px;
  }
}
