.site-share-panel {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    width: min(100% - 32px, 1152px);
    margin: 28px auto 16px;
    padding: 20px 12px;
    border-top: 1px solid #27272a;
    color: #a1a1aa;
    font: 400 .85rem/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-align: center;
}

.site-share-panel-inline {
    position: relative;
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    flex: 0 0 auto;
}

.site-share-panel-social {
    flex: 0 0 24px;
}

.site-share-button {
    display: inline-flex;
    width: 44px;
    height: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #52525b;
    border-radius: 9px;
    background: rgba(24, 24, 27, .86);
    color: #fff;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.site-share-panel-social .site-share-button {
    box-sizing: border-box;
    width: 24px;
    height: 24px;
    min-height: 24px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #9ca3af;
    box-shadow: none;
}

.site-share-panel-social .site-share-button:hover:not(:disabled) {
    border-color: transparent;
    background: transparent;
    color: #fff;
}

.site-share-panel-social .site-share-button:focus-visible {
    border-radius: 4px;
}

.site-share-panel:not(.site-share-panel-inline) .site-share-button {
    border-color: #e50914;
    background: #e50914;
}

.site-share-button:hover:not(:disabled) {
    background: #b91c1c;
    border-color: #b91c1c;
    color: #fff;
}

.site-share-button:disabled {
    opacity: .65;
    cursor: wait;
}

.site-share-button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.site-share-button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-share-status {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 20;
    width: max-content;
    max-width: min(300px, calc(100vw - 24px));
    margin: 0;
    padding: 6px 9px;
    border: 1px solid #52525b;
    border-radius: 6px;
    background: #18181b;
    color: #f4f4f5;
    font: 400 .75rem/1.4 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-align: left;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
}

.site-share-status[hidden] {
    display: none;
}

.site-share-link {
    box-sizing: border-box;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 21;
    width: min(420px, calc(100vw - 24px));
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid #52525b;
    border-radius: 6px;
    background: #18181b;
    color: #f4f4f5;
    font: 400 .8rem/1.3 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-share-link[hidden] {
    display: none;
}

@media (max-width: 480px) {
    .site-share-panel:not(.site-share-panel-inline) {
        padding: 14px 8px;
    }
}
