/* Программист: Тахир Тухтаров. Код — собственность компании X-WORLD. */
.earth-dialog{width:min(1700px,97vw);max-width:97vw;max-height:96dvh;padding:16px 20px;border:1px solid #526b65;border-radius:16px;background:#102329;color:#e8ede5;overflow:auto}.earth-dialog::backdrop{background:#030b10d9;backdrop-filter:blur(4px)}.earth-header,.earth-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px}.earth-header h2{font-size:20px;margin:0}.earth-counts{font-size:13px;color:#edc574;margin:8px 0}.earth-notice,.earth-geo-note{font-size:11px;color:#aec2bd;margin:7px 0;line-height:1.5}.earth-canvas{height:calc(94dvh - 240px);min-height:320px;background:#aad3df;border-radius:10px;z-index:0}.earth-bottom{padding-top:10px;flex-wrap:wrap}.earth-tools{display:flex;gap:6px;flex-wrap:wrap}.earth-tools button{font-size:12px;min-width:38px}.earth-detail{display:flex;gap:6px 14px;flex-wrap:wrap;font-size:12px}.earth-detail strong{font-size:15px}.earth-edit{margin-top:12px;font-size:12px}.earth-edit summary{cursor:pointer;color:#edc574}.earth-edit form{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding-top:12px}.earth-edit input{padding:10px;background:#172f35;color:white;border:1px solid #54716e;border-radius:7px;max-width:100%}.earth-edit p{flex-basis:100%;margin:0;color:#acc0bd}.earth-bunker{background:#d7e5d9;border:1px solid #28433a;border-radius:3px;box-shadow:0 1px 5px #0008}.earth-bunker.own{background:#f0c76b;border-color:#815c1d}.earth-bunker svg{width:100%;height:100%;fill:#718d7e;stroke:#102329;stroke-width:1.5}.earth-bunker.own svg{fill:#d6a547}.earth-cluster{display:grid;place-items:center;background:#193f39e8;border:2px solid #d8c283;border-radius:50%;color:white;font:bold 12px system-ui}.earth-label{font:11px system-ui;max-width:220px;white-space:normal}.leaflet-control-attribution{font-size:9px!important}.earth-dialog .leaflet-container{font-family:system-ui}.earth-dialog .leaflet-control-attribution a{color:#165d83}@media(max-width:650px){.earth-dialog{padding:12px}.earth-header h2{font-size:16px}.earth-canvas{height:calc(94dvh - 300px);min-height:280px}.earth-tools button{font-size:10px;padding:8px}.earth-counts{font-size:11px}.earth-edit form{display:block}.earth-edit label,.earth-edit input{display:block;width:100%;margin:8px 0}}
.earth-bunker{border-width:2px;box-shadow:0 0 0 2px #ffffffbd,0 2px 6px #0009}.earth-bunker.own,.earth-cluster.own{box-shadow:0 0 0 3px #f6cc68bb,0 2px 7px #000a;border-color:#684914}.earth-cluster.own{background:#87601f}

/* Чёрные квадратные бункеры читаются на любом масштабе; подписи только игровых городов. */
.earth-bunker,.earth-bunker.own{background:#050505;border:2px solid #fff;border-radius:0;box-shadow:0 1px 5px #0009}.earth-bunker.own{box-shadow:0 0 0 2px #050505,0 0 0 4px #fffc}
.earth-cluster,.earth-cluster.own{background:#050505;border:2px solid white;border-radius:0;color:white;box-shadow:0 1px 5px #0009}
.earth-label{color:#000!important;font-weight:700;background:#ffffffde;border:0;box-shadow:0 1px 3px #0004;padding:3px 5px}.earth-canvas .leaflet-maplibre-gl{pointer-events:none}

.earth-label{white-space:nowrap;max-width:220px;overflow:hidden;text-overflow:ellipsis}
