/**
 * Live Game Lobby — home page matchmaking table
 */
.live-lobby {
  margin: 0 0 1.5rem;
  padding: 1rem 1.1rem 0.85rem;
  border: 1px solid rgba(0, 255, 136, 0.22);
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(0, 22, 14, 0.92), rgba(4, 10, 8, 0.96));
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.35);
}
.live-lobby__head {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.65rem;
}
.live-lobby__kicker {
  display: block;
  font: 600 0.62rem/1 "Courier New", monospace;
  letter-spacing: 0.14em;
  color: #6adf9a;
  margin-bottom: 0.25rem;
}
.live-lobby__title {
  margin: 0;
  font: 800 1.15rem/1.15 "Courier New", monospace;
  letter-spacing: 0.06em;
  color: #e8ffe8;
}
.live-lobby__lead {
  margin: 0.35rem 0 0;
  max-width: 36rem;
  font: 0.78rem/1.4 system-ui, sans-serif;
  color: #9fbfa8;
}
.live-lobby__controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
}
.live-lobby__tc {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: flex-end;
  max-width: 22rem;
}
.live-lobby__tc button {
  min-width: 2.5rem;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 255, 136, 0.28);
  background: rgba(0, 0, 0, 0.35);
  color: #9fdfb0;
  font: 700 0.8rem/1 "Courier New", monospace;
  cursor: pointer;
}
.live-lobby__tc button.is-active {
  border-color: rgba(0, 255, 136, 0.7);
  color: #0a0a0a;
  background: #3dffa0;
  box-shadow: 0 0 12px rgba(61, 255, 160, 0.35);
}
.live-lobby__actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.live-lobby__msg {
  min-height: 1.2rem;
  margin: 0 0 0.5rem;
  font: 0.75rem/1.35 "Courier New", monospace;
  color: #9fdfb0;
}
.live-lobby__msg.is-wait { color: #ffcc66; }
.live-lobby__msg.is-err { color: #ff8a8a; }
.live-lobby__msg.is-ok { color: #6dffb0; }

.live-lobby__table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.live-lobby__table {
  width: 100%;
  border-collapse: collapse;
  font: 0.74rem/1.35 "Courier New", monospace;
  color: #d8f0dc;
}
.live-lobby__table th {
  text-align: left;
  padding: 0.45rem 0.55rem;
  background: rgba(0, 40, 24, 0.75);
  color: #6adf9a;
  letter-spacing: 0.06em;
  font-size: 0.65rem;
  text-transform: uppercase;
  white-space: nowrap;
}
.live-lobby__table td {
  padding: 0.4rem 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  white-space: nowrap;
}
.live-lobby__table tbody tr:hover {
  background: rgba(0, 255, 136, 0.06);
}
.live-lobby__table .is-bot .live-lobby__name::after {
  content: " · seeking";
  color: #6a8a72;
  font-size: 0.65rem;
}
.live-lobby__name {
  font-weight: 700;
  color: #f0fff4;
}
.live-lobby__ping {
  color: #9fdfb0;
}
.live-lobby__ping.is-hot { color: #ffcc66; }
.live-lobby__ping.is-bad { color: #ff8a8a; }
.live-lobby__empty td {
  text-align: center;
  color: #6a8a72;
  padding: 1rem;
}
.live-lobby__foot {
  margin: 0.55rem 0 0;
  font: 0.65rem/1.35 system-ui, sans-serif;
  color: #6a8a72;
}

@media (max-width: 720px) {
  .live-lobby__head {
    flex-direction: column;
  }
  .live-lobby__controls {
    align-items: stretch;
    width: 100%;
  }
  .live-lobby__actions {
    justify-content: stretch;
  }
  .live-lobby__actions .btn {
    flex: 1;
    text-align: center;
  }
}
