/* ═══════════════════════════════════════════════════════════════
   AI PICK CHIP — gold-bordered pill summarising the AI's winner
   pick + price + confidence, rendered by
   races/components/_ai_pick_chip.html.

   Self-contained: no parent-scope dependency, so any page that
   wants to show the AI tip on a race row/header can drop in
   the partial and load this stylesheet without inheriting from
   meetings_browse.html (the original home).

   Currently used by:
     • /races/                          (per-row chip on the
                                         meetings-browse list)
     • /races/meeting/<…>/full/         (per-race-section header
                                         on the full meeting view)

   The chip is interaction-agnostic — surfaces that want a
   hover treatment add their own .<container>:hover .ai-pick-chip
   rule rather than baking it into the component.
═══════════════════════════════════════════════════════════════ */
.ai-pick-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: linear-gradient(135deg, var(--c-gold-wash, #FBF6E3),
                                       var(--c-card, #FFFDF6) 80%);
  border: 1px solid var(--c-gold-ink, #6B4F0C);
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: background 0.15s, box-shadow 0.18s, transform 0.12s;
  text-decoration: none;
}
.ai-pick-chip__icon {
  color: var(--c-gold-ink, #6B4F0C);
  font-size: 12px;
  line-height: 1;
}
.ai-pick-chip__eyebrow {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--c-gold-ink, #6B4F0C);
}
.ai-pick-chip__name {
  color: var(--c-ink, #1A1A1A);
  font-weight: 700;
  font-family: var(--font-display, 'Iowan Old Style', Georgia, serif);
  font-size: 13.5px;
  letter-spacing: -0.01em;
  max-width: 14ch;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Current bookmaker price — the actionable signal. Gold ink,
   tabular nums so fractional prices column-align across rows. */
.ai-pick-chip__odds {
  color: var(--c-gold-ink, #6B4F0C);
  font-size: 11.5px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  padding-left: 6px;
  border-left: 1px solid var(--c-rule-strong, rgba(26,26,26,0.18));
  margin-left: 2px;
  letter-spacing: 0.01em;
}
/* Confidence (High / Medium / Speculative) — quieter than odds,
   the editorial nuance behind the pick. */
.ai-pick-chip__conf {
  color: var(--c-ink-40, rgba(26,26,26,0.40));
  font-size: 10.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding-left: 6px;
  border-left: 1px solid var(--c-rule-strong, rgba(26,26,26,0.18));
  margin-left: 2px;
}

/* Responsive — the eyebrow ("AI") + confidence chip drop out at
   narrow widths so the actionable bits (horse name + odds) keep
   their breathing room. Used on both /races/ and /full/. */
@media (max-width: 900px) {
  .ai-pick-chip__eyebrow,
  .ai-pick-chip__conf { display: none; }
}
@media (max-width: 600px) {
  .ai-pick-chip__name { max-width: none; }
}
