
/* ── Living Poem ────────────────────────────────────────── */
.living-total { font-size: .9rem; opacity: .55; margin-top: .3rem; }
.living-layout { display: grid; grid-template-columns: 1fr 280px; gap: 1.5rem;
    margin-top: 1.5rem; }
@media (max-width: 760px) { .living-layout { grid-template-columns: 1fr; } }
.volume-section { margin-bottom: 2rem; }
.volume-heading { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em;
    font-weight: 700; opacity: .45; margin-bottom: .8rem; }
.living-lines { display: flex; flex-direction: column; gap: .2rem; }
.living-line { display: flex; align-items: baseline; gap: .8rem;
    padding: .3rem 0; border-bottom: 1px solid var(--border,#eee); font-size: .97rem; }
.line-number { font-size: .72rem; opacity: .35; min-width: 28px;
    font-variant-numeric: tabular-nums; }
.line-text { flex: 1; line-height: 1.6; }
.line-author { font-size: .75rem; opacity: .45; text-decoration: none;
    white-space: nowrap; }
.living-poem-empty { text-align: center; padding: 3rem; opacity: .5; font-style: italic; }
.add-line-section { margin-top: 2rem; padding: 1.2rem;
    border: 1px solid var(--border,#ddd); border-radius: 8px; }
.deadline-note { font-size: .85rem; opacity: .7; margin-bottom: .8rem; }
.line-form { display: flex; gap: .5rem; }
.line-form input { flex: 1; padding: .55rem .8rem; font-size: .95rem;
    border: 1px solid var(--border,#ddd); border-radius: 5px;
    background: var(--bg,#fff); color: inherit; }
.queue-card { border: 1px solid var(--border,#ddd); border-radius: 8px;
    padding: 1rem 1.1rem; position: sticky; top: 80px; }
.queue-my-pos { font-size: .9rem; font-weight: 600; margin-bottom: .5rem; }
.queue-capacity { font-size: .78rem; opacity: .5; margin: .7rem 0 .5rem; }
.queue-list { list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: .4rem; }
.queue-item { display: flex; align-items: center; gap: .5rem; font-size: .88rem;
    padding: .35rem .4rem; border-radius: 5px; }
.queue-item--active { background: var(--hover-bg,#f5f5f5); font-weight: 600; }
.queue-pos { font-size: .75rem; opacity: .45; min-width: 18px; }
.queue-username { text-decoration: none; color: inherit; flex: 1; }
.queue-turn-badge { font-size: .72rem; background: var(--accent,#e94560); color: #fff;
    padding: .1rem .4rem; border-radius: 4px; }
.queue-in { font-size: .75rem; opacity: .5; }
.queue-deadline { font-size: .75rem; font-variant-numeric: tabular-nums;
    opacity: .65; }