.numbers-form .chips.wrap-full { width: fit-content; max-width: 100%; }
/* Shared "Your numbers" form for onboarding Step 2 and My Stats. */
.numbers-form { margin: 0; }
.numbers-form .title-inline {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin: 0 0 8px;
}
.level-badge {
  display: inline-flex; align-items: center;
  height: 20px; padding: 0 7px;
  border: 1px solid #D4FF00;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #D4FF00; font-weight: 500; vertical-align: middle;
}
.level-badge[hidden] { display: none !important; }
.level-note { margin: 0 0 22px; font-size: 13px; line-height: 1.5; color: #8B92A0; }

.seg {
  display: flex; border: 1px solid #22262E; flex-shrink: 0; width: fit-content;
}
.seg button {
  height: 36px; padding: 0 16px; background: transparent; color: #8B92A0; border: 0;
  border-right: 1px solid #22262E; cursor: pointer;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease;
}
.seg button:last-child { border-right: 0; }
.seg button.is-active { background: #D4FF00; color: #08090B; }

.season-tabs {
  display: flex; border: 1px solid #22262E; width: 100%; margin: 0 0 12px;
}
.season-tabs button {
  flex: 1; height: 40px; padding: 0 10px; background: transparent; color: #8B92A0; border: 0;
  border-right: 1px solid #22262E; cursor: pointer;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease;
}
.season-tabs button:last-child { border-right: 0; }
.season-tabs button.is-active { background: #D4FF00; color: #08090B; }

.seasons { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 0 0 22px; }
.season-panel {
  border: 1px solid #22262E; background: #08090B; padding: 16px 14px 8px;
}
.season-panel[hidden] { display: none !important; }
.season-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 14px;
}
.season-title {
  margin: 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #D4FF00;
}

.block-head {
  margin: 16px 0 10px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #f4f4f4;
}
.hit-block, .pitch-block, .catch-block { margin: 0 0 8px; }
.hit-block[hidden], .pitch-block[hidden], .catch-block[hidden], .limited-note[hidden] { display: none !important; }

.stat-pack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 8px;
  margin: 0 0 12px;
}
.stat-pack .field { margin: 0; }
.stat-pack label, .stat-pack .field-label {
  display: flex; align-items: center; gap: 6px; margin-bottom: 5px;
  font-size: 10px; letter-spacing: 0.08em;
}
.stat-pack .text-input {
  height: 40px; padding: 0 8px;
  font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px;
}
.auto-tag {
  font-size: 8px; letter-spacing: 0.08em; color: #8B92A0; font-weight: 500;
}
.stat-pack .is-auto .text-input { color: #f4f4f4; }

.check {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 0 0 12px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px; line-height: 1.4; letter-spacing: 0; text-transform: none; color: #f4f4f4;
  cursor: pointer;
}
.check span { flex: 1; min-width: 0; }
.check input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 16px; height: 16px; margin: 2px 0 0; flex-shrink: 0;
  border: 1px solid #3A404B; background: #08090B; cursor: pointer;
}
.check input[type="checkbox"]:checked {
  background: #D4FF00; border-color: #D4FF00;
}
.check input[type="checkbox"]:checked::after {
  /* no ::after on inputs reliably; keep a solid lime square */
  content: none;
}
.check input[type="checkbox"]:focus-visible { outline: 1px solid #D4FF00; outline-offset: 2px; }

.pitch-list {
  display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 0 0 12px;
}
.pitch-list .check { margin: 0; font-size: 13px; color: #8B92A0; }
.pitch-list .check:has(input:checked) { color: #f4f4f4; }

.measurables { margin: 8px 0 0; }

@media (min-width: 640px) {
  .stat-pack { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 880px) {
  .season-tabs { display: none; }
  .seasons { grid-template-columns: 1fr 1fr; }
  .season-panel[hidden] { display: block !important; }
  .stat-pack { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .stat-pack { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .seg button, .season-tabs button, .check input { transition: none; }
}

.field-hint { margin: -4px 0 12px; font-size: 12px; line-height: 1.4; color: #8B92A0; }
.ev-field { margin: 0 0 12px; }
.ev-field .field { margin-bottom: 8px; }
.ev-field .check { margin: 0 0 4px; }
.ev-field .field-hint { margin: 0; }

.req { color: #D4FF00; font-weight: 600; }
.stat-pack .err {
  display: none; margin: 6px 0 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.04em; color: #E8A0A0;
}
.stat-pack .err.is-on { display: block; }
