*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #fafafa;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.picker {
  max-width: 960px;
  margin: 0 auto;
  padding: 5rem 1.25rem 3rem;
  text-align: center;
}

.picker-tag {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-style: italic;
  color: #d4622a;
}

.picker-title {
  margin: 0 0 0.5rem;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
}

.picker-sub {
  margin: 0 0 2rem;
  color: #666;
  font-size: 0.9375rem;
}

.style-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  text-align: left;
}

.style-card {
  appearance: none;
  display: block;
  width: 100%;
  padding: 0;
  border: 2px solid #e8e8e8;
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  font: inherit;
  color: inherit;
  text-align: left;
}

.style-card:hover {
  border-color: #ccc;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.style-card.is-selected {
  border-color: #d4622a;
  box-shadow: 0 0 0 1px #d4622a, 0 8px 24px rgba(212, 98, 42, 0.12);
}

.style-preview {
  display: block;
  width: 100%;
  height: 160px;
  background: linear-gradient(180deg, #fff 0%, #f5f5f5 100%);
  border-radius: 14px 14px 0 0;
}

.style-meta {
  padding: 0.875rem 1rem 1rem;
}

.style-name {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
}

.style-desc {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #666;
}

.style-badge {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #fff3eb;
  color: #d4622a;
  font-size: 0.75rem;
  font-weight: 500;
}

.pick-hint {
  margin: 2rem 0 0;
  font-size: 0.875rem;
  color: #888;
}

@media (max-width: 640px) {
  .style-grid {
    grid-template-columns: 1fr;
  }
}
