/* Monthly awards — Winner podium + compact chase (index) */
.ma-awards {
    --ma-accent: var(--accent-color, #7C4DFF);
    --ma-player: #e89a3c;
    --ma-border: var(--border-color, #dee2e6);
    max-width: 1240px;
    width: 100%;
    margin: 24px auto;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--ma-accent) 18%, var(--ma-border));
    background:
        radial-gradient(ellipse 90% 70% at 0% 0%, color-mix(in srgb, var(--ma-accent) 9%, transparent), transparent 55%),
        var(--card-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.ma-awards__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.ma-awards__heading {
    min-width: 0;
}

.ma-awards__eyebrow {
    margin: 0 0 4px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ma-accent);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ma-awards__eyebrow img {
    width: 1em;
    height: 1em;
    object-fit: contain;
}

.ma-awards__title {
    margin: 0;
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-color);
}

.ma-awards__history {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 0;
    color: var(--text-color);
    opacity: 0.72;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.15s ease, opacity 0.15s ease;
}

.ma-awards__history:hover {
    color: var(--ma-accent);
    opacity: 1;
}

.ma-awards__history img {
    width: 1em;
    height: 1em;
    object-fit: contain;
}

.ma-awards__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ma-column {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--ma-column-accent, var(--ma-accent)) 22%, var(--ma-border));
    background:
        radial-gradient(ellipse 100% 80% at 0% 0%, color-mix(in srgb, var(--ma-column-accent, var(--ma-accent)) 10%, transparent), transparent 55%),
        color-mix(in srgb, var(--ma-column-accent, var(--ma-accent)) 3%, var(--card-bg));
}

.ma-column--team {
    --ma-column-accent: var(--ma-accent);
}

.ma-column--player {
    --ma-column-accent: var(--ma-player);
}

.ma-column__label {
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--ma-column-accent, var(--ma-accent));
}

.ma-column__label img {
    width: 1.05em;
    height: 1.05em;
    object-fit: contain;
}

.ma-winner {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid color-mix(in srgb, var(--ma-column-accent, var(--ma-accent)) 16%, var(--ma-border));
    text-decoration: none;
    color: inherit;
    animation: ma-winner-in 0.45s ease both;
}

.ma-column--player .ma-winner {
    animation-delay: 0.08s;
}

@keyframes ma-winner-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ma-winner__rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f6d365, #fda085);
    color: #4a2f0b;
    font-size: 0.78rem;
    font-weight: 800;
}

.ma-winner__media {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.ma-winner__logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.ma-winner__flag {
    width: 28px;
    height: 20px;
    object-fit: cover;
    border-radius: 3px;
}

.ma-winner__role {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.ma-winner__body {
    flex: 1;
    min-width: 0;
}

.ma-winner__name {
    display: block;
    margin: 0 0 6px;
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.ma-winner:hover .ma-winner__name {
    color: var(--ma-column-accent, var(--ma-accent));
}

.ma-winner__metric {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.ma-winner__value {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1;
    color: var(--ma-column-accent, var(--ma-accent));
}

.ma-winner__unit {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-color);
    opacity: 0.55;
}

.ma-chase {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ma-chase__item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 8px 6px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.ma-chase__item:hover {
    background: color-mix(in srgb, var(--ma-column-accent, var(--ma-accent)) 8%, transparent);
}

.ma-chase__rank {
    width: 22px;
    flex-shrink: 0;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-color);
    opacity: 0.45;
}

.ma-chase__media {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.ma-chase__logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.ma-chase__flag {
    width: 16px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
}

.ma-chase__role {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.ma-chase__name {
    flex: 1;
    min-width: 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.ma-chase__item:hover .ma-chase__name {
    color: var(--ma-column-accent, var(--ma-accent));
}

.ma-chase__value {
    flex-shrink: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-color);
    opacity: 0.78;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 800px) {
    .ma-awards {
        margin: 16px 0;
        padding: 16px;
    }

    .ma-awards__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ma-awards__header {
        align-items: center;
    }

    .ma-awards__title {
        font-size: 1.35rem;
    }

    .ma-winner__logo {
        width: 52px;
        height: 52px;
    }

    .ma-winner__name {
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ma-winner {
        animation: none;
    }
}

/* --- Monthly history page --- */
.ma-history {
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px 16px 40px;
}

.ma-history__header {
    margin-bottom: 24px;
}

.ma-history__eyebrow {
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-color, #7C4DFF);
}

.ma-history__eyebrow img {
    width: 1em;
    height: 1em;
    object-fit: contain;
}

.ma-history__title {
    margin: 0 0 8px;
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-color);
}

.ma-history__subtitle {
    margin: 0;
    max-width: 52ch;
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.95rem;
    line-height: 1.45;
}

.ma-history__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ma-awards--history {
    margin: 0;
}

.ma-awards--history .ma-winner {
    animation: none;
}

.ma-history__empty {
    text-align: center;
    padding: 48px 20px;
    border-radius: 14px;
    border: 1px dashed color-mix(in srgb, var(--accent-color, #7C4DFF) 28%, var(--border-color));
    background: var(--card-bg);
}

.ma-history__empty img {
    width: 2em;
    height: 2em;
    margin-bottom: 12px;
    opacity: 0.55;
}

.ma-history__empty h2 {
    margin: 0 0 8px;
    color: var(--text-color);
    font-size: 1.35rem;
}

.ma-history__empty p {
    margin: 0;
    color: var(--text-color);
    opacity: 0.65;
}

@media (max-width: 800px) {
    .ma-history {
        padding: 16px 12px 32px;
    }

    .ma-history__list {
        gap: 14px;
    }
}
