/* Etapa 1: acentos retro para rangos. No sustituye los estilos existentes. */
[data-rango="novato"] { color: #b7aab1 !important; border-color: #65575e !important; }
[data-rango="bronce"] { color: #d6a079 !important; border-color: #82543b !important; }
[data-rango="oro"] { color: #e9cc82 !important; border-color: #9c7d3c !important; }
[data-rango="diamante"] { color: #a5e0ec !important; border-color: #588e9d !important; }
[data-rango="horror"] { color: #ff829e !important; border-color: #9f3c57 !important; text-shadow: 0 0 7px #a41d43; }
.member-role { margin-left: 5px; background: #261721; color: #e7b3cf; border: 1px dashed #90546d; }

/* ETAPA 5.2 // rangos con aspecto old-web / pixel art ligero */
.hpa-rank-guide,.hpa-history{border:1px solid #79475c;background:#140e13;padding:15px;margin:19px 0;box-shadow:3px 3px 0 #080608,inset 0 0 0 1px #2c1b27}
.hpa-rank-guide h3,.hpa-history h3,.hpa-ranking-title h3{font:22px 'VT323',monospace;letter-spacing:1px;color:#e9b0c9;margin:0 0 13px}
.hpa-rank-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:10px}
.hpa-rank-tier{display:flex;gap:10px;align-items:center;padding:9px;background:#1c131b;border:1px dashed #684251;box-shadow:2px 2px 0 #090609;transition:transform .15s,background .15s}
.hpa-rank-tier:hover{transform:translate(-2px,-2px);background:#2a1926}
.hpa-rank-emblem{display:grid;place-items:center;flex:none;width:46px;height:46px;border:2px solid currentColor;background:#281a25;box-shadow:3px 3px 0 #080608,inset 2px 2px 0 #4b3542;font:30px 'VT323',monospace;text-shadow:2px 2px 0 #100810}
.hpa-rank-tier strong{display:block;font:23px 'VT323',monospace;line-height:1.1;letter-spacing:1px}
.hpa-rank-tier small{display:block;color:#a99ba5;font:11px 'Share Tech Mono',monospace;margin-top:3px}
.hpa-ranking-title{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:22px 0 9px}
.hpa-ranking-title h3{margin:0}.hpa-ranking-title span{font:12px 'VT323',monospace;color:#b57e9d}
.hpa-rank-badge{display:inline-flex;align-items:center;gap:5px;font:17px 'VT323',monospace;letter-spacing:.6px;white-space:nowrap;padding:1px 6px 1px 2px;background:#241820;border:1px solid currentColor;box-shadow:2px 2px 0 #090609}
.hpa-rank-icon{display:inline-grid;place-items:center;min-width:22px;height:22px;font:21px 'VT323',monospace;background:#37212f;border-right:1px dashed currentColor}
.hpa-history-item{padding:12px;margin:9px 0;border:1px dashed #684251;background:#1c131b}
.hpa-history-item h4{font:19px 'VT323',monospace;color:#f0bbcf;margin-bottom:6px}
.hpa-history-list{list-style:none;margin:0;padding:0}.hpa-history-list li{display:flex;gap:10px;justify-content:space-between;border-top:1px solid #422b39;padding:6px 0}.hpa-history-list a{overflow-wrap:anywhere}
.hpa-history-empty{font-style:italic;color:#b99aa9;padding:12px;border:1px dashed #513340}
@media(max-width:500px){.hpa-rank-grid{grid-template-columns:1fr 1fr}.hpa-rank-tier{gap:6px;padding:6px}.hpa-rank-emblem{width:35px;height:35px;font-size:25px}.hpa-rank-tier strong{font-size:18px}.hpa-rank-tier small{font-size:9px}}

/* ETAPA 5.4 // símbolos perfectamente centrados, sin alterar los rangos */
.hpa-rank-badge { vertical-align: middle; line-height: 1; }
.hpa-rank-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  width: 22px;
  min-width: 22px;
  height: 22px;
  line-height: 1;
  padding: 0;
  margin: 0;
  vertical-align: middle;
  transform: none;
}
.hpa-rank-badge > span:last-child { display: inline-flex; align-items: center; line-height: 1; }
