.fighter-map { max-width: 1440px; margin: 0 auto; padding: 28px 24px 64px; color: #19243a; }
.fighter-map [hidden] { display: none !important; }
.map-breadcrumbs { font-size: .85rem; margin-bottom: 28px; }
.map-eyebrow { font-size: .7rem; letter-spacing: .15em; font-weight: 800; color: #56657b; }
.map-intro h1 { font-size: clamp(1.8rem,4vw,3rem); letter-spacing: -.04em; margin: 10px 0 14px; }
.map-intro > p:not(.map-eyebrow) { margin: 12px 0; }
.map-coverage strong { color: #1646a0; }
.map-note { color: #56657b; font-size: .88rem; line-height: 1.7; }
.map-search-row { display: flex; align-items: end; gap: 24px; margin-top: 28px; }
#map-search-form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px 8px; flex: 1; max-width: 660px; }
#map-search-form label { grid-column: 1 / -1; font-size: .9rem; font-weight: 700; }
#map-search { min-width: 0; border: 1px solid #bac6d7; border-radius: 10px; padding: 12px; font: inherit; background: white; }
.fighter-map button { min-height: 44px; border: 1px solid #b9c6d9; background: white; color: #19243a; font: inherit; font-size: .9rem; font-weight: 700; border-radius: 9px; padding: 9px 14px; cursor: pointer; }
.fighter-map button:hover { background: #eaf1fd; }
.fighter-map button:disabled { opacity: .5; cursor: default; }
.fighter-map :is(button,input,a,summary,svg):focus-visible { outline: 3px solid #1767d6; outline-offset: 3px; }
.map-search-results { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 20px; }
.map-workspace { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 20px; align-items: start; margin-top: 20px; }
.map-stage, .map-detail { background: white; border: 1px solid #d6deea; border-radius: 18px; overflow: hidden; min-width: 0; }
.map-stage-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px; }
.map-stage-top h2 { font-size: 1.25rem; margin: 5px 0 0; }
.map-canvas-wrap { position: relative; background-color: #f2f5fa; background-image: radial-gradient(#cbd5e3 1px,transparent 1px); background-size: 22px 22px; border-block: 1px solid #d6deea; }
#fighter-map-svg { display: block; width: 100%; height: auto; min-height: 340px; aspect-ratio: 900 / 560; touch-action: none; cursor: grab; }
#fighter-map-svg:active { cursor: grabbing; }
.map-zoom { display: flex; justify-content: end; gap: 6px; padding: 10px; }
.map-zoom button { min-width: 44px; box-shadow: 0 2px 5px #142a4712; }
.map-node, .map-edge { cursor: pointer; outline: none; }
.map-node rect { fill: white; stroke: #aebed4; stroke-width: 2; }
.map-node text { fill: #19243a; font-size: 17px; font-weight: 750; pointer-events: none; }
.map-node .map-node-caption { fill: #58677d; font-size: 12px; font-weight: 500; }
.map-node-center rect { fill: #162b4d; stroke: #162b4d; }
.map-node-center text, .map-node-center .map-node-caption { fill: white; }
.map-node:hover rect, .map-node[aria-pressed="true"] rect { stroke: #236bd3; stroke-width: 4; }
.map-node:focus-visible rect { stroke: #ae3217; stroke-width: 6; }
.map-edge-hit { stroke: transparent; stroke-width: 30; }
.map-edge-line { stroke: #94a9c5; stroke-width: 2.5; pointer-events: none; }
.map-edge-badge { fill: white; stroke: #becde0; }
.map-edge text { fill: #3d5679; font-size: 14px; font-weight: 700; }
.map-edge:hover .map-edge-line, .map-edge[aria-pressed="true"] .map-edge-line { stroke: #236bd3; stroke-width: 5; }
.map-edge:focus-visible .map-edge-line, .map-edge:focus-visible .map-edge-badge { stroke: #ae3217; stroke-width: 5; }
.map-page-controls { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; padding: 8px 14px; }
#map-status { font-size: .85rem; color: #56657b; }
#map-help, .map-trail { margin: 4px 20px 18px; }
.map-trail summary { cursor: pointer; font-size: .9rem; }
#map-trail { display: flex; gap: 8px; flex-wrap: wrap; padding-left: 24px; align-items: center; }
#map-trail li { margin-right: 18px; font-size: .85rem; }
.map-detail { padding: 22px; }
#map-detail-title { font-size: 1.25rem; line-height: 1.65; margin: 0; overflow-wrap: anywhere; }
.map-detail h3 { font-size: 1rem; margin-top: 24px; }
.map-detail .map-primary { display: block; width: 100%; margin: 16px 0; background: #184ca4; border-color: #184ca4; color: white; }
.map-detail .map-primary:hover { background: #123b82; }
.map-detail a { overflow-wrap: anywhere; }
.map-opponents, .map-bout-list { list-style: none; padding: 0; }
.map-opponents li { margin-top: 10px; }
.map-opponents button { width: 100%; text-align: left; }
.map-edge-actions { display: grid; gap: 8px; }
.map-bout-list li { border-top: 1px solid #d6deea; margin-top: 20px; padding-top: 16px; font-size: .85rem; }
.map-bout-list p { margin: 8px 0; }
.map-bout-list small { display: block; color: #56657b; margin-top: 6px; }
.map-bout-list summary { cursor: pointer; padding: 10px 0; }
.map-result { font-weight: 700; }
.map-date { color: #56657b; font-size: .8rem; }
.map-records { margin-top: 40px; scroll-margin-top: 140px; }
.map-records h2 { font-size: 1.4rem; }
.map-record-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.map-record-grid article { background: white; border: 1px solid #d6deea; border-radius: 12px; padding: 20px; min-width: 0; }
.map-record-grid h3 { margin: 0; font-size: 1.05rem; line-height: 1.8; }
.map-record-grid ul { list-style: none; padding: 0; }
.map-record-grid li { border-top: 1px solid #d6deea; margin-top: 12px; padding-top: 12px; font-size: .9rem; }
.map-record-grid li > span { display: block; margin-bottom: 8px; color: #56657b; }
.map-record-grid small { color: #56657b; overflow-wrap: anywhere; }
@media(max-width:1000px) { .map-workspace { grid-template-columns: minmax(0,1fr); } .map-detail { scroll-margin-top: 140px; } }
@media(max-width:600px) { .fighter-map { padding: 20px 12px 40px; } .map-breadcrumbs { margin-bottom: 22px; } .map-search-row { align-items: stretch; flex-direction: column; gap: 12px; } .map-stage-top { padding: 16px 12px; align-items: start; } .map-stage-top h2 { font-size: 1.08rem; } .map-stage-top button { flex: 0 0 auto; font-size: .8rem; padding: 8px; } .map-record-grid { grid-template-columns: minmax(0,1fr); } }

#map-center, #map-detail-title { scroll-margin-top: 160px; }
