/* Barra de demostración · se monta encima de cada plantilla.
 * Deliberadamente aislada: usa su propio espacio de nombres (.wae-*) y sus
 * propios valores, para que ninguna plantilla la afecte ni ella afecte a la
 * plantilla. Es lo único que comparten los cinco diseños.
 */

.wae-bar {
  position: fixed;
  inset-block-end: clamp(0.75rem, 2vw, 1.25rem);
  inset-inline: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  padding-inline: clamp(0.75rem, 3vw, 1.5rem);
  pointer-events: none;
  font-family: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
}

.wae-bar__inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 46rem;
  width: 100%;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  border: 1px solid oklch(38% 0.05 262);
  border-radius: 999px;
  background: oklch(19% 0.055 264 / 0.94);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 8px 32px -8px oklch(15% 0.05 264 / 0.55);
  color: oklch(97% 0.008 255);
}

.wae-bar__mark { width: 26px; height: 26px; flex: none; }

.wae-bar__text {
  font-size: 0.8125rem;
  line-height: 1.35;
  margin: 0;
  margin-inline-end: auto;
  min-width: 0;
}
.wae-bar__text b { font-weight: 600; }
.wae-bar__text span { color: oklch(75% 0.02 255); }

.wae-bar__back,
.wae-bar__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0 1rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 200ms cubic-bezier(0.2, 0.7, 0.3, 1),
              transform 120ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.wae-bar__back {
  color: oklch(90% 0.015 255);
  border-color: oklch(38% 0.05 262);
}
.wae-bar__back:hover { background: oklch(26% 0.06 264); }

.wae-bar__cta {
  background: oklch(51% 0.20 258);
  color: oklch(99% 0.003 250);
}
.wae-bar__cta:hover { background: oklch(58% 0.19 256); }

.wae-bar__back:active, .wae-bar__cta:active { transform: translateY(1px); }
.wae-bar__back:focus-visible, .wae-bar__cta:focus-visible {
  outline: 2px solid oklch(72% 0.145 254);
  outline-offset: 2px;
}

@media (max-width: 52rem) {
  .wae-bar__text b { display: block; }
  .wae-bar__text span { display: none; }
  .wae-bar__back { display: none; }
}
@media (max-width: 30rem) {
  .wae-bar__inner { padding-inline: 0.75rem 0.5rem; gap: 0.5rem; }
  .wae-bar__text { font-size: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .wae-bar__back:active, .wae-bar__cta:active { transform: none; }
}
