/* Fixed semantic selection, independent of ownership, map mode and hover.
   Layered non-scaling strokes provide a steady halo without SVG filters. */
.territory-selection-mark{mix-blend-mode:normal;opacity:1;pointer-events:none}
.territory-selection-mark[data-role=origin]{--selection-fill:#22db9c;--selection-line:#19d28e}
.territory-selection-mark[data-role=target]{--selection-fill:#fa5668;--selection-line:#f54b60}
.territory-selection-mark[data-role=regroup-origin]{--selection-fill:#ffca28;--selection-line:#ffc928}
.territory-selection-mark[data-role=regroup-target]{--selection-fill:#fff58a;--selection-line:#fff27a}
.territory-selection-mark[data-role=setup]{--selection-fill:var(--selection-team);--selection-line:color-mix(in srgb,var(--selection-team),#fff2c3 32%)}
.territory-selection-mark>use{pointer-events:none;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round;opacity:1;transition:none;animation:none}
.territory-selection-mark>.selection-halo{fill:none;stroke:var(--selection-line);stroke-width:10px;stroke-opacity:.3}
.territory-selection-mark>.selection-fill{fill:var(--selection-fill);fill-opacity:.34;stroke:var(--selection-line);stroke-width:3.6px;stroke-opacity:1;paint-order:stroke fill}
.territory-selection-mark>.selection-edge{fill:none;stroke:#fff2c3;stroke-width:1.1px;stroke-opacity:.95}
#territory-hits .territory-hit[data-selection-role],#territory-hits .territory-hit[data-selection-role]:is(:hover,.pressed,:focus){fill:transparent;fill-opacity:0;stroke:transparent;stroke-opacity:0;filter:none;transform:none;transition:none}
#territory-hits .territory-hit[data-regroup-role],#territory-hits .territory-hit[data-regroup-role]:is(:hover,.pressed,:focus){fill:transparent;fill-opacity:0;stroke:transparent;stroke-opacity:0;filter:none;transform:none;transition:none}
#territory-hits .territory-hit[data-setup-owner],#territory-hits .territory-hit[data-setup-owner]:is(:hover,.pressed,:focus){fill:transparent;fill-opacity:0;stroke:transparent;stroke-opacity:0;filter:none;transform:none;transition:none}
#regroup-highlights>.regroup-candidate{fill:#f4ce62;fill-opacity:.06;stroke:#f4ce62;stroke-width:1.2px;stroke-opacity:.65;stroke-dasharray:3 3;vector-effect:non-scaling-stroke;pointer-events:none}
