/* Moneyline live odds ticker - top-of-page marquee. */
/* Ticker is docked at the very top of the document, header sits below it. */
#ml-odds-ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001; /* above header (header z-index 1000) so the strip is the topmost element */
  height: 46px;
  display: flex;
  align-items: stretch;
  width: 100%;
  background: linear-gradient(90deg, #0a0d12 0%, #11161e 100%);
  color: #fff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid #1f2630;
  box-shadow: 0 1px 0 rgba(0,0,0,.4);
}
/* Push the fixed header down by the ticker height so the menu is never covered. */
body:has(#ml-odds-ticker) .site-header { top: 46px; }
/* Push the page content down by ticker + header so hero is not eaten. */
body:has(#ml-odds-ticker) { padding-top: 46px; }
/* Mobile menu drawer also needs to start below ticker + header. */
@media (max-width: 860px) {
  body:has(#ml-odds-ticker) .header-nav { top: calc(64px + 46px); max-height: calc(100vh - 64px - 46px); }
}
@media (max-width: 768px) {
  body:has(#ml-odds-ticker) .header-nav { top: calc(70px + 46px); max-height: calc(100vh - 70px - 46px); }
  #ml-odds-ticker { height: 42px; }
  body:has(#ml-odds-ticker) .site-header { top: 42px; }
  body:has(#ml-odds-ticker) { padding-top: 42px; }
}
#ml-odds-ticker .mlt-tag {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  background: linear-gradient(90deg, #8b0a1a 0%, #c8132a 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,.1);
}
#ml-odds-ticker .mlt-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #ffd166;
  font-size: 11px;
  animation: mlt-pulse 1.6s infinite ease-in-out;
}
#ml-odds-ticker .mlt-cta { font-weight: 700; }
#ml-odds-ticker .mlt-cta b { color: #ffd166; font-weight: 900; }
#ml-odds-ticker .mlt-rail {
  flex: 1 1 auto;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
}
#ml-odds-ticker .mlt-track {
  display: inline-flex;
  white-space: nowrap;
  padding: 8px 0;
  gap: 18px;
  animation: mlt-scroll 80s linear infinite;
  will-change: transform;
}
#ml-odds-ticker .mlt-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
#ml-odds-ticker .mlt-lg {
  color: #6db4ff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}
#ml-odds-ticker .mlt-mt { color: #fff; font-weight: 700; }
#ml-odds-ticker .mlt-mt em { color: #8a93a0; font-style: normal; padding: 0 3px; }
#ml-odds-ticker .mlt-tm {
  color: #ffd166;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
#ml-odds-ticker .mlt-dot { color: #2a323d; padding: 0 4px; }
#ml-odds-ticker .mlt-pick {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 4px;
  background: #1d2532;
  border: 1px solid #2b3445;
  color: #fff;
  text-decoration: none;
  transition: background .15s, transform .15s, border-color .15s;
}
#ml-odds-ticker .mlt-pick:hover {
  background: #2a3344;
  border-color: #ffd166;
  transform: translateY(-1px);
}
#ml-odds-ticker .mlt-pl { color: #8a93a0; font-size: 11px; font-weight: 700; }
#ml-odds-ticker .mlt-pp { color: #ffd166; font-weight: 900; font-family: 'JetBrains Mono', monospace; }

@keyframes mlt-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .35; }
}
@keyframes mlt-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 720px) {
  #ml-odds-ticker { font-size: 12px; }
  #ml-odds-ticker .mlt-tag { padding: 7px 10px; font-size: 11px; }
  #ml-odds-ticker .mlt-cta { display: none; }
  #ml-odds-ticker .mlt-track { animation-duration: 60s; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  #ml-odds-ticker .mlt-track { animation: none; }
  #ml-odds-ticker .mlt-live { animation: none; }
}
