/* V3: las pantallas internas usan el header-card como Perfil, sin título superior duplicado */
#screen-friends > .topbar,
#screen-balance > .topbar{
  display:none!important;
}
#screen-friends > .content,
#screen-balance > .content{
  padding-top:20px!important;
}

/* Ajuste visual general para que los hero queden como cabecera real */
#screen-friends .friends-hero-v2,
#screen-balance .balance-hero-v2{
  margin-top:0!important;
  border-radius:30px!important;
  box-shadow:0 14px 34px rgba(84,45,27,.10)!important;
}

/* Amigos: card superior más parecida a Perfil/Home, sin depender del topbar */
#screen-friends .friends-hero-v2{
  padding:20px!important;
  background:linear-gradient(145deg,#fff8f3 0%,#ffe6da 100%)!important;
}
#screen-friends .friends-hero-row-v2{
  align-items:flex-start!important;
}
#screen-friends .friends-hero-ico-v2{
  width:58px!important;
  height:58px!important;
  border-radius:22px!important;
  font-size:30px!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.52);
}
#screen-friends .friends-hero-title-v2{
  font-size:22px!important;
  margin-top:2px!important;
}
#screen-friends .friends-hero-sub-v2{
  max-width:320px!important;
  color:rgba(42,26,20,.68)!important;
}
#screen-friends .friends-hero-add-v2{
  position:absolute!important;
  right:18px!important;
  top:18px!important;
  z-index:2!important;
  width:50px!important;
  height:50px!important;
  border-radius:20px!important;
}
#screen-friends .friends-mini-stats-v2{
  margin-top:18px!important;
  padding-left:46px!important;
  padding-right:0!important;
}
#screen-friends .section-label:first-of-type{
  margin-top:18px!important;
}

/* Balance: refresh dentro de la card, y no como header externo */
.balance-hero-v3-refresh{
  position:absolute;
  right:16px;
  top:16px;
  z-index:3;
  width:42px;
  height:42px;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  color:#fff;
  display:grid;
  place-items:center;
  font-size:20px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);
  cursor:pointer;
}
.balance-hero-v3-refresh:active{
  transform:scale(.96);
}
#screen-balance .balance-hero-top-v2{
  padding-right:48px!important;
}
#screen-balance .balance-hero-ico-v2{
  width:58px!important;
  height:58px!important;
  border-radius:22px!important;
}
#screen-balance .balance-hero-title-v2{
  font-size:22px!important;
  margin-top:2px!important;
}
#screen-balance .balance-tabs.balance-tabs-v2{
  margin-top:16px!important;
}

@media(max-width:420px){
  #screen-friends > .content,
  #screen-balance > .content{padding-top:16px!important;}
  #screen-friends .friends-mini-stats-v2{padding-left:0!important;}
  #screen-friends .friends-hero-add-v2{right:14px!important;top:14px!important;width:46px!important;height:46px!important;}
  #screen-friends .friends-hero-sub-v2{padding-right:54px!important;}
}

/* ASADAPP_DELETE_BUTTON_COLOR_FIX_V1 */
.btn.btn-danger,
button.btn.btn-danger,
a.btn.btn-danger {
  background: var(--md-error) !important;
  border-color: var(--md-error) !important;
  color: #fff !important;
  text-shadow: none !important;
}
.btn.btn-danger *,
button.btn.btn-danger *,
a.btn.btn-danger * {
  color: #fff !important;
}
.btn.btn-danger:hover,
button.btn.btn-danger:hover,
a.btn.btn-danger:hover,
.btn.btn-danger:active,
button.btn.btn-danger:active,
a.btn.btn-danger:active {
  color: #fff !important;
  filter: brightness(.96);
}
