#season {
  max-width: 7.5rem;
}

@media (max-width: 768px) {
  #season {
    display: inline;
    margin-right: 0;
    height: 32px;
  }
}

.v2-team-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.v2-team-header img {
  width: 60px;
  height: 60px;
  display: none;
}

.v2-team-header h1 {
  color: white;
  margin: 0;
}

.v2-team-header h2 {
  color: #999;
  font-size: 0.9em;
  font-weight: normal;
  margin: 5px 0 0 0;
}

.v2-team-matches {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.v2-team-matches > div {
  flex: 1;
  min-width: 300px;
}

.hs-loader,
.hs-loader img,
img[src*="hosted.wh.geniussports.com/images/loading.gif"] {
  display: none !important;
}

.body::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #0b0b0b;
  z-index: 40;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.body::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border: 1.5px solid rgba(252, 215, 85, 0.15);
  border-top-color: #fcd755;
  border-radius: 50%;
  animation: v2-spin 0.7s linear infinite;
  z-index: 41;
}

.body.v2-ready::before,
.body.v2-ready::after {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .body::after {
    animation: none;
    border-top-color: #fcd755;
    opacity: 0.7;
  }
}

@keyframes v2-spin {
  to { transform: rotate(360deg); }
}

/* Tile chrome: one height per breakpoint, logos filling their box, vote UI in a reserved strip. */
.match-wrap:not(.STATUS_AD) {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.match-wrap .match-details-wrap {
  flex: 0 0 46px;
  height: 46px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.match-wrap .sched-teams {
  flex: 1 1 auto;
  display: flex !important;
  align-items: center;
  min-height: 0;
  padding-bottom: 46px;
  box-sizing: border-box;
  position: relative !important;
  top: auto !important;
  transform: none !important;
}

.match-wrap .sched-teams > .home-team,
.match-wrap .sched-teams > .away-team {
  float: none !important;
  display: flex !important;
  align-items: center;
  flex: 1 1 0;
  width: auto !important;
  min-width: 0;
}

.match-wrap .sched-teams > .away-team {
  flex-direction: row-reverse;
}

.match-wrap .sched-teams > .team-divide {
  float: none !important;
  flex: 0 0 auto;
  padding: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: center !important;
}

.match-wrap .sched-teams .team-logo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

.match-wrap .sched-teams .team-logo img {
  width: 88% !important;
  height: 88% !important;
  max-width: 88% !important;
  max-height: 88% !important;
  object-fit: contain !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

.match-wrap > a.ss-matchreport,
.match-wrap > .ss-share,
.match-wrap > .ss-predict-btn,
.match-wrap > .ss-predict-bar {
  flex: none;
}

.match-wrap .ss-share {
  appearance: none;
  position: absolute;
  top: 10px;
  right: 8px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 3px 7px 3px 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.match-wrap .ss-share-label {
  font: 600 10px/1 Arial, Helvetica, sans-serif;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.match-wrap .ss-share svg {
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.match-wrap .ss-share:hover {
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
}

.match-wrap .ss-share[data-ss-busy='1'] {
  pointer-events: none;
  color: transparent;
}

.match-wrap .ss-share[data-ss-busy='1'] > *,
.match-wrap .ss-predict-btn[data-ss-busy='1'] > * {
  visibility: hidden;
}

.match-wrap .ss-share[data-ss-busy='1']::after,
.match-wrap .ss-predict-btn[data-ss-busy='1']::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  margin: -5.5px 0 0 -5.5px;
  box-sizing: border-box;
  border: 1.5px solid rgba(255, 255, 255, 0.78);
  border-right-color: transparent;
  border-radius: 50%;
  animation: ss-btn-spin 0.55s linear infinite;
}

.match-wrap .ss-predict-btn[data-ss-busy='1'],
.match-wrap .ss-predict-btn[data-ss-busy='1']:disabled {
  opacity: 1;
  color: transparent;
}

@keyframes ss-btn-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .match-wrap .ss-share[data-ss-busy='1']::after,
  .match-wrap .ss-predict-btn[data-ss-busy='1']::after {
    animation: none;
    border-right-color: transparent;
    opacity: 0.7;
  }
}

.match-wrap .ss-predict-btn {
  appearance: none;
  position: absolute;
  z-index: 4;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.7);
  font: 600 9px/1 Arial, Helvetica, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 8px;
  cursor: pointer;
  white-space: nowrap;
}

.match-wrap .ss-predict-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: 0 0 6px;
  background: var(--dot, #888);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.match-wrap .ss-predict-btn--draw .ss-predict-dot {
  --dot: #fff;
}

.match-wrap .ss-predict-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.match-wrap .ss-predict-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.match-wrap .home-team .team-name,
.match-wrap .away-team .team-name,
.match-wrap .team-divide {
  position: relative;
}

.match-wrap.ss-has-votes .team-name,
.match-wrap.ss-has-votes .team-divide {
  overflow: visible;
}

.match-wrap .ss-predict-btn--home {
  left: 10px;
  right: auto;
  transform: none;
  bottom: 10px;
}

.match-wrap .ss-predict-btn--away {
  right: 10px;
  left: auto;
  transform: none;
  bottom: 10px;
}

.match-wrap .ss-predict-btn--draw {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  bottom: 10px;
}

.match-wrap .ss-predict-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  box-sizing: border-box;
  display: flex;
  height: 14px;
  min-height: 14px;
  max-height: 14px;
  overflow: hidden;
  border-radius: 0 0 7.5px 7.5px;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  pointer-events: none;
  font: 600 8px/1 Arial, Helvetica, sans-serif;
}

.match-wrap .ss-predict-bar.ss-predict-bar--play {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  pointer-events: auto;
  transition:
    opacity 0.35s ease,
    clip-path 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}

.match-wrap .ss-predict-bar.ss-predict-bar--soon {
  opacity: 1;
  clip-path: none;
  pointer-events: none;
  justify-content: center;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.28);
}

.match-wrap .ss-predict-bar--soon span {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 100%;
  width: 100%;
  padding: 0 10px;
  font: 600 8px/1 Arial, Helvetica, sans-serif;
  font-style: normal;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-transform: none;
}

.match-wrap.ss-has-bar-quiet .ss-predict-bar.ss-predict-bar--play {
  opacity: 0.55;
}

.match-wrap .ss-predict-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: var(--p, 0) 0 auto;
  min-width: min-content;
  width: auto;
  height: 100%;
  padding: 0 6px;
  background: var(--c, #fff);
  overflow: hidden;
  font: 600 8px/1 Arial, Helvetica, sans-serif;
}

.match-wrap .ss-predict-seg em {
  font: 600 8px/1 Arial, Helvetica, sans-serif;
  font-style: normal;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
}

.match-wrap .ss-predict-bar--static,
.match-wrap .ss-predict-bar--static.ss-predict-bar--play {
  clip-path: none;
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .match-wrap .ss-predict-bar,
  .match-wrap .ss-predict-bar.ss-predict-bar--play {
    transition: none !important;
    clip-path: none;
  }

  .match-wrap .ss-predict-bar.ss-predict-bar--play {
    opacity: 1;
  }

  .match-wrap.ss-has-bar-quiet .ss-predict-bar.ss-predict-bar--play {
    opacity: 0.55;
  }
}

.match-wrap.STATUS_COMPLETE .team-divide {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.match-wrap.STATUS_COMPLETE .team-divide .complete.matchStatus {
  line-height: 70px !important;
  height: 70px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.match-wrap a.ss-matchreport.ss-matchreport--ft {
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  z-index: 5;
  padding: 5px 8px;
  border-radius: 5px;
  font: 600 9px/1 Arial, Helvetica, sans-serif !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  max-width: none !important;
  text-align: center;
  background: rgba(255, 255, 255, 0.07) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none !important;
}

.match-wrap .team-divide a.ss-matchreport.ss-matchreport--ft {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translateX(-50%) !important;
  margin-top: 20px;
}

.match-wrap a.ss-matchreport.ss-matchreport--ft:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
}

/* Desktop: side-by-side teams, 70px crests, room under for vote pills. */
.match-wrap:not(.STATUS_AD) {
  height: 168px !important;
  min-height: 168px !important;
}

.match-wrap .sched-teams .team-logo {
  width: 70px !important;
  height: 70px !important;
}

.match-wrap .sched-teams .team-name,
.match-wrap .sched-teams .team-name span {
  height: 70px !important;
}

.match-wrap .sched-teams .team-logo,
.match-wrap .sched-teams .team-name,
.match-wrap .sched-teams .team-score {
  float: none !important;
}

.match-wrap .sched-teams .team-name {
  display: flex !important;
  align-items: center !important;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.match-wrap .sched-teams .home-team .team-name {
  justify-content: flex-start;
  text-align: left;
}

.match-wrap .sched-teams .away-team .team-name {
  justify-content: flex-end;
  text-align: right;
}

.match-wrap .sched-teams .team-score {
  flex: 0 0 auto;
}

.match-wrap .sched-teams .team-score,
.match-wrap .team-score {
  line-height: 70px !important;
  height: 70px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.match-wrap .sched-teams .team-divide .upcoming.matchStatus {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 70px !important;
  height: 70px !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  text-align: center !important;
  padding: 0 !important;
}

.match-wrap .sched-teams .team-divide .upcoming.matchStatus.ss-kickoff-stack {
  flex-direction: column;
  line-height: 1.15 !important;
  gap: 2px;
}

.match-wrap .ss-kickoff-date {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.62);
  text-transform: none !important;
}

.match-wrap .ss-kickoff-time {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.match-wrap .sched-teams .team-name span.teamnames,
.match-wrap .sched-teams .team-name span,
.match-wrap .sched-teams .team-name a {
  display: flex !important;
  align-items: center !important;
  width: auto !important;
  max-width: 100% !important;
  line-height: 1.2 !important;
}

.match-wrap .sched-teams .home-team .team-name span,
.match-wrap .sched-teams .home-team .team-name a {
  justify-content: flex-start;
  text-align: left !important;
}

.match-wrap .sched-teams .away-team .team-name span,
.match-wrap .sched-teams .away-team .team-name a {
  justify-content: flex-end;
  text-align: right !important;
}

.match-wrap .sched-teams .team-name a {
  height: auto !important;
}

.match-wrap:not(.STATUS_COMPLETE) .sched-teams .team-divide {
  line-height: 70px !important;
  height: 70px !important;
}

.match-wrap.STATUS_COMPLETE .sched-teams .team-divide {
  height: 70px !important;
  min-height: 70px;
  overflow: visible;
}

.match-wrap .match-details-wrap .match-details {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  padding: 0 80px 0 14px !important;
  overflow: hidden;
  white-space: nowrap;
}

.match-wrap .match-details-wrap .match-details > div,
.match-wrap .match-details-wrap .match-details > .match-time,
.match-wrap .match-details-wrap .match-details > .match-venue {
  display: flex !important;
  align-items: center;
  flex: 0 0 auto;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap;
}

.match-wrap .match-details-wrap .match-details > div[style*="display: none"] {
  display: none !important;
}

.match-wrap .match-details-wrap .match-details > div + div::before {
  content: '\2022';
  display: inline-block;
  margin: 0 6px;
  padding: 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 8px;
  line-height: 1;
  flex: 0 0 auto;
}

.match-wrap .match-details-wrap .match-details h6 {
  display: none !important;
}

.match-wrap .match-details-wrap .match-details span,
.match-wrap .match-details-wrap .match-details .officialsname,
.match-wrap .match-details-wrap .match-details .officialsname * {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap;
}

.match-wrap:not(:has(.ss-share)) .match-details-wrap .match-details {
  padding-right: 12px;
}

/* Tablet: keep the desktop row, drop the translateY hack, don't shrink crests to 45px. */
@media (max-width: 1024px) {
  .match-wrap:not(.STATUS_AD) {
    height: 160px !important;
    min-height: 160px !important;
  }

  .match-wrap .sched-teams .team-logo {
    width: 62px !important;
    height: 62px !important;
  }

  .match-wrap .sched-teams .team-name,
  .match-wrap .sched-teams .team-name span {
    height: 62px !important;
  }

  .match-wrap .sched-teams .team-score,
  .match-wrap .team-score {
    line-height: 62px !important;
    height: 62px !important;
    font-size: 22px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .match-wrap .sched-teams .team-divide {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .match-wrap:not(.STATUS_COMPLETE) .sched-teams .team-divide {
    line-height: 62px !important;
    height: 62px !important;
    font-size: 16px !important;
  }

  .match-wrap.STATUS_COMPLETE .team-divide .complete.matchStatus {
    line-height: 62px !important;
    height: 62px !important;
  }

  .match-wrap.STATUS_COMPLETE .sched-teams .team-divide {
    height: 62px !important;
    min-height: 62px;
  }

  .match-wrap .sched-teams .team-divide .upcoming.matchStatus {
    height: 62px !important;
    line-height: 62px !important;
    font-size: 16px !important;
  }

  .match-wrap .sched-teams .team-divide .upcoming.matchStatus.ss-kickoff-stack {
    line-height: 1.15 !important;
  }

  .match-wrap .ss-kickoff-time {
    font-size: 16px;
  }
}

/* Mobile: stacked rows need a taller tile so the away side and vote strip both fit. */
@media (max-width: 768px) {
  .match-wrap:not(.STATUS_AD) {
    height: 188px !important;
    min-height: 188px !important;
  }

  .match-wrap.STATUS_AD {
    height: 80px !important;
    min-height: 80px !important;
  }

  .match-wrap .sched-teams {
    flex-direction: column;
    justify-content: center;
    padding-bottom: 28px;
  }

  .match-wrap .sched-teams .team-logo {
    width: 56px !important;
    height: 56px !important;
  }

  .match-wrap .sched-teams .team-name,
  .match-wrap .sched-teams .team-name span {
    height: 56px !important;
  }

  .match-wrap .sched-teams .team-score,
  .match-wrap .team-score {
    line-height: 56px !important;
    height: 56px !important;
    font-size: 20px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .match-wrap .home-team,
  .match-wrap .away-team,
  .match-wrap .sched-teams > .home-team,
  .match-wrap .sched-teams > .away-team {
    height: 56px !important;
    width: 100% !important;
    flex: 0 0 auto;
    flex-direction: row !important;
  }

  .match-wrap .sched-teams .away-team .team-name,
  .match-wrap .sched-teams .away-team .team-name span,
  .match-wrap .sched-teams .away-team .team-name a {
    justify-content: flex-start;
    text-align: left !important;
  }

  /* Keep the Genius stacked layout: do not re-show the centre FT column. */
  .match-wrap .team-divide,
  .match-wrap.STATUS_COMPLETE .team-divide {
    display: none !important;
  }

  .match-wrap[class*="POSTPON"] .team-divide,
  .match-wrap.STATUS_PP .team-divide,
  .match-wrap.STATUS_PPD .team-divide {
    display: block !important;
  }

  .match-wrap .match-details-wrap {
    flex: 0 0 32px;
    height: 32px;
    overflow: hidden;
  }

  .match-wrap .match-details-wrap .match-details {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 0 !important;
    box-sizing: border-box;
    height: 32px;
    margin: 0 36px 0 10px !important;
    padding: 0 !important;
    overflow: hidden;
    white-space: nowrap;
    text-align: left !important;
    font-size: 11px;
  }

  .match-wrap:has(a.ss-matchreport) .match-details-wrap .match-details {
    margin-right: 124px !important;
    padding-right: 0 !important;
  }

  .match-wrap:not(:has(.ss-share)) .match-details-wrap .match-details {
    margin-right: 10px !important;
  }

  .match-wrap:not(:has(.ss-share)):has(a.ss-matchreport) .match-details-wrap .match-details {
    margin-right: 100px !important;
  }

  .match-wrap .match-details-wrap .match-details > div,
  .match-wrap .match-details-wrap .match-details > .match-time,
  .match-wrap .match-details-wrap .match-details > .match-venue {
    display: flex !important;
    align-items: center;
    flex: 0 0 auto;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    white-space: nowrap;
  }

  .match-wrap .match-details-wrap .match-details > div[style*="display: none"] {
    display: none !important;
  }

  .match-wrap .match-details-wrap .match-details > div + div::before {
    content: '\2022';
    display: inline-block;
    margin: 0 5px;
    padding: 0;
    color: rgba(255, 255, 255, 0.38);
    font-size: 8px;
    line-height: 1;
    flex: 0 0 auto;
  }

  .match-wrap .match-details-wrap .match-details h6 {
    display: none !important;
  }

  .match-wrap .match-details-wrap .match-details span,
  .match-wrap .match-details-wrap .match-details .officialsname,
  .match-wrap .match-details-wrap .match-details .officialsname * {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap;
  }

  .match-wrap .ss-share-label {
    display: none;
  }

  .match-wrap .ss-share {
    top: 6px;
    right: 4px;
    height: 24px;
    padding: 4px;
  }

  .match-wrap .ss-predict-btn {
    bottom: 6px;
    font-size: 8px;
    padding: 5px 7px;
  }

  .match-wrap .ss-predict-btn--home {
    left: 8px;
  }

  .match-wrap .ss-predict-btn--away {
    right: 8px;
  }

  .match-wrap .ss-predict-btn--draw {
    bottom: 6px;
  }

  .match-wrap .ss-predict-bar {
    height: 16px;
    min-height: 16px;
    max-height: 16px;
  }

  .match-wrap a.ss-matchreport.ss-matchreport--ft {
    position: absolute !important;
    left: auto !important;
    right: 30px !important;
    top: 6px !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0 !important;
    height: 24px;
    padding: 0 7px !important;
    font-size: 8px !important;
  }

  .match-wrap:not(:has(.ss-share)) a.ss-matchreport.ss-matchreport--ft {
    right: 4px !important;
  }
}
