.wm508{min-width:0;width:100%;box-sizing:border-box;margin:18px 0 6px;padding:18px;border:1px solid #d9dfe8;border-radius:16px;background:#ffffff;color:#1f2937;font-family:inherit;line-height:1.5;max-width:100%}
.wm508 *{box-sizing:border-box}
.wm508 .wm-lead{margin:0 0 12px;font-size:1rem}
.wm508 .wm-stage{position:relative;direction:ltr;background:#eaf0f7;border-radius:12px;overflow:hidden;border:1px solid #d3dce8}
.wm508 .wm-map svg{display:block;width:100%;height:auto;touch-action:pan-y;cursor:grab}
.wm508 .wm-c{fill:#cdd3dc;stroke:#ffffff;stroke-width:.5;vector-effect:non-scaling-stroke;cursor:pointer;outline:none;transition:fill .15s}
.wm508 .wm-c.wm-g{fill:#2f8f5b}.wm508 .wm-c.wm-a{fill:#e0a526}.wm508 .wm-c.wm-r{fill:#c0463c}
.wm508 .wm-c:hover,.wm508 .wm-c:focus{stroke:#1e3a5f;stroke-width:1.6}
.wm508 .wm-c.wm-sel{stroke:#1e3a5f;stroke-width:2.2}
.wm508 .wm-dot{stroke:#1e3a5f;stroke-width:1}
.wm508 .wm-zoom{position:absolute;top:8px;right:8px;display:flex;flex-direction:column;gap:4px}
.wm508 .wm-zoom button{width:34px;height:34px;border:1px solid #b9c4d3;border-radius:8px;background:#ffffff;color:#1e3a5f;font-size:18px;line-height:1;cursor:pointer;padding:0}
.wm508 .wm-legend{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px 16px;list-style:none;margin:12px 0;padding:0;font-size:.9rem}
.wm508 .wm-legend li{display:flex;gap:8px;align-items:flex-start}
.wm508 .wm-sw{flex:0 0 14px;height:14px;margin-top:4px;border-radius:4px;border:1px solid rgba(0,0,0,.15)}
.wm508 .wm-sw.wm-kg{background:#2f8f5b}.wm508 .wm-sw.wm-ka{background:#e0a526}.wm508 .wm-sw.wm-kr{background:#c0463c}.wm508 .wm-sw.wm-kn{background:#cdd3dc}
.wm508 .wm-panel{min-height:3em;margin:10px 0;padding:12px 14px;border-radius:12px;background:#f6f8fb;border:1px solid #e1e7ef}
.wm508 .wm-panel:focus{outline:2px solid #d4a84b;outline-offset:2px}
.wm508 .wm-panel b{font-size:1.05rem}
.wm508 .wm-badge{display:inline-block;margin:0 6px;padding:1px 9px;border-radius:999px;font-size:.78rem;font-weight:700;color:#ffffff;vertical-align:middle}
.wm508 .wm-badge.wm-kg{background:#2f8f5b}.wm508 .wm-badge.wm-ka{background:#8a5e00;color:#ffffff}.wm508 .wm-badge.wm-kr{background:#c0463c}.wm508 .wm-badge.wm-kn{background:#5b6472}
.wm508 .wm-actions{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 4px}
.wm508 a.wm-btn{text-decoration:none!important;display:inline-block;padding:11px 18px;border-radius:999px;font-weight:700;font-size:.95rem;text-decoration:none;text-align:center;border:2px solid #1e3a5f;background:#1e3a5f;color:#ffffff;min-height:44px}
.wm508 a.wm-btn.alt{background:#d4a84b;border-color:#d4a84b;color:#1e2a3a}
.wm508 a.wm-btn:hover,.wm508 a.wm-btn:focus{filter:brightness(1.1);text-decoration:none}
.wm508 .wm-actions.sub{margin-top:2px}.wm508 .wm-actions.sub a.wm-btn{font-size:.85rem;padding:8px 14px;min-height:38px;background:#ffffff;color:#1e3a5f;border-color:#1e3a5f}
.wm508 .wm-note{margin:12px 0 4px;padding:12px 14px;border-left:4px solid #d4a84b;background:#fbf7ec;border-radius:8px;font-size:.93rem}
.wm508 .wm-note a{color:#1e3a5f!important;font-weight:700;display:inline-block;margin:6px 16px 0 0;white-space:normal}
.wm508 .wm-note p{margin:0;overflow-wrap:anywhere}
.wm508 details.wm-lw{margin-top:12px}
.wm508 details.wm-lw summary{cursor:pointer;font-weight:700;color:#1e3a5f}
.wm508 .wm-list{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:6px}
.wm508 .wm-list button{width:100%;text-align:start;padding:8px 10px;border:1px solid #d9dfe8;border-radius:8px;background:#ffffff;color:#1f2937;font:inherit;font-size:.9rem;cursor:pointer;min-height:40px}
.wm508 .wm-list button:hover,.wm508 .wm-list button:focus{border-color:#1e3a5f}
.wm508 .wm-list .wm-badge{margin:0 0 0 4px;font-size:.7rem}
.wm508 .wm-disc{margin:10px 0 0;font-size:.78rem;color:#5b6472}
@media(max-width:600px){.wm508{padding:12px}.wm508 .wm-actions .wm-btn{flex:1 1 100%}}
@media(prefers-reduced-motion:reduce){.wm508 .wm-c{transition:none}}
.wm508 .wm-sum{margin:8px 0 0;font-size:.95rem}
.wm508 .wm-off{margin:8px 0 0;font-size:.9rem}
.wm508 .wm-off a{color:#1e3a5f;font-weight:700;margin-inline-start:4px}

/* mobile-gate 20261114c world map: 44px hit boxes and 14px+ text on phones and tablets (2026-11-14 regression round) */
@media (max-width:1024px){
.wm508 .wm-zoom button{width:44px;height:44px}
.wm508 .wm-list button{min-height:44px;font-size:14px}
.wm508 .wm-disc{font-size:14px}
.wm508 .wm-note a,.wm508 .wm-actions a{padding:13px 0}
}
