.iwc-container {
    max-width: 960px;
    margin: 0 auto 40px;
    position: relative;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}

.iwc-round-info {
    text-align: center;
    margin: 16px auto 10px;
    padding: 8px 16px;
    display: inline-block;
    background: #000;
    color: #fff;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
}

.iwc-match {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: stretch;
    width: 100%;
}

.iwc-card {
    position: relative;
    flex: 1 1 0;
    display: block;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    background: #000;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    min-height: 200px;
}

.iwc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.25);
}

.iwc-media {
    position: relative;
    width: 100%;
    padding-top: 125%;
    overflow: hidden;
}

.iwc-img-bg,
.iwc-media iframe,
.iwc-media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.iwc-img-bg {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.iwc-media iframe {
    border: 0;
}

.iwc-media video {
    object-fit: cover;
}

.iwc-name {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    padding: 6px 18px;
    border-radius: 999px;
    background: rgba(0,0,0,0.85);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.iwc-click-layer {
    position: absolute;
    inset: 0;
    cursor: pointer;
    z-index: 5;
}

/* VS badge */
.iwc-vs-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 6px 14px;
    border-radius: 999px;
    background: #ffb400;
    color: #000;
    font-weight: 900;
    font-size: 22px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
    pointer-events: none;
}

/* Selected / deselected animation */
.iwc-card.iwc-selected {
    transform: scale(1.03);
    box-shadow: 0 14px 32px rgba(0,0,0,0.3);
}

.iwc-card.iwc-deselected {
    opacity: 0.35;
}

/* Final message */
.iwc-final-message {
    margin: 18px auto 0;
    text-align: center;
    padding: 10px 18px;
    border-radius: 999px;
    background: #000;
    color: #fff;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .iwc-container {
        max-width: 100%;
        padding: 0 12px 24px;
    }
    .iwc-match {
        flex-direction: column;
        gap: 18px;
    }
    .iwc-card {
        width: 100%;
    }
    .iwc-media {
        padding-top: 100% !important;
        aspect-ratio: 4 / 5;
    }
    .iwc-vs-badge {
        top: 50%;
        transform: translate(-50%, -50%);
    }
}
