/* ── Chain Salon ────────────────────────────────────────── */
.chain-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 1rem; }
.chain-card {
    display: block; padding: 1.1rem 1.3rem;
    border: 1px solid var(--border,#ddd); border-radius: 8px;
    text-decoration: none; color: inherit; transition: box-shadow .15s;
}
.chain-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.chain-card--ended { opacity: .75; }
.chain-card-header { display: flex; justify-content: space-between;
    align-items: center; margin-bottom: .5rem; }
.chain-label { font-size: .75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .05em; color: var(--accent,#e94560); }
.chain-label--ended { color: #888; }
.chain-stanza-count { font-size: .78rem; opacity: .6; }
.chain-card-title { font-size: 1.1rem; font-weight: 600; margin: 0 0 .4rem; }
.chain-card-meta { font-size: .82rem; opacity: .6; margin: 0; }

.collab-badge { display: inline-block; font-size: .75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em;
    background: var(--accent,#e94560); color: #fff;
    padding: .18rem .6rem; border-radius: 4px; margin-bottom: .7rem; }
.chain-detail-header { margin-bottom: 2rem; }
.chain-detail-title { font-size: 2rem; font-weight: 700; margin: .4rem 0 .6rem; }
.chain-detail-meta { font-size: .9rem; opacity: .65; margin-bottom: .8rem; }
.contributors-row { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-top: .5rem; }
.contributors-label { font-size: .82rem; font-weight: 600; opacity: .65; }
.contributor-chip { font-size: .8rem; padding: .15rem .55rem;
    background: var(--hover-bg,#f0f0f0); border-radius: 999px; text-decoration: none; color: inherit; }
.stanzas-container { margin: 2rem 0; }
.stanza-block { border-left: 3px solid var(--accent,#e94560); padding: 1rem 1.2rem;
    margin-bottom: 1.4rem; }
.stanza-header { display: flex; gap: 1rem; align-items: baseline;
    margin-bottom: .5rem; font-size: .82rem; opacity: .65; }
.stanza-number { font-weight: 700; }
.stanza-author { font-style: italic; }
.stanza-text { white-space: pre-wrap; line-height: 1.8; font-size: 1rem; }
.add-stanza-section, .end-poem-section { margin-top: 2rem; padding-top: 1.5rem;
    border-top: 1px solid var(--border,#ddd); }
.section-subheading { font-size: 1.05rem; font-weight: 600; margin-bottom: .8rem; }