/* Familiar community layout; Conecta keeps its own identity and permissions. */
body:not(.landing):not(.reels-view){background:#f0f2f5;color:#202b28}
body.dark:not(.landing):not(.reels-view){background:#13221c;color:var(--text)}
body:not(.landing):not(.reels-view) header{height:68px;gap:24px;box-shadow:0 2px 8px #183b2c0b;border-bottom:0;padding-inline:max(20px,calc((100% - 1400px)/2))}
.headnav .navlabel{font-size:12px;font-weight:650;line-height:1}
body:not(.landing):not(.reels-view) .headnav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:68px;min-height:60px;border-radius:8px 8px 0 0;position:relative}
body:not(.landing):not(.reels-view) .headnav button.active{background:var(--soft);color:var(--green)}
body:not(.landing):not(.reels-view) .headnav button.active:after{content:'';position:absolute;bottom:0;left:10px;right:10px;height:3px;border-radius:3px;background:var(--green)}
body:not(.landing):not(.reels-view) .layout{max-width:1390px;grid-template-columns:minmax(200px,250px) minmax(0,660px) minmax(220px,290px);gap:24px;margin:22px auto}
body:not(.landing):not(.reels-view) .left{top:92px}
body:not(.landing):not(.reels-view) .card{border-radius:12px;box-shadow:0 1px 3px #153c2914;border:1px solid var(--line)}
body:not(.landing):not(.reels-view) .greeting{margin-bottom:14px;align-items:center}
body:not(.landing):not(.reels-view) .greeting .eyebrow{display:none}
body:not(.landing):not(.reels-view) .greeting h1{font-size:25px;letter-spacing:-.6px}
body:not(.landing):not(.reels-view) #subtitle{font-size:13px;line-height:1.5}
body:not(.landing):not(.reels-view) #socialhub{border:0;background:transparent;padding:0;margin-bottom:14px;box-shadow:none}
body:not(.landing):not(.reels-view) #socialhub .hubbrandphoto,
body:not(.landing):not(.reels-view) #socialhub .hubintro{display:none}
body:not(.landing):not(.reels-view) #socialhub .quickgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0}
body:not(.landing):not(.reels-view) #socialhub .quickaction{border:1px solid var(--line);border-radius:12px;background:var(--surface);min-height:92px;padding:12px 6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;box-shadow:0 1px 2px #183b2c08}
body:not(.landing):not(.reels-view) #socialhub .quickaction small{display:none}
body:not(.landing):not(.reels-view) #socialhub .quickaction b{font-size:12px}
body:not(.landing):not(.reels-view) #socialhub .quickicon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center}
body:not(.landing):not(.reels-view) #recentphotos{display:none}
body:not(.landing):not(.reels-view) #composer{padding:18px;margin-bottom:16px}
body:not(.landing):not(.reels-view) #composer .creator-head{margin-bottom:12px}
body:not(.landing):not(.reels-view) #composer .creator-kicker{display:none}
body:not(.landing):not(.reels-view) #creatortitle{font-size:16px}
body:not(.landing):not(.reels-view) #composer .compose{align-items:flex-start}
body:not(.landing):not(.reels-view) #text{border-radius:18px;padding:12px 16px;min-height:64px;font-size:16px;line-height:1.5}
body:not(.landing):not(.reels-view) .composerprompts{display:none}
body:not(.landing):not(.reels-view) .post:not(.video-reel){padding:18px 18px 14px}
body:not(.landing):not(.reels-view) .post .posthead{gap:10px}
body:not(.landing):not(.reels-view) .post .author{font-size:15px;line-height:1.4}
body:not(.landing):not(.reels-view) .post .meta{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
body:not(.landing):not(.reels-view) .post>p{font-size:16px;line-height:1.6;margin:15px 0;overflow-wrap:anywhere}
body:not(.landing):not(.reels-view) .postactions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding-block:5px;border-block:1px solid var(--line)}
body:not(.landing):not(.reels-view) .postactions button{min-height:44px;font-size:12px;display:flex;justify-content:center;align-items:center;gap:5px;padding:8px 2px;border-radius:7px}
body:not(.landing):not(.reels-view) .postactions button:hover{background:var(--soft)}
body:not(.landing):not(.reels-view) .commentform input{border-radius:22px;min-height:42px;font-size:14px;min-width:0}
body:not(.landing):not(.reels-view) .comment .bubble{border-radius:16px;background:var(--bg);padding:10px 14px}
body:not(.landing):not(.reels-view) .profilecard{padding:0;overflow:hidden}
body:not(.landing):not(.reels-view) .profilecover{height:220px;background:linear-gradient(120deg,#123c33,#22866b 62%,#b9dbc5)}
body:not(.landing):not(.reels-view) .profilecover img{height:100%;width:100%;object-fit:cover}
body:not(.landing):not(.reels-view) .profilebody{padding:0 24px 22px}
body:not(.landing):not(.reels-view) .profilebody>.avatar{width:104px;height:104px;border:5px solid var(--surface);margin-top:-50px;font-size:36px;position:relative;background:var(--soft)}
body:not(.landing):not(.reels-view) .profilebody h2{font-size:28px;margin:10px 0;overflow-wrap:anywhere}
body:not(.landing):not(.reels-view) .profilebio{font-size:15px;line-height:1.6}
body:not(.landing):not(.reels-view) .stats{gap:18px;flex-wrap:wrap;margin-block:20px}
body:not(.landing):not(.reels-view) .stats b{font-size:20px}
.profiletabs{display:flex;gap:4px;border-top:1px solid var(--line);padding:0 16px;background:var(--surface)}
.profiletabs button{min-height:52px;min-width:72px;padding:12px;font-weight:650;border-bottom:3px solid transparent;color:var(--muted)}
.profiletabs button.active{border-color:var(--green);color:var(--green);background:var(--soft)}
body[data-view=friends]:not(.landing) #feed>.card:not(.friendinvite):not(.empty){padding:10px 18px}
body[data-view=friends]:not(.landing) #feed .person{padding:20px 0;gap:14px;align-items:flex-start}
body[data-view=friends]:not(.landing) #feed .person>.info{min-width:0;flex:1}
body[data-view=friends]:not(.landing) #feed .person .avatar{width:66px;height:66px;font-size:25px}
body[data-view=friends]:not(.landing) #feed .friendbuttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
body[data-view=friends]:not(.landing) #feed .friendbuttons button{min-height:44px}
body:not(.landing):not(.reels-view) .peopletabs{overflow:auto;white-space:nowrap;gap:18px;scrollbar-width:thin}
body:not(.landing):not(.reels-view) .peopletabs button{min-height:48px;flex-shrink:0}
body:not(.landing):not(.reels-view) .right .quote{display:none}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--green);outline-offset:3px}
@media(max-width:1150px){body:not(.landing):not(.reels-view) .layout{grid-template-columns:200px minmax(0,660px);justify-content:center}body:not(.landing):not(.reels-view) .right{display:none}body:not(.landing):not(.reels-view) .headnav button{min-width:56px}}
@media(max-width:900px){body:not(.landing):not(.reels-view) header{gap:14px;padding-inline:16px}body:not(.landing):not(.reels-view) .headnav{display:none}body:not(.landing):not(.reels-view) .layout{display:block;max-width:700px;padding-inline:16px}body:not(.landing):not(.reels-view) .left{display:none}}
@media(max-width:700px){
 body:not(.landing):not(.reels-view) header{height:auto;min-height:62px;flex-wrap:wrap;gap:8px;padding:10px 12px}
 body:not(.landing):not(.reels-view) header .brand{font-size:25px;letter-spacing:-1px}
 body:not(.landing):not(.reels-view) header .brandmark{width:31px;height:31px}
 body:not(.landing):not(.reels-view) header .headtools{gap:2px}
 body:not(.landing):not(.reels-view) header .headtools .iconbtn{min-width:38px;min-height:44px;padding:8px}
 body:not(.landing):not(.reels-view) header .headtools [data-action=theme]{display:none}
 body:not(.landing):not(.reels-view) header .searchwrap{order:3;display:flex!important;width:100%;max-width:none;flex-basis:100%;border-radius:22px}
 body:not(.landing):not(.reels-view) #search{font-size:16px;padding:11px 0}
 body:not(.landing):not(.reels-view) .languagebar{position:static;padding:7px 14px;min-height:36px}
 body:not(.landing):not(.reels-view) .layout{margin:14px auto;padding:0 10px 100px;max-width:620px}
 body:not(.landing):not(.reels-view) .installbanner{padding:10px;border-radius:12px;margin-bottom:14px}
 body:not(.landing):not(.reels-view) .greeting{padding-inline:5px}
 body:not(.landing):not(.reels-view) .greeting .connection{display:none}
 body:not(.landing):not(.reels-view) #subtitle{font-size:12px}
 body:not(.landing):not(.reels-view) #socialhub .quickaction{min-height:82px}
 body:not(.landing):not(.reels-view) #composer{padding:14px}
 body:not(.landing):not(.reels-view) .post:not(.video-reel){padding:14px 12px 10px;margin-bottom:12px}
 body:not(.landing):not(.reels-view) .postactions button{font-size:10px;flex-direction:column;gap:3px;min-height:52px}
 body:not(.landing):not(.reels-view) .postactions svg{width:21px;height:21px}
 body:not(.landing):not(.reels-view) .post>p{font-size:15px}
 body:not(.landing):not(.reels-view) .profilecover{height:180px}
 body:not(.landing):not(.reels-view) .profilebody{padding-inline:16px}
 body:not(.landing):not(.reels-view) .profilebody h2{font-size:25px}
 body:not(.landing):not(.reels-view) .stats{gap:14px}
 body:not(.landing):not(.reels-view) .stats span{font-size:11px}
 body:not(.landing):not(.reels-view) .profiletabs{padding-inline:8px;overflow:auto}
 body:not(.landing):not(.reels-view) #tabs{gap:14px;overflow:auto;white-space:nowrap}
 body:not(.landing) .mobile{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding:5px 4px calc(5px + env(safe-area-inset-bottom));min-height:64px;box-shadow:0 -2px 12px #173a2512}
 body:not(.landing) .mobile>button{min-width:0;min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:10px;padding:6px 2px;border-radius:10px;position:relative}
 body:not(.landing) .mobile>button.active{background:var(--soft);color:var(--green)}
 body:not(.landing) .mobile svg{width:24px;height:24px}
 body:not(.landing) .mobile [data-chat-count]{position:absolute;top:2px;right:15%;background:#c43b46;color:white;border-radius:12px;padding:2px 4px;font-size:10px}
 body[data-view=friends]:not(.landing) #feed .person .avatar{width:54px;height:54px}
 body[data-view=friends]:not(.landing) #feed .person{gap:10px}
 body[data-view=friends]:not(.landing) .friendinvite{padding:16px;display:flex;flex-wrap:wrap;gap:12px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
