/* Prose and list detail wrapping for this work; common list layout remains shared. */
.guide-section p,.guide-section li{line-height:1.85;overflow-wrap:anywhere}
.guide-section h3{margin:1.3em 0 .4em;color:var(--accent)}
.guide-section ol,.guide-section ul{padding-left:1.6em}
.chapter-list>li{margin-bottom:1.5em}

.guide-section .character-detail-item{grid-column:1/-1}
.guide-section .character-card-value{display:block;white-space:normal;overflow-wrap:anywhere}
.guide-section .character-detail p{margin:.3em 0}
.guide-section [data-static-toggle]:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.guide-section .character-detail-item h3{white-space:normal;overflow-wrap:anywhere;margin:0;min-width:0}

.guide-number{white-space:nowrap}

/* Keep course steps readable beside long game names on narrow screens. */
@media (max-width:600px){
  #train-courses .character-detail-item{grid-template-columns:minmax(0,1fr);row-gap:6px}
}
