    .back-to-top {
        position: fixed;
        right: 24px;
        bottom: 24px;
        z-index: 9990;
        display: none;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 0;
        padding: 0;
        border: 2px solid var(--color-button);
        font-family: inherit;
        font-weight: 600;
        line-height: 1;
        cursor: pointer;
        text-decoration: none;
        transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    }

    .back-to-top.is-visible {
        display: inline-flex;
    }

    .back-to-top:focus-visible {
        outline: 2px solid var(--color-primary);
        outline-offset: 3px;
    }

    .back-to-top-circle {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background-color: var(--color-button);
        color: #ffffff;
        font-size: 1.05rem;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    }

    .back-to-top-circle:hover {
        background-color: #ffffff;
        color: var(--color-button);
        transform: translateY(-2px);
    }

    .back-to-top-pill {
        height: 46px;
        padding: 0 18px;
        border-radius: 999px;
        background-color: var(--color-button);
        color: #ffffff;
        font-size: 0.9rem;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    }

    .back-to-top-pill:hover {
        background-color: #ffffff;
        color: var(--color-button);
        transform: translateY(-2px);
    }

    .back-to-top-minimal {
        width: 44px;
        height: 44px;
        border-radius: var(--border-radius);
        background-color: #ffffff;
        color: var(--color-button);
        font-size: 0.95rem;
    }

    .back-to-top-minimal:hover {
        background-color: var(--color-button);
        color: #ffffff;
        transform: translateY(-2px);
    }

    @media (max-width: 576px) {
        .back-to-top {
            right: 16px;
            bottom: 16px;
        }
    }

</style>
