/*
 * 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.
 */

.mc-panel {
  position: relative;
  padding: var(--space-5) var(--space-5) var(--space-5) calc(var(--space-5) + 3px);
  background: var(--surface-board);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--elevation-2);
  overflow: hidden;
}

.mc-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--edge-brand);
}

.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-accent);
}

/* —— Board list ——————————————————————————————————————————————— */
.mc-board {
  display: grid;
  gap: var(--space-4);
}

.mc-board__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-default);
}

.mc-board__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--type-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.02;
  text-transform: uppercase;
}

.mc-board__meta {
  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-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: var(--space-3);
  align-items: stretch;
}

/* —— Game card ————————————————————————————————————————————————— */
.mc-game {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  height: 100%;
  padding: var(--space-4);
  background: var(--surface-board-raised);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--elevation-2);
}

.mc-game__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.mc-teams { display: flex; align-items: center; gap: var(--space-2); min-width: 0; }

/* Team chip is the shared club tab (.ca-team-tab owns ground, ink and type);
   this only sets the Model Center sizing. */
.mc-chip { min-width: 58px; }

.mc-game__time {
  font-family: var(--font-display);
  font-size: var(--type-14);
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* —— 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-inset);
  border: 1px solid var(--border-subtle);
  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-gauge__axis {
  display: flex;
  justify-content: space-between;
  font-size: var(--type-meta);
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.mc-game__read {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-subtle);
}

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

.mc-game__values {
  display: grid;
  gap: 2px;
  font-size: var(--type-data);
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.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: 1px solid var(--border-subtle);
  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__side .mc-chip { min-width: 96px; font-size: var(--type-28); padding: var(--space-3) var(--space-5); }
.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);
}

/* —— Comparison bars ————————————————————————————————————————— */
.mc-form { display: grid; gap: var(--space-2); }

.mc-form__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1.1fr);
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  background: var(--surface-field);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.mc-form__label { font-size: var(--type-14); color: var(--text-secondary); }
.mc-form__value {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.mc-bar {
  height: 8px;
  background: var(--surface-inset);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.mc-bar > i {
  display: block;
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--metric-neutral);
}
.mc-bar > i[data-grade="good"] { background: var(--metric-above); }
.mc-bar > i[data-grade="watch"] { background: var(--metric-watch); }
.mc-bar > i[data-grade="poor"] { background: var(--metric-poor); }

@media (max-width: 620px) {
  .mc-hero { grid-template-columns: minmax(0, 1fr); }
  .mc-form__row { grid-template-columns: minmax(0, 1fr) 56px; }
  .mc-form__row .mc-bar { grid-column: 1 / -1; }
}


/* 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); }

/* Crest inside the board chip, sized like the card's identity block. */
.mc-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--surface-field);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  font-family: var(--font-display);
  font-size: var(--type-16);
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--text-primary);
}
.mc-chip__crest { width: 24px; height: 24px; object-fit: contain; flex: 0 0 auto; }
.mc-chip__code { line-height: 1.1; }
.mc-hero__side .mc-chip { font-size: var(--type-24); padding: var(--space-3) var(--space-4); }
.mc-hero__side .mc-chip__crest { width: 40px; height: 40px; }

/* ===========================================================================
 * MODEL CENTER'S OWN DESIGN LAYER
 *
 * The public desk and Model Center are two products, and the design layer for
 * each was drawn separately: the desk is flat near-black (#08090F) with violet
 * held back for navigation, and Model Center sits on a blue-shifted ink
 * (#141824) with deep violet fields carrying the brand into the surface.
 *
 * They had been sharing the desk's palette, so the model product looked
 * like the free one. These overrides re-point the semantic surface tokens for
 * this route only — every component below keeps consuming the same token names
 * and inherits the layer without knowing about it.
 * ======================================================================== */
body[data-ca-product="research"]:has(#mcBoard) {
  --surface-page: var(--surface-mc-page);
  --surface-panel: var(--surface-mc-panel);
  --surface-board: var(--surface-mc-panel);
  --surface-board-raised: var(--surface-mc-raised);
  --surface-inset: var(--surface-mc-field);
  --surface-field: var(--surface-mc-field);
  --surface-raised: var(--surface-mc-hover);
  background: var(--surface-mc-page);
}

/* The board used to take the deepest violet as "the brand object on the page".
   At twelve cards that reads as a violet sheet with twelve grey rectangles
   floating on it, and the club tiles - the one place colour carries meaning -
   have to fight it. The reference puts the board on the page ground and spends
   the violet on the accent rule and the model-to-market segment instead.
   The panels inside it keep their own ink. */
body[data-ca-product="research"]:has(#mcBoard) #mcBoard > section {
  background: var(--surface-mc-panel);
  border-color: var(--border-violet);
}

body[data-ca-product="research"]:has(#mcBoard) .mc-row:hover {
  background: var(--surface-mc-hover);
}

/* ===========================================================================
 * MODEL CENTER — TO THE REFERENCE RENDERING (2026-09-11)
 * ---------------------------------------------------------------------------
 * The board had drifted into a violet-washed panel with the slate title set in
 * display type across a filled band. The reference is quieter and reads far
 * better at twelve cards: a near-black ground, one thin accent rule marking the
 * section, and all of the colour spent on the club tiles and the one purple
 * segment that carries the model-to-market gap.
 * ======================================================================== */

/* The board sits on the page, not in a tinted container of its own. */
.mc-board { background: none; padding: 0; }

/* A rule, not a band. The title is the only thing that needs weight here. */
.mc-board__head {
  align-items: center;
  gap: var(--space-3);
  padding: 0 0 var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent);
}

.mc-board__title { font-size: var(--type-28); letter-spacing: 0.01em; }

/* Three across is the reference count: it is the widest a card can be and
   still put the whole axis in one eyeful. */
.mc-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }

.mc-game {
  gap: var(--space-2);
  box-shadow: none;
  background: var(--surface-board-raised);
}

/* --- 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;
  justify-content: flex-start;
  gap: var(--space-2);
  min-width: 76px;
  padding: 5px 9px 5px 7px;
  border-radius: var(--radius-xs);
  background: var(--surface-mc-field);
  border: 1px solid var(--border-default);
  box-shadow: inset 3px 0 0 var(--club, var(--accent));
}

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

.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__code {
  font-family: var(--font-display);
  font-size: var(--type-14);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.mc-hero__side .mc-chip {
  min-width: 112px;
  padding: var(--space-2) var(--space-3) var(--space-2) 9px;
}

.mc-hero__side .mc-chip__crest,
.mc-hero__side .mc-chip .team-logo-fallback {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
}

/* --- 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); margin-bottom: var(--space-4); }

.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)) {
  .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 --------------------------------------------------------
 * The top nav's MLB and NFL tabs leave Model Center for the public slates, so
 * an entitled reader had no way to reach the NFL board at all: it was only
 * addressable by typing ?sport=nfl. The board carries both, so the page offers
 * both. */
.mc-sports {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: var(--space-3);
  background: var(--surface-mc-field);
  border: 1px solid var(--border-violet);
  border-radius: 0;
}

.mc-sports a {
  /* 44px tall including padding: this is a primary control on a phone, and the
     mobile audit holds every tap target to that floor. */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 0;
  font-family: var(--font-display);
  font-size: var(--type-14);
  font-weight: 700;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  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(--accent-text);
  box-shadow: inset 0 0 0 1px var(--accent-strong);
}

/* ===========================================================================
 * SCORE-FIRST SLATE
 * The projected result is the first decision fact; the line view explains how
 * the model sits against the market. They share one compact visual row instead
 * of reading as unrelated layers of cards.
 * ======================================================================== */
.mc-board__head {
  align-items: end;
  padding-left: var(--space-4);
  border-left-width: 2px;
}

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

.mc-board__status {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--surface-mc-field);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
}

.mc-board__status strong {
  font-size: var(--type-20);
  color: var(--text-primary);
}

.mc-board__status span {
  font-size: var(--type-caps);
  font-weight: 700;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-secondary);
}

.mc-game {
  padding: var(--space-3);
  border-radius: var(--radius-xs);
}

.mc-game__head {
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border-subtle);
}

.mc-game__visuals {
  display: grid;
  grid-template-columns: minmax(132px, 0.78fr) minmax(180px, 1.8fr);
  min-height: 132px;
  background: var(--surface-mc-field);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.mc-score,
.mc-line {
  min-width: 0;
  padding: var(--space-3);
}

.mc-score {
  display: grid;
  align-content: center;
  gap: var(--space-3);
  border-right: 1px solid var(--border-default);
  background: var(--surface-mc-raised);
}

.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: end;
  gap: var(--space-2);
}

.mc-score__match span {
  display: grid;
  gap: 2px;
}

.mc-score__match span:last-child { text-align: right; }

.mc-score__match b {
  overflow: hidden;
  font-family: var(--font-display);
  font-size: var(--type-meta);
  letter-spacing: var(--tracking-caps);
  color: var(--text-muted);
  text-overflow: ellipsis;
}

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

.mc-score__match i {
  padding-bottom: 2px;
  font-style: normal;
  color: var(--text-muted);
}

.mc-score__pending {
  font-family: var(--font-display);
  font-size: var(--type-16);
  color: var(--value-caution);
}

.mc-line {
  display: grid;
  align-content: center;
  gap: var(--space-2);
}

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

.mc-total {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: baseline;
  gap: var(--space-2) var(--space-3);
  padding: var(--space-2) var(--space-3);
  background: var(--surface-mc-field);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-xs);
  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-accent);
  text-transform: uppercase;
}

.mc-total__detail {
  justify-self: end;
  min-width: 0;
  font-size: var(--type-meta);
  color: var(--text-secondary);
  text-align: right;
}

.mc-total.is-withheld {
  border-left-color: var(--border-strong);
}

.mc-total.is-withheld strong {
  color: var(--text-primary);
}

.mc-game__read {
  padding-top: var(--space-2);
}

@media (max-width: 520px) {
  .mc-board__head {
    align-items: start;
  }

  .mc-board__status {
    width: 100%;
    justify-content: space-between;
  }

  .mc-game__head {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .mc-game__time { margin-left: auto; }

  .mc-game__visuals {
    grid-template-columns: minmax(0, 1fr);
  }

  .mc-score {
    border-right: 0;
    border-bottom: 1px solid var(--border-default);
  }

  .mc-score__match {
    max-width: 240px;
  }

  .mc-total {
    grid-template-columns: auto 1fr;
  }

  .mc-total__detail {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
  }
}

/* ===========================================================================
 * BLACK PREMIUM SURFACE - 2026-09-15
 *
 * Same law as the desk (see chase-public.css): one slab per object and no
 * frames inside it. Model Center keeps what makes it the entitled product - the
 * violet cast in its fields and the accent on the board head and the total -
 * but its ground is now black like the desk's, so moving between the two no
 * longer reads as a jump from black to slate. The rail down every panel goes.
 * ======================================================================== */
.mc-panel {
  border-color: var(--border-card);
  box-shadow: var(--elevation-card);
}
.mc-panel::before { content: none; }

.mc-game {
  border-color: var(--border-card);
  box-shadow: var(--elevation-card);
}

.mc-tile,
.mc-form__row,
.mc-chip,
.mc-sports,
.mc-board__status,
.mc-game__visuals,
.mc-gauge__track { border-color: transparent; }

.mc-total {
  border-color: transparent;
  border-left-color: var(--accent);
}

.mc-score { border-color: var(--border-card); }

/* —— MLB starter prop projections ——————————————————————————————— */
.mc-props { display: grid; gap: var(--space-3); margin-top: var(--space-5); }
.mc-props__grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); align-items: start; }
.mc-prop {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--surface-board-raised);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
}
.mc-prop__head { display: flex; align-items: center; gap: var(--space-3); }
.mc-prop__head h4 { 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__price { text-align: right; font-variant-numeric: tabular-nums; }
.mc-prop__price span { display: block; color: var(--text-secondary); white-space: nowrap; }
.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-props__pick { display: flex; align-items: center; gap: var(--space-2); font-size: var(--type-meta); color: var(--text-secondary); font-weight: 700; }
.mc-props__pick select {
  min-height: 44px;
  max-width: 100%;
  padding: 0 var(--space-3);
  background: var(--surface-board-raised);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  font: inherit;
}
