/* =============================================================================
   EVL Voting Popup — Modal Styles  v1.3.0
   ============================================================================= */

/* ── Overlay ─────────────────────────────────────────────────────────────── */
#evl-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(4, 3, 8, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#evl-modal-overlay.evl-open {
    opacity: 1;
    pointer-events: all;
}

/* ── Modal box ───────────────────────────────────────────────────────────── */
#evl-modal {
    position: relative;
    /* evl gradient removed */
    border: 1px solid rgba(201, 151, 58, 0.22);
    border-radius: 4px;
    width: 100%;
    max-width: 520px;
    max-height: 88vh;
    overflow-y: auto;
    padding: 48px 44px 40px;
    box-shadow:
        0 0 0 1px rgba(201, 151, 58, 0.06),
        0 32px 80px rgba(0, 0, 0, 0.7),
        0 0 60px rgba(201, 151, 58, 0.06) inset;
    transform: translateY(18px) scale(0.98);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    --corner: rgba(201, 151, 58, 0.55);
    --cs: 18px;
}

#evl-modal-overlay.evl-open #evl-modal {
    transform: translateY(0) scale(1);
}

/* Geometric corner accents */
#evl-modal::before,
#evl-modal::after {
    content: '';
    position: absolute;
    width: var(--cs);
    height: var(--cs);
    pointer-events: none;
}

#evl-modal::before {
    top: -1px;
    left: -1px;
    border-top: 2px solid var(--corner);
    border-left: 2px solid var(--corner);
}

#evl-modal::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid var(--corner);
    border-right: 2px solid var(--corner);
}

/* Scrollbar */
#evl-modal::-webkit-scrollbar        { width: 4px; }
#evl-modal::-webkit-scrollbar-track  { background: transparent; }
#evl-modal::-webkit-scrollbar-thumb  { background: rgba(201, 151, 58, 0.25); border-radius: 2px; }

/* ── Close button ────────────────────────────────────────────────────────── */
#evl-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    background: none;
    border: none;
    color: rgba(201, 151, 58, 0.5);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s;
    font-family: sans-serif;
}

#evl-modal-close:hover {
    color: #E8C46A;
}

/* ── Mount container ─────────────────────────────────────────────────────── */
#evl-popup-mount {
    font-family: 'Josefin Sans', sans-serif;
    color: #f0e6cc;
    min-height: 120px;
}

/* ── Title ───────────────────────────────────────────────────────────────── */
.evl-popup-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: #E8C46A;
    margin: 0 0 28px;
    text-align: center;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(201, 151, 58, 0.12);
    line-height: 1.5;
}

.evl-popup-title span {
    display: block;
    font-size: 22px;
    letter-spacing: 0.08em;
    margin-top: 4px;
    color: #fff;
}

/* ── Section label ───────────────────────────────────────────────────────── */
.evl-section-label {
    font-size: 9px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #C9973A;
    margin: 22px 0 10px;
    font-weight: 700;
}

/* ── Single category badge ───────────────────────────────────────────────── */
.evl-category-badge {
    background: rgba(201, 151, 58, 0.08);
    border: 1px solid rgba(201, 151, 58, 0.28);
    border-radius: 3px;
    padding: 11px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #f0e6cc;
    display: inline-block;
    letter-spacing: 0.06em;
}

/* ── Category radio list ─────────────────────────────────────────────────── */
.evl-category-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.evl-radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 11px 14px;
    border-radius: 3px;
    border: 1px solid rgba(201, 151, 58, 0.12);
    background: rgba(201, 151, 58, 0.03);
    transition: background 0.18s, border-color 0.18s;
    font-size: 13px;
    letter-spacing: 0.04em;
    color: #d4c49a;
}

.evl-radio-label:hover {
    background: rgba(201, 151, 58, 0.08);
    border-color: rgba(201, 151, 58, 0.35);
    color: #f0e6cc;
}

.evl-radio-label:has(input:checked) {
    background: rgba(201, 151, 58, 0.12);
    border-color: rgba(201, 151, 58, 0.5);
    color: #E8C46A;
}

.evl-radio-label input[type="radio"] {
    accent-color: #C9973A;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* ── Competitors panel ───────────────────────────────────────────────────── */
#evl-competitors-panel {
    transition: opacity 0.2s ease;
}

#evl-competitors-panel.evl-fading {
    opacity: 0;
}

.evl-competitors {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.evl-competitor {
    font-size: 13px;
    padding: 7px 12px;
    border-radius: 3px;
    color: #9e8e6a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.evl-competitor::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(201, 151, 58, 0.35);
    flex-shrink: 0;
}

.evl-competitor.evl-highlight {
    color: #E8C46A;
    font-weight: 700;
    background: rgba(201, 151, 58, 0.07);
}

.evl-competitor.evl-highlight::before {
    background: #C9973A;
}

/* ── Song submitted label ────────────────────────────────────────────────── */
.evl-song-submitted {
    color: rgba(201, 151, 58, 0.65);
    font-weight: 400;
    font-style: italic;
    font-size: 12px;
    letter-spacing: 0.02em;
}

.evl-competitor.evl-highlight .evl-song-submitted {
    color: rgba(232, 196, 106, 0.7);
}

/* ── Divider ─────────────────────────────────────────────────────────────── */
.evl-divider {
    height: 1px;
    background: rgba(201, 151, 58, 0.1);
    margin: 24px 0 0;
}

/* ── Continue button ─────────────────────────────────────────────────────── */
.evl-continue-wrap {
    margin-top: 28px;
    text-align: center;
}

.evl-continue-btn {
    cursor: pointer;
    display: inline-block;
    background: linear-gradient(135deg, #C9973A 0%, #E8C46A 50%, #C9973A 100%);
    background-size: 200% auto;
    color: #07060c;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    border: none;
    padding: 17px 52px;
    clip-path: polygon(0 12px, 12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
    transition: background-position 0.4s ease, filter 0.25s ease;
}

.evl-continue-btn:hover {
    background-position: right center;
    filter: drop-shadow(0 4px 18px rgba(201, 151, 58, 0.55));
}

/* ── Loading state ───────────────────────────────────────────────────────── */
.evl-loading {
    text-align: center;
    padding: 40px 0;
    color: rgba(201, 151, 58, 0.6);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.evl-spinner {
    display: block;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(201, 151, 58, 0.15);
    border-top-color: #C9973A;
    border-radius: 50%;
    animation: evl-spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes evl-spin {
    to { transform: rotate(360deg); }
}

/* ── Error state ─────────────────────────────────────────────────────────── */
.evl-error {
    text-align: center;
    color: #c0614a;
    font-size: 12px;
    padding: 30px 0;
    letter-spacing: 0.04em;
}

/* ── Mobile ──────────────────────────────────────────────────────────────── */
@media (max-width: 560px) {
    #evl-modal {
        padding: 40px 24px 32px;
    }
}


/* =============================================================================
   PHASE 2 — Vote Package Picker Styles
   ============================================================================= */

/* ── Vote summary (nominee / category / edition recap) ───────────────────── */
.evl-vote-summary {
    background: rgba(201, 151, 58, 0.05);
    border: 1px solid rgba(201, 151, 58, 0.12);
    border-radius: 3px;
    padding: 14px 18px;
    margin-bottom: 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.evl-summary-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.evl-summary-key {
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(201, 151, 58, 0.6);
    font-weight: 700;
    flex-shrink: 0;
}

.evl-summary-val {
    font-size: 12px;
    color: #d4c49a;
    text-align: right;
    letter-spacing: 0.04em;
}

/* ── Package grid ────────────────────────────────────────────────────────── */
.evl-package-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.evl-package-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: pointer;
    padding: 16px 8px 14px;
    border-radius: 3px;
    border: 1px solid rgba(201, 151, 58, 0.15);
    background: rgba(201, 151, 58, 0.04);
    transition: background 0.18s, border-color 0.18s, transform 0.15s;
    text-align: center;
    position: relative;
}

.evl-package-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.evl-package-card:hover {
    background: rgba(201, 151, 58, 0.09);
    border-color: rgba(201, 151, 58, 0.4);
    transform: translateY(-1px);
}

.evl-package-card.evl-package-selected {
    background: rgba(201, 151, 58, 0.14);
    border-color: rgba(201, 151, 58, 0.65);
}

.evl-package-card.evl-package-selected::after {
    content: '✓';
    position: absolute;
    top: 5px;
    right: 7px;
    font-size: 9px;
    color: #C9973A;
    font-weight: 700;
}

.evl-pkg-votes {
    font-size: 20px;
    font-weight: 700;
    color: #E8C46A;
    line-height: 1;
}

.evl-pkg-label {
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(201, 151, 58, 0.5);
    font-weight: 700;
}

.evl-pkg-price {
    font-size: 11px;
    color: #c4b07a;
    margin-top: 4px;
    letter-spacing: 0.04em;
}

/* ── Custom quantity ─────────────────────────────────────────────────────── */
.evl-custom-wrap {
    margin-top: 12px;
}

.evl-custom-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 12px;
    color: rgba(201, 151, 58, 0.6);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 4px;
    transition: color 0.18s;
}

.evl-custom-label:hover {
    color: #C9973A;
}

.evl-custom-label input[type="radio"] {
    accent-color: #C9973A;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.evl-custom-inputs {
    margin-top: 10px;
    padding: 14px 16px;
    background: rgba(201, 151, 58, 0.04);
    border: 1px solid rgba(201, 151, 58, 0.14);
    border-radius: 3px;
}

.evl-custom-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: end;
}

.evl-custom-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.evl-field-label {
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(201, 151, 58, 0.5);
    font-weight: 700;
}

.evl-custom-number {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(201, 151, 58, 0.2);
    border-radius: 3px;
    color: #f0e6cc;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 14px;
    padding: 10px 12px;
    width: 100%;
    outline: none;
    transition: border-color 0.18s;
    -moz-appearance: textfield;
}

.evl-custom-number::-webkit-outer-spin-button,
.evl-custom-number::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.evl-custom-number:focus {
    border-color: rgba(201, 151, 58, 0.55);
}

.evl-amount-display {
    font-size: 16px;
    font-weight: 700;
    color: #E8C46A;
    padding: 10px 0;
    letter-spacing: 0.04em;
}

/* ── Order total ─────────────────────────────────────────────────────────── */
.evl-order-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding: 14px 18px;
    background: rgba(201, 151, 58, 0.07);
    border: 1px solid rgba(201, 151, 58, 0.22);
    border-radius: 3px;
}

.evl-order-total span:first-child {
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(201, 151, 58, 0.6);
    font-weight: 700;
}

.evl-order-total span:last-child {
    font-size: 18px;
    font-weight: 700;
    color: #E8C46A;
    letter-spacing: 0.04em;
}

/* ── Action buttons ──────────────────────────────────────────────────────── */
.evl-pkg-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
}

.evl-back-btn {
    cursor: pointer;
    background: none;
    border: 1px solid rgba(201, 151, 58, 0.2);
    color: rgba(201, 151, 58, 0.55);
    font-family: 'Josefin Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    padding: 12px 22px;
    border-radius: 3px;
    transition: border-color 0.2s, color 0.2s;
}

.evl-back-btn:hover {
    border-color: rgba(201, 151, 58, 0.45);
    color: #C9973A;
}

.evl-proceed-btn {
    cursor: pointer;
    flex: 1;
    background: linear-gradient(135deg, #C9973A 0%, #E8C46A 50%, #C9973A 100%);
    background-size: 200% auto;
    color: #07060c;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: none;
    padding: 16px 28px;
    clip-path: polygon(0 10px, 10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
    transition: background-position 0.4s ease, filter 0.25s ease;
}

.evl-proceed-btn:hover {
    background-position: right center;
    filter: drop-shadow(0 4px 18px rgba(201, 151, 58, 0.55));
}

/* ── Inline package error ────────────────────────────────────────────────── */
.evl-pkg-error {
    font-size: 11px;
    color: #c0614a;
    text-align: center;
    letter-spacing: 0.06em;
    padding: 8px 0 0;
    animation: evl-fadein 0.2s ease;
}

@keyframes evl-fadein {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Mobile adjustments for package picker ───────────────────────────────── */
@media (max-width: 560px) {
    .evl-package-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .evl-custom-row {
        grid-template-columns: 1fr;
    }

    .evl-pkg-actions {
        flex-direction: column-reverse;
    }

    .evl-back-btn,
    .evl-proceed-btn {
        width: 100%;
        text-align: center;
    }
}


/* =============================================================================
   PHASE 2 — Vote Package Picker Styles  (carried from v1.3.0)
   ============================================================================= */

.evl-vote-summary {
    background: rgba(201, 151, 58, 0.05);
    border: 1px solid rgba(201, 151, 58, 0.12);
    border-radius: 3px;
    padding: 14px 18px;
    margin-bottom: 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.evl-summary-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.evl-summary-key { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(201,151,58,0.6); font-weight: 700; flex-shrink: 0; }
.evl-summary-val { font-size: 12px; color: #d4c49a; text-align: right; letter-spacing: 0.04em; }

.evl-package-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.evl-package-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px; cursor: pointer; padding: 16px 8px 14px;
    border-radius: 3px; border: 1px solid rgba(201,151,58,0.15);
    background: rgba(201,151,58,0.04);
    transition: background 0.18s, border-color 0.18s, transform 0.15s;
    text-align: center; position: relative;
}
.evl-package-card input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.evl-package-card:hover { background: rgba(201,151,58,0.09); border-color: rgba(201,151,58,0.4); transform: translateY(-1px); }
.evl-package-card.evl-package-selected { background: rgba(201,151,58,0.14); border-color: rgba(201,151,58,0.65); }
.evl-package-card.evl-package-selected::after { content: '✓'; position: absolute; top: 5px; right: 7px; font-size: 9px; color: #C9973A; font-weight: 700; }
.evl-pkg-votes  { font-size: 20px; font-weight: 700; color: #E8C46A; line-height: 1; }
.evl-pkg-label  { font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(201,151,58,0.5); font-weight: 700; }
.evl-pkg-price  { font-size: 11px; color: #c4b07a; margin-top: 4px; letter-spacing: 0.04em; }

.evl-custom-wrap { margin-top: 12px; }
.evl-custom-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 12px; color: rgba(201,151,58,0.6); letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 4px; transition: color 0.18s; }
.evl-custom-label:hover { color: #C9973A; }
.evl-custom-label input[type="radio"] { accent-color: #C9973A; width: 14px; height: 14px; flex-shrink: 0; }
.evl-custom-inputs { margin-top: 10px; padding: 14px 16px; background: rgba(201,151,58,0.04); border: 1px solid rgba(201,151,58,0.14); border-radius: 3px; }
.evl-custom-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.evl-custom-field { display: flex; flex-direction: column; gap: 6px; }
.evl-field-label { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(201,151,58,0.5); font-weight: 700; }
.evl-custom-number { background: rgba(0,0,0,0.3); border: 1px solid rgba(201,151,58,0.2); border-radius: 3px; color: #f0e6cc; font-family: 'Josefin Sans',sans-serif; font-size: 14px; padding: 10px 12px; width: 100%; outline: none; transition: border-color 0.18s; -moz-appearance: textfield; }
.evl-custom-number::-webkit-outer-spin-button, .evl-custom-number::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.evl-custom-number:focus { border-color: rgba(201,151,58,0.55); }
.evl-amount-display { font-size: 16px; font-weight: 700; color: #E8C46A; padding: 10px 0; letter-spacing: 0.04em; }

.evl-order-total { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding: 14px 18px; background: rgba(201,151,58,0.07); border: 1px solid rgba(201,151,58,0.22); border-radius: 3px; }
.evl-order-total span:first-child { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(201,151,58,0.6); font-weight: 700; }
.evl-order-total span:last-child  { font-size: 18px; font-weight: 700; color: #E8C46A; letter-spacing: 0.04em; }

.evl-pkg-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; }
.evl-back-btn { cursor: pointer; background: none; border: 1px solid rgba(201,151,58,0.2); color: rgba(201,151,58,0.55); font-family: 'Josefin Sans',sans-serif; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; padding: 12px 22px; border-radius: 3px; transition: border-color 0.2s, color 0.2s; }
.evl-back-btn:hover { border-color: rgba(201,151,58,0.45); color: #C9973A; }
.evl-proceed-btn { cursor: pointer; flex: 1; background: linear-gradient(135deg,#C9973A 0%,#E8C46A 50%,#C9973A 100%); background-size: 200% auto; color: #07060c; font-family: 'Josefin Sans',sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; border: none; padding: 16px 28px; clip-path: polygon(0 10px,10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%); transition: background-position 0.4s ease, filter 0.25s ease; }
.evl-proceed-btn:hover { background-position: right center; filter: drop-shadow(0 4px 18px rgba(201,151,58,0.55)); }
.evl-proceed-btn:disabled { opacity: 0.6; cursor: not-allowed; filter: none; }

.evl-pkg-error { font-size: 11px; color: #c0614a; text-align: center; letter-spacing: 0.06em; padding: 8px 0 0; animation: evl-fadein 0.2s ease; }
@keyframes evl-fadein { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

/* =============================================================================
   PHASE 3 / v1.4.0 — Success Screen
   ============================================================================= */

.evl-success {
    text-align: center;
    padding: 20px 0 8px;
}

.evl-success-icon {
    margin: 0 auto 20px;
    width: 64px;
    height: 64px;
}

.evl-success-icon svg {
    width: 100%;
    height: 100%;
}

.evl-checkmark {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: evl-check-draw 0.5s ease 0.2s forwards;
}

@keyframes evl-check-draw {
    to { stroke-dashoffset: 0; }
}

.evl-success-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #E8C46A;
    margin: 0 0 16px;
}

.evl-success-votes {
    font-size: 13px;
    color: rgba(240,230,204,0.6);
    margin: 0 0 4px;
    letter-spacing: 0.04em;
}

.evl-success-votes strong {
    color: #E8C46A;
    font-size: 16px;
}

.evl-success-nominee {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
    letter-spacing: 0.06em;
}

.evl-success-category {
    font-size: 12px;
    color: rgba(201,151,58,0.65);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 28px;
}

.evl-success-close {
    cursor: pointer;
    background: none;
    border: 1px solid rgba(201,151,58,0.3);
    color: rgba(201,151,58,0.6);
    font-family: 'Josefin Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 12px 32px;
    border-radius: 3px;
    transition: border-color 0.2s, color 0.2s;
}

.evl-success-close:hover { border-color: rgba(201,151,58,0.6); color: #C9973A; }

/* ── Mobile ──────────────────────────────────────────────────────────────── */
@media (max-width: 560px) {
    .evl-package-grid { grid-template-columns: repeat(2, 1fr); }
    .evl-custom-row   { grid-template-columns: 1fr; }
    .evl-pkg-actions  { flex-direction: column-reverse; }
    .evl-back-btn, .evl-proceed-btn { width: 100%; text-align: center; }
}


/* =============================================================================
   v1.5.0 — Updated Success Screen (full Easy Record confirmation)
   ============================================================================= */

/* Overrides the v1.3/1.4 minimal success screen */

.evl-success-label {
    font-size: 9px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #C9973A;
    font-weight: 700;
    margin: 0 0 8px;
}

.evl-success-test-badge {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.18em;
    background: rgba(240,169,0,0.12);
    color: #f0a900;
    border: 1px solid rgba(240,169,0,0.3);
    padding: 2px 10px;
    border-radius: 3px;
    margin-bottom: 12px;
}

.evl-success-details {
    width: 100%;
    margin: 16px 0 24px;
    border-top: 1px solid rgba(201,151,58,0.1);
    border-bottom: 1px solid rgba(201,151,58,0.1);
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.evl-success-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 0 4px;
}

.evl-success-row-key {
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(201,151,58,0.55);
    font-weight: 700;
    flex-shrink: 0;
}

.evl-success-row-val {
    font-size: 13px;
    color: #d4c49a;
    text-align: right;
    letter-spacing: 0.04em;
    word-break: break-all;
}

/* Transaction ref — monospace */
.evl-success-row:last-child .evl-success-row-val {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 11px;
    color: rgba(201,151,58,0.7);
}


/* =============================================================================
   v5.0.0 — Share Vote Receipt
   ============================================================================= */

/* ── Action row (Share Vote + Close) ────────────────────────────────────────── */
.evl-success-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.evl-share-btn {
    cursor: pointer;
    background: linear-gradient(135deg, #C9973A 0%, #E8C46A 50%, #C9973A 100%);
    background-size: 200% auto;
    color: #07060c;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: none;
    padding: 12px 30px;
    border-radius: 3px;
    transition: background-position 0.4s ease, filter 0.25s ease, opacity 0.2s ease;
}

.evl-share-btn:hover  { background-position: right center; filter: drop-shadow(0 4px 14px rgba(201,151,58,0.45)); }
.evl-share-btn:disabled { opacity: 0.6; cursor: default; filter: none; }

@media (max-width: 400px) {
    .evl-success-actions { flex-direction: column-reverse; width: 100%; }
    .evl-share-btn, .evl-success-close { width: 100%; text-align: center; }
}

/* ── Post-share status message ──────────────────────────────────────────────── */
.evl-success-msg {
    font-size: 11px;
    color: rgba(240,230,204,0.55);
    letter-spacing: 0.03em;
    line-height: 1.5;
    max-width: 340px;
    margin: 0 auto 14px;
    min-height: 0;
}

.evl-success-msg:empty    { margin: 0; }
.evl-success-msg-visible { margin-top: -6px; }
.evl-success-msg-error   { color: #c0614a; }

.evl-copy-img-btn {
    cursor: pointer;
    background: none;
    border: 1px solid rgba(201,151,58,0.3);
    color: rgba(201,151,58,0.7);
    font-family: 'Josefin Sans', sans-serif;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding: 6px 14px;
    border-radius: 3px;
    margin-top: 8px;
    transition: border-color 0.2s, color 0.2s;
}
.evl-copy-img-btn:hover { border-color: rgba(201,151,58,0.6); color: #C9973A; }

/* ── Off-screen receipt template rasterized by html2canvas ───────────────────
   Fixed 360×450 box (captured at scale 3 = 1080×1350px, a 4:5 social ratio).
   Kept off-screen (not display:none) so html2canvas can lay it out & paint it. */
.evl-receipt-card {
    width: 360px;
    height: 450px;
    box-sizing: border-box;
    background: linear-gradient(180deg, #0b0810 0%, #120c1a 100%);
    font-family: 'Josefin Sans', 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.evl-receipt-inner {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 26px 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #f0e6cc;
    border: 1px solid rgba(201,151,58,0.35);
    background:
        radial-gradient(circle at 50% 0%, rgba(201,151,58,0.10), transparent 55%);
}

.evl-receipt-brand {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.32em;
    color: #E8C46A;
    margin-bottom: 18px;
}

.evl-receipt-icon { width: 52px; height: 52px; margin-bottom: 12px; }
.evl-receipt-icon svg { width: 100%; height: 100%; }

.evl-receipt-test-badge {
    display: inline-block;
    font-size: 8px;
    letter-spacing: 0.16em;
    background: rgba(240,169,0,0.12);
    color: #f0a900;
    border: 1px solid rgba(240,169,0,0.3);
    padding: 2px 9px;
    border-radius: 3px;
    margin-bottom: 8px;
}

.evl-receipt-label {
    font-size: 9px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #C9973A;
    font-weight: 700;
    margin: 0 0 10px;
}

.evl-receipt-votes {
    font-size: 12px;
    color: rgba(240,230,204,0.65);
    margin: 0 0 6px;
    letter-spacing: 0.03em;
}
.evl-receipt-votes strong { color: #E8C46A; font-size: 20px; display: block; margin-bottom: 2px; }

.evl-receipt-nominee {
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
    letter-spacing: 0.05em;
}

.evl-receipt-details {
    width: 100%;
    border-top: 1px solid rgba(201,151,58,0.16);
    border-bottom: 1px solid rgba(201,151,58,0.16);
    padding: 12px 2px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 16px;
}

.evl-receipt-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.evl-receipt-row-key {
    font-size: 8.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(201,151,58,0.6);
    font-weight: 700;
    flex-shrink: 0;
}

.evl-receipt-row-val {
    font-size: 11.5px;
    color: #d4c49a;
    text-align: right;
    word-break: break-word;
}

.evl-receipt-promo {
    font-size: 10.5px;
    line-height: 1.55;
    color: rgba(240,230,204,0.75);
    margin-bottom: auto;
    padding: 0 4px;
}
.evl-receipt-promo strong { color: #E8C46A; }

.evl-receipt-footer {
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(201,151,58,0.5);
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px solid rgba(201,151,58,0.12);
    width: 100%;
}


/* =============================================================================
   v1.5.0 — Public Results Page  [evl_results shortcode]
   ============================================================================= */

.evl-results-wrap {
    font-family: 'Josefin Sans', sans-serif;
    max-width: 680px;
    margin: 0 auto;
    padding: 32px 0;
    color: #1d2327;
}

/* ── State icon ──────────────────────────────────────────────────── */
.evl-results-state-icon {
    font-size: 40px;
    text-align: center;
    margin-bottom: 16px;
    line-height: 1;
}

/* ── Heading ─────────────────────────────────────────────────────── */
.evl-results-heading {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    color: #1d2327;
    margin: 0 0 8px;
}

.evl-results-sub {
    text-align: center;
    color: #646970;
    font-size: 14px;
    margin: 4px 0;
}

.evl-results-edition {
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #C9973A;
    margin: 0 0 28px;
}

.evl-results-empty {
    text-align: center;
    color: #646970;
    font-style: italic;
    padding: 24px 0;
}

/* ── Locked note ─────────────────────────────────────────────────── */
.evl-results-note {
    max-width: 400px;
    margin: 20px auto 0;
    background: rgba(201,151,58,0.06);
    border: 1px solid rgba(201,151,58,0.2);
    border-radius: 4px;
    padding: 14px 18px;
    font-size: 13px;
    color: #646970;
    text-align: center;
    line-height: 1.7;
}

/* ── Countdown ───────────────────────────────────────────────────── */
.evl-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 24px auto 0;
}

.evl-cd-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 64px;
    background: #f6f7f7;
    border: 1px solid #e2e4e7;
    border-radius: 4px;
    padding: 12px 8px 8px;
}

.evl-cd-num {
    font-size: 32px;
    font-weight: 700;
    color: #C9973A;
    line-height: 1;
    font-family: 'JetBrains Mono', monospace;
}

.evl-cd-label {
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #646970;
    margin-top: 4px;
}

.evl-cd-sep {
    font-size: 28px;
    font-weight: 700;
    color: #c3c4c7;
    margin-bottom: 16px;
}

/* ── Live dot ────────────────────────────────────────────────────── */
.evl-results-header {
    text-align: center;
    margin-bottom: 32px;
}

.evl-results-live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #3DBA7A;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    animation: evl-pulse-dot 1.8s ease-in-out infinite;
    position: relative;
    top: -1px;
}

@keyframes evl-pulse-dot {
    0%,100% { box-shadow: 0 0 0 0 rgba(61,186,122,0.4); }
    50%      { box-shadow: 0 0 0 6px rgba(61,186,122,0); }
}

/* ── Category block ──────────────────────────────────────────────── */
.evl-results-category {
    margin-bottom: 32px;
    border: 1px solid #e2e4e7;
    border-radius: 4px;
    overflow: hidden;
}

.evl-results-cat-name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
    background: #C9973A;
    margin: 0;
    padding: 10px 18px;
}

.evl-results-nominees {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ── Result row ──────────────────────────────────────────────────── */
.evl-results-row { }

.evl-results-row--lead .evl-results-name {
    font-weight: 700;
    color: #C9973A;
}

.evl-results-row-top {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 5px;
}

.evl-results-rank {
    font-size: 11px;
    font-weight: 700;
    color: #c3c4c7;
    width: 18px;
    flex-shrink: 0;
    text-align: right;
}

.evl-results-row--lead .evl-results-rank { color: #C9973A; }

.evl-results-name {
    flex: 1;
    font-size: 14px;
    color: #1d2327;
    letter-spacing: 0.02em;
}

.evl-results-pct {
    font-size: 14px;
    font-weight: 700;
    color: #1d2327;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

/* ── Progress bar ────────────────────────────────────────────────── */
.evl-results-bar-wrap {
    margin-left: 26px;
    height: 6px;
    background: #f0f0f1;
    border-radius: 3px;
    overflow: hidden;
}

.evl-results-bar {
    height: 100%;
    background: linear-gradient(90deg, #C9973A 0%, #E8C46A 100%);
    border-radius: 3px;
    width: 0;
    transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.evl-results-row--lead .evl-results-bar {
    background: linear-gradient(90deg, #C9973A 0%, #f0c060 100%);
}

/* Animate bars on load */
@keyframes evl-bar-grow { from { width: 0 !important; } }
.evl-results-bar { animation: evl-bar-grow 0.8s cubic-bezier(0.22,1,0.36,1) both; }

/* ── Admin badge styles ───────────────────────────────────────────── */
.evl-badge--mode-test { background: #fef9ec; color: #855700; }
.evl-badge--mode-live { background: #ecfdf3; color: #1a6b3a; }

/* ── Transactions delete link ────────────────────────────────────── */
.evl-delete-link { color: #c0614a !important; }
.evl-delete-link:hover { color: #8c1c13 !important; }
.evl-row-actions { white-space: nowrap; font-size: 12px; }

/* ── Bulk bar ─────────────────────────────────────────────────────── */
.evl-bulk-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    margin-bottom: 8px;
    font-size: 13px;
}

/* ============================================================
   EVL RESULTS v2.0 — Public Results Page
   ============================================================ */

/* ── Wrapper ─────────────────────────────────────────────── */
/* ══════════════════════════════════════════════════════════════
   EVL RESULTS v3.5 — Premium Dark Design
   ══════════════════════════════════════════════════════════════ */

.evl-results-v2-wrap {
    font-family: 'Josefin Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    max-width: 820px;
    margin: 0 auto;
    padding: 36px 0 60px;
    color: #f0f0f0;
}

/* ── Filters Bar ──────────────────────────────────────────── */
.evl-rv2-filters {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.evl-rv2-filter-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
    min-width: 200px;
}

.evl-rv2-filter-label {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(201,151,58,.8);
}

.evl-rv2-select-wrap { position: relative; }

.evl-rv2-select-wrap::after {
    content: '▾';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #C9973A;
    pointer-events: none;
    font-size: 13px;
}

.evl-rv2-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(201,151,58,.25);
    border-radius: 10px;
    padding: 11px 40px 11px 16px;
    font-size: 14px;
    font-family: inherit;
    color: #f0f0f0;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}

.evl-rv2-select option { background: #18181b; color: #f0f0f0; }

.evl-rv2-select:focus {
    border-color: rgba(201,151,58,.6);
    box-shadow: 0 0 0 3px rgba(201,151,58,.12);
}

.evl-rv2-select:disabled { opacity: .35; cursor: not-allowed; }

/* ── Placeholder / States ─────────────────────────────────── */
.evl-rv2-placeholder,
.evl-rv2-empty,
.evl-rv2-error {
    text-align: center;
    padding: 60px 24px;
    color: rgba(255,255,255,.25);
}

.evl-rv2-placeholder-icon {
    font-size: 44px;
    margin-bottom: 14px;
    opacity: .2;
}

.evl-rv2-placeholder p,
.evl-rv2-empty { font-size: 14px; letter-spacing: .04em; }
.evl-rv2-error  { color: #f87171; font-size: 14px; }

.evl-rv2-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 60px 24px;
    color: rgba(255,255,255,.3);
    font-size: 13px;
    letter-spacing: .06em;
}

.evl-rv2-spinner {
    width: 18px; height: 18px;
    border: 2px solid rgba(201,151,58,.2);
    border-top-color: #C9973A;
    border-radius: 50%;
    animation: evl-spin .7s linear infinite;
    flex-shrink: 0;
}

@keyframes evl-spin { to { transform: rotate(360deg); } }

/* ── Winner Card ──────────────────────────────────────────── */
.evl-rv2-winner-card {
    position: relative;
    background: radial-gradient(ellipse at 50% 0%, #241a06 0%, #0f0d0a 60%);
    border: 1px solid rgba(201,151,58,.35);
    border-radius: 22px;
    padding: 44px 28px 36px;
    text-align: center;
    margin-bottom: 28px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(201,151,58,.06),
                0 12px 50px rgba(0,0,0,.6),
                0 0 80px rgba(201,151,58,.08) inset;
}

/* Gold shimmer top line */
.evl-rv2-winner-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #b07d2e 20%, #f5d07a 50%, #b07d2e 80%, transparent);
}

/* Soft corner sparkles */
.evl-rv2-winner-card::after {
    content: '';
    position: absolute;
    bottom: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(201,151,58,.07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.evl-rv2-winner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201,151,58,.12);
    border: 1px solid rgba(201,151,58,.35);
    border-radius: 999px;
    padding: 6px 18px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .22em;
    color: #F5D07A;
    text-transform: uppercase;
    margin-bottom: 28px;
    position: relative;
}

.evl-rv2-trophy { font-size: 13px; }

/* Photo ring */
.evl-rv2-winner-photo-wrap {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 22px;
}

.evl-rv2-winner-photo-wrap::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: conic-gradient(#C9973A 0deg, #F5D07A 90deg, #C9973A 180deg, #6b4b15 270deg, #C9973A 360deg);
    animation: evl-ring-spin 6s linear infinite;
    z-index: 0;
}

.evl-rv2-winner-photo-wrap::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    background: #0f0d0a;
    z-index: 1;
}

@keyframes evl-ring-spin { to { transform: rotate(360deg); } }

.evl-rv2-winner-photo {
    position: relative;
    z-index: 2;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(201,151,58,.5);
    display: block;
    box-shadow: 0 0 30px rgba(201,151,58,.25);
}

.evl-rv2-winner-name {
    font-size: clamp(18px, 4vw, 26px);
    font-weight: 800;
    letter-spacing: .12em;
    color: #ffffff;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(255,255,255,.1);
}

.evl-rv2-winner-pct {
    font-size: 42px;
    font-weight: 900;
    color: #F5D07A;
    letter-spacing: -.02em;
    line-height: 1;
    text-shadow: 0 0 30px rgba(201,151,58,.5);
}

/* ── Leaderboard ──────────────────────────────────────────── */
.evl-rv2-leaderboard {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

/* ── Nominee Row Card ─────────────────────────────────────── */
.evl-rv2-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 14px;
    padding: 14px 20px;
    position: relative;
    overflow: hidden;
    transition: border-color .25s, background .25s, transform .2s;
    cursor: default;
}

.evl-rv2-card:hover {
    background: rgba(255,255,255,.065);
    border-color: rgba(201,151,58,.2);
    transform: translateX(2px);
}

/* Rank-specific left accent */
.evl-rv2-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    border-radius: 14px 0 0 14px;
    background: transparent;
}

.evl-rv2-card--first {
    background: rgba(201,151,58,.07);
    border-color: rgba(201,151,58,.28);
    box-shadow: 0 4px 20px rgba(201,151,58,.1);
}
.evl-rv2-card--first::before { background: linear-gradient(180deg, #F5D07A, #C9973A); }

.evl-rv2-card--second {
    background: rgba(190,195,210,.05);
    border-color: rgba(190,195,210,.18);
}
.evl-rv2-card--second::before { background: linear-gradient(180deg, #d4d8e8, #9a9eb8); }

.evl-rv2-card--third {
    background: rgba(180,115,75,.05);
    border-color: rgba(180,115,75,.18);
}
.evl-rv2-card--third::before { background: linear-gradient(180deg, #d4895a, #a05830); }

/* Rank badge */
.evl-rv2-rank-badge {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    color: rgba(255,255,255,.25);
    min-width: 28px;
    text-align: center;
    flex-shrink: 0;
}
.evl-rv2-card--first  .evl-rv2-rank-badge { color: #F5D07A; font-size: 13px; }
.evl-rv2-card--second .evl-rv2-rank-badge { color: #c0c4d8; }
.evl-rv2-card--third  .evl-rv2-rank-badge { color: #c4845a; }

/* Photo */
.evl-rv2-card-photo-wrap { flex-shrink: 0; }

.evl-rv2-card-photo {
    width: 52px; height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,.1);
    display: block;
}
.evl-rv2-card--first  .evl-rv2-card-photo { border-color: rgba(201,151,58,.45); box-shadow: 0 0 12px rgba(201,151,58,.2); }
.evl-rv2-card--second .evl-rv2-card-photo { border-color: rgba(190,195,210,.35); }
.evl-rv2-card--third  .evl-rv2-card-photo { border-color: rgba(180,115,75,.35); }
.evl-rv2-card-photo--avatar { border-color: transparent; }

/* Info */
.evl-rv2-card-info { flex: 1; min-width: 0; }

.evl-rv2-card-name-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.evl-rv2-card-name {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .05em;
    color: #f0f0f0;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.evl-rv2-card--first .evl-rv2-card-name { color: #fff; font-size: 15px; }

.evl-rv2-card-pct {
    font-size: 14px;
    font-weight: 700;
    color: rgba(201,151,58,.7);
    white-space: nowrap;
    flex-shrink: 0;
}
.evl-rv2-card--first .evl-rv2-card-pct { color: #F5D07A; font-size: 16px; }

/* Progress bar */
.evl-rv2-bar-wrap {
    height: 4px;
    background: rgba(255,255,255,.07);
    border-radius: 4px;
    overflow: hidden;
}

.evl-rv2-bar {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #7a5018, #C9973A, #F5D07A);
    transition: width .75s cubic-bezier(.22,1,.36,1);
    width: 0%;
    box-shadow: 0 0 8px rgba(201,151,58,.4);
}
.evl-rv2-card--second .evl-rv2-bar { background: linear-gradient(90deg, #6a6e88, #9a9eb8, #c4c8d8); box-shadow: none; }
.evl-rv2-card--third  .evl-rv2-bar { background: linear-gradient(90deg, #7a4820, #b06030, #d08050); box-shadow: none; }

/* ── Back to Nominee (post-payment redirect) ─────────────────
   v4.0: gave this its own breathing room — previously it sat
   flush against the leaderboard with zero margin/padding. ── */
.evl-back-to-nominee {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.07);
    display: flex;
    justify-content: center;
}

.evl-back-to-nominee .evl-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 600px) {
    .evl-back-to-nominee {
        margin-top: 24px;
        padding-top: 18px;
    }
    .evl-back-to-nominee .evl-back-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* ============================================================
   EVL RESULTS — Live Banner & Pre-Open Countdown  (v3.5 Premium Dark)
   ============================================================ */

/* ── LIVE BANNER ─────────────────────────────────────────── */
.evl-rv2-live-banner {
    position: relative;
    background: #0c0c0e;
    border: 1px solid rgba(201,151,58,.2);
    border-radius: 20px;
    padding: 28px 32px 22px;
    margin-bottom: 36px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(201,151,58,.06),
                0 8px 40px rgba(0,0,0,.55),
                0 2px 8px rgba(0,0,0,.35);
}

/* Ambient gold glow behind digits */
.evl-rv2-lb-glow {
    position: absolute;
    top: -40px; left: 50%; transform: translateX(-50%);
    width: 400px; height: 200px;
    background: radial-gradient(ellipse at 50% 0%, rgba(201,151,58,.18) 0%, transparent 70%);
    pointer-events: none;
}

/* Top shimmer line */
.evl-rv2-live-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #C9973A 25%, #f5d07a 50%, #C9973A 75%, transparent 100%);
    background-size: 200% 100%;
    animation: evl-shimmer-line 3s linear infinite;
}

/* ── Top row: LIVE badge + title + closes ── */
.evl-rv2-lb-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.evl-rv2-lb-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(239,68,68,.12);
    border: 1px solid rgba(239,68,68,.28);
    border-radius: 999px;
    padding: 4px 12px 4px 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2em;
    color: #f87171;
    text-transform: uppercase;
}

.evl-rv2-lb-pulse-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 0 0 rgba(239,68,68,.5);
    animation: evl-livepulse 1.8s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes evl-livepulse {
    0%   { box-shadow: 0 0 0 0   rgba(239,68,68,.5); }
    70%  { box-shadow: 0 0 0 7px rgba(239,68,68,0);  }
    100% { box-shadow: 0 0 0 0   rgba(239,68,68,0);  }
}

.evl-rv2-lb-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(201,151,58,.9);
}

.evl-rv2-lb-closing {
    font-size: 10px;
    color: rgba(255,255,255,.3);
    letter-spacing: .05em;
}

/* ── Countdown digits ── */
.evl-rv2-live-countdown {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.evl-rv2-lcd-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(201,151,58,.16);
    border-radius: 14px;
    padding: 14px 20px 10px;
    min-width: 72px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
    transition: border-color .3s;
}

.evl-rv2-lcd-num {
    font-size: 38px;
    font-weight: 800;
    color: #F5D07A;
    line-height: 1;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 28px rgba(201,151,58,.5);
}

.evl-rv2-lcd-label {
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(201,151,58,.5);
    margin-top: 5px;
}

.evl-rv2-lcd-sep {
    font-size: 28px;
    font-weight: 700;
    color: #C9973A;
    opacity: .35;
    align-self: flex-start;
    margin-top: 10px;
    line-height: 1;
}

/* ── PRE-OPEN COUNTDOWN ──────────────────────────────────── */
.evl-rv2-preopen-panel {
    background: #0c0c0e;
    border: 1px solid rgba(201,151,58,.15);
    border-radius: 24px;
    box-shadow: 0 0 0 1px rgba(201,151,58,.06), 0 16px 60px rgba(0,0,0,.6);
}

.evl-rv2-po-glow {
    position: absolute;
    top: -60px; left: 50%; transform: translateX(-50%);
    width: 500px; height: 280px;
    background: radial-gradient(ellipse at 50% 10%, rgba(201,151,58,.14) 0%, transparent 68%);
    pointer-events: none;
}

.evl-rv2-po-crown {
    width: 64px;
    margin: 0 auto 20px;
    opacity: .85;
    filter: drop-shadow(0 0 12px rgba(201,151,58,.5));
    animation: evl-crown-float 3.5s ease-in-out infinite;
}

@keyframes evl-crown-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}

.evl-rv2-po-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: rgba(201,151,58,.65);
    margin: 0 0 10px;
}

.evl-rv2-po-heading {
    font-size: clamp(24px, 5vw, 40px);
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #f5e9ce;
    margin: 0 0 8px;
    text-shadow: 0 0 50px rgba(201,151,58,.3);
}

.evl-rv2-po-sub {
    font-size: 13px;
    color: rgba(255,255,255,.32);
    margin: 0 0 28px;
    letter-spacing: .03em;
}

/* Gold divider line */
.evl-rv2-po-heading + .evl-rv2-po-sub::before {
    display: block;
    content: '';
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,151,58,.6), transparent);
    margin: 12px auto 16px;
}

.evl-rv2-po-countdown {
    background: transparent;
    border: none;
    padding: 0;
    gap: 12px;
}

/* Digit box — pre-open */
.evl-rv2-po-countdown .evl-rv2-cd-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 80px;
}

.evl-rv2-cd-inner {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(201,151,58,.2);
    border-radius: 16px;
    padding: 18px 22px;
    box-shadow: 0 4px 24px rgba(0,0,0,.4),
                inset 0 1px 0 rgba(255,255,255,.07);
    width: 100%;
    text-align: center;
}

.evl-rv2-po-countdown .evl-rv2-cd-num {
    font-size: 44px;
    font-weight: 900;
    color: #F5D07A;
    line-height: 1;
    letter-spacing: -.04em;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 36px rgba(201,151,58,.55);
    display: block;
}

.evl-rv2-po-countdown .evl-rv2-cd-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(201,151,58,.45);
    margin-top: 0;
}

.evl-rv2-po-countdown .evl-rv2-cd-sep {
    font-size: 32px;
    font-weight: 700;
    color: rgba(201,151,58,.3);
    align-self: center;
    margin-top: -24px;
    line-height: 1;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 600px) {
    .evl-rv2-live-banner {
        padding: 22px 16px 18px;
    }
    .evl-rv2-lcd-unit {
        min-width: 56px;
        padding: 10px 12px 8px;
    }
    .evl-rv2-lcd-num  { font-size: 28px; }
    .evl-rv2-lcd-sep  { font-size: 22px; margin-top: 7px; }
    .evl-rv2-live-countdown { gap: 5px; }
    .evl-rv2-lb-top   { gap: 10px; }

    .evl-rv2-po-countdown .evl-rv2-cd-unit { min-width: 62px; }
    .evl-rv2-po-countdown .evl-rv2-cd-num  { font-size: 32px; }
    .evl-rv2-cd-inner { padding: 12px 14px; }
    .evl-rv2-po-countdown .evl-rv2-cd-sep  { font-size: 24px; }
}


/* ── Force circular uniform photos — overrides any theme reset ── */
.evl-rv2-winner-photo-wrap,
.evl-rv2-card-photo-wrap {
    border-radius: 50% !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}
.evl-rv2-winner-photo,
.evl-rv2-card-photo {
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block !important;
}
.evl-rv2-winner-photo {
    width: 140px !important;
    height: 140px !important;
    min-width: 140px !important;
    max-width: 140px !important;
}
.evl-rv2-card-photo {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
}
