/* Shared social interface: fixed navigation, compact content, native page actions. */
body.social-instagram.social-instagram{--social-bg:#000;--social-line:#262626;--social-muted:#a8a8a8;--social-blue:#0095f6;--bg:#000;--panel:#121212;--surface:#000;--surface-2:#121212;--border:#262626;--text:#f5f5f5;--muted:#a8a8a8;--line:#262626;margin:0;padding:56px 0 calc(66px + env(safe-area-inset-bottom))!important;background:#000!important;color:#f5f5f5;font-family:Arial,Helvetica,sans-serif!important;min-width:0;min-height:100dvh;}
body.social-instagram *{box-sizing:border-box;}
body.social-instagram :is(button,input,textarea,select){font-family:inherit;}
body.social-instagram :is(h1,h2,h3){font-family:inherit!important;letter-spacing:normal;text-transform:none;}
body.social-instagram :is(a,button,summary,input,textarea,select):focus-visible{outline:2px solid #0095f6;outline-offset:3px;}
body.social-instagram :is(.social-legacy-nav,.social-legacy-subnav,.community-floating-actions){display:none!important;}
body.social-instagram .social-topbar{position:fixed;z-index:75;inset:0 0 auto;height:56px;display:flex;align-items:center;gap:16px;padding:0 18px;background:#000;border-bottom:1px solid #262626;color:#f5f5f5;}
.social-topbar .social-wordmark{color:#fff;text-decoration:none;font-size:23px;font-weight:800;letter-spacing:-1.4px;white-space:nowrap;line-height:1;}
.social-wordmark span{font-weight:400;}
.social-page-label{font-size:13px;font-weight:600;color:#a8a8a8;margin-right:auto;}
.social-top-actions{display:flex;align-items:center;gap:12px;margin-left:auto;}
.social-top-actions>a,.social-more>summary{display:grid;place-items:center;width:32px;height:38px;padding:0;border:0;background:transparent;color:#f5f5f5;cursor:pointer;}
.social-top-actions svg,.social-nav-link svg{width:24px;height:24px;flex:none;}
.social-more>summary{list-style:none;}
.social-more>summary::-webkit-details-marker{display:none;}
.social-more[open]>nav{position:absolute;right:12px;top:52px;min-width:220px;padding:8px;background:#121212;border:1px solid #363636;border-radius:12px;box-shadow:0 10px 30px #0009;}
.social-more>nav .social-nav-link{display:flex;align-items:center;gap:12px;padding:12px;border-radius:8px;text-decoration:none;color:#f5f5f5;font-size:14px;}
.social-more>nav button{display:block;width:100%;padding:12px;text-align:left;color:#f5f5f5;background:transparent;border:0;font-size:14px;letter-spacing:normal;text-transform:none;}
.social-more>nav :is(a,button):hover{background:#262626;}
body.social-instagram .social-rail{display:none;}
body.social-instagram .social-bottom{position:fixed;inset:auto 0 0;z-index:75;height:calc(58px + env(safe-area-inset-bottom));padding:5px 4px calc(5px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(8,minmax(0,1fr));background:#000;border-top:1px solid #262626;}
.social-bottom .social-nav-link{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#a8a8a8;text-decoration:none;min-width:0;font-size:9px;line-height:1;letter-spacing:normal;font-weight:400;}
.social-bottom .social-nav-link svg{width:21px;height:21px;}
.social-bottom .social-nav-link>span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
@media(max-width:430px){.social-bottom .social-nav-link{font-size:8px;gap:3px;}}
@media(max-width:360px){.social-bottom .social-nav-link{letter-spacing:-.4px;}}
.social-bottom .social-nav-link.is-active{color:#fff;font-weight:700;}
.social-nav-link.is-active svg{stroke-width:2.4;}
body.social-instagram .social-feed-layout{padding-top:0!important;background:#000!important;min-height:calc(100dvh - 122px);display:block;}
body.social-instagram .social-feed-layout>div.fixed{display:none!important;}
body.social-instagram .social-feed-column{max-width:640px;width:100%;margin:0 auto!important;padding:16px 0!important;}
body.social-instagram .fb-card{background:#000!important;border-radius:0!important;box-shadow:none!important;border:0!important;border-bottom:1px solid #262626!important;margin-bottom:18px!important;animation:none!important;}
body.social-instagram #feed-container{padding:0 12px;}
body.social-instagram #feed-container .fb-card>div:first-child{padding:12px 0!important;}
body.social-instagram #feed-container .fb-card a:has(>img):is(.w-10,.w-8){border-radius:50%!important;overflow:hidden;flex-shrink:0;}
body.social-instagram #feed-container .fb-card .like-button{color:#f5f5f5;font-size:13px;}
body.social-instagram #feed-container .fb-card .like-button.text-blue-500{color:#ff3040!important;}
body.social-instagram #feed-container .fb-card .like-button i{font-size:24px;}
body.social-instagram #feed-create-post-card{margin:0 12px 16px!important;padding:12px!important;border:1px solid #262626!important;border-radius:12px!important;}
body.social-instagram #feed-create-post-card img{border-radius:50%;}
body.social-instagram #feed-post-input{background:#121212!important;border-radius:16px!important;min-height:40px;font-size:14px;}
body.social-instagram #feed-submit-btn{background:#0095f6!important;border-radius:8px!important;padding:8px 14px;}
body.social-instagram #stories-container{height:100px!important;margin:0 0 12px!important;padding:0 12px;gap:16px!important;align-items:flex-start;}
body.social-instagram #stories-container>div{width:70px!important;min-width:70px!important;height:96px!important;border:0!important;background:transparent!important;overflow:visible!important;flex-shrink:0;}
body.social-instagram #stories-container>div>img{height:66px!important;width:66px!important;border-radius:50%!important;padding:3px;border:2px solid #c13584;object-fit:cover;transform:none!important;}
body.social-instagram #stories-container>div>div.absolute.inset-0,body.social-instagram #stories-container>div>div.absolute.top-2{display:none!important;}
body.social-instagram #stories-container>div>div.absolute.bottom-2{position:static!important;margin-top:5px;text-align:center;}
body.social-instagram #stories-container>div>div.absolute.bottom-2>p+ p{display:none;}
body.social-instagram #create-story-card>div{position:static!important;height:auto!important;background:transparent!important;padding:5px 0 0;}
body.social-instagram #create-story-card>div>div{position:absolute!important;top:45px!important;right:0;left:auto;width:22px;height:22px;border:2px solid #000;border-radius:50%;background:#0095f6;}
body.social-instagram #create-story-card span{font-size:11px;}
body.social-instagram .social-feed-extras{border:1px solid #262626;border-radius:12px;margin:20px 12px;padding:0 12px;}
.social-feed-extras>summary{cursor:pointer;padding:15px 0;font-size:14px;font-weight:600;}
.social-feed-extras>summary>span{display:block;color:#a8a8a8;font-size:12px;font-weight:400;margin-top:5px;}
/* Forum retains topic tools and categories in a compact discussion feed. */
body.social-instagram[data-social-page=forum]>div.pt-\[104px\]{padding-top:0!important;background:#000!important;}
body.social-instagram .social-forum-layout{width:100%;max-width:none;margin:0;gap:24px;padding:20px 16px;}
body.social-instagram .social-forum-layout>aside{width:210px;}
body.social-instagram .social-forum-layout>main{flex:1;min-width:0;max-width:none;}
body.social-instagram .forum-brand{height:auto!important;min-height:0!important;padding:10px 4px 16px!important;justify-content:flex-start!important;background:#000!important;}
body.social-instagram .forum-brand img{display:none;}
body.social-instagram .forum-brand h1{font-size:24px;font-weight:700;margin:0;}
body.social-instagram .cs-card{background:#000;border-color:#262626;box-shadow:none;border-radius:10px;}
body.social-instagram .t-list{border:0;background:#000;}
body.social-instagram .t-head{display:none;}
body.social-instagram .t-row{grid-template-columns:minmax(0,1fr);padding:18px 0;background:#000;border-bottom:1px solid #262626;gap:12px;}
body.social-instagram .t-stats{display:flex;align-items:center;gap:20px;margin-left:44px;}
body.social-instagram .t-stat{flex-direction:row;gap:5px;}
body.social-instagram .t-activity{font-size:11px;}
body.social-instagram .t-title{font-size:15px;font-weight:600;}
body.social-instagram .t-meta{font-size:11px;}
body.social-instagram .sort-chip{border-radius:20px;white-space:nowrap;}
body.social-instagram .sticky-bar{position:static!important;}
body.social-instagram .forum-cover-tab{padding:12px!important;font-size:13px;}
body.social-instagram .social-forum-layout>main>article{padding:10px;font-size:12px;}
/* Direct */
body.social-instagram[data-social-page=chat]{height:100dvh;overflow:hidden;}
body.social-instagram[data-social-page=chat]>.app-shell{padding:0!important;margin:0!important;height:calc(100dvh - 114px - env(safe-area-inset-bottom))!important;max-width:none!important;width:100%!important;}
body.social-instagram #messenger-root{height:100%!important;min-height:0!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;grid-template-columns:320px minmax(0,1fr)!important;background:#000!important;}
body.social-instagram #messenger-root :is(.sidebar,.chat-panel,.sidebar-header,.chat-header,.groups-panel,.chat-footer,.chat-body){background:#000!important;border-color:#262626!important;box-shadow:none!important;}
body.social-instagram #messenger-root .groups-panel{display:none!important;}
body.social-instagram #messenger-root .sidebar-header{padding:20px 16px 10px!important;}
body.social-instagram #messenger-root .sidebar-top h1{font-size:22px!important;letter-spacing:normal!important;}
body.social-instagram #messenger-root .sidebar-top p{display:none;}
body.social-instagram #messenger-root .search{border-radius:8px!important;background:#262626!important;border:0!important;}
body.social-instagram #messenger-root .direct-tab{font-size:13px!important;text-transform:none!important;letter-spacing:normal!important;background:transparent!important;border-radius:0!important;}
body.social-instagram #messenger-root .contact-btn{padding:12px 16px!important;border:0!important;border-radius:0!important;background:transparent!important;}
body.social-instagram #messenger-root .contact-btn:hover,body.social-instagram #messenger-root .contact-btn.active{background:#121212!important;}
body.social-instagram #messenger-root .contact-btn img{border-radius:50%!important;}
body.social-instagram #messenger-root .chat-header{height:68px!important;padding:10px 16px!important;}
body.social-instagram #messenger-root .chat-head-ava,body.social-instagram #messenger-root #chat-user-avatar{border-radius:50%!important;}
body.social-instagram #messenger-root .msg-bubble{border-radius:20px!important;border:0!important;background:#262626!important;color:#fff!important;box-shadow:none!important;font-size:14px!important;padding:10px 14px!important;}
body.social-instagram #messenger-root .msg-row.mine .msg-bubble{background:#3797f0!important;}
body.social-instagram #messenger-root .chat-footer{padding:10px 12px!important;}
body.social-instagram #messenger-root .composer{border-radius:24px!important;border:1px solid #363636!important;background:#000!important;}
body.social-instagram #messenger-root #chat-input{background:transparent!important;}
/* Notifications */
body.social-instagram[data-social-page=notificacoes] .page{max-width:720px!important;margin:0 auto!important;padding:24px 16px!important;}
body.social-instagram[data-social-page=notificacoes] .page>header{position:static;padding:0 0 18px;margin:0;border:0;background:transparent;gap:12px;flex-wrap:wrap;}
body.social-instagram[data-social-page=notificacoes] h1{font-size:24px!important;font-weight:700;}
body.social-instagram[data-social-page=notificacoes] :is(button,.link-btn){text-transform:none;letter-spacing:normal;font-size:12px;border-radius:8px;background:#262626;}
body.social-instagram[data-social-page=notificacoes] .actions .link-btn{display:none;}
body.social-instagram[data-social-page=notificacoes] .list{gap:0;}
body.social-instagram[data-social-page=notificacoes] .item{border:0!important;border-bottom:1px solid #262626!important;border-radius:0;background:#000;padding:16px 0;box-shadow:none;}
body.social-instagram[data-social-page=notificacoes] .item.is-unread{background:#101010;padding-left:10px;padding-right:10px;}
body.social-instagram[data-social-page=notificacoes] .item-visual{border-radius:50%;border:0;width:44px;height:44px;flex-basis:44px;background:#262626;color:#fff;box-shadow:none;}
body.social-instagram[data-social-page=notificacoes] .meta{font-size:11px;text-transform:none;letter-spacing:normal;margin-bottom:4px;}
body.social-instagram[data-social-page=notificacoes] .tag{color:#a8a8a8;}
body.social-instagram[data-social-page=notificacoes] .item h2{font-size:14px;font-weight:600;line-height:1.4;margin-bottom:4px;}
body.social-instagram[data-social-page=notificacoes] .item p{font-size:13px;line-height:1.4;color:#a8a8a8;}
/* Clan directory and individual clan profile */
body.social-instagram[data-social-page=clas] .page-shell{max-width:960px!important;margin:0 auto!important;padding:24px 18px!important;}
body.social-instagram[data-social-page=clas] .page-shell>.topbar{display:none;}
body.social-instagram[data-social-page=clas] .hero{display:block!important;margin:0 0 16px;}
body.social-instagram[data-social-page=clas] .hero-card{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;}
body.social-instagram[data-social-page=clas] .hero-card .kicker{display:none;}
body.social-instagram[data-social-page=clas] .hero-card h1{font-size:26px!important;line-height:1.2;margin:0 0 8px;}
body.social-instagram[data-social-page=clas] .hero-copy{font-size:13px!important;line-height:1.4;color:#a8a8a8;max-width:600px;margin:0 0 14px;}
body.social-instagram[data-social-page=clas] .hero-actions{gap:8px;}
body.social-instagram[data-social-page=clas] :is(.primary-btn,.ghost-btn,.mini-btn){border-radius:8px!important;letter-spacing:normal!important;text-transform:none!important;min-height:34px!important;padding:8px 12px;font-family:inherit;font-size:12px!important;box-shadow:none!important;white-space:normal;}
body.social-instagram[data-social-page=clas] .primary-btn{background:#0095f6!important;color:#fff!important;border-color:transparent!important;}
body.social-instagram[data-social-page=clas] :is(.ghost-btn,.mini-btn){background:#262626!important;border-color:transparent!important;color:#f5f5f5!important;}
body.social-instagram[data-social-page=clas] .oracle-panel{display:flex!important;gap:20px!important;margin-top:16px;padding:12px 0!important;background:transparent!important;border:0!important;border-bottom:1px solid #262626!important;box-shadow:none;}
body.social-instagram[data-social-page=clas] .stat-card{padding:0!important;background:transparent!important;border:0!important;display:flex;align-items:baseline;gap:6px;}
body.social-instagram[data-social-page=clas] .stat-card strong{font-size:16px!important;order:-1;}
body.social-instagram[data-social-page=clas] .stat-card span{font-size:11px!important;letter-spacing:normal!important;text-transform:none!important;}
body.social-instagram[data-social-page=clas] .spotlight{display:none;}
body.social-instagram[data-social-page=clas] .control-panel{display:grid!important;grid-template-columns:minmax(0,1fr) 160px!important;gap:8px!important;padding:0 0 16px!important;background:transparent!important;border:0!important;box-shadow:none;}
body.social-instagram[data-social-page=clas] .control-panel>button{display:none;}
body.social-instagram[data-social-page=clas] :is(.search-field,.order-field){min-width:0!important;width:100%!important;height:40px!important;border:0!important;border-radius:8px!important;background:#262626!important;color:#f5f5f5;font-size:13px;}
body.social-instagram[data-social-page=clas] #clans-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 28px!important;border:0!important;background:transparent!important;}
body.social-instagram[data-social-page=clas] .clan-list-head{display:none;}
body.social-instagram[data-social-page=clas] .clan-row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px 8px!important;padding:20px 0!important;background:#000!important;border:0!important;border-bottom:1px solid #262626!important;border-radius:0!important;box-shadow:none!important;animation:none!important;transform:none!important;min-width:0;}
body.social-instagram[data-social-page=clas] .clan-row::before,body.social-instagram[data-social-page=clas] .clan-row::after{display:none;}
body.social-instagram[data-social-page=clas] .clan-row-main{grid-column:1/-1;display:flex!important;gap:12px;min-width:0;}
body.social-instagram[data-social-page=clas] .clan-row-main>.clan-icon-box{display:none;}
.social-clan-avatar{width:64px;height:64px;flex:0 0 64px;border-radius:50%;padding:3px;background:transparent;border:1px solid #363636;cursor:pointer;}
.social-clan-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover;}
body.social-instagram[data-social-page=clas] .clan-row-title{min-width:0;}
body.social-instagram[data-social-page=clas] .clan-row-title strong{font-size:16px!important;letter-spacing:normal;text-transform:none;overflow-wrap:anywhere;}
body.social-instagram[data-social-page=clas] .clan-row-title span{font-size:12px!important;line-height:1.4;color:#a8a8a8;}
body.social-instagram[data-social-page=clas] .clan-row-detail{grid-column:1/-1;font-size:12px!important;line-height:1.5;padding:0;border:0;}
.clan-row-detail summary{font-weight:600;cursor:pointer;color:#a8a8a8;}
.clan-row-detail p{margin:8px 0;}
body.social-instagram[data-social-page=clas] .clan-stat-cell{display:flex!important;flex-direction:column-reverse!important;align-items:flex-start!important;gap:4px;padding:0!important;border:0!important;background:transparent!important;}
body.social-instagram[data-social-page=clas] .clan-stat-cell small{font-size:10px;letter-spacing:normal;text-transform:none;color:#a8a8a8;}
body.social-instagram[data-social-page=clas] .clan-stat-cell strong{font-size:15px;}
body.social-instagram[data-social-page=clas] .clan-row-actions{grid-column:1/-1;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px;}
body.social-instagram[data-social-page=clas] .modal{padding:20px;background:#000a;}
body.social-instagram[data-social-page=clas] .modal-card{background:#000!important;border:1px solid #262626!important;border-radius:14px!important;max-width:900px!important;box-shadow:none!important;}
body.social-instagram[data-social-page=clas] .modal-hero{display:grid!important;grid-template-columns:96px minmax(0,1fr)!important;gap:20px!important;padding:24px!important;background:#000!important;}
body.social-instagram[data-social-page=clas] .modal-hero>img{width:96px!important;height:96px!important;border-radius:50%!important;filter:none!important;object-fit:cover;}
body.social-instagram[data-social-page=clas] .modal-title-row{gap:8px;align-items:flex-start;}
body.social-instagram[data-social-page=clas] #modal-title{font-size:22px!important;line-height:1.2;overflow-wrap:anywhere;}
body.social-instagram[data-social-page=clas] #modal-title>.clan-icon-box{display:none;}
body.social-instagram[data-social-page=clas] .modal-copy{font-size:13px;line-height:1.5;}
body.social-instagram[data-social-page=clas] .modal-tabs{background:#000!important;border-block:1px solid #262626;display:flex;overflow-x:auto;gap:0;padding:0 12px;scrollbar-width:none;}
body.social-instagram[data-social-page=clas] .tab-btn{background:transparent!important;white-space:nowrap;border:0!important;border-radius:0;padding:14px 16px;color:#a8a8a8;letter-spacing:normal;text-transform:none;font-size:13px;}
body.social-instagram[data-social-page=clas] .tab-btn.is-active{color:#fff;border-bottom:2px solid #fff!important;}
body.social-instagram[data-social-page=clas] .modal-content{padding:20px!important;}
body.social-instagram[data-social-page=clas] :is(.rpg-card,.shop-card,.info-grid>div,.mission-grid>article,.contribution-box){background:#121212!important;border-color:#262626!important;border-radius:10px!important;box-shadow:none;}
body.social-instagram[data-social-page=clas] .member-pill{background:transparent!important;border:0!important;border-bottom:1px solid #262626!important;padding:12px 0!important;}
body.social-instagram[data-social-page=clas] .member-pill img{border-radius:50%!important;}
/* Match keeps all discovery interactions and purchasing controls. */
body.social-instagram[data-social-page=match] .app-shell{padding:12px 14px!important;height:calc(100dvh - 122px - env(safe-area-inset-bottom))!important;max-width:760px;}
body.social-instagram[data-social-page=match] .main-tab-btn{border:0;border-bottom:1px solid #262626;background:transparent;border-radius:0;color:#a8a8a8;font-weight:500;font-size:12px;padding:12px 3px;}
body.social-instagram[data-social-page=match] .main-tab-btn.active{background:transparent;border-bottom:2px solid #fff;color:#fff;font-weight:700;}
body.social-instagram[data-social-page=match] .bottom-tabs{display:none!important;}
body.social-instagram[data-social-page=match] .social-match-tools{display:flex;gap:8px;align-items:center;justify-content:space-between;padding-bottom:12px;}
.social-match-tools strong{font-size:22px;}
.social-match-tools button{background:#262626;border:0;border-radius:8px;color:#fff;padding:8px 10px;font-size:12px;cursor:pointer;}
/* Existing profile and community retain their compact content layouts. */
body.social-instagram[data-social-page=perfil-publico]{padding-top:0!important;}
body.social-instagram .profile-page{background:#000!important;padding-top:72px!important;}
body.social-instagram .profile-reader-nav{z-index:76!important;}
body.social-instagram[data-social-page=comunidade] #community-main-container{padding-top:12px!important;}
body.social-instagram[data-social-page=comunidade] .ig-community-heading h1{font-size:24px;}
@media(min-width:768px){
 body.social-instagram.social-instagram{margin-left:76px; padding-bottom:24px!important;}
 body.social-instagram .social-topbar{left:76px;}
 body.social-instagram .social-bottom{display:none;}
 body.social-instagram .social-rail{position:fixed;z-index:75;inset:0 auto 0 0;width:76px;display:flex;flex-direction:column;gap:7px;padding:70px 12px 18px;background:#000;border-right:1px solid #262626;}
 .social-rail .social-nav-link{display:flex;align-items:center;gap:16px;min-height:48px;padding:12px 14px;border-radius:8px;font-size:14px;color:#f5f5f5;text-decoration:none;}
 .social-rail .social-nav-link span{display:none;}
 .social-rail .social-nav-link:hover{background:#121212;}
 .social-rail .social-nav-link.is-active{font-weight:700;background:#121212;}
 .social-rail .social-settings-link{margin-top:auto;}
 body.social-instagram[data-social-page=chat]>.app-shell{height:calc(100dvh - 56px)!important;}
 body.social-instagram[data-social-page=match] .app-shell{height:calc(100dvh - 80px)!important;}
 body.social-instagram .profile-reader-nav{left:76px!important;}
}
@media(min-width:1200px){
 body.social-instagram.social-instagram{margin-left:220px;}
 body.social-instagram .social-topbar{left:220px;}
 body.social-instagram .social-rail{width:220px;padding-inline:14px;}
 .social-rail .social-nav-link span{display:block;}
 body.social-instagram .profile-reader-nav{left:220px!important;}
}
@media(max-width:767px){
 .social-page-label{display:none;}
 body.social-instagram .social-topbar{padding-inline:14px;}
 body.social-instagram .social-feed-column{padding-top:12px!important;}
 body.social-instagram .social-forum-layout{padding:16px 12px;}
 body.social-instagram .social-forum-layout>aside{display:none;}
 body.social-instagram #messenger-root{display:grid!important;grid-template-columns:minmax(0,1fr)!important;}
 body.social-instagram #messenger-root .sidebar{width:100%!important;min-width:0!important;border:0!important;}
 body.social-instagram #messenger-root .chat-panel{display:none!important;min-height:0;}
 body.social-instagram #messenger-root.chat-open .sidebar{display:none!important;}
 body.social-instagram #messenger-root.chat-open .chat-panel{display:flex!important;}
 body.social-instagram[data-social-page=clas] .page-shell{padding:20px 14px!important;}
 body.social-instagram[data-social-page=clas] #clans-grid{grid-template-columns:minmax(0,1fr)!important;}
 body.social-instagram[data-social-page=clas] .control-panel{grid-template-columns:minmax(0,1fr) 125px!important;}
 body.social-instagram[data-social-page=clas] .hero-actions{display:flex;flex-wrap:wrap;}
 body.social-instagram[data-social-page=clas] .hero-actions>a{display:none;}
 body.social-instagram[data-social-page=clas] .oracle-panel{gap:16px!important;}
 body.social-instagram[data-social-page=clas] .modal{padding:0;}
 body.social-instagram[data-social-page=clas] .modal-card{height:100dvh!important;max-height:100dvh!important;width:100%!important;border:0!important;border-radius:0!important;}
 body.social-instagram[data-social-page=clas] .modal-hero{grid-template-columns:76px minmax(0,1fr)!important;gap:14px!important;padding:20px 14px!important;}
 body.social-instagram[data-social-page=clas] .modal-hero>img{width:76px!important;height:76px!important;}
 body.social-instagram[data-social-page=clas] #modal-title{font-size:20px!important;}
 body.social-instagram[data-social-page=clas] .modal-content{padding:16px 14px!important;}
 body.social-instagram[data-social-page=clas] :is(.info-grid,.rpg-grid,.mission-grid,.shop-grid){grid-template-columns:minmax(0,1fr)!important;}
 body.social-instagram[data-social-page=clas] .member-pill{flex-wrap:wrap;gap:8px;}
 body.social-instagram[data-social-page=clas] .member-actions{flex-wrap:wrap;}
 body.social-instagram[data-social-page=perfil-publico] .profile-page{padding-top:64px!important;}
}
@media(prefers-reduced-motion:reduce){body.social-instagram *,body.social-instagram *::before,body.social-instagram *::after{scroll-behavior:auto!important;animation:none!important;transition:none!important;}}
body.social-instagram[data-social-page=match] .social-match-status{margin:0 0 12px;color:#a8a8a8;font-size:12px;flex-shrink:0;}
.social-match-status>summary{cursor:pointer;}
body.social-instagram[data-social-page=match] .social-match-status .quota-bar{display:flex!important;flex-wrap:wrap;padding:10px 0;gap:8px;background:transparent;}
body.social-instagram[data-social-page=match] .social-match-status .quota-chip{display:inline-flex!important;font-size:11px;}
body.social-instagram[data-social-page=match] .social-match-status .live-strip{position:static;display:flex;flex-wrap:wrap;padding:8px 0;border:0;}
body.social-instagram .social-more .social-nav-link.is-active{background:#262626;}
body.social-instagram[data-social-page=comunidade]>.flex{padding-top:0!important;}
body.social-instagram[data-social-page=clas] .clan-row-actions .mini-btn{min-width:0!important;width:100%;padding-inline:6px;}
body.social-instagram :is(.social-clan-avatar,.social-clan-avatar img){border-radius:50%!important;}
body.social-instagram .social-more>nav{border-radius:12px!important;}
body.social-instagram #notification-toast-container{top:64px!important;bottom:auto!important;right:12px!important;left:auto!important;max-width:min(320px,calc(100vw - 24px));pointer-events:none;}
body.social-instagram #notification-toast-container>div{border-radius:10px!important;background:#121212!important;}
body.social-instagram #notification-toast-container>div:not(:last-child){display:none;}
body.social-instagram #cookie-banner{background:#121212!important;z-index:90;}
body.social-instagram[data-social-page=clas] #clan-weekly-board{display:block!important;padding:14px 0!important;border-bottom:1px solid #262626!important;margin:0 0 4px!important;}
body.social-instagram #clan-weekly-board>summary{cursor:pointer;font-size:13px;font-weight:600;padding:4px 0;}
body.social-instagram #clan-weekly-board>div:first-of-type{display:none;}
body.social-instagram #clan-weekly-board .mission-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:16px;gap:12px;}
body.social-instagram #clan-weekly-board .mission-grid>article{background:#121212;border:1px solid #262626;padding:14px;border-radius:10px!important;min-width:0;}
body.social-instagram #clan-weekly-board .mini-btn{max-width:100%;}
body.social-instagram .social-feed-extras .feed-journey-float-btn{position:relative!important;inset:auto!important;width:100%!important;height:44px!important;display:flex;align-items:center;gap:10px;background:#121212!important;border:1px solid #262626!important;margin-bottom:12px;color:#fff;box-shadow:none!important;padding:10px;border-radius:8px!important;}
body.social-instagram .social-feed-extras .feed-journey-float-btn span{position:static!important;}
body.social-instagram .social-feed-extras .feed-journey-float-btn b{font-size:13px;font-weight:600;}
@media(max-width:600px){body.social-instagram #clan-weekly-board .mission-grid{grid-template-columns:minmax(0,1fr);}}
body.social-instagram[data-social-page=clas] .clan-row{opacity:1!important;}
body.social-instagram[data-social-page=clas] .hero-card::before,body.social-instagram[data-social-page=clas] .hero-card::after{display:none!important;}
body.social-instagram[data-social-page=clas] .hero-actions :is(.primary-btn,.ghost-btn){width:auto!important;flex:0 1 auto!important;}
body.social-instagram[data-social-page=clas] .hero-actions{display:flex!important;justify-content:flex-start!important;align-items:center;}
body.social-instagram .social-topbar{flex-direction:row!important;align-items:center!important;margin:0!important;}
body.social-instagram .social-top-actions{flex-shrink:0;}
body.social-instagram[data-social-page=clas] .modal-tabs{flex-wrap:nowrap!important;}
body.social-instagram[data-social-page=clas] :is(.info-grid,.mission-grid)>article{background:#121212!important;border:1px solid #262626!important;border-radius:10px!important;padding:14px!important;}
body.social-instagram[data-social-page=clas] .tag-row span{background:#262626!important;border:0!important;border-radius:12px!important;font-size:11px!important;padding:4px 9px!important;}
body.social-instagram #messenger-root :is(.contacts,.contact-group-title,.groups-tab-panel,.groups-tab-head){background:#000!important;}
body.social-instagram #messenger-root .contact-btn.active{background:#121212!important;box-shadow:none!important;}
body.social-instagram[data-social-page=chat]>.app-shell{flex:none!important;}
body.social-instagram[data-social-page=clas] .clan-row-actions .primary-btn{background:#0095f6!important;}
body.social-instagram[data-social-page=clas] .control-panel{margin-bottom:0!important;}
html[data-profile-view=publicacoes] body.social-instagram .profile-page{padding-top:56px!important;}
html[data-profile-view=publicacoes] body.social-instagram .social-topbar{display:none;}
body.social-instagram:is([data-social-page=grupos],[data-social-page=eventos])>main{padding-top:24px!important;max-width:900px;}
body.social-instagram:is([data-social-page=grupos],[data-social-page=eventos])>main>.fb-card{padding:16px 0!important;}
body.social-instagram:is([data-social-page=grupos],[data-social-page=eventos]) h1{font-size:24px;font-weight:700;}
body.social-instagram:is([data-social-page=grupos],[data-social-page=eventos]) :is(input,textarea,select){min-width:0;border-radius:8px!important;background:#262626;border-color:#363636;}
body.social-instagram .social-create-details>summary{cursor:pointer;list-style:revert;font-size:14px;padding:4px 0;}
body.social-instagram .social-more[open]>nav{max-height:calc(100dvh - 126px);overflow:auto;overscroll-behavior:contain;}
body.social-instagram[data-social-page=reels] .reels-shell{width:100%!important;height:calc(100dvh - 114px - env(safe-area-inset-bottom))!important;}
body.social-instagram[data-social-page=reels] :is(.reels-root,.reel-card){height:100%!important;}
body.social-instagram[data-social-page=grupo-estudos]{--bg:#000;--surface:#121212;--surface-2:#262626;--ink:#f5f5f5;--ink-soft:#a8a8a8;}
body.social-instagram[data-social-page=grupo-estudos] .ge-shell{width:100%;max-width:1100px;margin:auto;padding:16px 12px;}
body.social-instagram[data-social-page=grupo-estudos] .forum-tabs{border-bottom:1px solid #262626;background:#000;}
body.social-instagram[data-social-page=grupo-estudos] .ftab{background:transparent;border:0;border-radius:0!important;color:#a8a8a8;padding:12px 16px;}
body.social-instagram[data-social-page=grupo-estudos] .ftab.active{color:#fff;border-bottom:2px solid #fff;}
@media(min-width:768px){body.social-instagram[data-social-page=reels] .reels-shell{height:calc(100dvh - 56px)!important;}}

/* Restore the original social header; the full hamburger remains the only menu. */
body.social-instagram .social-topbar{display:none!important;}
body.social-instagram .social-legacy-nav{display:flex!important;position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;height:56px!important;z-index:80!important;}
body.social-instagram[data-social-page=match] .social-legacy-nav{display:block!important;height:auto!important;}
body.social-instagram[data-social-page=match] .social-legacy-nav .mobile-brand-strip{display:none!important;}
/* When the site-wide header is present, hide the legacy bar across social pages. */
body.social-instagram:is(.chaos-standard-body-offset,.chaos-standard-compact-mobile) .social-legacy-nav{display:none!important;}

body.social-instagram .social-rail .social-sidebar-brand{display:flex;align-items:center;gap:10px;min-height:60px;padding:6px 2px 14px;color:#fff;text-decoration:none;margin-bottom:8px;flex:none;}
body.social-instagram .social-sidebar-brand img{width:40px;height:40px;object-fit:contain;flex:none;}
body.social-instagram .social-sidebar-brand span{font-size:15px;font-weight:700;white-space:nowrap;}
@media(min-width:768px) and (max-width:1199px){body.social-instagram .social-sidebar-brand span{display:none;}body.social-instagram .social-rail .social-sidebar-brand{justify-content:center;}}

@media(min-width:768px){body.social-instagram .social-rail{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;gap:3px;padding-bottom:12px;}body.social-instagram .social-rail .social-nav-link{min-height:42px;padding-block:9px;gap:12px;flex:none;font-size:13px;}body.social-instagram .social-rail .social-sidebar-brand{min-height:50px;padding-bottom:8px;margin-bottom:2px;}.social-rail-label{display:block;color:#777;font-size:10px;font-weight:700;letter-spacing:.06em;padding:12px 14px 4px;flex:none}.social-chaos-link{color:#f1eadc!important}}@media(min-width:768px) and (max-width:1199px){.social-rail-label{font-size:0;padding:4px;border-bottom:1px solid #262626;margin:5px 12px}}

body.social-instagram .social-rail .social-sidebar-brand{padding:0 0 12px;min-height:62px;justify-content:center}body.social-instagram .social-sidebar-brand img{display:block;width:190px!important;max-width:100%;height:auto!important;max-height:58px;object-fit:contain;filter:none!important;box-shadow:none!important;border:0!important;border-radius:0!important;background:transparent!important}body.social-instagram .social-sidebar-brand span{display:none!important}@media(min-width:768px) and (max-width:1199px){body.social-instagram .social-rail .social-sidebar-brand{min-height:42px}body.social-instagram .social-sidebar-brand img{width:60px!important}}
