.ev-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem 4rem;
}

/* ── hero ── */
.ev-hero {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 0.5rem 0 1.4rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-bottom: 2rem;
}
.ev-hero-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.22);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; color: var(--primary);
}
.ev-hero-icon svg { width: 22px; height: 22px; }
.ev-hero-title { font-size: 1.45rem; font-weight: 800; line-height: 1.1; }
.ev-hero-sub   { font-size: 0.8rem; color: var(--text-dim); margin-top: 0.2rem; }

/* ── section label ── */
.ev-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.ev-label-count { opacity: 0.45; font-weight: 600; }
.ev-dot-live {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 5px #4ade8099;
    animation: ev-pulse 1.8s ease-in-out infinite;
}
@keyframes ev-pulse { 0%,100%{ opacity:1; } 50%{ opacity:.35; } }

/* ── grid ── */
.ev-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-bottom: 2.2rem;
}

/* ── card ── */
.ev-card {
    background: var(--card);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.15s, transform 0.12s;
}
.ev-card:hover {
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-1px);
}

/* map thumbnail */
.ev-map-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: rgba(255,255,255,0.04);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}
.ev-map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ev-map-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.18;
}
.ev-map-img-placeholder svg { width: 32px; height: 32px; }

/* card body */
.ev-card-body {
    padding: 0.8rem 1rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}
.ev-card-mode-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.ev-mode-icon {
    width: 20px; height: 20px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 3px;
}
.ev-mode-icon-placeholder {
    width: 20px; height: 20px;
    border-radius: 3px;
    background: var(--ev-c);
    opacity: 0.35;
    flex-shrink: 0;
}
.ev-card-mode-name {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ev-c);
    line-height: 1;
}
.ev-card-map-name {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0.1rem;
}
.ev-card-timer {
    font-size: 0.72rem;
    color: var(--text-dim);
    margin-top: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    line-height: 1;
}
.ev-card-timer svg { width: 11px; height: 11px; flex-shrink: 0; opacity: .6; }

/* upcoming muted */
.ev-card-upcoming { opacity: 0.7; }
.ev-card-upcoming:hover { opacity: 0.9; }

.ev-empty {
    color: var(--text-dim);
    font-size: 0.82rem;
    padding: 0.4rem 0 2rem;
}

/* ── mobile ── */
@media (max-width: 600px) {
    .ev-grid { grid-template-columns: 1fr 1fr; gap: 0.55rem; }
    .ev-card-body { padding: 0.65rem 0.75rem 0.75rem; }
    .ev-card-map-name { font-size: 0.82rem; }
    .ev-hero { padding-top: 0.5rem; }
    .ev-hero-title { font-size: 1.2rem; }
}
@media (max-width: 380px) {
    .ev-grid { grid-template-columns: 1fr; }
}
