/* FARA Social 40.5.0 — unified social interface */
html:has(body.fara-horizon-4040){margin-top:0!important;background:#060b14!important}
body.fara-horizon-4040{background:radial-gradient(720px 420px at 50% -10%,rgba(60,168,255,.10),transparent 62%),#060b14!important;color:#f7f9ff!important;overflow-x:hidden!important}
body.fara-horizon-4040 #wpadminbar,body.fara-horizon-4040 #fzWelcome,body.fara-horizon-4040 .fz-welcome,body.fara-horizon-4040 .fz-gateway,body.fara-horizon-4040 .fme-shell,body.fara-horizon-4040 .fz-world-hud,body.fara-horizon-4040 .fz-horizon-topbar,body.fara-horizon-4040 .fz-fluid-visualizer{display:none!important}
body.fara-horizon-4040 .fz-app{display:grid!important;grid-template-columns:220px minmax(0,760px) 310px!important;gap:16px!important;width:min(100%,1338px)!important;max-width:1338px!important;min-height:100dvh!important;margin:0 auto!important;padding:0 16px!important;background:transparent!important}
body.fara-horizon-4040 .fz-left{position:sticky!important;top:0!important;height:100dvh!important;padding:14px 8px 16px!important;background:#080b12!important;border:0!important;border-right:1px solid rgba(146,164,205,.10)!important;box-shadow:none!important;overflow:hidden auto!important}
body.fara-horizon-4040 .fz-brand{min-height:52px!important;margin:0 4px 10px!important;padding:5px 8px!important;gap:10px!important}
body.fara-horizon-4040 .fz-brand img{width:30px!important;height:30px!important;filter:none!important}
body.fara-horizon-4040 .fz-brand span{font-size:17px!important;letter-spacing:.12em!important;color:#fff!important;background:none!important;-webkit-text-fill-color:currentColor!important}
body.fara-horizon-4040 .fz-brand small{font-size:7px!important;color:#7f8aa0!important;-webkit-text-fill-color:currentColor!important}
body.fara-horizon-4040 .fz-account-card{margin:0 2px 8px!important;padding:8px!important;border:0!important;border-radius:12px!important;background:transparent!important}
body.fara-horizon-4040 .fz-nav{display:grid!important;gap:2px!important;padding:0!important}
body.fara-horizon-4040 .fz-nav button{min-height:42px!important;padding:0 10px!important;border:0!important;border-radius:11px!important;background:transparent!important;color:#a9b3c7!important;font-size:14px!important;font-weight:720!important;box-shadow:none!important;gap:11px!important}
body.fara-horizon-4040 .fz-nav button:hover{background:#101621!important;color:#fff!important}
body.fara-horizon-4040 .fz-nav button.active{background:linear-gradient(90deg,rgba(60,168,255,.14),rgba(118,87,255,.07))!important;color:#fff!important;box-shadow:inset 2px 0 #3ca8ff!important}
body.fara-horizon-4040 .fz-nav button svg,body.fara-horizon-4040 .fz-nav-mark{width:19px!important;height:19px!important}
body.fara-horizon-4040 .fz-horizon-secondary-nav{display:none!important}
body.fara-horizon-4040 .fz-horizon-more{display:flex!important}
body.fara-horizon-4040 .fz-compose-open{margin:12px 4px 8px!important;width:calc(100% - 8px)!important;min-height:42px!important;border-radius:12px!important;background:linear-gradient(135deg,#3ca8ff,#7657ff)!important;box-shadow:none!important}
body.fara-horizon-4040 .fz-center{width:100%!important;max-width:760px!important;min-width:0!important;padding:0 0 88px!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.fara-horizon-4040 .fzs-topbar{position:sticky;top:0;z-index:140;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;height:58px;padding:8px 0;background:rgba(7,9,16,.96);backdrop-filter:blur(18px);border-bottom:1px solid rgba(146,164,205,.10)}
body.fara-horizon-4040 .fzs-brand{display:flex;align-items:center;gap:8px;border:0;background:none;color:#fff;padding:0 4px;cursor:pointer}
body.fara-horizon-4040 .fzs-brand img{width:28px;height:28px}.fzs-brand span{display:grid;text-align:left}.fzs-brand b{font-size:15px;letter-spacing:.12em}.fzs-brand small{font-size:7px;color:#758198;letter-spacing:.08em}
body.fara-horizon-4040 .fzs-search{height:38px;min-width:0;border:1px solid rgba(146,164,205,.15);border-radius:11px;background:#0c111b;color:#7f8ca5;display:flex;align-items:center;gap:8px;padding:0 12px;cursor:pointer}.fzs-search svg{width:16px;height:16px;fill:none;stroke:currentColor}.fzs-search span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}
body.fara-horizon-4040 .fzs-top-actions{display:flex;gap:6px}.fzs-top-actions button{height:34px;border:1px solid rgba(146,164,205,.14);border-radius:9px;background:#0e1420;color:#dce3ef;padding:0 10px;font-weight:700;font-size:11px;cursor:pointer}.fzs-top-actions .primary{background:linear-gradient(135deg,#3ca8ff,#7657ff);border:0;color:#fff}
body.fara-horizon-4040 .fzs-channelbar{display:flex;gap:4px;padding:8px 0 10px;overflow-x:auto;scrollbar-width:none}.fzs-channelbar button{height:34px;flex:0 0 auto;border:1px solid rgba(146,164,205,.12);border-radius:10px;background:#0c111b;color:#8f9bb0;padding:0 13px;font-size:11px;font-weight:750;cursor:pointer}.fzs-channelbar button.active,.fzs-channelbar button:hover{color:#fff;background:#121a29;border-color:rgba(60,168,255,.24)}
body.fara-horizon-4040 .fz-panel{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body.fara-horizon-4040 .fz-panel-head{position:relative!important;top:auto!important;z-index:20!important;min-height:48px!important;padding:0 2px!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.fara-horizon-4040 .fz-panel-head h1{font-size:21px!important;letter-spacing:-.02em!important}
/* Inicio usa la barra social nueva; se eliminan tabs/stories heredados */
body.fara-horizon-4040 .fz-panel[data-panel="home"]>.fz-panel-head,
body.fara-horizon-4040 .fz-panel[data-panel="home"] .fz-timeline-tabs,
body.fara-horizon-4040 .fz-panel[data-panel="home"] .fz-horizon-stories,
body.fara-horizon-4040 .fz-panel[data-panel="home"] .fz-live-match-home{display:none!important}
body.fara-horizon-4040 .fzs-auth-strip{display:none;margin:0 0 10px;padding:10px 12px;border:1px solid rgba(60,168,255,.18);border-radius:13px;background:linear-gradient(90deg,rgba(60,168,255,.07),rgba(118,87,255,.05));align-items:center;justify-content:space-between;gap:10px}.fzs-auth-strip.show{display:flex}.fzs-auth-strip span{min-width:0}.fzs-auth-strip b{display:block;font-size:12px}.fzs-auth-strip small{display:block;color:#78859b;font-size:9px;margin-top:2px}.fzs-auth-strip button{border:0;border-radius:9px;background:linear-gradient(135deg,#3ca8ff,#7657ff);color:#fff;height:34px;padding:0 13px;font-weight:800;font-size:10px}
body.fara-horizon-4040 .fz-composer-card{margin:0 0 10px!important;padding:12px 13px!important;border:1px solid rgba(146,164,205,.11)!important;border-radius:15px!important;background:#0f1622!important;box-shadow:none!important}.fz-composer-card textarea{min-height:46px!important;font-size:15px!important;background:transparent!important;border:0!important;box-shadow:none!important}.fz-composer-tools{border-top:1px solid rgba(146,164,205,.08)!important;padding-top:8px!important}.fz-tool{background:transparent!important;box-shadow:none!important}
body.fara-horizon-4040 .fz-live-match-home{margin:0 0 10px!important;padding:9px 12px!important;border-radius:12px!important;background:rgba(56,211,159,.04)!important;border:1px solid rgba(56,211,159,.10)!important;box-shadow:none!important}
body.fara-horizon-4040 .fz-feed{display:grid!important;gap:9px!important}.fz-post{margin:0!important;padding:14px!important;border:1px solid rgba(146,164,205,.11)!important;border-radius:15px!important;background:#0f1622!important;box-shadow:none!important}.fz-post-media{border-radius:13px!important;max-height:560px!important;background:#05070b!important}.fz-post-main>p{font-size:14px!important;line-height:1.52!important}.fz-post-actions{border-top:1px solid rgba(146,164,205,.07)!important;margin-top:10px!important;padding-top:8px!important}
body.fara-horizon-4040 .fz-right{display:block!important;position:sticky!important;top:0!important;height:100dvh!important;padding:66px 0 22px!important;overflow:auto!important;background:transparent!important;border:0!important;box-shadow:none!important;scrollbar-width:none!important}.fz-right-search{display:none!important}.fz-rail-card{margin:0 0 9px!important;padding:12px!important;border:1px solid rgba(146,164,205,.10)!important;border-radius:14px!important;background:#0d141f!important;box-shadow:none!important}.fz-right .fz-rail-card:nth-of-type(n+6){display:none!important}
body.fara-horizon-4040 .fzs-mobile-dock{display:none}
@media(max-width:1180px){body.fara-horizon-4040 .fz-app{grid-template-columns:205px minmax(0,1fr)!important;max-width:980px!important}.fz-right{display:none!important}.fz-center{max-width:none!important}}
@media(max-width:820px){
  body.fara-horizon-4040{background:#070910!important}
  body.fara-horizon-4040 .fz-app{display:block!important;width:100%!important;max-width:none!important;padding:0!important}
  body.fara-horizon-4040 .fz-left,body.fara-horizon-4040 .fz-right,body.fara-horizon-4040 .fz-mobile-head,body.fara-horizon-4040 .fz-bottom{display:none!important}
  body.fara-horizon-4040 .fz-center{width:100%!important;max-width:none!important;padding:0 0 78px!important}
  body.fara-horizon-4040 .fzs-topbar{height:55px;padding:7px 12px!important;grid-template-columns:auto 1fr auto!important}.fzs-brand small{display:none}.fzs-search{justify-self:end;width:38px!important;padding:0!important;justify-content:center}.fzs-search span{display:none}.fzs-top-actions [data-fzs-action="fara"]{display:none}
  body.fara-horizon-4040 .fzs-channelbar{padding:7px 10px 8px!important;border-bottom:1px solid rgba(146,164,205,.08)!important;background:#060b14!important;position:sticky;top:55px;z-index:120}.fzs-channelbar button{height:32px;padding:0 12px;font-size:10px}
  body.fara-horizon-4040 .fz-panel-head{padding:7px 12px 0!important}.fz-panel-head h1{font-size:19px!important}
  body.fara-horizon-4040 .fzs-auth-strip,body.fara-horizon-4040 .fz-composer-card{margin-left:10px!important;margin-right:10px!important}
  body.fara-horizon-4040 .fz-feed{gap:0!important;border-top:1px solid rgba(146,164,205,.08)!important}
  body.fara-horizon-4040 .fz-post{margin:0!important;padding:13px 12px!important;border-radius:0!important;border-left:0!important;border-right:0!important;border-top:0!important;border-bottom:1px solid rgba(146,164,205,.08)!important;background:#08101b!important}
  body.fara-horizon-4040 .fz-section-body{padding-left:10px!important;padding-right:10px!important}.fz-composer-card{border-radius:13px!important}.fz-post-media{border-radius:12px!important}
  body.fara-horizon-4040 .fzs-mobile-dock{position:fixed;left:0;right:0;bottom:0;z-index:180;display:grid;grid-template-columns:repeat(5,1fr);height:64px;padding:5px max(7px,env(safe-area-inset-left)) max(6px,env(safe-area-inset-bottom));background:rgba(8,10,16,.97);border-top:1px solid rgba(146,164,205,.10);backdrop-filter:blur(18px)}.fzs-mobile-dock button{border:0;background:none;color:#7f8ba1;display:grid;place-items:center;gap:2px;font-size:9px;font-weight:700}.fzs-mobile-dock button.active{color:#fff}.fzs-mobile-dock svg{width:20px;height:20px;fill:none;stroke:currentColor}.fzs-mobile-dock .fara{color:#fff}.fzs-mobile-dock .fara i{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 35% 25%,#59b9ff,#7657ff 55%,#11182a);font-style:normal;box-shadow:0 0 0 1px rgba(255,255,255,.08)}
}
@media(max-width:430px){.fzs-brand b{font-size:14px!important}.fzs-top-actions button{padding:0 9px!important}.fz-post-main>p{font-size:13.5px!important}.fz-composer-card textarea{font-size:14px!important}}

/* 40.5.1: elimina capas heredadas que oscurecían o bloqueaban la red */
body.fara-horizon-4040 #fzWelcome,
body.fara-horizon-4040 #fzBusy,
body.fara-horizon-4040 #fzTrialBar,
body.fara-horizon-4040 #fzOnboardingDialog,
body.fara-horizon-4040 #fzPublicDemoDialog,
body.fara-horizon-4040 #fzFaraPreviewDialog,
body.fara-horizon-4040 #fzInstallBanner,
body.fara-horizon-4040 #fzLiveUpdateChip{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
body.fara-horizon-4040 .fz-app,body.fara-horizon-4040 .fz-center,body.fara-horizon-4040 .fz-panel,body.fara-horizon-4040 .fz-feed{filter:none!important;opacity:1!important;visibility:visible!important}
body.fara-horizon-4040 .fz-panel.active{display:block!important}
body.fara-horizon-4040 .fzs-public-stream{display:grid;gap:10px;margin:0 10px 12px}
body.fara-horizon-4040 .fzs-public-head{display:flex;align-items:end;justify-content:space-between;gap:12px;padding:4px 2px}
body.fara-horizon-4040 .fzs-public-head span{display:grid;gap:2px}.fzs-public-head b{font-size:15px}.fzs-public-head small{font-size:9px;color:#68758c}.fzs-public-head em{font-style:normal;font-size:8px;color:#46d8aa;letter-spacing:.12em}
body.fara-horizon-4040 .fzs-news-card{border:1px solid rgba(146,164,205,.11);border-radius:15px;background:linear-gradient(180deg,#101724,#0d131e);overflow:hidden;display:grid;grid-template-columns:112px 1fr;min-height:112px}
body.fara-horizon-4040 .fzs-news-art{background:radial-gradient(circle at 25% 25%,rgba(60,168,255,.48),transparent 28%),radial-gradient(circle at 75% 70%,rgba(118,87,255,.42),transparent 32%),linear-gradient(145deg,#101b2c,#080d16);position:relative}
body.fara-horizon-4040 .fzs-news-art:after{content:'FARA';position:absolute;left:12px;bottom:10px;font-size:10px;font-weight:900;letter-spacing:.16em;color:#d9e7ff}
body.fara-horizon-4040 .fzs-news-copy{padding:12px;display:grid;align-content:center;gap:6px;min-width:0}.fzs-news-copy small{font-size:8px;color:#49d7aa;letter-spacing:.1em;text-transform:uppercase}.fzs-news-copy b{font-size:13px;line-height:1.34;color:#f4f7ff}.fzs-news-copy p{font-size:10px;line-height:1.42;color:#7f8da5;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.fara-horizon-4040 .fzs-public-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.fzs-mini-card{min-height:92px;padding:12px;border-radius:14px;border:1px solid rgba(146,164,205,.10);background:linear-gradient(145deg,#101724,#0c121c);display:grid;align-content:space-between}.fzs-mini-card b{font-size:12px}.fzs-mini-card small{font-size:9px;color:#718097;line-height:1.35}
@media(max-width:560px){body.fara-horizon-4040 .fzs-news-card{grid-template-columns:92px 1fr;min-height:104px}.fzs-news-copy{padding:10px!important}.fzs-news-copy b{font-size:12.5px}.fzs-public-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.fzs-mini-card{min-height:82px;padding:10px}.fzs-mini-card b{font-size:11px}.fzs-mini-card small{font-size:8px}}
