/* 사연 고르기 창 · 결말 '사연의 진짜 결말' 도장 · 판 중 사연 칩(js/tales.js, docs/dev/45-next-run.md ③) */
.tale-list { display: grid; gap: 8px; }
.choice.tale-opt { grid-template-columns: 36px minmax(0, 1fr); grid-template-areas: "n label" "n desc" "n meta" "n end"; row-gap: 3px; align-items: start; }   /* 기존 .choice(라벨·오른쪽 숫자 칸)와 달리 한 칸에 아래로 쌓는다 — run-opt와 같은 방식 */
.choice.tale-opt.plain, .choice.tale-opt.locked { grid-template-areas: "n label" "n desc" "n meta"; }
.choice.tale-opt::before { align-self: start; }
.tale-opt .c-label { word-break: keep-all; }
.tale-meta { grid-area: meta; }
.tale-end { grid-area: end; }
.tale-opt .c-desc { word-break: keep-all; }
.tale-meta { font-size: 12.5px; font-weight: 700; color: var(--muted); line-height: 1.4; word-break: keep-all; }
.tale-end { display: flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 800; color: #8A5A10; line-height: 1.4; word-break: keep-all; }
.tale-end .ui-i { flex: none; width: 14px; height: 14px; }
.tale-opt.locked { opacity: .62; cursor: default; filter: grayscale(.4); }
.choice.tale-opt.locked { counter-increment: none; }
.choice.tale-opt.locked::before { content: ''; background: none !important; }   /* 고를 수 없는 칸에는 A·B 글자를 달지 않는다 */
.tale-opt.locked .c-label { display: flex; align-items: center; gap: 6px; }
.tale-opt.locked .c-label .ui-i { width: 15px; height: 15px; }
.es-tale { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font: 800 11.5px/1.5 var(--body); background: #2F6B4F; color: #F2FFF6; vertical-align: 1px; }
.tale-miss { word-break: keep-all; }
:root[data-theme="dark"] .tale-meta { color: var(--hd-muted); }
:root[data-theme="dark"] .tale-end { color: #F2C744; }
:root[data-theme="dark"] .es-tale { background: #8EE0AE; color: #102A1C; }
