/* Distribuire locală pentru proiect. Fără biblioteci ori butoane de urmărire. */
#pca-share {
    position: fixed;
    right: max(14px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 2000;
    color: #eeeee8;
    font: 12px/1.4 "Segoe UI", Arial, Helvetica, sans-serif;
    text-align: left;
}
#pca-share *, #pca-share *::before, #pca-share *::after { box-sizing: border-box; }
#pca-share [hidden] { display: none !important; }
#pca-share .pca-share-disclosure { display: flex; flex-direction: column-reverse; }
#pca-share .pca-share-toggle {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    list-style: none;
    cursor: pointer;
    border: 1px solid #d7b78a;
    border-radius: 50%;
    background: #d7b78a;
    color: #101619;
    box-shadow: 0 4px 20px #0004;
    position: relative;
}
#pca-share .pca-share-toggle::-webkit-details-marker { display: none; }
#pca-share .pca-share-toggle::marker { content: ""; }
#pca-share .pca-share-panel {
    position: absolute;
    right: 0;
    bottom: 58px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 3px;
    max-height: max(120px, calc(100dvh - var(--mu-actual-height, 80px) - 108px));
    width: 54px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #d7b78a #151e22;
}
#pca-share .pca-share-disclosure:not([open]) .pca-share-panel { display: none; }
#pca-share .pca-share-item {
    position: relative;
    width: 44px;
    height: 44px;
    min-height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 0;
    border: 1px solid #536064;
    border-radius: 50%;
    background: #151e22;
    color: #eeeee8;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
}
#pca-share .pca-share-item:hover { background: #26353b; border-color: #d7b78a; }
#pca-share .pca-share-whatsapp { color: #82e5a4; }
#pca-share .pca-share-facebook { color: #9abffd; }
#pca-share .pca-share-telegram { color: #93d7f7; }
#pca-share .pca-share-linkedin { color: #98cbed; }
#pca-share .pca-share-copy, #pca-share .pca-share-native { color: #d7b78a; }
#pca-share svg { width: 21px; height: 21px; display: block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
#pca-share .pca-share-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
#pca-share a:focus-visible, #pca-share button:focus-visible, #pca-share summary:focus-visible, #pca-share input:focus-visible { outline: 2px solid #d7b78a; outline-offset: 2px; }
#pca-share .pca-share-manual, #pca-share .pca-share-status {
    position: absolute;
    right: 58px;
    bottom: 0;
    width: min(310px, calc(100vw - 92px));
    margin: 0;
    padding: 13px;
    border: 1px solid #536064;
    border-radius: 4px;
    background: #151e22;
    color: #eeeee8;
    box-shadow: 0 5px 25px #0005;
    overflow-wrap: anywhere;
}
#pca-share .pca-share-manual label { display: block; margin-bottom: 9px; font-weight: 600; }
#pca-share .pca-share-manual input { width: 100%; padding: 8px; border: 1px solid #536064; border-radius: 3px; background: #101619; color: #eeeee8; font: inherit; }
#pca-share .pca-share-manual p { margin: 9px 0; color: #a6b0b3; font-size: 11px; }
#pca-share .pca-share-manual button { padding: 6px 11px; border: 1px solid #536064; border-radius: 3px; background: #101619; color: #eeeee8; font: inherit; cursor: pointer; }
#pca-share .pca-share-noscript { color: #a6b0b3; font-size: 10px; overflow-wrap: anywhere; }
@media (min-width: 1100px) {
    #mln-project .mln-shell { width: calc(100% - 132px); }
}
@media (max-width: 1099px) {
    #pca-share { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); }
    #pca-share .pca-share-panel {
        display: grid;
        grid-template-columns: repeat(3, 62px);
        gap: 9px 6px;
        width: 232px;
        padding: 17px 15px;
        border: 1px solid #536064;
        border-radius: 8px;
        background: #151e22;
        box-shadow: 0 5px 25px #0005;
        overflow: auto;
        max-width: calc(100vw - 24px);
    }
    #pca-share .pca-share-item { margin: 0 auto 22px; }
    #pca-share .pca-share-item .pca-share-label { width: 70px; height: auto; padding: 0; margin: 0; top: 49px; left: 50%; transform: translateX(-50%); overflow: visible; clip-path: none; white-space: nowrap; color: #eeeee8; text-align: center; font-size: 9px; line-height: 1.3; }
}
@media (prefers-reduced-motion: reduce) {
    #pca-share *, #pca-share *::before, #pca-share *::after { transition: none !important; }
}
@media print { #pca-share { display: none !important; } }
