.mk-share-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 0.85rem;
    margin: 1rem 0 1.25rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.92);
}

.mk-share-bar__label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.55);
}

.mk-share-bar__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.mk-share-bar__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(15, 55, 95, 0.16);
    border-radius: 999px;
    background: #fff;
    color: #0f375f;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.mk-share-bar__btn:hover {
    border-color: rgba(15, 55, 95, 0.35);
    background: rgba(15, 55, 95, 0.05);
}

.mk-share-bar__btn.is-copied {
    border-color: rgba(22, 101, 52, 0.35);
    color: #166534;
    background: rgba(22, 101, 52, 0.08);
}

.mk-share-bar__btn svg {
    width: 1rem;
    height: 1rem;
}

.mk-share-text-short {
    display: none;
}
.mk-share-text-full {
    display: inline;
}

@media (max-width: 820px) {
    .mk-share-bar--topic {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: auto;
        min-height: 34px;
        padding: 0;
        margin: 0;
        background: transparent;
        border: none;
        box-sizing: border-box;
        display: block;
    }
    .mk-share-bar--topic .mk-share-bar__label {
        display: none;
    }
    .mk-share-bar--topic .mk-share-bar__actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        gap: 5px;
        box-sizing: border-box;
        flex-wrap: nowrap;
    }
    .mk-share-bar--topic .mk-share-bar__btn {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        height: 34px;
        min-height: 34px;
        padding: 0 4px;
        font-size: 0.74rem;
        font-weight: 700;
        justify-content: center;
        text-align: center;
        white-space: nowrap;
        box-sizing: border-box;
        gap: 4px;
        border-radius: 8px;
    }
    .mk-share-bar--topic .mk-share-bar__btn svg {
        width: 13px;
        height: 13px;
        flex-shrink: 0;
    }
    .mk-share-bar--topic .mk-share-text-full {
        display: none;
    }
    .mk-share-bar--topic .mk-share-text-short {
        display: inline;
    }
    .mk-share-bar--topic .mk-share-text {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0;
    }
}

/* Hero dark background share bar modifier */
.mk-share-bar--hero {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    margin: 0 !important;
    padding: 0.4rem 0.85rem !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 999px !important;
    backdrop-filter: blur(8px) !important;
    box-sizing: border-box !important;
}

.mk-share-bar--hero .mk-share-bar__label {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    margin: 0 !important;
}

.mk-share-bar--hero .mk-share-bar__actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
}

.mk-share-bar--hero .mk-share-bar__btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    padding: 0.32rem 0.75rem !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    line-height: normal !important;
}

.mk-share-bar--hero .mk-share-bar__btn:hover {
    background: rgba(255, 255, 255, 0.24) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

.mk-share-bar--hero .mk-share-bar__btn svg {
    width: 14px !important;
    height: 14px !important;
    color: #ffffff !important;
    stroke: currentColor !important;
}

.mk-share-bar--hero .mk-share-bar__btn.is-copied {
    background: rgba(16, 185, 129, 0.3) !important;
    border-color: rgba(52, 211, 153, 0.5) !important;
    color: #ecfdf5 !important;
}

@media (max-width: 680px) {
    .mk-share-bar--hero {
        width: 100% !important;
        border-radius: 12px !important;
        padding: 0.45rem 0.65rem !important;
        justify-content: space-between !important;
    }
    .mk-share-bar--hero .mk-share-bar__actions {
        flex: 1 1 auto !important;
        justify-content: flex-end !important;
    }
    .mk-share-bar--hero .mk-share-bar__btn {
        padding: 0.3rem 0.55rem !important;
        font-size: 0.76rem !important;
    }
}

