/* DRILL CARD 홈 시안: 04 이어 가기 이야기(story.part.html, sian-story.js) */
.sx-story{min-width:0;max-width:100%}
.sx-story-stage{position:relative;width:100%;aspect-ratio:16/9;border-radius:var(--r-surface,20px);overflow:hidden;background:var(--canvas);box-shadow:var(--sh-1)}
.sx-story-svg{display:block;width:100%;height:100%}
.sx-story-svg text{font-family:var(--f-body)}
.sx-story .fb{font-family:var(--f-brand);font-weight:800}
.sx-story .fs{font-family:var(--f-serif)}

/* 그림 안의 앱 색 */
.sx-story .f-sur{fill:var(--surface)} .sx-story .f-can{fill:var(--canvas)} .sx-story .f-line{fill:var(--line)}
.sx-story .f-ac{fill:var(--accent)} .sx-story .f-acs{fill:var(--accent-soft)} .sx-story .f-ok{fill:var(--ok)}
.sx-story .f-bads{fill:#FDECEC} .sx-story .f-oks{fill:#E3F4E8} .sx-story .f-wars{fill:var(--warn-soft)}
.sx-story .f-q{fill:#CBD5E1} .sx-story .f-hov{fill:#EDF2F9}
.sx-story .s-line{stroke:var(--line)} .sx-story .s-ac{stroke:var(--accent)} .sx-story .s-bad{stroke:var(--bad)}
.sx-story .s-ok{stroke:var(--ok)} .sx-story .s-ink{stroke:var(--ink)} .sx-story .s-mut{stroke:var(--muted)}
.sx-story .t-wm{font-family:var(--f-brand);font-weight:800;font-size:13px;letter-spacing:.03em;fill:var(--ink)}
.sx-story .t-ctr{font-weight:700;font-size:21px;fill:var(--ink-2);font-variant-numeric:tabular-nums}
.sx-story .t-ttl{font-weight:700;font-size:21px;fill:var(--accent)}
.sx-story .t-no{font-weight:700;font-size:13px;fill:var(--muted)}
.sx-story .t-ui{font-weight:600;font-size:20px;fill:var(--ink)}
.sx-story .t-tile{font-weight:600;font-size:15px;fill:var(--ink-2)}
.sx-story .t-say{font-weight:600;font-size:27px;fill:var(--ink)}
.sx-story .t-end{font-weight:700;font-size:36px;letter-spacing:-.02em;fill:var(--ink)}

/* 자막과 조절 단추 */
.sx-story-bar{display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:14px}
.sx-story .sx-story-cap{margin:0;min-height:1.6em;font-size:15px;line-height:1.6;color:var(--ink-2);text-align:center}
.sx-story-ctl{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px}
.sx-story-chs{display:flex;gap:4px}
.sx-story-ctl button{height:36px;padding:0 14px;border:0;border-radius:18px;background:transparent;color:var(--muted);font-size:14px;font-weight:600;cursor:pointer;transition:scale 180ms var(--ease-open)}
.sx-story-ctl button:active{scale:.97}
.sx-story-ctl button[aria-pressed="true"]{background:var(--surface);color:var(--ink);box-shadow:var(--sh-1)}
.sx-story-ctl button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.sx-story-ctl .sx-story-play{width:36px;padding:0;display:grid;place-items:center;color:var(--ink);background:var(--surface);box-shadow:var(--sh-1)}
.sx-story-play svg{width:16px;height:16px;fill:currentColor}
.sx-story-play[data-state="playing"] .i-play,.sx-story-play[data-state="paused"] .i-pause{display:none}
@media (pointer:coarse){.sx-story-ctl button{height:44px;border-radius:22px}.sx-story-ctl .sx-story-play{width:44px}}
@media (prefers-reduced-motion:reduce){.sx-story-ctl button{transition:none}}
