/*
 * L7 - Model Center route. This is the public-facing
 * stylesheet allowed to lay out projections, model-versus-market gaps, and
 * model performance. Values render only after the public read-only
 * /api/model-center/board endpoint returns a producer payload.
 *
 * Consumes L2 roles only.
 */

body[data-ca-product="research"]:has(#mcBoard) {
  background: var(--surface-page);
  color-scheme: dark;
}

.mc-page.ca-shell-main {
  padding-block: clamp(var(--space-5), 3vw, var(--space-8)) var(--space-9);
}

.mc-page .ca-public-page__head { margin-bottom: var(--space-6); }

.mc-page .ca-public-page__title {
  width: fit-content;
  margin: 0 0 var(--space-2);
  font-size: var(--type-display);
  font-weight: 800;
  line-height: 1;
}

.mc-page .ca-public-page__lede {
  margin: 0;
  color: var(--text-secondary);
}

.mc-panel,
.mc-game,
.mc-prop {
  min-width: 0;
  background: var(--surface-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: var(--elevation-card);
}

.mc-panel { padding: var(--space-5); }
.mc-empty h2 { margin-bottom: var(--space-1); }
.mc-empty p { margin: 0; color: var(--text-secondary); }

.mc-panel__title {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-size: var(--type-section);
  font-weight: 800;
}

.mc-eyebrow {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: var(--type-caps);
  font-weight: 700;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* —— Board list ——————————————————————————————————————————————— */
.mc-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
}

.mc-board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-4);
}

.mc-board__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--type-28);
  font-weight: 800;
  line-height: 1.1;
}

.mc-board__status {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--type-meta);
  font-variant-numeric: tabular-nums;
}

.mc-board__status strong {
  color: var(--text-primary);
  font-weight: 700;
}

.mc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: var(--space-3);
  align-items: stretch;
}

.mc-grid--cbb { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }

/* —— Game card ————————————————————————————————————————————————— */
.mc-game {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
}

.mc-game__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-2);
}

.mc-game__time {
  font-size: var(--type-meta);
  color: var(--text-secondary);
  white-space: nowrap;
}

.mc-game > .mc-game__actions {
  display: flex;
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-subtle);
}

.mc-game__props-status {
  align-content: center;
  margin: 0;
  min-height: var(--touch-min);
  color: var(--text-secondary);
  font-size: var(--type-meta);
}

/* —— Model vs market gauge ————————————————————————————————————— */
.mc-gauge { display: grid; gap: var(--space-2); }

/* The legend is positioned, not columned: each label is placed over its own
   mark on the axis below it. */
.mc-gauge__legend {
  position: relative;
  height: 40px;
}

.mc-gauge__leg {
  position: absolute;
  bottom: 0;
  text-align: center;
  white-space: nowrap;
}
.mc-gauge__leg.is-market span,
.mc-gauge__leg.is-market strong { color: var(--text-secondary); }

.mc-gauge__leg span {
  display: block;
  font-family: var(--font-display);
  font-size: var(--type-caps);
  font-weight: 700;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-muted);
}

.mc-gauge__leg strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--type-20);
  font-weight: 800;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.mc-gauge__track {
  position: relative;
  height: 26px;
  background: var(--surface-field);
  border-radius: var(--radius-xs);
}

/* The violet span between the two marks is the gap, drawn to the same scale as
   the axis. It is deliberately not labelled an edge. */
.mc-gauge__span {
  position: absolute;
  top: 50%;
  height: 6px;
  transform: translateY(-50%);
  background: var(--edge-brand);
  border-radius: var(--radius-pill);
}

.mc-gauge__pin {
  position: absolute;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--text-primary);
  border-radius: 1px;
}
.mc-gauge__pin--market { background: var(--text-secondary); }

.mc-gauge__zero {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border-strong);
}

.mc-game__read {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-1) var(--space-2);
  flex-wrap: wrap;
}

.mc-game__lean {
  font-size: var(--type-14);
  font-weight: 600;
  color: var(--text-primary);
}

.mc-game__values {
  display: flex;
  gap: var(--space-1) var(--space-2);
  flex-wrap: wrap;
  font-size: var(--type-meta);
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.mc-withheld {
  font-size: var(--type-meta);
  color: var(--value-caution);
}

/* —— Key projection tiles ————————————————————————————————————— */
.mc-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: var(--space-2);
}

.mc-tile {
  padding: var(--space-3);
  background: var(--surface-field);
  border-radius: var(--radius-sm);
}

.mc-tile span {
  display: block;
  font-family: var(--font-display);
  font-size: var(--type-caps);
  font-weight: 700;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.25;
}

.mc-tile strong {
  display: block;
  margin-top: var(--space-1);
  font-family: var(--font-display);
  font-size: var(--type-28);
  font-weight: 800;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

/* —— Detail hero ——————————————————————————————————————————————— */
.mc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: var(--space-4);
}

.mc-hero__side { display: grid; gap: var(--space-2); justify-items: center; text-align: center; }
.mc-hero__name { font-family: var(--font-display); font-size: var(--type-18); font-weight: 700; color: var(--text-primary); }
.mc-hero__sub { font-size: var(--type-meta); color: var(--text-muted); font-variant-numeric: tabular-nums; }

.mc-hero__center { text-align: center; }
.mc-hero__score {
  font-family: var(--font-display);
  font-size: var(--type-score);
  font-weight: 800;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.mc-hero__label {
  margin-top: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--type-caps);
  font-weight: 700;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 620px) {
  .mc-hero { gap: var(--space-2); }
  .mc-hero__name { overflow-wrap: anywhere; }
  .mc-hero__score { font-size: var(--type-24); }
}


/* Secondary note under the lean (e.g. an explicit edge-withheld reason). */
.mc-game__note { display: block; margin-top: 2px; }

/* The model mark is the emphasised one; market sits behind it. */
.mc-gauge__pin { box-shadow: 0 0 0 1px var(--surface-inset); }

/* --- Club identity -------------------------------------------------------
 * The official crest is the primary identifier and the abbreviation remains
 * as a persistent text fallback. `--club` is reserved for the narrow identity
 * rail so multi-colour marks keep their native contrast on the neutral field. */
.mc-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
  max-width: 100%;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-xs);
  background: var(--surface-field);
  box-shadow: inset 3px 0 0 var(--club, var(--accent));
}

.mc-chip__crest,
.mc-chip .team-logo-fallback {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.mc-chip__crest {
  object-fit: contain;
}

.mc-chip .team-logo-fallback {
  align-items: center;
  justify-content: center;
  font-size: var(--type-floor);
  color: var(--text-secondary);
}

.mc-chip__mark { flex: 0 0 24px; line-height: 0; }

.mc-chip__code {
  font-family: var(--font-display);
  font-size: var(--type-14);
  font-weight: 800;
  line-height: 1.1;
  overflow-wrap: anywhere;
  color: var(--text-primary);
}

/* --- The scale ----------------------------------------------------------- */
.mc-gauge__axis {
  position: relative;
  display: block;
  height: 22px;
  margin-top: 2px;
}

.mc-gauge__tick {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.mc-gauge__tick i {
  display: block;
  width: 1px;
  height: 4px;
  background: var(--border-default);
}

.mc-gauge__tick b {
  font-family: var(--font-display);
  font-size: var(--type-meta);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Zero is the reference every other number is read against, so it is the one
   tick that is not grey. It takes its weight from colour rather than from
   length: a taller rule pushed its own label down a row and left the axis
   reading as two staggered lines of numbers. */
.mc-gauge__tick.is-zero i { background: var(--text-secondary); width: 2px; }
.mc-gauge__tick.is-zero b { color: var(--text-secondary); font-weight: 700; }

/* Every label hangs from the same line whatever its tick does. */
.mc-gauge__tick i { flex: 0 0 4px; }

.mc-gauge__track { height: 22px; }

/* The two legends sit over their own marks and are read as a pair, so they are
   sized to fit side by side near the middle of a 300px track rather than to
   fill the card's width. */
.mc-gauge__leg { gap: 4px; }
.mc-gauge__leg span { font-size: var(--type-meta); letter-spacing: var(--tracking-caps); }
.mc-gauge__leg strong { font-size: var(--type-16); }

/* --- The week, in windows ------------------------------------------------ */
.mc-slot { display: grid; gap: var(--space-2); }

.mc-slot__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--type-caps);
  font-weight: 800;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* One game in a window is a standalone kickoff, and reads as one. */
.mc-grid--single { grid-template-columns: minmax(0, 1fr); }

/* ===========================================================================
 * BRAND: THE PAGE HEADER IS THE SAME OBJECT EVERYWHERE
 * ---------------------------------------------------------------------------
 * Model Center does not load chase-public.css - it is a different route layer -
 * so it never picked up the metallic fill every other page title carries, and
 * "Model Center" rendered flat white beside an "MLB Matchups" in chrome. Two
 * title treatments across one product reads as two products.
 *
 * The declaration is repeated here rather than reached for across layers,
 * which is what the layer rule requires; the token it fills from is the same
 * one, so the two cannot drift apart in colour.
 *
 * Guarded: without background-clip:text a transparent colour erases the text.
 * ======================================================================== */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .mc-page .ca-public-page__title,
  .mc-board__title,
  .mc-panel__title {
    background: var(--text-display-metal);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

/* --- Sport switch and slate action -------------------------------------- */
.mc-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-bottom: var(--space-2);
  margin-bottom: var(--space-5);
  border-bottom: 1px solid var(--border-subtle);
}

.mc-toolbar__status {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--type-meta);
}

.mc-sports {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  border-radius: 0;
}

.mc-sports a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-min);
  min-width: var(--touch-min);
  padding: var(--space-2) var(--space-4);
  border-radius: 0;
  font-family: var(--font-display);
  font-size: var(--type-14);
  font-weight: 700;
  letter-spacing: var(--tracking-caps);
  color: var(--text-secondary);
  text-decoration: none;
}

.mc-sports a:hover { color: var(--text-primary); }

.mc-sports a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--text-primary);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.ca-btn.mc-props-button {
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--accent-strong);
  border-radius: var(--radius-sm);
  background: var(--accent-strong);
  color: var(--text-on-accent);
}

.ca-btn.mc-props-button:hover {
  border-color: var(--accent);
}

.mc-game__actions .mc-props-button {
  width: 100%;
  background: var(--accent-soft);
  border-color: var(--border-accent);
}

.mc-game__actions .mc-props-button:hover {
  background: var(--control-bg-active);
  border-color: var(--accent);
}

.mc-props-button small {
  color: var(--text-secondary);
  font-size: var(--type-meta);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.mc-game__visuals,
.mc-score {
  display: grid;
  gap: var(--space-3);
  min-width: 0;
}

.mc-score__label,
.mc-line__label {
  display: block;
  font-family: var(--font-display);
  font-size: var(--type-caps);
  font-weight: 800;
  letter-spacing: var(--tracking-caps);
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.mc-score__match {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: var(--space-2);
}

.mc-score__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2);
  min-width: 0;
}

.mc-score__side:last-child {
  align-items: flex-end;
  text-align: right;
}

.mc-score__side:last-child .mc-chip { flex-direction: row-reverse; }

.mc-score__match strong {
  font-family: var(--font-display);
  font-size: var(--type-40);
  line-height: 1;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.mc-score__divider {
  align-self: end;
  padding-bottom: var(--space-1);
  color: var(--text-muted);
}

.mc-score__pending {
  margin: 0;
  font-size: var(--type-meta);
  color: var(--text-secondary);
}

.mc-line {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3) var(--space-1);
  background: var(--surface-well);
  border-radius: var(--radius-sm);
}

.mc-line .mc-withheld {
  margin: var(--space-2) 0 0;
  max-width: 28ch;
  line-height: 1.4;
}

.mc-total {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: var(--space-1) var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--border-subtle);
  font-variant-numeric: tabular-nums;
}

.mc-total__label {
  font-family: var(--font-display);
  font-size: var(--type-caps);
  font-weight: 800;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-secondary);
}

.mc-total strong {
  font-family: var(--font-display);
  font-size: var(--type-18);
  color: var(--text-primary);
}

.mc-total__detail {
  grid-column: 1 / -1;
  min-width: 0;
  font-size: var(--type-meta);
  color: var(--text-secondary);
}

.mc-panel > .mc-total,
.mc-panel > .mc-game__read {
  margin-top: var(--space-3);
}

.mc-cbb-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: var(--space-3);
  margin: 0;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-subtle);
}

.mc-cbb-summary > div:last-child { text-align: right; }

/* First half: the score line across, total and margin beneath it. */
.mc-cbb-half { margin-top: var(--space-3); }
.mc-cbb-half > div:first-child { grid-column: 1 / -1; }
.mc-cbb-half dd { font-size: var(--type-16); }

.mc-cbb-summary dd {
  margin: var(--space-1) 0 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: var(--type-18);
  font-weight: 800;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 520px) {
  .mc-toolbar .mc-props-button { width: 100%; }
  .mc-sports { width: 100%; }
  .mc-sports a { flex: 1; }
}

/* —— Player prop projections —— */
body:has(.mc-props-dialog[open]) { overflow: hidden; }

.mc-props-dialog[open] {
  display: flex;
  flex-direction: column;
  inset: 0;
  width: min(calc(100% - var(--space-6)), 1080px);
  max-width: none;
  max-height: calc(100dvh - var(--space-8));
  margin: auto;
  padding: 0;
  overflow: hidden;
  color: var(--text-primary);
  background: var(--surface-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
}

.mc-props-dialog::backdrop { background: var(--surface-overlay); }

.mc-props-dialog__head,
.mc-props-dialog__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2) var(--space-4);
  padding: var(--space-3) var(--space-5);
  border-bottom: 1px solid var(--border-subtle);
}

.mc-props-dialog__head h2 {
  margin: 0;
  font-size: var(--type-section);
  font-weight: 800;
}

.ca-btn.mc-props-close {
  width: var(--touch-min);
  padding: 0;
  font-size: var(--type-24);
  border-radius: var(--radius-sm);
  background: var(--surface-field);
  color: var(--text-primary);
}

.ca-btn.mc-props-close:hover { background: var(--control-bg-hover); }

.mc-props-dialog__toolbar { flex-wrap: wrap; }

.mc-props-dialog__body {
  overflow: auto;
  overscroll-behavior: contain;
  padding: var(--space-4) var(--space-5) var(--space-5);
  background: var(--surface-well);
}

.mc-props-dialog__body:focus-visible { outline-offset: -2px; }

.mc-props { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); margin-top: var(--space-5); }
.mc-props__grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: start; }
.mc-prop {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-3);
}
.mc-prop__head { display: flex; align-items: center; gap: var(--space-3); }
.mc-prop__head .mc-chip { flex: none; max-width: 40%; }
.mc-prop__head > div { min-width: 0; overflow-wrap: anywhere; }
.mc-prop__head h3 { margin: 0; font-family: var(--font-display); font-size: var(--type-18); color: var(--text-primary); }
.mc-prop__head p { margin: 2px 0 0; font-size: var(--type-meta); color: var(--text-secondary); }
.mc-prop__table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.mc-prop__table th, .mc-prop__table td {
  padding: var(--space-2) var(--space-1);
  border-top: 1px solid var(--border-subtle);
  text-align: left;
  vertical-align: middle;
  font-size: var(--type-meta);
}
.mc-prop__table thead th {
  border-top: 0;
  color: var(--text-muted);
  font-weight: 800;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.mc-prop__table thead th:first-child { width: 28%; }
.mc-prop__table thead th:nth-child(2) { width: 20%; }
.mc-prop__table thead th:last-child { width: 26%; text-align: right; }
.mc-prop__table tbody th { color: var(--text-secondary); font-weight: 700; white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .mc-prop__table thead th:first-child { width: 26%; }
  .mc-prop__table thead th:nth-child(2) { width: 18%; }
  .mc-prop__table th, .mc-prop__table td { padding-left: 2px; padding-right: 2px; }
  .mc-prop__table tbody th { letter-spacing: 0; }
}
.mc-prop__proj strong { display: block; font-family: var(--font-display); font-size: var(--type-16); color: var(--text-primary); font-variant-numeric: tabular-nums; }
.mc-prop__proj small, .mc-prop__price small { display: block; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.mc-prop__bar {
  position: relative;
  height: 14px;
  background: var(--surface-inset);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
}
.mc-prop__band { position: absolute; top: 2px; bottom: 2px; background: var(--accent-soft); border: 1px solid var(--accent-strong); border-radius: 2px; }
.mc-prop__median { position: absolute; top: 1px; bottom: 1px; width: 2px; margin-left: -1px; background: var(--text-primary); }
.mc-prop__line { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--metric-mid); }
.mc-prop__line.is-model { background: var(--text-muted); }
.mc-prop__table td:last-child { text-align: right; }
.mc-prop__price { font-variant-numeric: tabular-nums; }
.mc-prop__price span { display: block; color: var(--text-secondary); overflow-wrap: anywhere; }
.mc-prop__price strong { font-family: var(--font-display); font-size: var(--type-16); color: var(--text-primary); }
.mc-prop__price.is-over strong { color: var(--metric-good); }
.mc-prop__price.is-under strong { color: var(--metric-poor); }
.mc-prop__table--compare thead th:first-child { width: 20%; }
.mc-prop__table--compare thead th:nth-child(2) { width: 22%; }
.mc-prop__table--compare thead th:nth-child(3),
.mc-prop__table--compare thead th:last-child { width: 29%; text-align: left; }
.mc-prop__table--compare td:last-child { text-align: left; }
.mc-prop__table--compare .mc-prop__bar { margin-top: var(--space-2); }
.mc-prop__table--compare small { font-size: var(--type-meta); line-height: 1.4; overflow-wrap: anywhere; }
.mc-prop__table--compare .mc-prop__price span { font-size: var(--type-meta); }
.mc-props__quotes { flex-basis: 100%; margin: 0; color: var(--text-secondary); font-size: var(--type-meta); }

.mc-props__pick {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  max-width: 100%;
  min-width: 0;
  font-size: var(--type-meta);
  color: var(--text-secondary);
  font-weight: 600;
}
.mc-props__pick select {
  flex: 1;
  min-height: var(--touch-min);
  min-width: 0;
  padding: 0 var(--space-3);
  background: var(--control-bg);
  color: var(--text-primary);
  border: 1px solid var(--control-border);
  border-radius: var(--radius-sm);
  font: inherit;
  text-overflow: ellipsis;
}

@media (max-width: 520px) {
  .mc-props-dialog[open] {
    width: calc(100% - var(--space-3));
    max-height: calc(100dvh - var(--space-4));
  }
  .mc-props-dialog__head,
  .mc-props-dialog__toolbar,
  .mc-props-dialog__body { padding: var(--space-3); }
  .mc-props__pick { flex: 1 1 calc(50% - var(--space-3)); flex-direction: column; align-items: stretch; gap: var(--space-1); }
  .mc-props__pick select { min-width: 0; width: 100%; }
}

.mc-cbb-method {
  margin: 0 0 var(--space-5);
  color: var(--text-secondary);
  font-size: var(--type-meta);
}

.mc-cbb-research { gap: var(--space-2); }
.mc-game__actions .mc-cbb-research { justify-content: space-between; width: 100%; }

#mcPropsTitle { scroll-margin-top: calc(var(--shell-header-h) + var(--space-4)); }
