.aharadar-share-bar {
    --aharadar-share-surface: #f3f6fa;
    --aharadar-share-ink: #07121d;
    --aharadar-share-border: #6b8193;
    --aharadar-share-hover: #dce8f3;
    --aharadar-share-focus: #2364a4;
    --aharadar-share-icon-filter: invert(1);
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    max-width: 100%;
    margin: .75rem 0 1.15rem;
    color: var(--aharadar-share-ink);
    font-size: .85rem;
    line-height: 1.35;
}

html[data-color-mode="dark"] .aharadar-share-bar {
    --aharadar-share-surface: #142638;
    --aharadar-share-ink: #edf5fb;
    --aharadar-share-border: #758b9d;
    --aharadar-share-hover: #243f55;
    --aharadar-share-focus: #d2ff36;
    --aharadar-share-icon-filter: none;
}

@media (prefers-color-scheme: dark) {
    html:not([data-color-mode="light"]) .aharadar-share-bar {
        --aharadar-share-surface: #142638;
        --aharadar-share-ink: #edf5fb;
        --aharadar-share-border: #758b9d;
        --aharadar-share-hover: #243f55;
        --aharadar-share-focus: #d2ff36;
        --aharadar-share-icon-filter: none;
    }
}

.aharadar-share-bar .aharadar-share-action {
    display: inline-flex;
    box-sizing: border-box;
    align-items: center;
    gap: .36rem;
    min-height: 44px;
    max-width: 100%;
    padding: .35rem .58rem;
    border: 1px solid var(--aharadar-share-border);
    border-radius: .55rem;
    background: var(--aharadar-share-surface);
    color: var(--aharadar-share-ink);
    font: inherit;
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
    overflow-wrap: anywhere;
}

.aharadar-share-bar .aharadar-share-action:hover {
    background: var(--aharadar-share-hover);
    color: var(--aharadar-share-ink);
}

.aharadar-share-bar :is(.aharadar-share-action, .aharadar-share-manual-copy):focus-visible {
    outline: 2px solid var(--aharadar-share-focus);
    outline-offset: 3px;
}

.aharadar-share-bar .aharadar-share-action:active {
    background: #d2ff36;
    color: #07121d;
}

.aharadar-share-bar button:disabled {
    cursor: wait;
}

.aharadar-share-bar .aharadar-share-action img {
    display: block;
    flex: none;
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: none;
}

.aharadar-share-bar button img {
    filter: var(--aharadar-share-icon-filter);
}

.aharadar-share-bar button:active img {
    filter: invert(1);
}

.aharadar-share-bar .aharadar-share-action img[src$="/x.svg"] {
    background: white;
    border-radius: 2px;
    padding: 2px;
}

.aharadar-share-label {
    flex-basis: 100%;
    font-weight: 700;
}

.aharadar-share-card {
    margin: .25rem auto 1rem;
    justify-content: center;
}

.aharadar-share-status {
    flex-basis: 100%;
}

.aharadar-share-status:empty {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

.aharadar-share-card .aharadar-share-status {
    text-align: center;
}

.aharadar-share-manual-copy {
    width: 100%;
    min-width: 0;
}

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