/* ==========================================================================
   Yozza SMP — Staff page (staff.html)
   Section-per-rank layout: icon + title + member count, a divider, then a
   card grid with a live 3D skin render, name, and rank label underneath.
   ========================================================================== */

.staff-main {
  padding: 130px 0 120px;
}

.staff-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.staff-title {
  font-size: 46px;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.2;
}

.staff-lead {
  margin-top: 14px;
  font-size: 19px;
  color: #c9bdd1;
}

.staff-roster {
  margin: 64px auto 0;
  max-width: 760px;
}

.staff-section + .staff-section { margin-top: 46px; }

.staff-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.staff-section-head .rank-icon {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--rank-color);
}

.staff-section-head h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-white);
}

.staff-section-count {
  margin-left: auto;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.staff-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 500px));
  gap: 16px;
}

.staff-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: border-color .2s ease, background .2s ease;
}

.staff-card:hover {
  border-color: var(--rank-color);
  background: rgba(255, 255, 255, 0.05);
}

.staff-section.rank-owner     { --rank-color: #f04fea; }
.staff-section.rank-admin     { --rank-color: #ff4d4d; }
.staff-section.rank-developer { --rank-color: #9a4de0; }

.staff-canvas-wrap {
  flex: none;
  width: 300px;
  height: 420px;
}

.staff-canvas-wrap canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.staff-info { min-width: 0; }

.staff-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.25;
}

.staff-role {
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--rank-color);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .staff-main { padding: 126px 0 80px; }
  .staff-title { font-size: 32px; }
  .staff-lead { font-size: 16px; }
  .staff-roster { margin-top: 44px; }
  .staff-grid { grid-template-columns: repeat(auto-fill, minmax(420px, 420px)); }
}
