.card-collection { max-width: 1440px; margin: auto; padding: 48px 28px 72px; color: #2b243b; }
.collection-heading { display: flex; justify-content: space-between; align-items: start; gap: 24px; margin-bottom: 36px; }
.collection-heading h1 { font: 800 clamp(2rem, 4vw, 3.2rem)/1.05 Georgia, serif; letter-spacing: -.04em; margin: 12px 0 20px; }
.collection-heading p { max-width: 720px; font-size: .9rem; line-height: 1.6; color: #756583; }
.collection-actions, .result-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.collection-actions { justify-content: flex-end; }
.collection-note { border-left: 3px solid #9365cc; padding: 12px 18px; background: #eee6f8; }
.collection-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 36px 24px; }
.collection-item { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.card-collection .collection-card { width: 220px; height: 350px; cursor: default; }
.collection-credit { width: 220px; margin: 12px 0; }
.collection-credit p { margin: 0 0 3px; font-size: .8rem; font-weight: 650; overflow-wrap: anywhere; }
.collection-credit small { color: #82738f; font-size: .72rem; }
.favorite-control { width: 220px; margin-top: auto; }
.favorite-control form { margin: 0; }
.favorite-button { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 10px 14px; border: 1px solid #d0c3dd; border-radius: 10px; color: #6f5589; background: #fff; font: 650 .8rem system-ui, sans-serif; cursor: pointer; }
.favorite-button svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.favorite-button.is-favorite { color: #a83d70; background: #fff0f7; border-color: #e7adc8; }
.favorite-button.is-favorite svg { fill: currentColor; }
.favorite-button:hover { border-color: currentColor; }
.favorite-button:focus-visible { outline: 3px solid #9365cc; outline-offset: 3px; }
.result-actions { justify-content: center; }
.card-review-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-bottom: 24px; }
.card-review-filters label { display: block; margin-bottom: 6px; font-size: .8rem; font-weight: 650; }
.card-review-filters input[type="search"], .card-review-filters select { max-width: 100%; padding: 10px; border: 1px solid #d0c3dd; border-radius: 8px; background: #fff; }
.card-review-effects { width: 220px; font-size: .75rem; line-height: 1.5; overflow-wrap: anywhere; }
.card-review-effects summary { cursor: pointer; font-weight: 750; margin-bottom: 12px; }
.card-review-effects ol { padding-left: 18px; }
.card-review-effects pre { padding: 10px; background: #eee8f5; border-radius: 6px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .68rem; }
.card-review .card-review-missing { color: #9b412d; margin-top: 8px; }
@media (max-width: 700px) {
  .card-collection { padding: 28px 16px; }
  .collection-heading { flex-direction: column; }
  .collection-actions { justify-content: flex-start; }
}
