.social-shell { width:100%; max-width:none; }
.social-results { min-width:0; }
.social-filter-panel { position:sticky; top:88px; z-index:14; gap:11px; border-color:#bfdbfe; background:rgba(255,255,255,.94); box-shadow:0 14px 34px rgba(15,23,42,.12); backdrop-filter:blur(14px); }
.social-filters { display:flex; flex-wrap:wrap; gap:7px; }
.social-filter { min-height:37px; padding:0 12px; display:inline-flex; align-items:center; gap:7px; border:1px solid var(--border-strong); border-radius:999px; color:var(--muted); background:#fff; cursor:pointer; font:750 12px var(--sans); }
.social-filter .fa-icon { width:14px; height:14px; }
.social-filter:hover,.social-filter:focus-visible { color:var(--accent-2); border-color:#93c5fd; outline:none; }
.social-filter.is-active { color:#fff; border-color:transparent; background:linear-gradient(135deg,var(--accent),var(--accent-2)); }
.social-section { min-width:0; display:grid; gap:10px; }
.social-section[hidden] { display:none; }
.social-section-heading { padding:0 4px; }
.social-section-heading h2 { margin:0; font-size:14px; letter-spacing:.06em; text-transform:uppercase; }
.social-section-heading p { margin:4px 0 0; color:var(--muted); font-size:12px; }
.social-preview-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; align-items:start; }
.social-block[hidden] { display:none !important; }
.feed-card,.chat-card,.dm-card,.google-result-card { min-width:0; overflow:hidden; border:1px solid var(--border); border-radius:18px; background:#fff; box-shadow:var(--shadow-sm); }
.feed-header { min-height:64px; padding:11px 14px; display:flex; align-items:center; gap:9px; }
.feed-header > div { min-width:0; display:grid; gap:2px; }
.feed-header strong { font-size:13px; }
.feed-header small { color:var(--muted); font-size:11px; }
.social-avatar,.dm-avatar { width:36px; height:36px; flex:0 0 auto; border-radius:50%; background:linear-gradient(135deg,#e2e8f0,#cbd5e1); }
.brand-icon { width:25px; height:25px; margin-left:auto; display:grid; place-items:center; border-radius:7px; }
.brand-icon .fa-icon { width:15px; height:15px; }
.brand-icon.facebook { color:#1877f2; }
.brand-icon.linkedin { color:#0a66c2; }
.brand-icon.x { color:#fff; background:#000; }
.feed-post-text,.x-post-title,.x-post-description { padding:0 14px 9px; font-size:13px; line-height:1.45; }
.x-post-title { padding-bottom:3px; font-weight:750; }
.x-post-description { padding-top:0; color:#536471; }
.feed-link-card { margin:0 13px 13px; overflow:hidden; border:1px solid #d8dee8; border-radius:10px; background:#fff; }
.preview-image-box { position:relative; width:100%; aspect-ratio:1.91/1; overflow:hidden; background:#e2e8f0; }
.preview-image-box img { width:100%; height:100%; display:block; object-fit:cover; }
.preview-image-box.no-image::after { content:'Nessuna immagine'; position:absolute; inset:0; display:grid; place-items:center; color:#64748b; font-size:12px; }
.feed-link-content { padding:10px 12px; display:grid; gap:4px; }
.feed-link-content strong { font-size:13px; line-height:1.35; }
.feed-link-content p { margin:0; color:#475569; font-size:12px; line-height:1.45; }
.feed-link-content span { color:#64748b; font-size:10.5px; overflow-wrap:anywhere; }
.feed-link-content small { color:#64748b; font-size:10px; text-transform:uppercase; }
.linkedin-header { border-bottom:1px solid var(--border); }
.x-link-card { margin:0 13px 13px; display:grid; grid-template-columns:34% minmax(0,1fr); overflow:hidden; border:1px solid #cfd9de; border-radius:13px; }
.x-preview-image { height:100%; aspect-ratio:auto; min-height:130px; }
.x-link-content { min-width:0; padding:10px; display:grid; align-content:center; gap:4px; }
.x-link-content > span { color:#536471; font-size:10.5px; text-transform:uppercase; overflow-wrap:anywhere; }
.x-link-content strong { font-size:13px; line-height:1.35; }
.x-link-content p { margin:0; color:#536471; font-size:11.5px; line-height:1.4; }
.x-link-content small { color:#8899a6; font-size:10px; text-align:right; }
.chat-card { background:#e5ddd5; }
.chat-header { min-height:40px; padding:9px 13px; display:flex; align-items:center; gap:8px; color:#fff; background:#08665b; font-size:12.5px; font-weight:800; }
.chat-header .fa-icon { width:16px; height:16px; }
.telegram-card .chat-header { background:#229ed9; }
.chat-body { min-height:270px; padding:13px; display:flex; align-items:flex-start; background-color:#e8dfd7; background-image:radial-gradient(rgba(100,80,65,.08) 1px,transparent 1px); background-size:17px 17px; }
.telegram-card .chat-body { background-color:#dcebf6; }
.chat-bubble { width:min(88%,520px); padding:8px; border-radius:17px 17px 17px 3px; background:#fff; box-shadow:0 1px 2px rgba(15,23,42,.08); }
.chat-intro { margin-bottom:6px; font-size:12.5px; }
.chat-link-card { overflow:hidden; border:1px solid #e2e8f0; border-radius:9px; background:#fff; }
.chat-image { aspect-ratio:2.35/1; }
.chat-link-content { padding:8px 9px; display:grid; gap:3px; }
.chat-link-content strong { font-size:12.5px; line-height:1.4; }
.chat-link-content p { margin:0; color:#475569; font-size:11.5px; line-height:1.4; }
.chat-link-content span { color:#64748b; font-size:10px; overflow-wrap:anywhere; }
.chat-time { display:block; margin-top:4px; color:#94a3b8; font-size:9.5px; text-align:right; }
.dm-card { color:#fff; background:#050505; border-color:#111827; }
.dm-header { min-height:61px; padding:10px 13px; display:flex; align-items:center; gap:9px; border-bottom:1px solid rgba(255,255,255,.12); }
.dm-header > div { min-width:0; display:grid; gap:2px; }
.dm-header strong { font-size:12.5px; }
.dm-header small { color:#a1a1aa; font-size:10.5px; }
.dm-header > .fa-icon { width:17px; height:17px; margin-left:auto; }
.dm-avatar { width:30px; height:30px; background:#52525b; }
.dm-body { min-height:190px; padding:13px; display:flex; justify-content:flex-end; align-items:flex-start; background:radial-gradient(circle at top,#222 0,#050505 58%); }
.dm-bubble { width:min(88%,520px); padding:10px; border-radius:18px 18px 3px 18px; background:#3198ef; font-size:12px; }
.dm-link-row { margin-top:7px; display:grid; grid-template-columns:68px minmax(0,1fr); gap:9px; align-items:center; }
.dm-image { width:68px; height:68px; aspect-ratio:1; border-radius:11px; }
.dm-link-row > div:last-child { min-width:0; display:grid; gap:3px; }
.dm-link-row strong { font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.dm-link-row p { margin:0; color:#e0f2fe; font-size:10.5px; line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.dm-link-row span { color:#e0f2fe; font-size:9.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.dm-bubble > small { display:block; margin-top:5px; color:#dbeafe; font-size:9px; text-align:right; }
.google-result-card { padding:17px 19px; }
.google-result-card > span { color:#166534; font-size:12px; overflow-wrap:anywhere; }
.google-result-card h3 { margin:6px 0 5px; color:#1a0dab; font-size:20px; font-weight:500; }
.google-result-card p { margin:0; max-width:760px; color:#4b5563; font-size:13px; line-height:1.5; }
.meta-debug-table td:first-child,.meta-debug-table td:nth-child(2) { white-space:nowrap; }
.meta-debug-table td:last-child { min-width:420px; overflow-wrap:anywhere; }
.json-details summary { cursor:pointer; color:var(--accent-2); font-size:12.5px; font-weight:800; }
.json-details[open] summary { margin-bottom:10px; }
@media(max-width:820px){.social-preview-grid{grid-template-columns:1fr}.meta-debug-table td:last-child{min-width:300px}}
@media(max-width:560px){.x-link-card{grid-template-columns:1fr}.x-preview-image{min-height:0;aspect-ratio:1.91/1}.chat-bubble,.dm-bubble{width:100%}.social-filter{flex:1 1 auto;justify-content:center}}

.social-filter-panel::before { content:''; position:absolute; inset:-7px -1px auto; height:7px; pointer-events:none; background:linear-gradient(180deg,rgba(238,244,251,0),rgba(238,244,251,.85)); }
.social-filter-panel h2 { font-size:16px; }
@media(max-width:680px){.social-filter-panel{top:76px;padding:13px}.social-filter-panel>div:first-child p{display:none}.social-filters{max-height:92px;overflow:auto;padding-bottom:2px}}
