.floating-share-button {
    position: fixed !important;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 2200;
}

.floating-share-button button {
    background: linear-gradient(145deg, #1f86ff 0%, #0d6efd 100%);
    border: 1px solid rgba(13, 110, 253, 0.45);
    border-radius: 999px;
    width: 58px;
    height: 58px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.25);
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.floating-share-button button:hover {
    background: linear-gradient(145deg, #0d6efd 0%, #0a58ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.32);
}

.floating-share-button button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.floating-share-button button.is-copied {
    background: linear-gradient(145deg, #22c55e 0%, #16a34a 100%);
    border-color: rgba(22, 163, 74, 0.45);
}

.floating-share-button svg {
    width: 28px;
    height: 28px;
    stroke: white;
    fill: none;
}

@media (max-width: 600px) {
    .floating-share-button {
        right: max(12px, env(safe-area-inset-right));
        bottom: max(12px, env(safe-area-inset-bottom));
    }

    .floating-share-button button {
        width: 52px;
        height: 52px;
    }

    .floating-share-button svg {
        width: 24px;
        height: 24px;
    }
}