.ruler-recruitment-profile,
.wandering-recruit-fit {
  border: 1px solid rgba(224, 203, 158, 0.28);
  background: rgba(15, 15, 15, 0.82);
  border-radius: 10px;
}

.ruler-recruitment-profile {
  margin: 10px 0 14px;
  padding: 12px 14px;
}

.ruler-recruitment-profile .profile-head,
.wandering-recruit-fit .recruit-fit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ruler-recruitment-profile .profile-head b,
.wandering-recruit-fit .recruit-fit-head b {
  font-size: 0.94rem;
}

.recruit-camp-chip,
.recruit-chance-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border: 1px solid rgba(224, 203, 158, 0.35);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.recruit-chance-chip.strong {
  border-color: rgba(239, 216, 158, 0.78);
  background: rgba(180, 145, 72, 0.18);
}

.recruit-axis {
  margin-top: 9px;
}

.recruit-axis-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  font-size: 0.68rem;
  opacity: 0.78;
}

.recruit-axis-labels b {
  font-size: 0.7rem;
  font-weight: 600;
}

.recruit-axis-track {
  position: relative;
  height: 8px;
  margin: 9px 9px 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(150, 150, 150, 0.42), rgba(215, 215, 215, 0.22), rgba(236, 222, 184, 0.48));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.recruit-axis-marker {
  position: absolute;
  top: 50%;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(236, 222, 184, 0.7);
  border-radius: 50%;
  background: #171717;
  color: #f3e4bd;
  font-size: 0.67rem;
  font-style: normal;
  font-weight: 800;
  z-index: 2;
}

.recruit-axis-marker.general {
  width: 18px;
  height: 18px;
  border-color: rgba(220, 220, 220, 0.72);
  color: #f0f0f0;
  transform: translate(-50%, -50%) translateY(11px);
}

.recruit-axis-copy {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.68rem;
  opacity: 0.76;
}

.wandering-recruit-fit {
  grid-column: 1 / -1;
  width: 100%;
  padding: 9px 10px;
}

.wandering-recruit-fit .recruit-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.wandering-recruit-fit .recruit-notes span {
  font-size: 0.68rem;
  opacity: 0.82;
}

.wandering-recruit-fit .recruit-risk-note {
  display: block;
  margin-top: 7px;
  font-size: 0.66rem;
  opacity: 0.68;
}

.recruit-wandering {
  white-space: nowrap;
}

.wandering-recruitment-overlay {
  z-index: 260;
}

.wandering-recruitment-modal {
  width: min(92vw, 470px);
}

.wandering-recruitment-modal .recruit-modal-person {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 12px 0;
}

.wandering-recruitment-modal .recruit-modal-person img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(236, 222, 184, 0.42);
}

.wandering-recruitment-modal .recruit-modal-person div {
  display: grid;
  gap: 4px;
}

.wandering-recruitment-modal .recruit-modal-person small {
  opacity: 0.72;
}

.wandering-recruitment-modal .recruit-modal-quote {
  margin: 12px 0;
  padding: 12px 14px;
  border-left: 3px solid rgba(236, 222, 184, 0.58);
  background: rgba(255, 255, 255, 0.04);
  line-height: 1.55;
}

.wandering-recruitment-modal .recruit-modal-summary {
  display: grid;
  gap: 5px;
  margin: 10px 0 14px;
  font-size: 0.78rem;
}

.wandering-recruitment-modal .recruit-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.wandering-recruitment-modal.result .recruit-modal-actions {
  grid-template-columns: 1fr;
}

@media (max-width: 640px) {
  .ruler-recruitment-profile {
    padding: 10px;
  }

  .wandering-recruit-fit {
    padding: 8px;
  }

  .recruit-axis-copy {
    font-size: 0.62rem;
  }

  .wandering-recruitment-modal .recruit-modal-person img {
    width: 64px;
    height: 64px;
  }
}
