/* Payon Live: floating WhatsApp + Instagram buttons (bottom-right, every front-end page). */
.pyl-social {
  position: fixed;
  right: max(18px, calc(env(safe-area-inset-right) + 12px));
  bottom: max(18px, calc(env(safe-area-inset-bottom) + 12px));
  z-index: 9990;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.pyl-social .pyl-social__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35), 0 1px 0 rgba(255, 255, 255, .25) inset;
  transition: transform .18s cubic-bezier(.2, .8, .2, 1), box-shadow .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.pyl-social .pyl-social__btn svg { width: 24px; height: 24px; display: block; }
/* WhatsApp: the primary action, a touch larger, in the "up candle" green. */
.pyl-social .pyl-social__btn--wa {
  width: 58px;
  height: 58px;
  background: linear-gradient(160deg, #2EE27A 0%, #16A34A 55%, #0E7A37 100%);
}
.pyl-social .pyl-social__btn--wa svg { width: 30px; height: 30px; }
/* Instagram: the "down candle" red. */
.pyl-social .pyl-social__btn--ig {
  background: linear-gradient(160deg, #FF5A5F 0%, #E11D2E 55%, #A50E1C 100%);
}
@media (hover: hover) {
  .pyl-social .pyl-social__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .4), 0 1px 0 rgba(255, 255, 255, .25) inset;
  }
}
.pyl-social .pyl-social__btn:active { transform: scale(.96); }
.pyl-social .pyl-social__btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 600px) {
  .pyl-social { gap: 10px; }
  .pyl-social .pyl-social__btn { width: 44px; height: 44px; }
  .pyl-social .pyl-social__btn--wa { width: 54px; height: 54px; }
  /* Let the last row of the live dashboard scroll clear of the buttons. */
  .pyl .pyl-wrap { padding-bottom: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .pyl-social .pyl-social__btn { transition: none; }
  .pyl-social .pyl-social__btn:hover, .pyl-social .pyl-social__btn:active { transform: none; }
}
@media print { .pyl-social { display: none; } }
