/* =========================================================
   AD-ZOMBI.FUN — PROFILE LEVEL PROGRESS MINI V4
   Компактний блок, серверний нік залишається через {nick}
   ========================================================= */

.profile-page .az-level-card--mini{
    position:relative;
    display:grid;
    grid-template-columns:64px minmax(0,1fr);
    gap:10px;
    align-items:stretch;
    overflow:hidden;
    margin-bottom:16px;
    padding:10px;
    min-height:100px;
    border-radius:16px;
    color:#f2f3f6;
    background:
        radial-gradient(circle at 90% 0,rgba(255,171,55,.07),transparent 28%),
        linear-gradient(145deg,rgba(18,22,29,.98),rgba(10,13,18,.99));
    border:1px solid rgba(255,255,255,.075);
    box-shadow:
        0 12px 28px rgba(0,0,0,.29),
        inset 0 1px 0 rgba(255,255,255,.025);
}

.profile-page .az-level-card--mini::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:2px;
    opacity:.65;
    background:linear-gradient(90deg,transparent,#ff9f28,#ffc85e,transparent);
}

.profile-page .az-level-card__level{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    min-height:78px;
    border-radius:12px;
    background:
        radial-gradient(circle at 50% 20%,rgba(255,185,75,.12),transparent 46%),
        linear-gradient(145deg,rgba(72,46,16,.56),rgba(27,20,12,.72));
    border:1px solid rgba(255,179,64,.20);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}

.profile-page .az-level-card__level span{
    color:#bca57f;
    font-size:8px;
    font-weight:900;
    letter-spacing:.9px;
}

.profile-page .az-level-card__level b{
    margin-top:2px;
    color:#ffd06a;
    font-size:29px;
    line-height:1;
    font-weight:900;
    text-shadow:0 0 13px rgba(255,176,52,.20);
}

.profile-page .az-level-card__content{
    min-width:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.profile-page .az-level-card__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:7px;
}

.profile-page .az-level-card__servernick{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:1px;
}

.profile-page .az-level-card__servernick small,
.profile-page .az-level-card__next span,
.profile-page .az-level-card__next small{
    color:#737b87;
    font-size:7px;
    font-weight:900;
    letter-spacing:.4px;
    text-transform:uppercase;
}

.profile-page .az-level-card__servernick strong{
    overflow:hidden;
    color:#f2f3f5;
    font-size:16px;
    font-weight:900;
    line-height:1.1;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.profile-page .az-level-card__next{
    display:flex;
    align-items:baseline;
    gap:4px;
    flex:0 0 auto;
    padding:5px 8px;
    border-radius:9px;
    background:rgba(255,255,255,.025);
    border:1px solid rgba(255,255,255,.055);
}

.profile-page .az-level-card__next b{
    color:#ffc55b;
    font-size:14px;
    font-weight:900;
}

.profile-page .az-level-card__progress{
    padding:7px 8px 6px;
    border-radius:10px;
    background:rgba(2,6,12,.28);
    border:1px solid rgba(255,255,255,.045);
}

.profile-page .az-level-card__progress[hidden]{
    display:none !important;
}

.profile-page .az-level-card__progressline{
    display:grid;
    grid-template-columns:minmax(0,1fr) 34px;
    align-items:center;
    gap:7px;
}

.profile-page .az-level-card__track{
    position:relative;
    overflow:hidden;
    height:6px;
    border-radius:999px;
    background:
        repeating-linear-gradient(
            135deg,
            rgba(255,255,255,.07) 0,
            rgba(255,255,255,.07) 5px,
            rgba(255,255,255,.026) 5px,
            rgba(255,255,255,.026) 10px
        );
    box-shadow:inset 0 1px 3px rgba(0,0,0,.40);
}

.profile-page .az-level-card__track span{
    display:block;
    min-width:4px;
    height:100%;
    border-radius:inherit;
    background:linear-gradient(90deg,#ff9d25,#ffbd32 56%,#ffd97b);
    box-shadow:
        0 0 8px rgba(255,176,44,.28),
        inset 0 1px 0 rgba(255,255,255,.18);
    transition:width .6s ease;
}

.profile-page .az-level-card__progressline > strong{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:22px;
    border-radius:7px;
    color:#ffc747;
    background:rgba(255,180,55,.07);
    border:1px solid rgba(255,180,55,.12);
    font-size:10px;
    font-weight:900;
}

.profile-page .az-level-card__stats{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-top:6px;
    color:#89919d;
    font-size:9px;
    line-height:1.2;
}

.profile-page .az-level-card__stats b{
    color:#ffbd3b;
    font-weight:900;
}

.profile-page .az-level-card__progress.is-max .az-level-card__track span{
    background:linear-gradient(90deg,#a98ac3,#d4a164);
}

@media(max-width:700px){
    .profile-page .az-level-card--mini{
        grid-template-columns:56px minmax(0,1fr);
        gap:8px;
        padding:8px;
        min-height:92px;
        border-radius:14px;
    }

    .profile-page .az-level-card__level{
        min-height:72px;
    }

    .profile-page .az-level-card__level b{
        font-size:25px;
    }

    .profile-page .az-level-card__servernick strong{
        font-size:14px;
    }
}

@media(max-width:470px){
    .profile-page .az-level-card--mini{
        grid-template-columns:50px minmax(0,1fr);
    }

    .profile-page .az-level-card__stats{
        align-items:flex-start;
        flex-direction:column;
        gap:3px;
    }
}
