.wdyuh-share {
    --wdyuh-share-gap: 9px;
    --wdyuh-share-size: 42px;
    --wdyuh-share-radius: 999px;
    margin: 1.25rem 0;
    font-family: inherit;
}

.wdyuh-share-heading {
    margin: 0 0 .65rem;
    color: inherit;
    font-size: .92rem;
    font-weight: 800;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.wdyuh-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--wdyuh-share-gap);
    align-items: center;
}

.wdyuh-share--align-center .wdyuh-share-buttons { justify-content: center; }
.wdyuh-share--align-right .wdyuh-share-buttons { justify-content: flex-end; }

.wdyuh-share-button {
    box-sizing: border-box;
    display: inline-flex;
    min-width: var(--wdyuh-share-size);
    height: var(--wdyuh-share-size);
    padding: 0;
    border: 1px solid transparent;
    border-radius: var(--wdyuh-share-radius);
    align-items: center;
    justify-content: center;
    gap: .5rem;
    overflow: hidden;
    cursor: pointer;
    font: inherit;
    font-size: .86rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.wdyuh-share-button:hover,
.wdyuh-share-button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(15, 23, 42, .19);
}

.wdyuh-share-button:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .35);
    outline-offset: 2px;
}

.wdyuh-share--style-brand .wdyuh-share-button {
    color: #fff;
    background: var(--wdyuh-share-brand, #334155);
}

.wdyuh-share--style-dark .wdyuh-share-button {
    color: #fff;
    background: #111827;
}

.wdyuh-share--style-light .wdyuh-share-button {
    color: #172033;
    background: #f1f5f9;
    border-color: #d7dee8;
}

.wdyuh-share--style-outline .wdyuh-share-button {
    color: var(--wdyuh-share-brand, #334155);
    background: transparent;
    border-color: currentColor;
}

.wdyuh-share-icon-wrap {
    display: inline-flex;
    width: calc(var(--wdyuh-share-size) * .52);
    height: calc(var(--wdyuh-share-size) * .52);
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.wdyuh-share-icon {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.wdyuh-share-label { display: none; }

.wdyuh-share--labels .wdyuh-share-button {
    width: auto;
    padding: 0 .95rem 0 .72rem;
}
.wdyuh-share--labels .wdyuh-share-label { display: inline; }

.wdyuh-share--shape-rounded { --wdyuh-share-radius: 11px; }
.wdyuh-share--shape-square { --wdyuh-share-radius: 0; }
.wdyuh-share--size-small { --wdyuh-share-size: 34px; --wdyuh-share-gap: 7px; }
.wdyuh-share--size-large { --wdyuh-share-size: 52px; --wdyuh-share-gap: 11px; }

.wdyuh-share-button--snapchat { color: #111 !important; }

.wdyuh-share-status {
    min-height: 0;
    margin-top: 0;
    color: #166534;
    font-size: .84rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(-3px);
    transition: opacity .15s ease, transform .15s ease, margin .15s ease;
}

.wdyuh-share.is-notifying .wdyuh-share-status {
    min-height: 1.2em;
    margin-top: .6rem;
    opacity: 1;
    transform: translateY(0);
}

.wdyuh-share-health {
    padding: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
}

@media (max-width: 480px) {
    .wdyuh-share--labels .wdyuh-share-button {
        min-width: calc(50% - var(--wdyuh-share-gap));
        justify-content: flex-start;
    }
}

@media print {
    .wdyuh-share { display: none !important; }
}

.wdyuh-share-count {
    display: inline-flex;
    margin: 0 0 .65rem;
    padding: .28rem .55rem;
    border: 1px solid rgba(100, 116, 139, .28);
    border-radius: 999px;
    background: rgba(248, 250, 252, .88);
    color: #475569;
    font-size: .78rem;
    font-weight: 800;
}

.wdyuh-share-qr-modal[hidden] { display: none !important; }
.wdyuh-share-qr-modal {
    position: fixed;
    z-index: 1000000;
    inset: 0;
    display: flex;
    padding: 24px;
    background: rgba(15, 23, 42, .78);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.wdyuh-share-qr-modal::before {
    content: '';
    position: absolute;
    width: min(92vw, 390px);
    height: min(92vw, 390px);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .35);
}
.wdyuh-share-qr-image,
.wdyuh-share-qr-code,
.wdyuh-share-qr-title,
.wdyuh-share-qr-download,
.wdyuh-share-qr-close { position: relative; z-index: 1; }
.wdyuh-share-qr-image, .wdyuh-share-qr-code { width: min(70vw, 290px); height: min(70vw, 290px); object-fit: contain; background: #fff; }
.wdyuh-share-qr-code canvas, .wdyuh-share-qr-code img { display:block; width:100% !important; height:100% !important; }
.wdyuh-share-qr-title { margin-bottom: 12px; color: #0f172a; font-size: 1.05rem; font-weight: 900; }
.wdyuh-share-qr-download { margin-top: 12px; color: #1d4ed8; font-weight: 800; }
.wdyuh-share-qr-close {
    position: absolute;
    top: calc(50% - min(46vw, 195px) + 12px);
    right: calc(50% - min(46vw, 195px) + 12px);
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: #e2e8f0;
    color: #0f172a;
    cursor: pointer;
    font-size: 25px;
    line-height: 1;
}
.wdyuh-share-modal-open { overflow: hidden; }

.wdyuh-share-floating-mobile,
.wdyuh-share-floating-desktop { position: fixed; z-index: 99990; }
.wdyuh-share-floating-mobile { display: none; left: 0; right: 0; bottom: 0; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid #d7dee8; box-shadow: 0 -8px 30px rgba(15,23,42,.12); }
.wdyuh-share-floating-mobile .wdyuh-share { margin: 0; }
.wdyuh-share-floating-mobile .wdyuh-share-buttons { flex-wrap: nowrap; overflow-x: auto; justify-content: center; scrollbar-width: none; }
.wdyuh-share-floating-mobile .wdyuh-share-buttons::-webkit-scrollbar { display: none; }
.wdyuh-share-floating-desktop { left: 16px; top: 50%; transform: translateY(-50%); }
.wdyuh-share--floating-side { margin: 0; padding: 8px; border: 1px solid #d7dee8; border-radius: 999px; background: rgba(255,255,255,.96); box-shadow: 0 10px 30px rgba(15,23,42,.14); }
.wdyuh-share--floating-side .wdyuh-share-buttons { flex-direction: column; flex-wrap: nowrap; }
.wdyuh-share--floating-side .wdyuh-share-heading,
.wdyuh-share--floating-side .wdyuh-share-count { display: none; }
.wdyuh-share--floating-bottom .wdyuh-share-heading,
.wdyuh-share--floating-bottom .wdyuh-share-count { display: none; }

@media (max-width: 782px) {
    .wdyuh-share-floating-mobile { display: block; }
    .wdyuh-share-floating-desktop { display: none; }
}
@media (min-width: 783px) {
    .wdyuh-share-floating-mobile { display: none; }
    .wdyuh-share-floating-desktop { display: block; }
}
