/* Private signals are a compact nonmodal strip. The five action slots stay intact. */
.header-tools #team-button {
  width: 72px;
  height: 44px;
  font-size: 12px;
  color: #f0e8d3;
}
.header-tools:has(#team-button) {
  align-items: center;
}
.header-tools:has(#team-button) .connection {
  top: 48px;
}
#team-button[aria-expanded="true"],
.team-ping-scopes button[aria-pressed="true"] {
  border-color: #dac48b;
  background: #365253;
}
#team-button[aria-disabled="true"] {
  color: #aab9b9;
}
.team-ping-strip {
  position: fixed;
  z-index: 14;
  top: 78px;
  right: 20px;
  width: 352px;
  max-width: calc(100vw - 20px);
  padding: 12px;
  border: 1px solid #b59a65;
  border-radius: 5px;
  color: #f0e8d3;
  background: linear-gradient(135deg, #23343df5, #101b24f5);
  box-shadow: 0 4px 14px #0008;
}
.team-ping-strip[hidden],
.team-ping-scopes button[hidden] {
  display: none;
}
.team-ping-heading,
.team-ping-scopes,
.team-ping-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.team-ping-heading {
  justify-content: space-between;
  margin-bottom: 8px;
}
.team-ping-heading strong {
  font-size: 14px;
}
.team-ping-strip button {
  min-height: 44px;
  min-width: 44px;
  padding: 6px 8px;
  font-size: 12px;
  line-height: 1.25;
  touch-action: manipulation;
  border: 1px solid #8d7952;
  border-radius: 3px;
  color: #f0e8d3;
  background: #172b34;
}
.team-ping-actions button {
  flex: 1;
}
.team-ping-strip button[aria-disabled="true"] {
  color: #aab9b9;
  border-color: #55686b;
}
.team-ping-strip p {
  font-size: 11px;
  line-height: 1.4;
  margin: 8px 0 0;
}
#team-ping-audience {
  margin-bottom: 8px;
  color: #eed49b;
}
#team-ping-live {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 760px) {
  .header-tools #team-button {
    width: 44px;
    transform: translateY(-4px);
    font-size: 10px;
  }
  #team-button kbd {
    display: none;
  }
  .team-ping-strip {
    top: 64px;
    right: 10px;
    width: 340px;
    padding: 10px;
  }
}
@media (max-width: 440px) {
  .hero-plate {
    width: 174px;
    gap: 8px;
  }
  .hero-plate canvas {
    width: 38px;
    height: 46px;
  }
  .hero-vitals {
    width: 110px;
    min-width: 0;
  }
  .hero-name {
    font-size: 10px;
    gap: 3px;
  }
  .hero-name strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .hero-name span {
    font-size: 8px;
    white-space: nowrap;
  }
  .hero-caption {
    font-size: 8px;
  }
}
@media (max-height: 560px) {
  .team-ping-strip {
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
  }
}

.class-tactics {
  margin: 16px 0 22px;
  padding: 16px;
  border: 1px solid #617b77;
  border-radius: 5px;
  background: #16333b;
  color: #f0e8d3;
}
.class-tactics h3 {
  margin: 0 0 8px;
}
.class-tactics p {
  line-height: 1.5;
}
.tactic-current {
  color: #f4d99b;
}
.tactic-notes,
.tactic-tradeoff {
  font-size: 12px;
  color: #cbd4cf;
}
.tactic-choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid #4e6866;
}
.tactic-choice h4 {
  margin: 0;
}
.tactic-choice p {
  margin: 6px 0 0;
}
.tactic-effect {
  font-size: 13px;
}
.tactic-readiness {
  font-size: 12px;
  color: #f0d89d;
}
.tactic-select {
  min-width: 132px;
  min-height: 44px;
  max-width: 220px;
  white-space: normal;
  touch-action: manipulation;
}
.tactic-select[aria-pressed="true"] {
  border-color: #d8c17f;
}
.tactic-select:focus-visible {
  outline: 3px solid #f0d89d;
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .class-tactics {
    padding: 12px;
  }
  .tactic-choice {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .tactic-select {
    max-width: none;
    width: 100%;
  }
}
