/* ================= Waku: señoría legend popup ================= *
 * Round 21, Fase 1: "desacopla... sin cambiar nada visible" -- moved
 * verbatim out of styles/intro.css. This popup is opened from BOTH the
 * game's own always-on HUD badge (#seniorityHudGroup, main inline script)
 * and the portada's señoría chip (#introSeniority, ui/intro.js), so it
 * can't be scoped under #introOverlay alone -- it's shared chrome, not
 * portada-only, which is also why it's its own file instead of living
 * inside the (portada-only) styles/intro.css rewrite that follows in later
 * phases. Nothing in this file changed from its old home in intro.css.
 */
.seniority-legend-overlay{
  position:absolute; inset:0; z-index:12;
  background:rgba(10,7,4,0.85);
  display:flex; align-items:center; justify-content:center;
  padding:20px;
}
.seniority-legend-overlay[hidden]{ display:none; }
.seniority-legend-card{
  background:#1c140c; border:1px solid rgba(255,255,255,0.15);
  border-radius:16px; padding:18px; width:100%; max-width:420px;
  max-height:80vh; overflow-y:auto; color:#fff;
  box-shadow:0 20px 50px rgba(0,0,0,0.5);
}
.seniority-legend-intro{ font-size:12px; opacity:0.75; margin:0 0 12px; text-align:left; }
.seniority-legend-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px; }
.seniority-legend-item{
  display:flex; align-items:center; gap:10px;
  padding:8px 10px; border-radius:10px;
  background:rgba(255,255,255,0.04);
}
.seniority-legend-item.current{
  background:linear-gradient(135deg, rgba(255,210,74,0.25), rgba(255,157,60,0.14));
  border:1px solid rgba(255,210,74,0.6);
}
.seniority-legend-dot{
  width:9px; height:9px; border-radius:50%; flex-shrink:0;
  background:rgba(255,255,255,0.3);
}
.seniority-legend-item.current .seniority-legend-dot{ background:#ffd24a; }
.seniority-legend-label{ flex:1; text-align:left; font-weight:700; font-size:13px; }
.seniority-legend-range{ font-size:12px; opacity:0.65; font-variant-numeric:tabular-nums; }
/* the current-rank progress bar/hint, moved into this popup (Round 16) */
.intro-seniority-progress{ margin-bottom:12px; }
.intro-seniority-bar{
  height:6px; border-radius:99px;
  background:rgba(255,255,255,0.15); overflow:hidden;
}
.intro-seniority-bar-fill{
  height:100%; width:0%; border-radius:99px;
  background:linear-gradient(90deg, #ffd24a, #ff9d3c);
  transition:width 0.4s ease;
}
.intro-seniority-hint{ margin:6px 0 0; font-size:12px; opacity:0.75; }
