@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700;800;900&display=swap');

:root {
  --wb-bg-dark: #0f0f0f;
  --wb-bg-hover: #1e1e1e;
  --wb-amber: #ffab00;
  --wb-blue: #2979ff;
  --wb-odds-gold: #f5c842;
  --wb-text: #ffffff;
  --wb-text-sec: #9e9e9e;
  --wb-text-dim: #aaaaaa;
  --wb-live: #ff1744;
  --wb-border: rgba(255,255,255,0.07);
  --wb-h: 56px;
}

.wb-ticker {
  width: 100%;
  background: var(--wb-bg-dark);
  border-bottom: 1px solid var(--wb-border);
  height: var(--wb-h);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 99999;
  font-family: 'Barlow Condensed', sans-serif;
}

body { padding-top: var(--wb-h) !important; }

/* BADGE */
.wb-badge {
  flex-shrink: 0; display: flex; align-items: center; gap: 8px;
  padding: 0 18px; background: #111; border-right: 1px solid var(--wb-border);
}
.wb-dot {
  width: 9px; height: 9px; background: var(--wb-live);
  border-radius: 50%; flex-shrink: 0;
  animation: wb-pulse 1.4s ease-in-out infinite;
}
@keyframes wb-pulse {
  0%,100% { opacity:1; transform:scale(1); box-shadow:0 0 0 0 rgba(255,23,68,.5); }
  50%      { opacity:.8; transform:scale(1.15); box-shadow:0 0 0 5px rgba(255,23,68,0); }
}
.wb-badge-lbl {
  font-size: 20px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  white-space: nowrap; color: #fff;
}

/* TABS */
.wb-tabs {
  flex-shrink: 0; display: flex; align-items: stretch;
  border-right: 1px solid var(--wb-border);
}
.wb-tab {
  display: flex; align-items: center; padding: 0 14px;
  font-size: 17px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: #aaaaaa; cursor: pointer;
  border-right: 1px solid var(--wb-border);
  transition: all .18s; white-space: nowrap;
  user-select: none; position: relative;
}
.wb-tab:last-child { border-right: none; }
.wb-tab:hover { color: #dddddd; background: rgba(255,255,255,.03); }
.wb-tab.active { color: #fff; background: rgba(255,255,255,.05); }
.wb-tab.active::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--wb-amber);
}

/* VIEWPORT */
.wb-viewport {
  flex: 1; overflow: hidden; position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 1.5%, black 98.5%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 1.5%, black 98.5%, transparent 100%);
}
.wb-track {
  display: flex; align-items: center;
  height: 100%; width: max-content;
  animation: wb-slide 80s linear infinite;
  will-change: transform;
}
.wb-track:hover { animation-play-state: paused; }
@keyframes wb-slide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* STATE MESSAGES */
.wb-msg {
  display: flex; align-items: center; gap: 10px;
  padding: 0 24px; height: 100%;
  font-size: 17px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--wb-text-dim); white-space: nowrap;
}
.wb-spin {
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.1);
  border-top-color: var(--wb-amber);
  border-radius: 50%;
  animation: wb-spin .7s linear infinite; flex-shrink: 0;
}
@keyframes wb-spin { to { transform: rotate(360deg); } }

/* GAME CARD */
.wb-game {
  display: flex; align-items: center;
  height: var(--wb-h); padding: 0 16px; gap: 12px;
  border-right: 1px solid var(--wb-border);
  cursor: pointer; transition: background .12s;
  flex-shrink: 0; position: relative;
}
.wb-game:hover { background: var(--wb-bg-hover); }
.wb-game.live::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--wb-live);
}

/* STATUS CHIP */
.wb-chip {
  font-size: 15px; font-weight: 800;
  letter-spacing: .09em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 3px;
  white-space: nowrap; flex-shrink: 0;
  min-width: 52px; text-align: center;
}
.wb-chip.live {
  background: rgba(255,23,68,.13); color: var(--wb-live);
  border: 1px solid rgba(255,23,68,.28);
  animation: wb-blink 2s ease-in-out infinite;
}
@keyframes wb-blink { 0%,100%{opacity:1;} 50%{opacity:.55;} }
.wb-chip.final {
  background: rgba(255,255,255,.05); color: var(--wb-text-dim);
  border: 1px solid rgba(255,255,255,.08);
}
.wb-chip.upcoming {
  background: rgba(41,121,255,.1); color: var(--wb-blue);
  border: 1px solid rgba(41,121,255,.22);
}

/* LEAGUE */
.wb-league {
  font-size: 13px; font-weight: 700;
  letter-spacing: .07em; color: var(--wb-text-dim);
  text-transform: uppercase; white-space: nowrap;
  max-width: 72px; overflow: hidden; text-overflow: ellipsis;
}

/* MATCHUP */
.wb-matchup { display: flex; flex-direction: column; gap: 2px; }
.wb-row { display: flex; align-items: center; gap: 7px; }
.wb-logo { width: 18px; height: 18px; border-radius: 2px; object-fit: contain; flex-shrink: 0; }
.wb-init {
  width: 18px; height: 18px; border-radius: 2px; background: #252525;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 800; color: rgba(255,255,255,.5); flex-shrink: 0;
}
.wb-abbr {
  font-size: 20px; font-weight: 700; letter-spacing: .03em; min-width: 38px;
}
.wb-abbr.leader   { color: #fff; }
.wb-abbr.trailing { color: var(--wb-text-sec); }
.wb-abbr.neutral  { color: #fff; }
.wb-score {
  font-size: 21px; font-weight: 800; min-width: 24px; text-align: right;
}
.wb-score.leader   { color: #fff; }
.wb-score.trailing { color: var(--wb-text-sec); }

/* ODDS */
.wb-odds {
  display: flex; flex-direction: column; gap: 3px;
  border-left: 1px solid var(--wb-border); padding-left: 12px; flex-shrink: 0;
}
.wb-odds-row { display: flex; align-items: center; gap: 5px; }
.wb-odds-lbl {
  font-size: 14px; font-weight: 600; letter-spacing: .07em;
  color: var(--wb-text-dim); text-transform: uppercase; min-width: 20px;
}
.wb-odds-val {
  font-size: 14px; font-weight: 700; color: var(--wb-odds-gold);
  background: rgba(245,200,66,.07); border: 1px solid rgba(245,200,66,.18);
  border-radius: 3px; padding: 2px 6px; cursor: pointer;
  transition: all .13s; white-space: nowrap;
}
.wb-odds-val:hover { background: rgba(245,200,66,.18); border-color: rgba(245,200,66,.4); }
.wb-odds-tbd {
  font-size: 13px; font-weight: 600; letter-spacing: .05em;
  color: var(--wb-text-dim); text-transform: uppercase; padding: 2px 6px;
  border: 1px dashed rgba(255,255,255,.12); border-radius: 3px;
  white-space: nowrap; opacity: .6;
}

/* CONTROLS */
.wb-controls {
  flex-shrink: 0; display: flex; align-items: stretch;
  border-left: 1px solid var(--wb-border);
}
.wb-time {
  display: flex; align-items: center; padding: 0 12px;
  font-size: 15px; font-weight: 600; letter-spacing: .05em;
  color: var(--wb-text-dim); white-space: nowrap;
  border-right: 1px solid var(--wb-border);
}
.wb-partner {
  display: flex; align-items: center; padding: 0 14px;
  border-right: 1px solid var(--wb-border);
}
.wb-partner span {
  font-size: 15px; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color: var(--wb-text-dim); white-space: nowrap;
}
.wb-btn {
  display: flex; align-items: center; padding: 0 13px;
  cursor: pointer; color: var(--wb-text-dim);
  transition: all .13s; font-size: 16px; user-select: none;
}
.wb-btn:hover { color: #fff; background: rgba(255,255,255,.04); }

@media (max-width: 768px) {
  .wb-tabs, .wb-partner, .wb-time { display: none; }
}
