
/* V30: Stories & Connected History. Does not alter other pages. */
.v30-story-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 24px}
.v30-story-choice{padding:0;overflow:hidden;min-width:0;cursor:pointer;text-align:left;background:#fff;border:2px solid #d2e2d6;border-radius:16px;color:#174536;font:inherit;box-shadow:0 4px 13px #18392d13}
.v30-story-choice img{display:block;width:100%;aspect-ratio:8/5;object-fit:cover}
.v30-story-choice span{display:block;font-size:.92rem;padding:10px 12px;font-weight:750}
.v30-story-choice[aria-current=true]{border-color:#147754;box-shadow:0 0 0 3px #cbe8d3}
.v30-scene-image{display:block;width:100%;height:auto;max-height:340px;object-fit:cover;border-radius:17px;margin:18px 0}
.v30-reader-settings{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:14px 16px;background:#eef4e9;border-radius:14px;margin:14px 0}
.v30-reader-settings label{display:grid;gap:4px;font-size:.83rem;color:#254d3b;font-weight:700}
.v30-reader-settings select{min-height:44px;max-width:220px;padding:8px;border:1px solid #86aa95;border-radius:8px;background:#fff;color:#1a4936}
.v30-narration-status{font-size:.85rem;color:#375e4c;margin:0}
.v30-timeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:18px 0}
.v30-event{width:100%;height:100%;text-align:left;font:inherit;cursor:pointer;background:#fff;border:2px solid #d0e0d1;border-radius:15px;padding:15px;color:#174536;min-height:110px}
.v30-event[aria-pressed=true]{border-color:#167451;background:#ebf5e9;box-shadow:0 0 0 2px #bedfc6}
.v30-event strong,.v30-event small{display:block}.v30-event small{margin-top:7px;color:#567060}
.v30-event-detail{padding:22px;border-radius:18px;border:1px solid #bcd5c0;background:#f1f6ee;min-height:195px}
.v30-event-detail h3{margin:0 0 9px;color:#184733}.v30-event-detail p{max-width:80ch}
.v30-event-detail a{display:inline-flex;min-height:44px;align-items:center;padding:9px 13px;border-radius:10px;background:#13533e;color:#fff;text-decoration:none;font-weight:700;margin:7px 9px 4px 0}
.v30-event-detail a:focus-visible,.v30-story-choice:focus-visible,.v30-event:focus-visible{outline:3px solid #d7a340;outline-offset:3px}
@media(max-width:800px){.v30-story-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.v30-timeline{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.v30-story-picker{gap:8px}.v30-story-choice span{font-size:.81rem;padding:9px}.v30-timeline{grid-template-columns:1fr}.v30-event{min-height:68px}.v30-reader-settings select{max-width:100%}.v30-scene-image{max-height:230px}}
