/* t132 step 3: beast levels (badge, XP bar, level-up toast). Cheap: no filters, no animation under reduced motion. */
#shop .card .lvl-row{display:flex;align-items:center;gap:6px;margin:-4px 0 2px}
.lvl-badge{display:inline-block;flex:none;font:800 10px/1 system-ui,sans-serif;letter-spacing:.04em;padding:3px 6px;border-radius:999px;color:#06121f;background:#7dfcff;vertical-align:middle}
.lvl-badge.lvl-2,.lvl-2 .lvl-badge{background:#8fffb0}
.lvl-badge.lvl-3,.lvl-3 .lvl-badge{background:#ffd36b}
.lvl-badge.lvl-4,.lvl-4 .lvl-badge{background:#ff8af0}
.lvl-badge.lvl-5,.lvl-5 .lvl-badge{background:linear-gradient(90deg,#ffd36b,#ff4fd8);color:#fff;box-shadow:0 0 8px #ff4fd8aa}
#selname .lvl-badge{font-size:9px;padding:2px 5px;margin-left:4px}
.lvl-bar{flex:1;height:6px;border-radius:999px;background:#ffffff1f;overflow:hidden;min-width:30px}
.lvl-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#41e1ff,#ff4fd8)}
.lvl-5 .lvl-bar i{background:linear-gradient(90deg,#ffd36b,#ff4fd8)}
.lvl-xp{flex:none;font:600 9px/1 system-ui,sans-serif;color:#a9bdd4;font-variant-numeric:tabular-nums}
#shop .card .lvl-perk{display:block;font-size:10px;line-height:1.3;color:#ffd36b;margin:0 0 8px;min-height:1.3em;overflow-wrap:anywhere}
.lvl-up{position:fixed;left:50%;bottom:calc(env(safe-area-inset-bottom) + 104px);transform:translateX(-50%);z-index:6;pointer-events:none;display:flex;align-items:center;gap:10px;padding:8px 16px 8px 8px;border-radius:16px;background:#0b0624e8;border:1px solid #ff4fd8;box-shadow:0 0 18px #ff4fd866,inset 0 0 12px #41e1ff33;max-width:calc(100vw - 32px)}
.lvl-up[hidden]{display:none}
.lvl-up canvas{width:56px;height:50px;flex:none}
.lvl-up div{display:flex;flex-direction:column;min-width:0}
.lvl-up b{white-space:nowrap;font:900 17px/1.1 system-ui,sans-serif;letter-spacing:.03em;color:#fff;text-shadow:0 0 8px #ff4fd8}
.lvl-up span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:700 12px/1.3 system-ui,sans-serif;color:#7dfcff}
.lvl-up small{font:600 11px/1.3 system-ui,sans-serif;color:#ffd36b}
.lvl-up.lvl-in{animation:lvl-in .45s cubic-bezier(.2,1.4,.4,1)}
@keyframes lvl-in{from{transform:translateX(-50%) scale(.7);opacity:0}to{transform:translateX(-50%) scale(1);opacity:1}}
@media(prefers-reduced-motion:reduce){.lvl-up.lvl-in{animation:none}}
