.defense-mode-picker {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(360px, 100%);
  margin: 2px auto 12px;
  overflow: hidden;
  border: 1px solid rgba(237, 244, 239, 0.14);
  border-radius: 3px;
  background: rgba(237, 244, 239, 0.025);
}

.defense-mode-picker.is-visible {
  display: grid;
}

.defense-mode-picker button {
  min-height: 42px;
  border: 0;
  border-right: 1px solid rgba(237, 244, 239, 0.1);
  background: transparent;
  color: rgba(237, 244, 239, 0.52);
  font: 900 12px/1 Inter, sans-serif;
  cursor: pointer;
}

.defense-mode-picker button:last-child {
  border-right: 0;
}

.defense-mode-picker button:hover {
  background: rgba(93, 111, 76, 0.14);
  color: rgba(244, 238, 217, 0.88);
}

.defense-mode-picker button.active {
  background: linear-gradient(180deg, rgba(93, 111, 76, 0.34), rgba(52, 66, 44, 0.26));
  color: #d7e2cf;
  box-shadow: inset 0 0 0 1px rgba(205, 220, 194, 0.5);
}

.defense-prototype-status {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 42;
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 34px;
  padding: 0 14px;
  transform: translateX(-50%);
  border: 1px solid rgba(221, 232, 215, 0.2);
  border-radius: 3px;
  background: rgba(13, 18, 14, 0.82);
  color: #e6eee2;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  font: 900 13px/1 Inter, sans-serif;
  pointer-events: none;
}

.defense-prototype-status.hidden,
.defense-prototype-status [data-defense-timer].hidden {
  display: none;
}

.defense-prototype-status [data-defense-wave]::before {
  content: "◆ ";
  color: #a9c49b;
}

.defense-prototype-status [data-defense-enemies]::before {
  content: "× ";
  color: #d98b81;
}

.defense-prototype-status [data-defense-timer]::before {
  content: "◷ ";
  color: #d8c48c;
}
