/* Play page */
.play-compare-body {
    background: #f5f6fa;
    color: #1f2430;
    font-family: 'Be Vietnam Pro', 'Nunito Sans', system-ui, -apple-system, sans-serif;
}

.play-compare-body .site-page-backdrop {
    display: none;
}

.play-compare-body .site-shell {
    width: 100%;
    max-width: none;
    padding: 8px 0 28px;
}

.play-compare-body .site-main {
    width: 100%;
}

.play-compare-page {
    width: 100%;
    min-height: calc(100vh - 52px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-inline: 18px;
}

.play-app-nav {
    width: min(100%, 1080px);
    margin-inline: auto;
    min-height: 86px;
    padding: 12px 22px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.play-app-nav-left,
.play-app-nav-right {
    display: flex;
    align-items: center;
}

.play-app-nav-left {
    justify-self: start;
}

.play-app-nav-right {
    justify-self: end;
}

.play-app-tabs {
    display: flex;
    align-items: center;
    gap: 16px;
}

.play-app-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #596174;
    font-family: 'Plus Jakarta Sans', 'Nunito Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.play-app-material-icon {
    width: 24px;
    min-width: 24px;
    font-size: 24px;
    line-height: 1;
    font-variation-settings: 'FILL' 0, 'wght' 430, 'GRAD' 0, 'opsz' 24;
}

.play-app-tab.is-active {
    color: #4953e6;
}

.play-app-tab.is-active .play-app-material-icon {
    font-variation-settings: 'FILL' 1, 'wght' 520, 'GRAD' 0, 'opsz' 24;
}

.play-app-brand {
    justify-self: center;
}

.play-app-brand img {
    width: auto;
    height: 48px;
    display: block;
}

.play-app-counter {
    margin: 0;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid #e1e4ff;
    background: #e8e9ff;
    color: #5560e8;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-family: 'Plus Jakarta Sans', 'Nunito Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.play-app-counter small {
    margin-left: 3px;
    color: #6570c2;
    font-size: 10px;
    font-weight: 700;
}

.play-compare-head {
    width: 100%;
    max-width: 940px;
    margin: 12px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.play-compare-question {
    margin: 0;
    width: 100%;
    max-width: 760px;
    color: #09125b;
    text-align: center;
    font-family: 'Plus Jakarta Sans', 'Nunito Sans', sans-serif;
    font-size: clamp(32px, 4.25vw, 48px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.play-question-progress-track {
    width: min(100%, 640px);
    height: 11px;
    margin-top: 18px;
    border-radius: 999px;
    background: #dfe3eb;
    overflow: hidden;
}

.play-question-progress-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #4f5adf 0%, #7340cf 52%, #c31676 100%);
}

.play-question-note {
    margin: 6px auto 0;
    max-width: 640px;
    color: #4e5360;
    text-align: center;
    font-family: 'Be Vietnam Pro', 'Nunito Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
}

.play-compare-stage {
    width: min(100%, 1080px);
    margin: 26px auto 0;
}

.pair-stage {
    width: 100%;
}

.play-duel-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 468px));
    justify-content: center;
    align-items: stretch;
    gap: 94px;
    position: relative;
}

.play-duel-grid.is-resolving .play-duel-card:not(.is-selected),
.play-duel-card.is-rejected {
    opacity: 0.72;
}

.play-duel-card {
    --play-accent: rgba(116, 129, 255, 0.42);
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 0;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(225, 228, 236, 0.96);
    background: #eef1f7;
    box-shadow: 0 22px 44px rgba(28, 36, 58, 0.14);
    isolation: isolate;
}

.play-duel-card.theme-left {
    --play-accent: rgba(97, 111, 255, 0.42);
}

.play-duel-card.theme-right {
    --play-accent: rgba(242, 125, 186, 0.42);
}

.play-duel-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px var(--play-accent);
    z-index: 5;
    pointer-events: none;
}

.play-duel-media {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.play-duel-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-duel-surface {
    display: none;
}

.play-duel-bottom-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 46%;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.44) 42%, rgba(0, 0, 0, 0.14) 74%, rgba(0, 0, 0, 0) 100%);
}

.play-duel-copy {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 18px;
    z-index: 6;
    text-align: center;
}

.play-duel-copy h2 {
    margin: 0;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', 'Nunito Sans', sans-serif;
    font-size: clamp(30px, 2.7vw, 44px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.04em;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}

.play-duel-copy h2.is-long {
    font-size: clamp(26px, 2.3vw, 38px);
}

.play-duel-versus {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 74px;
    height: 74px;
    z-index: 8;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    box-shadow: none;
}

.play-duel-versus img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    clip-path: inset(2px round 999px);
}

.play-bottom-actions {
    margin-top: 26px;
    display: inline-flex;
    align-items: center;
    gap: 18px;
}

.play-skip-button {
    height: 56px;
    padding: 0 26px;
    border: 1px solid #dfe4ec;
    border-radius: 999px;
    background: linear-gradient(180deg, #eef2f7 0%, #e8edf4 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    color: #626b7d;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Plus Jakarta Sans', 'Nunito Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.play-skip-button svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.play-people-picked {
    margin: 0;
    padding-left: 22px;
    border-left: 1px solid #d4dae3;
    color: #667081;
    font-family: 'Be Vietnam Pro', 'Nunito Sans', sans-serif;
    font-size: 14px;
    font-style: italic;
    font-weight: 500;
    line-height: 1.1;
}

@media (max-width: 1360px) {
    .play-duel-grid {
        grid-template-columns: repeat(2, minmax(0, 468px));
        gap: 94px;
    }
}

@media (max-width: 1080px) {
    .play-app-nav {
        min-height: 78px;
        padding: 11px 18px;
    }

    .play-app-tabs {
        gap: 12px;
    }

    .play-app-tab {
        font-size: 13px;
    }

    .play-app-counter {
        font-size: 15px;
        padding: 9px 14px;
    }

    .play-compare-head {
        margin-top: 34px;
    }

    .play-compare-question {
        max-width: 700px;
        font-size: clamp(30px, 4.6vw, 42px);
    }

    .play-question-progress-track {
        width: min(100%, 580px);
        margin-top: 16px;
    }

    .play-question-note {
        max-width: 580px;
    }

    .play-duel-grid {
        grid-template-columns: repeat(2, minmax(0, 384px));
        gap: 86px;
    }

    .play-duel-versus {
        width: 66px;
        height: 66px;
    }
}

@media (max-width: 820px) {
    .play-compare-body .site-shell {
        padding: 10px 0 28px;
    }

    .play-app-nav {
        width: 100%;
        min-height: 74px;
        padding: 12px 14px;
        grid-template-columns: auto 1fr auto;
        gap: 12px;
    }

    .play-app-tabs {
        gap: 10px;
    }

    .play-app-tab {
        font-size: 14px;
    }

    .play-app-tab span {
        display: none;
    }

    .play-app-brand img {
        height: 26px;
    }

    .play-app-counter {
        padding: 9px 14px;
        font-size: 16px;
    }

    .play-app-counter small {
        font-size: 12px;
    }

    .play-compare-head {
        width: 100%;
        margin-top: 30px;
    }

    .play-compare-question {
        max-width: 100%;
        font-size: clamp(28px, 8vw, 40px);
    }

    .play-question-progress-track {
        width: min(100%, 520px);
        height: 10px;
        margin-top: 16px;
    }

    .play-question-note {
        max-width: 520px;
        margin-top: 8px;
        font-size: 11px;
    }

    .play-compare-stage {
        margin-top: 24px;
    }

    .play-duel-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .play-duel-card {
        border-radius: 28px;
    }

    .play-duel-copy {
        left: 20px;
        right: 20px;
        bottom: 18px;
    }

    .play-duel-copy h2 {
        font-size: clamp(32px, 9vw, 48px);
    }

    .play-duel-versus {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin: 0 auto;
        width: 100px;
        height: 100px;
    }

    .play-bottom-actions {
        width: 100%;
        margin-top: 28px;
        flex-direction: column;
        gap: 12px;
    }

    .play-skip-button {
        height: 60px;
        padding: 0 28px;
        font-size: 20px;
    }

    .play-people-picked {
        padding-left: 0;
        border-left: 0;
        text-align: center;
    }
}
