/* Seasons reference redesign V2.4.213. All rules are scoped to #view-season. */

html body #view-season {
  --season-ref-surface: #0d1114;
  --season-ref-surface-raised: #11171b;
  --season-ref-border: rgba(172, 187, 196, .16);
  --season-ref-border-strong: rgba(218, 227, 232, .26);
  --season-ref-text: #f3f5f6;
  --season-ref-muted: #aeb6bb;
  --season-ref-dim: #7f8a91;
  --season-ref-red: #f0273d;
  --season-ref-red-dark: #9e1725;
  --season-ref-yellow: #ffc928;
  padding-bottom: 22px;
}

html body #view-season > .mobile-calendar-tabs,
html body #view-season .seasons-archive,
html body #view-season .seasons-year-quick {
  display: none !important;
}

html body #view-season .seasons-reference-hero {
  position: relative;
  min-height: 216px;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  margin: 0 0 20px;
  padding: 30px 34px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background:
    radial-gradient(circle at 82% 42%, rgba(204, 25, 48, .16), transparent 39%),
    linear-gradient(105deg, #121014 0%, #100e12 54%, #160c10 100%);
}

html body #view-season .seasons-reference-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 7, 9, .08) 0%, rgba(5, 7, 9, .14) 46%, rgba(5, 7, 9, .42) 100%);
}

html body #view-season .seasons-reference-hero-art {
  position: absolute;
  inset: 0 0 0 42%;
  z-index: -2;
  overflow: hidden;
}

html body #view-season .seasons-reference-hero-art picture,
html body #view-season .seasons-reference-hero-art img {
  width: 100%;
  height: 100%;
  display: block;
}

html body #view-season .seasons-reference-hero-art img {
  object-fit: cover;
  object-position: center;
}

html body #view-season .seasons-head-copy {
  position: relative;
  z-index: 1;
  width: min(500px, 58%);
  display: grid;
  gap: 7px;
}

html body #view-season .seasons-head-copy .page-main-title {
  margin: 0 !important;
  color: var(--season-ref-text) !important;
  font-size: clamp(32px, 3vw, 42px) !important;
  font-weight: 800 !important;
  letter-spacing: -.045em !important;
  line-height: 1 !important;
}

html body #view-season .seasons-head-copy p {
  margin: 0 !important;
}

html body #view-season .seasons-reference-subtitle {
  color: #f0f1f2 !important;
  font-size: 18px !important;
  font-weight: 650 !important;
  line-height: 1.3 !important;
}

html body #view-season .seasons-reference-description {
  max-width: 440px;
  padding-top: 4px;
  color: var(--season-ref-muted) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

html body #view-season .seasons-tabrow {
  display: block;
  margin: 0 0 26px !important;
  padding: 0 !important;
  overflow: visible;
  border: 0 !important;
  background: transparent !important;
}

html body #view-season .seasons-tabs {
  width: 100%;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body #view-season .seasons-tabs .season-choice {
  width: 100% !important;
  min-width: 0 !important;
  height: 46px !important;
  min-height: 46px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px !important;
  border: 1px solid var(--season-ref-border-strong) !important;
  border-radius: 10px !important;
  background: rgba(15, 20, 24, .86) !important;
  color: #d5dade !important;
  box-shadow: none !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease;
}

html body #view-season .seasons-tabs .season-choice:hover {
  border-color: rgba(240, 39, 61, .66) !important;
  color: #fff !important;
}

html body #view-season .seasons-tabs .season-choice:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .86);
  outline-offset: 2px;
}

html body #view-season .seasons-tabs .season-choice.is-active {
  border-color: #ff354a !important;
  background: linear-gradient(180deg, #ff3046 0%, #ed2138 100%) !important;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(219, 25, 47, .22) !important;
}

html body #view-season .seasons-reference-toolbar {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 2px 10px;
}

html body #view-season .seasons-reference-toolbar h3 {
  margin: 0;
  color: var(--season-ref-text);
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -.02em;
}

html body #view-season .seasons-reference-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

html body #view-season .seasons-sort-label {
  color: var(--season-ref-muted);
  font-size: 12px;
  white-space: nowrap;
}

html body #view-season .seasons-reference-actions > .ar-select {
  width: 148px;
  min-width: 148px;
}

html body #view-season .seasons-reference-actions > .ar-select .ar-select-btn {
  height: 38px !important;
  min-height: 38px !important;
  padding-left: 14px !important;
  border-color: var(--season-ref-border) !important;
  border-radius: 9px !important;
  background: var(--season-ref-surface-raised) !important;
  color: var(--season-ref-text) !important;
  font-size: 12px !important;
}

html body #view-season .seasons-reference-actions > .ar-select .ar-select-menu {
  border-color: var(--season-ref-border-strong) !important;
  background: #12181c !important;
}

html body #view-season .seasons-view-switch {
  display: grid;
  grid-template-columns: repeat(2, 40px);
  gap: 3px;
}

html body #view-season .seasons-view-switch button {
  width: 40px;
  height: 38px;
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--season-ref-border);
  border-radius: 9px;
  background: var(--season-ref-surface-raised);
  color: #aeb7bc;
  box-shadow: none;
  cursor: pointer;
}

html body #view-season .seasons-view-switch button:hover {
  border-color: var(--season-ref-border-strong);
  color: #fff;
}

html body #view-season .seasons-view-switch button.is-active {
  border-color: var(--season-ref-red-dark);
  background: linear-gradient(180deg, rgba(224, 29, 51, .92), rgba(139, 20, 34, .92));
  color: #fff;
}

html body #view-season .seasons-view-switch svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html body #view-season .seasons-body {
  margin: 0;
  padding: 0;
}

html body #view-season .seasons-reference-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

html body #view-season .seasons-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--season-ref-border);
  border-radius: 10px;
  background: linear-gradient(180deg, #11171a 0%, #0c1114 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
  color: var(--season-ref-text);
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

html body #view-season .seasons-card:hover {
  border-color: var(--season-ref-border-strong);
  transform: translateY(-2px);
  box-shadow: 0 15px 28px rgba(0, 0, 0, .22);
}

html body #view-season .seasons-card-art {
  position: relative;
  width: 100%;
  aspect-ratio: 1.52 / 1;
  display: block;
  overflow: hidden;
  background: #171d21;
}

html body #view-season .seasons-card-art::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(transparent, rgba(6, 9, 11, .72));
  pointer-events: none;
}

html body #view-season .seasons-card-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 26%;
  transition: transform .24s ease;
}

html body #view-season .seasons-card:hover .seasons-card-art img {
  transform: scale(1.025);
}

html body #view-season .seasons-card-save {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 3;
  width: 31px;
  height: 31px;
  min-height: 31px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 7px;
  background: rgba(6, 9, 12, .72);
  color: #fff;
  box-shadow: 0 5px 14px rgba(0, 0, 0, .28);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

html body #view-season .seasons-card-save:hover,
html body #view-season .seasons-card-save.is-active {
  border-color: rgba(255, 55, 77, .85);
  background: rgba(215, 25, 47, .88);
}

html body #view-season .seasons-card-save svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html body #view-season .seasons-card-save.is-active svg {
  fill: currentColor;
}

html body #view-season .seasons-card-content {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 12px 11px;
}

html body #view-season .seasons-card-title {
  width: 100%;
  min-height: 2.5em;
  display: -webkit-box;
  overflow: hidden;
  color: var(--season-ref-text);
  font-size: 14px;
  font-weight: 730;
  line-height: 1.25;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

html body #view-season .seasons-card-title:hover {
  color: #fff;
}

html body #view-season .seasons-card-meta {
  margin-top: 4px;
  color: var(--season-ref-dim);
  font-size: 11px;
  line-height: 1.25;
}

html body #view-season .seasons-card-rating {
  min-height: 18px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  color: var(--season-ref-text);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

html body #view-season .seasons-card-rating i {
  color: var(--season-ref-yellow);
  font-size: 14px;
  font-style: normal;
}

html body #view-season .seasons-card-rating strong {
  font-weight: 700;
}

html body #view-season .seasons-card-rating small {
  color: var(--season-ref-dim);
  font-size: 10px;
}

html body #view-season .seasons-card-genres {
  width: 100%;
  display: flex;
  gap: 4px;
  margin-top: 7px;
  overflow: hidden;
}

html body #view-season .seasons-card-genres > span {
  min-width: 0;
  max-width: 42%;
  display: inline-block;
  overflow: hidden;
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  color: #bcc4c8;
  font-size: 9px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body #view-season .seasons-card-providers {
  min-height: 27px;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  padding-top: 9px;
}

html body #view-season .seasons-card-providers.is-empty {
  visibility: hidden;
}

html body #view-season .seasons-provider-logo,
html body #view-season .seasons-provider-more {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 6px;
  background: #080b0d;
  color: #c6cdd1;
  font-size: 9px;
  font-weight: 700;
}

html body #view-season .seasons-provider-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

html body #view-season .seasons-provider-more {
  background: #151b1f;
}

html body #view-season .seasons-main-more {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

html body #view-season .seasons-main-more .seasons-secondary-action {
  min-width: 160px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--season-ref-border-strong);
  border-radius: 9px;
  background: #12181c;
  color: #eef1f2;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

html body #view-season .seasons-main-more .seasons-secondary-action:hover {
  border-color: rgba(240, 39, 61, .7);
}

html body #view-season .seasons-main-more .seasons-secondary-action[disabled] {
  opacity: .6;
  cursor: wait;
}

html body #view-season .seasons-reference-grid.is-skeleton {
  pointer-events: none;
}

html body #view-season .seasons-reference-skeleton {
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--season-ref-border);
  border-radius: 10px;
  background: #0e1417;
}

html body #view-season .seasons-reference-skeleton span,
html body #view-season .seasons-reference-skeleton b,
html body #view-season .seasons-reference-skeleton i,
html body #view-season .seasons-reference-skeleton em {
  display: block;
  background: linear-gradient(100deg, rgba(255, 255, 255, .035) 10%, rgba(255, 255, 255, .09) 48%, rgba(255, 255, 255, .035) 82%);
  background-size: 220% 100%;
  animation: season-reference-shimmer 1.35s linear infinite;
}

html body #view-season .seasons-reference-skeleton span {
  height: 138px;
}

html body #view-season .seasons-reference-skeleton b {
  width: 76%;
  height: 14px;
  margin: 14px 12px 0;
  border-radius: 4px;
}

html body #view-season .seasons-reference-skeleton i {
  width: 45%;
  height: 10px;
  margin: 10px 12px 0;
  border-radius: 4px;
}

html body #view-season .seasons-reference-skeleton em {
  width: 64%;
  height: 22px;
  margin: 38px 12px 12px;
  border-radius: 6px;
}

html body #view-season .seasons-body.is-list .seasons-reference-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

html body #view-season .seasons-body.is-list .seasons-card {
  min-height: 142px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
}

html body #view-season .seasons-body.is-list .seasons-card-art {
  height: 100%;
  aspect-ratio: auto;
}

html body #view-season .seasons-body.is-list .seasons-card-content {
  padding: 17px 18px 14px;
}

html body #view-season .seasons-body.is-list .seasons-card-title {
  min-height: 0;
  font-size: 16px;
  -webkit-line-clamp: 1;
}

html body #view-season .seasons-body.is-list .seasons-card-genres {
  width: auto;
}

html body #view-season .seasons-body.is-list .seasons-card-genres > span {
  max-width: none;
}

html body #view-season .seasons-body.is-list .seasons-card-providers {
  margin-top: 8px;
}

@keyframes season-reference-shimmer {
  to { background-position-x: -220%; }
}

@media (min-width: 761px) and (max-width: 1080px) {
  html body #view-season .seasons-reference-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  html body #view-season {
    padding-bottom: 12px;
  }

  html body #view-season .seasons-reference-hero {
    width: calc(100% + 24px) !important;
    max-width: none !important;
    min-height: 174px;
    align-items: flex-start;
    margin: -4px -12px 18px;
    padding: 23px 18px 20px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    background:
      radial-gradient(circle at 88% 38%, rgba(204, 25, 48, .16), transparent 37%),
      linear-gradient(105deg, #121014 0%, #100e12 58%, #160c10 100%);
  }

  html body #view-season .seasons-reference-hero::after {
    background: linear-gradient(90deg, rgba(5, 7, 9, .04), rgba(5, 7, 9, .18) 62%, rgba(5, 7, 9, .4));
  }

  html body #view-season .seasons-reference-hero-art {
    inset: 0 0 0 45%;
  }

  html body #view-season .seasons-head-copy {
    width: 72%;
    gap: 5px;
  }

  html body #view-season .seasons-head-copy .page-main-title {
    font-size: 25px !important;
    letter-spacing: -.035em !important;
  }

  html body #view-season .seasons-reference-subtitle {
    font-size: 13px !important;
    line-height: 1.28 !important;
  }

  html body #view-season .seasons-reference-description {
    max-width: 240px;
    padding-top: 4px;
    font-size: 10.5px !important;
    line-height: 1.48 !important;
  }

  html body #view-season .seasons-tabrow {
    width: calc(100% + 12px);
    margin: 0 -12px 17px 0 !important;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }

  html body #view-season .seasons-tabrow::-webkit-scrollbar {
    display: none;
  }

  html body #view-season .seasons-tabs {
    width: max-content;
    display: flex !important;
    gap: 9px !important;
    padding-right: 12px !important;
  }

  html body #view-season .seasons-tabs .season-choice {
    width: auto !important;
    min-width: 98px !important;
    height: 38px !important;
    min-height: 38px !important;
    flex: 0 0 auto;
    padding: 0 15px !important;
    border-radius: 8px !important;
    font-size: 11px !important;
  }

  html body #view-season .seasons-reference-toolbar {
    min-height: 77px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    margin: 0 0 10px;
  }

  html body #view-season .seasons-reference-toolbar h3 {
    font-size: 16px;
  }

  html body #view-season .seasons-reference-actions {
    gap: 8px;
  }

  html body #view-season .seasons-sort-label {
    margin-left: auto;
    font-size: 10px;
  }

  html body #view-season .seasons-reference-actions > .ar-select {
    width: 112px;
    min-width: 112px;
  }

  html body #view-season .seasons-reference-actions > .ar-select .ar-select-btn {
    height: 34px !important;
    min-height: 34px !important;
    padding-left: 10px !important;
    font-size: 10px !important;
  }

  html body #view-season .seasons-view-switch {
    grid-template-columns: repeat(2, 35px);
  }

  html body #view-season .seasons-view-switch button {
    width: 35px;
    height: 34px;
    min-height: 34px;
    border-radius: 8px;
  }

  html body #view-season .seasons-view-switch svg {
    width: 17px;
    height: 17px;
  }

  html body #view-season .seasons-reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px 9px;
  }

  html body #view-season .seasons-card {
    border-radius: 8px;
  }

  html body #view-season .seasons-card:hover {
    transform: none;
  }

  html body #view-season .seasons-card-art {
    aspect-ratio: 1.33 / 1;
  }

  html body #view-season .seasons-card-save {
    top: 7px;
    right: 7px;
    width: 27px;
    height: 27px;
    min-height: 27px;
    border-radius: 6px;
  }

  html body #view-season .seasons-card-save svg {
    width: 15px;
    height: 15px;
  }

  html body #view-season .seasons-card-content {
    padding: 9px 8px 8px;
  }

  html body #view-season .seasons-card-title {
    min-height: 2.45em;
    font-size: 11.5px;
    line-height: 1.23;
  }

  html body #view-season .seasons-card-meta {
    margin-top: 3px;
    font-size: 9px;
  }

  html body #view-season .seasons-card-rating {
    min-height: 15px;
    gap: 4px;
    margin-top: 5px;
    font-size: 10px;
  }

  html body #view-season .seasons-card-rating i {
    font-size: 12px;
  }

  html body #view-season .seasons-card-rating small {
    font-size: 8px;
  }

  html body #view-season .seasons-card-genres {
    gap: 3px;
    margin-top: 5px;
  }

  html body #view-season .seasons-card-genres > span {
    max-width: 46%;
    padding: 3px 5px;
    font-size: 7px;
  }

  html body #view-season .seasons-card-genres > span:nth-child(3) {
    display: none;
  }

  html body #view-season .seasons-card-providers {
    min-height: 22px;
    gap: 4px;
    padding-top: 7px;
  }

  html body #view-season .seasons-provider-logo,
  html body #view-season .seasons-provider-more {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    font-size: 8px;
  }

  html body #view-season .seasons-reference-skeleton {
    min-height: 238px;
  }

  html body #view-season .seasons-reference-skeleton span {
    height: 116px;
  }

  html body #view-season .seasons-body.is-list .seasons-reference-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  html body #view-season .seasons-body.is-list .seasons-card {
    min-height: 112px;
    grid-template-columns: 120px minmax(0, 1fr);
  }

  html body #view-season .seasons-body.is-list .seasons-card-content {
    padding: 11px 10px 9px;
  }

  html body #view-season .seasons-body.is-list .seasons-card-title {
    font-size: 12px;
    -webkit-line-clamp: 2;
  }

  html body #view-season .seasons-body.is-list .seasons-card-genres > span:nth-child(3) {
    display: inline-block;
  }

  html body #view-season .seasons-body.is-list .seasons-card-providers {
    margin-top: 4px;
  }
}

@media (max-width: 370px) {
  html body #view-season .seasons-reference-actions {
    display: grid;
    grid-template-columns: auto 106px 73px;
  }

  html body #view-season .seasons-sort-label {
    margin-left: 0;
  }

  html body #view-season .seasons-reference-actions > .ar-select {
    width: 106px;
    min-width: 106px;
  }

  html body #view-season .seasons-reference-grid {
    gap: 8px 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body #view-season .seasons-card,
  html body #view-season .seasons-card-art img,
  html body #view-season .seasons-tabs .season-choice {
    transition: none;
  }

  html body #view-season .seasons-reference-skeleton span,
  html body #view-season .seasons-reference-skeleton b,
  html body #view-season .seasons-reference-skeleton i,
  html body #view-season .seasons-reference-skeleton em {
    animation: none;
  }
}
