/* Shared floating contact widget for both local template previews. */
a.support-widget {
  --support-roo: var(--roo, var(--coral));
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: auto;
  min-height: 0;
  max-width: calc(100vw - 24px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: #fff;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  text-decoration: none;
  transition: none;
}
a.support-widget:hover { background: none; color: #fff; }
.support-widget .support-widget__label {
  position: relative;
  display: block;
  padding: 11px 18px;
  border-radius: 16px;
  background: var(--support-roo);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 5px 16px rgb(0 0 0 / 14%);
}
.support-widget__label::after {
  content: "";
  position: absolute;
  right: -5px;
  top: calc(50% - 6px);
  width: 12px;
  height: 12px;
  rotate: 45deg;
  background: var(--support-roo);
}
.support-widget .support-widget__icon {
  display: grid;
  place-items: center;
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--support-roo);
  color: #fff;
  box-shadow: 0 5px 16px rgb(0 0 0 / 14%);
  animation: support-bounce 4s ease-in-out infinite;
}
.support-widget__icon svg { width: 30px; height: 30px; }
@keyframes support-bounce {
  0%, 78%, 100% { transform: translateY(0); }
  85% { transform: translateY(-7px); }
  91% { transform: translateY(0); }
  96% { transform: translateY(-3px); }
}
.support-widget:is(:hover, :focus-visible) .support-widget__icon { animation-play-state: paused; }
@media (max-width: 860px) {
  .support-widget .support-widget__label { padding: 10px 14px; font-size: 16px; border-radius: 14px; }
  .support-widget .support-widget__icon { width: 48px; height: 48px; flex-basis: 48px; }
  .support-widget__icon svg { width: 26px; height: 26px; }
}
@media (prefers-reduced-motion: reduce) { .support-widget .support-widget__icon { animation: none; } }

/* The bubble uses the logo "roo" colour defined once in brand.css. */
