/* Musvisto · league-days styles: «Nueva liga» por jornadas, match days, individual ranking and pots
   (odd/tasks/torneos-y-ligas.md S18-S22). Uses the tokens of app.css; no shadows, no new colours. */

/* ---- Form */
.ld-part { border: 0; padding: 0; margin: 0; min-width: 0; }
.ld-part[hidden], .ld-sub[hidden], .ld [hidden] { display: none; }
.ld-form .ev-segs span { padding: 0 8px; line-height: 1.2; }
.ld-help { margin: 0 0 12px; color: var(--ink-soft); font-size: 14px; line-height: 1.47; }
.ld-h { margin: 8px 0 6px; font-size: 15px; font-weight: 600; }
.ld-sub { margin: 0 0 8px; }

.ld-check { display: flex; align-items: center; gap: 12px; min-height: 44px; margin: 0 0 4px; font-size: 15px; font-weight: 600; cursor: pointer; }
.ld-check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--accent); }
.ld-check input:disabled + span { color: var(--ink-soft); }

/* Pots: tick on the left, % box on the right; every row the same height. */
.ld-pots { display: grid; gap: 8px; margin: 0 0 12px; }
.ld-pot { display: grid; grid-template-columns: minmax(0, 1fr) 112px; align-items: center; gap: 12px; min-height: 48px; }
.ld-pot .ld-check { margin: 0; }
.ld-pct { position: relative; display: block; }
.ld-pct input { width: 100%; min-height: 48px; padding: 10px 34px 10px 14px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface); color: var(--ink); font: inherit; font-size: 17px; text-align: right; font-variant-numeric: tabular-nums; }
.ld-pct input:disabled { background: var(--canvas); color: var(--ink-soft); }
.ld-pct > span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-soft); pointer-events: none; }

/* Six points: two equal columns at any width, labels wrap instead of being cut. */
.ld-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap, 12px); }
.ld-points .field > span { min-height: 2.6em; display: flex; align-items: flex-end; line-height: 1.3; }
.ld-points input { text-align: center; font-variant-numeric: tabular-nums; }
@media (min-width: 600px) { .ld-points { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.ld-example { margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; background: var(--stone); color: var(--ink); font-size: 15px; line-height: 1.47; }
.ld-errors { margin: 0 0 12px; color: var(--warn); font-size: 15px; font-weight: 600; line-height: 1.47; }

/* ---- Match days */
.ld-no { font-variant-numeric: tabular-nums; }
.ld-days .ld-champ { color: var(--ink); font-weight: 600; }
.ld-go { color: var(--ink-soft); font-size: 22px; font-weight: 400; }

/* ---- Ranking */
.ld-pick { margin: 0 0 4px; }
.ld-pick select { text-overflow: ellipsis; }

/* ---- Pots */
.ld-pot-row { grid-template-columns: minmax(0, 1fr) auto; }
.ld-amount { white-space: nowrap; font-size: 17px; }
