.nivel-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 4px; border-radius: 999px; background: #fbf1da; color: #6d4a0c; font: 800 12px/1.3 var(--sans, sans-serif); box-shadow: inset 0 0 0 1px #b9832a59; white-space: nowrap; }
.nivel-chip i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #e3b25a; color: #071637; font-size: 11px; }
.nivel-pill { display: inline-grid; place-items: center; min-width: 26px; height: 20px; padding: 0 6px; border-radius: 999px; background: #fbf1da; color: #6d4a0c; font: 800 11px/1 var(--sans, sans-serif); box-shadow: inset 0 0 0 1px #b9832a59; }
#progreso { gap: 18px; }
#progreso h1, #progreso h2, #progreso p { margin: 0; }
.progreso-nota, .progreso-estado { color: var(--muted); }
.progreso-hero { background: linear-gradient(135deg, #052460, #2b56c8); color: white; border-radius: 18px; padding: 22px 24px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; }
.progreso-medalla { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #f9e3b0, #e3b25a 60%, #b9832a); color: #071637; font: 700 34px/1 var(--serif); box-shadow: 0 0 0 5px #ffffff2e; }
#progreso .progreso-hero h2 { color: white; font: 600 28px/1.1 var(--serif); }
#progreso .progreso-hero p { margin: 4px 0 12px; color: #ffffffe6; font-size: 14px; }
.progreso-barra { display: block; appearance: none; width: 100%; height: 12px; border: 0; border-radius: 999px; overflow: hidden; background: #ffffff33; color: #e3b25a; }
.progreso-barra::-webkit-progress-bar { background: #ffffff33; border-radius: 999px; }
.progreso-barra::-webkit-progress-value { background: linear-gradient(90deg, #f3d595, #e3b25a); border-radius: 999px; }
.progreso-barra::-moz-progress-bar { background: linear-gradient(90deg, #f3d595, #e3b25a); border-radius: 999px; }
.progreso-barra-labels { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; color: #ffffffe6; font-size: 13px; font-weight: 600; }
.progreso-estadisticas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.progreso-stat, .progreso-box { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; min-width: 0; }
.progreso-stat b { display: block; color: var(--ink); font: 600 24px/1.1 var(--serif); }
.progreso-stat span { color: var(--muted); font-size: 13px; }
.progreso-columnas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.progreso-box { display: grid; gap: 14px; }
#progreso .progreso-box h2 { color: var(--mensa); font: 700 12px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.progreso-actividad, .progreso-reglas, .progreso-insignias { list-style: none; margin: 0; padding: 0; }
.progreso-actividad li, .progreso-reglas li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.progreso-actividad li:first-child, .progreso-reglas li:first-child { border-top: 0; }
.progreso-actividad time { display: block; color: var(--muted); font-size: 12px; }
.progreso-puntos { color: #1f7a4d; white-space: nowrap; font-weight: 800; }
.progreso-puntos.negativo { color: #a3302a; }
.progreso-insignias { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.progreso-insignia { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 12px 6px; border-radius: 12px; background: #f4f5f8; font-size: 12px; }
.progreso-insignia-icono { font-size: 26px; line-height: 1; }
.progreso-insignia small { color: var(--muted); }
.progreso-insignia.pendiente { color: var(--muted); }
.progreso-insignia.pendiente .progreso-insignia-icono { opacity: .4; filter: grayscale(1); }
#progreso, #progreso > *, .progreso-hero > * { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 700px) { .progreso-columnas { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 400px) {
  .progreso-hero { grid-template-columns: minmax(0, 1fr); padding: 20px; gap: 16px; }
  .progreso-estadisticas { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .progreso-stat, .progreso-box { padding: 14px; }
}
