/* ---- Role selector ---- */
#role-select {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(5,5,5,0.95);
  border: 2px solid #ff0;
  border-radius: 10px;
  padding: 32px 48px;
  z-index: 46;
  text-align: center;
  backdrop-filter: blur(8px);
}

#role-select h2 {
  margin-bottom: 8px;
  font-size: 1.3rem;
  color: #ff0;
}

#role-select .subtitle {
  color: #666;
  font-size: 0.75rem;
  margin-bottom: 24px;
}

#role-select .roles {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.role-btn {
  background: #0a0a0a;
  color: #999;
  border: 2px solid #333;
  font-family: inherit;
  font-size: 0.85rem;
  padding: 16px 28px;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.15s;
  min-width: 100px;
}

.role-btn:hover {
  border-color: #ff0;
  color: #ff0;
  background: rgba(255,255,0,0.05);
  transform: scale(1.05);
}

.role-btn:active { transform: scale(0.97); }

.role-btn[data-role="mager"]:hover {
  border-color: #aa44ff;
  color: #aa44ff;
  background: rgba(170,68,255,0.08);
}

.role-btn[data-role="ranger"]:hover {
  border-color: #44ff44;
  color: #44ff44;
  background: rgba(68,255,68,0.08);
}

/* ---- Partner HUD ---- */
#partner-hud {
  position: absolute;
  bottom: 70px;
  left: 10px;
  background: rgba(0,0,0,0.85);
  padding: 10px;
  border: 1px solid #555;
  border-radius: 4px;
  font-size: 0.75rem;
  z-index: 10;
  min-width: 150px;
}

#partner-hud.hidden { display: none; }

.partner-title {
  color: #888;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  border-bottom: 1px solid #222;
  padding-bottom: 4px;
}

#partner-hud p { margin-bottom: 2px; }

/* Hide elements before role selection */
.hidden { display: none !important; }
