.battle-map-entry { display:inline-flex;align-items:center;gap:8px; }
.modal__box.battle-map-modal { width:min(900px,96vw); }
.battle-map-entry__name { max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9em; }
.battle-map-list { display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px; }
.battle-map-choice { min-width:0;padding:12px;background:var(--bg-2);border:2px solid var(--line);color:var(--text-hi);border-radius:12px;display:flex;flex-direction:column;align-items:stretch;gap:9px;cursor:pointer; }
.battle-map-choice.is-on { border-color:var(--mint-500);box-shadow:inset 0 0 0 2px var(--bg-1); }
.battle-map-choice b { font-size:14px;line-height:1.4; }
.map-preview { width:100%;height:110px;display:block;background:#253036;border-radius:8px;padding:8px;box-sizing:border-box; }
.map-preview--random { display:grid;place-items:center;color:#f0c18a; }
.map-preview--random .icon { width:40px;height:40px; }
.map-preview__road { fill:#e5b77e; }
.map-preview__high { fill:#fff3cf;stroke:#b47a42;stroke-width:.04; }
.map-preview__edge { fill:#354047; }
.map-preview__water { fill:#7cc7d9; }
.map-preview__start { fill:#e65048; }
.map-preview__end { fill:#287fca; }
.map-preview__device {fill:#776044;stroke:#f2d09b;stroke-width:.08;}
.battle-map-focus {display:grid;grid-template-columns:minmax(0,2fr) minmax(120px,1fr);align-items:center;gap:18px;margin:12px 0;padding:12px;background:#fff5e5;border:1px solid #c99a67;border-radius:12px;}
.battle-map-focus .map-preview {height:160px;}
.battle-map-focus b {font-size:18px;}
.battle-map-focus p {font-size:13px;line-height:1.6;}
.map-preview-legend {display:flex;flex-wrap:wrap;gap:8px 18px;margin:10px 0 14px;font-size:12px;}
.map-preview-legend span {display:flex;align-items:center;gap:6px;}
.map-preview-legend i {width:11px;height:11px;border:1px solid #987959;border-radius:2px;}
.map-preview-legend .map-preview__start{background:#e65048;}.map-preview-legend .map-preview__end{background:#287fca;}.map-preview-legend .map-preview__high{background:#fff3cf;}.map-preview-legend .map-preview__road{background:#e5b77e;}
@media(max-width:600px){.battle-map-list{grid-template-columns:repeat(2,minmax(0,1fr));}.battle-map-focus{grid-template-columns:1fr;gap:6px;}.battle-map-focus .map-preview{height:130px;}}
@media(max-height:450px) { .map-preview { height:75px; }.battle-map-choice{padding:8px;}.battle-map-list{gap:8px;} }
