/* Groups page, version 2: fixes from the 2026-11-14 critique and audit. Loads after
   fixes.css on groups-v2.html only. */

/* Hero card: the label wraps evenly instead of leaving one word alone. */
.ui-card .uc-k { text-wrap: balance; }

/* ---- Race, phone version: the payoff leads ---- */
.race-m { gap: 0.8rem; }
.race-pay { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.2rem 0.6rem; font-size: 1.05rem; color: var(--ink-2); }
.race-pay b { font-family: var(--font-display); font-weight: 900; font-size: 2.6rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.race-pay span:first-child b { color: var(--st-done-text); }
.race-pay .vs { font-size: 0.95rem; color: var(--ink-3); }
.race-pay-sum { margin: 0 0 0.4rem; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--ink); }
.race-m .race-job { font-size: 1.05rem; text-wrap: balance; color: var(--ink-2); }
.race-m .race-viz { margin: 0.2rem 0 0.6rem; }
.race-m .race-note { font-size: 0.85rem; }
.race-job { text-wrap: balance; }
.mini-n { fill: var(--ink); font-family: var(--font-display); font-weight: 900; font-size: 26px; font-variant-numeric: tabular-nums; }
.mini-track { fill: rgb(242 234 217 / 0.06); }
.mini-bar { fill: var(--st-done); }
.mini-bar.n { fill: rgb(242 234 217 / 0.32); }
.mini-done { fill: var(--st-done-text); font-size: 13px; font-weight: 600; }

/* Scene labels never below 12px on a phone. */
@media (max-width: 560px) {
  .scene-svg .sc-label-s, .scene-svg .sc-kind { font-size: 12px; }
}

/* ---- Share: gold means drafted, so it isn't used here. Not yet: faint cream. First
   version: mushroom. The better version, as it spreads: green. ---- */
#s-share .hb-t { fill: #7f8a77; } #s-share .hb-l { fill: #66705f; } #s-share .hb-r { fill: #545d4e; }
#s-share .sc-node.on .hb-t { fill: #eadcbb; } #s-share .sc-node.on .hb-l { fill: #d8c39a; } #s-share .sc-node.on .hb-r { fill: #b4a07a; }
#s-share .sc-node.v2 .hb-t { fill: #a8ebc4; } #s-share .sc-node.v2 .hb-l { fill: #7fd6a4; } #s-share .sc-node.v2 .hb-r { fill: #5fb987; }
#s-share .fm-pulse { stroke: #d8c39a; }
#s-share .fm-pulse.y { stroke: #7fd6a4; }
#s-share .fm-badge rect:first-child { stroke: #d8c39a; }
#s-share .fm-badge .fm-bar { fill: #d8c39a; }
#s-share .fm-badge.y rect:first-child { stroke: #7fd6a4; }
#s-share .fm-badge.y .fm-bar { fill: #7fd6a4; }
#s-share .fm-story b.g { color: #d8c39a; }
#s-share .fm-story b.y { color: #9be3b8; }

/* ---- The question form: errors beside each field ---- */
form.join .q-err { font-size: 0.8rem; color: #ffb3a6; }
form.join .q-err:empty { display: none; }
form.join [aria-invalid="true"] { border-color: rgb(255 179 166 / 0.85); }
form.join .lq-field .opt { color: var(--ink-3); }
form.join textarea::placeholder, form.join input::placeholder { color: rgb(242 234 217 / 0.72); }
