/* Player Waiting Room - Mobile */
.player-waiting {
  min-height: 100vh;
  min-height: 100dvh;
  background: #f5f5f0;
  color: #1a1a1a;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

/* Header */
.pw-header {
  display: flex;
  justify-content: flex-start;
}

.back-btn {
  background: #fff;
  border: 1px solid #eee;
  color: #1a1a1a;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
}

.back-btn:hover {
  background: #f0f0f0;
}

/* Content */
.pw-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.5rem;
}

/* Avatar */
.pw-avatar-wrapper {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 4px solid #f0e500;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.pw-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Name */
.pw-name {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

/* Status */
.pw-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f0e500;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.status-text {
  font-size: 0.95rem;
  color: #666;
}

/* Room Info */
.pw-room-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.room-label {
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.room-code {
  font-size: 2rem;
  font-weight: 700;
  font-family: system-ui, sans-serif;
  letter-spacing: 6px;
  background: #f0e500;
  padding: 0.5rem 1.5rem;
  border-radius: 12px;
}

/* Players List */
.pw-players {
  margin-top: 1rem;
}

.players-label {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 0.75rem;
}

.players-avatars {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mini-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #eee;
  background: #fff;
  object-fit: cover;
}

/* Responsive */
@media (max-height: 600px) {
  .pw-avatar-wrapper {
    width: 100px;
    height: 100px;
  }
  
  .pw-name {
    font-size: 1.5rem;
  }
  
  .pw-content {
    gap: 1rem;
  }
}
