/* Lobby menu */
.lobby-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0;
}
.lobby-btn {
  width: 100%;
  padding: 14px 20px;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 2px;
  border: 1px solid #444;
  background: #000;
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lobby-btn:hover { border-color: #fff; background: #0a0a0a; }
.lobby-btn.disabled {
  opacity: 0.3;
  cursor: default;
}
.lobby-btn.disabled:hover { border-color: #444; background: #000; }
.lobby-btn .coming-soon {
  font-size: 9px;
  color: #555;
  letter-spacing: 1px;
}

.lobby-user-info {
  text-align: center;
  margin-bottom: 16px;
  font-size: 11px;
  color: #888;
}
.lobby-user-info .username {
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 2px;
}
.lobby-user-info .logout-btn {
  margin-top: 6px;
}

/* Friends panel */
.friends-panel {
  max-width: 500px;
  margin: 20px auto;
}
.friend-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 12px 0;
  max-height: 300px;
  overflow-y: auto;
}
.friend-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #333;
  font-size: 12px;
}
.friend-row .friend-name { font-weight: bold; letter-spacing: 1px; }
.friend-row .friend-status { color: #888; font-size: 10px; }
.friend-row .friend-actions { display: flex; gap: 6px; }
.friend-row .friend-actions .btn { padding: 4px 10px; font-size: 9px; }

.pending-section {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #333;
}
.pending-section h3 {
  font-size: 11px;
  color: #888;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Invite panel */
.invite-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 12px 0;
}
.invite-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #333;
  font-size: 12px;
}
.invite-row .invite-info { display: flex; flex-direction: column; gap: 2px; }
.invite-row .invite-from { font-weight: bold; }
.invite-row .invite-mode { color: #888; font-size: 10px; }
.invite-row .invite-actions { display: flex; gap: 6px; }
.invite-row .invite-actions .btn { padding: 4px 10px; font-size: 9px; }

/* Stats panel */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}
.stat-box {
  border: 1px solid #333;
  padding: 16px;
  text-align: center;
}
.stat-box .stat-value {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 4px;
}
.stat-box .stat-label {
  font-size: 10px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Mode selection */
.mode-select {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}
.mode-option {
  padding: 12px 16px;
  border: 1px solid #444;
  cursor: pointer;
  transition: border-color 0.15s;
}
.mode-option:hover { border-color: #fff; }
.mode-option.selected { border-color: #fff; background: #111; }
.mode-option.disabled { opacity: 0.3; cursor: default; }
.mode-option.disabled:hover { border-color: #444; }
.mode-option .mode-name {
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.mode-option .mode-desc {
  font-size: 10px;
  color: #888;
  margin-top: 4px;
}

/* Waiting screen */
.waiting-panel {
  text-align: center;
}
.waiting-panel .dots {
  font-size: 24px;
  letter-spacing: 8px;
  margin: 20px 0;
  animation: blink 1.5s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
