@import url("/styles/theme-base.css");
@import url("/styles/theme-core.css");
@import url("/styles/theme-tablet.css");
@import url("/styles/theme-polish.css");
@import url("/styles/theme-sports.css");
@import url("/styles/theme-movies.css");
@import url("/styles/theme-mobile.css");
@import url("/styles/theme-motion.css");

html .share-button {
  align-items: center;
  appearance: none;
  background: #ffffff;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  color: #111316;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  height: 28px;
  justify-content: center;
  padding: 0;
  width: 28px;
}

html .share-button:hover {
  border-color: var(--accent);
}

html .share-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

html .share-button.is-copied {
  background: #e7f7ef;
  border-color: #bcebd0;
}

html .share-icon {
  display: block;
  height: 15px;
  width: 15px;
}

html .detail-link {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: inline;
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
  padding: 0;
  text-align: left;
}

html .detail-link:hover,
html .detail-link:focus-visible {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

html .team-matchup-link,
html .week-summary-title-link {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
}

html .movie-title-link {
  display: inline;
}

html .movie-card-actions {
  align-items: center;
  display: flex;
  gap: 4px;
}

html .movie-head {
  padding-right: 36px;
}

html .movie-head > .movie-card-actions {
  position: absolute;
  right: 0;
  top: -2px;
  z-index: 1;
}

html .movie-head > .movie-card-actions + .watchlist-button {
  position: static;
}

html .week-summary:not(.watchlist-feed) .week-summary-action {
  align-self: start;
}

html .week-summary-copy {
  min-width: 0;
}

html .week-summary-scores .week-summary-item {
  align-items: start;
  column-gap: 12px;
  grid-template-columns: 104px minmax(0, 1fr) minmax(124px, max-content) auto;
}

html .week-summary-scores .week-summary-scorebug {
  align-self: start;
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  margin-top: 0;
  max-width: 260px;
  min-width: 0;
}

html .week-summary-scores .week-summary-action {
  grid-column: 4;
  grid-row: 1;
}

html .week-summary-scores .week-summary-details {
  grid-column: 1 / -1;
}

html .event.is-share-target,
html .week-summary-item.is-share-target,
html .movie-card.is-share-target {
  border-color: color-mix(in srgb, var(--accent) 58%, var(--panel-border));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}

html .title-with-share {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}

html .title-with-share .detail-link {
  min-width: 0;
}

html .share-button.share-button-compact {
  background: transparent;
  border-color: transparent;
  color: currentColor;
  flex: 0 0 22px;
  height: 22px;
  min-height: 22px;
  opacity: 0.42;
  width: 22px;
}

html .share-button.share-button-compact:hover,
html .share-button.share-button-compact:focus-visible,
html .share-button.share-button-compact.is-copied {
  background: rgb(17 19 22 / 6%);
  border-color: rgb(17 19 22 / 10%);
  opacity: 1;
}

html .share-button.share-button-compact .share-icon {
  height: 12px;
  width: 12px;
}

html .event.is-share-target {
  background: color-mix(in srgb, var(--accent) 7%, #ffffff);
}

html .shared-focus {
  align-items: center;
  background: #fffdfa;
  border: 1px solid var(--panel-border);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 16px;
  padding: 16px;
}

html .shared-focus-film {
  grid-template-columns: 78px minmax(0, 1fr) auto;
}

html .shared-focus-poster {
  aspect-ratio: 2 / 3;
  border: 1px solid var(--panel-border);
  border-radius: 6px;
  height: 116px;
  object-fit: cover;
  width: 78px;
}

html .shared-focus-copy {
  min-width: 0;
}

html .shared-focus-eyebrow {
  color: var(--accent);
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 4px;
  text-transform: uppercase;
}

html .shared-focus h2 {
  font-size: 20px;
  font-weight: 780;
  overflow-wrap: anywhere;
}

html .shared-focus p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

html .shared-focus strong {
  color: #344054;
  display: block;
  font-size: 13px;
  font-weight: 720;
  margin-top: 6px;
  overflow-wrap: anywhere;
}

html .shared-focus-back {
  align-items: center;
  background: var(--accent);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 760;
  min-height: 34px;
  padding: 0 14px;
  text-decoration: none;
  white-space: nowrap;
}

html .detail-page {
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-width: 920px;
}

html .detail-toolbar {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

html .detail-back-link {
  align-items: center;
  appearance: none;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 13px;
  font-weight: 780;
  min-height: 34px;
}

html .detail-back-link {
  background: transparent;
  border: 0;
  color: #111316;
  gap: 6px;
  padding: 0;
  text-decoration: none;
}

html .detail-back-link:hover {
  color: #111316;
  text-decoration: none;
}

html .detail-back-link span[aria-hidden="true"] {
  font-size: 18px;
  line-height: 1;
}

html .detail-share-button {
  height: 32px;
  width: 32px;
}

html .detail-banner {
  background: #fff4df;
  border: 1px solid color-mix(in srgb, var(--warning) 30%, transparent);
  border-radius: 8px;
  color: var(--warning);
  font-size: 13px;
  font-weight: 720;
  padding: 10px 12px;
}

html .detail-hero {
  align-items: start;
  background: #fffdfa;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 20px;
}

html .detail-eyebrow {
  color: #806333;
  display: block;
  font-size: 12px;
  font-weight: 820;
  margin-bottom: 6px;
  text-transform: uppercase;
}

html .detail-hero h2,
html .detail-film-copy h2 {
  color: #111316;
  font-size: 30px;
  font-weight: 820;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

html .detail-hero p,
html .detail-film-copy p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  margin-top: 6px;
}

html .detail-scoreboard,
html .detail-leaderboard-summary {
  align-self: start;
  background: #111316;
  border-radius: 8px;
  color: #ffffff;
  display: grid;
  gap: 8px 12px;
  min-width: 210px;
  padding: 14px;
}

html .detail-scoreboard {
  grid-template-columns: minmax(0, 1fr) auto;
}

html .detail-scoreboard span,
html .detail-leaderboard-summary span {
  color: rgb(255 255 255 / 74%);
  font-size: 12px;
  font-weight: 760;
}

html .detail-scoreboard strong {
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  justify-self: end;
}

html .detail-scoreboard em {
  color: #7fd99a;
  font-size: 12px;
  font-style: normal;
  font-weight: 780;
  grid-column: 1 / -1;
  text-transform: uppercase;
}

html .detail-leaderboard-summary strong {
  font-size: 14px;
}

html .detail-facts {
  background: #fffdfa;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  display: grid;
}

html .detail-facts > div {
  display: grid;
  gap: 16px;
  grid-template-columns: 120px minmax(0, 1fr);
  padding: 12px 16px;
}

html .detail-facts > div + div {
  border-top: 1px solid var(--soft);
}

html .detail-facts span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

html .detail-facts strong {
  color: #344054;
  font-size: 14px;
  font-weight: 720;
  overflow-wrap: anywhere;
}

html .detail-box-score {
  margin-top: 0;
}

html .detail-film-layout {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(190px, 260px) minmax(0, 1fr);
}

html .detail-film-poster {
  aspect-ratio: 2 / 3;
  background: #eef4fb;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  color: var(--accent);
  display: grid;
  font-size: 44px;
  font-weight: 820;
  overflow: hidden;
  place-items: center;
  position: relative;
}

html .detail-film-poster img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

html .detail-film-copy {
  background: #fffdfa;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  min-width: 0;
  padding: 20px;
}

html .detail-film-copy .event-tags {
  margin-top: 14px;
}

html .detail-overview {
  color: #344054;
  display: block;
  font-size: 15px;
  font-weight: 620;
  line-height: 1.55;
  margin-top: 16px;
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  html .week-summary:not(.watchlist-feed) .week-summary-item {
    padding-right: 42px;
    position: relative;
  }

  html .week-summary:not(.watchlist-feed) .week-summary-details {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  html .week-summary-action {
    align-self: start;
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    grid-column: 1 / -1;
    grid-row: 3;
    justify-content: flex-start;
    justify-self: start;
    margin-top: 4px;
    min-width: 0;
    overflow: hidden;
  }

  html .week-summary-date {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  html .week-summary-item > div:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
  }

  html .week-summary-details {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  html .week-summary:not(.watchlist-feed) .week-summary-action {
    display: flex;
    grid-column: auto;
    grid-row: auto;
    justify-content: center;
    margin-top: 0;
    min-width: 0;
    overflow: visible;
    position: absolute;
    right: 14px;
    top: 12px;
  }

  html .week-summary:not(.watchlist-feed) .week-summary-details {
    grid-row: 3;
  }

  html .week-summary-action .share-button,
  html .event-action .share-button,
  html .movie-card-actions .share-button {
    height: 34px;
    min-height: 34px;
    width: 34px;
  }

  html .week-summary-action .share-icon,
  html .event-action .share-icon,
  html .movie-card-actions .share-icon {
    height: 16px;
    width: 16px;
  }

  html .week-summary-action .row-chevron,
  html .week-summary-action .calendar-link,
  html .week-summary-action .watchlist-button,
  html .week-summary-action .share-button {
    grid-column: auto;
    grid-row: auto;
    justify-self: auto;
    margin-right: 0;
  }

  html .week-summary-scorebug {
    margin-top: 5px;
  }

  html .week-summary-scores .week-summary-item {
    grid-template-columns: minmax(0, 1fr);
  }

  html .week-summary-scores .week-summary-scorebug {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: start;
    margin-top: 5px;
    max-width: 100%;
  }

  html .week-summary-scores .week-summary-details {
    grid-row: 4;
  }

  html .week-summary-action .scorebug {
    flex: 0 1 calc(100% - 126px);
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
    margin-top: 0;
    max-width: 100%;
    min-width: 0;
    width: auto;
  }

  html .week-summary-action .row-chevron {
    align-items: center;
    flex: 0 0 12px;
    margin-right: 0 !important;
    min-height: 32px;
  }

  html .week-summary-action .share-button,
  html .week-summary-action .calendar-link,
  html .week-summary-action .watchlist-button {
    flex: 0 0 32px;
    height: 32px;
    margin-right: 0 !important;
    min-height: 32px;
    width: 32px;
  }

  html .week-summary-action .calendar-icon {
    height: 20px;
    width: 20px;
  }

  html .watchlist-feed .week-summary-item {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 8px;
  }

  html .watchlist-feed .watchlist-row-main {
    grid-column: 1;
    grid-row: 1;
  }

  html .watchlist-feed .week-summary-item > .week-summary-action {
    display: flex;
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    min-width: 0;
    overflow: visible;
  }

  html .watchlist-feed .week-summary-details {
    grid-row: 3;
  }

  html .shared-focus,
  html .shared-focus-film {
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
  }

  html .shared-focus-back {
    justify-content: center;
    width: 100%;
  }

  html .detail-page {
    gap: 14px;
  }

  html .detail-toolbar {
    align-items: stretch;
  }

  html .detail-back-link {
    justify-content: center;
  }

  html .detail-hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px;
  }

  html .detail-hero h2,
  html .detail-film-copy h2 {
    font-size: 24px;
  }

  html .detail-scoreboard,
  html .detail-leaderboard-summary {
    min-width: 0;
    width: 100%;
  }

  html .detail-facts > div {
    gap: 4px;
    grid-template-columns: minmax(0, 1fr);
  }

  html .detail-film-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  html .detail-film-poster {
    justify-self: center;
    max-width: 260px;
    width: min(100%, 260px);
  }

  html .detail-film-copy {
    padding: 16px;
  }
}
