.mew-stat-blocks {
    --mew-accent: #455AF0;
    --mew-accent-hover: #3a4bd8;
    --mew-accent-active: #2f3fb0;
    --mew-anim-duration: 1.2s;
}

.mew-stat-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    background: transparent;
    border: 0;
    padding: 0;
}

.mew-stat-block.is-active {
    --mew-accent: var(--mew-accent-active, #2f3fb0);
}

.mew-stat__chart {
    position: relative;
    container-type: inline-size;
    width: 220px;
    max-width: 100%;
    padding: 0;
}

.mew-stat__chart:hover {
    --mew-accent: var(--mew-accent-hover, #3a4bd8);
}

.mew-stat__chart svg {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.2s ease;
}

.mew-stat-block:hover .mew-stat__chart svg {
    transform: scale(1.04);
}

.mew-stat__track,
.mew-stat__progress {
    fill: none;
    stroke: #e5e7eb;
}

.mew-stat__progress {
    stroke: var(--mew-accent);
    stroke-dasharray: var(--mew-arc-len);
    stroke-dashoffset: var(--mew-arc-offset);
}

.mew-stat-blocks[data-animate='1']:not(.is-visible) .mew-stat__progress {
    stroke-dashoffset: var(--mew-arc-len);
    transition: none;
}

.mew-stat-blocks[data-animate='1'].is-visible .mew-stat__progress {
    transition: stroke-dashoffset var(--mew-anim-duration, 1.2s)
        cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
    .mew-stat-blocks .mew-stat__progress,
    .mew-stat__chart svg {
        transition: none;
    }

    .mew-stat-block:hover .mew-stat__chart svg {
        transform: none;
    }
}

.mew-stat__text {
    position: absolute;
    left: 10%;
    right: 10%;
    top: var(--mew-text-top, 50%);
    transform: translateY(-10%);
    pointer-events: none;
}

.mew-stat__label {
    color: #374151;
    font-size: clamp(12px, 8cqw, 20px);
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.mew-stat__desc {
    margin-top: 0px;
    color: #6b7280;
    font-size: clamp(10px, 6cqw, 15px);
    line-height: 1.45;
    overflow-wrap: anywhere;
}
