/* route-map viewer (opens from the "View Routes" buttons) */
.mv-overlay{position:fixed;inset:0;z-index:120;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(6,19,38,.82);backdrop-filter:blur(3px);font-family:'Poppins',system-ui,sans-serif;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s}
.mv-overlay.open{opacity:1;visibility:visible}
.mv-box{display:flex;flex-direction:column;width:min(1200px,100%);max-height:100%;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 24px 70px rgba(0,0,0,.5);transform:translateY(14px) scale(.98);transition:transform .25s}
.mv-overlay.open .mv-box{transform:none}
.mv-head{display:flex;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid #e2e8f0;color:#0f172a}
.mv-head h2{font-size:18px;font-weight:600;flex:1}
.mv-head a,.mv-head button{padding:7px 14px;border:1px solid #e2e8f0;border-radius:8px;background:#ffffff;color:#0f172a;font:inherit;font-size:13px;cursor:pointer;text-decoration:none;white-space:nowrap}
.mv-head a:hover,.mv-head button:hover{background:#e0e7ff}
.mv-head .mv-go{background:#6366f1;border-color:#6366f1;color:#fff}.mv-head .mv-go:hover{background:#4f46e5}
.mv-head .mv-x{width:36px;height:36px;padding:0;border-radius:50%;font-size:22px;line-height:1}
.mv-body{overflow:auto;background:#0b1020;text-align:center;flex:1}
.mv-body img{display:block;width:100%;height:auto;margin:0 auto;cursor:zoom-in}
.mv-body.zoomed img{width:1800px;max-width:none;cursor:zoom-out}
.mv-msg{padding:40px;color:#fff}
.mv-hint{padding:8px 18px;font-size:12px;color:#64748b;border-top:1px solid #e2e8f0;background:#ffffff}
.mv-head :focus-visible{outline:2px solid #0f172a;outline-offset:2px}
@media(max-width:600px){.mv-head{flex-wrap:wrap}.mv-head h2{flex-basis:100%;order:-1}}
