.button-gag-trigger {
    position: fixed;
    z-index: 9000;
    padding: 0.8rem 1rem;
    border: 2px solid #8cf7ff;
    border-radius: 8px;
    color: #f4f7ff;
    background: #211344;
    box-shadow: 4px 4px 0 #ed4ca8, 0 0 18px rgb(92 239 255 / 25%);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: transform 140ms ease, box-shadow 140ms ease;
}

.button-gag-trigger:hover,
.button-gag-trigger:focus-visible {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #ed4ca8, 0 0 22px rgb(92 239 255 / 42%);
}

.button-gag-trigger:focus-visible,
.button-gag-award a:focus-visible,
.button-gag-close:focus-visible {
    outline: 3px solid #ffe66d;
    outline-offset: 4px;
}

.button-gag-award {
    position: fixed;
    z-index: 9001;
    right: 20px;
    bottom: 20px;
    width: min(420px, calc(100vw - 40px));
    box-sizing: border-box;
    padding: 24px;
    border: 2px solid #8cf7ff;
    border-radius: 14px;
    color: #f4f7ff;
    background: linear-gradient(145deg, #17112e, #271343 75%, #31123a);
    box-shadow: 0 12px 48px rgb(0 0 0 / 42%), 5px 5px 0 #ed4ca8;
    font-family: inherit;
    animation: button-gag-arrive 180ms ease-out both;
}

.button-gag-award .button-gag-kicker {
    margin: 0 2rem 0.4rem 0;
    color: #8cf7ff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.button-gag-award h2 {
    margin: 0 2rem 0.75rem 0;
    color: #fff;
    font-size: clamp(1.25rem, 5vw, 1.6rem);
    line-height: 1.15;
}

.button-gag-award p:not(.button-gag-kicker) {
    margin: 0 0 1.1rem;
    color: #e1dcef;
    font-size: 0.95rem;
    line-height: 1.5;
}

.button-gag-book {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 44px;
    padding: 0.6rem 0.9rem;
    border-radius: 7px;
    color: #17112e;
    background: #8cf7ff;
    font-weight: 800;
    text-decoration: none;
    transition: background-color 140ms ease, transform 140ms ease;
}

.button-gag-book:hover {
    transform: translateY(-1px);
    background: #b6fbff;
}

.button-gag-close {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 30%);
    border-radius: 50%;
    color: #fff;
    background: transparent;
    font: inherit;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.button-gag-close:hover {
    background: rgb(255 255 255 / 12%);
}

@keyframes button-gag-arrive {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .button-gag-award {
        right: 14px;
        bottom: 14px;
        width: calc(100vw - 28px);
        padding: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .button-gag-trigger,
    .button-gag-book {
        transition: none;
    }

    .button-gag-award {
        animation: none;
    }
}
