/* =====================================================================
   Daily Push — visual layer
   Colour roles (one job each, so the eye knows where to go):
     red    = the main action only (Start, Do today's push, Create, Pay)
     gold   = winning: 1st place, trophies, streaks, competitions
     green  = done (checks, finished days)
     blue   = you (your row on a board)
     sponsor's own colour = the sponsor's area
     neutrals (chalk, paper, ink) = everything else, about 90% of the screen
   ===================================================================== */
:root[data-theme] {
  --act: #e5322b; --act-deep: #8e1712;
  --you: #2f6fe8; --you-ink: #ffffff;
  --gold: #f2c230; --gold-ink: #f2c230; --gold-soft: rgba(242, 194, 48, .14);
  --done: #43c06f; --done-ink: #43c06f; --done-soft: rgba(67, 192, 111, .14);
  --soft: #1d1d20; --soft-line: #2e2e33;
}
@media (prefers-color-scheme: light) {
  :root[data-theme]:not([data-mode="dark"]) {
    --gold-ink: #8a6500; --gold-soft: #fbf1cf; --done: #2fa55a; --done-ink: #1d7a40; --done-soft: #e2f3e8; --soft: #f3f2ee; --soft-line: #e2e0da;
  }
}
:root[data-theme][data-mode="light"] {
  --gold-ink: #8a6500; --gold-soft: #fbf1cf; --done: #2fa55a; --done-ink: #1d7a40; --done-soft: #e2f3e8; --soft: #f3f2ee; --soft-line: #e2e0da;
}

/* ---------- colour roles applied ---------- */
[data-theme] .rows li.me, [data-theme] .k-table .tr.me { background: var(--you); color: var(--you-ink); }
[data-theme] .tab.active { border-bottom-color: var(--ink); }
[data-theme] .dare em, [data-theme] .placing .big span { color: inherit; }
[data-theme] .placing .big span { color: var(--ink-2); }
[data-theme] .ch-item { border-left-color: var(--gold); }
[data-theme] .wk7 .dd.on i { background: var(--done); border-color: var(--done); color: #fff; }
[data-theme] .wk7 .dd.due i { border: 2px dashed var(--gold); }
[data-theme] .sk-n b { color: var(--ink); }
[data-theme] .sk-bar i { background: var(--done); }
[data-theme] .streak-home.warm { border-color: var(--rule); }
[data-theme] .streak-home.warm::before { background: var(--gold); }
[data-theme] .streak-home.warm .sh-t b { color: var(--ink); }
[data-theme] .k-champ { background: var(--gold); color: #0b0b0c; }

/* ---------- icons ---------- */
i.icw { display: inline-flex; vertical-align: -3px; font-style: normal; }
.ic { flex: none; }
.sk-fl { color: var(--gold); }

/* ---------- small visual pieces ---------- */
.vchip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--soft); color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.1; white-space: nowrap; }
.vchip .ic { color: var(--ink-2); }
.vchip.win { background: var(--gold-soft); color: var(--ink); }
.vchip.win .ic { color: var(--gold-ink); }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.flow > .ic { color: var(--ink-2); }
.vsteps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.vsteps li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--soft); font-size: 15px; font-weight: 600; }
.vsteps li b { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--chalk); font: 900 15px/1 var(--num); }
.vmeter { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.vm-bar { height: 8px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.vm-bar i { display: block; height: 100%; border-radius: 999px; background: var(--ink); min-width: 6px; }
.vmeter span { font-size: 13px; font-weight: 700; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.vmeter span b { color: var(--ink); }
.steps-inline { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.steps-inline > span { padding: 3px 9px; border-radius: 999px; background: var(--soft); font-weight: 700; font-size: 13px; }

/* ---------- home ---------- */
.vs-banner { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--rule); color: var(--ink); font-size: 15px; text-align: left; }
.vs-banner > i.icw { color: var(--gold-ink); }
.vs-banner .vb-n { font: 900 34px/1 var(--num); color: var(--ink); }
.vs-banner .vb-t { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.vs-banner .vb-t small { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.vs-banner .vb-t b { color: var(--ink); font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.facts3 { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.facts3 > span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: var(--paper); border: 1px solid var(--rule); color: var(--ink); font-size: 14px; font-weight: 700; }
.facts3 > span i.icw { color: var(--ink-2); }
.facts3 b { font-variant-numeric: tabular-nums; }
.gh-moves { display: inline-flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.gh-moves .ic { color: var(--gold); }
.qr-t { display: flex; flex-direction: column; gap: 8px; }
.qr-t b { display: inline-flex; align-items: center; gap: 6px; font-size: 17px; }
.pro-row .pt.icons3 { flex-direction: row; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.pro-row .pt.icons3 > span { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.pro-row .pt.icons3 i.icw { color: var(--ink-2); }
.own-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 2px 0 2px; }
.own-grid > span { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; background: var(--soft); font-weight: 800; font-size: 15px; color: var(--ink); }
.own-grid i.icw { color: var(--gold-ink); }
.own-free { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; color: var(--done-ink); }

/* ---------- camera setup ---------- */
.setup-steps { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.setup-steps > span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px 8px 8px; border-radius: 999px; background: rgba(127,127,127,.12); font-weight: 700; font-size: 14px; }
.setup-steps b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: currentColor; font: 900 13px/1 var(--num); }
.setup-steps b { color: inherit; }
.setup-steps b::before { content: none; }
.setup-card .setup-steps b { background: #121214; color: #fff; }
.setup-privacy { display: flex; align-items: center; justify-content: center; gap: 6px; }
.setup-privacy i.icw { opacity: .8; }

/* ---------- result ---------- */
#statline { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
#statline .tile { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; border-radius: 12px; background: var(--paper); border: 1px solid var(--rule); color: var(--ink); }
#statline .tile .ic { color: var(--ink-2); }
#statline .tile b { font: 900 24px/1 var(--num); font-variant-numeric: tabular-nums; }
#statline .tile small { font-size: 12px; font-weight: 700; color: var(--ink-2); }
#statline .tile-link { grid-column: 1 / -1; display: flex; justify-content: center; }
.hist-link { display: inline-flex; align-items: center; gap: 6px; }
.sk-goal { display: inline-flex; align-items: center; gap: 5px; align-self: flex-end; font-size: 14px; color: var(--ink-2); }
.sk-goal .ic { color: var(--gold-ink); }
.sk-goal b { font: 900 18px/1 var(--num); color: var(--ink); }
.sk-goal b::after { content: 'd'; font-size: 12px; }
.sk-next { flex-direction: row; align-items: center; gap: 10px; }
.sk-next .sk-bar { flex: 1; }
.sk-n .sk-fl { align-self: center; }
.sk-best { display: inline-flex; align-items: center; gap: 5px; }
.sh-t { flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; }
.sh-t > b { display: inline-flex; align-items: center; gap: 6px; }
.sh-go { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.sh-go b { color: var(--ink); }

/* ---------- sheets ---------- */
.formula { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 2px 0 12px; }
.formula > span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; background: var(--soft); font-weight: 700; font-size: 14px; color: var(--ink); }
.formula > span i.icw { color: var(--ink-2); }
.formula > span.win { background: var(--gold-soft); }
.formula > span.win i.icw { color: var(--gold-ink); }
.formula > i.icw { color: var(--ink-2); }
.seg.seg-ic button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.seg-help .flow { margin-top: 2px; }
.free-line { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--done-ink) !important; }
.free-line a { color: var(--ink); }
.pl-sub { display: flex; gap: 6px; flex-wrap: wrap; }
.pro-list li { display: flex; align-items: center; gap: 12px; font-size: 17px; }
.pro-list li::before { display: none !important; content: none !important; }
.pro-list li i.icw { width: 36px; height: 36px; border-radius: 10px; background: var(--soft); display: grid; place-items: center; }
.pro-soon { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pro-soon .soon { padding: 4px 9px; border-radius: 999px; background: var(--ink); color: var(--chalk); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.pro-soon > span:not(.soon) { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; }

/* ---------- competition page ---------- */
#k-sub { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
#k-sub .vmeter { margin: 2px 0 4px; }
#k-note { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.k-how { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.k-champ { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rw-rule { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cap-m { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cap-up { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--ink-2); }
.k-cap .vm-bar i { background: var(--gold); }
.rows li.empty { display: flex; align-items: center; justify-content: center; gap: 8px; }
.rows li.empty .ic { color: var(--gold-ink); }

/* ---------- errors ---------- */
.err-body { margin: 6px 0 18px; }
.err-code { margin-top: 8px; font-size: 12px; color: var(--ink-2); }
#inapp b { display: inline-flex; align-items: center; gap: 6px; }
.gh-moves { flex-direction: column; align-items: flex-start; gap: 3px; }
.gh-moves > span { display: inline-flex; align-items: center; gap: 5px; }
[data-theme] .setup-h em { color: inherit; }
#k-sub .vmeter { margin-top: 8px; }
.sk-badges span.got { display: inline-flex; align-items: center; gap: 4px; background: var(--gold-soft); color: var(--ink); border-color: transparent; }
.sk-badges span.got .ic { color: var(--gold-ink); }
#statline { justify-content: stretch; width: 100%; }

/* ---------- balance: fewer boxes, same information ---------- */
/* chips become plain icon + text (no pill background) */
.vchip { background: none; padding: 2px 0; gap: 5px; font-weight: 600; color: var(--ink); }
.vchip.win { background: none; font-weight: 800; }
.flow { gap: 4px 10px; }
.flow > .ic { opacity: .6; }
.formula > span, .formula > span.win { background: none; padding: 2px 0; }
.formula { gap: 4px 10px; }
/* home: the three facts as quiet text, the competition card as one icon line */
.facts3 > span { background: none; border: 0; padding: 2px 4px; font-weight: 600; color: var(--bg-ink-2); }
.facts3 > span b { color: var(--bg-ink); }
.own-grid { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.own-grid > span { background: none; padding: 0; gap: 6px; font-weight: 700; }
/* setup + steps keep their numbers, lose the heavy pills */
.setup-steps > span { background: none; padding: 2px 4px; }
/* comp page: one calm line of how it scores */
#k-note .flow + .flow { display: none; }

/* ---------- normal: text first, icons only where they help ---------- */
.vchip .ic { display: none; }
.vchip { padding: 0; font-weight: 600; }
#k-sub .vchip + .vchip::before, .flow .vchip + .vchip::before { content: '·'; margin-right: 8px; color: var(--ink-2); }
.flow > .ic + .vchip::before { content: none !important; }
.setup-steps i.icw { display: none; }
#statline { display: flex; grid-template-columns: none; justify-content: center; }
#statline li { display: list-item; }
.sk-goal b::after { content: none; }
.sk-goal { font-size: 13px; }
.vs-banner { display: block; text-align: center; font-size: 16px; }
.vs-banner b { color: var(--ink); }
.cap-up .ic, .vmeter span .ic, .rw-rule .ic, .k-champ .ic + .ic { display: none; }

/* =====================================================================
   Colour, balanced: neutrals + two accents with a job each
     red  = play / you / your streak      gold = winning & competitions
   (no extra blue or green; the plate stripe stays as the gym signature)
   ===================================================================== */
[data-theme] .rows li.me, [data-theme] .k-table .tr.me { background: var(--red); color: #fff; }
[data-theme] .wk7 .dd.on i { background: var(--red); border-color: var(--red); color: #fff; }
[data-theme] .wk7 .dd.due i { border: 2px dashed var(--red); }
[data-theme] .sk-bar i { background: var(--red); }
[data-theme] .streak-home.warm::before { background: var(--red); }
.sk-fl { color: var(--red); }
[data-theme] .rows .tick { color: var(--ink-2); }
.own-free, .free-line { color: var(--ink-2) !important; }

/* =====================================================================
   Sponsor band, quieter: neutral card, their logo, a thin line of their colour
   ===================================================================== */
.spon .band.lock.hero { background: var(--paper); color: var(--ink); border-left: 4px solid var(--brand, #2f6fe8); padding: 10px 14px 11px; gap: 6px; }
.spon .band.lock.hero .pb { color: var(--ink-2); opacity: 1; font-size: 10px; }
.spon .band.lock.hero .live { background: var(--brand, #2f6fe8); width: 6px; height: 6px; animation: none; }
.spon .band.lock.hero .chip-b { height: 34px; font-size: 19px; padding: 0 11px; border-radius: 8px; }
.spon .band.lock.hero .chip-b:not(.logo) { background: var(--brand, #2f6fe8) !important; color: var(--brand-ink, #fff) !important; }
.spon .band.lock.hero .chip-b.logo { padding: 4px 9px; box-shadow: none; border: 1px solid var(--rule); }
.spon .band.lock.hero .chip-b.logo img { height: 26px; max-width: 150px; }
.spon .band.lock.hero .cta { background: none; color: var(--ink-2); padding: 0; font-size: 13px; font-weight: 700; }
.spon .band.lock.hero .cta b { font-size: 16px; }
.spon .band.lock.hero .pl2 { color: var(--ink-2); font-size: 13px; font-weight: 600; }
@media (min-width: 960px) {
  .spon .band.lock.hero { padding: 12px 16px 13px; }
  .spon .band.lock.hero .chip-b { height: 40px; font-size: 22px; }
  .spon .band.lock.hero .chip-b.logo img { height: 30px; max-width: 170px; }
  .spon .band.lock.hero .pl2 { font-size: 14px; }
}
.spon { background: var(--paper); border-color: var(--rule); color: var(--ink); }
.spon .reward { background: var(--paper); color: var(--ink); border-top: 1px solid var(--rule); }
.count-spon .chip-b { height: 40px; font-size: 22px; }
.count-spon .chip-b.logo img { height: 28px; }
.spon .rk { background: var(--soft, #1d1d20); color: var(--ink); }
.spon .rj { background: var(--red); color: #fff; }
.spon .rj.n { background: none; color: var(--ink); }
/* sponsor band: no dot, bigger logo */
.spon .live { display: none !important; }
.spon .band.lock.hero .chip-b { height: 46px; font-size: 24px; padding: 0 13px; border-radius: 10px; }
.spon .band.lock.hero .chip-b.logo { padding: 5px 11px; }
.spon .band.lock.hero .chip-b.logo img { height: 36px; max-width: 200px; }
@media (min-width: 960px) {
  .spon .band.lock.hero .chip-b { height: 54px; font-size: 28px; }
  .spon .band.lock.hero .chip-b.logo img { height: 42px; max-width: 240px; }
}

/* ---------- Pro promo in empty ad spots (until real ads are on) ---------- */
.ad.house-box, .ad.house-rail { border: 0 !important; background: none !important; padding: 0; }
.hb-in { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 18px; border-radius: 14px; border: 1px solid #2b2b2f; background: #0f0f11; color: #f1efe9; text-align: center; cursor: pointer; font: inherit; }
.hb-in .pk { background: var(--yellow, #f2c230); color: #0b0b0c; }
.hb-h { font: 900 40px/.9 var(--num); text-transform: uppercase; }
.hb-l { font-size: 15px; line-height: 1.5; color: #c9c7c0; font-weight: 600; }
.hb-p { font: 900 30px/1 var(--num); color: var(--yellow, #f2c230); }
.hb-p small { font: 600 13px var(--text); color: #9d9b93; }
.hb-b { margin-top: 4px; padding: 10px 16px; border-radius: 10px; background: var(--red, #e5322b); color: #fff; font-weight: 800; font-size: 15px; box-shadow: 0 4px 0 #8e1712; }
.house-rail .hb-in { gap: 14px; padding: 22px 12px; }
.house-rail .hb-h { font-size: 34px; }
.house-rail .hb-l { font-size: 14px; }
.house-rail .hb-b { font-size: 13px; padding: 9px 10px; }
body.house-ads .pro-link { display: none; }

/* open team leagues: start a team */
.team-new { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; }
.team-new input { flex: 1 1 180px; min-width: 0; font: 600 16px var(--text); padding: 12px 14px; border-radius: 12px; border: 2px solid var(--rule); background: var(--paper); color: var(--ink); }
.team-new .btn { width: auto; flex: 0 0 auto; padding: 12px 18px; }
.team-pick[disabled] { opacity: .5; cursor: default; }

#inapp span:first-of-type { display: block; }

/* ================================================================ DESKTOP: use the whole screen, QR up front */
@media (min-width: 960px) {
  #home .top, #result .top, #comp .top { max-width: 1600px; padding-left: 40px; padding-right: 40px; }
  #home .home, #result .result { max-width: 1600px; padding: 4px 40px 64px; column-gap: 48px; row-gap: 24px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  #comp main.comp { max-width: 1600px; padding-left: 40px; padding-right: 40px; column-gap: 48px; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); }
  .ghost { height: 220px; }
  .dare { font-size: clamp(46px, 4.4vw, 60px); }
  #btn-start { min-height: 76px; font-size: 34px; }
  #home .hero > .streak-home { max-width: none; margin-left: 0; margin-right: 0; }
  /* smaller laptops: the QR card sits under the start button, code left, words right */
  .phone-qr:not([hidden]) { display: flex; align-items: center; gap: 20px; margin-top: 16px; padding: 14px 18px 14px 14px; text-align: left;
    border: 2px solid var(--ink); border-radius: 18px; background: var(--paper); color: var(--ink); }
  .phone-qr .qr { flex: none; width: 168px; height: 168px; padding: 10px; box-sizing: border-box; background: #fff; border-radius: 10px; }
  .phone-qr .pq-t { display: flex; flex-direction: column; gap: 4px; }
  .phone-qr .pq-t b { font: 900 34px/1 var(--num); text-transform: uppercase; }
  .phone-qr .pq-t small { font-size: 15px; font-weight: 600; color: var(--ink-2); }
  .phone-qr span { all: unset; }
}
/* bigger screens: headline + start on the left, the QR code right beside them, all in the first view */
@media (min-width: 1200px) {
  #home .hero:has(.phone-qr:not([hidden])) { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: center; }
  #home .hero > * { grid-column: 1 / -1; }
  #home .hero > .vs-banner { grid-row: 1; }
  #home .hero:has(.phone-qr:not([hidden])) > .move-tag { grid-column: 1; grid-row: 2; align-self: end; }
  #home .hero:has(.phone-qr:not([hidden])) > .dare { grid-column: 1; grid-row: 3; align-self: end; white-space: normal; text-wrap: balance; }
  #home .hero:has(.phone-qr:not([hidden])) > #btn-start { grid-column: 1; grid-row: 4; }
  #home .hero:has(.phone-qr:not([hidden])) > .hero-line { grid-column: 1; grid-row: 5; align-self: start; }
  #home .hero > .phone-qr:not([hidden]) { grid-column: 2; grid-row: 2 / span 4; margin-top: 0; flex-direction: column; gap: 10px; padding: 14px 14px 12px; text-align: center; }
  #home .hero > .streak-home { grid-row: 7; }
  .phone-qr .qr { width: 184px; height: 184px; }
  .phone-qr .pq-t { gap: 2px; }
  .phone-qr .pq-t b { font-size: 27px; }
  .phone-qr .pq-t small { font-size: 13px; }
}
@media (min-width: 1440px) {
  .phone-qr .qr { width: 200px; height: 200px; }
  .phone-qr .pq-t b { font-size: 30px; }
}
/* side ad rails only when there's room beside the wide layout */
@media (min-width: 1440px) and (max-width: 2079px) { .ad.ad-rail { display: none !important; } }
@media (min-width: 2080px) { .ad-rail.left { left: calc(50% - 800px - 196px); } .ad-rail.right { right: calc(50% - 800px - 196px); } }

/* knee push-ups */
.knee-note { align-self: center; margin-top: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(13,15,20,.72); color: #fff; font: 700 15px/1.2 var(--text); }
.knee-note b { font: 900 18px/1 var(--num); }
.bib-knees { margin: 6px auto 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.bib-knees b { font: 900 18px/1 var(--num); }
.bib-knees span { color: var(--ink-2); }
.knee-rule { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 12px 16px 14px; border-top: 1px solid var(--rule); font-weight: 700; font-size: 14px; color: var(--ink); }
.knee-rule .seg { display: inline-flex; border: 1px solid var(--rule); border-radius: 999px; overflow: hidden; }
.knee-rule .seg button { border: 0; background: none; padding: 8px 12px; white-space: nowrap; font: 700 13px/1 var(--text); color: var(--ink-2); cursor: pointer; }
.knee-rule .seg button.on { background: var(--ink); color: var(--paper); }

/* leagues: quiet outline button under the board */
#home .league-low { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin: 14px 0 0; }
#result .dare-card { order: 2; }
[data-pro][hidden] { display: none !important; }

/* move of the day */
.move-tag { display: flex; justify-content: center; align-items: center; gap: 6px 12px; flex-wrap: wrap; margin: 0 0 10px; font-size: 15px; font-weight: 700; }
.move-tag:empty { display: none; }
.move-tag .mv-today { background: var(--ink); color: var(--paper); padding: 7px 15px; border-radius: 999px; }
.move-tag .mv-today b { font-weight: 900; }
.move-tag .mv-next { color: var(--bg-ink-2, var(--ink-2)); font-size: 14px; }
#setup-card .pp-sq { display: none; }
#setup-card.mv-squat .pp-sq { display: inline; }
#setup-card .pp-ws { display: none; }
#setup-card.mv-wall .pp-sq { display: none; }
#setup-card.mv-wall .pp-ws { display: inline; }
#setup-card.mv-squat .pp { display: none; }

/* Pro: training programs */
.pro-mark { margin-left: auto; }
.pro-main { gap: 14px; }
.pro-hero h1 { margin: 6px 0 6px; font: 900 44px/1 var(--num); text-transform: uppercase; color: var(--bg-ink, var(--ink)); }
.pro-hero p { margin: 0 0 12px; color: var(--bg-ink-2, var(--ink-2)); font-size: 15px; line-height: 1.45; }
.pro-buy { display: flex; flex-direction: column; gap: 8px; }
.pro-buy small { color: var(--bg-ink-2, var(--ink-2)); font-size: 13px; text-align: center; }
.pro-on { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--done-ink, #1d7a40); color: #fff; font-weight: 800; }
.prog-list { display: flex; flex-direction: column; gap: 12px; }
.prog { background: var(--paper); color: var(--ink); border: 1px solid var(--rule); border-radius: var(--r, 14px); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.prog .pg-top { display: flex; gap: 12px; align-items: flex-start; }
.prog .pg-ic { font-size: 28px; line-height: 1; }
.prog .pg-top b { display: block; font: 900 22px/1.05 var(--num); text-transform: uppercase; }
.prog .pg-top small { display: block; margin-top: 3px; font-size: 13.5px; color: var(--ink-2); line-height: 1.35; }
.prog .pg-bar { height: 8px; border-radius: 999px; background: var(--soft, rgba(127,127,127,.15)); overflow: hidden; }
.prog .pg-bar i { display: block; height: 100%; background: var(--red, #e5322b); border-radius: 999px; }
.prog .pg-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--ink-2); }
.prog .pg-row b { color: var(--ink); }
.prog .btn.sm { width: auto; flex: none; padding: 10px 16px; font-size: 15px; }
@media (min-width: 960px) {
  #pro .pro-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; column-gap: 24px; }
  #pro .pro-hero, #pro .pro-stats, #pro .pro-acct, #pro .foot { grid-column: 1; }
  #pro .pro-h { grid-column: 2; grid-row: 1; align-self: end; }
  #pro .prog-list { grid-column: 2; grid-row: 2 / span 4; }
}

/* competition move picker: 4 choices */
.seg.seg-4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 520px) { .seg.seg-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.seg.seg-4 button { white-space: nowrap; }

/* ---- leaderboard: podium, avatars, badges */
.rows .n { display: flex; align-items: center; gap: 0; min-width: 0; }
.rows .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.rows .av { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--av); color: #fff; font: 800 12px/28px Barlow, sans-serif; text-align: center; margin-right: 8px; letter-spacing: .02em; }
.rows .av[style*="f2c230"] { color: #0b0b0c; }
.rows li { align-items: center; }
.rows .pro-b { flex: none; margin-left: 6px; background: var(--ink); color: var(--paper); font: 800 10px/1 Barlow, sans-serif; letter-spacing: .06em; padding: 3px 5px; border-radius: 4px; }
.rows li.me .pro-b { background: #fff; color: #0b0b0c; }
.rows .fire { flex: none; margin-left: 6px; font: 700 13px/1 Barlow, sans-serif; }
.rows li.colhead { padding: 8px 16px 4px; font: 700 11px/1 Barlow, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.rows li.colhead span:last-child { text-align: right; }
.rows li.chase { display: block; margin: 4px 12px 8px; padding: 10px 12px; border-radius: 10px; background: #fff7d6; color: #3d3200; font-size: 14px; border: 0; }
.rows li.chase + li { border-top: 0; }
.rows li.podium { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; gap: 8px; padding: 18px 12px 4px; border: 0; }
.rows li.podium + li { border-top: 0; }
.pod { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; position: relative; }
.pod .av { width: 48px; height: 48px; font-size: 18px; line-height: 48px; margin: 0 0 6px; }
.pod.p1 .av { width: 60px; height: 60px; font-size: 22px; line-height: 60px; box-shadow: 0 0 0 3px #f2c230; }
.pod .crown { font-size: 26px; line-height: 1; margin-bottom: 4px; }
.pod .pn { font-weight: 800; font-size: 15px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod .pb { display: flex; justify-content: center; min-height: 18px; margin-top: 2px; }
.pod .pb .pro-b:first-child, .pod .pb .fire:first-child { margin-left: 0; }
.pod .pv { font: 900 30px/1 var(--num); margin: 4px 0 6px; font-variant-numeric: tabular-nums; }
.pod .pv small { display: block; font: 600 11px/1.2 Barlow, sans-serif; color: var(--ink-2); margin-top: 2px; }
.pod .base { width: 100%; border-radius: 8px 8px 0 0; background: var(--rule); color: var(--ink); font: 900 26px/1 var(--num); padding-top: 10px; }
.pod.p1 .base { height: 78px; background: #f2c230; color: #0b0b0c; }
.pod.p2 .base { height: 56px; }
.pod.p3 .base { height: 42px; }
.pod.me .pn { color: var(--lane); }
.pod.me .base { background: var(--lane); color: #fff; }
.pod.empty { visibility: hidden; }
.rows li.me .av { background: #fff; color: var(--lane); }

/* ---- Pro page */
.pro-on { display: flex; flex-direction: column; align-items: flex-start; border-radius: 12px; }
.pro-on small { color: #fff; opacity: .85; font-weight: 600; text-align: left; }
.pro-why { list-style: none; margin: 0 0 4px; padding: 0; display: grid; gap: 8px; }
.pro-why li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.35; color: var(--bg-ink, var(--ink)); }
.pro-why li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--red, #e5322b); color: #fff; font: 800 12px/18px Barlow, sans-serif; text-align: center; }
.pro-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pro-plans button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 8px; border-radius: 12px; border: 2px solid var(--rule); background: var(--paper); color: var(--ink); cursor: pointer; }
.pro-plans button b { font: 900 26px/1 var(--num); }
.pro-plans button small { font-size: 12.5px; color: var(--ink-2); text-align: center; }
.pro-plans button.on { border-color: var(--red, #e5322b); box-shadow: inset 0 0 0 1px var(--red, #e5322b); }
.pro-h { margin: 8px 0 0; font: 900 28px/1 var(--num); text-transform: uppercase; color: var(--bg-ink, var(--ink)); }
.pro-stats, .pro-acct { background: var(--paper); color: var(--ink); border: 1px solid var(--rule); border-radius: var(--r, 14px); padding: 14px; }
.pro-stats:empty, .pro-acct:empty { display: none; }
.pro-stats h3, .pro-acct h3 { margin: 0 0 8px; font: 900 22px/1 var(--num); text-transform: uppercase; }
.pro-stats h4 { margin: 14px 0 6px; font: 700 12px/1 Barlow, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.pro-stats h4 small { text-transform: none; letter-spacing: 0; font-weight: 600; }
.pro-stats .muted, .pro-acct p { color: var(--ink-2); font-size: 14px; margin: 6px 0 0; line-height: 1.4; }
.pro-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pro-nums div { display: flex; flex-direction: column; align-items: center; padding: 8px 4px; border-radius: 10px; background: var(--soft, rgba(127,127,127,.1)); }
.pro-nums b { font: 900 30px/1 var(--num); }
.pro-nums small { font-size: 12px; color: var(--ink-2); text-align: center; }
.pb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pb-tile { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 6px; align-items: center; padding: 8px; border-radius: 10px; border: 1px solid var(--rule); }
.pb-tile span { grid-row: span 2; font-size: 20px; }
.pb-tile b { font: 900 22px/1 var(--num); }
.pb-tile small { font-size: 11px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-tile.none { opacity: .55; }
.chart { display: flex; align-items: flex-end; gap: 3px; height: 110px; padding-top: 4px; border-bottom: 1px solid var(--rule); }
.chart .bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; min-width: 0; }
.chart .bar i { display: block; width: 100%; max-width: 28px; background: var(--red, #e5322b); border-radius: 4px 4px 0 0; }
.chart .bar span { font-size: 10px; line-height: 14px; }
.hist { list-style: none; margin: 0; padding: 0; max-height: 280px; overflow: auto; }
.hist li { display: grid; grid-template-columns: 56px 1fr auto 48px; gap: 8px; align-items: baseline; padding: 7px 0; border-top: 1px solid var(--rule); font-size: 14px; }
.hist li:first-child { border-top: 0; }
.hist b { font: 900 18px/1 var(--num); text-align: right; }
.hist small { color: var(--ink-2); text-align: right; }
.pro-code { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.pro-code code { font: 900 30px/1 var(--num); letter-spacing: .08em; padding: 8px 12px; border-radius: 10px; background: var(--soft, rgba(127,127,127,.1)); }
.pro-manage { margin-top: 12px; }
.pro-acct .btn.sm { width: auto; display: inline-block; padding: 10px 16px; font-size: 15px; }
.pro-restore { display: flex; gap: 8px; margin-top: 10px; }
.pro-restore input { flex: 1; min-width: 0; font: 800 20px/1 var(--num); letter-spacing: .08em; text-transform: uppercase; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); }
#pro .foot { font-size: 12.5px; line-height: 1.45; color: var(--bg-ink-2, var(--ink-2)); }
#pro .foot a { color: inherit; }
.pro-plans button.on small { color: inherit; opacity: .8; }
.pl-note { margin: 4px 0 8px; font-size: 13px; color: var(--ink-2); line-height: 1.4; }
#result.is-practice .bib-actions, #result.is-practice .dare-card { display: none; }
