.rsvp-stats {
  display: none !important;
}

.rsvp-input[readonly] {
  background: #f7f1ec;
  color: #6e453f;
  cursor: default;
}

.rsvp-pill.is-active,
.rsvp-pill[data-active="1"] {
  box-shadow: inset 0 0 0 2px rgba(143, 61, 62, 0.28);
}

.rsvp-live {
  min-height: 24px;
}

.rsvp-live.is-success {
  color: #1f7a4f;
}

.rsvp-live.is-error {
  color: #a62d2d;
}

.rsvp-comments-wrap {
  margin-top: 18px;
}

.rsvp-list-wrap {
  overflow: hidden;
}

.rsvp-rotator {
  height: 176px;
  max-height: 176px;
  padding: 12px 12px;
  border: 1px solid rgba(143, 61, 62, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  overflow: hidden;
}

.rsvp-rotator__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  color: #9c7a74;
  text-align: center;
}

.rsvp-rotator__track {
  display: flex;
  flex-direction: column;
}

.rsvp-rotator__group {
  display: grid;
  gap: 10px;
}

.rsvp-rotator--scroll.is-animated .rsvp-rotator__track {
  animation: rsvpScrollVertical var(--rsvp-scroll-duration, 18s) linear infinite;
  will-change: transform;
}

.rsvp-rotator.is-user-scrolling .rsvp-rotator__track {
  animation-play-state: paused;
}

.rsvp-rotator__item {
  display: grid;
  gap: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(143, 61, 62, 0.12);
  animation: rsvpFadeIn 260ms ease;
}

.rsvp-rotator__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.rsvp-rotator--scroll .rsvp-rotator__group .rsvp-rotator__item:last-child {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(143, 61, 62, 0.12);
}

.rsvp-rotator__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.rsvp-rotator__name {
  color: #7e2328;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.rsvp-rotator__message {
  margin: 0;
  color: #5f433d;
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

@keyframes rsvpFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rsvpScrollVertical {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50%);
  }
}

@media (max-width: 767px) {
  .rsvp-list-wrap {
    overflow: hidden;
  }

  .rsvp-rotator {
    height: 158px;
    max-height: 158px;
    padding: 9px 10px;
    gap: 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-y;
  }

  .rsvp-rotator::-webkit-scrollbar {
    display: none;
  }

  .rsvp-rotator__name {
    font-size: 13px;
  }

  .rsvp-rotator__message {
    font-size: 11px;
  }
}
