/* Kindness tip jar. Black and gold. Shared by /sit and /kindness. */
.kind-tip {
  margin: 0.85rem 0 0.35rem;
  padding: 0.85rem 0.8rem 0.75rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: #000;
  color: #f4efe6;
  scroll-margin-top: 5rem;
}

.kind-tip .eyebrow {
  margin: 0 0 0.2rem;
  color: #d4af37;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kind-tip-title {
  margin: 0 0 0.35rem;
  color: #f4efe6;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.15;
}

.kind-tip-lead,
.kind-tip-note,
.kind-tip-thanks {
  margin: 0.35rem 0;
  color: rgba(244, 239, 230, 0.78);
  font-family: Outfit, system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.45;
}

.kind-tip-amounts {
  display: flex;
  gap: 0.45rem;
  margin: 0.75rem 0 0.45rem;
}

.kind-tip-amounts .btn,
.kind-tip-open,
.kind-tip-sheet .btn,
.kind-tip-uri {
  min-height: 48px;
  min-width: 48px;
}

.kind-tip-amounts .btn {
  flex: 1;
}

.kind-tip-amounts .btn.is-selected {
  border-color: #d4af37;
  color: #140e04;
  background: linear-gradient(180deg, #f0d78c 0%, #d4af37 55%, #a7842f 100%);
}

.kind-tip-custom {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin: 0.35rem 0 0.5rem;
  color: rgba(244, 239, 230, 0.78);
  font-family: Outfit, system-ui, sans-serif;
  font-size: 0.85rem;
}

.kind-tip-custom input {
  min-height: 48px;
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: #000;
  color: #f4efe6;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 1rem;
}

.kind-tip-cad {
  min-height: 1.2rem;
  margin: 0.15rem 0 0.55rem;
  color: #d4af37;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 0.92rem;
}

.kind-tip-open {
  width: 100%;
}

.kind-tip .signature {
  display: block;
  width: 100%;
  margin: 0.75rem 0 0;
  color: #d4af37;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  white-space: normal;
  opacity: 1;
  justify-content: flex-start;
}

.kind-tip-keepsake {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.8rem;
}

.kind-tip-keepsake[hidden] {
  display: none !important;
}

.kind-tip-seal {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border: 1px solid #d4af37;
  border-radius: 50%;
  color: #140e04;
  background: linear-gradient(180deg, #f0d78c 0%, #d4af37 55%, #a7842f 100%);
  font-family: Outfit, system-ui, sans-serif;
  font-size: 1.15rem;
  line-height: 1;
}

.kind-tip-kicker {
  margin: 0;
  color: #d4af37;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kind-tip-sheet[hidden] {
  display: none !important;
}

.kind-tip-sheet {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.72);
}

.kind-tip-sheet-card {
  width: min(100%, 28rem);
  max-height: calc(100% - 0.5rem);
  overflow: auto;
  padding: 1rem 0.9rem 0.9rem;
  border: 1px solid #d4af37;
  background: #000;
  color: #f4efe6;
}

.kind-tip-sheet-amount {
  margin: 0.2rem 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.4rem;
  line-height: 1;
}

.kind-tip-qr {
  display: grid;
  place-items: center;
  margin: 0.6rem 0;
  background: #fff;
}

.kind-tip-qr svg {
  display: block;
  width: 11rem;
  height: 11rem;
}

.kind-tip-address {
  margin: 0.35rem 0;
  color: rgba(244, 239, 230, 0.86);
  font-family: Outfit, system-ui, sans-serif;
  font-size: 0.82rem;
  line-height: 1.35;
  word-break: break-all;
}

.kind-tip-uri {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.45rem 0;
  color: #d4af37;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 0.85rem;
  text-decoration: none;
}

.kind-tip-sheet-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.kind-tip-sheet-actions .btn {
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .kind-tip-sheet,
  .kind-tip-seal,
  .kind-tip .btn {
    animation: none !important;
    transition: none !important;
  }
}
