/* Strategy statuses use the existing desktop card height. */
#connected-bots .bot-card-clickable > .home-card-modes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  height: 18px;
  margin-top: 6px;
  min-width: 0;
  font-size: 11.4px;
  font-weight: 500;
  line-height: 1.35;
}
#connected-bots .home-mode {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  white-space: nowrap;
  color: var(--muted);
}
#connected-bots .home-mode:nth-child(2) { justify-content: center; }
#connected-bots .home-mode:last-child { justify-content: flex-end; }
#connected-bots .home-mode-value {
  display: inline-grid;
  place-items: center;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: var(--muted);
}
#connected-bots .home-mode[data-state="on"] .home-mode-value {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(38, 202, 154, .14);
}
#connected-bots .home-mode[data-state="unknown"] .home-mode-value { opacity: .7; }
@media (min-width: 681px) {
  #connected-bots .bot-card-clickable > .bot-card-capital { margin-top: 6.3px; }
  #connected-bots .bot-card-clickable > .bot-card-position-grid { margin-top: 5.2px; }
  #connected-bots .bot-card-clickable > .home-card-cycle { margin-top: 5px; }
}
@container home-bot-card (max-width: 540px) {
  #connected-bots .bot-card-clickable > .home-card-modes { grid-template-columns: minmax(0, 1.4fr) minmax(0, .85fr) minmax(0, .75fr); }
}
