.levels-progress {
    margin: 8px 0 16px;
}

.levels-progress-track {
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .08);
}

.levels-progress-bar {
    height: 100%;
    background: var(--gold-grad);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .5);
    transition: width .4s ease;
}

.levels-progress-label {
    margin-top: 8px;
    color: var(--muted);
}

.levels-grid {
    display: grid;
    gap: 12px;
}

.level-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    cursor: pointer;
}

.level-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #1e232d;
    color: #e7ebf0;
    font-weight: 800;
}

.level-title {
    font-weight: 800;
}

.level-sub {
    font-size: 13px;
    color: var(--muted);
}

.level-tag {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    color: var(--fg);
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .12);
}

.level-card.active {
    outline: 2px solid var(--accent);
}

.level-card.locked {
    opacity: .6;
}

/* крупный множитель */
.level-mult {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* нижняя строка под заголовком */
.level-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
}

.level-line .muted {
    opacity: .9;
}

.chip {
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .06);
    color: var(--muted);
    font-weight: 600;
    line-height: 1.2;
}

/* ===== Available Insure Tokens badge ===== */

.level-cap-row {
    grid-column: 2;
    margin-top: 10px;
}

.levels-cap-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 4px 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    margin-bottom: 5px;
}

.levels-cap-mini .cap-label {
    font-weight: 700;
    color: var(--fg);
    font-size: 12px;
    white-space: nowrap;
}

.levels-cap-mini .cap-value {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 12px;
}

.levels-cap-mini .cap-value strong {
    font-size: 12px;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.levels-cap-mini .cap-unit {
    color: var(--muted);
    font-weight: 600;
    font-size: 12px;
}

.milestones-note {
    margin: 12px 0 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    font-size: 14px;
    line-height: 1.4;
}

.milestones-note .title {
    font-weight: 700;
    display: block;
    margin-bottom: 6px;
}

.milestones-note ul {
    margin: 0;
    padding-left: 18px;
}

.milestones-note li {
    margin: 2px 0;
}

.level-card .milestone-chip {
    margin-top: 6px;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(46, 204, 113, .12);
    border: 1px solid rgba(46, 204, 113, .35);
}

.level-card.locked .milestone-chip {
    opacity: .7;
}
