/* 地図(地図ウィンドウ・Live 画面の地図パネル共通) */
.mapwin { height: 100vh; height: 100dvh; display: flex; flex-direction: column; margin: 0; overflow: hidden; }
.mapbar { flex-wrap: wrap; gap: 6px; }
.mapmain { flex: 1; display: flex; min-height: 0; }
.mapcanvas { flex: 1; min-height: 240px; background: #dfe3e6; }
.maplist { width: 280px; overflow: auto; padding: 6px; border-left: 1px solid var(--line, #8884); }
.nolist .maplist { display: none; }
.pip .mapbar .brand, .pip .mapbar label, .pip #mFmt, .pip #mList { display: none; }
.pip .mapbar { padding: 3px 6px; }
@media (max-width: 720px) {
  .mapmain { flex-direction: column; }
  .maplist { width: auto; max-height: 34vh; border-left: 0; border-top: 1px solid var(--line, #8884); }
}

.map-blank { background: repeating-linear-gradient(0deg, #eef1f3, #eef1f3 23px, #e3e7ea 24px) !important; }
@media (prefers-color-scheme: dark) { .map-blank { background: #1d2124 !important; } .mapcanvas { background: #2a2e31; } }
.map-gridlbl { font: 10px/1 ui-monospace, monospace; color: #667; white-space: nowrap; background: transparent; border: 0; }
.leaflet-tooltip.map-tip { font: 11px/1.3 ui-monospace, monospace; padding: 2px 5px; }
.gm-dot { display: flex; align-items: center; gap: 4px; transform: translateY(50%); }
.gm-dot i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 2px #000a; }
.gm-dot span { font: 11px/1.3 ui-monospace, monospace; background: #fffe; color: #111; padding: 1px 4px; border-radius: 3px; white-space: nowrap; }

/* 一覧 */
.gp { padding: 5px 6px; border-bottom: 1px solid var(--line, #8883); }
.gp.stopped { opacity: .55; }
.gp-h { display: flex; align-items: center; gap: 6px; }
.gp-h i { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.gp-c { font-size: 13px; margin: 2px 0 1px 17px; user-select: all; }
.gp-d { margin-left: 17px; }

/* Live 画面: 地図パネル・タイル横の座標 */
.geo-map { height: 360px; border-radius: 4px; overflow: hidden; }
.geo-wrap { display: grid; grid-template-columns: 1fr 260px; gap: 8px; }
.geo-wrap .maplist { width: auto; max-height: 360px; border-left: 0; padding: 0; }
@media (max-width: 900px) { .geo-wrap { grid-template-columns: 1fr; } .geo-map { height: 300px; } }
.tile .geo { position: absolute; right: 6px; top: 6px; font: 11px/1.35 var(--mono, ui-monospace, monospace); color: #fff; background: var(--hud, #000a); padding: 2px 6px; border-radius: 3px; text-align: right; pointer-events: auto; user-select: all; }
.tile .geo i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 4px; vertical-align: 0; }
.tile .geo.stopped { opacity: .5; }
.tiles:not(.hudoff) .tile .geo { top: auto; bottom: 34px; }
.tiles.geooff .tile .geo { display: none; }
.mapbar select { color: var(--text); background: var(--panel); }
