:root {
    --social-icon-size: 14px;
    --social-chip-size: 28px;
    --social-chip-bg: rgba(255, 255, 255, 0.84);
    --social-chip-border: rgba(24, 24, 38, 0.12);
    --social-label-color: rgba(26, 39, 48, 0.72);
}

.pavilla-social-links {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.pavilla-social-links.is-centered {
    justify-content: center;
}

.pavilla-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--social-chip-size);
    height: var(--social-chip-size);
    border-radius: 999px;
    border: 1px solid var(--social-chip-border);
    background: var(--social-chip-bg);
    box-shadow: 0 10px 18px rgba(24, 39, 48, 0.06);
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.pavilla-social-link img {
    width: var(--social-icon-size);
    height: var(--social-icon-size);
    object-fit: contain;
    display: block;
}

.pavilla-social-links.is-tiny {
    gap: 0.4rem;
    --social-icon-size: 12px;
    --social-chip-size: 24px;
}

@media (hover: hover) and (pointer: fine) {
    .pavilla-social-link:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 24px rgba(24, 39, 48, 0.1);
        background: rgba(255, 255, 255, 0.96);
    }
}

.pavilla-social-link:focus-visible {
    outline: 2.5px solid #ff715e;
    outline-offset: 3px;
}

body.theme-super-admin .pavilla-social-link {
    background: rgba(18, 26, 34, 0.94);
    border-color: rgba(160, 200, 190, 0.16);
    box-shadow: 0 12px 20px rgba(2, 8, 12, 0.2);
}

/* ── Touch optimizations ── */
.pavilla-social-link { touch-action: manipulation; }

@media (max-width: 420px) {
    :root {
        --social-icon-size: 13px;
        --social-chip-size: 26px;
    }
}
