/* D&D session transcripts (/games/dnd/transcripts/): audio player + clickable transcript lines. */
.tx-bar { margin-bottom: 6px; }
.tx-bar audio { width: 100%; height: 40px; }
.tx-q { flex: 1 1 200px; min-width: 0; }
.tx-count { font-size: 13px; }
.tx-follow { margin-left: auto; font-size: 13px; }
.tx-msg mark { background: var(--highlight); color: var(--bg); border-radius: 4px; }
.tx-hint { margin: 0 0 16px; font-size: 13px; }
.tx-actions { margin-bottom: 16px; }

.tx-summary { margin-bottom: 20px; }
.tx-summary summary { cursor: pointer; font-weight: 600; }
.tx-summary p { margin: 12px 0 0; line-height: 1.5; }

.tx-msg {
    display: flex; gap: 12px; padding: 4px 8px; border-radius: var(--radius); cursor: pointer;
    transition: background var(--fast);
    content-visibility: auto; contain-intrinsic-size: auto 48px;
}
.tx-msg:not(.tx-cont) { margin-top: 12px; }
.tx-msg:hover { background: var(--card); }
.tx-msg.on { background: var(--accent-soft); }
.tx-body { min-width: 0; }
.tx-body b { display: block; font-size: 14px; }
.tx-body p { margin: 0; line-height: 1.5; overflow-wrap: anywhere; }

.tx-time {
    flex: none; align-self: flex-start; width: 64px; padding: 2px 0; margin-top: 1px;
    background: none; border: 0; border-radius: 4px; cursor: pointer;
    color: var(--muted); font: 12px var(--mono); font-variant-numeric: tabular-nums; text-align: right;
}
.tx-msg:not(.tx-cont) .tx-time { margin-top: 20px; }
.tx-msg:hover .tx-time, .tx-msg.on .tx-time { color: var(--accent); }

.tx-c0 { color: var(--series-1); }
.tx-c1 { color: var(--series-2); }
.tx-c2 { color: var(--series-3); }
.tx-c3 { color: var(--link); }
.tx-c4 { color: var(--highlight); }
