/* V42 — Assombrar focado na distribuição.
   Reduz status/saldos e concentra explicações em ajuda expansível. */

#fun-votes .haunt-status-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  align-items:start;
  margin:8px 0 10px;
}
#fun-votes .haunt-status{
  min-height:38px;
  padding:9px 11px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:12px;
  background:rgba(255,255,255,.035);
  font-size:.76rem;
  line-height:1.35;
  color:#e9e2ec;
}
#fun-votes .haunt-help{
  position:relative;
}
#fun-votes .haunt-help summary{
  list-style:none;
  min-height:38px;
  padding:8px 11px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  background:rgba(142,92,255,.10);
  color:#eee7ff;
  font-size:.76rem;
  font-weight:850;
  cursor:pointer;
  white-space:nowrap;
}
#fun-votes .haunt-help summary::-webkit-details-marker{display:none}
#fun-votes .haunt-help-popover{
  position:absolute;
  z-index:50;
  top:44px;
  right:0;
  width:min(360px,calc(100vw - 40px));
  padding:13px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:14px;
  background:rgba(7,17,31,.98);
  box-shadow:0 18px 42px rgba(0,0,0,.42);
}
#fun-votes .haunt-help-popover p{
  margin:7px 0 0;
  font-size:.76rem;
  line-height:1.45;
  color:#c9bfd0;
}

#fun-votes .compact-wallet{
  margin:0 0 10px !important;
  padding:8px !important;
  border-radius:13px !important;
}
#fun-votes .compact-wallet-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;
}
#fun-votes .compact-wallet-stat{
  min-width:0;
  padding:8px 7px;
  display:grid;
  grid-template-columns:auto 1fr;
  grid-template-rows:auto auto;
  column-gap:6px;
  align-items:center;
  border:1px solid rgba(255,255,255,.09);
  border-radius:11px;
  background:rgba(7,17,31,.55);
}
#fun-votes .compact-wallet-stat>span{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  gap:4px;
  min-width:0;
  font-size:.66rem;
  font-weight:850;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
#fun-votes .compact-wallet-stat strong{
  grid-column:1;
  grid-row:2;
  margin-top:3px;
  font-size:1.18rem;
  line-height:1;
}
#fun-votes .compact-wallet-stat small{
  grid-column:2;
  grid-row:2;
  align-self:end;
  min-width:0;
  font-size:.58rem;
  line-height:1.1;
  color:var(--muted);
}
#fun-votes .compact-wallet-stat.slimer strong{color:#8df3aa}
#fun-votes .compact-wallet-stat.boo strong{color:#caa9ff}
#fun-votes .compact-wallet-stat .inline-token{width:20px;height:20px}

#fun-votes .haunt-target-tabs{
  margin:8px 0 8px !important;
}
#fun-votes .haunt-target-caption{
  display:flex;
  align-items:center;
  gap:6px;
  margin:2px 0 8px;
  font-size:.74rem;
  font-weight:850;
  color:#d9d0df;
}
#fun-votes .haunt-target-caption .inline-token{
  width:24px;
  height:24px;
}

#fun-votes .live-total{
  display:flex;
  align-items:center;
  gap:4px;
  padding:6px 8px !important;
  font-size:.7rem;
  margin:5px 0;
}

@media(max-width:620px){
  #fun-votes .haunt-status-row{
    grid-template-columns:minmax(0,1fr) auto;
    gap:6px;
  }
  #fun-votes .haunt-status,
  #fun-votes .haunt-help summary{
    min-height:34px;
    padding:7px 8px;
    font-size:.7rem;
  }
  #fun-votes .haunt-help summary{
    width:38px;
    font-size:0;
    padding:0;
  }
  #fun-votes .haunt-help summary::first-letter{
    font-size:1rem;
  }
  #fun-votes .compact-wallet{
    padding:6px !important;
  }
  #fun-votes .compact-wallet-grid{
    gap:4px;
  }
  #fun-votes .compact-wallet-stat{
    padding:6px 5px;
    column-gap:4px;
  }
  #fun-votes .compact-wallet-stat>span{
    font-size:.58rem;
  }
  #fun-votes .compact-wallet-stat strong{
    font-size:1rem;
  }
  #fun-votes .compact-wallet-stat small{
    font-size:.51rem;
  }
  #fun-votes .compact-wallet-stat .inline-token{
    width:17px;
    height:17px;
  }
}
