/* The download control is HTML; its artwork coordinates stay in game-poster.css. */
.game-poster-canvas--editable .game-poster-download--native {
    box-sizing: border-box;
    border: .19cqw solid #ffe97a;
    border-radius: 1.71cqw;
    background:
        radial-gradient(ellipse at 48% 5%, #fff46580, transparent 67%),
        linear-gradient(180deg, #ffda0b 0%, #ffc000 46%, #f2a000 88%, #df9100 100%);
    box-shadow:
        inset 0 .095cqw .19cqw #fff8a6,
        inset 0 -.285cqw .19cqw #b86b0073,
        0 .19cqw .285cqw #0009;
    color: #080d00;
    opacity: 1;
    overflow: visible;
    text-decoration: none;
    -webkit-appearance: none;
    appearance: none;
    animation: rgp-download-button-blink 1.2s ease-in-out infinite;
}

.game-poster-canvas--editable .game-poster-download--native .game-poster-download-icon {
    position: absolute;
    left: 13%;
    top: 20%;
    width: 10.4%;
    height: 58%;
    display: block;
    fill: currentColor;
    pointer-events: none;
}

.game-poster-canvas--editable .game-poster-download--native:hover {
    border-color: #fff6b2;
}

.game-poster-canvas--editable .game-poster-download--native:focus-visible {
    outline: max(2px, .285cqw) solid #fff;
    outline-offset: max(2px, .38cqw);
}

.game-poster-canvas--editable .game-poster-download--native:disabled {
    cursor: not-allowed;
    opacity: 1;
}

@keyframes rgp-download-button-blink {
    0%, 100% {
        opacity: .68;
        filter: brightness(.94);
        box-shadow:
            inset 0 .095cqw .19cqw #fff8a6,
            inset 0 -.285cqw .19cqw #b86b0073,
            0 .19cqw .285cqw #0009,
            0 0 .19cqw #ffc40020;
    }
    50% {
        opacity: 1;
        filter: brightness(1.25);
        box-shadow:
            inset 0 .095cqw .19cqw #fff8a6,
            inset 0 -.285cqw .19cqw #b86b0073,
            0 .19cqw .285cqw #0009,
            0 0 1.9cqw #ffd400ed,
            0 0 3.2cqw #ffbd0066;
    }
}

@media (prefers-reduced-motion: reduce) {
    .game-poster-canvas--editable .game-poster-download--native {
        animation: none;
        filter: none;
    }
}
