.stats-level-progress-track {
    width: 100%;
    height: 10px;
    background: #0B1016;
    border-radius: 10px;
    overflow: hidden;
}

.stats-level-progress-fill {
    height: 100%;
    max-width: 100%;
    background: #7543F4;
    border-radius: 10px;
}

/* Profile statistics heatmap */
.activity-heatmap-wrap {
    overflow-x: auto;
}

.activity-heatmap {
    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: 8px;
    min-width: max-content;
}

.activity-heatmap-months {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 13px;
    gap: 3px;
    padding-left: 28px;
    height: 16px;
}

.activity-heatmap-month {
    font-size: 11px;
    color: #64748b;
    white-space: nowrap;
    grid-column: span 4;
}

.activity-heatmap-body {
    display: flex;
    gap: 8px;
}

.activity-heatmap-weekdays {
    display: grid;
    grid-template-rows: repeat(7, 13px);
    gap: 3px;
    width: 20px;
    flex-shrink: 0;
}

.activity-heatmap-weekday {
    font-size: 10px;
    color: #64748b;
    line-height: 13px;
}

.activity-heatmap-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 13px;
    grid-template-rows: repeat(7, 13px);
    gap: 3px;
}

.activity-cell {
    width: 13px;
    height: 13px;
    border-radius: 3px;
    background: #1e293b;
    cursor: pointer;
    font: inherit;
    padding: 0;
    border: none;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.activity-cell:hover,
.activity-cell:focus-visible {
    transform: scale(1.15);
    box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.5);
    outline: none;
}

.activity-cell--level-1 { background: #1e3a5f; }
.activity-cell--level-2 { background: #2563eb; }
.activity-cell--level-3 { background: #3b82f6; }
.activity-cell--level-4 { background: #55acee; }

.activity-tooltip {
    position: fixed;
    z-index: 200;
    pointer-events: none;
    padding: 8px 12px;
    border-radius: 8px;
    background: #1e293b;
    border: 1px solid #334155;
    color: #f8fafc;
    font-size: 12px;
    line-height: 1.4;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translate(-50%, -100%) translateY(-8px);
    transition: opacity 0.12s ease;
    white-space: nowrap;
}

.activity-tooltip.visible {
    opacity: 1;
}

.activity-tooltip-date {
    color: #94a3b8;
    margin-bottom: 2px;
}

.recent-activity-item {
    transition: background-color 0.15s ease;
}

.recent-activity-item:hover {
    background: rgba(117, 67, 244, 0.06);
}

/* Topic progress stats */
.topic-stats-item {
    transition: background-color 0.15s ease;
}

.topic-stats-item:hover {
    background: rgba(117, 67, 244, 0.06);
}

.topic-stats-track {
    height: 6px;
}
