.rich-output {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.style-card {
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 0.9rem;
  padding: 1rem;
}

.aesthetic-info-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(100, 116, 139, 0.4);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.55);
}

.aesthetic-info-label {
  color: rgba(241, 245, 249, 0.8);
}

.aesthetic-info-title {
  color: #ffffff;
}

.aesthetic-info-text,
.aesthetic-info-list {
  color: rgba(241, 245, 249, 0.9);
}

.aesthetic-info-strong {
  color: #c7d2fe;
}

.aesthetic-info-usage {
  color: #f8fafc;
}

.light .aesthetic-info-card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(148, 163, 184, 0.45);
  box-shadow: 0 18px 40px rgba(148, 163, 184, 0.25);
}

.light .aesthetic-info-label {
  color: rgba(71, 85, 105, 0.85);
}

.light .aesthetic-info-title {
  color: #0f172a;
}

.light .aesthetic-info-text,
.light .aesthetic-info-list,
.light .aesthetic-info-usage {
  color: #334155;
}

.light .aesthetic-info-strong {
  color: #4338ca;
}

.style-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.style-card__title {
  font-weight: 600;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: rgba(226, 232, 240, 0.9);
  margin-bottom: 0.5rem;
}

.style-card__value {
  font-size: clamp(0.95rem, 1rem + 0.6vw, 1.25rem);
  line-height: 1.5;
}

.style-toggle-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.style-pill {
  appearance: none;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: transparent;
  color: inherit;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.75rem;
}
.style-pill.is-on {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.4);
}

.style-card__copy-btn {
  box-sizing: border-box;
  min-width: 64px;
  flex-shrink: 0;
  white-space: nowrap;
}
.style-card__copy-btn svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}
.style-card__copy-btn span {
  line-height: 1;
}
.style-card__copy-btn:focus {
  outline: none;
  box-shadow: none;
}
.style-card__copy-btn:active {
  transform: none;
}

.info-card__title {
  font-family:
    "Unbounded",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.info-card__list {
  margin: 1.5rem 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.9rem;
  list-style: disc;
}

.info-card__list strong {
  font-weight: 600;
  color: #c7d2fe;
}

.info-card__usage {
  margin-top: 1rem;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.95);
}

@media (min-width: 768px) {
  .info-card {
    padding: 2.5rem 3rem;
  }

  .info-card__title {
    font-size: 2rem;
  }
}

/* Mobile adjustments: center style pills and card headers on small screens */
@media (max-width: 640px) {
  .style-toggle-bar {
    justify-content: center;
  }

  .style-card {
    text-align: center;
  }

  .style-card__header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }

  /* keep copy button visually consistent when header stacks */
  .style-card__copy-btn {
    margin-left: 0;
  }
}
