/* STAGE9: 地図で遊ぶ。記事の雑学カード・数値ランキングから独立した体験。 */
.geo-map-intro{background:#eef8fc;border-left:4px solid #2183a5;padding:12px 15px;font-size:.88rem;line-height:1.8;margin:8px 0;color:#2b5367}
.geo-map-intro a{color:#176385;text-decoration:underline;text-underline-offset:3px}
.geo-optional-topics{border:1px solid #d8e8ee;border-radius:12px;margin:20px 0;padding:0;background:#f8fcfe;color:#234e67}
.geo-optional-topics summary{padding:15px;font-size:.9rem;font-weight:750;cursor:pointer;list-style-position:inside}
.geo-optional-topics[open]{padding-bottom:14px}
.geo-optional-topics[open]>.discovery-themes-heading,.geo-optional-topics[open]>.discovery-topic-tabs,.geo-optional-topics[open]>.discovery-topic-content,.geo-optional-topics[open]>.discovery-disclaimer{margin-left:14px;margin-right:14px}
.geo-play-section{scroll-margin-top:28px;padding:24px 0 12px;min-width:0;border-top:1px solid #c7e1ed}
.geo-play-eyebrow{font-size:.73rem;letter-spacing:.13em;font-weight:800;color:#367f99;margin-bottom:5px}
#geoPlayTitle{color:#15465e;font-size:clamp(1.25rem,3.6vw,1.65rem);line-height:1.4;letter-spacing:.02em;margin-bottom:6px}
.geo-play-lead{color:#456779;font-size:.91rem;line-height:1.75;margin-bottom:20px}
.geo-play-card{min-width:0;border:1px solid #cbdfeb;background:#f8fcfe;border-radius:16px;padding:20px;margin:0 0 18px;box-shadow:0 3px 14px #2359790a}
.geo-play-label{color:#217291;font-size:.8rem;font-weight:800;margin-bottom:5px}
.geo-play-card h4{font-size:1.12rem;color:#173f56;line-height:1.48;margin-bottom:10px}
.geo-play-help{font-size:.85rem;color:#4b6573;line-height:1.75;margin-bottom:16px}
.geo-north-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.geo-north-choices button{min-height:74px;border-radius:12px;border:2px solid #c4dce6;background:#fff;color:#17465e;font-size:1.04rem;font-weight:800;padding:12px;cursor:pointer;overflow-wrap:anywhere}
.geo-north-choices button:hover:not(:disabled){background:#e7f6fc;border-color:#2582a6}
.geo-north-choices button.is-correct{border-color:#248765;background:#e8f7f1;color:#15583e}
.geo-north-choices button.is-wrong{border-color:#d69c78;background:#fff0e8;color:#854322}
.geo-north-choices button:disabled{cursor:default;opacity:1}
.geo-play-feedback{margin-top:14px;border-left:4px solid #2f92ac;border-radius:8px;padding:11px 13px;background:#e9f5f9;color:#1c4c61;font-size:.89rem;line-height:1.8}
.geo-play-feedback[hidden]{display:none}
.geo-play-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.geo-button{border:1px solid #1d678b;border-radius:10px;min-height:44px;padding:11px 15px;background:#1a6384;color:#fff;font-size:.86rem;font-weight:750;cursor:pointer;flex:1 1 160px}
.geo-button-secondary{background:#fff;color:#1d5d7b;border-color:#b0cfdd}
.geo-button:disabled{opacity:.47;cursor:not-allowed}
.geo-button:focus-visible,.geo-north-choices button:focus-visible,.geo-presets button:focus-visible,.geo-distance-inputs select:focus-visible{outline:3px solid #f1a62b;outline-offset:3px}
.geo-distance-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.geo-distance-inputs label{font-size:.83rem;color:#31586e;font-weight:750;min-width:0;display:block}
.geo-distance-inputs select{display:block;appearance:auto;width:100%;min-width:0;padding:11px 9px;min-height:48px;margin-top:7px;border:1px solid #b5d1df;background:#fff;color:#193f55;border-radius:10px;font-size:1rem}
.geo-presets{display:flex;gap:7px;flex-wrap:wrap;margin:14px 0}
.geo-presets button{border-radius:999px;border:1px solid #b9d9e5;background:#eaf5f9;color:#1b5c77;padding:9px 12px;min-height:40px;font-size:.8rem;font-weight:700;cursor:pointer}
.geo-presets button:hover{background:#dceef6}
.geo-distance-result{background:#fff;border:1px solid #cee1e9;border-radius:12px;padding:15px;color:#2d5368;font-size:.91rem;line-height:1.65;min-height:58px}
.geo-distance-result strong{display:block;font-size:1.4rem;color:#145879;line-height:1.35;letter-spacing:.02em;margin:3px 0}
.geo-disclaimer{line-height:1.7;font-size:.76rem;color:#59727d;margin-top:9px}
@media(max-width:850px){
  header[role="group"] .nav-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:3px!important;width:100%;max-width:100%;overflow:visible!important;border-radius:14px}
  header[role="group"] .nav-btn{min-width:0!important;white-space:normal!important;font-size:clamp(11px,3vw,13px)!important;line-height:1.25!important;padding:11px 4px!important;min-height:46px}
  .geo-play-card{padding:17px 13px}
}
@media(max-width:420px){.geo-distance-inputs{grid-template-columns:1fr}.geo-north-choices button{font-size:.95rem;padding:10px 6px}.geo-play-actions{gap:8px}}
@media(prefers-reduced-motion:reduce){.geo-play-section{scroll-behavior:auto}}

/* STAGE11: PCのサイドパネルだけをスクロール可能にし、モバイルはページ内の切替先へ移動 */
@media(min-width:901px){.side-panel{overflow-x:hidden;overflow-y:auto}}
@media(max-width:900px){.side-panel{overflow:visible}}
#geoPlayView{min-width:0}
#geoPlayView .geo-play-section{border-top:0;padding-top:0;margin:0}
