/* Musvisto · Numbers screens: standings, stats, records, pot, expenses and wall. Prefix nu-. */
.nu .nu-season { max-width: 360px; }
.nu .nu-meta { margin: 0 4px 8px; color: var(--ink-soft); font-size: 14px; }
.nu .nu-under-h { margin: -4px 4px 8px; }
.nu .nu-actions { margin-top: var(--gap); }
.nu .nu-flat { margin: 0; }
.nu .nu-bullets { margin: 0; padding-left: 20px; }
.nu .nu-bullets li + li { margin-top: 4px; }
.nu .grid2 + .legend { margin-top: 8px; }
.nu .notice { margin: 0 0 16px; }
.nu .nu-links { margin-top: 24px; }
.nu .legend { text-align: justify; hyphens: auto; }

/* Tables: names on the left, numbers centred under short headers. */
.nu-c-pos { width: 40px; }
.nu-c-n { width: clamp(30px, 9vw, 44px); }
.nu-c-pct { width: clamp(52px, 15vw, 64px); }
.nu-c-now { width: clamp(42px, 12vw, 52px); }
.nu-c-eur { width: clamp(64px, 19vw, 84px); }
.nu .table td.name { padding-right: 4px; }
.nu .table .nu-key { font-weight: 700; }
.nu .table th.name, .nu .table td.name { padding-left: 10px; }
.nu-pos { font-weight: 700; position: relative; }
.nu-tie { margin-left: 1px; color: var(--ink-soft); font-weight: 600; }
.nu-who {
  display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 44px; width: 100%;
  padding: 0; border: 0; background: none; color: var(--ink); font: inherit; text-align: left; text-decoration: none; cursor: pointer;
}
.nu-who > span { min-width: 0; display: flex; flex-direction: column; }
.nu-who b { min-width: 0; font-weight: 600; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; line-height: 1.25; }
.nu .avatar.nu-av { width: 28px; height: 28px; }
.nu-prize { display: block; font-size: 12px; line-height: 1.25; color: var(--accent); font-weight: 600; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nu-standings tr.nu-podium td { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.nu-streak[data-type="G"] { color: var(--ok); font-weight: 600; }
.nu-streak[data-type="P"] { color: var(--warn); font-weight: 600; }
.nu-bal[data-sign="1"] { color: var(--warn); font-weight: 700; }
.nu-bal[data-sign="-1"] { color: var(--ok); font-weight: 700; }

/* Prizes */
.nu-prize-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(0, 34%); align-items: center; gap: 8px; height: 72px; padding: 8px 16px; }
.nu-place { font-weight: 700; font-family: "Bricolage Grotesque", system-ui, sans-serif; font-size: 20px; color: var(--accent); }
.nu-prize-text { font-weight: 600; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nu-prize-who { text-align: right; color: var(--ink-soft); font-size: 15px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* Pairs: two identical cards */
.nu-paircard { height: 128px; display: flex; flex-direction: column; gap: 4px; overflow: hidden; }
.nu-paircard + .nu-paircard { margin-top: 0; }
.nu-paircard-label { font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.nu-paircard-names { font-weight: 600; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nu-paircard-line { margin-top: auto; font-size: 14px; color: var(--ink-soft); font-variant-numeric: tabular-nums; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* Head to head: two mirrored columns, the score in the middle */
.nu-mode { margin: 0 0 var(--gap); max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nu-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.nu-pick-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.nu-pick-label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.nu-pick select { width: 100%; min-height: 48px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--canvas); color: var(--ink); font: inherit; font-size: 16px; }
.nu-hint { margin: 16px 0 0; color: var(--ink-soft); text-align: center; }
.nu-duel { display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); align-items: center; gap: 8px; margin: 20px 0 8px; }
.nu-duel-side { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; text-align: center; }
.nu-duel-side b { min-height: 2.5em; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nu-faces { display: flex; justify-content: center; gap: 4px; height: 56px; }
.nu-duel-score { display: flex; flex-direction: column; align-items: center; }
.nu-duel-score b { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-size: clamp(30px, 9vw, 40px); line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); }
.nu-duel-score small { color: var(--ink-soft); font-size: 13px; }
.nu-duel-meta { margin: 4px 0; text-align: center; color: var(--ink-soft); font-size: 15px; }
.nu-h2h .button.wide { margin-top: 12px; }

/* Player detail sheet */
.nu-detail-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.nu-detail-head h2 { margin: 0; }
.nu-detail-head .legend { margin: 4px 0 0; }

/* Records */
.nu-rec { height: 172px; display: flex; flex-direction: column; gap: 4px; color: var(--ink); text-decoration: none; overflow: hidden; }
.nu .grid2 > .card + .card { margin-top: 0; }
.nu-rec-label { font-size: 13px; color: var(--ink-soft); font-weight: 600; line-height: 1.25; height: 2.5em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nu-rec-who { font-weight: 600; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nu-rec-value { margin-top: auto; font-size: 14px; color: var(--accent); font-weight: 600; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nu-chip { display: inline-block; padding: 2px 10px; border-radius: 980px; background: var(--stone); color: #5b4b1f; font-size: 13px; font-weight: 600; white-space: nowrap; }
.nu-medals { min-width: 32px; height: 32px; display: inline-grid; place-items: center; border-radius: 50%; background: #c9a227; color: #2b2208; font-size: 15px; }

/* Pot and expenses */
.nu-end { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.nu-x { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: none; color: var(--ink-soft); font-size: 22px; line-height: 1; cursor: pointer; }
.nu-move { display: grid; grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr); align-items: center; gap: 6px; min-height: 64px; padding: 10px; }
.nu-move-who { display: flex; align-items: center; gap: 6px; min-width: 0; }
.nu-move-who b { min-width: 0; font-size: 16px; overflow-wrap: anywhere; font-weight: 600; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nu-move-who.nu-right { justify-content: flex-end; text-align: right; }
.nu-move-mid { display: flex; flex-direction: column; align-items: center; text-align: center; }
.nu-move-mid b { font-variant-numeric: tabular-nums; }
.nu-move-mid small { color: var(--ink-soft); font-size: 13px; }
.nu-exp-ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--stone); color: #5b4b1f; font-weight: 700; }
.nu-among { border: 0; padding: 0; min-width: 0; }
.nu-among > span { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.nu-quick { margin-bottom: 4px; }
.nu-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
.nu-checks .check span { min-width: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }

/* Wall */
.nu-compose .field { margin-bottom: 12px; }
.nu-compose-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 12px 0 8px; }
.nu-file { color: var(--ink-soft); font-size: 14px; }
.nu-compose .button.wide { margin-top: 12px; }
.nu-compose .notice { margin: 8px 0 0; }
.nu-post { padding: 0; overflow: hidden; }
.nu-post-head { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 12px; padding: 12px 8px 12px 16px; }
.nu-post-who { min-width: 0; display: flex; flex-direction: column; }
.nu-post-who b { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.nu-post-who small { color: var(--ink-soft); font-size: 14px; }
.nu-post-photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--stone); }
.nu-compose .nu-post-photo { border-radius: 14px; margin-top: 4px; }
.nu-post-body { margin: 12px 16px 0; overflow-wrap: anywhere; }
.nu-reacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 12px 12px 12px; }
.nu-react { display: flex; align-items: center; justify-content: center; gap: 4px; min-width: 0; min-height: 44px; padding: 0 4px; border: 1px solid var(--line); border-radius: 980px; background: var(--canvas); color: var(--ink); font: inherit; font-size: 15px; cursor: pointer; }
.nu-react b { min-width: 0.6em; font-size: 14px; font-variant-numeric: tabular-nums; }
.nu-react[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--surface)); }
.nu-ctoggle { grid-column: 1 / -1; font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.nu-comments { padding: 0 16px 16px; border-top: 1px solid var(--line); }
.nu-comment { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; margin-top: 12px; }
.nu-comment p { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.nu-cform { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 12px; }
.nu-cform input { min-width: 0; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 980px; background: var(--canvas); color: var(--ink); font: inherit; font-size: 16px; }
.nu-post + .nu-post { margin-top: var(--gap); }
.nu-auto-ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--accent); font-size: 20px; font-weight: 700; }
.nu-auto .main b { -webkit-line-clamp: 4; font-weight: 500; line-height: 1.3; }
.nu-exp .main b { -webkit-line-clamp: 3; line-height: 1.25; }
.nu-exp .main small { -webkit-line-clamp: 3; }
.nu-standings tbody td { height: 68px; }
