.cluberos-versus-public-card {
    width: 100%;
    box-sizing: border-box;
    padding: 28px;
    background: #fff;
}

.cluberos-versus-public-header {
    margin-bottom: 22px;
    text-align: center;
}

.cluberos-versus-public-header h2 {
    margin: 0;
    color: #111;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cluberos-versus-public-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 220px) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

.cluberos-versus-public-participant h3 {
    margin: 0 0 16px;
    color: #111;
    font-size: clamp(24px, 2.4vw, 36px);
    text-align: center;
    text-transform: uppercase;
}

.cluberos-versus-public-photo {
    overflow: hidden;
    background: #f1f1f1;
}

.cluberos-versus-public-image {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: cover;
    transition: transform 200ms ease;
}

.cluberos-versus-public-photo:hover .cluberos-versus-public-image {
    transform: scale(1.02);
}

.cluberos-versus-public-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
    color: #666;
}

.cluberos-versus-public-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.cluberos-versus-public-vs {
    color: #8d22b8;
    font-size: clamp(64px, 7vw, 105px);
    font-weight: 800;
    line-height: 1;
}

.cluberos-versus-public-status {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    background: #e2e4e7;
    color: #2c3338;
    font-weight: 700;
    text-transform: uppercase;
}

.cluberos-versus-public-status-active .cluberos-versus-public-status {
    background: #d1e7dd;
    color: #0f5132;
}

.cluberos-versus-public-status-scheduled .cluberos-versus-public-status {
    background: #fff3cd;
    color: #664d03;
}

.cluberos-versus-public-status-finished .cluberos-versus-public-status {
    background: #f8d7da;
    color: #842029;
}

.cluberos-versus-public-date {
    margin: 0;
    color: #666;
    font-size: 16px;
}

.cluberos-versus-public-link {
    display: inline-block;
    padding: 11px 18px;
    border: 1px solid #8d22b8;
    color: #8d22b8;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.cluberos-versus-public-link:hover,
.cluberos-versus-public-link:focus {
    background: #8d22b8;
    color: #fff;
}

.cluberos-versus-error {
    padding: 12px 16px;
    border-left: 4px solid #d63638;
    background: #fff;
}

.cluberos-versus-mobile-duel {
    display: none;
}

.cluberos-versus-vote-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.cluberos-versus-vote-button {
    width: 100%;
    min-height: 44px;
    border: 0;
    padding: 10px 24px;
    background: linear-gradient(135deg, #2865d8, #8d22b8);
    color: #fff;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: transform 180ms ease, filter 180ms ease, opacity 180ms ease;
}

.cluberos-versus-vote-button-a {
    clip-path: polygon(0 50%, 18px 0, 100% 0, 100% 100%, 18px 100%);
    padding-left: 30px;
}

.cluberos-versus-vote-button-b {
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
    padding-right: 30px;
}

.cluberos-versus-vote-button-a:hover,
.cluberos-versus-vote-button-a:focus-visible {
    transform: translateX(-5px);
    filter: brightness(1.08);
}

.cluberos-versus-vote-button-b:hover,
.cluberos-versus-vote-button-b:focus-visible {
    transform: translateX(5px);
    filter: brightness(1.08);
}

.cluberos-versus-voting.is-available .cluberos-versus-vote-button {
    opacity: 1;
}

.cluberos-versus-voting.is-voted .cluberos-versus-vote-message {
    color: #0f5132;
    font-weight: 700;
}

.cluberos-versus-voting.is-blocked .cluberos-versus-vote-button {
    opacity: .55;
    cursor: not-allowed;
    pointer-events: none;
}

.cluberos-versus-vote-countdown {
    text-align: center;
}

.cluberos-versus-vote-countdown strong {
    display: block;
    margin-top: 4px;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
    .cluberos-versus-public-grid {
        grid-template-columns: 1fr;
    }

    .cluberos-versus-public-center {
        order: 2;
    }

    .cluberos-versus-public-participant:first-child {
        order: 1;
    }

    .cluberos-versus-public-participant:last-child {
        order: 3;
    }

    .cluberos-versus-public-image {
        height: auto;
        min-height: 0;
        object-fit: contain;
    }

    .cluberos-versus-public-placeholder {
        height: auto;
        min-height: 420px;
    }
}

@media (max-width: 560px) {
    .cluberos-versus-public-card {
        max-width: 100%;
        padding: 18px 10px;
        overflow-x: hidden;
    }

    .cluberos-versus-public-grid {
        display: none;
    }

    .cluberos-versus-mobile-duel {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .cluberos-versus-mobile-photos {
        position: relative;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
        width: 100%;
        min-width: 0;
    }

    .cluberos-versus-mobile-photo {
        appearance: none;
        width: 100%;
        min-width: 0;
        height: clamp(250px, 78vw, 340px);
        border: 0;
        padding: 0;
        overflow: hidden;
        background: #f1f1f1;
        color: inherit;
        font: inherit;
        text-align: inherit;
    }

    .cluberos-versus-mobile-photo[data-cluberos-vote] {
        cursor: pointer;
        transition: transform 180ms ease, filter 180ms ease;
    }

    .cluberos-versus-mobile-photo[data-cluberos-vote]:active {
        transform: scale(1.02);
        filter: brightness(1.08);
    }

    .cluberos-versus-mobile-photo[data-cluberos-vote]:focus-visible {
        outline: 3px solid #8d22b8;
        outline-offset: -3px;
    }

    .cluberos-versus-mobile-photo .cluberos-versus-public-image {
        width: 100%;
        height: 100%;
        min-height: 0;
        object-fit: cover;
        object-position: center 20%;
    }

    .cluberos-versus-mobile-photo .cluberos-versus-public-placeholder {
        height: 100%;
        min-height: 0;
        padding: 8px;
        box-sizing: border-box;
        text-align: center;
    }

    .cluberos-versus-mobile-vs {
        position: absolute;
        top: 50%;
        left: 50%;
        z-index: 2;
        transform: translate(-50%, -50%);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 58px;
        height: 58px;
        border: 3px solid #fff;
        border-radius: 50%;
        background: #8d22b8;
        color: #fff;
        font-size: 25px;
        font-weight: 800;
        line-height: 1;
        box-shadow: 0 3px 12px rgba(0, 0, 0, .42);
    }

    .cluberos-versus-mobile-names {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
    }

    .cluberos-versus-mobile-names h2,
    .cluberos-versus-mobile-names h3 {
        min-width: 0;
        margin: 0;
        color: #111;
        font-size: clamp(17px, 5.4vw, 23px);
        line-height: 1.1;
        text-align: center;
        text-transform: uppercase;
        overflow-wrap: anywhere;
    }

    .cluberos-versus-public-status {
        padding: 6px 12px;
        font-size: 14px;
    }

    .cluberos-versus-public-date {
        margin-top: 2px;
        font-size: 15px;
        line-height: 1.35;
        text-align: center;
    }

    .cluberos-versus-vote-actions {
        display: none;
    }
}
