/* gi-map.css - Game info map page (built by tools-website/map/build_map.py; the per-kind colours are appended by the build) */
.gm-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 4px}
.gm-tabs button{font:700 13px/1.6 var(--mono);color:var(--text);background:rgba(0,0,0,.35);border:1px solid rgba(127,151,156,.5);border-radius:3px;padding:5px 12px;cursor:pointer}
.gm-tabs button:hover,.gm-tabs button:focus-visible{background:rgba(79,240,238,.12)}
.gm-tabs button[aria-selected="true"]{background:rgba(79,240,238,.2);border-color:rgba(79,240,238,.8);color:var(--cyan)}
.gm-note{margin:4px 0 8px;font-size:13px;opacity:.85;min-height:1em}
.gm-types{display:flex;flex-wrap:wrap;gap:4px 14px;margin:8px 0 4px;padding:8px 10px;border:1px solid rgba(127,151,156,.35);border-radius:3px}
.gm-types legend{font:700 12px/1.6 var(--mono);padding:0 4px}
.gm-t{display:inline-flex;align-items:center;gap:5px;font-size:13px;cursor:pointer;white-space:nowrap}
.gm-t input{margin:0}
.gm-n{opacity:.7;font-size:12px}
.gm-hint{font-size:12px;opacity:.8;margin:2px 0 6px}
.gm-sw{display:inline-block;width:11px;height:11px;border-radius:50%;border:1.5px solid #fff;vertical-align:middle;margin-right:5px;flex:0 0 auto}
.gm-search .gm-lines{display:inline-flex;align-items:center;gap:4px;font:700 12px/1.6 var(--mono)}
.gm-map{position:relative;width:100%;height:min(72vh,640px);min-height:300px;overflow:hidden;background:#3a3f40;border:1px solid rgba(127,151,156,.5);border-radius:3px;touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}
.gm-map:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}
.gm-map:active{cursor:grabbing}
.gm-stage{position:absolute;left:0;top:0;width:512px;height:512px;transform-origin:0 0}
.gm-img{position:absolute;left:0;top:0;width:512px;height:512px;max-width:none;pointer-events:none;-webkit-user-drag:none}
.gm-svg{position:absolute;left:0;top:0;width:512px;height:512px;overflow:visible}
.gm-svg circle{stroke:#fff;cursor:pointer}
.gm-svg circle.sel{stroke:#000}
.gm-zoom{position:absolute;right:8px;top:8px;display:flex;flex-direction:column;gap:4px}
.gm-zoom button{min-width:40px;min-height:40px;font:700 16px/1 var(--mono);color:var(--text);background:rgba(7,24,28,.9);border:1px solid rgba(127,151,156,.7);border-radius:3px;cursor:pointer}
.gm-zoom button:hover,.gm-zoom button:focus-visible{background:rgba(79,240,238,.2)}
.gm-zoom button#gm-fit{font-size:12px}
.gm-info{margin:10px 0;padding:8px 12px;border:1px solid rgba(127,151,156,.45);border-radius:3px;min-height:3.2em}
.gm-info .gm-empty{margin:0;opacity:.8;font-size:13px}
.gm-info .gm-name{margin:0 0 4px;font-size:16px}
.gm-info dl{display:grid;grid-template-columns:auto 1fr;gap:2px 12px;margin:0;font-size:13px}
.gm-info dt{font:700 12px/1.6 var(--mono);opacity:.85}
.gm-info dd{margin:0}
#gm-table tbody tr{cursor:pointer}
#gm-table tbody tr:hover td,#gm-table tbody tr:focus td{background:rgba(79,240,238,.08)}
@media (max-width:600px){.gm-map{height:62vh}.gm-t{font-size:12px}}
.gm-svg circle.gm-c-vendor,.gm-sw.gm-c-vendor,.gm-t-vendor .gm-sw{fill:#d1495b;background:#d1495b}
.gm-svg circle.gm-c-collector,.gm-sw.gm-c-collector,.gm-t-collector .gm-sw{fill:#7b2cbf;background:#7b2cbf}
.gm-svg circle.gm-c-subway,.gm-sw.gm-c-subway,.gm-t-subway .gm-sw{fill:#0b63ce;background:#0b63ce}
.gm-svg circle.gm-c-broker,.gm-sw.gm-c-broker,.gm-t-broker .gm-sw{fill:#e07a00;background:#e07a00}
.gm-svg circle.gm-c-plaza,.gm-sw.gm-c-plaza,.gm-t-plaza .gm-sw{fill:#2a9d8f;background:#2a9d8f}
.gm-svg circle.gm-c-club,.gm-sw.gm-c-club,.gm-t-club .gm-sw{fill:#c2187a;background:#c2187a}
.gm-svg circle.gm-c-monument,.gm-sw.gm-c-monument,.gm-t-monument .gm-sw{fill:#6b4f2a;background:#6b4f2a}
.gm-svg circle.gm-c-park,.gm-sw.gm-c-park,.gm-t-park .gm-sw{fill:#3a7d1e;background:#3a7d1e}
.gm-svg circle.gm-c-town,.gm-sw.gm-c-town,.gm-t-town .gm-sw{fill:#5a6b7a;background:#5a6b7a}
.gm-svg circle.gm-c-dungeon,.gm-sw.gm-c-dungeon,.gm-t-dungeon .gm-sw{fill:#1d1d1d;background:#1d1d1d}
.gm-svg circle.gm-c-contact,.gm-sw.gm-c-contact,.gm-t-contact .gm-sw{fill:#b8860b;background:#b8860b}
