#hud #teamplan-knopf, #hud #teamplan-fenster {
  position: absolute;
  left: 10px;
  bottom: calc(188px * var(--ps,1) + 8px);
}
#hud #teamplan-knopf { padding: .25rem .65rem; }
#hud #teamplan-fenster {
  bottom: calc(188px * var(--ps,1) + 45px);
  z-index: 20;
  width: min(18rem,88vw);
  max-height: 48vh;
  overflow: auto;
  padding: .7rem;
  border: 1px solid var(--brass-lo);
  color: #eee8d8;
  background: #232621f7;
  box-shadow: 0 4px 16px #0008;
}
#teamplan-fenster header { display:flex; align-items:center; justify-content:space-between; }
#teamplan-fenster select { width:100%; margin:.5rem 0; }
#teamplan-fenster fieldset { display:grid; border:0; padding:0; margin:0 0 .65rem; }
#teamplan-fenster fieldset label { display:flex; gap:.3em; align-items:center; }
#teamplan-fenster legend { color:var(--gold,#ebcf91); margin-bottom:.2em; }
#teamplan-fenster button { margin:.12em; }
#hud.in-detail :is(#teamplan-knopf,#teamplan-fenster), #hud #teamplan-fenster[hidden], #hud #teamplan-knopf[hidden], #teamplan-fenster button[hidden] { display:none; }
