[hidden] { display: none !important; }
.captains-story { max-width: 760px; }
.captains-story .panel > p:not(.story-progress) { font-size: clamp(20px, 2.8vw, 22px); line-height: 1.5; }
.captains-story #route-choice > p, .captains-story #explain-route > p, .captains-story #route-result > p { font-size: clamp(20px, 2.8vw, 22px); line-height: 1.5; }
.scene-art { display: block; width: min(100%, 510px); height: auto; margin: 0 auto 15px; border-radius: 16px; }
.story-progress { font-weight: 750; color: #584475; }
.captains-story button.action { border: 0; cursor: pointer; font-family: inherit; font-size: 1rem; text-align: left; }
.captains-story .listen { background: #e9ddff; color: #382367; }
.captains-story :is(button, summary):focus-visible { outline: 3px solid #6337b4; outline-offset: 3px; }
.captains-story details { margin: 10px 0 16px; }
.captains-story summary { min-height: 44px; align-content: center; cursor: pointer; }
.route-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.route-card { min-width: 0; }
.route-card > .listen { margin-top: 8px; width: 100%; }
.route-button { display: grid; gap: .55rem; width: 100%; padding: 8px; border: 2px solid #9980c5; border-radius: 16px; background: #f9f4ff; color: #242046; cursor: pointer; font: inherit; font-weight: 750; }
.route-button:hover { border-color: #5934a2; }
.map { position: relative; display: block; }
.map img { display: block; width: 100%; height: auto; border-radius: 9px; }
.map canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
@media (max-width: 520px) { .route-cards { grid-template-columns: minmax(0, 1fr); } .scene-art { width: min(100%, 350px); } }
