#team-lobby {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 12px;
}
.team-column {
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--edge-light);
  padding: 8px;
}
.team-column h2 {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 400;
  color: var(--accent);
}
.team-seat {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 2px 6px;
  border: 1px solid transparent;
}
.team-seat.self {
  border-color: var(--accent-edge);
  background: #33301a;
}
.team-seat.empty {
  color: var(--ink-dim);
}
.team-seat.empty .portrait {
  opacity: 0.4;
}
.team-seat .portrait {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  aspect-ratio: 1;
  background: transparent;
}
.character-name {
  margin: 0;
  font-size: 13px;
  word-break: keep-all;
}
.seat-status {
  margin: 5px 0 0;
  font-size: 11px;
  color: var(--ink-dim);
}
#ready[aria-pressed="true"] {
  color: var(--accent);
}
@media (max-width: 480px) {
  #team-lobby {
    gap: 6px;
  }
  .team-column {
    padding: 6px;
  }
  .team-seat {
    gap: 5px;
    padding: 2px;
  }
  .team-seat .portrait {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
  .character-name {
    font-size: 12px;
  }
}
@media (pointer: coarse) {
  #ready,
  .status-row button {
    min-height: 44px;
  }
}
