/* StakeQuiz 3.0.159: precise scope – all design avatars, height only in design 1 and 3. */
#sq158-page .sq155-rank-row img.sq159-avatar{display:block!important;object-fit:cover!important;object-position:center!important;background:#111927;border-radius:50%;aspect-ratio:1;flex-shrink:0;visibility:visible!important;opacity:1!important;}
/* In the original side-by-side layouts, the ranking column ends at exactly the
   same grid row boundary as the four feature cards (1) or live duel panel (3). */
@media (min-width:1191px) {
  body[data-sq158="1"] #sq158-page .sq158-main-split,
  body[data-sq158="3"] #sq158-page .sq158-duel-board {align-items:stretch!important;}
  body[data-sq158="1"] #sq158-page .sq158-main-split > .sq158-leader,
  body[data-sq158="3"] #sq158-page .sq158-duel-board > .sq158-leader {
    display:flex;flex-direction:column;align-self:stretch;min-height:100%;height:100%;
  }
  body[data-sq158="1"] #sq158-page .sq158-main-split .sq158-board-host,
  body[data-sq158="3"] #sq158-page .sq158-duel-board .sq158-board-host {
    flex:1;min-height:0;display:flex;flex-direction:column;
  }
  body[data-sq158="1"] #sq158-page .sq158-main-split #sq155-homeboard,
  body[data-sq158="3"] #sq158-page .sq158-duel-board #sq155-homeboard,
  body[data-sq158="1"] #sq158-page .sq158-main-split .sq155-rank,
  body[data-sq158="3"] #sq158-page .sq158-duel-board .sq155-rank {
    flex:1;min-height:0;display:flex!important;flex-direction:column;
  }
  body[data-sq158="1"] #sq158-page .sq158-main-split .sq155-rank-list,
  body[data-sq158="3"] #sq158-page .sq158-duel-board .sq155-rank-list {
    flex:1;min-height:0;overflow-y:auto;max-height:none;
  }
  body[data-sq158="1"] #sq158-page .sq158-main-split .sq158-source,
  body[data-sq158="3"] #sq158-page .sq158-duel-board .sq158-source {margin-top:auto;}
}
/* Preserve the 2nd design's current leaderboard height and original 390px/mobile layout. */
#sq158-page .sq158-leader[hidden]{display:none!important;}
