:root{
  --news-navy:#07345a;
  --news-navy-2:#0b416d;
  --news-navy-dark:#042741;
  --news-red:#f13b24;
  --news-red-soft:#ff5a3d;
  --news-paper:#f4f6f8;
  --news-line:#dce4e9;
  --news-ink:#252a30;
  --sc-purple:#07345a;
  --sc-purple-dark:#042741;
  --sc-violet:#0b416d;
  --sc-coral:#f13b24;
  --orkut-blue:#07345a;
  --orkut-pink:#f13b24;
  --orkut-bg:#f4f6f8;
}

html,body{background:var(--news-paper)!important;color:var(--news-ink)!important;}
html body.auth-body{background:radial-gradient(circle at 50% 18%,rgba(241,59,36,.12),transparent 29%),linear-gradient(180deg,var(--news-navy),var(--news-navy-dark))!important;}
html body.auth-body .auth-card h1,html body.auth-body .auth-card label{color:#fff!important;}
html body.auth-body .auth-card p,html body.auth-body .auth-links{color:rgba(255,255,255,.8)!important;}
html body.auth-body .auth-links a{color:#ff735e!important;}
body:not(.auth-body) .app-shell{background:var(--news-paper)!important;}
html body:not(.auth-body) header.scraaps-topbar,
.scraaps-topbar{background:linear-gradient(180deg,var(--news-navy) 0%,var(--news-navy-dark) 100%)!important;box-shadow:0 3px 12px rgba(4,39,65,.25)!important;}
.scraaps-logo img{filter:hue-rotate(-18deg) saturate(1.28) contrast(1.04)!important;}
.scraaps-round-icon{border-color:rgba(255,255,255,.4)!important;background:rgba(255,255,255,.07)!important;color:#fff!important;}
.scraaps-round-icon>b{background:#fff!important;color:var(--news-navy)!important;}
.scraaps-avatar-btn{border-color:var(--news-red)!important;box-shadow:0 0 0 2px rgba(255,255,255,.4)!important;}
.scraaps-global-search{border-color:var(--news-navy)!important;background:#fff!important;box-shadow:0 8px 20px rgba(7,52,90,.1)!important;}
.scraaps-global-search svg,.scraaps-global-search button{color:var(--news-navy)!important;}
.scraaps-global-search input{color:var(--news-ink)!important;}
.scraaps-global-search input::placeholder{color:#788892!important;}

.news-category-strip{display:flex;gap:8px;overflow-x:auto;margin:0 -16px 10px;padding:4px 16px 8px;scrollbar-width:none;}
.news-category-strip::-webkit-scrollbar{display:none;}
.news-category-strip a{min-height:34px;padding:0 15px;border:1px solid #d7e0e6;border-radius:18px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;background:#fff;color:#52606a;font-size:12px;font-weight:900;text-decoration:none;}
.news-category-strip a.active{border-color:var(--news-red)!important;background:var(--news-red)!important;color:#fff!important;box-shadow:0 6px 14px rgba(241,59,36,.2);}
.news-breaking-bar{min-height:48px;margin:0 0 18px;padding:0 13px;border-radius:9px;display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;background:var(--news-navy);color:#fff!important;text-decoration:none;box-shadow:0 8px 18px rgba(7,52,90,.15);}
.news-breaking-bar span{padding:5px 8px;border-radius:5px;background:var(--news-red);font-size:10px;font-weight:950;letter-spacing:.6px;}.news-breaking-bar strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.news-breaking-bar em{font-size:25px;font-style:normal;}
.news-feed-heading{margin:22px 0 13px;display:grid;grid-template-columns:4px 1fr auto;gap:11px;align-items:center;scroll-margin-top:150px;}.news-feed-heading>span{width:4px;height:42px;border-radius:4px;background:var(--news-red);}.news-feed-heading small{display:block;color:var(--news-red);font-size:9px;font-weight:950;letter-spacing:.8px;}.news-feed-heading h2{margin:2px 0 0;color:var(--news-navy);font-size:22px;line-height:1;font-weight:950;}.news-feed-heading a{color:var(--news-navy)!important;font-size:10px;font-weight:950;text-decoration:none;}

.home-welcome-card{border:0!important;border-radius:14px!important;background:#fff!important;box-shadow:0 7px 20px rgba(7,52,90,.08)!important;}.welcome-line{background:var(--news-red)!important;}.welcome-copy h1,.welcome-copy p{color:var(--news-ink)!important;}.welcome-exit{color:var(--news-red)!important;}
.home-composer-card{border:1px solid var(--news-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 8px 22px rgba(7,52,90,.08)!important;}.home-composer-trigger{color:#66737c!important;}
.feed-card{border:1px solid #e0e6ea!important;border-radius:14px!important;background:#fff!important;box-shadow:0 7px 19px rgba(7,52,90,.07)!important;}
.feed-author-line,.feed-author-line b,.feed-title{color:var(--news-ink)!important;}.sponsor-badge{border-color:rgba(241,59,36,.42)!important;background:#fff1ee!important;color:var(--news-red)!important;}.feed-badge,.repost-badge{background:#e8f0f5!important;color:var(--news-navy)!important;}
.news-link-title-card{border-color:var(--news-line)!important;background:#f1f4f6!important;}.news-link-title-card strong{color:var(--news-ink)!important;}.news-link-title-card p{color:#56636c!important;}.news-link-title-card small{color:var(--news-red)!important;}
.feed-action{color:var(--news-navy)!important;}.feed-action.is-loved,.feed-love-toggle.is-loved,.feed-repost-button.is-shared{color:var(--news-red)!important;}.feed-action-row{border-color:#e4e9ed!important;}
.btn-gradient,.home-composer-publish,.sponsored-learn-btn{background:var(--news-red)!important;color:#fff!important;border-color:var(--news-red)!important;box-shadow:0 8px 18px rgba(241,59,36,.2)!important;}
.btn-light{border-color:#c7d4dd!important;background:#fff!important;color:var(--news-navy)!important;}

.quick-menu-panel,.home-composer-sheet{background:#fff!important;}.quick-menu-head strong,.home-composer-sheet-head strong{color:var(--news-navy)!important;}.quick-menu-grid>a{border-color:#dbe3e9!important;background:#f5f7f9!important;}.quick-menu-grid>a b{color:var(--news-navy)!important;}.quick-menu-grid>a small{color:#6c7a84!important;}.quick-icon{background:#e9eff3!important;color:var(--news-red)!important;}

.instant-article-topbar{background:linear-gradient(180deg,var(--news-navy),var(--news-navy-dark))!important;}.instant-article-brand-text{color:#fff!important;}.instant-article-spinner{border-color:#d8e2e9!important;border-top-color:var(--news-red)!important;}.instant-article-document h1{color:var(--news-ink)!important;}.instant-article-divider{background:var(--news-red)!important;}.instant-article-close{background:rgba(255,255,255,.12)!important;}

.bottom-nav{border-color:#dfe6eb!important;background:#fff!important;box-shadow:0 -8px 26px rgba(7,52,90,.1)!important;}.bottom-nav .nav-item{color:#66737d!important;}.bottom-nav .nav-item.active{background:#eef3f6!important;color:var(--news-red)!important;}.bottom-nav .nav-item.active b{color:var(--news-red)!important;}.nav-create-clean .nav-plus{background:var(--news-red)!important;color:#fff!important;box-shadow:0 10px 25px rgba(241,59,36,.3)!important;}.app-signature p,.app-signature strong{color:#7b8790!important;-webkit-text-fill-color:#7b8790!important;}

/* O Forum conserva sua estrutura; apenas recebe a nova paleta. */
html body.active-foruns .forum-hero,
html body.active-foruns .forum-category-trigger,
html body.active-foruns .forum-category-dialog-head,
html body.active-foruns .admin-verify-head,
html body.active-foruns .verify-hero{background:linear-gradient(135deg,var(--news-navy),var(--news-navy-2))!important;}
html body.active-foruns .forum-category-card.active,
html body.active-foruns .admin-verify-tabs a.active,
html body.active-foruns .forum-create-head>span,
html body.active-foruns .verify-shield{background:var(--news-red)!important;border-color:var(--news-red)!important;}
html body.active-foruns .forum-card,
html body.active-foruns .forum-thread-card,
html body.active-foruns .forum-create-card{border-color:#dce4e9!important;background:#fff!important;box-shadow:0 7px 19px rgba(7,52,90,.07)!important;}

/* Perfil enxuto, inspirado em perfis de redes visuais. */
html body.page-perfil .profile-page{padding-top:18px!important;}
html body.page-perfil .profile-head-modern{padding:15px 10px 23px!important;text-align:center!important;}
html body.page-perfil .profile-head .avatar-wrap{margin-bottom:15px!important;}
html body.page-perfil .profile-head .avatar{width:126px!important;height:126px!important;border:4px solid #fff!important;box-shadow:0 0 0 3px var(--news-navy),0 9px 24px rgba(7,52,90,.18)!important;}
html body.page-perfil .profile-head .profile-story-avatar.has-story{padding:0!important;border:4px solid #fff!important;outline:3px solid var(--news-red)!important;background:#fff!important;cursor:pointer!important;}
html body.page-perfil .profile-story-add{position:absolute!important;right:5px!important;bottom:2px!important;width:31px!important;height:31px!important;border:3px solid var(--news-paper)!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:var(--news-red)!important;color:#fff!important;font:900 23px/1 Arial!important;text-decoration:none!important;z-index:5!important;}
html body.page-perfil .profile-main-name{color:var(--news-ink)!important;font-size:30px!important;}.profile-verified{color:#5c6871!important;}.verify-badge .verified-rosette{fill:var(--news-red)!important;}
html body.page-perfil .profile-bio{max-width:390px!important;margin:22px auto 0!important;color:#333b42!important;font-size:15px!important;line-height:1.5!important;}
html body.page-perfil .profile-external-link{margin-top:10px!important;}.profile-external-link-domain{color:var(--news-navy)!important;}.profile-external-link-icon,.profile-external-link-public>svg{color:var(--news-red)!important;stroke:var(--news-red)!important;}
html body.page-perfil .profile-add-friend-primary,
html body.page-perfil .row-actions .btn{min-height:42px!important;border-radius:9px!important;background:var(--news-navy)!important;color:#fff!important;border-color:var(--news-navy)!important;box-shadow:none!important;}
html body.page-perfil .profile-action-tabs,
html body.page-perfil .profile-stats-panel,
html body.page-perfil #perfil-info,
html body.page-perfil .profile-forum-summary,
html body.page-perfil .profile-friends-summary,
html body.page-perfil #recados,
html body.page-perfil .recado-form-card,
html body.page-perfil .recado-card,
html body.page-perfil #depoimentos,
html body.page-perfil .depoimento-form-card,
html body.page-perfil .profile-testimonials,
html body.page-perfil .profile-feed-zone + .card,
html body.page-perfil .profile-feed-zone{display:none!important;}
html body.page-perfil .profile-feed-divider{margin-top:4px!important;background:#dfe5e9!important;}
html body.page-perfil .profile-unified-feed{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:3px!important;margin-top:3px!important;}
html body.page-perfil .profile-unified-feed>.feed-card{position:relative!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;aspect-ratio:1/1!important;overflow:hidden!important;background:#dfe5e9!important;box-shadow:none!important;}
html body.page-perfil .profile-unified-feed>.feed-card>.post-meta,
html body.page-perfil .profile-unified-feed>.feed-card>.feed-photo-caption,
html body.page-perfil .profile-unified-feed>.feed-card>.feed-action-row,
html body.page-perfil .profile-unified-feed>.feed-card>.feed-comments-box,
html body.page-perfil .profile-unified-feed>.feed-card>.sponsored-cta-card{display:none!important;}
html body.page-perfil .profile-unified-feed>.feed-type-texto>.message{position:absolute!important;inset:0!important;margin:0!important;padding:13px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:linear-gradient(145deg,var(--news-navy),var(--news-navy-2))!important;color:#fff!important;font-size:12px!important;line-height:1.35!important;text-align:center!important;overflow:hidden!important;}
html body.page-perfil .profile-unified-feed>.feed-type-texto>.feed-title{position:absolute!important;z-index:2!important;left:8px!important;right:8px!important;top:8px!important;margin:0!important;color:#fff!important;font-size:10px!important;text-align:center!important;}
html body.page-perfil .profile-unified-feed .media-frame,
html body.page-perfil .profile-unified-feed .news-link-media,
html body.page-perfil .profile-unified-feed .news-link-media img,
html body.page-perfil .profile-unified-feed .video-card-portrait,
html body.page-perfil .profile-unified-feed .video-card-portrait video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;border-radius:0!important;object-fit:cover!important;}
html body.page-perfil .profile-unified-feed .news-link-title-card{position:absolute!important;inset:auto 0 0!important;z-index:2!important;padding:22px 7px 7px!important;border:0!important;border-radius:0!important;background:linear-gradient(transparent,rgba(0,0,0,.82))!important;}.profile-unified-feed .news-link-title-card strong{color:#fff!important;font-size:11px!important;-webkit-line-clamp:2!important;}.profile-unified-feed .news-link-title-card p,.profile-unified-feed .news-link-title-card small{display:none!important;}
html body.page-perfil .profile-unified-feed~.section-head,
html body.page-perfil .profile-unified-feed~.card,
html body.page-perfil .profile-unified-feed~.empty,
html body.page-perfil .profile-unified-feed~.privacy-note,
html body.page-perfil .profile-unified-feed~.testimonial-list{display:none!important;}

@media(min-width:900px) and (hover:hover) and (pointer:fine){
  html body:not(.auth-body) header.scraaps-topbar{background:linear-gradient(180deg,var(--news-navy),var(--news-navy-dark)) top center/100% 76px no-repeat!important;}
}
