/**
 * Chalk & Settle — Handicap-mode row (shared game setup component)
 * Wire: setup-screen-NASSAU-APPROVED v4 · component-SIDE-BETS-OVERLAY inherit chip.
 */

.cs-hm-block {
  display: block;
}

.cs-hm-sec {
  margin-top: 16px;
}

.cs-hm-sec-h {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
}

.cs-hm-hint {
  color: var(--line);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
  margin-left: auto;
}

/* ── Player roster (list — no cap) ─────────────────────────────────────────── */
.cs-hm-players {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cs-hm-player {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 11px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cs-hm-p-av {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-inset, #efeae0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--olive);
  flex-shrink: 0;
}

.cs-hm-p-name {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--forest);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cs-hm-p-ch {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  margin-right: 10px;
  flex-shrink: 0;
}

.cs-hm-p-strokes {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-secondary, #6b6560);
  min-width: 48px;
  text-align: right;
  flex-shrink: 0;
}

.cs-hm-p-strokes--gets {
  color: #3b6d11;
  font-weight: 500;
}

.cs-hm-p-strokes--zero {
  color: #9a7b2d;
  font-weight: 500;
}

.cs-hm-p-strokes--gross {
  color: var(--text-secondary, #6b6560);
  font-weight: 500;
}

.cs-hm-p-strokes--muted {
  color: var(--muted);
}

/* ── Mode toggle ─────────────────────────────────────────────────────────────── */
.cs-hm-mode-row {
  display: flex;
  gap: 6px;
}

.cs-hm-mode {
  flex: 1;
  border: 1.5px solid var(--stone, #d4cec4);
  border-radius: 9px;
  padding: 8px 6px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-secondary, #6b6560);
  font-weight: 500;
  background: var(--paper);
  cursor: pointer;
  min-height: var(--touch-min);
}

.cs-hm-mode.is-on {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--cream);
}

/* ── Overlay inherit chip ────────────────────────────────────────────────────── */
.cs-hm-inherit {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(74, 93, 62, 0.12);
  border: 1px solid rgba(74, 93, 62, 0.18);
  border-radius: 8px;
  padding: 7px 10px;
}

.cs-hm-inherit-text {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--olive);
  flex: 1;
  line-height: 1.35;
}

.cs-hm-inherit-change {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--gold);
  cursor: pointer;
  min-height: var(--touch-min);
  padding: 0 4px;
}

.cs-hm-inherit-override {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cs-hm-inherit-override-lbl {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary, #6b6560);
  margin-bottom: 8px;
}

.cs-hm-inherit-override .cs-hm-sec {
  margin-top: 0;
}
