.beekeys-wrapper {
    position: relative;
    display: inline-flex; /* desktop: inline with text */
    align-items: center;
    flex-wrap: wrap; /* wrap on small screens */
}

.beekeys-copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    margin-left: 8px;
    opacity: 0.6;
    transition: opacity 0.2s ease, transform 0.15s ease;
}

.beekeys-copy-btn:hover,
.beekeys-copy-btn:active {
    opacity: 1;
    transform: scale(1.1);
}

/* Mobile adjustment: float top-right if wrapped */
@media screen and (max-width: 600px) {
    .beekeys-wrapper {
        width: 100%;
        display: block;
        position: relative;
    }
    .beekeys-copy-btn {
        position: absolute;
        top: 0;
        right: 0;
        margin: 4px;
        font-size: 16px;
    }
}
