@layer ys-highlight-controls {
  #root label:has(> select:is([aria-label="Highlight Type" i], [aria-label="Playlist play type"], [aria-label="Game highlight"], [aria-label="Choose highlight"], [aria-label="Highlight to cast"])) {
    width: min(100%, 12rem) !important;
    max-width: 100% !important;
    min-width: 0 !important;
    justify-self: start !important;
    flex: 0 1 auto !important;
  }
  #root label:has(> select:is([aria-label="Highlight Type" i], [aria-label="Playlist play type"])) {
    width: min(100%, 9rem) !important;
  }
  #root select:is([aria-label="Highlight Type" i], [aria-label="Playlist play type"], [aria-label="Game highlight"], [aria-label="Choose highlight"], [aria-label="Highlight to cast"]) {
    width: 100% !important;
    max-width: 12rem !important;
    min-width: 0 !important;
    height: 28px !important;
    min-height: 28px !important;
    padding: 1px 1.25rem 1px .45rem !important;
    box-sizing: border-box !important;
    font-size: .875rem !important;
    line-height: normal !important;
  }
  #root .ys-highlight-cast-control {
    display: inline-flex !important;
    align-items: center !important;
    gap: .4rem !important;
  }
  #root .ys-highlight-cast-control svg {
    width: 20px !important;
    height: 20px !important;
    flex: none !important;
  }
}
@layer ys-highlight-controls {
  :root[data-ys-theme="light"] #root [aria-label="Game highlight clips"] > article {
    border: 2px solid #78834f !important;
  }
  :root[data-ys-theme="dark"] #root [aria-label="Game highlight clips"] > article {
    border: 2px solid #45d24a !important;
  }
}
@layer ys-highlight-controls {
  #root [data-box-score] .game-detail-box > .native-team-performance {
    width: 100% !important;
    max-width: 42rem !important;
    margin-inline: auto !important;
    box-sizing: border-box !important;
  }
  #root [data-box-score] .native-team-performance > h3 { text-align: center !important; }
  #root [data-box-score] .native-team-performance > .native-record-grid {
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    gap: .375rem !important;
  }
  #root [data-box-score] .native-team-performance > .native-record-grid > div {
    display: grid !important;
    gap: .125rem !important;
    place-content: center !important;
    text-align: center !important;
    padding: .4rem .25rem !important;
    min-height: 0 !important;
  }
  #root [data-box-score] .game-detail-status[data-final] {
    display: block !important;
    width: fit-content !important;
    margin-inline: auto !important;
    padding: .15rem .6rem !important;
  }
  :root[data-ys-theme="light"] #root [data-box-score] :is(.native-team-performance > .native-record-grid > div,.game-detail-status[data-final]) {
    background: #d4e1ce !important;
    color: #202722 !important;
  }
  @media(max-width: 56rem) {
    #root [data-box-score] .native-team-performance > .native-record-grid {grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  }
}
@layer ys-highlight-controls { #root [data-box-score] .game-detail-actions:has(.box-score-media) { flex-wrap:wrap !important; } #root [data-box-score] .box-score-media { flex: 1 0 100%; min-width: 0; } }
