/* ── Pecking Order ────────────────────────────────────────────────────────
   Every round starts the same way for every player: a dealt hand of
   phrases gets stacked into rank order, favorite on top — the "pecking
   order" the title names, drawn as the ladder it is rather than a board.
   First BOARD-category icon on the platform, so nothing to check it
   against directly, but it still keeps clear of the WORD family's 3x3
   grid: loose text pills like sibling fillblank/wordsalad, not tiles.
   Rank badges are the game's own indigo (phone/games/peckingorder:
   #6366f1 slot-rank badge, filled-slot accent) at full strength for #1,
   stepping down to the same light tint trapwords already uses (#C7D2FE)
   for #2 and #3 — the fade itself reads "ranked" without a fourth color.
   Row pills taper shorter down the stack, so the silhouette alone still
   reads as a ladder once numerals drop out. */
.game-art--peckingorder .po-row {
  position: absolute;
  left: 28%;
  height: 18%;
  border-radius: 0;
  background: color-mix(in srgb, var(--text) 18%, var(--surface));
  border: max(1px, 2cqmin) solid var(--border);
  box-sizing: border-box;
}
.game-art--peckingorder .po-row1 { top: 13%; width: 55%; }
.game-art--peckingorder .po-row2 { top: 41%; width: 46%; }
.game-art--peckingorder .po-row3 { top: 68%; width: 39%; }

.game-art--peckingorder .po-badge {
  position: absolute;
  left: 18%;
  width: 22%;
  height: 22%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 9cqmin;
  line-height: 1;
  color: #111827;
  z-index: 2;
}
.game-art--peckingorder .po-badge1 { top: 22%; background: #6366F1; }
.game-art--peckingorder .po-badge2 { top: 50%; background: #C7D2FE; }
.game-art--peckingorder .po-badge3 { top: 78%; background: #C7D2FE; opacity: .65; }

/* Numerals are the first thing to turn to mud — the fade from full indigo
   to light tint alone still reads as "ranked" once they're gone. */
@container ga-stage (max-width: 100px) {
  .game-art--peckingorder .po-badge { font-size: 0; }
}
