.player-mark {
  width: max-content;
  margin-left: .12rem;
  padding: .12rem .38rem .12rem .86rem;
  position: relative;
  color: #e4eaf2;
  font-size: .72rem;
  font-weight: 650;
}
.player-mark::before {
  content: '';
  position: absolute;
  left: .12rem;
  top: 50%;
  translate: 0 -50%;
  width: .43rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: hsl(var(--owner-hue) 75% 70%);
}
#open-collection .tree-icon {
  background: none;
  border: 1px solid currentColor;
  border-radius: 50%;
}
#open-collection .tree-icon::after {
  inset: 24%;
  width: auto;
  height: auto;
  border: 1px solid currentColor;
  border-radius: 0;
  background: none;
  transform: rotate(45deg);
}
#map { touch-action: none; }
#map, #map * {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
#map img { -webkit-user-drag: none; }
.nexus-hold {
  position: absolute;
  z-index: 750;
  width: 48px;
  height: 48px;
  translate: -50% -50%;
}
#place-nexus { padding: .45rem .6rem; font-size: .75rem; }
.place-icon, .place-icon img { display: block; width: 100%; height: 100%; }
.place-icon { border-radius: 50%; }
.place-icon img { border-radius: inherit; }
.place-owner, .nexus-label {
  position: absolute;
  bottom: -9px;
  left: 50%;
  translate: -50% 0;
  background: #0d1b27;
  color: #f3f7fc;
  border: 1px solid hsl(var(--owner-hue) 72% 68%);
  border-radius: .32rem;
  padding: 0 .22rem;
  font: 700 9px/1.4 system-ui, sans-serif;
  white-space: nowrap;
  pointer-events: none;
}
.place-owner:empty { display: none; }
.place-marker[data-control=mine] .place-icon {
  outline: 2px solid hsl(var(--owner-hue) 78% 70%);
  outline-offset: 0;
  box-shadow: 0 0 0 3px #102132;
}
.place-marker[data-control=other] .place-icon {
  outline: 2px dashed hsl(var(--owner-hue) 78% 73%);
  box-shadow: 0 0 0 3px #102132;
}
.nexus-marker {
  --nexus-color: hsl(var(--owner-hue, 41) 82% 69%);
  display: grid;
  place-items: center;
}
.nexus-marker:focus-visible { outline: 2px solid #fff0c3; border-radius: 50%; }
.nexus-glyph {
  --nexus-color: hsl(var(--owner-hue, 41) 82% 69%);
  position: relative;
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  flex: none;
  filter: drop-shadow(0 0 4px var(--nexus-color));
}
.nexus-glyph::before, .nexus-glyph::after, .nexus-glyph i {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0, 92% 26%, 92% 74%, 50% 100%, 8% 74%, 8% 26%);
}
.nexus-glyph::before { background: var(--nexus-color); }
.nexus-glyph::after { inset: 2px; background: #101e2b; }
.nexus-glyph i {
  inset: 8px;
  z-index: 1;
  background: conic-gradient(from 30deg, #edf5ff, var(--nexus-color), #33435d, var(--nexus-color), #edf5ff);
  clip-path: polygon(50% 0, 72% 34%, 94% 50%, 72% 66%, 50% 100%, 28% 66%, 6% 50%, 28% 34%);
}
.nexus-marker[data-state=constructing] .nexus-glyph { scale: .69; opacity: .82; }
.nexus-progress.object-progress {
  position: absolute;
  inset: 0;
  background: conic-gradient(var(--nexus-color) var(--explored, 0%), #132333df 0);
  box-shadow: inset 0 0 5px var(--nexus-color);
}
.nexus-label { bottom: -2px; }
.nexus-confirm { width: min(26rem, calc(100% - 1.5rem)); }
.nexus-confirm .challenge-header { align-items: center; }
.nexus-confirm h2 { margin: 0; }
.nexus-confirm > p { margin: .75rem 0; line-height: 1.45; }
.nexus-confirm .challenge-feedback:empty, .territory-controller:empty { display: none; }
.territory-controller { color: #dfc99e; font-size: .86rem; margin: .65rem 0; }
