
.pi-brand-logo-frame{position:relative;display:inline-flex;align-items:center;justify-content:center;overflow:hidden}
.pi-brand-logo-frame img{width:44px;height:44px;object-fit:contain;display:block}
.pi-brand-logo-frame i{display:none}
.pi-brand-logo-frame.logo-missing i{display:inline-flex}
.pi-crypto-mentor-clean{position:relative;overflow:hidden}
.pi-crypto-mentor-clean::after{content:"";position:absolute;inset:auto -20% -40% auto;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle, rgba(15,118,110,.12), transparent 70%);pointer-events:none}
.pi-crypto-risk-badge{display:flex;gap:.75rem;align-items:flex-start;margin:.9rem 0;padding:.85rem 1rem;border-radius:18px;background:linear-gradient(135deg, rgba(15,23,42,.05), rgba(148,163,184,.08));border:1px solid rgba(148,163,184,.22)}
.pi-crypto-risk-badge i{color:#d97706;filter:drop-shadow(0 0 8px rgba(217,119,6,.22));animation:cryptoShieldPulse 2.8s ease-in-out infinite}
@keyframes cryptoShieldPulse{0%,100%{transform:scale(1);opacity:.9}50%{transform:scale(1.08);opacity:1}}
.pi-crypto-summary-card,.pi-crypto-lens-card,.pi-crypto-dca,.pi-crypto-vip-course,.pi-movers-next-step,.pi-crypto-tradeacad-bridge{transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease}
.pi-crypto-summary-card:hover,.pi-crypto-lens-card:hover,.pi-crypto-dca:hover,.pi-crypto-vip-course:hover,.pi-movers-next-step:hover,.pi-crypto-tradeacad-bridge:hover{transform:translateY(-3px);box-shadow:0 18px 38px rgba(15,23,42,.09)}
#cryptoCategoryTabs button,#cryptoSortTabs button,#cryptoTrendTabs button{position:relative}
#cryptoCategoryTabs button.active,#cryptoSortTabs button.active,#cryptoTrendTabs button.active{box-shadow:0 8px 22px rgba(15,118,110,.15)}
.pi-crypto-table.scanning,.pi-crypto-summary-grid.scanning,.pi-crypto-alert-list.scanning{position:relative;overflow:hidden}
.pi-crypto-table.scanning::after,.pi-crypto-summary-grid.scanning::after,.pi-crypto-alert-list.scanning::after{content:"";position:absolute;left:0;right:0;top:-30%;height:48%;background:linear-gradient(180deg, transparent, rgba(15,118,110,.08), rgba(250,204,21,.08), transparent);animation:cryptoScanner 1.05s ease}
@keyframes cryptoScanner{0%{transform:translateY(-140%)}100%{transform:translateY(300%)}}
.pi-crypto-table tbody tr{transition:transform .16s ease, box-shadow .16s ease, background-color .16s ease}
.pi-crypto-table tbody tr:hover{transform:translateY(-2px);box-shadow:0 10px 20px rgba(15,23,42,.06)}
.pi-crypto-table tbody tr.crypto-heat-up{box-shadow:inset 4px 0 0 rgba(16,185,129,.85);background:linear-gradient(90deg, rgba(16,185,129,.08), rgba(255,255,255,0))}
.pi-crypto-table tbody tr.crypto-heat-down{box-shadow:inset 4px 0 0 rgba(239,68,68,.78);background:linear-gradient(90deg, rgba(239,68,68,.07), rgba(255,255,255,0))}
.pi-crypto-table td b.flash-update-up,.pi-crypto-summary-card .flash-update-up{animation:flashUp 1.05s ease}
.pi-crypto-table td b.flash-update-down,.pi-crypto-summary-card .flash-update-down{animation:flashDown 1.05s ease}
@keyframes flashUp{0%{background:rgba(16,185,129,.34);box-shadow:0 0 0 0 rgba(16,185,129,.35)}100%{background:transparent;box-shadow:0 0 0 12px transparent}}
@keyframes flashDown{0%{background:rgba(239,68,68,.28);box-shadow:0 0 0 0 rgba(239,68,68,.32)}100%{background:transparent;box-shadow:0 0 0 12px transparent}}
.pi-crypto-tradeacad-bridge{margin-top:1.6rem;background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.98));border:1px solid rgba(15,23,42,.08)}
.pi-crypto-bridge-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:1rem;margin-top:1rem}
.pi-crypto-bridge-grid article{padding:1rem 1rem 1.05rem;border-radius:18px;border:1px solid rgba(148,163,184,.18);background:rgba(255,255,255,.88)}
.pi-crypto-bridge-grid i{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg, rgba(15,118,110,.12), rgba(250,204,21,.16));color:#0f766e;margin-bottom:.8rem}
.pi-crypto-bridge-grid h3{margin:0 0 .4rem;font-size:1rem}
.pi-crypto-bridge-grid p{margin:0;color:#475569;font-size:.95rem;line-height:1.55}
@media (max-width: 768px){.pi-crypto-risk-badge{border-radius:16px}.pi-crypto-bridge-grid{grid-template-columns:1fr}}

/* Padronização do card superior — Cripto Prime
   Ajuste restrito ao topo: remove barras laterais e mantém o padrão suave do Investe Prime. */
.pi-crypto-hero.pi-premium-soft-hero:before{
  content:none!important;
  display:none!important;
}
.pi-crypto-hero .pi-premium-side-card,
.pi-crypto-hero .pi-rank-mentor.pi-premium-side-card{
  position:relative!important;
  overflow:hidden!important;
  border-radius:30px!important;
  padding:32px 34px!important;
  background:
    radial-gradient(circle at 92% 0%,rgba(14,165,233,.10),transparent 34%),
    linear-gradient(135deg,#ffffff 0%,#f6fcff 72%,#fffdf3 100%)!important;
  border:1px solid rgba(191,230,245,.95)!important;
  box-shadow:0 20px 52px rgba(15,23,42,.075)!important;
  color:#071429!important;
}
.pi-crypto-hero .pi-premium-side-card:before,
.pi-crypto-hero .pi-rank-mentor.pi-premium-side-card:before{
  content:none!important;
  display:none!important;
}
.pi-crypto-hero .pi-premium-side-card:after,
.pi-crypto-hero .pi-rank-mentor.pi-premium-side-card:after{
  right:-46px!important;
  bottom:-56px!important;
  width:132px!important;
  height:132px!important;
  border-radius:50%!important;
  background:rgba(14,165,233,.055)!important;
}
.pi-crypto-hero .pi-premium-side-card b,
.pi-crypto-hero .pi-rank-mentor.pi-premium-side-card b{
  color:#071429!important;
  margin-bottom:12px!important;
}
.pi-crypto-hero .pi-premium-side-card p,
.pi-crypto-hero .pi-rank-mentor.pi-premium-side-card p{
  color:#334155!important;
  line-height:1.72!important;
  font-weight:700!important;
  margin:0 0 18px!important;
}
.pi-crypto-hero .pi-premium-side-card small,
.pi-crypto-hero .pi-rank-mentor.pi-premium-side-card small{
  background:rgba(255,255,255,.74)!important;
  border:1px solid rgba(14,165,233,.16)!important;
  color:#334155!important;
  border-radius:16px!important;
  padding:13px 15px!important;
}
.pi-crypto-hero .pi-crypto-risk-badge{
  border-radius:16px!important;
  background:rgba(255,250,235,.82)!important;
  border:1px solid rgba(217,119,6,.14)!important;
  color:#334155!important;
  padding:14px 16px!important;
  margin:0 0 18px!important;
  line-height:1.55!important;
}
.pi-crypto-hero .pi-crypto-risk-badge i{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:13px!important;
  background:linear-gradient(135deg,#fff7db,#ffffff)!important;
  color:#b7791f!important;
  border:1px solid rgba(217,119,6,.14)!important;
  filter:none!important;
  animation:none!important;
  margin-top:0!important;
}
@media(max-width:980px){
  .pi-crypto-hero .pi-premium-side-card,
  .pi-crypto-hero .pi-rank-mentor.pi-premium-side-card{
    padding:24px!important;
    border-radius:26px!important;
  }
}


/* Hero superior sem cápsula externa — Cripto Prime
   Mantém o título solto e deixa somente o card direito como elemento visual. */
.pi-crypto-hero.pi-rank-hero.pi-premium-soft-hero{
  position:relative!important;
  overflow:visible!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.45fr) 380px!important;
  gap:34px!important;
  align-items:center!important;
  margin:30px 0 28px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.pi-crypto-hero.pi-rank-hero.pi-premium-soft-hero:before,
.pi-crypto-hero.pi-crypto-hero-v88:after{
  content:none!important;
  display:none!important;
}
.pi-crypto-hero.pi-rank-hero > div:first-child{
  min-width:0!important;
}
.pi-crypto-hero.pi-rank-hero h1{
  max-width:820px!important;
}
.pi-crypto-hero.pi-rank-hero p{
  max-width:760px!important;
}
.pi-crypto-hero .pi-rank-mentor.pi-premium-side-card,
.pi-crypto-hero .pi-premium-side-card{
  align-self:stretch!important;
}
@media(max-width:980px){
  .pi-crypto-hero.pi-rank-hero.pi-premium-soft-hero{
    grid-template-columns:1fr!important;
    gap:20px!important;
    margin-top:22px!important;
  }
}

/* Ajuste dos ícones cripto e gráfico premium — Cripto Prime */
.pi-crypto-logo{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  border-radius:15px!important;
  overflow:hidden!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  position:relative!important;
  flex:none!important;
}
.pi-crypto-logo img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  display:block!important;
  padding:6px!important;
  box-sizing:border-box!important;
}
.pi-crypto-logo img + span{
  display:none!important;
}
.pi-crypto-logo.logo-failed span,
.pi-crypto-logo:not(:has(img)) span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
  font-size:.72rem!important;
  font-weight:950!important;
  line-height:1!important;
  text-align:center!important;
}
.pi-crypto-premium-chart-card{
  min-height:auto!important;
}
.pi-crypto-chart-head{
  align-items:flex-start!important;
  gap:18px!important;
}
.pi-crypto-chart-tools{
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
  min-width:260px;
}
.pi-crypto-chart-select-label{
  display:grid;
  gap:6px;
  min-width:190px;
  margin:0;
}
.pi-crypto-chart-select-label span{
  font-size:.7rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:950;
  color:#64748b;
}
.pi-crypto-chart-select-label select{
  width:100%;
  border:1px solid rgba(14,165,233,.20);
  background:#fff;
  color:#0f172a;
  border-radius:14px;
  padding:11px 12px;
  font-weight:900;
  outline:none;
  box-shadow:0 10px 22px rgba(15,23,42,.045);
}
.pi-crypto-currency-tabs,
.pi-crypto-period-tabs{
  gap:6px!important;
}
.pi-crypto-period-tabs{
  margin:14px 0 14px!important;
  justify-content:flex-start!important;
  flex-wrap:wrap!important;
}
.pi-crypto-currency-tabs button,
.pi-crypto-period-tabs button{
  border:1px solid rgba(14,165,233,.18)!important;
  background:#fff!important;
  color:#0f172a!important;
  border-radius:999px!important;
  padding:8px 11px!important;
  font-weight:950!important;
  cursor:pointer!important;
}
.pi-crypto-currency-tabs button.active,
.pi-crypto-period-tabs button.active{
  background:#0f172a!important;
  color:#fff!important;
  border-color:#0f172a!important;
  box-shadow:0 10px 24px rgba(15,23,42,.18)!important;
}
.pi-crypto-chart-metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:8px 0 12px;
}
.pi-crypto-chart-metrics div{
  min-width:0;
  border:1px solid rgba(14,165,233,.15);
  background:rgba(255,255,255,.86);
  border-radius:18px;
  padding:12px 13px;
  box-shadow:0 10px 24px rgba(15,23,42,.045);
}
.pi-crypto-chart-metrics span{
  display:block;
  color:#64748b;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-size:.68rem;
  font-weight:950;
  margin-bottom:5px;
}
.pi-crypto-chart-metrics b{
  display:block;
  color:#0f172a;
  font-size:1.02rem;
  line-height:1.16;
  overflow-wrap:break-word;
}
.pi-crypto-chart-metrics b.up{color:#059669!important;}
.pi-crypto-chart-metrics b.down{color:#dc2626!important;}
.pi-crypto-chart-canvas-wrap{
  position:relative;
  border-radius:20px;
  border:1px solid rgba(14,165,233,.16);
  background:linear-gradient(180deg,#f8fcff,#ffffff);
  overflow:hidden;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85);
}
.pi-crypto-chart-canvas-wrap canvas,
#cryptoMiniChart{
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  display:block!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
}
.pi-crypto-chart-tooltip{
  position:absolute;
  z-index:4;
  pointer-events:none;
  transform:translate(-50%,-112%);
  min-width:142px;
  border-radius:14px;
  padding:9px 10px;
  background:rgba(15,23,42,.94);
  color:#fff;
  box-shadow:0 16px 38px rgba(15,23,42,.22);
  font-size:.76rem;
  line-height:1.35;
  opacity:0;
  visibility:hidden;
  transition:opacity .12s ease, visibility .12s ease;
}
.pi-crypto-chart-tooltip.visible{
  opacity:1;
  visibility:visible;
}
.pi-crypto-chart-tooltip b{
  display:block;
  font-size:.88rem;
  margin-bottom:2px;
}
.pi-crypto-chart-tooltip span{
  display:block;
  color:#cbd5e1;
  font-weight:800;
}
.pi-crypto-chart-loading{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:180px;
  color:#64748b;
  font-weight:900;
}
@media(max-width:760px){
  .pi-crypto-chart-head{display:grid!important;grid-template-columns:1fr!important;}
  .pi-crypto-chart-tools{justify-content:stretch;min-width:0;width:100%;}
  .pi-crypto-chart-select-label{min-width:0;flex:1 1 100%;}
  .pi-crypto-currency-tabs{width:100%;justify-content:flex-start!important;}
  .pi-crypto-chart-metrics{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:480px){
  .pi-crypto-chart-metrics{grid-template-columns:1fr;}
  .pi-crypto-logo{width:38px!important;height:38px!important;min-width:38px!important;}
}


/* Cripto Prime — ajuste final do gráfico premium em largura total */
.pi-crypto-feature-grid{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:22px!important;
  align-items:stretch!important;
}
.pi-crypto-feature-grid > .pi-crypto-lens-card{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.pi-crypto-feature-grid > .pi-crypto-premium-chart-card{
  grid-column:1 / -1!important;
}
.pi-crypto-premium-chart-card{
  padding:24px!important;
}
.pi-crypto-premium-chart-card .pi-crypto-chart-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(260px,360px)!important;
  gap:18px!important;
  align-items:start!important;
}
.pi-crypto-premium-chart-card > p{
  max-width:920px!important;
}
.pi-crypto-chart-tools{
  width:100%!important;
  min-width:0!important;
}
.pi-crypto-chart-select-label{
  min-width:0!important;
  width:100%!important;
}
.pi-crypto-chart-metrics{
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;
  gap:12px!important;
}
.pi-crypto-chart-metrics div{
  min-height:74px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
}
.pi-crypto-chart-metrics b{
  font-size:1.08rem!important;
  white-space:pre-line!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
}
.pi-crypto-chart-canvas-wrap{
  min-height:340px!important;
}
.pi-crypto-chart-canvas-wrap canvas,
#cryptoMiniChart{
  min-height:340px!important;
}
#cryptoMiniChartLabel{
  display:block!important;
  margin-top:12px!important;
  font-weight:900!important;
  color:#0f766e!important;
}
#cryptoMiniChartLabel.down{color:#dc2626!important;}
#cryptoMiniChartLabel.up{color:#059669!important;}
#cryptoMiniChartLabel.loading-pulse{
  color:#0369a1!important;
  animation:cryptoLoadingPulse 1.15s ease-in-out infinite;
}
@keyframes cryptoLoadingPulse{
  0%,100%{opacity:.72;transform:translateY(0)}
  50%{opacity:1;transform:translateY(-1px)}
}
@media(max-width:860px){
  .pi-crypto-premium-chart-card .pi-crypto-chart-head{
    grid-template-columns:1fr!important;
  }
  .pi-crypto-chart-tools{
    justify-content:stretch!important;
  }
  .pi-crypto-currency-tabs{
    justify-content:flex-start!important;
  }
}
@media(max-width:560px){
  .pi-crypto-premium-chart-card{padding:18px!important;}
  .pi-crypto-chart-metrics{grid-template-columns:1fr!important;}
  .pi-crypto-chart-canvas-wrap,
  .pi-crypto-chart-canvas-wrap canvas,
  #cryptoMiniChart{min-height:300px!important;}
}
