.level-badge{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--rank-color,#c4b5fd);color:var(--rank-color,#c4b5fd);background:#14141e;padding:5px 11px;border-radius:999px;font-size:12px;font-weight:800;line-height:1.5}.level-detail{font-size:13px;color:#a1a1b5;margin:10px 0}.level-progress{display:block;width:100%;height:8px;border:0;border-radius:99px;overflow:hidden;background:#292936;accent-color:#a78bfa}.level-progress::-webkit-progress-bar{background:#292936;border-radius:99px}.level-progress::-webkit-progress-value{background:#a78bfa;border-radius:99px}.level-progress::-moz-progress-bar{background:#a78bfa;border-radius:99px}.level-card{background:#16161f;border:1px solid #2a2a36;border-radius:14px;padding:16px;margin-bottom:14px}.level-card a{color:#c4b5fd;font-size:13px}.level-card h2{font-size:16px;margin:0 0 14px}

/* Individual transparent rank artwork, displayed in full without cropping. */
.level-crystal{display:inline-block;flex:0 0 auto;width:32px;height:32px;background-repeat:no-repeat;background-size:contain;background-position:center;vertical-align:middle}
.level-crystal-0{background-image:url('../assets/level-quartzo.png?v=gems-3')}.level-crystal-1{background-image:url('../assets/level-ametista.png?v=gems-3')}.level-crystal-2{background-image:url('../assets/level-safira.png?v=gems-3')}.level-crystal-3{background-image:url('../assets/level-esmeralda.png?v=gems-3')}.level-crystal-4{background-image:url('../assets/level-rubi.png?v=gems-3')}
.rank-card .level-crystal{display:block;width:112px;height:112px;max-width:100%;margin:0 auto 12px}
.crown .level-crystal{width:150px;height:150px}
.level-badge .level-crystal{width:30px;height:30px}
