/* Top Rated Today — Sly Man's daily briefing, modernised.
   Unified type stack (Playfair Display + Inter tabular-nums) with
   the BoD Logbook, HTW Honest Record and BoD Shortlist so the whole
   Sly Man family reads as of-a-piece. Copper stays as the accent
   that distinguishes this page from HTW's gold and BoD's emerald;
   flame reserved for 3+ signal convergences so it reads as rare.
   Layout: hero + stats strip → The Fold as feature block → editorial
   pull-quote → tabular signals table → 3-col ratings cards → 2-col
   angles grid. Every section shares one <sec> pattern. */

.top-rated {
  --tr-paper:      #FBF7EF;
  --tr-paper-2:    #FFFCF3;
  --tr-paper-deep: #F1E9D0;
  --tr-paper-warm: #F7EFD9;
  --tr-ink:        #1A1612;
  --tr-ink-70:     #4A413A;
  --tr-ink-40:     rgba(26, 22, 18, 0.44);
  --tr-ink-20:     rgba(26, 22, 18, 0.14);
  --tr-line:       rgba(26, 22, 18, 0.10);
  --tr-line-strong:rgba(26, 22, 18, 0.22);
  --tr-gold:       #C39E2A;
  --tr-gold-deep:  #8F6F18;
  --tr-gold-lite:  rgba(195, 158, 42, 0.14);
  --tr-copper:     #8B5A2B;
  --tr-copper-deep:#6F4520;
  --tr-copper-lite:rgba(139, 90, 43, 0.14);
  --tr-flame:      #C8451F;
  --tr-flame-lite: rgba(200, 69, 31, 0.10);
  --tr-emerald:    #1A7D4A;
  --tr-emerald-lt: rgba(26, 125, 74, 0.10);
  --tr-claret:     #A03040;
  --tr-claret-lt:  rgba(160, 48, 64, 0.06);
  --tr-pending:    #7A6B3E;

  color: var(--tr-ink);
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 24px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter",
               Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}

/* ── Hero ─────────────────────────────────────────────────────── */

/* Slim intro strip — the outer article template already renders
   the title / deck / byline block above this partial. So this
   header just carries the eyebrow + stats pill as a lead-in to
   The Fold; no duplicated masthead. */
.tr__hero {
  text-align: center;
  padding: 4px 0 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--tr-line);
}

/* ── Identity hero (Sly Man analyst mark beside briefing) ─────────
 *
 * Reviewer's brief: "Sly Man needs a stronger visual presence.
 * This is the biggest missed branding opportunity. You have created
 * a distinctive character but the article itself is predominantly
 * typography and tables. I would put Sly Man beside the briefing
 * header — think editorial mascot / analyst identity."
 *
 * Two-column layout: briefing content left-aligned on the left,
 * analyst mark (copper roundel + hound silhouette + monogram +
 * byline) on the right. Mobile stacks the mark above the body,
 * centred, so the identity is still the first thing readers see. */

.tr__hero--identity {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  text-align: left;
  padding: 18px 0 24px;
}

.tr__hero-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.tr__hero--identity .tr__eyebrow {
  margin-bottom: 0;
  align-self: flex-start;
}

.tr__hero--identity .tr__stats {
  justify-content: flex-start;
  margin: 6px 0 0;
}

.tr__hero-title {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4.2vw, 42px);
  font-weight: 700;
  color: var(--tr-ink);
  margin: 0;
  line-height: 1.06;
  letter-spacing: -0.015em;
}

/* Sly Man analyst mark — the identity roundel */
.sly-mark {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.sly-mark__svg {
  width: 108px;
  height: 108px;
  display: block;
  filter: drop-shadow(0 3px 6px rgba(111, 69, 32, 0.22));
}

.sly-mark__cap {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  text-align: center;
}

.sly-mark__name {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--tr-ink);
  letter-spacing: 0;
}

.sly-mark__role {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--tr-copper);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 2px;
}

@media (max-width: 640px) {
  .tr__hero--identity {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: center;
    justify-items: center;
  }
  .tr__hero-body { align-items: center; }
  .tr__hero--identity .tr__eyebrow,
  .tr__hero--identity .tr__stats { align-self: center; justify-content: center; }
  .sly-mark { order: -1; }   /* mark above briefing on mobile */
  .sly-mark__svg { width: 92px; height: 92px; }
}
.tr__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--tr-copper);
}
.tr__eyebrow::before,
.tr__eyebrow::after {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--tr-copper);
  opacity: 0.55;
}
.tr__title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 900;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--tr-ink);
  margin: 0 0 16px;
  text-wrap: balance;
}
.tr__title em {
  font-style: italic;
  color: var(--tr-copper-deep);
}
.tr__deck {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 17px;
  max-width: 62ch;
  line-height: 1.5;
  color: var(--tr-ink-70);
  margin: 0 auto 22px;
  text-wrap: balance;
}
.tr__stats {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 12px 24px;
  background: var(--tr-paper-2);
  border: 1px solid var(--tr-line);
  border-radius: 999px;
  box-shadow: 0 6px 22px -14px rgba(26, 22, 18, 0.28);
}
.tr__stat {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.tr__stat-val {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  font-size: 22px;
  color: var(--tr-ink);
  line-height: 1;
}
.tr__stat-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tr-ink-40);
}
.tr__stat-sep {
  width: 1px;
  height: 22px;
  background: var(--tr-line-strong);
}

/* ── Section head pattern (used by every section) ─────────────── */

.tr__sec { margin-bottom: 44px; }
.tr__sec-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--tr-line);
  flex-wrap: wrap;
}
.tr__sec-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--tr-copper);
  margin: 0;
  padding: 3px 8px;
  background: var(--tr-copper-lite);
  border-radius: 3px;
}
.tr__sec-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 900;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--tr-ink);
}
.tr__sec-lede {
  margin-left: auto;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: var(--tr-ink-70);
  max-width: 42ch;
  text-align: right;
}
.tr__subhead {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 900;
  font-size: 16px;
  color: var(--tr-ink);
  margin: 24px 0 12px;
  letter-spacing: -0.005em;
}
.tr__subhead--muted { color: var(--tr-ink-40); }

/* Honest Record strip introducing the Top Signals section — sits
   between the section head and the pick grid so the reader meets
   the ledger the moment they engage with the LEAD SIGNAL card. */
.tr__sec-record {
  margin: 16px 0 20px;
}

/* ── The Fold — headline feature ──────────────────────────────── */

.tr__sec--fold .tr__sec-kicker {
  background: var(--tr-flame-lite);
  color: var(--tr-flame);
}

.tr-fold {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tr-fold__card {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 22px 26px;
  background: var(--tr-paper-2);
  border: 1px solid var(--tr-line);
  border-left: 4px solid var(--tr-copper);
  border-radius: 6px;
  box-shadow: 0 4px 14px -8px rgba(26, 22, 18, 0.10);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  color: inherit;
}
.tr-fold__card:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -14px rgba(26, 22, 18, 0.18);
}
.tr-fold__card--n3 {
  border-left-color: var(--tr-flame);
  background:
    linear-gradient(180deg, var(--tr-flame-lite), transparent 60%),
    var(--tr-paper-2);
}
.tr-fold__card--n4,
.tr-fold__card--n5,
.tr-fold__card--n6 {
  border-left-color: var(--tr-flame);
  background:
    linear-gradient(180deg, rgba(200, 69, 31, 0.14), transparent 60%),
    var(--tr-paper-2);
}
.tr-fold__count {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  border-right: 1px dashed var(--tr-ink-20);
}
.tr-fold__count-num {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 200;
  font-style: italic;
  font-size: 64px;
  line-height: 0.85;
  color: var(--tr-copper-deep);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.tr-fold__card--n3 .tr-fold__count-num,
.tr-fold__card--n4 .tr-fold__count-num,
.tr-fold__card--n5 .tr-fold__count-num,
.tr-fold__card--n6 .tr-fold__count-num {
  color: var(--tr-flame);
  font-weight: 900;
  font-style: normal;
}
.tr-fold__count-total {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tr-ink-40);
  margin-top: 4px;
}
.tr-fold__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tr-fold__horse {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 900;
  font-size: 26px;
  line-height: 1.1;
  color: var(--tr-ink);
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
.tr-fold__race {
  font-size: 11px;
  font-weight: 700;
  color: var(--tr-ink-40);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}
.tr-fold__race strong {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  color: var(--tr-ink-70);
  text-transform: none;
  margin-right: 3px;
  letter-spacing: -0.005em;
}
.tr-fold__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.tr-fold__chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  background: var(--tr-paper-deep);
  border: 1px solid var(--tr-line);
  border-radius: 3px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--tr-ink-70);
}
.tr-fold__chip--sr,
.tr-fold__chip--or,
.tr-fold__chip--ts {
  background: var(--tr-copper-lite);
  color: var(--tr-copper-deep);
  border-color: rgba(139, 90, 43, 0.28);
}
.tr-fold__chip--ai_consensus {
  background: var(--tr-gold-lite);
  color: var(--tr-gold-deep);
  border-color: rgba(195, 158, 42, 0.36);
}
.tr-fold__chip--systems {
  background: rgba(159, 122, 27, 0.14);
  color: var(--tr-gold-deep);
  border-color: rgba(195, 158, 42, 0.36);
}
.tr-fold__chip--steamer,
.tr-fold__chip--sharp_move {
  background: var(--tr-emerald-lt);
  color: var(--tr-emerald);
  border-color: rgba(26, 125, 74, 0.28);
}
.tr-fold__chip--trainer_streak,
.tr-fold__chip--trainer_hot {
  background: var(--tr-flame-lite);
  color: var(--tr-flame);
  border-color: rgba(200, 69, 31, 0.28);
}
.tr-fold__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  padding-left: 20px;
  border-left: 1px solid var(--tr-line);
  min-width: 96px;
}
.tr-fold__price-val {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 900;
  font-style: italic;
  font-variant-numeric: tabular-nums;
  font-size: 28px;
  line-height: 1;
  color: var(--tr-copper-deep);
  letter-spacing: -0.01em;
}
.tr-fold__result {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 8px;
  background: var(--tr-paper-deep);
  color: var(--tr-ink-40);
  border-radius: 3px;
  white-space: nowrap;
}
.tr-fold__result--gold     { background: var(--tr-gold-lite);    color: var(--tr-gold-deep); }
.tr-fold__result--silver   { background: rgba(140, 150, 165, 0.18); color: #4a5566; }
.tr-fold__result--bronze   { background: rgba(160, 90, 40, 0.18);   color: #7a4a20; }
.tr-fold__result--neutral  { background: var(--tr-paper-deep);      color: var(--tr-ink-40); }
.tr-fold__result--grey     { background: var(--tr-claret-lt);       color: var(--tr-claret); }
.tr-fold__result--red      { background: var(--tr-claret-lt);       color: var(--tr-claret); }
.tr-fold__result--pending  { background: var(--tr-paper-deep);      color: var(--tr-pending); }

/* ── Sly Man's Take — pull-quote ──────────────────────────────── */

/* ── Sly Man's Take — magazine layout ───────────────────────────
 * Prose flows full-width on top; a 4-tile stat strip anchors the
 * card at the bottom. Reads like a newspaper column with a data
 * caption underneath rather than a sidebar competing for width.
 * Strip collapses to 2×2 on tablet, single column on mobile.
 */
.tr-take {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 40px 26px;
  background: linear-gradient(180deg, var(--tr-paper-warm), var(--tr-paper-2));
  border: 1px solid var(--tr-line);
  border-radius: 6px;
  box-shadow: 0 6px 22px -14px rgba(26, 22, 18, 0.25);
}
.tr-take__main { min-width: 0; }

.tr-take__headline {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--tr-ink);
  margin: 0 0 18px;
}

.tr-take__body {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.65;
  color: var(--tr-ink);
  margin: 0 0 18px;
  max-width: 60ch;
}
.tr-take__body p { margin: 0 0 14px; }
.tr-take__body p:last-child { margin-bottom: 0; }
.tr-take__body strong,
.tr-take__body .horse-link {
  font-weight: 800;
  color: var(--tr-ink);
}
.tr-take__body a {
  color: var(--tr-copper-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--tr-copper-lite);
}
.tr-take__body a:hover { border-bottom-color: var(--tr-copper-deep); }
.tr-take__body .horse-link { border-bottom-color: var(--tr-copper-lite); }

.tr-take__byline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--tr-line);
  font-size: 12px;
  color: var(--tr-ink-40);
}
.tr-take__signature {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 900;
  font-size: 14px;
  color: var(--tr-copper-deep);
}
.tr-take__signature::before {
  content: '— ';
  color: var(--tr-ink-40);
}
.tr-take__ts {
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 700;
}
.tr-take__note {
  margin: 16px 0 0;
  padding: 10px 14px;
  background: var(--tr-claret-lt);
  border: 1px dashed rgba(160, 48, 64, 0.22);
  border-radius: 4px;
  font-size: 12px;
  color: var(--tr-claret);
}

/* ── Bottom stat strip: 4 tiles in a row ──────────────────────── */
.tr-take__rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--tr-line);
}
.tr-take__tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--tr-line);
  border-left: 3px solid var(--tr-copper);
  border-radius: 4px;
  transition: background 0.15s ease;
}
.tr-take__tile--muted {
  border-left-color: var(--tr-ink-20);
  background: transparent;
}
.tr-take__tile--muted .tr-take__tile-value,
.tr-take__tile--muted .tr-take__tile-icon { color: var(--tr-ink-40); }

.tr-take__tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--tr-copper-deep);
  flex-shrink: 0;
}
.tr-take__tile-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.tr-take__tile-value {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  color: var(--tr-ink);
  font-variant-numeric: tabular-nums;
}
.tr-take__tile-label {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tr-ink-40);
  line-height: 1.25;
}

/* ── Responsive: 4×1 → 2×2 → 1-column as viewport narrows ─────── */
@media (max-width: 900px) {
  .tr-take {
    gap: 20px;
    padding: 26px 24px 22px;
  }
  .tr-take__rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
@media (max-width: 480px) {
  .tr-take__rail { grid-template-columns: 1fr; }
  .tr-take__headline { font-size: 26px; }
}

/* ── Top Signals — card grid (see _pick_card.html) ─────────────
 *
 * Replaces the previous 7-column data-table treatment. Reader
 * feedback: the horse name was too small and the result badge
 * was buried; a table forces both. Card grid mirrors HTW's
 * shape so the two products read as one visual system.
 *
 * DOM: .tr-pick-grid > .tr-pick-card* (one per signal).
 * Card layout is 3-column:
 *
 *   ┌──────────────────────┬────────────┐
 *   │  race meta + rank    │  odds      │
 *   ├──────────────────────┤            │
 *   │  HORSE NAME (h3)     │  ─────     │
 *   │  editorial note      │  RESULT    │
 *   │  chip row            │  BADGE     │
 *   └──────────────────────┴────────────┘
 */

.tr-pick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 14px;
}

.tr-pick-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  gap: 8px 18px;
  align-items: stretch;
  padding: 16px 18px 14px;
  background: var(--tr-paper-2);
  border: 1px solid var(--tr-line);
  border-radius: 6px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.tr-pick-card:hover {
  border-color: var(--tr-copper);
  box-shadow: 0 4px 14px rgba(139, 90, 43, 0.08);
}

/* Lead card — the top signal of the day. Slight promotion:
 * accent border, subtle background wash so the eye lands here
 * first. No other structural change — same grid shape. */
.tr-pick-card--lead {
  border-color: var(--tr-flame);
  background: linear-gradient(180deg, var(--tr-flame-lite), var(--tr-paper-2) 60%);
  box-shadow: 0 6px 16px rgba(217, 105, 33, 0.10);
}

/* ── Header row: race meta + rank/lead pill ─────────────── */
.tr-pick-card__head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--tr-line);
  margin-bottom: 4px;
}
.tr-pick-card__race {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
.tr-pick-card__time {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 15px;
  color: var(--tr-copper-deep);
  letter-spacing: -0.005em;
}
.tr-pick-card__course {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tr-ink-40);
}
.tr-pick-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  background: var(--tr-flame);
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 3px;
  white-space: nowrap;
}
.tr-pick-card__rank {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.10em;
  color: var(--tr-ink-40);
  font-variant-numeric: tabular-nums;
}

/* ── Body: horse name (hero of the card), note, chips ───── */
.tr-pick-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.tr-pick-card__horse {
  margin: 0;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--tr-ink);
  overflow-wrap: anywhere;
}
.tr-pick-card__horse a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted var(--tr-line-strong);
}
.tr-pick-card__horse a:hover {
  color: var(--tr-copper-deep);
  border-bottom-style: solid;
}
.tr-pick-card__horse-empty { color: var(--tr-ink-40); }

.tr-pick-card__note {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--tr-ink-70);
}

.tr-pick-card__chips {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tr-pick-card__chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  background: var(--tr-paper-deep);
  color: var(--tr-ink-70);
}
.tr-pick-card__chip-key {
  font-weight: 800;
  letter-spacing: 0.10em;
  font-size: 9.5px;
  text-transform: uppercase;
  color: var(--tr-ink-40);
}
.tr-pick-card__chip-val {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  color: var(--tr-ink);
}
.tr-pick-card__chip--sr {
  background: var(--tr-copper-lite);
  color: var(--tr-copper-deep);
}
.tr-pick-card__chip--sr .tr-pick-card__chip-key,
.tr-pick-card__chip--sr .tr-pick-card__chip-val { color: var(--tr-copper-deep); }
.tr-pick-card__chip--consensus {
  background: var(--tr-gold-lite);
  color: var(--tr-gold-deep);
}
.tr-pick-card__chip--consensus .tr-pick-card__chip-key { color: var(--tr-gold-deep); }
.tr-pick-card__chip-stars {
  display: inline-flex;
  gap: 1px;
  color: var(--tr-gold);
  font-size: 12px;
  line-height: 1;
}
.tr-pick-card__chip-star-dim { color: var(--tr-ink-20); }
.tr-pick-card__chip--move-in {
  background: var(--tr-emerald-lt);
  color: var(--tr-emerald);
}
.tr-pick-card__chip--move-in .tr-pick-card__chip-val { color: var(--tr-emerald); }
.tr-pick-card__chip--move-out {
  background: var(--tr-claret-lt);
  color: var(--tr-claret);
}
.tr-pick-card__chip--move-out .tr-pick-card__chip-val { color: var(--tr-claret); }
.tr-pick-card__chip-arrow {
  font-size: 12px;
  line-height: 1;
}

/* ── Right stack: odds + result badge (prominent, HTW-style) ─── */
.tr-pick-card__stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  justify-content: flex-start;
}
.tr-pick-card__odds {
  display: block;
  padding: 6px 10px;
  background: var(--tr-paper-deep);
  color: var(--tr-ink);
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  text-align: center;
  border-radius: 3px;
}
.tr-pick-card__result {
  border-radius: 5px;
  padding: 10px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: rgba(26, 22, 18, 0.05);
  border: 1px dashed var(--tr-line-strong);
  color: var(--tr-ink-40);
}
.tr-pick-card__result.is-settled { border-style: solid; }
.tr-pick-card__result-label {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  line-height: 1;
}
.tr-pick-card__result-detail {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Result tints — mirror HTW so a WON badge reads instantly. */
.tr-pick-card__result--gold {
  background: linear-gradient(135deg, #f5e49a 0%, #c39e2a 100%);
  color: #2a1f08;
  border-color: var(--tr-gold);
  box-shadow: 0 0 0 1px rgba(195, 158, 42, 0.4),
              0 4px 14px rgba(195, 158, 42, 0.25);
}
.tr-pick-card__result--silver {
  background: linear-gradient(135deg, #f0f0f0 0%, #b8bcc4 100%);
  color: #2a2f38;
  border-color: #b8bcc4;
}
.tr-pick-card__result--bronze {
  background: linear-gradient(135deg, #e8b783 0%, #b8702c 100%);
  color: #2a1808;
  border-color: #b8702c;
}
.tr-pick-card__result--neutral {
  background: var(--tr-paper-deep);
  color: var(--tr-ink-40);
  border-color: var(--tr-line);
}
.tr-pick-card__result--grey {
  background: var(--tr-paper-deep);
  color: var(--tr-ink-40);
  border-color: var(--tr-line);
}
.tr-pick-card__result--red {
  background: var(--tr-claret-lt);
  color: var(--tr-claret);
  border-color: rgba(192, 57, 43, 0.35);
}
.tr-pick-card__result--pending {
  background: var(--tr-paper-deep);
  color: var(--tr-pending);
  border-color: var(--tr-line);
  border-style: dashed;
}

/* ── The Ratings — 3-column labeled cards ─────────────────────── */

.tr-ratings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.tr-ratings__col {
  background: var(--tr-paper-2);
  border: 1px solid var(--tr-line);
  border-radius: 6px;
  overflow: hidden;
}
.tr-ratings__head {
  padding: 14px 18px;
  background: var(--tr-paper-deep);
  border-bottom: 1px solid var(--tr-line);
}
.tr-ratings__abbr {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 900;
  font-size: 24px;
  color: var(--tr-copper-deep);
  line-height: 1;
  letter-spacing: -0.02em;
}
.tr-ratings__title {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tr-ink-40);
}
.tr-ratings__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tr-ratings__empty {
  padding: 22px 18px;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 13px;
  color: var(--tr-ink-40);
  margin: 0;
  text-align: center;
}

/* ──────────────────────────────────────────────────────────────────
 * Rating cards — SR / OR / TS lanes.
 *
 * Reviewer's core note on this section: "The 157 should be huge.
 * That is the data point. At the moment I suspect the horse name
 * has greater visual weight than the score. For an analytical
 * product: make the metric visually dominant."
 *
 * Design: three-column card (rank pill · body · METRIC). Metric is
 * the Playfair display serif at 32-36px with tabular-nums — it's
 * the visual anchor that a reader's eye lands on first. Horse name
 * drops to 14.5px so the number wins the pixel budget. */

.tr-ratings__list--cards {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tr-rating {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--tr-paper-2);
  border: 1px solid var(--tr-line);
  border-radius: 3px;
  transition: box-shadow 0.15s, transform 0.15s;
}

.tr-rating:first-child {
  border-left: 3px solid var(--tr-gold);
}

.tr-rating:hover {
  box-shadow: 0 2px 6px rgba(26, 22, 18, 0.06);
  transform: translateY(-1px);
}

.tr-rating__rank {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--tr-ink-40);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.tr-rating__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tr-rating__horse {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--tr-ink);
  margin: 0;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tr-rating__horse a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}

.tr-rating__horse a:hover {
  border-bottom-color: var(--tr-copper);
}

.tr-rating__meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 10.5px;
  color: var(--tr-ink-70);
  letter-spacing: 0.02em;
}

.tr-rating__time {
  font-weight: 600;
  color: var(--tr-copper);
  font-variant-numeric: tabular-nums;
}

.tr-rating__course::before {
  content: "·";
  margin-right: 6px;
  color: var(--tr-ink-40);
}

.tr-rating__odds {
  margin-left: auto;
  padding: 1px 6px;
  border-radius: 2px;
  background: var(--tr-paper-deep);
  color: var(--tr-ink);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 10.5px;
  letter-spacing: 0.01em;
}

.tr-rating__metric {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--tr-gold-deep);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.02em;
  padding-left: 6px;
}

/* Rating card footer — result chip + verify chip sit on the same
 * row so the reader can scan "did this rating land?" at a glance
 * alongside the cryptographic verify link. Same visual grammar
 * the Signals table already uses. */
.tr-rating__footer {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.tr-rating__result {
  padding: 3px 8px;
  border-radius: 3px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--tr-paper-deep);
  color: var(--tr-ink-40);
  white-space: nowrap;
}
.tr-rating__result--gold    { background: var(--tr-gold-lite);       color: var(--tr-gold-deep); }
.tr-rating__result--silver  { background: rgba(140, 150, 165, 0.18); color: #4a5566; }
.tr-rating__result--bronze  { background: rgba(160, 90, 40, 0.18);   color: #7a4a20; }
.tr-rating__result--neutral { background: var(--tr-paper-deep);      color: var(--tr-ink-40); }
.tr-rating__result--grey    { background: var(--tr-claret-lt);       color: var(--tr-claret); }
.tr-rating__result--red     { background: var(--tr-claret-lt);       color: var(--tr-claret); }
.tr-rating__result--pending { background: var(--tr-paper-deep);      color: var(--tr-pending); }

/* Verify chip inside the footer — override the default flex-start
 * alignment so it sits inline with the result chip. */
.tr-rating__footer > .verify-chip {
  margin-top: 0;
}

@media (max-width: 560px) {
  .tr-rating {
    padding: 9px 11px;
    gap: 8px;
    grid-template-columns: 28px minmax(0, 1fr) auto;
  }
  .tr-rating__metric {
    font-size: 28px;
  }
  .tr-rating__horse {
    font-size: 14px;
  }
}

/* ── Pick partial — shared row across sections ────────────────── */

.tr-picks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}
.tr-pick {
  background: var(--tr-paper-2);
  border: 1px solid var(--tr-line);
  border-radius: 6px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}
.tr-pick--in  { border-left: 3px solid var(--tr-emerald); }
.tr-pick--out { border-left: 3px solid var(--tr-claret); }
.tr-pick--muted { opacity: 0.75; }
.tr-pick--rating,
.tr-pick--angle {
  background: transparent;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--tr-line);
  padding: 12px 18px;
  border-left: none;
}
.tr-pick--rating:last-child,
.tr-pick--angle:last-child { border-bottom: none; }
.tr-pick__body { min-width: 0; }
.tr-pick__horse {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--tr-ink);
  text-decoration: none;
  letter-spacing: -0.005em;
  margin-bottom: 3px;
}
.tr-pick__horse:hover { color: var(--tr-copper-deep); }
.tr-pick__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
  font-size: 11px;
  font-weight: 700;
  color: var(--tr-ink-40);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tr-pick__race-time {
  font-variant-numeric: tabular-nums;
  color: var(--tr-copper-deep);
  font-weight: 800;
}
.tr-pick__value {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 900;
  font-style: italic;
  font-size: 15px;
  color: var(--tr-copper-deep);
  text-transform: none;
  letter-spacing: -0.005em;
}
.tr-pick__value--in  { color: var(--tr-emerald); }
.tr-pick__value--out { color: var(--tr-claret); }
.tr-pick__tail {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.tr-pick__price {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  color: var(--tr-ink-70);
  font-size: 13px;
}
.tr-pick__result {
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--tr-paper-deep);
  color: var(--tr-ink-40);
}
.tr-pick__result--gold     { background: var(--tr-gold-lite);         color: var(--tr-gold-deep); }
.tr-pick__result--silver   { background: rgba(140, 150, 165, 0.18);   color: #4a5566; }
.tr-pick__result--bronze   { background: rgba(160, 90, 40, 0.18);     color: #7a4a20; }
.tr-pick__result--neutral  { background: var(--tr-paper-deep);        color: var(--tr-ink-40); }
.tr-pick__result--grey     { background: var(--tr-claret-lt);         color: var(--tr-claret); }
.tr-pick__result--red      { background: var(--tr-claret-lt);         color: var(--tr-claret); }
.tr-pick__result--pending  { background: var(--tr-paper-deep);        color: var(--tr-pending); }

/* ── The Angles — 2-column cards grid ─────────────────────────── */

.tr-angles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.tr-angle {
  background: var(--tr-paper-2);
  border: 1px solid var(--tr-line);
  border-radius: 6px;
  overflow: hidden;
}
.tr-angle__head {
  padding: 14px 18px;
  background: var(--tr-paper-deep);
  border-bottom: 1px solid var(--tr-line);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.tr-angle__title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 900;
  font-size: 17px;
  color: var(--tr-ink);
  letter-spacing: -0.01em;
  margin: 0;
}
.tr-angle__tag {
  margin-left: auto;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tr-copper-deep);
  padding: 2px 7px;
  background: var(--tr-copper-lite);
  border-radius: 2px;
}
.tr-angle__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ── Responsive ───────────────────────────────────────────────── */

@media (max-width: 820px) {
  .tr__sec-head { flex-wrap: wrap; }
  .tr__sec-lede {
    margin-left: 0;
    text-align: left;
    max-width: 100%;
    flex-basis: 100%;
  }

  .tr-fold__card {
    grid-template-columns: 66px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 10px 14px;
    padding: 16px 18px;
  }
  .tr-fold__count {
    grid-row: 1 / span 2;
    padding: 4px 0;
  }
  .tr-fold__count-num { font-size: 42px; }
  .tr-fold__body { grid-column: 2; }
  .tr-fold__horse { font-size: 20px; }
  .tr-fold__price {
    grid-column: 2;
    flex-direction: row;
    align-items: baseline;
    padding: 8px 0 0;
    border-left: none;
    border-top: 1px solid var(--tr-line);
    justify-content: flex-start;
    min-width: 0;
    gap: 10px;
    width: 100%;
  }

  /* ── Top Signals card grid — MOBILE ───────────────────────
   * Single-column stack. Card shape survives from desktop —
   * grid template collapses to one column, horse name stays
   * the hero, result badge stays in a fixed slot on the right
   * so the "did it win?" answer is instantly visible.
   */
  .tr-pick-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .tr-pick-card {
    grid-template-columns: minmax(0, 1fr) 90px;
    gap: 6px 12px;
    padding: 14px 16px 12px;
  }
  .tr-pick-card__horse { font-size: 19px; }
  .tr-pick-card__time  { font-size: 13px; }
  .tr-pick-card__odds  { font-size: 14px; padding: 5px 8px; }
  .tr-pick-card__result { padding: 8px 6px; }
  .tr-pick-card__result-label  { font-size: 11.5px; letter-spacing: 0.08em; }
  .tr-pick-card__result-detail { font-size: 9px; }

  .tr-ratings,
  .tr-angles { grid-template-columns: 1fr; }

  .tr__stats { flex-direction: column; gap: 8px; padding: 12px 20px; }
  .tr__stat-sep { display: none; }

  .tr-take { padding: 26px 22px 20px; }
  .tr-take::before { font-size: 72px; top: -14px; }
}

/* ──────────────────────────────────────────────────────────────────
 * Systems Consensus — the "engines colliding" card.
 *
 * Editorial rationale: when 3-4 independent Saturday Racing analytical
 * systems land on the same horse independently, that IS the signal.
 * The chip design has to be visually louder than a generic pick card
 * without shouting. Achieved with a gold-tinted left border, an
 * oversized count badge on the left, and lit engine dots that make
 * the "N systems agreed" visible at a glance.
 *
 * Tier: PRIMARY. Under the reviewer's tiering system this is the
 * strongest visual moment on the page, alongside Sly Man's Take. */

.tr__sec--consensus .tr__sec-title {
  color: var(--tr-gold-deep);
}

/* ──────────────────────────────────────────────────────────────────
 * Reference tier — Ratings + Angles.
 *
 * Reviewer's brief: "Everything says READ ME. I would introduce
 * three visual tiers. PRIMARY: Sly Man's Take / Top Signals /
 * Systems Consensus. SECONDARY: The Money. REFERENCE: Ratings /
 * The Angles. Make Ratings and Angles visually quieter."
 *
 * De facto tier system after this PR:
 *   · PRIMARY  — default styling plus tone-specific accents
 *                (Consensus gold, Fold copper). Signals, Take,
 *                Consensus, The Fold.
 *   · SECONDARY — plain default. The Money.
 *   · REFERENCE — this modifier. Smaller header, tighter padding,
 *                muted title, shrunk lede. Ratings + Angles.
 *
 * Intent: reader's eye lands on Primary sections first, glances
 * past Secondary, and skims Reference for numbers only. Same
 * information density, ~20% less visual noise on the page.
 *
 * NOT collapsed. The reviewer floated collapsed-on-mobile for
 * Ratings; pushed back — a Cub who tapped through specifically
 * for the numbers shouldn't be gated behind a click. Demote,
 * don't hide. */

.tr__sec--reference { margin-bottom: 32px; }

.tr__sec--reference .tr__sec-head {
  padding-bottom: 8px;
  margin-bottom: 14px;
  gap: 10px;
  border-bottom-color: var(--tr-ink-20);
}

.tr__sec--reference .tr__sec-kicker {
  font-size: 9px;
  letter-spacing: 0.2em;
  padding: 2px 6px;
  background: transparent;
  color: var(--tr-ink-40);
}

.tr__sec--reference .tr__sec-title {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  color: var(--tr-ink-70);
  letter-spacing: -0.005em;
}

.tr__sec--reference .tr__sec-lede {
  font-size: 12px;
  font-style: normal;
  color: var(--tr-ink-40);
  max-width: 36ch;
}

/* Angles: the article sub-headers ("Trainer hot streak") inside
 * a reference-tier section also drop a notch so the section reads
 * as one quiet block instead of a stack of loud sub-sections. */
.tr__sec--reference .tr-angle__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--tr-ink-70);
}

.tr__sec--reference .tr-angle__tag {
  font-size: 9px;
  color: var(--tr-ink-40);
}

/* Ratings sub-header (SR / OR / TS abbreviation) also shrinks
 * under reference tier — the LANE label is not the story, the
 * NUMBER on each card is. */
.tr__sec--reference .tr-ratings__abbr {
  font-size: 20px;
  color: var(--tr-ink-70);
}

.tr__sec--reference .tr-ratings__title {
  font-size: 11px;
  color: var(--tr-ink-40);
}

/* ──────────────────────────────────────────────────────────────────
 * The Money — price movement cards.
 *
 * Reviewer's brief: "You already have the data. Make the movement
 * itself the visual. Bullington Bry 8/1 → 3/1, ↓ 62.5%, SHARP
 * MONEY. Sound Janet 22/1 → 66/1, ↑ 200%, MARKET COOLING."
 *
 * Card layout: horse + race meta at the top, then a big horizontal
 * arrow between the opening and current odds with the delta% badge
 * inline. Steamers (money coming in) get emerald tint; drifters
 * (market cooling) get claret. The label under the arrow tells
 * the story in three words. */

.tr-moves {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.tr-move {
  background: var(--tr-paper-2);
  border: 1px solid var(--tr-line);
  border-radius: 4px;
  padding: 12px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.15s, transform 0.15s;
}

.tr-move:hover {
  box-shadow: 0 2px 6px rgba(26, 22, 18, 0.06);
  transform: translateY(-1px);
}

.tr-move--in  { border-left: 3px solid var(--tr-emerald); }
.tr-move--out { border-left: 3px solid var(--tr-claret); }

.tr-move__head {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tr-move__horse {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--tr-ink);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.tr-move__horse a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}

.tr-move--in  .tr-move__horse a:hover { border-bottom-color: var(--tr-emerald); }
.tr-move--out .tr-move__horse a:hover { border-bottom-color: var(--tr-claret); }

.tr-move__meta {
  display: flex;
  gap: 6px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 10.5px;
  color: var(--tr-ink-70);
  letter-spacing: 0.02em;
}

.tr-move__time {
  font-weight: 600;
  color: var(--tr-copper);
  font-variant-numeric: tabular-nums;
}

.tr-move__course::before {
  content: "·";
  margin-right: 6px;
  color: var(--tr-ink-40);
}

/* ── The arrow visualisation ─────────────────────────────────────── */
.tr-move__viz {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 4px 4px;
  flex-wrap: wrap;
}

.tr-move__odds {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: 18px;
  letter-spacing: 0.01em;
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--tr-paper-deep);
  color: var(--tr-ink);
  line-height: 1.25;
}

.tr-move__odds--to {
  background: transparent;
}

.tr-move--in  .tr-move__odds--to {
  background: var(--tr-emerald-lt);
  color: var(--tr-emerald);
  font-weight: 900;
}

.tr-move--out .tr-move__odds--to {
  background: var(--tr-claret-lt);
  color: var(--tr-claret);
  font-weight: 900;
}

.tr-move__arrow {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
}

.tr-move--in  .tr-move__arrow { color: var(--tr-emerald); }
.tr-move--out .tr-move__arrow { color: var(--tr-claret); }

.tr-move__delta {
  margin-left: auto;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.tr-move--in  .tr-move__delta { color: var(--tr-emerald); }
.tr-move--out .tr-move__delta { color: var(--tr-claret); }

.tr-move__delta-caret {
  font-size: 13px;
  line-height: 1;
}

/* ── The verbal label under the arrow ────────────────────────────── */
.tr-move__label {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  align-self: flex-start;
  padding: 2px 6px;
  border-radius: 2px;
}

.tr-move--in .tr-move__label {
  color: var(--tr-emerald);
  background: var(--tr-emerald-lt);
}

.tr-move--out .tr-move__label {
  color: var(--tr-claret);
  background: var(--tr-claret-lt);
}

.tr-move__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  min-height: 20px;
}

/* Prominent result badge — same visual grammar as .tr-pick-card__result
 * and .tr-consensus__result so the whole article speaks with one voice
 * on the "did this pick land?" question. */
.tr-move__result {
  border-radius: 5px;
  padding: 8px 10px;
  text-align: center;
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  min-width: 88px;
  background: rgba(26, 22, 18, 0.05);
  border: 1px dashed var(--tr-line-strong);
  color: var(--tr-ink-40);
}
.tr-move__result.is-settled { border-style: solid; }
.tr-move__result-label {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  line-height: 1;
}
.tr-move__result-detail {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}
.tr-move__result--gold {
  background: linear-gradient(135deg, #f5e49a 0%, #c39e2a 100%);
  color: #2a1f08;
  border-color: var(--tr-gold);
  box-shadow: 0 0 0 1px rgba(195, 158, 42, 0.4),
              0 4px 14px rgba(195, 158, 42, 0.25);
}
.tr-move__result--silver {
  background: linear-gradient(135deg, #f0f0f0 0%, #b8bcc4 100%);
  color: #2a2f38;
  border-color: #b8bcc4;
}
.tr-move__result--bronze {
  background: linear-gradient(135deg, #e8b783 0%, #b8702c 100%);
  color: #2a1808;
  border-color: #b8702c;
}
.tr-move__result--neutral {
  background: var(--tr-paper-deep);
  color: var(--tr-ink-40);
  border-color: var(--tr-line);
}
.tr-move__result--grey {
  background: var(--tr-paper-deep);
  color: var(--tr-ink-40);
  border-color: var(--tr-line);
}
.tr-move__result--red {
  background: var(--tr-claret-lt);
  color: var(--tr-claret);
  border-color: rgba(192, 57, 43, 0.35);
}
.tr-move__result--pending {
  background: var(--tr-paper-deep);
  color: var(--tr-pending);
  border-color: var(--tr-line);
  border-style: dashed;
}

@media (max-width: 560px) {
  .tr-moves { grid-template-columns: 1fr; }
  .tr-move__odds { font-size: 16px; }
  .tr-move__horse { font-size: 19px; }
}

.tr-consensus-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

.tr-consensus {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 0;
  background: var(--tr-paper-2);
  border: 1px solid var(--tr-line);
  border-left: 4px solid var(--tr-gold);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(26, 22, 18, 0.04);
  transition: box-shadow 0.15s, transform 0.15s;
}

.tr-consensus:hover {
  box-shadow: 0 4px 12px rgba(26, 22, 18, 0.09);
  transform: translateY(-1px);
}

/* ── Left: N SYSTEMS AGREE badge ────────────────────────── */
.tr-consensus__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    145deg,
    var(--tr-gold-lite) 0%,
    rgba(195, 158, 42, 0.05) 100%);
  padding: 14px 6px;
  border-right: 1px solid var(--tr-line);
  gap: 3px;
}

.tr-consensus__badge-count {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--tr-gold-deep);
  line-height: 1;
  letter-spacing: -0.02em;
}

.tr-consensus__badge-label {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--tr-gold-deep);
  text-transform: uppercase;
  text-align: center;
  line-height: 1.1;
}

/* ── Right: horse + engines ─────────────────────────────── */
.tr-consensus__body {
  padding: 14px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tr-consensus__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.tr-consensus__horse {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--tr-ink);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.005em;
  flex: 1 1 auto;
  min-width: 0;
}

.tr-consensus__horse a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}

.tr-consensus__horse a:hover {
  border-bottom-color: var(--tr-gold);
}

.tr-consensus__odds {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 3px;
  background: var(--tr-paper-deep);
  color: var(--tr-ink);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  flex: 0 0 auto;
}

.tr-consensus__where {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: var(--tr-ink-70);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: 0.02em;
}

.tr-consensus__time {
  font-weight: 600;
  color: var(--tr-copper);
  font-variant-numeric: tabular-nums;
}

.tr-consensus__course::before {
  content: "·";
  margin-right: 8px;
  color: var(--tr-ink-40);
}

/* ── Engine chips (the differentiator) ──────────────────── */
.tr-consensus__engines {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 10px;
}

.tr-consensus__engine {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.tr-consensus__engine-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tr-gold);
  box-shadow:
    0 0 0 2px var(--tr-paper-2),
    0 0 0 3px rgba(195, 158, 42, 0.35);
}

.tr-consensus__engine-label {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--tr-ink-70);
  letter-spacing: 0.09em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tr-consensus__foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
  min-height: 20px;
}

/* Result chip inside the Consensus card foot — mirrors the palette
 * of .tr-fold__result / .tr-pick-card__result / .tr-rating__result so
 * every "did this pick land?" chip on the article page reads with
 * the same visual grammar. */
/* Prominent stacked badge — mirrors .tr-pick-card__result so
 * every "did this pick land?" chip on the article reads with the
 * same visual grammar. Label + detail visible without hovering. */
.tr-consensus__result {
  border-radius: 5px;
  padding: 8px 10px;
  text-align: center;
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  min-width: 88px;
  background: rgba(26, 22, 18, 0.05);
  border: 1px dashed var(--tr-line-strong);
  color: var(--tr-ink-40);
}
.tr-consensus__result.is-settled { border-style: solid; }
.tr-consensus__result-label {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  line-height: 1;
}
.tr-consensus__result-detail {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}
.tr-consensus__result--gold {
  background: linear-gradient(135deg, #f5e49a 0%, #c39e2a 100%);
  color: #2a1f08;
  border-color: var(--tr-gold);
  box-shadow: 0 0 0 1px rgba(195, 158, 42, 0.4),
              0 4px 14px rgba(195, 158, 42, 0.25);
}
.tr-consensus__result--silver {
  background: linear-gradient(135deg, #f0f0f0 0%, #b8bcc4 100%);
  color: #2a2f38;
  border-color: #b8bcc4;
}
.tr-consensus__result--bronze {
  background: linear-gradient(135deg, #e8b783 0%, #b8702c 100%);
  color: #2a1808;
  border-color: #b8702c;
}
.tr-consensus__result--neutral {
  background: var(--tr-paper-deep);
  color: var(--tr-ink-40);
  border-color: var(--tr-line);
}
.tr-consensus__result--grey {
  background: var(--tr-paper-deep);
  color: var(--tr-ink-40);
  border-color: var(--tr-line);
}
.tr-consensus__result--red {
  background: var(--tr-claret-lt);
  color: var(--tr-claret);
  border-color: rgba(192, 57, 43, 0.35);
}
.tr-consensus__result--pending {
  background: var(--tr-paper-deep);
  color: var(--tr-pending);
  border-color: var(--tr-line);
  border-style: dashed;
}

/* Mobile — stack the badge above the body, drop to a single engine col. */
@media (max-width: 560px) {
  .tr-consensus-list {
    grid-template-columns: 1fr;
  }
  .tr-consensus {
    grid-template-columns: 1fr;
    border-left-width: 3px;
  }
  .tr-consensus__badge {
    flex-direction: row;
    gap: 10px;
    padding: 8px 14px;
    border-right: none;
    border-bottom: 1px solid var(--tr-line);
    justify-content: flex-start;
  }
  .tr-consensus__badge-count {
    font-size: 28px;
  }
  .tr-consensus__badge-label {
    text-align: left;
    line-height: 1.2;
    letter-spacing: 0.1em;
    font-size: 10px;
  }
  .tr-consensus__badge-label br { display: none; }
  .tr-consensus__horse { font-size: 19px; }
}

@media (max-width: 380px) {
  .tr-consensus__engines {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .tr-picks { grid-template-columns: 1fr; }
  .tr-fold__chips { gap: 4px; }
  .tr-fold__chip { padding: 3px 7px; font-size: 9px; }
}
