.social-widget{
    container:embedded-social / inline-size;
    min-width:0;padding:clamp(10px,1.4vw,18px);border:1px solid var(--border,var(--line));
    border-radius:9px;background:var(--surface,#fff);color:var(--navy,var(--ink));
    --social-accent:#243143;
}
.social-facebook{--social-accent:#1657a4}
.social-youtube{--social-accent:#a72032}
.social-widget>header,.social-platform-picker{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.social-widget>header>div{min-width:0}
.social-network{color:var(--social-accent);font-size:.72rem;font-weight:700}
.social-widget h2{margin:2px 0 0;font-size:clamp(1.05rem,2vw,1.45rem);line-height:1.3;overflow-wrap:anywhere}
.social-widget p{margin:8px 0 0;font-size:.86rem;overflow-wrap:anywhere}
.social-action{
    display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:6px 10px;border:1px solid currentColor;
    border-radius:6px;color:var(--social-accent,#243143);font-size:.78rem;font-weight:700;text-decoration:none;overflow-wrap:anywhere;
}
.social-action svg{width:13px;height:13px;flex:none}
.social-action:hover{background:color-mix(in srgb,currentColor 8%,transparent)}
.social-style-card .social-profile-identity{display:flex;align-items:center;gap:12px}
.social-profile-identity>.social-platform-icon{width:42px;height:42px;border-radius:12px;background:var(--social-accent);color:#fff}
.social-profile-identity>.social-platform-icon svg{width:21px;height:21px}
.social-profile-identity h2 a{color:inherit;text-decoration:none}
.social-profile-identity h2 a:hover{text-decoration:underline}
.social-profile-handle{font-size:.82rem;overflow-wrap:anywhere}
.social-timeline,.social-player{
    display:block;width:100%;height:370px;margin-top:10px;border:0;border-radius:5px;background:#f5f6f8;
}
.social-video-layout{min-width:0}
.social-player{height:auto;aspect-ratio:16 / 9;min-height:200px;background:#192431}
.social-player-sample{position:relative;display:grid;place-items:center;overflow:hidden;cursor:pointer}
.social-player-sample img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.72}
.social-player-sample span{position:relative;padding:9px 16px;border-radius:8px;background:#a72032;color:#fff;font-size:1rem}
.social-player-sample:hover span,.social-player-sample:focus-visible span{background:#c82036}
.social-player-sample:focus-visible{outline:2px solid var(--social-accent);outline-offset:2px}
.social-playback-dialog{
    box-sizing:border-box;
    width:min(1440px,calc(100% - 24px),max(360px,calc((100dvh - 90px) * 16 / 9)));
    max-width:none;max-height:calc(100dvh - 24px);overflow:auto;
    padding:clamp(8px,1vw,14px);border:1px solid var(--line);border-radius:12px;background:var(--surface,#fff);color:var(--ink);
}
.social-playback-dialog::backdrop{background:rgb(15 23 42 / .72)}
.social-playback-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.social-playback-dialog h2{margin:0;font-size:1rem}
.social-videos{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr));gap:8px;margin:10px 0 0;padding:0;list-style:none}
.social-videos li{min-width:0}
:is(.social-style-list,.social-style-player,.social-style-player-side,.social-style-player-focus) .social-videos{grid-template-columns:minmax(0,1fr)}
.social-videos a{display:grid;align-items:center;gap:7px;height:100%;padding:6px;border:1px solid var(--border,var(--line));border-radius:6px;color:inherit;font-size:.84rem;font-weight:650;overflow-wrap:anywhere}
.social-videos a[aria-current="true"]{border-color:var(--social-accent);background:color-mix(in srgb,var(--social-accent) 7%,#fff)}
.social-videos img{display:block;width:100%;height:auto;aspect-ratio:16 / 9;object-fit:cover;border-radius:4px;background:#eff1f4}
.social-videos.social-shorts img{aspect-ratio:4 / 5}
:is(.social-style-list,.social-style-player,.social-style-player-side,.social-style-player-focus) .social-videos a{grid-template-columns:minmax(36px,30%) minmax(0,1fr)}
.social-style-strip .social-videos{
    grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:clamp(125px,40cqi,225px);
    overflow-x:auto;scroll-snap-type:x proximity;padding:2px 2px 6px;
}
.social-style-strip .social-videos>li{scroll-snap-align:start}
@container embedded-social (max-width:319px){
    .social-style-auto .social-videos{grid-template-columns:minmax(0,1fr)}
    .social-style-auto .social-videos a{grid-template-columns:minmax(36px,30%) minmax(0,1fr)}
    .footer-column [data-footer-widget]:not([data-footer-style]) .social-youtube:is(.social-style-grid,.social-style-auto) .social-videos{
        grid-template-columns:minmax(0,1fr);gap:4px
    }
    .footer-column [data-footer-widget]:not([data-footer-style]) .social-youtube:is(.social-style-grid,.social-style-auto) .social-videos a{
        grid-template-columns:minmax(36px,29%) minmax(0,1fr);gap:6px;padding:4px;font-size:.76rem
    }
}
@container embedded-social (min-width:420px){
    .social-style-featured .social-videos{grid-template-columns:repeat(2,minmax(0,1fr))}
    .social-style-featured .social-videos>li:first-child{grid-column:1/-1}
}
@container embedded-social (min-width:680px){
    :is(.social-style-auto,.social-style-featured) .social-videos{
        grid-template-columns:minmax(0,1.75fr) repeat(2,minmax(0,1fr));
    }
    :is(.social-style-auto,.social-style-featured) .social-videos>li:first-child{grid-column:1;grid-row:span 2}
    .social-style-player-side .social-video-layout:has(.social-videos){
        display:grid;grid-template-columns:minmax(0,1.75fr) minmax(165px,1fr);gap:12px;align-items:start;
    }
    .social-style-player-side .social-videos{max-block-size:340px;overflow:auto;scrollbar-gutter:stable}
}
.social-youtube[data-social-columns] .social-videos{grid-template-columns:minmax(0,1fr)}
.social-youtube[data-social-columns] .social-videos>li:first-child{grid-column:auto;grid-row:auto}
.social-style-featured[data-social-columns] .social-videos>li:first-child{grid-column:1/-1}
@container embedded-social (min-width:300px){
    .social-youtube:is([data-social-columns="2"],[data-social-columns="3"]) .social-videos{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container embedded-social (min-width:500px){
    .social-youtube[data-social-columns="3"] .social-videos{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@container embedded-social (min-width:200px){
    .social-style-player-focus .social-video-layout:has(.social-player) .social-videos{display:none}
}
@container embedded-social (max-width:260px){
    .social-widget:not(.social-facebook) .social-timeline{display:none}
}
@container embedded-social (width < 180px){
    .social-facebook .social-timeline{display:none}
}
@container embedded-social (max-width:199px){
    .social-player-wrap{display:none}
}
.public-footer .footer-social{container-type:inline-size;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));align-items:start;gap:10px;padding-block:12px}
.footer-social>div{min-width:0;flex:1 1 min(100%,250px)}
@container footer-width (width > 860px){
    :is(.footer-social,.footer-column)>[data-footer-width="25"]{--footer-widget-share:.25}
    :is(.footer-social,.footer-column)>[data-footer-width="33"]{--footer-widget-share:.3333333}
    :is(.footer-social,.footer-column)>[data-footer-width="50"]{--footer-widget-share:.5}
    :is(.footer-social,.footer-column)>[data-footer-width="67"]{--footer-widget-share:.6666666}
    :is(.footer-social,.footer-column)>[data-footer-width="75"]{--footer-widget-share:.75}
    .footer-column>[data-footer-width]{width:max(min(100%,200px),calc(100% * var(--footer-widget-share,1)))}
    .public-footer .footer-social:has(>[data-footer-width]:not([data-footer-width="0"])){display:flex;flex-wrap:wrap;--footer-widget-gap:10px;gap:var(--footer-widget-gap)}
    .footer-social>[data-footer-width]:not([data-footer-width="0"]){
        flex:0 0 max(min(100%,250px),calc((100% + var(--footer-widget-gap)) * var(--footer-widget-share,1) - var(--footer-widget-gap)))
    }
}
@container footer-width (width <= 620px){
    .public-footer .footer-social{grid-template-columns:minmax(0,1fr)}
}
.footer-social>.social-widget,.footer-social>div>.social-action{background:#fff}
.footer-widget-link{display:flex;align-items:center;gap:8px;min-width:0;min-height:42px;padding:6px 9px;border:1px solid var(--border,var(--line));border-radius:7px;background:#fff;color:var(--ink);font-size:.82rem;overflow-wrap:anywhere}
.footer-widget-link:hover{text-decoration:none;border-color:var(--desk-ink,var(--action))}
[data-footer-borderless] :is(.social-widget,.footer-widget-link){border-width:0}
[data-header-widget-borderless]>.social-widget{border-width:0}
.footer-widget-link>span:nth-child(2){min-width:0;display:grid;gap:2px;flex:1}
.footer-widget-link small{font-size:.7rem;color:var(--muted)}
.footer-widget-link>svg{width:13px;height:13px;flex:none}
.footer-widget-follow-label{font-size:.72rem;font-weight:700;color:var(--desk-ink,var(--action))}
.social-footer-videos .social-widget,.social-footer-player .social-widget,.social-footer-timeline .social-widget,.social-footer-posts .social-widget{padding:10px}
.social-footer-videos .social-videos a{grid-template-columns:min(72px,28%) minmax(0,1fr);font-size:.77rem}
.social-footer-timeline .social-timeline{height:252px}
.social-footer-posts .social-x-post iframe{height:285px}
.social-workspace{container:social-workspace / inline-size;max-width:1450px}
.social-manager{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"library" "editor" "preview";gap:14px;align-items:start}
.social-manager>.panel{min-width:0}
.social-library-panel{grid-area:library}
.social-editor-panel{grid-area:editor;container:social-editor / inline-size}
.social-saved-preview{grid-area:preview}
.social-manager .panel-title h2{display:flex;align-items:center;gap:8px;min-width:0}
.social-manager .panel-title h2>svg{flex:none;color:var(--action)}
.social-admin-body{display:grid;gap:10px;padding:14px}
.social-admin-body .field,.social-admin-body p,.social-admin-body h3{margin:0}
.social-admin-fields{display:grid;gap:10px}
.social-platform-icon{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:7px;background:var(--platform-bg);color:var(--platform-ink)}
.social-platform-icon svg{width:17px;height:17px}
.social-platform-icon[data-network=facebook]{--platform-bg:#eaf2ff;--platform-ink:#1657a4}
.social-platform-icon[data-network=x]{--platform-bg:#edf0f4;--platform-ink:#202932}
.social-platform-icon[data-network=youtube]{--platform-bg:#fae8eb;--platform-ink:#ad2332;--platform-logo:#e30013}
.social-platform-icon:is([data-network=links],[data-network=custom]){--platform-bg:#f4e8ed;--platform-ink:#902643}
.social-platform-icon[data-network=instagram]{--platform-bg:#fae8f1;--platform-ink:#a62a68}
.social-platform-icon[data-network=whatsapp]{--platform-bg:#e2f5e9;--platform-ink:#12683f}
.social-platform-icon[data-network=telegram]{--platform-bg:#e2f3fd;--platform-ink:#186c95}
.social-platform-icon[data-network=linkedin]{--platform-bg:#e7f0fa;--platform-ink:#14568b}
[data-social-icon-style="solid"] .social-platform-icon,
[data-social-icon-style="round"] .social-platform-icon{background:var(--platform-ink);color:#fff}
:is([data-social-icon-style="round"],[data-social-icon-style="soft-round"],[data-social-icon-style="round-outline"]) .social-platform-icon{border-radius:50%}
:is([data-social-icon-style="outline"],[data-social-icon-style="round-outline"]) .social-platform-icon{background:transparent;border:1px solid currentColor}
[data-social-icon-style="mono"] .social-platform-icon{
    color:var(--navy,var(--ink,#243143));background:color-mix(in srgb,currentColor 9%,transparent)
}
[data-social-icon-style="brand"] .social-platform-icon{background:transparent;color:var(--platform-logo,var(--platform-ink))}
[data-social-icon-style="dark"] .social-platform-icon{background:#20252e;color:#fff}
[data-social-icon-style="gradient"] .social-platform-icon{
    background:linear-gradient(145deg,var(--platform-ink),color-mix(in srgb,var(--platform-ink) 74%,#171b31));color:#fff
}
[data-social-icon-style="gradient"] .social-platform-icon[data-network=instagram]{
    background:linear-gradient(145deg,#7933a8 10%,#b32368 57%,#b34721)
}
.social-links ul{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 0;padding:0;list-style:none}
.social-links li{min-width:0;max-width:100%}
.social-links li a{
    display:flex;align-items:center;gap:7px;min-height:40px;padding:4px 8px 4px 4px;
    border:1px solid var(--border,var(--line));border-radius:7px;
    color:inherit;font-size:.8rem;font-weight:650;text-decoration:none;overflow-wrap:anywhere
}
.social-links li a:hover{border-color:var(--desk-ink,var(--action));background:var(--paper,#f7f5f3);text-decoration:none}
.social-links-icons li a{padding:4px;justify-content:center}
.social-links-list ul{display:grid;gap:4px}
.social-links-list li a{border-color:transparent;border-bottom-color:var(--border,var(--line));border-radius:0}
.social-link-editor,.social-link-layouts{min-width:0;margin:4px 0 0;padding:0;border:0}
.social-link-editor legend,.social-link-layouts legend{padding:0;margin-bottom:6px;font-size:.84rem;font-weight:700}
.social-link-layout-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.social-link-layout-choices label{
    position:relative;display:grid;justify-items:center;align-content:center;gap:4px;min-height:54px;
    padding:6px 4px;border:1px solid var(--line);border-radius:7px;background:#fff;
    font-size:.73rem;font-weight:650;line-height:1.15;text-align:center;cursor:pointer
}
.social-link-layout-choices label:has(:checked){border-color:var(--action);background:var(--action-soft,var(--soft));color:var(--action)}
.social-link-layout-choices label:hover{border-color:var(--action,var(--desk-ink))}
.social-link-layout-choices label:has(:focus-visible){outline:2px solid var(--action);outline-offset:2px}
.social-link-layout-choices input{position:absolute;width:1px;height:1px;opacity:0}
.social-link-layout-icon{display:grid;place-items:center;width:24px;height:22px}
.social-link-layout-icon svg{width:17px;height:17px}
.social-link-icon-choices{grid-template-columns:repeat(auto-fit,minmax(min(100%,76px),1fr))}
.social-link-icon-choices label{min-height:64px}
.social-link-icon-samples{display:flex;gap:4px}
.social-link-icon-samples .social-link-layout-icon{height:25px}
.social-link-icon-choices .social-platform-icon{width:25px;height:25px}
.social-link-icon-choices .social-platform-icon svg{width:15px;height:15px}
.social-link-editor-list{display:grid;gap:8px;margin-bottom:8px}
.social-link-editor-row{
    display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,2fr) minmax(0,1fr) auto;
    align-items:end;gap:8px;padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--paper,#f8f6f4)
}
.social-link-editor-row .field{min-width:0}
.social-link-editor-row .field>span{font-size:.75rem;font-weight:600}
.social-link-editor-row button{min-width:36px;padding-inline:8px}
.social-link-editor [data-social-link-add]{min-height:34px}
.social-link-editor :is([data-social-link-add],[data-social-link-remove]) svg{width:15px;height:15px}
@container social-editor (max-width:460px){
    .social-link-editor-row{grid-template-columns:minmax(95px,1fr) minmax(0,1.4fr) auto}
    .social-link-editor-row .field:nth-child(2){grid-column:2/-1}
    .social-link-editor-row .field:nth-child(3){grid-column:1/3}
}
.social-editor-actions{padding-top:8px;border-top:1px solid var(--line)}
.social-editor-actions .button{gap:6px;min-height:36px}
.social-editor-actions svg{width:15px;height:15px}
.social-editor-actions .social-remove-action{color:#a01d32}
.social-remove-dialog{width:min(440px,calc(100% - 24px));max-width:none;padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--surface,#fff);color:inherit;box-shadow:0 12px 40px #16101930}
.social-remove-dialog::backdrop{background:#16101966}
.social-remove-dialog h2{font-size:1.125rem;margin:0 0 8px;overflow-wrap:anywhere}
.social-remove-dialog p{margin:8px 0}
.social-remove-dialog ul{padding-inline-start:22px;margin:4px 0 0}
.social-remove-actions{justify-content:flex-end;margin-top:16px}
.social-layout-choices{min-width:0;margin:0;padding:0;border:0}
.social-layout-choices legend{margin-bottom:6px;font-weight:700}
.social-layout-choices>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,115px),1fr));gap:6px}
.social-layout-choices label{display:grid;justify-items:center;align-content:start;gap:5px;min-width:0;padding:7px 5px;border:1px solid var(--line);border-radius:6px;font-size:.8rem;text-align:center;cursor:pointer;position:relative}
.social-layout-choices input{position:absolute;inset:6px auto auto 6px;margin:0}
.social-layout-choices label:has(:checked){border-color:var(--action);background:var(--action-soft,var(--soft));color:var(--action)}
.social-layout-choices label:has(:focus-visible){outline:2px solid var(--action);outline-offset:2px}
.social-layout-illustration{display:grid;align-content:center;gap:3px;width:48px;height:27px;padding:4px;border:1px solid var(--line);border-radius:4px;color:#536277;background:#fff}
.social-layout-illustration i{display:block;height:3px;border-radius:2px;background:currentColor;opacity:.65}
[data-x-layout-card="card"] .social-layout-illustration{grid-template-columns:9px 1fr}
[data-x-layout-card="card"] .social-layout-illustration i:first-child{grid-row:span 2;height:9px;border-radius:50%}
[data-x-layout-card="link"] .social-layout-illustration i:first-child{height:8px;border-radius:5px}
[data-x-layout-card="link"] .social-layout-illustration i:nth-child(n+2){display:none}
[data-x-layout-card="posts"] .social-layout-illustration{grid-template-columns:repeat(3,1fr)}
[data-x-layout-card="posts"] .social-layout-illustration i{height:15px}
.social-x-posts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:10px;margin-top:10px}
.social-x-post{min-width:0}
.social-x-post iframe{display:block;width:100%;height:360px;border:0;border-radius:8px;background:#f5f6f8}
.social-x-post-link{margin-top:6px}
.social-timeline-note{margin-top:12px;padding-top:10px;border-top:1px solid var(--border,var(--line))}
.social-timeline-note h3{font-size:.88rem}
.social-admin-body [data-x-post-fields] .field-hint{margin-top:4px}
.social-library-heading{color:var(--muted);font-size:.74rem;font-weight:700}
.social-library-saved{padding-top:10px;border-top:1px solid var(--line)}
.social-platform-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.social-platform-picker .button{
    position:relative;display:grid;justify-items:center;gap:5px;min-width:0;min-height:60px;
    padding:6px 4px;border-radius:8px;font-size:.73rem;line-height:1.15;text-align:center;white-space:normal
}
.social-platform-picker .button[aria-current]{border-color:var(--action);color:var(--action);background:var(--action-soft,var(--soft))}
.social-platform-picker .social-platform-icon{width:26px;height:26px}
.social-platform-picker .social-platform-icon svg{width:15px;height:15px}
.social-platform-picker .button>svg{position:absolute;inset:5px 5px auto auto;width:11px;height:11px;color:var(--muted)}
.social-widget-list{display:grid;gap:5px;list-style:none;margin:0;padding:0}
.social-widget-list a{display:grid;grid-template-columns:auto minmax(0,1fr) 12px;align-items:center;gap:7px;padding:6px;border:1px solid var(--line);border-radius:6px;color:var(--ink);font-size:.82rem}
.social-widget-list a:hover{background:var(--soft);text-decoration:none}
.social-widget-list a[aria-current]{border-color:var(--action);background:var(--action-soft);color:var(--action)}
.social-widget-list a>svg{width:12px;height:12px}
.social-library-label{display:grid;min-width:0;line-height:1.25;gap:2px}
.social-library-label :is(strong,small){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.social-library-label small{color:var(--muted);font-size:.71rem}
.social-saved-preview [role="status"]:empty{display:none}
.social-preview-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.social-preview-width{flex-wrap:wrap}
.social-preview-width button{display:flex;align-items:center;gap:4px}
.social-preview-width button svg{width:14px;height:14px}
.social-preview-content{inline-size:min(100%,var(--social-preview-size,100%));margin-inline:auto}
.social-saved-preview>.social-admin-body{min-width:0;background:var(--soft);border-radius:0 0 var(--radius) var(--radius)}
.social-preview-empty{display:grid;justify-items:center;gap:9px;min-height:122px;align-content:center;padding:12px;border:1px dashed var(--line);border-radius:8px;color:var(--muted);background:#fff;text-align:center;font-size:.86rem}
.social-preview-empty svg{box-sizing:content-box;width:18px;height:18px;padding:8px;border-radius:9px;background:var(--action-soft,var(--soft));color:var(--action)}
.social-page-posts{display:grid;gap:6px;margin-top:14px;padding:14px;border:1px solid var(--line);border-radius:9px}
.social-page-posts > p{font-size:.85rem;color:var(--muted,var(--ink))}
.social-page-posts .social-timeline{width:min(100%,340px);margin:2px 0 0}
.social-manage-link{display:inline-block;margin-top:6px;font-size:.76rem;color:var(--action)}
@container social-editor (min-width:450px){
    .social-admin-fields:has(>.field:nth-child(2)){grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container social-workspace (min-width:680px){
    .social-manager{grid-template-columns:214px minmax(0,1fr);grid-template-areas:"library editor" "library preview"}
}
@container social-workspace (min-width:1080px){
    .social-manager{grid-template-columns:218px minmax(400px,1.15fr) minmax(0,1fr);grid-template-areas:"library editor preview"}
    .social-saved-preview{position:sticky;top:14px}
    .social-saved-preview>.social-admin-body{max-height:calc(100dvh - 110px);overflow:auto;overscroll-behavior:contain}
}
@container social-workspace (390px <= width < 680px){
    .social-platform-picker{grid-template-columns:repeat(4,minmax(0,1fr))}
    .social-widget-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
