/**
 * Chalk & Settle — Sixes setup wizard (Phase 3 · screen 5)
 * Wire: setup-screen-SIXES-APPROVED v2 · COD · June 15 2026
 */

.cs-sx-screen {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  padding: 0;
  max-width: 430px;
}

.cs-sx-screen.u-hidden {
  display: none;
}

.cs-sx-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 8px;
  flex-shrink: 0;
}

.cs-sx-back {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--forest);
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  min-height: var(--touch-min);
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.cs-sx-game {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #1b3d2f;
  font-weight: 600;
}

.cs-sx-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 16px 14px;
}

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

.cs-sx-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-sx-hint {
  color: #c8c2b8;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
  margin-left: auto;
}

.cs-sx-lr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cs-sx-lr-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 4px 11px 4px 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--forest);
}

.cs-sx-lr-av {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #efeae0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--olive);
  flex-shrink: 0;
}

.cs-sx-lr-ch {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
}

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

.cs-sx-rot-head .cs-sx-hint {
  margin-left: 8px;
  margin-right: auto;
}

.cs-sx-cod-btn {
  margin-left: auto;
  color: var(--gold);
  font-weight: 600;
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  min-height: var(--touch-min);
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.cs-sx-rot-intro {
  font-size: 11.5px;
  color: #8a8378;
  line-height: 1.45;
  background: #eff3ec;
  border: 1px solid #dde7d6;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 9px;
}

.cs-sx-rot-intro b {
  color: var(--forest);
}

.cs-sx-cod-prompt {
  background: var(--paper);
  border: 1px solid var(--gold);
  border-radius: 11px;
  padding: 11px 12px;
  margin-bottom: 9px;
}

.cs-sx-cod-prompt.is-hidden {
  display: none;
}

.cs-sx-cod-q {
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cs-sx-cod-q .cs-sx-cod-ic {
  color: var(--gold);
}

.cs-sx-cod-s {
  font-size: 11px;
  color: #8a8378;
  margin-bottom: 9px;
}

.cs-sx-cod-cart-lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 7px 0 5px;
}

.cs-sx-cod-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cs-sx-cod-pick {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--cream);
  border: 1.5px solid #d4cec4;
  border-radius: 20px;
  padding: 4px 11px 4px 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: inherit;
  min-height: var(--touch-min);
  -webkit-tap-highlight-color: transparent;
}

.cs-sx-cod-pick.is-on {
  border-color: var(--gold);
  background: rgba(154, 123, 45, 0.08);
  color: var(--forest);
}

.cs-sx-cod-pick .cs-sx-cod-av {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #efeae0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 600;
  color: var(--olive);
}

.cs-sx-cod-pick.is-on .cs-sx-cod-av {
  background: var(--gold);
  color: #fdfcf9;
}

.cs-sx-cod-auto {
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
  font-style: italic;
}

.cs-sx-cod-confirm {
  margin-top: 10px;
  display: flex;
  gap: 8px;
}

.cs-sx-cod-apply {
  flex: 1;
  min-height: var(--touch-min);
  background: var(--forest);
  color: #f2e3b6;
  border: none;
  border-radius: 9px;
  padding: 9px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
}

.cs-sx-cod-cancel {
  min-height: var(--touch-min);
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
}

.cs-sx-sixes {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cs-sx-six {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 10px 12px;
}

.cs-sx-six-hd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cs-sx-six-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13.5px;
  color: var(--forest);
  font-weight: 700;
}

.cs-sx-six-cod-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--olive);
  background: rgba(74, 93, 62, 0.1);
  padding: 1px 6px;
  border-radius: 5px;
  margin-left: 6px;
  font-style: normal;
  font-weight: 600;
}

.cs-sx-six-holes {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
}

.cs-sx-six-edit {
  color: var(--gold);
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.cs-sx-six-pair {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cs-sx-pair-side {
  flex: 1;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--forest);
  text-align: center;
  line-height: 1.3;
}

.cs-sx-pair-vs {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 11px;
  color: var(--muted);
  flex-shrink: 0;
}

.cs-sx-pts {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cs-sx-pts-lbl {
  font-size: 12.5px;
  color: var(--text-secondary);
  flex: 1;
}

.cs-sx-pts-sub {
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 2px;
}

.cs-sx-pts-in {
  display: flex;
  align-items: center;
  background: var(--cream);
  border: 1.5px solid var(--stone);
  border-radius: 9px;
  padding: 6px 11px;
}

.cs-sx-pts-in .cs-sx-cur {
  font-family: var(--font-mono);
  font-size: 14px;
  color: #9a7b2d;
}

.cs-sx-pts-in input {
  border: none;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 500;
  color: var(--forest);
  width: 42px;
  text-align: right;
  outline: none;
}

.cs-sx-ovteaser {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 11px 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  min-height: var(--touch-min);
  -webkit-tap-highlight-color: transparent;
}

.cs-sx-ovteaser-ic {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #efeae0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--forest);
}

.cs-sx-ovteaser-t {
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
}

.cs-sx-ovteaser-s {
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 1px;
}

.cs-sx-ovteaser-chev {
  margin-left: auto;
  color: #c8c2b8;
  font-size: 18px;
  flex-shrink: 0;
}

.cs-sx-opt-row {
  display: flex;
  gap: 8px;
}

.cs-sx-opt-card {
  flex: 1;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 11px;
}

.cs-sx-opt-lbl {
  font-size: 10px;
  color: #8a8378;
  margin-bottom: 4px;
}

.cs-sx-opt-val {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cs-sx-opt-val .cs-sx-v {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--forest);
}

.cs-sx-opt-step {
  display: flex;
  gap: 5px;
}

.cs-sx-opt-btn {
  width: 23px;
  height: 23px;
  border-radius: 6px;
  border: 1.5px solid var(--stone);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--forest);
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.cs-sx-startbar {
  flex-shrink: 0;
  position: sticky;
  bottom: 0;
  padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
  background: var(--cream);
  border-top: 1px solid var(--line);
}

.cs-sx-confirm {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 9px;
  padding: 0 2px;
}

.cs-sx-confirm-games {
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
}

.cs-sx-confirm-mode {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  text-align: right;
}

.cs-sx-btn-start {
  width: 100%;
  min-height: var(--touch-min);
  background: var(--forest);
  color: #f2e3b6;
  border: none;
  border-radius: 14px;
  padding: 15px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.cs-sx-scrim {
  position: fixed;
  inset: 0;
  z-index: 540;
  background: rgba(27, 61, 47, 0.34);
  display: none;
  align-items: flex-end;
  justify-content: center;
}

.cs-sx-scrim.is-on {
  display: flex;
}

.cs-sx-sheet {
  width: 100%;
  max-width: 430px;
  background: var(--cream);
  border-radius: 26px 26px 0 0;
  padding: 8px 20px 22px;
  max-height: 88vh;
  overflow-y: auto;
}

.cs-sx-sheet-grip {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: var(--stone);
  margin: 6px auto 14px;
}

.cs-sx-sheet-title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--forest);
  margin-bottom: 12px;
}

.cs-sx-edit-presets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.cs-sx-edit-preset {
  text-align: left;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 9px;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
  cursor: pointer;
  min-height: var(--touch-min);
}

.cs-sx-edit-preset.is-on {
  border-color: var(--forest);
  background: rgba(27, 61, 47, 0.06);
}

.cs-sx-sheet-done {
  width: 100%;
  min-height: var(--touch-min);
  background: var(--forest);
  color: #f2e3b6;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.cs-sx-engine-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
