.bcl-bbs-share-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
    position: relative;
}

.bcl-bbs-share {
    position: relative;
}

.bcl-bbs-share > summary {
    list-style: none;
}

.bcl-bbs-share > summary::-webkit-details-marker {
    display: none;
}

.bcl-bbs-share-button {
    min-height: 38px;
    padding: 8px 15px;
    border: 1px solid rgba(35, 74, 67, 0.18);
    border-radius: 10px;
    background: #fbf8f1;
    color: #234a43;
    box-shadow: 0 3px 10px rgba(31, 53, 49, 0.07);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    user-select: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.bcl-bbs-share-button:hover,
.bcl-bbs-share-button:focus-visible,
.bcl-bbs-share[open] .bcl-bbs-share-button {
    background: #f4ead8;
    border-color: #c5a467;
    box-shadow: 0 5px 14px rgba(31, 53, 49, 0.1);
    outline: none;
}

.bcl-bbs-share-menu {
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    z-index: 20;
    width: 156px;
    padding: 7px;
    border: 1px solid rgba(35, 74, 67, 0.16);
    border-radius: 12px;
    background: #fffdf8;
    box-shadow: 0 12px 28px rgba(31, 53, 49, 0.14);
    box-sizing: border-box;
}

.bcl-bbs-share-menu a,
.bcl-bbs-share-menu button {
    display: block;
    width: 100%;
    min-height: 38px;
    padding: 9px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #1f3531;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.bcl-bbs-share-menu a:hover,
.bcl-bbs-share-menu a:focus-visible,
.bcl-bbs-share-menu button:hover,
.bcl-bbs-share-menu button:focus-visible {
    background: #f7f4ee;
    color: #234a43;
    outline: none;
}

@media (max-width: 700px) {
    .bcl-bbs-share-wrap {
        margin-top: 16px;
    }

    .bcl-bbs-share-button {
        min-height: 44px;
        padding: 10px 17px;
        font-size: 14px;
    }

    .bcl-bbs-share-menu {
        width: min(180px, calc(100vw - 40px));
    }

    .bcl-bbs-share-menu a,
    .bcl-bbs-share-menu button {
        min-height: 44px;
        font-size: 14px;
    }
}
