/* ===========================================================================
   Seeding (/seeding). Rides on styles.css and score.css (page frame, chips,
   pills, modal); this is only the side switch, the seed list and the matchups.
   =========================================================================== */

.sd-sides { margin-top: 22px; }
.sd-sides .sk-opt { flex: 1 1 0; font-weight: 500; }

/* Who's left to place: two to a row, so the whole side fits on one screen. */
#sd-here, #sd-others { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
#sd-here .note { grid-column: 1 / -1; margin: 0; }
#sd-others { margin-top: 6px; }
#sd-others[hidden], .sd-lone[hidden], .sd-more[hidden] { display: none; }
.sd-rec { color: var(--ink-55); letter-spacing: 0.06em; }
.sd-lone { width: 100%; margin-top: 10px; }
.sd-more { display: block; min-height: 44px; margin-top: 6px; }

.sd-seeds, .sd-matchups { list-style: none; margin: 0; padding: 0; }
.sd-seeds { display: flex; flex-direction: column; gap: 6px; }
.sd-seed {
  display: flex; align-items: center; gap: 6px;
  min-height: 52px; padding: 3px 3px 3px 12px;
  border: 1px solid var(--ink-40); border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
}
.sd-n {
  flex: none; min-width: 34px;
  font-family: "Syne", "Helvetica Neue", Impact, sans-serif; font-weight: 800; font-size: 18px;
  font-variant-numeric: tabular-nums;
}
.sd-who { flex: 1; min-width: 0; font-size: 15px; line-height: 1.3; }
.sd-note { color: var(--ink-55); font-size: 13px; }
.sd-act {
  flex: none; width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: transparent; color: var(--ink-70);
  font-family: inherit; font-size: 17px; cursor: pointer;
  touch-action: manipulation;
}
.sd-act:hover:not(:disabled) { background: var(--ground-2); color: var(--ink); }
.sd-act:disabled { opacity: 0.2; cursor: default; }
.sd-act:focus-visible { outline: 2px solid var(--sand); outline-offset: 1px; }

.sd-stamp {
  margin: 26px 0 10px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: var(--ink-55);
}
#sd-unlock { margin-top: 8px; min-height: 44px; }
.sd-other { margin: 22px 0 0; font-size: 13px; color: var(--ink-70); }

.sd-match {
  display: flex; align-items: baseline; gap: 10px;
  padding: 12px 0; border-bottom: 1px solid var(--line-soft);
}
.sd-vs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-width: 0; font-size: 15px; line-height: 1.35; }
.sd-pair { white-space: nowrap; }
.sd-pair .dot { margin-right: 6px; }
.sd-pair.muted { color: var(--ink-40); }
.sd-vs-word { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-40); }
#sd-lock:disabled { opacity: 0.4; cursor: default; }
