/* Shares the existing odds-page disclosure frame via .model-info. */
/* The chart is a row of the match board, opened. It carries no frame of its
   own: the table's border is already around it, and a second card was what
   made it read as an unrelated panel parked beside the table. */
.moneyline-history { margin: 0; border: 0; background: transparent; }
.moneyline-history__body { padding: 8px 14px 12px; border-top: 1px dashed var(--board-rule); }
.moneyline-history__foot {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 14px;
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--twill);
}
.moneyline-history__foot #history-status { color: var(--ink); }
.moneyline-history button {
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue-line);
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.moneyline-history button:hover { color: var(--goal-red); }
.moneyline-history :is(button, svg):focus-visible { outline: 2px solid var(--blue-line); outline-offset: 3px; }
.moneyline-history [hidden] { display: none; }
.moneyline-history__legend { display: flex; justify-content: flex-end; gap: 20px; font-weight: 600; font-size: 12px; margin: 0 0 4px; }
.moneyline-history__key::before { content: ''; display: inline-block; width: 24px; margin-right: 8px; vertical-align: middle; border-top: 3px solid var(--blue-line); }
.moneyline-history__key--home::before { border-top: 3px dashed var(--goal-red); }
.moneyline-history__key--line::before { border-top: 3px dotted var(--board); }
.moneyline-history__chart svg { display: block; width: 100%; height: 132px; }
.moneyline-history__chart text { font-family: var(--font-data); font-size: 11px; fill: var(--ink); }
.history-grid { stroke: var(--board-rule); }
.history-line { fill: none; stroke-width: 2; stroke-linejoin: round; }
.history-line--away { stroke: var(--blue-line); }
.history-line--home { stroke: var(--goal-red); stroke-dasharray: 6 3; }
.history-dot--away { fill: var(--blue-line); }
.history-dot--home { fill: var(--goal-red); }
/* The handicap, on its own right-hand axis: a total's line is in shots and
   its prices are in decimal odds, so they cannot share a scale. */
.history-line--line { stroke: var(--board); stroke-width: 1.5; stroke-dasharray: 2 3; }
.history-axis--line { fill: var(--twill); }
.history-cursor { stroke: var(--twill); stroke-dasharray: 3 4; }
.moneyline-history__readout { font-family: var(--font-data); font-size: 11px; min-height: 1.8em; margin: 4px 0; overflow-wrap: anywhere; }
.moneyline-history__note { font-size: 11px; color: var(--twill); }
@media (max-width: 600px) {
  .moneyline-history__body { padding: 8px 10px 10px; }
  .moneyline-history button { margin-left: 0; }
}
