/* Page navigation and production data adaptations around the Opus design. */
#root {
  position: relative;
}
#game-page {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  background: var(--bg, #07080c);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
#game-page .gd-page {
  margin: 0;
  padding-bottom: calc(3rem + env(safe-area-inset-bottom));
}
.game-details-open {
  overflow: hidden;
}
.game-details-open #root {
  visibility: hidden;
}
/* One rounded focus treatment. Reading surfaces never gain an outer box. */
.gd-page button:focus,
.gd-page .gd-card:focus,
.gd-page .gd-table-wrap:focus,
#game-comparison-dialog :focus,
#game-player-dialog :focus {
  outline: none;
}
.gd-page .gd-card:focus,
.gd-page .gd-table-wrap:focus {
  box-shadow: none;
}
.gd-page .gd-card:focus > .gd-card-head h3,
.gd-page .gd-table-wrap:focus caption {
  color: var(--volt-300);
}
.gd-empty-copy {
  color: var(--text-2);
  line-height: 1.6;
  padding: 0.6rem 0;
}
.gd-preview-title {
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 0 0 1rem;
}
.gd-source {
  color: var(--text-3);
  font-size: 0.8rem;
  padding: 1.4rem 0;
  line-height: 1.6;
}
.gd-availability {
  margin-top: 1.4rem;
}
.gd-availability h4 {
  margin: 0 0 1rem;
}
.gd-availability .gd-kp-head {
  margin: 1rem 0 0.5rem;
}
.gd-availability .gd-avail {
  font-size: 0.85rem;
}
.gd-availability button {
  margin-top: 1rem;
}
.gd-mark {
  display: flex;
}
.gd-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gd-table-wrap {
  overflow-x: auto;
  max-width: 100%;
  margin: 1rem 0;
  border-radius: 0.5rem;
}
.gd-table-wrap .gd-pl {
  width: 100%;
  min-width: 34rem;
}
.gd-pl caption {
  text-align: left;
  font-weight: 700;
  padding: 0.8rem 0;
  text-transform: capitalize;
}
.gd-pl th:first-child {
  position: sticky;
  left: 0;
  background: #121723;
  min-width: 12rem;
  z-index: 1;
}
.gd-pl th,
.gd-pl td {
  padding: 0.7rem;
  white-space: nowrap;
}
.gd-pl .gd-pl-name {
  white-space: normal;
}
.gd-pl-name small {
  display: block;
  color: var(--text-3);
}
.gd-kp-stats {
  flex-wrap: nowrap;
}
.gd-kp-stats dt {
  max-width: 7rem;
  white-space: nowrap;
}
.gd-tabs {
  overflow-x: auto;
}
.gd-tabs button {
  white-space: nowrap;
  flex-shrink: 0;
}
.gd-state {
  line-height: 1.6;
}
.gd-state .gd-live-dot {
  display: inline-block;
  margin-right: 0.5rem;
}
.gd-hero-art {
  pointer-events: none;
}
.feature-preview {
  background: #ffffff12;
  border: 1px solid #ffffff36;
  color: white;
}
.feature-actions {
  flex-wrap: wrap;
}
.feature-actions .live-dot {
  color: #64dba7;
  font-size: 0.75em;
}
#player-ui footer {
  flex-wrap: wrap;
}
@media (min-width: 960px) {
  #game-page .gd-tabs {
    margin-left: 5.5rem;
    margin-right: 5.5rem;
  }
  #game-page .gd-tabs {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }
  .gd-table-wrap .gd-pl {
    font-size: 0.95rem;
  }
}
@media (max-width: 959px) {
  .gd-kp-copy {
    min-width: 0;
  }
  .gd-kp-copy strong {
    overflow-wrap: anywhere;
  }
  .gd-table-wrap .gd-pl {
    font-size: 0.8rem;
  }
  .gd-pl th:first-child {
    min-width: 10rem;
  }
}
@media (max-width: 360px) {
  .gd-kp-stats {
    gap: 0.7rem;
  }
}
@media (prefers-reduced-motion: reduce) {
}

.selected .gd-ink {
  opacity: 1;
}
#game-page .gd-tabs {
  padding-right: var(--gd-x);
  border: 0;
  box-shadow: none;
}
@media (max-width: 959px) {
  .gd-eyebrow {
    position: static;
    max-width: calc(100% - 60px);
    min-height: 44px;
    margin-bottom: 1.25rem;
    white-space: normal;
  }
  .gd-scoreboard {
    grid-template-columns: minmax(0, 1fr) 7.5rem minmax(0, 1fr);
  }
  .gd-center {
    min-width: 0;
  }
  .gd-score {
    font-size: 2.25rem;
  }
  .gd-team-name {
    font-size: 1rem;
    overflow-wrap: normal;
  }
  .gd-fresh {
    font-size: 0.65rem;
  }
}
@media (max-width: 374px) {
  .gd-scoreboard {
    grid-template-columns: minmax(0, 1fr) 6.3rem minmax(0, 1fr);
    gap: 0.4rem;
  }
  .gd-score {
    font-size: 1.875rem;
  }
  .gd-team-name {
    font-size: 0.8125rem;
  }
}

.gd-pl .gd-pl-name {
  width: 12rem;
  max-width: 12rem;
}
.gd-table-hint {
  margin: 1rem 0 -0.75rem;
  color: var(--text-3);
  font-size: 0.75rem;
  text-align: right;
}
@media (max-width: 959px) {
  .gd-pl .gd-pl-name {
    width: 10rem;
    max-width: 10rem;
  }
  .gd-pl tbody th,
  .gd-pl td {
    font-size: 0.8rem;
  }
}
.gd-kp-copy strong {
  white-space: normal;
  overflow-wrap: anywhere;
  text-overflow: clip;
}
.gd-kp-stats .gd-long-stat {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}
.gd-kp-stats .gd-long-stat dd {
  font-size: 1rem;
  line-height: 1.45;
  font-weight: var(--fw-label);
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: left;
}
@media (min-width: 960px) {
  #game-page .gd-table-hint {
    display: none;
  }
}

.gd-dismiss {
  position: absolute;
  top: calc(1rem + env(safe-area-inset-top));
  right: var(--gd-x);
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 50%;
  z-index: 2;
  background: #ffffff12;
}
.gd-dismiss svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.tv .gd-dismiss,
.tv .hf-detail-dismiss {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .gd-ink,
  .gd-live-dot {
    animation: none !important;
    transition: none !important;
  }
}

.gd-grid {
  align-items: start;
}
.gd-hero {
  border: 0;
  box-shadow: none;
}
.gd-tabs {
  scrollbar-width: none;
}
.gd-tabs::-webkit-scrollbar {
  display: none;
}
.gd-season-note {
  margin: 0 auto 1.5rem;
  max-width: 109rem;
  color: var(--text-3);
  font-size: 0.8rem;
  line-height: 1.5;
}
.gd-comparison {
  cursor: pointer;
}
.gd-all-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  color: var(--volt-300);
  font-size: 0.9rem;
  font-weight: var(--fw-label);
}
.gd-live-column {
  display: grid;
  gap: var(--gd-gap);
  min-width: 0;
}
#game-comparison-dialog,
#game-player-dialog {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top)) var(--gd-x);
  background: #03050bd9;
}
#game-comparison-dialog[hidden],
#game-player-dialog[hidden] {
  display: none;
}
.gd-dialog-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 70rem;
  max-height: 88vh;
  min-height: 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--gd-card-r);
  background: #101521;
}
.gd-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
}
.gd-dialog-head h2 {
  font-size: 1.25rem;
}
.gd-dialog-scroll {
  overflow: auto;
  min-height: 0;
  padding: 0 0.5rem;
  overscroll-behavior: contain;
}
.gd-dialog-key {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.5rem;
}
#game-comparison-dialog button:focus,
#game-player-dialog .gd-dialog-head button:focus {
  background: var(--volt-500);
  color: white;
  box-shadow: inset 0 0 0 2px var(--volt-300);
}
.gd-dialog-scroll:focus .gd-dialog-key {
  color: var(--volt-300);
}
.gd-pl .gd-player-link {
  display: inline-flex;
  align-items: center;
  width: 100%;
  max-width: 26rem;
  min-height: 2.75rem;
  padding: 0.45rem 0.6rem;
  border: 0;
  border-radius: 0.6rem;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  white-space: nowrap;
}
.gd-player-stats .gd-pl .gd-pl-name {
  min-width: 26rem;
  width: 26rem;
}
.gd-player-link .gd-pl-no {
  flex: none;
}
.gd-player-name {
  overflow: hidden;
  text-overflow: ellipsis;
}
.gd-pl .gd-player-link:focus {
  outline: none;
  background: var(--volt-500);
  color: white;
  box-shadow: inset 0 0 0 2px var(--volt-300);
}
#game-player-dialog {
  --lp-unit: 1rem;
  --lp-hair: #ffffff14;
}
#game-player-dialog .gd-dialog-panel {
  max-width: 54rem;
  height: 88vh;
}
#game-player-dialog .ls-side-content {
  position: relative;
  flex: 1;
  min-height: 0;
}
#game-player-dialog .ls-profile-head h2 {
  font-size: 1.7rem;
}
#game-player-dialog .ls-profile-head .gd-portrait {
  width: 4.5rem;
  height: 4.5rem;
}
#game-player-dialog .ls-profile-team,
#game-player-dialog .ls-profile-head p,
#game-player-dialog .ls-season-label {
  font-size: 0.9rem;
}
#game-player-dialog .ls-profile-grid h3,
#game-player-dialog .ls-profile-grid dt {
  font-size: 0.85rem;
}
#game-player-dialog .ls-profile-grid dd {
  font-size: 1.5rem;
}
@media (min-width: 960px) {
  #game-player-dialog {
    --lp-unit: 1.25rem;
  }
  #game-player-dialog .gd-dialog-panel {
    max-width: 64rem;
  }
  #game-player-dialog .ls-profile-head h2 {
    font-size: 2.4rem;
  }
  #game-player-dialog .ls-profile-head .gd-portrait {
    width: 6rem;
    height: 6rem;
  }
  #game-player-dialog .ls-profile-team,
  #game-player-dialog .ls-profile-head p,
  #game-player-dialog .ls-season-label,
  #game-player-dialog .ls-profile-grid h3,
  #game-player-dialog .ls-profile-grid dt {
    font-size: 1.1rem;
  }
  #game-player-dialog .ls-profile-grid dd {
    font-size: 1.875rem;
  }
  .gd-season-note {
    text-align: center;
    font-size: 1rem;
  }
  .gd-all-stats {
    font-size: 1.1rem;
  }
  .gd-dialog-panel {
    padding: 2rem;
  }
  .gd-dialog-head h2 {
    font-size: 1.6rem;
  }
}
@media (max-width: 959px) {
  .gd-player-stats .gd-pl .gd-pl-name {
    min-width: 12rem;
    width: 12rem;
  }
  .gd-pl .gd-player-link {
    max-width: 12rem;
  }
}
@media (max-width: 959px) and (max-height: 500px) {
  #game-player-dialog .gd-dialog-panel {
    padding: 0.75rem;
  }
  #game-player-dialog .gd-dialog-head {
    padding-bottom: 0.5rem;
  }
  #game-player-dialog .ls-profile-head {
    padding: 0 0 0.35rem;
    gap: 0.75rem;
  }
  #game-player-dialog .ls-profile-head .gd-portrait {
    width: 2.75rem;
    height: 2.75rem;
  }
  #game-player-dialog .ls-profile-head h2 {
    font-size: 1.25rem;
    margin: 0.1em 0;
  }
  #game-player-dialog .ls-profile-team,
  #game-player-dialog .ls-profile-head p {
    font-size: 0.75rem;
  }
  #game-player-dialog .ls-choices button {
    padding: 0.35em;
  }
}
