/* Money Moves — standout market-movers band. Scoped under .money-moves. */

.money-moves {
  position: relative;
  background: #06070d;
  color: #fff;
  font-family: inherit;
  overflow: hidden;
  padding: 28px 0 32px;
  border-top: 1px solid rgba(74, 222, 128, 0.18);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

/* Soft aurora glow behind the hero — gives the section gravity without a heavy background. */
.money-moves__aurora {
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 70%;
  background:
    radial-gradient(50% 60% at 20% 30%, rgba(74, 222, 128, 0.18) 0%, transparent 70%),
    radial-gradient(40% 50% at 80% 30%, rgba(212, 175, 55, 0.16) 0%, transparent 70%);
  filter: blur(28px);
  opacity: 0.85;
  pointer-events: none;
  animation: mm-aurora 14s ease-in-out infinite alternate;
}
@keyframes mm-aurora {
  0%   { transform: translate3d(-2%, 0, 0) scale(1);    opacity: 0.85; }
  100% { transform: translate3d( 3%, 1%, 0) scale(1.06); opacity: 1.00; }
}

.money-moves__inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--page-gutter);
  box-sizing: border-box;
}

/* ── Header strip ──────────────────────────────────────────── */
.money-moves__head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}
.money-moves__head-titles { min-width: 0; }
.money-moves__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4ade80;
  margin-bottom: 6px;
}
.money-moves__pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.85);
  animation: mm-pulse 1.6s ease-in-out infinite;
}
@keyframes mm-pulse {
  0%, 100% { opacity: 1;    transform: scale(1);    }
  50%      { opacity: 0.45; transform: scale(1.35); }
}
.money-moves__title {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.005em;
}
.money-moves__updated {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-feature-settings: 'tnum';
}

/* ── Hero + stats grid ─────────────────────────────────────── */
.money-moves__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}

/* The hero card — single biggest steamer. */
.mm-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px 20px;
  background:
    linear-gradient(180deg, rgba(74, 222, 128, 0.10) 0%, rgba(74, 222, 128, 0.02) 70%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(74, 222, 128, 0.34);
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.mm-hero::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(60% 80% at 0% 0%, rgba(74, 222, 128, 0.22) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0.85;
}
.mm-hero:hover {
  transform: translateY(-2px);
  border-color: #4ade80;
  box-shadow: 0 12px 32px -16px rgba(74, 222, 128, 0.45);
}
.mm-hero__head { display: flex; align-items: center; }
.mm-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4ade80;
}
.mm-hero__flame { font-size: 13px; }
.mm-hero__horse {
  margin: 4px 0 2px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  text-wrap: balance;
}
.mm-hero__where {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
}

.mm-hero__prices {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 6px 0 2px;
  font-feature-settings: 'tnum';
}
.mm-hero__price {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1;
}
.mm-hero__price--was {
  font-size: clamp(28px, 3.2vw, 36px);
  color: rgba(255, 255, 255, 0.45);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.30);
}
.mm-hero__arrow {
  font-size: 24px;
  color: #4ade80;
  animation: mm-arrow 1.4s ease-in-out infinite;
}
@keyframes mm-arrow {
  0%, 100% { transform: translateX(0);    opacity: 1;   }
  50%      { transform: translateX(4px);  opacity: 0.7; }
}
.mm-hero__price--now {
  font-size: clamp(42px, 5.2vw, 64px);
  color: #4ade80;
  text-shadow: 0 0 24px rgba(74, 222, 128, 0.45);
}

.mm-hero__pct {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #4ade80;
  text-transform: uppercase;
  font-feature-settings: 'tnum';
}
.mm-hero__cta {
  align-self: flex-start;
  margin-top: 8px;
  padding: 9px 18px;
  border-radius: 8px;
  background: #4ade80;
  color: #06070d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: filter 0.15s;
}
.mm-hero:hover .mm-hero__cta { filter: brightness(1.08); }

/* Right-hand stat tiles + narrative. */
.mm-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.005) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}
.mm-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
  gap: 10px;
}
.mm-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 14px 14px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}
.mm-stat__num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  font-feature-settings: 'tnum';
}
.mm-stat__lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.mm-stat--steamers .mm-stat__num { color: #4ade80; }
.mm-stat--drifters .mm-stat__num { color: #fca5a5; }
.mm-stat--biggest  .mm-stat__num { color: var(--c-gold); }

.mm-narrative {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  text-wrap: balance;
}

/* ── Tables — top steamers + top drifters ─────────────────── */
.money-moves__tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.mm-table {
  padding: 16px 18px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}
.mm-table--steamers { border-color: rgba(74, 222, 128, 0.22); }
.mm-table--drifters { border-color: rgba(252, 165, 165, 0.22); }

.mm-table__head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.mm-table__glyph { font-size: 14px; line-height: 1; }
.mm-table--steamers .mm-table__glyph { color: #4ade80; }
.mm-table--drifters .mm-table__glyph { color: #fca5a5; }
.mm-table__title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.mm-table__hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.50);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mm-table__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mm-row {}
.mm-row__link {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.14s, border-color 0.14s, transform 0.14s;
}
.mm-row__link:hover {
  background: rgba(212, 175, 55, 0.06);
  border-color: rgba(212, 175, 55, 0.30);
  transform: translateX(2px);
}
.mm-row__horse {
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mm-row__where {
  display: block;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.50);
  text-transform: uppercase;
  margin-top: 2px;
}
.mm-row__horse + .mm-row__where { grid-column: 1; }

.mm-row__prices {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-feature-settings: 'tnum';
}
.mm-row__was {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.40);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.25);
}
.mm-row__arrow { font-size: 10px; color: rgba(255, 255, 255, 0.50); }
.mm-row__now { font-size: 14px; font-weight: 800; }
.mm-row__now--in  { color: #4ade80; }
.mm-row__now--out { color: #fca5a5; }

.mm-row__pct {
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-feature-settings: 'tnum';
}
.mm-row__pct--in  { background: rgba(74, 222, 128, 0.16); color: #4ade80; }
.mm-row__pct--out { background: rgba(252, 165, 165, 0.16); color: #fca5a5; }

.mm-empty {
  margin: 0;
  padding: 12px 4px;
  color: rgba(255, 255, 255, 0.45);
  font-style: italic;
  font-size: 13px;
}

/* ── Underdog watch ───────────────────────────────────────── */
.mm-underdog {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 10px;
  flex-wrap: wrap;
}
.mm-underdog__glyph { font-size: 18px; }
.mm-underdog__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold);
}
.mm-underdog__link {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  font-feature-settings: 'tnum';
}
.mm-underdog__link strong { color: #fff; }
.mm-underdog__link:hover { color: var(--c-gold); }

/* ── Section CTA → /steamers/ ─────────────────────────────
 * Sits at the bottom of the Money Moves band, points at the
 * dedicated transparency page. Composition mirrors the rest of the
 * band: dark surface, soft gold/green accent, single primary action.
 */
.mm-cta {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  padding: 18px 22px;
  background:
    radial-gradient(ellipse 60% 100% at 0% 50%, rgba(74, 222, 128, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 100% at 100% 50%, rgba(212, 175, 55, 0.10) 0%, transparent 60%),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(74, 222, 128, 0.22);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
.mm-cta::before {
  /* Hairline gold accent — picks up the underdog chip's palette. */
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #4ade80 0%, var(--c-gold) 100%);
}
.mm-cta__copy {
  flex: 1 1 320px;
  min-width: 0;
}
.mm-cta__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 6px;
}
.mm-cta__sub {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}
.mm-cta__sub strong {
  color: #fff;
  font-weight: 700;
}
.mm-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  color: #06070d;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.20);
  box-shadow: 0 6px 18px rgba(74, 222, 128, 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.30);
  flex-shrink: 0;
  white-space: nowrap;
  transition: transform .15s, box-shadow .18s, background .18s;
}
.mm-cta__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(74, 222, 128, 0.35),
              inset 0 1px 0 rgba(255, 255, 255, 0.35);
  background: linear-gradient(135deg, #5be88c 0%, #2ad067 100%);
  color: #06070d;
}
.mm-cta__btn:active { transform: translateY(0); }
.mm-cta__btn:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
}
.mm-cta__btn-arrow {
  font-size: 16px;
  font-weight: 900;
  transition: transform .18s;
}
.mm-cta__btn:hover .mm-cta__btn-arrow { transform: translateX(3px); }

@media (max-width: 640px) {
  .mm-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 16px 18px;
    gap: 14px;
  }
  .mm-cta__btn {
    justify-content: center;
    width: 100%;
  }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 880px) {
  .money-moves__grid    { grid-template-columns: 1fr; }
  .money-moves__tables  { grid-template-columns: 1fr; }
  .mm-hero__price--now  { font-size: clamp(36px, 9vw, 56px); }
}
@media (max-width: 480px) {
  .money-moves { padding: 22px 0 26px; }
  .mm-hero     { padding: 18px 18px 16px; }
  .mm-side     { padding: 18px 18px 16px; }
  .mm-row__link { grid-template-columns: minmax(0, 1fr) auto; }
  .mm-row__pct  { display: none; }
}

/* ══ Market Intelligence — section styles (.money-moves--intel) ══ */
.money-moves--intel {
  --mi-teal: #2ee6c5;
  --mi-teal-dim: rgba(46, 230, 197, 0.55);
  --mi-gold: #d4af37;
  --mi-ink: #f4f6fa;
  --mi-muted: rgba(220, 228, 236, 0.62);
  background:
    radial-gradient(ellipse 70% 55% at 18% 0%, rgba(46, 230, 197, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse 55% 50% at 92% 8%, rgba(212, 175, 55, 0.10) 0%, transparent 50%),
    #06070d;
  border-top: 1px solid rgba(46, 230, 197, 0.14);
  border-bottom: 1px solid rgba(212, 175, 55, 0.14);
  padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 80px);
  overflow: hidden;
}
.money-moves--intel .money-moves__inner {
  max-width: var(--max-w);
  padding: 0 var(--page-gutter);
  box-sizing: border-box;
}

.mi-head {
  text-align: center;
  margin: 0 auto 36px;
  max-width: 720px;
}
.mi-head__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mi-gold);
  margin-bottom: 14px;
}
.mi-head__rule {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mi-gold));
}
.mi-head__title {
  margin: 0 0 12px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: #fff;
}
.mi-head__sub {
  margin: 0 auto;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--mi-muted);
}

.mi-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.mi-steam {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 360px;
  padding: 28px 28px 24px;
  border-radius: 18px;
  border: 1px solid rgba(46, 230, 197, 0.38);
  background:
    linear-gradient(115deg, rgba(6, 14, 18, 0.92) 0%, rgba(6, 14, 18, 0.72) 42%, rgba(6, 14, 18, 0.35) 100%),
    url("../img/mi-steam-bg.703b9db79c57.webp") right center / cover no-repeat,
    #0a1216;
  box-shadow:
    0 0 0 1px rgba(46, 230, 197, 0.08) inset,
    0 18px 50px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(46, 230, 197, 0.12);
  overflow: hidden;
}
.mi-steam::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(6, 12, 16, 0.55) 0%, transparent 58%);
  pointer-events: none;
  z-index: -1;
}
.mi-steam__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mi-teal);
}
.mi-steam__zap {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(46, 230, 197, 0.14);
  border: 1px solid rgba(46, 230, 197, 0.35);
  font-size: 12px;
  line-height: 1;
}
.mi-steam__zap-img {
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.mi-steam__horse {
  margin: 4px 0 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.02em;
}
.mi-steam__meta {
  margin: 0;
  font-size: 13px;
  color: var(--mi-muted);
}
.mi-steam__prices {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.mi-steam__was {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}
.mi-steam__chevs {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--mi-teal);
  transform: translateY(-2px);
}
.mi-steam__now {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.mi-steam__bar {
  width: min(100%, 280px);
  height: 6px;
  margin-top: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.mi-steam__bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #149f88, var(--mi-teal));
  box-shadow: 0 0 12px rgba(46, 230, 197, 0.55);
}
.mi-steam__pct {
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--mi-teal);
}
.mi-steam__pct span { font-weight: 800; }
.mi-steam__cta {
  --liquid: var(--mi-teal);
  --ink: #041014;
  margin-top: auto;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(46, 230, 197, 0.55);
  color: var(--mi-teal);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  background: transparent;
  transition: color 0.4s, border-color 0.4s;
}
.mi-steam__cta::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -25%;
  width: 150%;
  height: 200%;
  background: var(--liquid);
  border-radius: 45% 55% 0 0 / 25% 25% 0 0;
  transform: translateY(100%);
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
  pointer-events: none;
}
.mi-steam__cta:hover::before,
.mi-steam__cta:focus-visible::before {
  transform: translateY(5%);
  animation: sat-btn-liquid-wave 2.5s ease-in-out infinite 0.65s;
}
.mi-steam__cta:hover,
.mi-steam__cta:focus-visible {
  background: transparent;
  border-color: var(--mi-teal);
  color: var(--ink);
  filter: none;
  transform: none;
}
.mi-steam__cta img,
.mi-steam__cta svg {
  transition: filter 0.4s;
  filter: none;
}
.mi-steam__cta:hover img,
.mi-steam__cta:hover svg,
.mi-steam__cta:focus-visible img,
.mi-steam__cta:focus-visible svg {
  filter: brightness(0);
}

.mi-board {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 18px 18px 12px;
  border-radius: 18px;
  border: 1px solid rgba(212, 175, 55, 0.32);
  background:
    linear-gradient(180deg, rgba(14, 16, 22, 0.96), rgba(8, 10, 14, 0.96));
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.4),
    0 0 36px rgba(212, 175, 55, 0.1);
}
.mi-board__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.mi-board__tabs {
  display: inline-flex;
  gap: 8px;
}
.mi-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.mi-tab__icon {
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}
/* Drifters arrow is #E07C4B in the SVG (same family as active tab text) —
   no filter: img currentColor used to bake black and look wrong when active. */
.mi-tab.is-active {
  background: rgba(46, 230, 197, 0.16);
  border-color: rgba(46, 230, 197, 0.55);
  color: var(--mi-teal);
}
.mi-tab.is-active[data-mi-tab="drifters"] {
  background: rgba(224, 124, 75, 0.16);
  border-color: rgba(224, 124, 75, 0.5);
  color: #e07c4b;
}
.mi-tab:not(.is-active):hover {
  border-color: rgba(212, 175, 55, 0.45);
  color: #fff;
}
.mi-board__top {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--mi-teal);
}
.mi-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.mi-row {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.mi-row:first-child { border-top: 0; }
.mi-row__link {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 4px;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  transition: background .15s;
}
.mi-row__link:hover { background: rgba(255, 255, 255, 0.04); }
.mi-row__rank {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(46, 230, 197, 0.16);
  color: var(--mi-teal);
  font-size: 12px;
  font-weight: 800;
}
.mi-row__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.mi-row__horse {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mi-row__meta {
  font-size: 11px;
  color: var(--mi-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mi-row__odds {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}
.mi-row__odds strong {
  color: #fff;
  font-weight: 800;
}
.mi-row__pct {
  min-width: 48px;
  text-align: right;
  font-size: 13px;
  font-weight: 800;
  color: var(--mi-teal);
}
.mi-board[data-mi-mode='drifters'] .mi-row__pct,
.mi-board[data-mi-mode='drifters'] .mi-row__rank,
.mi-board[data-mi-mode='drifters'] .mi-tab.is-active {
  color: #e07c4b;
}
.mi-board[data-mi-mode='drifters'] .mi-row__rank,
.mi-board[data-mi-mode='drifters'] .mi-tab.is-active {
  background: rgba(224, 124, 75, 0.16);
  border-color: rgba(224, 124, 75, 0.5);
}
.mi-board[data-mi-mode='drifters'] .mi-board__top { color: #e07c4b; }

@media (max-width: 920px) {
  .mi-grid { grid-template-columns: 1fr; }
  .mi-steam, .mi-board { min-height: 0; }
}
@media (max-width: 700px) {
  .money-moves--intel {
    background: #05070c;
  }
  .money-moves--intel .mi-board {
    background: #05070c;
    border-color: rgba(212, 175, 55, 0.28);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  }
  .money-moves--intel .mi-steam {
    background:
      linear-gradient(90deg, rgba(5, 7, 12, 0.55) 0%, transparent 58%),
      url("../img/mi-steam-bg.703b9db79c57.webp") center / cover no-repeat,
      #05070c;
  }
  .mi-head {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
}
@media (max-width: 560px) {
  .money-moves--intel { padding: 32px 0 40px; }
  .mi-row__link {
    grid-template-columns: 26px minmax(0, 1fr) auto;
  }
  .mi-row__odds { display: none; }
  .mi-steam { padding: 22px 20px 20px; }
}

/* The board holds both lists and shows the one its tab selects. Before
   this, the Drifters tab only recoloured the steamers, so the same
   shortening horses were presented as drifting. */
.mi-board[data-mi-mode='drifters'] .mi-list--steamers,
.mi-board:not([data-mi-mode='drifters']) .mi-list--drifters {
  display: none;
}

/* ── Nothing has moved yet ────────────────────────────────────────────
   Production hides the whole section when there is no data. If it is kept
   instead, this is the quiet version: one column, no board, and a way on
   to the card. */
.mi-grid--empty {
  grid-template-columns: 1fr;
}

.mi-steam--empty {
  align-items: flex-start;
  gap: 6px;
}

.mi-steam__horse--empty {
  color: rgba(242, 236, 223, 0.5);
}

.mi-steam__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  min-height: 42px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(242, 236, 223, 0.25);
  color: #f2ecdf;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: border-color 0.15s, background 0.15s;
}

.mi-steam__cta:hover,
.mi-steam__cta:focus-visible {
  border-color: var(--mi-teal, #4ade80);
  background: rgba(255, 255, 255, 0.04);
}

/* ── Market Intelligence — what production shows and the redesign dropped ──
   The live status line, the Steamers Board route, the underdog watch and
   an empty-list line, in the section's own tokens. (The day's narrative
   sits in .mi-head__sub when there is one.) */
.money-moves--intel .mi-head__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 14px auto 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--mi-muted);
}

.money-moves--intel .mi-head__pulse {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--mi-teal);
  box-shadow: 0 0 0 0 rgba(46, 230, 197, 0.55);
  animation: mi-pulse 2s ease-out infinite;
}

@keyframes mi-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(46, 230, 197, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(46, 230, 197, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 230, 197, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .money-moves--intel .mi-head__pulse { animation: none; }
}

.money-moves--intel .mi-board__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-end;
  margin-top: 12px;
  padding: 6px 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--mi-gold);
  text-decoration: none;
}

.money-moves--intel .mi-board__more:hover,
.money-moves--intel .mi-board__more:focus-visible {
  color: var(--mi-ink);
}

.money-moves--intel .mi-list__empty {
  margin: 0;
  padding: 18px 4px;
  font-size: 13px;
  color: var(--mi-muted);
}

.money-moves--intel .mi-underdog {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin: 18px 0 0;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(46, 230, 197, 0.22);
  background: rgba(46, 230, 197, 0.05);
  font-size: 13px;
  color: var(--mi-muted);
}

.money-moves--intel .mi-underdog__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mi-teal);
}

.money-moves--intel .mi-underdog__link {
  color: var(--mi-ink);
  text-decoration: none;
}

.money-moves--intel .mi-underdog__link:hover,
.money-moves--intel .mi-underdog__link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}
