/* 用户等级 badge (Service/siteLevelService.py), styled after bilibili's LV0–LV6 marks: the letters "LV" in the level
   colour, then the digit in white on a block of that colour with a slanted left edge. The colours are bilibili's:
   LV0–LV1 grey, LV2 green, LV3 blue, LV4 yellow, LV5 orange, LV6 red. Used by the classic header entry, the account
   pages and the console's member list; the phone app draws the same badge (frontend/mobile LevelBadge).
   Markup: <span class="lumos-level lumos-level-3"><span class="lumos-level-lv">LV</span><span class="lumos-level-num">3</span></span> */

.lumos-level {
    --lumos-level: #c0c0c0;
    display: inline-flex;
    flex: none;
    align-items: center;
    color: var(--lumos-level);
    font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
    font-size: 11px;
    font-style: italic;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
}

.lumos-level-lv {
    margin-right: 0.08em;
    font-size: 0.84em;
}

.lumos-level-num {
    display: inline-block;
    min-width: 0.7em;
    padding: 0.14em 0.32em 0.14em 0.42em;
    border-radius: 0 0.18em 0.18em 0;
    background: var(--lumos-level);
    color: #fff;
    font-style: normal;
    text-align: center;
    clip-path: polygon(0.3em 0, 100% 0, 100% 100%, 0 100%);
}

.lumos-level-lg {
    font-size: 16px;
}

.lumos-level-0,
.lumos-level-1 { --lumos-level: #c0c0c0; }
.lumos-level-2 { --lumos-level: #8bd29b; }
.lumos-level-3 { --lumos-level: #7bcdef; }
.lumos-level-4 { --lumos-level: #febb8b; }
.lumos-level-5 { --lumos-level: #ee672a; }
.lumos-level-6 { --lumos-level: #f04c49; }
