/* Kanto trail: a responsive illustrated route, with HTML controls above SVG terrain. */
.menu-theme586 .kanto-chapter598{border:1px solid #d9cbb9!important;border-radius:18px!important;background:#fffcf3!important;padding:0!important;margin:16px 0!important;overflow:hidden}.kanto-chapter598>summary{position:relative;display:flex!important;align-items:center;justify-content:space-between;gap:16px;list-style:none;cursor:pointer;padding:22px 24px!important;background:linear-gradient(110deg,#2c3432,#576347);min-height:110px;box-sizing:border-box;color:#fff4da}.kanto-chapter598>summary::-webkit-details-marker{display:none}.kanto-cover-copy598{display:grid;gap:7px;min-width:0}.menu-theme586 .kanto-cover-copy598>small{font:800 9px/1.5 system-ui;letter-spacing:.16em;color:#e8d9af!important}.menu-theme586 .kanto-cover-copy598>strong{font:900 clamp(24px,4vw,34px)/1.1 system-ui;letter-spacing:-.04em;color:#fff7e6!important}.menu-theme586 .kanto-cover-copy598>span{font-size:11px;color:#dfdec8!important}.kanto-seal598{flex:0 0 46px;height:52px;display:grid;place-items:center;background:#edcf8b;color:#5b4234;font:900 26px/1 system-ui;clip-path:polygon(50% 0,100% 22%,88% 75%,50% 100%,12% 75%,0 22%);box-shadow:inset 0 0 0 4px #bda36d}.kanto-chapter598>summary:after{content:'＋';font-size:21px;color:#f5dfa9}.kanto-chapter598[open]>summary:after{content:'−'}.kanto-chapter598 .map-intro598{font-size:12px;line-height:1.6;padding:0 24px;margin:18px 0 12px;color:#62616b!important}.kanto-map598{position:relative;height:450px;margin:0 16px;border-radius:14px;overflow:hidden;isolation:isolate;background:#f2eedb}.kanto-land598{position:absolute;z-index:-1;inset:0;pointer-events:none}.kanto-land598 svg{width:100%;height:100%;display:block}.kanto-land598.mobile598{display:none}.kanto-map598[data-cleared="1"] .road-0598,.kanto-map598[data-cleared="1"] .road-1598{stroke:#d5ba8c}.kanto-map598[data-selected=meadow] .road-0598,.kanto-map598[data-selected=meadow] .road-2598,.kanto-map598[data-selected=quarry] .road-1598,.kanto-map598[data-selected=quarry] .road-3598{stroke:#be7580}.kanto-map598[data-cleared="3"] .road-4598,.kanto-map598[data-cleared="4"] .road-4598{stroke:#be7580}
.menu-theme586 .kanto-map598 .map-stop598{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;width:150px;min-height:100px;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;border-radius:12px;color:#37352f;cursor:pointer;overflow:visible;white-space:normal;transition:filter .15s}.map-stop598:hover{filter:brightness(1.05)}.map-stop598 .map-medal598{position:relative;width:76px;height:76px;display:grid;place-items:center;border:2px solid #c5b290;border-radius:50%;background:linear-gradient(#fff8df,#e8dcc4);box-shadow:0 4px 0 #a79477,0 8px 16px #6b604426}.map-stop598 .map-medal598>canvas{width:72px!important;height:85px!important;max-width:72px!important;position:absolute;bottom:4px;image-rendering:pixelated;background:none!important;border:0!important;box-shadow:none!important;margin:0!important}.map-rank598{position:absolute;right:-6px;bottom:-4px;width:24px;height:24px;display:grid;place-items:center;border:2px solid #fff7e9;border-radius:50%;background:#776b5d;color:#fff7e9;font:800 11px/1 system-ui;z-index:1}.menu-theme586 .map-stop598>strong{color:#37352f!important;font-size:12px;line-height:1.2;font-weight:800;background:#fff9e9ee;padding:5px 9px;border-radius:6px;border:1px solid #ddcfb8;max-width:100%;box-sizing:border-box}.menu-theme586 .map-stop598>small{font-size:9px;color:#5f564a!important;background:#fff9e9e8;padding:3px 5px;border-radius:4px}.map-stop598[data-done=true] .map-medal598{border-color:#568772;background:linear-gradient(#eff5dd,#d4e1c2)}.map-stop598[data-done=true] .map-rank598{background:#347054}.map-stop598[data-current=true] .map-medal598{border:3px solid #cd3345;box-shadow:0 0 0 5px #cd334515,0 4px 0 #9e3443,0 8px 18px #9e344326}.map-stop598[data-current=true] .map-rank598{background:#cd3345}.menu-theme586 .map-stop598[data-current=true]>strong{color:#b1283b!important;border-color:#d29c9f;background:#fff8e9}.menu-theme586 .map-stop598[data-current=true]>small{color:#a12c3c!important;font-weight:750}.map-stop598[data-untaken=true]{opacity:.58}.map-stop598[data-untaken=true] .map-medal598>canvas{filter:grayscale(1)}.kanto-map598 .map-boss598{width:165px}.map-boss598 .map-medal598{width:100px;height:100px;border-radius:18px;border-color:#b7935f;background:linear-gradient(135deg,#fff0bf,#dfc598);box-shadow:0 5px 0 #aa8250,0 12px 20px #7a604526}.map-boss598 .map-medal598>canvas{width:96px!important;height:115px!important;max-width:96px!important;bottom:3px}.map-boss598 .map-rank598{background:#8a6133;color:#ffedb3}.menu-theme586 .map-foot598{font-size:11px;line-height:1.6;color:#62616b!important;margin:14px 24px 20px}.map-stop598:focus-visible{outline:3px solid #a52a3c!important;outline-offset:7px}.menu-theme586 .map-inspect598>h2{font-size:28px;margin:8px 0}.map-inspect598 .map-inspect-top598{display:flex;gap:18px;align-items:center;padding:18px;background:#f5f0e7;border-radius:12px;margin-bottom:16px}.map-inspect-top598>canvas{width:84px!important;max-width:84px!important;height:100px!important}.map-inspect598 .map-inspect-top598 p{font-size:12px;line-height:1.6;margin:5px 0}.map-inspect598 .recruit-team526{grid-template-columns:repeat(3,minmax(0,1fr));margin:14px 0}.map-inspect598 .map-prize598{font-size:13px;line-height:1.6;background:#fff1d0;border:1px solid #e4cea0;border-radius:9px;padding:12px}.map-inspect598>.primary{width:100%;min-height:48px;margin-top:12px}.map-inspect598>.muted{font-size:12px;line-height:1.6}
@media(max-width:650px){.kanto-chapter598>summary{padding:18px 16px!important;gap:12px;min-height:100px}.kanto-cover-copy598>strong{font-size:25px!important}.kanto-seal598{flex-basis:36px;height:44px;font-size:22px}.kanto-map598{height:650px;margin:0 8px}.kanto-land598.wide598{display:none}.kanto-land598.mobile598{display:block}.menu-theme586 .kanto-map598 .map-stop598{left:var(--mx);top:var(--my);width:130px;gap:6px}.map-stop598 .map-medal598{width:62px;height:62px}.map-stop598 .map-medal598>canvas{width:60px!important;max-width:60px!important;height:76px!important}.menu-theme586 .map-stop598>strong{font-size:11px;padding:4px 7px}.menu-theme586 .map-stop598>small{font-size:8px;line-height:1.2;max-width:114px}.kanto-map598 .map-boss598 .map-medal598{width:86px;height:86px}.map-boss598 .map-medal598>canvas{width:82px!important;max-width:82px!important;height:101px!important}.kanto-chapter598 .map-intro598{font-size:11px;padding:0 16px}.menu-theme586 .map-foot598{margin:14px 16px 18px;font-size:10px}.map-inspect598 .map-inspect-top598{padding:12px;gap:12px}.map-inspect-top598>canvas{width:64px!important;max-width:64px!important;height:85px!important}}
@media(max-width:360px){.menu-theme586 .kanto-map598 .map-stop598{width:110px}.kanto-map598{height:650px}.menu-theme586 .map-stop598>strong{font-size:10px}.menu-theme586 .map-stop598>small{max-width:98px}.kanto-cover-copy598>strong{font-size:22px!important}}
@media(prefers-reduced-motion:reduce){.map-stop598{transition:none}}

/* Keep legacy chapter previews readable alongside the illustrated Kanto route. */
.menu-theme586 .route-map515 .route-cover515>strong{color:#fff8e9!important;text-shadow:none!important}.menu-theme586 .route-map515 .route-cover515>small{color:#f0ece2!important;text-shadow:none!important}.menu-theme586 .route-map515 .route-cover515>.route-chapter-number515{color:#ffe1a1!important;text-shadow:none!important}.menu-theme586 .route-map515 .route-legend568>span{background:#f6f0e3!important;border-color:#d9cbb9!important;color:#544d43!important}.menu-theme586 .kanto-map598 .map-medal598>canvas{outline:none!important}
