/*
 * JouteTrack — étape Solutions, carte QR (même peau que les bons coups).
 * La colonne, le dépôt et la carte de statut restent dans theme-pages-joutes-animer.css.
 */

@media (min-width: 960px) {
    #jt-animer-panel-4 .jt-animer-side-card--solutions-qr {
        --jt-sol-qr-violet: var(--jt-mc-purple, #a978f5);
        --jt-sol-qr-bleu: #5b8cff;
        --jt-sol-qr-cyan: var(--jt-accent, #38c6e8);
        container-type: inline-size;
        container-name: jt-sol-qr;
        align-items: stretch;
        justify-content: center;
        height: 100%;
        min-height: 0;
        padding: 0;
        overflow: hidden;
    }

    #jt-animer-panel-4 .jt-animer-side-card--solutions-qr .jt-animer-solutions-qr-body {
        position: relative;
        flex: 1 1 auto;
        width: 100%;
        height: 100%;
        min-height: 0;
        overflow: visible;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4.2cqw;
        text-align: left;
        background-repeat: no-repeat;
        background-image:
            linear-gradient(var(--jt-sol-qr-violet), var(--jt-sol-qr-violet)),
            linear-gradient(var(--jt-sol-qr-violet), var(--jt-sol-qr-violet)),
            linear-gradient(var(--jt-sol-qr-bleu), var(--jt-sol-qr-bleu)),
            linear-gradient(var(--jt-sol-qr-bleu), var(--jt-sol-qr-bleu)),
            linear-gradient(var(--jt-sol-qr-violet), var(--jt-sol-qr-violet)),
            linear-gradient(var(--jt-sol-qr-violet), var(--jt-sol-qr-violet)),
            linear-gradient(var(--jt-sol-qr-bleu), var(--jt-sol-qr-bleu)),
            linear-gradient(var(--jt-sol-qr-bleu), var(--jt-sol-qr-bleu));
        background-size:
            16cqw 0.7cqw, 0.7cqw 16cqw,
            16cqw 0.7cqw, 0.7cqw 16cqw,
            16cqw 0.7cqw, 0.7cqw 16cqw,
            16cqw 0.7cqw, 0.7cqw 16cqw;
        background-position:
            left 5.5cqw top 5.5cqw, left 5.5cqw top 5.5cqw,
            right 5.5cqw top 5.5cqw, right 5.5cqw top 5.5cqw,
            left 5.5cqw bottom 5.5cqw, left 5.5cqw bottom 5.5cqw,
            right 5.5cqw bottom 5.5cqw, right 5.5cqw bottom 5.5cqw;
    }

    #jt-animer-panel-4 .jt-animer-side-card--solutions-qr .jt-animer-solutions-qr-mount {
        position: relative;
        z-index: 1;
        flex: 0 0 auto;
        box-sizing: border-box;
        width: 75cqw;
        max-width: 100%;
        aspect-ratio: 1;
        height: auto;
        min-height: 0;
        margin: 0;
        padding: 7.5cqw;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--jt-color-white);
        border-radius: 4.5cqw;
        box-shadow:
            0 -2.4cqw 3.6cqw rgba(169, 112, 245, 0.55),
            0 0 2.8cqw rgba(140, 80, 220, 0.28);
    }

    #jt-animer-panel-4 .jt-animer-side-card--solutions-qr .jt-animer-solutions-qr-mount canvas,
    #jt-animer-panel-4 .jt-animer-side-card--solutions-qr .jt-animer-solutions-qr-mount img {
        display: block;
        width: 100%;
        height: auto;
        max-width: 100%;
        image-rendering: pixelated;
        image-rendering: crisp-edges;
    }

    #jt-animer-panel-4 .jt-animer-side-card--solutions-qr .jt-animer-solutions-qr-caption:not(.jt-animer-solutions-qr-caption--muted) {
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 2.8cqw;
        width: auto;
        max-width: 92cqw;
        margin: 0;
        color: var(--jt-color-white);
        font-weight: 800;
        letter-spacing: -0.02em;
        line-height: 1;
    }

    #jt-animer-panel-4 .jt-animer-side-card--solutions-qr .jt-animer-solutions-qr-phone {
        display: flex;
        flex: 0 0 auto;
        color: var(--jt-sol-qr-violet);
    }

    #jt-animer-panel-4 .jt-animer-side-card--solutions-qr .jt-animer-solutions-qr-phone-svg {
        display: block;
        width: 16cqw;
        height: 16cqw;
    }

    #jt-animer-panel-4 .jt-animer-side-card--solutions-qr .jt-animer-solutions-qr-phone-body {
        fill: var(--jt-sol-qr-violet);
    }

    #jt-animer-panel-4 .jt-animer-side-card--solutions-qr .jt-animer-solutions-qr-phone-screen {
        fill: color-mix(in srgb, var(--jt-sol-qr-violet) 42%, white);
    }

    #jt-animer-panel-4 .jt-animer-side-card--solutions-qr .jt-animer-solutions-qr-phone-dot {
        fill: color-mix(in srgb, var(--jt-sol-qr-violet) 12%, white);
    }

    #jt-animer-panel-4 .jt-animer-side-card--solutions-qr .jt-animer-solutions-qr-words {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.15em;
    }

    #jt-animer-panel-4 .jt-animer-side-card--solutions-qr .jt-animer-solutions-qr-line {
        display: block;
        font-size: 8.4cqw;
        line-height: 1.2;
        font-weight: 800;
        white-space: nowrap;
        color: var(--jt-color-white);
    }

    #jt-animer-panel-4 .jt-animer-side-card--solutions-qr .jt-animer-solutions-qr-line--depot {
        color: var(--jt-sol-qr-cyan);
    }
}
