/* 2014–16 Premier League international-feed scorebug, in 480 × 104 units.
   Reference and approximation notes: data/premier-league/2015-16/README.md. */
body[data-desktop-mode-setup="premierLeague2015"] .domestic-route-setup-intro img,
body [data-hub-domestic-league="premierLeague2015"] .competition-edition-art img {
  filter: brightness(0) invert(1);
}

body #mainContent .cb-broadcast[data-mode="pl-2015-16"] {
  width: 340px;
  height: var(--cb-compact-height, 74px);
}

.cb-broadcast[data-mode="pl-2015-16"] .cb-scorebug {
  width: 480px;
  height: 104px;
  background: url('./assets/premier-league-2015-16/scorebar.svg?v=2') center / 100% 100% no-repeat;
  transform: scale(var(--cb-compact-scale, 1));
  transform-origin: top left;
}

.cb-broadcast[data-mode="pl-2015-16"] :is(.cb-badge, .cb-context) {
  display: none;
}

.cb-broadcast[data-mode="pl-2015-16"] .cb-logo {
  position: absolute;
  z-index: 2;
  left: 75px;
  top: 13px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: url('./assets/premier-league-2015-16/broadcast-ball.svg?v=2') center / contain no-repeat;
}

.cb-broadcast[data-mode="pl-2015-16"] .cb-team {
  position: static;
}

body #mainContent .cb-broadcast[data-mode="pl-2015-16"] .cb-code {
  position: absolute;
  top: 12px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #101831;
  font: 700 30px/1 Arial, sans-serif;
  letter-spacing: -1px;
}

.cb-broadcast[data-mode="pl-2015-16"] .cb-home .cb-code {
  left: 148px;
  width: 85px;
}

.cb-broadcast[data-mode="pl-2015-16"] .cb-away .cb-code {
  left: 349px;
  width: 93px;
}

body #mainContent .cb-broadcast[data-mode="pl-2015-16"] .cb-score {
  position: absolute;
  top: 12px;
  width: 32px;
  height: 38px;
  color: #fff;
  text-align: center;
  font: 700 32px/38px Arial, sans-serif;
}

.cb-broadcast[data-mode="pl-2015-16"] .cb-home .cb-score {
  left: 251px;
}

.cb-broadcast[data-mode="pl-2015-16"] .cb-away .cb-score {
  left: 300px;
}

.cb-broadcast[data-mode="pl-2015-16"] .cb-home::after {
  content: '–';
  position: absolute;
  left: 284px;
  top: 12px;
  color: #fff;
  font: 700 26px/38px Arial, sans-serif;
}

.cb-broadcast[data-mode="pl-2015-16"] .cb-team::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 237px;
  width: 5px;
  height: 34px;
  background: var(--kit);
  transform: skewX(-13deg);
}

.cb-broadcast[data-mode="pl-2015-16"] .cb-away::before {
  left: 339px;
  transform: skewX(13deg);
}

.cb-broadcast[data-mode="pl-2015-16"] time {
  position: absolute;
  top: 53px;
  left: 151px;
  width: 133px;
  height: 32px;
  color: #fff;
  text-align: center;
  font: 700 28px/32px Arial, sans-serif;
}

.cb-broadcast[data-mode="pl-2015-16"] time[data-added-time]::after {
  content: attr(data-added-time);
  position: absolute;
  left: 140px;
  top: 2px;
  width: 49px;
  height: 28px;
  background: #edf1f4;
  color: #101831;
  font: 700 23px/28px Arial, sans-serif;
}

.cb-broadcast[data-mode="pl-2015-16"] .cb-team i {
  top: 60px;
  left: 350px;
  bottom: auto;
}

.cb-broadcast[data-mode="pl-2015-16"] .cb-away i {
  left: 400px;
}

@media (max-width: 600px) {
  body #mainContent .cb-broadcast[data-mode="pl-2015-16"] {
    width: min(94%, 290px);
  }
}
