/* ════════════════════════════════════════════════════════════════════
   Events Voting — Frontend  (voting form shortcode)
   ════════════════════════════════════════════════════════════════════ */

.evt-voting-section { font-family: inherit; max-width: 980px; margin: 0 auto; }
.evt-voting-title   { font-size: 22px; font-weight: 800; color: #1e293b; margin-bottom: 6px; }
.evt-voting-subtitle{ font-size: 14px; color: #64748b; margin-bottom: 24px; }

/* ── Tab navigation ───────────────────────────────────────────────── */
.evt-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    border-bottom: 2px solid #e8cc80;
    padding-bottom: 0;
}
.evt-tab {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    background: none;
    cursor: pointer;
    color: #64748b;
    border-radius: 8px 8px 0 0;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color .15s, border-color .15s, background .15s;
    letter-spacing: .3px;
}
.evt-tab:hover {
    color: #9a6f10;
    background: #fffbeb;
}
.evt-tab-active {
    color: #9a6f10;
    border-bottom-color: #c49a2a;
    background: #fffbeb;
}
.evt-tab-panel { display: block; }
.evt-tab-panel-hidden { display: none; }

/* Empty leaderboard state */
.evt-vlb-empty {
    text-align: center;
    padding: 48px 24px;
    color: #64748b;
}
.evt-vlb-empty span { font-size: 40px; display: block; margin-bottom: 12px; }
.evt-vlb-empty p { font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
.evt-tab-back-btn {
    background: none;
    border: 1px solid #e8cc80;
    color: #9a6f10;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: background .15s;
}
.evt-tab-back-btn:hover { background: #fffbeb; }

/* ── Contestant grid ─────────────────────────────────────────────── */
/* Mobile: flex wrap — 2 columns, was working fine */
.evt-contestants-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
}
.evt-ccard-wrap {
    flex: 0 0 calc(50% - 8px) !important;
    width: calc(50% - 8px) !important;
    box-sizing: border-box !important;
}
@media (max-width: 360px) {
    .evt-ccard-wrap { flex: 0 0 100% !important; width: 100% !important; }
}
/* Card: full width inside wrapper; internal flex pins VOTE NOW to bottom */
.evt-ccard {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: visible;
    transition: border-color .2s, box-shadow .2s, transform .2s;
    position: relative;
    display: flex;
    flex-direction: column;
}
.evt-ccard:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0,0,0,.10);
    border-color: #e8cc80 !important;
}
.evt-ccard.evt-ccard-open {
    border-color: #c49a2a !important;
    box-shadow: 0 0 0 3px rgba(196,154,42,.15), 0 8px 28px rgba(0,0,0,.10);
}

/* ── Photo + badge ───────────────────────────────────────────────── */
.evt-ccard-photo-wrap {
    position: relative; width: 100%;
    border-radius: 16px 16px 0 0; overflow: hidden;
}
/* Mobile default: portrait ratio, cover crops from top so faces always show */
.evt-ccard-photo {
    width: 100%; aspect-ratio: 3/4; object-fit: cover;
    object-position: top center; display: block;
}
.evt-ccard-photo-empty {
    width: 100%; aspect-ratio: 3/4;
    display: flex; align-items: center; justify-content: center;
    font-size: 56px; background: #f8f9fa;
}

/* Vote count badge — large pill, top-right */
.evt-ccard-votes-badge {
    position: absolute; top: 10px; right: 10px;
    background: rgba(20,20,20,.82) !important;
    backdrop-filter: blur(6px);
    color: #fff !important; border-radius: 50px;
    padding: 5px 13px;
    display: flex; flex-direction: column; align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,.3);
    pointer-events: none; min-width: 54px;
}
.evt-ccard-votes-num { font-size: 20px; font-weight: 900; line-height: 1; }
.evt-ccard-votes-lbl { font-size: 9px; text-transform: uppercase; letter-spacing: 1px; opacity: .8; font-weight: 700; margin-top: 1px; }

/* ── Card body ───────────────────────────────────────────────────── */
.evt-ccard-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;           /* fill remaining height after photo */
}
.evt-ccard-code {
    font-size: 10px; font-weight: 800; letter-spacing: 1.5px;
    text-transform: uppercase; color: #c49a2a; margin-bottom: 4px;
}
.evt-ccard-name {
    font-size: 16px; font-weight: 800; color: #1e293b;
    margin-bottom: 6px; line-height: 1.3;
}
.evt-ccard-excerpt {
    font-size: 12px; color: #64748b; line-height: 1.55;
    margin-bottom: 14px;
    flex: 1;           /* push VOTE NOW to bottom */
}

/* VOTE NOW — gold pill identical to Pay button */
.evt-ccard-btns {
    display: flex;
    gap: 8px;
    align-items: stretch;
    margin-top: auto;
}
.evt-ccard-trigger {
    flex: 1; display: block; text-align: center;
    padding: 15px 12px;
    background: linear-gradient(135deg, #b8860b 0%, #e8c44a 55%, #b8860b 100%) !important;
    color: #fff !important;
    border: none !important; border-radius: 50px;
    font-size: 14px; font-weight: 900; letter-spacing: 1px;
    cursor: pointer; font-family: inherit;
    transition: all .22s;
    box-shadow: 0 5px 20px rgba(184,134,11,.42);
    text-shadow: 0 1px 3px rgba(0,0,0,.2);
    outline: none;
    white-space: nowrap;
}
.evt-ccard-trigger:hover {
    box-shadow: 0 8px 28px rgba(184,134,11,.58) !important;
    transform: translateY(-2px) !important;
    color: #fff !important;
}
.evt-ccard-open .evt-ccard-trigger {
    border-radius: 50px 50px 0 0;
    box-shadow: none;
}
.evt-ccard-profile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    background: #f3f4f6;
    color: #374151;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background .18s, border-color .18s, color .18s;
    font-family: inherit;
}
.evt-ccard-profile-btn:hover {
    background: #fdf6e3;
    border-color: #c49a2a;
    color: #9a6f10;
    text-decoration: none;
}

/* ── Accordion panel ─────────────────────────────────────────────── */
.evt-ccard-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height .34s cubic-bezier(.4,0,.2,1);
}
/* When open — use clip instead of overflow:hidden so popular badge shows */
.evt-ccard-open .evt-ccard-panel {
    overflow: visible;
}
.evt-ccard-panel-inner {
    padding: 20px 16px 18px;
    background: #fffdf5 !important;
    border-top: 2px solid #e8cc80;
}

/* Package heading */
.evt-ccard-pkg-heading {
    font-size: 11px; font-weight: 900; letter-spacing: 2.5px;
    color: #374151 !important; text-align: center;
    text-transform: uppercase; margin-bottom: 18px;
}

/* ══════════════════════════════════════════════════════════════════
   PACKAGE GRID
   Desktop: 3 × 3   Mobile (≤640px): 2 columns
   ══════════════════════════════════════════════════════════════════ */
.evt-ccard-pkg-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 10px;
    margin-bottom: 28px; /* room for popular badge */
}

/* Wrapper — reserves space below chip for Popular badge */
.evt-cpkg-wrap          { position: relative; padding-bottom: 0; }
.evt-cpkg-wrap-popular  { padding-bottom: 16px; }

/* Package chip */
.evt-cpkg {
    width: 100%;
    display: flex; flex-direction: column; align-items: center;
    padding: 16px 6px 14px;
    background: #f8f9fa !important;
    border: 2px solid #dee2e6 !important;
    border-radius: 14px;
    cursor: pointer; font-family: inherit; color: #1e293b !important;
    transition: all .18s; text-align: center;
    box-shadow: none;
    outline: none;
}
.evt-cpkg:hover {
    border-color: #c49a2a !important;
    background: #fffbf0 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(196,154,42,.18) !important;
}
.evt-cpkg.evt-cpkg-selected {
    border-color: #c49a2a !important;
    background: #fffbee !important;
    box-shadow: 0 0 0 3px rgba(196,154,42,.35), 0 4px 16px rgba(196,154,42,.2) !important;
}

/* Number — large, prominent */
.evt-cpkg-num {
    font-size: 26px; font-weight: 900; line-height: 1;
    color: #1e293b !important;
}
.evt-cpkg.evt-cpkg-selected .evt-cpkg-num { color: #9a6f10 !important; }

.evt-cpkg-unit {
    font-size: 9px; font-weight: 800; letter-spacing: 1.2px;
    text-transform: uppercase; color: #6b7280 !important; margin: 4px 0;
}
.evt-cpkg.evt-cpkg-selected .evt-cpkg-unit { color: #b8860b !important; }

.evt-cpkg-price {
    font-size: 11px; font-weight: 800; color: #c49a2a !important;
}

/* Popular badge — BELOW the chip wrapper */
.evt-cpkg-popular-badge {
    position: absolute;
    bottom: 0; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, #b8860b, #e8c44a) !important;
    color: #fff !important;
    font-size: 9px; font-weight: 900;
    padding: 3px 11px; border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(184,134,11,.4);
    pointer-events: none; z-index: 2;
}

/* ── Summary card ────────────────────────────────────────────────── */
.evt-ccard-summary {
    background: #fff !important; border-radius: 14px;
    border: 1.5px solid #e9ecef !important;
    margin-bottom: 16px; overflow: hidden;
    box-shadow: 0 1px 6px rgba(0,0,0,.05);
}
.evt-ccard-sum-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 13px 16px; border-bottom: 1px solid #f1f3f5;
    font-size: 14px;
}
.evt-ccard-sum-last { border-bottom: none; }
.evt-ccard-sum-row span   { color: #9ca3af !important; font-weight: 500; }
.evt-ccard-sum-row strong { color: #1e293b !important; font-weight: 700; font-size: 15px; }
.evt-ccard-sum-price {
    font-size: 22px !important; font-weight: 900 !important; color: #c49a2a !important;
}

/* ── Pay button — identical gradient + shape to VOTE NOW ─────────── */
.evt-ccard-pay-btn {
    width: 100%; padding: 17px 20px;
    background: linear-gradient(135deg, #b8860b 0%, #e8c44a 55%, #b8860b 100%) !important;
    color: #fff !important;
    border: none !important; border-radius: 50px;
    font-size: 16px; font-weight: 900; letter-spacing: .5px;
    font-family: inherit; cursor: pointer;
    transition: all .25s; margin-bottom: 14px;
    box-shadow: 0 5px 20px rgba(184,134,11,.42);
    text-shadow: 0 1px 3px rgba(0,0,0,.2);
    position: relative; overflow: hidden; outline: none;
}
.evt-ccard-pay-btn::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(108deg, rgba(255,255,255,.18) 0%, transparent 50%);
    pointer-events: none;
}
.evt-ccard-pay-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 9px 30px rgba(184,134,11,.55) !important;
    color: #fff !important;
}
.evt-ccard-pay-btn:disabled { opacity: .65; cursor: not-allowed; transform: none !important; }
.evt-ccard-pay-text,
.evt-ccard-pay-loading { display: flex; align-items: center; justify-content: center; gap: 8px; }

/* Spinner */
.evt-spinner-ring {
    width: 17px; height: 17px; border-radius: 50%;
    border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff;
    animation: evtSpin .65s linear infinite; display: inline-block;
}
@keyframes evtSpin { to { transform: rotate(360deg); } }

/* Error */
.evt-ccard-error {
    padding: 10px 14px; background: #fff5f5 !important;
    border: 1px solid #fca5a5 !important; border-radius: 10px;
    color: #dc2626 !important; font-size: 12px; font-weight: 600; margin-bottom: 12px;
}

/* Footer */
.evt-ccard-footer { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.evt-ccard-secure {
    display: flex; align-items: center; gap: 5px;
    font-size: 10px; color: #9ca3af !important; font-weight: 600; text-align: center; line-height: 1.4;
}
.evt-ccard-secure svg { width: 11px; height: 11px; flex-shrink: 0; color: #22c55e !important; }
.evt-ccard-profile-link {
    font-size: 11px; color: #c49a2a !important; font-weight: 700; text-decoration: none;
}
.evt-ccard-profile-link:hover { text-decoration: underline; }

/* ════════════════════════════════════════════════════════════════════
   LEADERBOARD — Enhanced visuals
   ════════════════════════════════════════════════════════════════════ */
.evt-voting-leaderboard {
    margin-top: 40px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8cc80;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}
.evt-vlb-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 13px 18px;
    background: linear-gradient(135deg, #fffbeb 0%, #fdf3c8 50%, #fffbeb 100%);
    border-bottom: 2px solid #e8cc80;
}
.evt-vlb-title {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 800; color: #9a6f10;
}
.evt-vlb-subtitle {
    font-size: 11px; color: #b8860b; font-weight: 600; margin-top: 2px;
}
.evt-vlb-row {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 16px; border-bottom: 1px solid #f1f3f5;
    transition: background .15s;
    text-decoration: none; color: inherit;
}
.evt-vlb-row:last-child { border-bottom: none; }
.evt-vlb-row:hover { background: #fffdf5; }
.evt-vlb-row-1 {
    background: linear-gradient(90deg, #fffbeb, #fff) !important;
    border-left: 3px solid #c49a2a;
}
.evt-vlb-row-2 {
    background: linear-gradient(90deg, #f8fafc, #fff) !important;
    border-left: 3px solid #94a3b8;
}
.evt-vlb-row-3 {
    background: linear-gradient(90deg, #fdf5ef, #fff) !important;
    border-left: 3px solid #cd7f32;
}
.evt-vlb-rank {
    font-size: 18px; width: 28px; text-align: center; flex-shrink: 0;
}
.evt-vlb-photo {
    width: 36px; height: 36px; border-radius: 50%;
    overflow: hidden; flex-shrink: 0; background: #f1f5f9;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
    border: 2px solid #e8cc80;
}
.evt-vlb-row-1 .evt-vlb-photo { border-color: #c49a2a; }
.evt-vlb-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.evt-vlb-info { flex: 1; min-width: 0; }
.evt-vlb-name {
    font-size: 12px; font-weight: 700; color: #1e293b;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.evt-vlb-row-1 .evt-vlb-name { color: #9a6f10; }
.evt-vlb-bar-wrap {
    height: 4px; background: #f1f5f9; border-radius: 2px; margin-top: 4px; overflow: hidden;
}
.evt-vlb-bar-fill {
    height: 100%; border-radius: 2px;
    background: linear-gradient(90deg, #b8860b, #e8c44a);
    transition: width .8s cubic-bezier(.34,1.56,.64,1);
}
.evt-vlb-row-1 .evt-vlb-bar-fill {
    background: linear-gradient(90deg, #9a6f10, #e8c44a, #9a6f10);
}
.evt-vlb-votes-col { text-align: right; flex-shrink: 0; }
.evt-vlb-votes {
    font-size: 13px; font-weight: 900; color: #c49a2a;
    white-space: nowrap; font-variant-numeric: tabular-nums;
}
.evt-vlb-row-1 .evt-vlb-votes { color: #9a6f10; }
.evt-vlb-votes-lbl {
    font-size: 8px; color: #94a3b8; font-weight: 700;
    text-transform: uppercase; text-align: right; margin-top: 1px;
    letter-spacing: .5px;
}

/* ── Responsive ──────────────────────────────────────────────────── */

/* ── Desktop ≥768px ──────────────────────────────────────────────── */
@media (min-width: 768px) {
    .evt-voting-section {
        max-width: 100% !important;
        width: 100% !important;
    }
    /* 2 columns via flex — card width is self-enforced, Elementor can't override */
    .evt-contestants-grid {
        gap: 24px !important;
    }
    .evt-ccard {
        flex: 0 0 calc(50% - 12px) !important;
    }
    .evt-ccard-photo-wrap {
        height: 420px !important;
        aspect-ratio: unset !important;
    }
    .evt-ccard-photo {
        aspect-ratio: unset !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center top !important;
    }
    .evt-ccard-photo-empty {
        aspect-ratio: unset !important;
        height: 420px !important;
    }
    .evt-ccard-panel-inner { padding: 22px 20px 20px; }
    .evt-cpkg        { padding: 18px 8px 16px; }
    .evt-cpkg-num    { font-size: 26px; }
    .evt-cpkg-unit   { font-size: 9px; }
    .evt-cpkg-price  { font-size: 11px; }
}

/* ── Landscape phones ────────────────────────────────────────────── */
@media (orientation: landscape) and (max-height: 600px) {
    .evt-ccard {
        flex: 0 0 calc(50% - 8px) !important;
    }
    .evt-ccard-pkg-grid {
        grid-template-columns: repeat(3, minmax(0,1fr)) !important;
        gap: 7px !important;
    }
    .evt-cpkg         { padding: 12px 4px 10px; }
    .evt-cpkg-num     { font-size: 20px; }
    .evt-cpkg-unit    { font-size: 8px; }
    .evt-cpkg-price   { font-size: 10px; }
}

/* ── Mobile portrait ≤640px ─────────────────────────────────────── */
@media (max-width: 640px) {
    .evt-contestants-grid { gap: 14px !important; }
    .evt-ccard            { flex: 0 0 calc(50% - 7px) !important; }
    .evt-ccard-pkg-grid   { gap: 6px !important; }
    .evt-cpkg             { padding: 12px 2px 10px; }
    .evt-cpkg-num         { font-size: 18px; }
    .evt-cpkg-unit        { font-size: 7px; }
    .evt-cpkg-price       { font-size: 9px; }
    .evt-vlb-row          { padding: 9px 12px; }
    .evt-vlb-header       { padding: 10px 14px; }
}

/* ── Very small screens ≤360px ───────────────────────────────────── */
@media (max-width: 360px) {
    .evt-ccard { flex: 0 0 100% !important; }
}


/* ── Real-time vote flash ──────────────────────────────────────── */
@keyframes voteFlash {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.25); background: #f59e0b; }
    100% { transform: scale(1); }
}
.evt-votes-updated { animation: voteFlash .6s ease-out; }


/* ── Tab responsiveness — mobile only, desktop unchanged ─────────── */
@media (max-width: 767px) {
    .evt-tabs {
        gap: 0;
    }
    .evt-tab {
        flex: 1;
        text-align: center;
        padding: 10px 8px;
        font-size: 13px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
    }
}

/* ════════════════════════════════════════════════════════════════════
   CATEGORY FILTER PILLS — events page leaderboard
   ════════════════════════════════════════════════════════════════════ */
.evt-lb-cat-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 0 14px;
}
.evt-lb-cat-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 20px;
    min-width: 100px;
    border: 2px solid #c49a2a;
    border-radius: 6px;
    background: #fff;
    color: #9a6f10;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s, color .15s, box-shadow .15s;
    white-space: nowrap;
    text-transform: none;
    box-shadow: none;
}
.evt-lb-cat-btn:hover {
    background: #fdf6e3;
    color: #7a5600;
    box-shadow: 0 2px 8px rgba(196,154,42,.18);
}
.evt-lb-cat-btn.active {
    background: #c49a2a;
    border-color: #c49a2a;
    color: #fff;
    box-shadow: 0 2px 8px rgba(196,154,42,.3);
}
.evt-lb-cat-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    background: rgba(0,0,0,.12);
    border-radius: 50px;
    padding: 0 6px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}
.evt-lb-cat-btn:not(.active) .evt-lb-cat-count {
    background: #e5e7eb;
    color: #6b7280;
}

/* Category badge on list rows */
.evt-vlb-cat-badge {
    display: inline-block;
    background: #fdf6e3;
    border: 1px solid #e8cc80;
    color: #9a6f10;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 50px;
    margin-left: 6px;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: .4px;
}

/* ════════════════════════════════════════════════════════════════════
   GRID MODE — leaderboard displayed as photo cards
   ════════════════════════════════════════════════════════════════════ */
.evt-lb-mode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    padding: 8px 0;
}
.evt-lb-grid-card {
    background: #fff;
    border: 2px solid #f3f4f6;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color .18s, box-shadow .18s, transform .18s;
    display: block;
}
.evt-lb-grid-card:hover {
    border-color: #c49a2a;
    box-shadow: 0 4px 20px rgba(196,154,42,.18);
    transform: translateY(-2px);
}
.evt-lb-grid-card.evt-lb-grid-me {
    border-color: #c49a2a;
    box-shadow: 0 0 0 3px rgba(196,154,42,.25);
}
.evt-lb-grid-photo {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f3f4f6;
}
.evt-lb-grid-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
}
.evt-lb-grid-no-photo {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 40px;
}
.evt-lb-grid-rank {
    position: absolute;
    top: 6px; left: 6px;
    font-size: 18px;
    line-height: 1;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,.4));
}
.evt-lb-grid-info {
    padding: 10px 10px 12px;
}
.evt-lb-grid-name {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.evt-lb-grid-cat {
    font-size: 10px;
    font-weight: 700;
    color: #9a6f10;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px;
}
.evt-lb-grid-votes {
    font-size: 14px;
    font-weight: 900;
    color: #c49a2a;
}
.evt-lb-grid-votes span {
    font-size: 10px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
}

/* ════════════════════════════════════════════════════════════════════
   DASHBOARD — category pills & rank callout
   ════════════════════════════════════════════════════════════════════ */
.evt-mini-lb-myrank {
    background: linear-gradient(135deg, #fdf6e3, #fffbeb);
    border: 1.5px solid #e8cc80;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: #374151;
    margin: 10px 0 8px;
    text-align: center;
}
.evt-mini-lb-myrank strong { color: #9a6f10; }

.evt-mini-lb-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 0 14px;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 8px;
}
.evt-mini-lb-cat-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    min-width: 100px;
    border: 2px solid #c49a2a;
    border-radius: 6px;
    background: #fff;
    color: #9a6f10;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s, color .15s, box-shadow .15s;
    white-space: nowrap;
}
.evt-mini-lb-cat-btn:hover { background: #fdf6e3; color: #7a5600; box-shadow: 0 2px 8px rgba(196,154,42,.18); }
.evt-mini-lb-cat-btn.active { background: #c49a2a; border-color: #c49a2a; color: #fff; box-shadow: 0 2px 8px rgba(196,154,42,.3); }

/* Grid mode inside dashboard */
.evt-mini-lb-body.evt-lb-mode-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 8px;
    padding: 8px 0 0;
}
