/* ======================================================================
   SHARED FINALS ARENA LAYOUT — single source of truth.
   Host classes (.finals-head/.vote-bar/.vote-lanes/.vlane/.vl-*) and
   /play classes (.pa-finals-head/.pa-bar/.pa-lanes/.pa-lane/.pa-*) are
   grouped so the two views lay out IDENTICALLY and can never drift.
   This file owns SIZE + POSITION only; per-page CSS keeps its own colors.
   Loaded LAST on both pages so it wins the cascade for layout props.
   The finals container itself is given identical fixed-overlay positioning
   on each page (host: body[data-view=finals] .view-finals ; /play: #pArena).
   ====================================================================== */

/* ---- head: FINALS title + round pill, centered column ---- */
.finals-head, .pa-finals-head{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; gap:10px; position:relative; margin:0 0 12px;
}
.finals-head .page-title, .pa-title{
  font-family:var(--display); font-weight:900; letter-spacing:-1px;
  font-size:clamp(38px,6.4vw,88px); line-height:.94; margin:0;
}

/* ---- wave bar: "N finalists" pinned left, wave centered, timer right ---- */
.vote-bar, .pa-bar{
  position:relative; display:flex; justify-content:center;
  left:auto; transform:none;
  width:min(100%,1160px); margin:0 auto 14px; box-sizing:border-box;
}
.vote-mix, .pa-mix{ width:100%; }
.vote-fin-count, .pa-fin-count{
  position:absolute; right:100%; top:50%; transform:translateY(-50%);
  padding:0 14px 0 0; white-space:nowrap;
  font-size:12.5px; font-weight:800; color:#9aa0ad;
  border:0; background:none; border-radius:0; font-variant-numeric:tabular-nums;
}

/* ---- cards row ---- */
.vote-lanes, .pa-lanes{
  display:flex; gap:10px; align-items:stretch;
  left:auto; transform:none;
  width:min(100%,1160px); margin:0 auto; box-sizing:border-box;
}
.vlane, .pa-lane{
  flex:1 1 0; min-width:0; display:flex; flex-direction:column;
  align-items:stretch; gap:8px; padding:14px 12px; box-sizing:border-box;
}

/* ---- text parity: identical type + indicators on both views ---- */
.vl-rank, .pa-rank{ font-family:var(--body); position:absolute; top:6px; left:8px; z-index:2; }  /* # moved to the lane's top-left corner */
.vl-head, .pa-head{ justify-content:center; }            /* artist/title names removed — avatar centered */
.vlane.mine::before, .pa-lane.my-vote::before{
  content:"\25C6 YOUR VOTE"; position:absolute; bottom:3px; left:0; right:0;
  text-align:center; font-weight:900; font-size:8.5px; letter-spacing:.6px;
  color:#7fc4ff; text-shadow:0 0 8px rgba(61,169,255,.9); z-index:3;
}
