.patron-preview-section {
  padding: var(--spacing-section-vert-padding) var(--spacing-xl);
  pointer-events: auto;
  text-align: center;
}
.patron-preview-section .container {
  background: var(--color-surface);
  border-radius: var(--border-radius-xxl);
  box-shadow: var(--shadow-card);
  padding: var(--spacing-xl);
}
.patron-preview-section .section-description {
  margin: 0 auto 2rem;
}
.preview-title {
  color: var(--color-text);
  font-family: var(--font-family-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}
.preview-subtitle {
  color: var(--color-text-secondary);
  font-family: var(--font-family-subheading);
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: var(--spacing-md);
}
.preview-description {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 auto var(--spacing-lg);
  max-width: 500px;
}
.preview-form {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  margin: 0 auto var(--spacing-xl);
  max-width: 480px;
}
.preview-input-wrapper {
  position: relative;
  width: 100%;
}
.preview-input {
  background: var(--color-background);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-xl);
  color: var(--color-text);
  font-size: 1.1rem;
  padding: 0.9rem 1.2rem;
  transition: all 0.2s ease;
  width: 100%;
}
.preview-input::placeholder {
  color: var(--color-text-muted);
  font-style: italic;
}
.char-counter {
  bottom: -1.4rem;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  opacity: 0.8;
  position: absolute;
  right: 0.6rem;
}
.char-counter.warning {
  color: var(--color-error);
}
.whisper-preview-clear {
  background: var(--color-border);
  box-shadow: none;
  color: var(--color-text-secondary);
  opacity: 0;
  pointer-events: none;
  position: absolute;
  right: var(--spacing-md);
  top: 50%;
  transform: translateY(-50%) scale(0.8);
  transition:
    opacity 0.2s ease,
    transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.2s ease;
}
.whisper-preview-clear.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}
.whisper-preview-clear.visible:hover {
  background: var(--color-primary);
  color: var(--color-cloud);
  transform: translateY(-50%) scale(1.05);
}
.tier-buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--spacing-md);
  justify-content: center;
  min-width: 0;
}
.tier-button {
  color: var(--color-text);
}
.tier-button.tier--kindred {
  border-color: var(--color-tier-kindred);
}
.tier-button.tier--keepers {
  border-color: var(--color-tier-keepers);
}
.tier-button.tier--sages {
  border-color: var(--color-tier-sages);
}
.tier-button.active,
.tier-button:hover {
  box-shadow: 0 0 12px currentColor;
}
.tier-button.tier--kindred.active,
.tier-button.tier--kindred:hover {
  background-color: var(--color-tier-kindred);
  box-shadow: 0 0 12px var(--color-tier-kindred);
}
.tier-button.tier--keepers.active,
.tier-button.tier--keepers:hover {
  background-color: var(--color-tier-keepers);
  box-shadow: 0 0 12px var(--color-tier-keepers);
}
.tier-button.tier--sages.active,
.tier-button.tier--sages:hover {
  background-color: var(--color-tier-sages);
  box-shadow: 0 0 12px var(--color-tier-sages);
  color: var(--color-night);
}
.tier-button.tier--sages:not(.active) {
  background: transparent;
}
.tier-button.active {
  transform: scale(1.05);
}
.preview-whispers-container {
  background: var(--color-background);
  border: 1px dashed var(--color-border);
  margin: var(--spacing-xl) 0 0;
  min-height: 180px;
  overflow: hidden;
  padding: 8px;
  position: relative;
  width: 100%;
}
.preview-whispers-container,
.preview-whispers-container .patron-whispers:focus-visible {
  border-radius: var(--border-radius-lg);
}
.preview-note {
  display: block;
  font-size: 0.9rem;
  font-style: italic;
  margin: 0.5rem auto var(--spacing-xl);
  opacity: 0.8;
}
.preview-badge,
.preview-note {
  color: var(--color-text-muted);
}
.preview-badge {
  backdrop-filter: blur(4px);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 0.3rem 0.6rem;
  pointer-events: none;
  position: absolute;
  right: 12px;
  text-transform: uppercase;
  top: 8px;
  z-index: 5;
}
@media (max-width: 768px) {
  .patron-preview-section {
    padding: var(--spacing-xl) var(--spacing-md);
  }
  .preview-title {
    font-size: 1.3rem;
  }
  .preview-subtitle {
    font-size: 1.1rem;
  }
  .whisper-preview-clear {
    right: 0.75rem;
  }
  .tier-button {
    font-size: 0.9rem;
    padding: 0.75rem var(--spacing-md);
  }
  .preview-badge {
    font-size: 0.65rem;
  }
  .preview-note {
    font-size: 0.8rem;
  }
}
