/* The Live page in the same style as Explore: navy page, rounded cards, Inter.
   The old black "stage" keeps its markup; here its night colours become the page's. */
.stage.stage-page {
  --night: transparent; --night-2: var(--bg); --night-3: var(--hair-2);
  --night-tx: var(--ink); --night-tx-2: var(--ink-2); --night-tx-3: var(--ink-3);
  background: transparent; color: var(--ink); border: 0; padding: 0 28px 70px;
}
.stage-page .stage-in { max-width: calc(var(--w) - 56px); }
.stage-page .stage-top { border: 0; padding-bottom: 14px; }
.stage-page .st-k { font: 600 13px var(--sans); color: var(--green); }
.stage-page .st-n { font: 500 13px var(--sans); color: var(--ink-3); }
.stage-page .stage-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: stretch; padding: 0 0 18px; }

/* the leader, in a card */
.stage-page .stage-lead { background: var(--bg-2); border-radius: 24px; padding: 30px; box-shadow: inset 0 0 0 1px var(--hair); display: flex; flex-direction: column; justify-content: center; min-height: 360px; }
.stage-page .stage-lead .tx { font: 600 clamp(26px, 3vw, 40px)/1.15 var(--sans); letter-spacing: -0.035em; }
.stage-page .stage-lead .by { margin-top: 26px; }
.stage-page .stage-lead .by .score { border-left-color: var(--hair-2); }
.stage-page .stage-lead .why { color: var(--ink-3); font-size: 14.5px; }
.stage-page .stage-lead .won { align-self: flex-start; }
.lead-empty { display: grid; justify-items: start; gap: 10px; }
.lead-empty img { border-radius: 14px; }
.lead-empty h3 { margin: 6px 0 0; font: 700 clamp(26px, 3vw, 36px)/1.1 var(--sans); letter-spacing: -0.035em; }
.lead-empty p { max-width: 520px; color: var(--ink-2); font-size: 16px; }
.lead-empty p b { color: var(--ink); }
.lead-empty .btn { margin-top: 8px; }

/* the clock and the pot, in a card */
.stage-page .stage-meter { background: var(--bg-2); border-radius: 24px; padding: 26px 22px; box-shadow: inset 0 0 0 1px var(--hair); display: flex; flex-direction: column; align-items: center; gap: 22px; }
.stage-page .ring-bg { stroke: var(--hair-2); }
.stage-page .ring-c small { color: var(--ink-3); }
.stage-page .meter-kv { background: var(--hair); border-radius: 16px; }
.stage-page .meter-kv div { background: var(--bg); }

/* the board: every idea as a card */
.stage-page .board { border: 0; display: grid; gap: 10px; }
.stage-page .row { background: var(--bg-2); border: 0; border-radius: 18px; padding: 16px 18px; box-shadow: inset 0 0 0 1px var(--hair); transition: box-shadow 0.3s; }
.stage-page .row:hover { background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--hair-2); }
.stage-page .row.top { box-shadow: inset 0 0 0 1px rgba(134, 100, 255, 0.55), 0 10px 30px -18px rgba(110, 69, 255, 0.6); }
.stage-page .row .rk { font: 600 13px var(--sans); }
.stage-page .row .sc i { background: var(--hair-2); }
.stage-page .board-empty { color: var(--ink-3); }
@media (max-width: 1040px) { .stage-page .stage-grid { grid-template-columns: 1fr; } .stage-page .stage-meter { flex-direction: row; justify-content: space-around; flex-wrap: wrap; } }

/* who voted: X pictures and names */
.voters { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.voters.wide { margin-top: 18px; font-size: 14px; }
.vfaces { display: inline-flex; }
.vface { position: relative; width: 24px; height: 24px; border-radius: 50%; overflow: hidden; display: inline-grid; place-items: center; background: var(--brand); color: #fff; font: 600 11px var(--sans); box-shadow: 0 0 0 2px var(--bg-2); }
.vfaces > * + * { margin-left: -7px; }
.vface img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vface.anon { background: var(--hair-2); }
.voters.wide .vface { width: 28px; height: 28px; }
.vwords a.xl { color: var(--ink-2); }

/* hero cards: the latest tweets. A new one drops in at the top, the oldest falls away */
.scard.enter { opacity: 0; transform: translateY(-46px) scale(0.97) !important; }
.scard.leave { opacity: 0 !important; transform: translateZ(-120px) translate(90px, 40px) scale(0.86) !important; transition: transform 0.7s var(--ease), opacity 0.5s var(--ease); pointer-events: none; }
.sc-logo { width: 44px; height: 44px; border-radius: 12px; flex: none; }
.sc-photo { display: block; width: 100%; max-height: 150px; object-fit: cover; border-radius: 14px; margin: -4px 0 16px; box-shadow: 0 0 0 1px var(--hair); }
.sc-foot .sc small { color: var(--ink-3); font-size: 12px; }

/* the wallet menu and our own confirm box */
.sheet.small { width: min(420px, 100%); }
.x-close { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 0; background: var(--bg); color: var(--ink-2); font-size: 20px; line-height: 1; cursor: pointer; }
.x-close:hover { color: var(--ink); }
.wm-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--hair); }
.wm-row small { display: block; color: var(--ink-3); font-size: 12px; margin-bottom: 3px; }
.wm-row code { font: 500 13px var(--mono); color: var(--ink); word-break: break-all; }
.wm-row b { font-weight: 600; }
.wm-x { padding-top: 14px; border-top: 1px solid var(--hair); }
.wm-x .lbl { margin-top: 0; }
.wm-x .sub { margin-bottom: 12px; }
.wm-x .sub a { color: var(--purple-2); }
.wm-xrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.wm-xrow .affix span { display: inline-flex; color: var(--ink-2); }
.wm-x .muted { display: block; margin-top: 8px; font-size: 12.5px; }
.btn.danger-fill { background: var(--red); box-shadow: none; }
.wb-x { width: 20px; height: 20px; border-radius: 50%; margin-right: 8px; object-fit: cover; }
#btn-wallet { display: inline-flex; align-items: center; }
