@media (max-width:768px){header,header[role="banner"],.main-header,.site-header,.nav-tabs-area,nav{position:static !important;top:auto !important;left:auto !important;right:auto !important;z-index:auto !important;}.site-wrapper{padding:0 8px !important;max-width:100% !important;}}nav.nav-tabs-area,.nav-tabs-area,nav[role="navigation"],[class*="nav-tab"]{position:relative !important;position:static !important;top:0 !important;left:0 !important;right:0 !important;bottom:0 !important;z-index:1 !important;transform:none !important;}body nav.nav-tabs-area,body .nav-tabs-area{position:static !important;}@media (min-width:769px){html{width:100% !important;max-width:100% !important;}body{width:100% !important;max-width:100% !important;margin:0 !important;padding:0 !important;}.site-wrapper,header,header[role="banner"],.main-header,.nav-tabs-area,.site-main,main,.ps-layout{width:100% !important;max-width:100% !important;margin-left:0 !important;margin-right:0 !important;}.site-wrapper{padding-left:16px !important;padding-right:16px !important;}header[role="banner"],.main-header{position:sticky !important;top:0 !important;z-index:200 !important;}}@media (min-width:1200px){.site-wrapper{padding-left:24px !important;padding-right:24px !important;}}@media (min-width:1600px){.site-wrapper{padding-left:40px !important;padding-right:40px !important;}}body.page-template-page-download .site-header,body.page-template-page-download header[role="banner"],body.page-template-page-download .nav-tabs-area,body.page-template-page-download .bottom-nav,body.page-template-page-download footer,body.page-template-page-download .site-wrapper > *:not(#dl-page):not(style):not(script){display:none !important;}body.page-template-page-download{margin:0 !important;padding:0 !important;background:#0f0c29 !important;}body.page-template-page-download .site-wrapper{padding:0 !important;max-width:100% !important;}.ps-article-body div[style*="background:#f8f9fa"],.entry-content div[style*="background:#f8f9fa"]{background:#f8f9fa !important;border:1px solid #e0e0e0 !important;border-radius:16px !important;padding:24px !important;margin:28px 0 !important;display:block !important;}.ps-article-body div[style*="border:1px solid #e8eaed"],.entry-content div[style*="border:1px solid #e8eaed"]{display:flex !important;align-items:flex-start !important;background:#fff !important;border-radius:12px !important;padding:14px 16px !important;border:1px solid #e8eaed !important;gap:14px !important;box-sizing:border-box !important;}.ps-article-body div[style*="border:1px solid #e8eaed"] > div:first-child,.entry-content div[style*="border:1px solid #e8eaed"] > div:first-child{background:#e8f0fe !important;border-radius:50% !important;width:36px !important;height:36px !important;min-width:36px !important;display:flex !important;align-items:center !important;justify-content:center !important;font-weight:bold !important;font-size:15px !important;color:#1a73e8 !important;flex-shrink:0 !important;}.ps-article-body div[style*="display:flex;flex-direction:column;gap:14px"],.entry-content div[style*="display:flex;flex-direction:column;gap:14px"]{display:flex !important;flex-direction:column !important;gap:14px !important;}.ps-modal__body span[style*="border-radius:50%"],.entry-content span[style*="border-radius:50%"]{box-sizing:border-box !important;min-width:36px !important;min-height:36px !important;max-width:36px !important;max-height:36px !important;width:36px !important;height:36px !important;line-height:1 !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;flex-shrink:0 !important;}
@media (max-width:768px){.ps-banner-img-wrap{height:120px !important;}}
/* ═══════════════════════════════════════════════
   COMPACTAÇÃO GERAL DE ESPAÇAMENTOS - TEMA TODO
   ═══════════════════════════════════════════════ */

/* -- Variáveis raiz reduzidas -- */
:root {
  --spacing-lg: 14px !important;
  --spacing-xl: 10px !important;
  --spacing-2xl: 12px !important;
}

/* -- Área principal -- */
.site-main {
  padding: 4px 0 !important;
}

/* -- Chips de categoria no topo -- */
.category-chips {
  padding: 4px 8px !important;
  margin-bottom: 4px !important;
  gap: 6px !important;
}

/* -- Chips de dispositivo -- */
.device-chips-row {
  padding: 4px 24px !important;
}

/* -- Cada seção da home -- */
.site-main section {
  margin-bottom: 2px !important;
}

/* -- Cabeçalho de seção (Melhores do Mês, Os mais baixados, etc.) -- */
.section-header {
  padding: 0 8px !important;
  margin-bottom: 6px !important;
}

/* -- Fileiras de scroll horizontal (cards de app) -- */
.apps-row {
  padding-top: 0 !important;
  padding-bottom: 4px !important;
  margin-bottom: 0 !important;
}

/* -- Wrapper de scroll -- */
.scroll-wrapper {
  padding-bottom: 0 !important;
}

/* -- Grid de apps -- */
.apps-grid {
  margin-bottom: 4px !important;
}

/* -- Lista vertical de apps -- */
.apps-list {
  margin-bottom: 4px !important;
  gap: 6px !important;
}

/* -- Banner promo (carousel topo) -- */
.ps-promo-banner {
  margin-bottom: 4px !important;
}

/* -- Card de app individual -- */
.app-card {
  padding: 10px !important;
}

/* -- Espaço interno ps-section (página de download etc.) -- */
.ps-section {
  padding: 10px 16px !important;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .site-main {
    padding: 2px 0 !important;
  }
  .site-main section {
    margin-bottom: 2px !important;
  }
  .section-header {
    padding: 0 8px !important;
    margin-bottom: 6px !important;
  }
  .category-chips {
    padding: 4px 8px !important;
    margin-bottom: 4px !important;
  }
  .apps-row {
    padding-top: 0 !important;
    padding-bottom: 2px !important;
    margin-bottom: 0 !important;
  }
  .apps-grid {
    margin-bottom: 2px !important;
  }
  .apps-list {
    gap: 6px !important;
    margin-bottom: 2px !important;
  }
  .ps-promo-banner {
    margin-bottom: 4px !important;
  }
}

@media (max-width: 480px) {
  .site-main {
    padding: 2px 0 !important;
  }
}

/* ── FOOTER E ESPAÇOS FINAIS ── */
.ps-footer { margin-top: 6px !important; padding: 24px 20px 20px !important; }
.site-main { padding-bottom: 0 !important; }
.apps-row { padding-bottom: 2px !important; margin-bottom: 0 !important; }
.scroll-wrapper { margin-bottom: 0 !important; }
/* Remove espaço entre último elemento e footer */
.site-main > section:last-child,
.site-main > div:last-child { margin-bottom: 0 !important; }



/* ── MAIS BAIXADOS — corrige corte lateral no mobile ── */
/* O container do scroll não pode deixar conteúdo vazar */
.site-main {
  overflow-x: hidden !important;
}
.scroll-wrapper {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch !important;
}
/* Garante que os itens do mais baixados caibam */
@media (max-width: 480px) {
  .scroll-wrapper > div {
    padding-right: 16px !important;
  }
}

/* ── ESPAÇAMENTO LEVE ENTRE SEÇÕES ── */
.site-main section {
  margin-bottom: 14px !important;
}
.section-header {
  margin-bottom: 10px !important;
  padding-top: 4px !important;
}
.apps-row {
  padding-bottom: 6px !important;
}
.ps-footer {
  margin-top: 16px !important;
}

/* ── CONTRASTE ACESSIBILIDADE ── */
.ps-hero__dev,
.ps-hero__dev:visited {
  color: #1557b0 !important;
}
body.ps-dark .ps-hero__dev,
body.ps-dark .ps-hero__dev:visited {
  color: #8ab4f8 !important;
}

/* ── PERFORMANCE: imagens lazy e font-display ── */
img:not([loading]) {
    loading: lazy;
}

/* ── TUTORIAL: título e descrição separados ── */
.ps-tutorial strong,
[style*="ps_tutorial"] strong,
.ps-modal__body strong[style*="font-size:14px"],
.ps-modal__body strong[style*="font-size:14px;"] {
    display: block !important;
    margin-bottom: 5px !important;
    line-height: 1.4 !important;
}
.ps-modal__body span[style*="font-size:13px"] {
    display: block !important;
    line-height: 1.6 !important;
}



/* ── BOTÃO INSTALAR — texto centralizado ── */
.ps-install-full {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 24px !important;
    line-height: normal !important;
    font-size: 16px !important;
    vertical-align: middle !important;
}
.ps-install-full * {
    line-height: normal !important;
    vertical-align: middle !important;
}
