/* V161: a teaching visual, not a decorative progress bar */
.reader-page .story-visual-explainer{margin:24px 0 10px;padding:20px;border:1px solid #d8e2d6;border-radius:18px;background:linear-gradient(135deg,#f5f8f1,#faf7ed)}
.reader-page .story-visual-explainer>.mini-label{display:block;margin:0 0 16px}
.reader-page .story-map{display:grid;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr) 22px minmax(0,1fr);align-items:center;gap:6px}
.reader-page .story-map-node{min-height:145px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:12px 8px;border:2px solid #d1dbce;background:#fff;border-radius:14px;transition:background .25s,border-color .25s,transform .25s,opacity .25s;opacity:.57}
.reader-page .story-map-node strong{font-size:.9rem;line-height:1.3;color:#234b3b}
.reader-page .story-map-node small{font-size:.78rem;line-height:1.35;margin-top:6px;color:#53665c}
.reader-page .story-map-icon{font-size:1.35rem;line-height:1.3;color:#987541;margin-bottom:7px}
.reader-page .story-map-connector{height:2px;background:#c5cdbf;position:relative}
.reader-page .story-map-connector:after{content:'';position:absolute;right:0;top:-4px;border-left:7px solid #b2bdac;border-top:5px solid transparent;border-bottom:5px solid transparent}
.reader-page .story-map[data-story-map="fact"] .story-map-event,.reader-page .story-map[data-story-map="interpretation"] .story-map-thought,.reader-page .story-map[data-story-map="possibilities"] .story-map-alternatives{opacity:1;background:#e2eee1;border-color:#507c61;transform:translateY(-3px)}
.reader-page .story-map[data-story-map="possibilities"] .story-map-event{opacity:.85}
.reader-page .story-map-explanation{margin:16px 0 0!important;padding:13px 15px;background:#fff;border-radius:10px;border-left:3px solid #b39460;font-size:.94rem;line-height:1.55}
.reader-page #story .choice-row{margin-top:16px}
@media(max-width:600px){.reader-page .story-visual-explainer{padding:14px}.reader-page .story-map{grid-template-columns:1fr;gap:4px}.reader-page .story-map-node{min-height:90px;padding:10px}.reader-page .story-map-connector{height:20px;width:2px;margin:auto}.reader-page .story-map-connector:after{right:-4px;top:auto;bottom:0;border-top:7px solid #b2bdac;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:0}}
@media(prefers-reduced-motion:reduce){.reader-page .story-map-node{transition:none;transform:none!important}}
