.page-content {
    position: relative;
    z-index: 1;
    display: flex;
    box-sizing: border-box;
    justify-content: center;
    padding: 133px 21px 24px;
    color: #000;
    user-select: none;
    -webkit-user-select: none;
}

.page-content__inner {
    width: min(398px, 100%);
}

.page-content__title,
.poll__question,
.poll__choice {
    font-family: "Pricedown", sans-serif;
    font-weight: 400;
    font-synthesis: none;
}

.page-content__title,
.poll__choice {
    color: #fff;
    paint-order: stroke fill;
    -webkit-text-stroke: var(--outline-width) #000;
}

.page-content__description,
.poll__count {
    font-family: "GTA Art Deco", sans-serif;
    font-weight: 400;
    font-synthesis: none;
}

.page-content__title {
    --outline-width: 4px;
    margin: 0;
    font-size: min(35.3px, 8.02vw);
    line-height: 1;
    white-space: nowrap;
}

.page-content__description {
    width: min(372px, 100%);
    margin: 13px 0 0;
    font-size: 13px;
    line-height: 1.4;
    text-wrap: pretty;
}

.page-content__description p {
    margin: 0;
}

.page-content__description p + p {
    margin-top: 0.7em;
}

.poll {
    width: min(372px, 100%);
    margin: 15px 0 0 1px;
}

.poll__question {
    margin: 0;
    font-size: min(33.1px, 7.52vw);
    line-height: 1;
}

.poll__controls {
    display: grid;
    grid-template-columns: 109px 109px minmax(0, 1fr);
    align-items: center;
    column-gap: 10px;
    margin-top: 30px;
}

.poll__choice {
    --outline-width: 5.5px;
    position: relative;
    display: inline-block;
    width: 109px;
    height: 48px;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 0 5.098px rgb(0 0 0 / 25%);
    font-size: 32px;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.poll__choice-label {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    white-space: nowrap;
    transform: translate(-50%, -54%);
}

.poll__choice--yes {
    background: #fb66b3;
}

.poll__choice--no {
    background: #fff;
    color: #fff;
}

.poll__choice--no .poll__choice-label {
    /* Même ancrage que Oui, léger correctif optique Pricedown sur fond blanc. */
    transform: translate(-50%, -54%);
}

.poll__choice:focus-visible {
    outline: 2px solid #000;
    outline-offset: 3px;
}

.poll__choice:disabled {
    cursor: default;
    opacity: 0.45;
}

.poll__count {
    justify-self: end;
    margin: 0;
    color: #fdb6db;
    font-size: 19.523px;
    line-height: 1.26;
    white-space: nowrap;
}

.poll__count-separator,
.poll__target-count {
    color: #fb66b3;
}

.poll__bar {
    height: 20px;
    margin-top: 17px;
    overflow: hidden;
    border-radius: 5px;
    background: rgb(251 102 179 / 48%);
}

.poll__bar-fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #fb66b3;
    box-shadow: 1.773px 0 7.2px rgb(0 0 0 / 25%);
}

.case-viewer {
    position: relative;
    width: min(372px, 100%);
    aspect-ratio: 1;
    margin: 17px 0 0 1px;
}

.case-viewer__canvas {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    cursor: grab;
    touch-action: pan-y;
    filter: saturate(0.82);
}

.case-viewer__canvas.is-dragging {
    cursor: grabbing;
}

.case-viewer__canvas:focus {
    outline: none;
}

.case-viewer__canvas:focus-visible {
    outline: 2px solid #000;
    outline-offset: 3px;
}

@media (min-width: 768px) {
    .page-content {
        position: fixed;
        inset: 0;
        align-items: center;
        overflow: hidden;
        padding: 120px 58px 0;
    }

    .page-content__inner {
        display: grid;
        flex: 0 1 1396px;
        width: min(1396px, 100%);
        grid-template-columns: minmax(0, 756px) minmax(160px, 1fr);
        column-gap: 40px;
        transform: scale(0.92);
        transform-origin: left center;
    }

    .page-content__inner > :not(.case-viewer) {
        grid-column: 1;
    }

    .case-viewer {
        grid-column: 2;
        grid-row: 1 / span 3;
        align-self: center;
        width: auto;
        max-height: min(100%, 560px);
        aspect-ratio: 1;
        margin: 0;
    }

    .page-content__title {
        --outline-width: 8.6px;
        margin-left: 1px;
        font-size: 75.7px;
    }

    .page-content__description {
        width: min(756px, 100%);
        margin-top: 40px;
        font-size: 17.5px;
        line-height: 1.3;
    }

    .poll {
        display: grid;
        width: auto;
        grid-template-columns: 280px minmax(0, 417px);
        align-items: start;
        column-gap: 55px;
        margin-top: 59px;
    }

    .poll__question {
        width: 260px;
        font-size: 35px;
        line-height: 40px;
    }

    .poll__controls {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-top: 0;
    }

    .poll__choice {
        --outline-width: 6px;
        flex: 0 0 122px;
        width: 122px;
        height: 52px;
        border-radius: 11.278px;
        box-shadow: 0 0 5.75px rgb(0 0 0 / 25%);
        font-size: 34.7px;
    }

    .poll__choice--no .poll__choice-label {
        transform: translate(-50%, -54%);
    }

    .poll__count {
        margin: 0 0 0 auto;
        font-size: 24.615px;
    }

    .poll__bar {
        height: 22px;
        border-radius: 5.639px;
    }

    .poll__bar-fill {
        box-shadow: 2px 0 5.2px rgb(0 0 0 / 25%);
    }
}

@media (min-width: 768px) and (max-width: 1000px) {
    .page-content {
        padding-right: 32px;
        padding-left: 32px;
    }

    .poll {
        grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1fr);
        column-gap: 28px;
    }

    .poll__controls {
        gap: 8px;
    }

    .poll__choice {
        flex: 0 1 100px;
        min-width: 72px;
    }

    .poll__count {
        font-size: 20px;
    }
}

.orientation-lock {
    display: none;
}

@media (orientation: landscape) and (max-height: 500px) {
    .orientation-lock {
        position: fixed;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        inset: 0;
        margin: 0;
        background: #fff;
        color: #000;
        font-family: "GTA Art Deco", sans-serif;
        font-size: 22px;
        text-align: center;
    }

    .orientation-lock p {
        margin: 0;
    }

    .site-logo,
    .page-content {
        visibility: hidden;
    }
}

@media (prefers-color-scheme: dark) {
    .page-content {
        color: #000;
    }

    .page-content__title,
    .poll__choice {
        color: #fff;
        -webkit-text-stroke-color: #000;
    }

    .poll__choice--no {
        background: #fff;
    }

    .poll__choice:focus-visible,
    .case-viewer__canvas:focus-visible {
        outline-color: #000;
    }
}
