.comic-frame{border:3px solid #493b65;border-radius:20px;overflow:hidden;background:#f3effa;box-shadow:5px 5px 0 #dfd6ed;margin:18px 0 26px}.comic-frame figure{margin:0!important;border-radius:0!important}.comic-frame img{display:block;width:100%;height:auto}.comic-dialogue{display:flex;flex-direction:column;gap:16px;padding:20px 16px;background:linear-gradient(135deg,#f4f0fc,#fff8ef)}.speech{position:relative;background:white;border:2px solid #493b65;border-radius:22px;padding:12px 16px;max-width:88%;align-self:flex-end;box-shadow:2px 3px 0 #ddd4eb}.speech:before{content:'';position:absolute;top:-10px;right:25px;width:16px;height:16px;background:white;border-top:2px solid #493b65;border-left:2px solid #493b65;transform:rotate(45deg)}.speech.other{align-self:flex-start;background:#fff4da}.speech.other:before{left:25px;right:auto;background:#fff4da}.speech p{margin:4px 0 0;font-size:1.08rem;line-height:1.5}.speaker{font-size:.82rem;color:#655179;display:block}.selected-speech{background:#e9f8ef;border-color:#26714b}.selected-speech:before{background:#e9f8ef;border-color:#26714b}.selected-speech[hidden]{display:none}.speech-choice{text-align:left!important;border:2px solid #79628f!important;border-radius:20px!important;background:#fff!important;padding:15px 18px!important;white-space:normal;overflow-wrap:anywhere;min-height:48px}.speech-choice[aria-pressed=true]{background:#e9f8ef!important;border-color:#26714b!important}.branch.speech-choice:after{content:' →'}.context{font-size:1rem;line-height:1.55}@media(min-width:700px){.comic-dialogue{padding:24px 30px}.speech{max-width:76%}}@media(max-width:380px){.comic-dialogue{padding:18px 10px}.speech{max-width:95%;padding:10px 12px}}
.comic-recap{margin-top:28px}.recap-panel{border:3px solid #493b65;border-radius:18px;overflow:hidden;background:white;margin:22px 0;box-shadow:4px 4px 0 #ded4ed}.recap-panel h3{padding:14px 16px;margin:0;background:#eee8f6;font-size:1rem}.recap-panel figure{margin:0!important}.recap-panel img{display:block;width:100%;height:auto}.emotion-note{margin:0;color:#51415e}
.initial-speech[hidden]{display:none}
.scene-context{margin:10px 0 20px;font-size:.95rem}.scene-context summary{cursor:pointer;color:#66517e;padding:8px 0}

.speech-choice[aria-pressed=true]{color:#173e2b!important}.option[aria-pressed=true]{color:#173e2b!important;background:#e9f8ef!important}
