/* A small shared control using the invitation's rose and blush palette. */
.wedding-back-top {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--blush, #d6aba5);
  border-radius: 50%;
  color: #fff;
  background: var(--blush, #d6aba5);
  box-shadow: 0 3px 12px rgb(184 107 119 / 12%);
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .2s ease, box-shadow .2s ease;
}
.wedding-back-top[hidden] { display: none !important; }
.wedding-back-top:hover {
  box-shadow: 0 4px 15px rgb(184 107 119 / 18%);
}
.wedding-back-top:focus-visible {
  outline: 2px solid var(--rose, #b86b77);
  outline-offset: 4px;
}
.wedding-back-top-icon { display: block; width: 22px; height: 22px; pointer-events: none; }
@media (max-width: 600px) {
  .wedding-back-top {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wedding-back-top { transition: none; }
}
