/* Ширина основного контента на ПК — чуть шире на всех страницах */
@media (min-width: 768px) {
    .main-content {
        max-width: 760px !important;
    }
}
@media (min-width: 1100px) {
    .main-content {
        max-width: 740px !important;
    }
}
@media (min-width: 1400px) {
    .main-content {
        max-width: 820px !important;
    }
}

/* Live refresh / timers */
.live-refresh-flash {
    animation: live-refresh-pulse 0.7s ease;
}
@keyframes live-refresh-pulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.35); }
    100% { box-shadow: 0 0 0 0 transparent; }
}
.live-score-updated {
    animation: live-score-pop 0.55s ease;
}
@keyframes live-score-pop {
    0% { transform: scale(1); color: inherit; }
    40% { transform: scale(1.12); color: var(--accent); }
    100% { transform: scale(1); }
}
.live-timer-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: var(--text-tertiary);
}
.live-timer-pill__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--live-dot, #ef4444);
    animation: pulse-dot 1.4s ease-in-out infinite;
}
.ajax-filter-loading {
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

/* Общие виджеты правого сайдбара (все страницы) */
.sidebar-widget--featured {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.12), rgba(245, 158, 11, 0.08));
    border-color: rgba(230, 57, 70, 0.22);
}
.matchday-card {
    display: block;
}
.matchday-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    font-size: 0.66rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.matchday-card__time {
    margin-left: auto;
    font-family: var(--font-mono);
    color: var(--accent);
}
.matchday-card__teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
}
.matchday-card__team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    font-size: 0.74rem;
    font-weight: 600;
    min-width: 0;
}
.matchday-card__team span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}
.matchday-card__vs {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    font-weight: 700;
}
.matchday-card__odds {
    pointer-events: none;
}

.sidebar-standings-mini {
    font-size: 0.72rem;
}
.sidebar-standings-row {
    display: grid;
    grid-template-columns: 18px 1fr auto;
    gap: 6px;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    color: inherit;
}
.sidebar-standings-row:last-child {
    border-bottom: none;
}
.sidebar-standings-row:hover {
    color: var(--accent);
}
.sidebar-standings-pos {
    font-weight: 700;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.68rem;
}
.sidebar-standings-team {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}
.sidebar-standings-pts {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--accent);
    font-size: 0.72rem;
}
