/* Copyright © Felipe Badecam — Todos os direitos reservados. */
/*
Theme Name: felipemusic
Theme URI: https://cifragospel.com
Author: Felipe Badecam
Author URI: https://cifragospel.com
Description: Tema unificado proprietário do Cifra Gospel, incorporando Felipe Music e Felipe Bíblia em uma única instalação.
Version: 2.0.720
License: Todos os direitos reservados
Text Domain: felipemusic
Tags: custom-logo, custom-menu, featured-images, full-width-template, one-column, accessibility-ready, elementor
Requires at least: 7.0
Requires PHP: 8.1
Tested up to: 7.0.4
*/

/* /publicar mobile: mantém somente a folga necessária para a barra inferior. */
@media(max-width:760px){
  body.felipe-route-publicar{padding-bottom:96px!important;}
  body.felipe-route-publicar .felipe-footer-mobile-clearance{display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;}
}

/* Perfil: trilho de abas rolável em qualquer largura, sem comprimir os itens. */
body:not(.wp-admin) [data-view="profile"] .felipe-up-tabs{
  display:flex!important;
  flex-wrap:nowrap!important;
  justify-content:flex-start!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  overscroll-behavior-x:contain!important;
  -webkit-overflow-scrolling:touch!important;
  scrollbar-width:none!important;
}
body:not(.wp-admin) [data-view="profile"] .felipe-up-tabs::-webkit-scrollbar{display:none!important;}
body:not(.wp-admin) [data-view="profile"] .felipe-up-tabs .felipe-up-tab{flex:0 0 78px!important;min-width:78px!important;width:78px!important;scroll-snap-align:start!important;}
body:not(.wp-admin) [data-view="profile"] .felipe-up-tabs{cursor:grab!important;}
body:not(.wp-admin) [data-view="profile"] .felipe-up-tabs:active{cursor:grabbing!important;}

/* Perfil: setas laterais suaves para complementar roda, arraste e toque. */
body:not(.wp-admin) [data-view="profile"] .felipe-up-tabsrail{
  display:grid!important;
  grid-template-columns:30px minmax(0,1fr) 30px!important;
  align-items:stretch!important;
  gap:4px!important;
  width:100%!important;
  min-width:0!important;
  margin:14px 0 16px!important;
}
body:not(.wp-admin) [data-view="profile"] .felipe-up-tabsrail .felipe-up-tabs{margin:0!important;min-width:0!important;}
body:not(.wp-admin) [data-view="profile"] .felipe-up-tabsrail__arrow{
  display:grid!important;
  place-items:center!important;
  align-self:center!important;
  width:28px!important;
  height:42px!important;
  padding:0!important;
  border:1px solid rgba(137,96,43,.13)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.54)!important;
  color:rgba(94,65,32,.62)!important;
  box-shadow:0 4px 12px rgba(70,46,18,.045)!important;
  cursor:pointer!important;
  transition:opacity .18s ease,background .18s ease,color .18s ease,transform .18s ease!important;
}
body:not(.wp-admin) [data-view="profile"] .felipe-up-tabsrail__arrow:hover:not(:disabled){background:rgba(255,248,236,.95)!important;color:#d66f17!important;transform:scale(1.04)!important;}
body:not(.wp-admin) [data-view="profile"] .felipe-up-tabsrail__arrow:disabled,body:not(.wp-admin) [data-view="profile"] .felipe-up-tabsrail__arrow.is-disabled{opacity:.24!important;cursor:default!important;}
body:not(.wp-admin) [data-view="profile"] .felipe-up-tabsrail__arrow i{font-size:16px!important;}
body.felipe-theme-night:not(.wp-admin) [data-view="profile"] .felipe-up-tabsrail__arrow{background:rgba(23,35,53,.72)!important;border-color:rgba(255,255,255,.10)!important;color:rgba(236,242,249,.68)!important;}
@media(max-width:600px){
  body:not(.wp-admin) [data-view="profile"] .felipe-up-tabsrail{grid-template-columns:25px minmax(0,1fr) 25px!important;gap:2px!important;}
  body:not(.wp-admin) [data-view="profile"] .felipe-up-tabsrail__arrow{width:24px!important;height:38px!important;}
}

/* Avatar do próprio perfil: Premium às 10h, câmera às 4h. */
html body:not(.wp-admin) [data-view="profile"] .felipe-up-hero.is-owner-profile .felipe-up-hero__avatarwrap .felipe-premium-crown{
  top:4px!important;
  left:4px!important;
  right:auto!important;
  bottom:auto!important;
  z-index:46!important;
}
html body:not(.wp-admin) [data-view="profile"] .felipe-up-hero.is-owner-profile .felipe-up-hero__avatarwrap .fm-admin-profile-edit--avatar{
  top:auto!important;
  left:auto!important;
  right:4px!important;
  bottom:4px!important;
  z-index:48!important;
}

html body:not(.wp-admin) [data-view="profile"] .felipe-up-avatar-editcue{
  position:absolute!important;right:4px!important;bottom:4px!important;z-index:48!important;
  display:grid!important;place-items:center!important;width:28px!important;height:28px!important;
  border:2px solid #fff7e9!important;border-radius:999px!important;
  background:linear-gradient(135deg,#ff8c22,#ff5869)!important;color:#fff!important;
  box-shadow:0 5px 14px rgba(78,48,17,.22)!important;font-size:15px!important;
}

/*
CIFRA GOSPEL
AVISO DE DIREITOS AUTORAIS

© 2026 Felipe Badecam. Todos os direitos reservados.

Este tema, seu código-fonte, identidade visual, recursos, arquivos e demais componentes desenvolvidos especificamente para o Cifra Gospel são software proprietário.

É proibida, sem autorização prévia e expressa do titular, a reprodução, cópia, redistribuição, publicação, comercialização, sublicenciamento, disponibilização a terceiros ou utilização total ou parcial deste software fora dos termos autorizados.

Componentes de terceiros eventualmente incluídos neste pacote permanecem sujeitos às respectivas licenças e avisos de direitos autorais de seus próprios titulares. Esses arquivos de licença são preservados quando exigidos pelas dependências utilizadas.

Cifra Gospel
https://cifragospel.com

Titular: Felipe Badecam
Ano: 2026
*/

/* FelipeMusic 2.0.622 — o modal de avaliação do Felipe Security deve ficar acima
   de painéis e modais do perfil (alguns usam z-index 2147483646). */
html body > .fs-review-prompt,
html body > [data-fs-review-prompt].fs-review-prompt {
  z-index:2147483647!important;
  isolation:isolate;
}
html body > .fs-review-prompt .fs-review-prompt__card {
  position:relative;
  z-index:1;
}

/* 2.0.651 — página 404 de fallback, centralizada com cabeçalho e rodapé normais. */
body.error404 .fm-not-found-page{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:1 0 auto;
  min-height:clamp(390px, calc(100svh - 220px), 980px);
  padding:clamp(18px, 3vh, 44px) 14px;
  width:100%;
}
body.error404 .fm-not-found-page>.fm-container{width:100%;max-width:1100px;margin:0 auto}
body.error404 .fm-not-found-page .fm-not-found{margin:0 auto}
@media(max-width:640px){body.error404 .fm-not-found-page{min-height:calc(100svh - 160px);padding:20px 12px}}
