.story-game { width:100%; max-width:38rem; min-width:0; margin:0 auto; color:var(--ink); }
.story-lines { list-style:none; padding:1rem; margin:1rem 0; border:1px solid var(--line); border-radius:1rem; background:var(--card); text-align:left; }
.story-lines li { line-height:1.65; overflow-wrap:anywhere; white-space:pre-wrap; }
.story-lines li + li { margin-top:.7rem; }

.story-suggestions, .story-form { display:grid; gap:.65rem; margin:1rem 0; min-width:0; }
.story-game button { white-space:normal; overflow-wrap:anywhere; min-height:44px; }
.story-suggestions button { text-align:left; background:var(--surface); color:var(--ink); border:1px solid var(--accent); padding:.8rem; border-radius:.7rem; }
.story-form label { text-align:left; color:var(--ink); }
.story-form textarea { box-sizing:border-box; width:100%; min-width:0; resize:vertical; font:inherit; color:var(--ink); background:var(--surface); border:1px solid var(--accent); border-radius:.7rem; padding:.8rem; }
.story-form textarea::placeholder, .story-copy-status { color:var(--muted); }
.story-game button:disabled { opacity:.55; }
.story-game :focus-visible { outline:2px solid var(--gold); outline-offset:3px; }
.story-complete { margin-top:1.5rem; }

/* Seat colours also work while the shared player stylesheet loads. */
.story-game .p0{--pc:var(--p0,#e8a4a4)}
.story-game .p1{--pc:var(--p1,#f2c777)}
.story-game{font-size:1rem;line-height:1.5;color:var(--ink)}
.story-lines li.p0,.story-lines li.p1{border-left:3px solid var(--pc);padding:.5rem .75rem;background:color-mix(in srgb,var(--pc) 8%,var(--card))}
.story-author{color:var(--pc);font-size:.875rem}
.story-game .turn-status{font-size:1.25rem}
.story-game .turn-help,.story-game button,.story-copy-status{font-size:1rem;line-height:1.5}
.story-complete h2{font-size:2rem}
