/* Desert Grognards shared map v2.0.0. Looks and handles like the Dataslate map. */
.dgm-board{position:relative;width:100%;max-width:100%;min-width:0;border:3px solid #475569;border-radius:12px;overflow:hidden;background:#3b4636;line-height:0}
.dgm-svg{display:block;width:100%;height:auto;touch-action:none;user-select:none;-webkit-user-select:none}
.dgm-felt{fill:#3b4636}
.dgm-grid{fill:none;stroke:rgba(255,255,255,.09);stroke-width:1;pointer-events:none}
.dgm-coord{font:700 8px system-ui,sans-serif;fill:rgba(255,255,255,.32);pointer-events:none}
.dgm-shape{fill-opacity:.85;stroke:#292524;stroke-width:2;vector-effect:non-scaling-stroke}
.dgm-sel .dgm-shape{stroke:#fbbf24;stroke-width:3}
.dgm-label{font:800 9px system-ui,sans-serif;fill:#f5f5f4;text-anchor:middle;paint-order:stroke;stroke:rgba(0,0,0,.6);stroke-width:2.5px;pointer-events:none}
.dgm-label-obj{font-size:8px}
.dgm-editable .dgm-obj{cursor:move}
.dgm-editable .dgm-objective{cursor:pointer}
.dgm-handle{fill:#fbbf24;stroke:#78350f;stroke-width:1.5}
.dgm-resize{cursor:nwse-resize}
.dgm-rotate{cursor:grab}
.dgm-handle-stem{stroke:#fbbf24;stroke-width:2;pointer-events:none}
.dgm-editor{display:grid;gap:10px;width:100%;max-width:100%;min-width:0;outline:none}
.dgm-editor:focus-visible .dgm-board{border-color:#6366f1}
.dgm-toolbar{display:flex;gap:6px 12px;flex-wrap:wrap}
.dgm-group{display:inline-flex;gap:6px;flex-wrap:wrap}
.dgm-toolbar button{padding:7px 10px;border:1px solid #475569;border-radius:8px;background:#1e293b;color:#e2e8f0;font:800 12px/1.2 system-ui,sans-serif;cursor:pointer}
.dgm-toolbar button:hover:not(:disabled){background:#273449}
.dgm-toolbar button:disabled{opacity:.4;cursor:not-allowed}
.dgm-toolbar button.dgm-danger{border-color:#9f1239;color:#fecdd3}
.dgm-help{margin:0;color:#94a3b8;font-size:12px;line-height:1.5}
.dgm-stage{width:100%;min-width:0}
.dgm-inspector{box-sizing:border-box;display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px;align-items:end;width:100%;min-width:0;padding:10px;border:1px solid #334155;border-radius:10px;background:#0b1222;min-height:52px}
.dgm-inspector label{min-width:0;font:900 10px system-ui,sans-serif;text-transform:uppercase;letter-spacing:.06em;color:#94a3b8}
.dgm-inspector input,.dgm-inspector select{box-sizing:border-box;width:100%;min-width:0;margin-top:3px;padding:6px;border:1px solid #475569;border-radius:6px;background:#111827;color:#fff;font:14px system-ui,sans-serif}
.dgm-inspector input[type=color]{height:34px;padding:2px}
.dgm-inspector .dgm-check{display:flex;align-items:center;gap:6px;padding-bottom:8px}
.dgm-inspector .dgm-check input{width:auto;margin:0}
.dgm-size,.dgm-empty{color:#94a3b8;font-size:12px;align-self:center}
.dgm-empty{grid-column:1/-1}
@media(max-width:640px){.dgm-toolbar button{font-size:11px;padding:7px}.dgm-inspector{grid-template-columns:repeat(2,minmax(0,1fr))}}
.dgm-label-sub{font-size:7px;font-weight:700;fill:#e7e5e4}
.dgm-label-zone{font-size:10px;fill:#e2e8f0;fill-opacity:.85}
.dgm-editable .dgm-zone{cursor:move}
