/* PELISPLUS · components · canonical source */
.hero {
  position: relative;
  min-height: 620px;
  height: 660px;
  max-height: 900px;
  isolation: isolate;
  background: var(--bg);
}

.hero.home-hero {
  height: clamp(620px,48vw,800px);
}

.hero.single-hero {
  height: 650px;
  min-height: 600px;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg,#0c0e0df2 0%,#0c0e0dad 28%,#0c0e0d22 64%,#0c0e0d08),linear-gradient(0deg,var(--bg) 0%,#0c0e0d55 16%,transparent 55%);
}

.hero-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  width: 750px;
  max-width: 100%;
  padding: 140px var(--gutter) 85px;
  gap: 19px;
}

.hero-content > * {
  flex-shrink: 0;
}

.single-hero .hero-content {
  padding: 130px var(--gutter) 68px;
}

.hero-title {
  font-family: BrandCondensed,"Arial Narrow",sans-serif;
  font-size: clamp(68px,7.2vw,116px);
  line-height: .89;
  font-weight: 700;
  letter-spacing: -.025em;
  text-transform: uppercase;
  margin: 2px 0 6px;
  max-width: 580px;
  color: var(--white);
  text-wrap: balance;
}

.hero .meta {
  margin: 0;
}

.meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
  color: #c9d1c4;
}

.meta .star {
  color: var(--gold);
}

.meta .dot {
  color: #697565;
}

.hero-facts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.quality-tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ffffff55;
  border-radius: 3px;
  padding: 0 5px;
  font-size: 9px;
  line-height: 17px;
  font-weight: 700;
  color: #e3e8df;
}

.hero-genre {
  font-size: 12px;
  color: #b3bdad;
}

.hero-synopsis {
  font-size: 14px;
  line-height: 1.8;
  color: #b3bdb0;
  max-width: 450px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
}

.accent-dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 14px #c5f46b88;
}

.hero-badge-line {
  width: 25px;
  height: 1px;
  background: #c5f46b50;
  margin-inline: 4px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.hero-details {
  border-color: #ffffff25;
  background: #ffffff0c;
  backdrop-filter: blur(8px);
  font-weight: 500;
}

.hero-editorial {
  position: absolute;
  bottom: 36px;
  left: var(--gutter);
  display: flex;
  gap: 18px;
  align-items: center;
}

.hero-editorial > span {
  font-size: 10px;
  letter-spacing: .12em;
  color: #d2dcc9;
  border-right: 1px solid #ffffff25;
  padding-right: 18px;
}

.hero-editorial p {
  font-size: 10px;
  line-height: 1.4;
  margin: 0;
  color: #7e8a77;
}

.hero-editorial strong {
  font-weight: 500;
  color: #becab6;
}

.hero-dots {
  position: absolute;
  right: var(--gutter);
  bottom: 40px;
  display: flex;
  gap: 8px;
}

.hero-dots button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  padding: 8px 0;
  cursor: pointer;
  color: #7f8a77;
}

.hero-dots button span {
  font-size: 9px;
}

.hero-dots button i {
  display: block;
  width: 34px;
  height: 2px;
  background: #ffffff25;
  transition: width .2s;
}

.hero-dots button[aria-pressed="true"] {
  color: var(--accent);
}

.hero-dots button[aria-pressed="true"] i {
  width: 60px;
  background: var(--accent);
}

.hero-side-label {
  position: absolute;
  right: var(--gutter);
  top: 49%;
  writing-mode: vertical-rl;
  font-size: 9px;
  letter-spacing: .2em;
  color: #ffffff55;
}

.hero .breadcrumb {
  margin-bottom: 7px;
  font-size: 11px;
}

.single-demo-note {
  margin: 4px 0 0;
  font-size: 10px;
  color: #768070;
}

.live-notice {
  position: absolute;
  right: 20px;
  top: 100px;
  width: 360px;
  max-width: 45vw;
  border: 1px solid #ffffff0b;
  border-radius: 18px;
  padding: 16px;
  background: #0d1722ed;
  box-shadow: 0 15px 60px #0004;
  font-size: 12px;
}

.live-notice .notice-close {
  position: absolute;
  right: 12px;
  top: 10px;
  background: none;
  border: 0;
  color: #6e7c8c;
}

.live-notice strong {
  display: block;
  color: white;
  font-size: 14px;
}

.live-notice .row + .row {
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 14px;
}

.notice-icon {
  display: grid;
  place-items: center;
  background: #c5f46b15;
  color: #c5f46b;
  border-radius: 12px;
  width: 40px;
  height: 40px;
}

.live-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #43d68b;
  box-shadow: 0 0 0 5px #43d68b22;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.section-heading h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 25px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -.035em;
}

.section-count {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  color: #697561;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px 5px;
}

.section-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.more-link {
  font-size: 11px;
  color: #9aa890;
  margin-right: 10px;
  white-space: nowrap;
}

.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 5 * 20px) / 6);
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.media-card {
  position: relative;
  min-width: 0;
  scroll-snap-align: start;
}

.card-art {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: var(--poster-ratio);
  background: var(--surface);
  isolation: isolate;
  transition: box-shadow .2s;
}

.card-art > img {
  width: 100%;
  height: 100%;
  transition: transform .45s;
}

.media-card:hover .card-art {
  box-shadow: 0 6px 30px #0008;
}

.media-card:hover .card-art > img {
  transform: scale(1.035);
}

.card-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,#080c0ae8 0%,#080c0a22 46%,transparent 70%);
  pointer-events: none;
}

.card-info {
  position: static;
  padding: 13px 1px 0;
}

.card-info h3 {
  color: #e2e8dd;
  font-size: 14px;
  letter-spacing: -.015em;
  font-weight: 600;
  margin: 0 0 5px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-caption-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #7e8977;
  min-height: 18px;
}

.card-season {
  margin-left: auto;
  font-size: 9px;
  border: 1px solid #ffffff19;
  padding: 0 4px;
  border-radius: 3px;
}

.card-rating {
  position: absolute;
  right: 9px;
  top: 9px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
  background: #11150ddf;
  border: 1px solid #ffffff12;
  padding: 3px 6px;
  border-radius: 5px;
  color: #e7d7ae;
  font-size: 10px;
  font-weight: 700;
}

.card-rating svg {
  fill: currentColor;
  stroke-width: 1;
}

.poster-lettering {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 21px;
  z-index: 1;
  text-align: center;
}

.poster-lettering small {
  font-size: 6px;
  letter-spacing: .18em;
  color: #e1e8d6c9;
  display: block;
  margin-bottom: 8px;
}

.poster-lettering strong {
  font-family: BrandCondensed,"Arial Narrow",sans-serif;
  display: block;
  text-transform: uppercase;
  text-wrap: balance;
  font-size: clamp(22px,2.1vw,36px);
  line-height: .96;
  letter-spacing: 0;
  color: #f9f8ed;
  text-shadow: 0 2px 20px #000a;
}

.card-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 44%;
  transform: translate(-50%,-50%);
  background: var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--accent-ink);
  opacity: 0;
  transition: opacity .2s;
  box-shadow: 0 8px 25px #0004;
}

.media-card:hover .card-play {
  opacity: 1;
}

.card-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 3px 6px;
  border-radius: 3px;
  color: #f1f6e9;
  background: #0b100dba;
  z-index: 1;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 30px 20px;
}

.catalog-grid.compact-grid {
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 16px 12px;
}

.top-ten-section {
  margin-top: 36px;
  margin-bottom: 42px;
}

.top-ten-heading {
  align-items: center;
  flex-wrap: wrap;
}

.top-ten-eyebrow {
  font-size: 8px;
  letter-spacing: .15em;
  margin: 0 0 10px;
  color: #8b997f;
}

.top-ten-title-label {
  font-weight: 500;
}

.top-ten-title-note {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -.02em;
  color: #8f9b86;
  padding-left: 4px;
}

.top-ten-caption {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.top-ten-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.top-ten-filters {
  gap: 6px;
}

.top-ten-filters .pill {
  padding: 5px 12px;
  font-size: 10px;
  border-radius: 5px;
}

.top-ten-rail {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 8px 0 12px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.top-ten-rail::-webkit-scrollbar {
  display: none;
}

.top-ten-card {
  --poster-width: clamp(118px,10vw,170px);
  flex: 0 0 calc(var(--poster-width) * 1.55);
  scroll-snap-align: start;
}

.top-ten-card.top-ten-double {
  flex-basis: calc(var(--poster-width) * 2.25);
}

.top-ten-link {
  display: block;
  position: relative;
  height: calc(var(--poster-width) * 1.5);
  border-radius: 10px;
}

.top-ten-number {
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 94%;
  width: 74%;
  overflow: visible;
}

.top-ten-number text {
  font-family: Arial,Helvetica,sans-serif;
  font-size: 222px;
  font-weight: 900;
  fill: var(--bg);
  stroke: #47533f;
  stroke-width: 2;
  paint-order: stroke fill;
  letter-spacing: -17px;
}

.top-ten-double .top-ten-number {
  width: 86%;
}

.top-ten-poster {
  position: absolute;
  right: 0;
  top: 0;
  width: var(--poster-width);
  height: 100%;
  border-radius: 9px;
  overflow: hidden;
  background: #14202d;
  box-shadow: 0 5px 18px #0004;
  transition: transform 0.2s;
}

.top-ten-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 38%, #07101adf);
  pointer-events: none;
}

.top-ten-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-ten-poster strong {
  position: absolute;
  bottom: 13px;
  left: 9px;
  right: 9px;
  z-index: 1;
  font-family: BrandCondensed,"Arial Narrow",sans-serif;
  text-transform: uppercase;
  font-size: clamp(17px,calc(var(--poster-width) * .17),28px);
  line-height: 1;
  color: white;
  letter-spacing: 0;
  text-align: center;
  text-wrap: balance;
}

.top-ten-type {
  position: absolute;
  z-index: 1;
  left: 8px;
  top: 8px;
  border-radius: 3px;
  padding: 2px 5px;
  color: #e3ead9;
  background: #0c120cb3;
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.top-ten-play {
  position: absolute;
  z-index: 2;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff22;
  border: 1px solid #ffffff55;
  opacity: 0;
  transition: opacity 0.2s;
}

.top-ten-link:hover .top-ten-play, .top-ten-link:focus-visible .top-ten-play {
  opacity: 1;
}

.promo {
  padding: 45px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(100deg, #17243a, #10181d);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  overflow: hidden;
  gap: 30px;
  position: relative;
}

.promo h2 {
  font-size: 34px;
  max-width: 540px;
  margin: 15px 0 22px;
}

.promo ul {
  list-style: none;
  padding: 0;
  color: #a7b4c5;
  line-height: 2.2;
  font-size: 14px;
}

.promo ul strong {
  color: #d9e1ed;
}

.promo-art {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  transform: rotate(-10deg) scale(1.3);
  opacity: 0.75;
}

.promo-art img {
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 12px;
}

.catalog-cta {
  padding: 85px 24px 65px;
  text-align: center;
  background: transparent;
}

.catalog-cta h2 {
  font-size: clamp(34px,4vw,58px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.05em;
  max-width: 700px;
  margin: 20px auto 28px;
}

.seo-block {
  max-width: 1100px;
  color: #8b9882;
  font-size: 14px;
}

.seo-block summary {
  cursor: pointer;
  color: #c6d1e1;
}

.seo-block h3 {
  margin-top: 25px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 14px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 28px 0;
}

.filter-field {
  display: grid;
  gap: 6px;
  min-width: 140px;
  font-size: 12px;
  color: #a8b5c6;
}

.filter-field.grow {
  flex: 1;
}

.filters select, .filters input {
  padding: 10px 14px;
  font-size: 14px;
}

.view-switch {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.view-switch button {
  border-radius: 10px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 36px 0;
}

.pagination a {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 14px;
}

.pagination .active {
  background: white;
  color: #0c0e0d;
}

.category-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 25px 0 40px;
  max-height: 100px;
  overflow: hidden;
}

.category-cloud.expanded {
  max-height: none;
}

.category-cloud a {
  font-size: 13px;
  color: #a1ae98;
  background: #ffffff06;
  border: 1px solid var(--line);
  padding: 7px 13px;
  border-radius: 22px;
}

.category-cloud a:hover {
  background: #ffffff17;
}

.category-count {
  font-size: 12px;
  padding: 4px 9px;
  background: #ffffff08;
  border-radius: 25px;
  color: var(--muted);
  vertical-align: middle;
  margin-left: 8px;
}

.result-heading {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

.tabs-bar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: var(--header-height);
  background: #0c0e0df2;
  backdrop-filter: blur(15px);
  z-index: 45;
  gap: 36px;
  overflow: auto;
  scrollbar-width: none;
}

.tabs-bar a {
  position: relative;
  display: block;
  padding: 22px 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  color: #7f8a78;
  white-space: nowrap;
}

.tabs-bar a.active, .tabs-bar a:hover {
  color: white;
}

.tabs-bar a.active::after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
}

.single-about {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 70px;
  margin-block: 55px;
}

.details-list {
  font-size: 13px;
  margin: 0;
}

.details-list > div {
  display: grid;
  grid-template-columns: 40% 1fr;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  gap: 12px;
}

.details-list dt {
  color: var(--muted);
}

.details-list dd {
  margin: 0;
  color: #e3e9f0;
  font-weight: 600;
}

.synopsis-full {
  max-width: 1000px;
}

.synopsis-full p {
  font-size: 17px;
  line-height: 1.8;
}

.rating-box {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 880px;
  margin-top: 22px;
  padding: 19px 23px;
  gap: 24px;
  background: #141a12;
  border: 1px solid #ffffff14;
  border-radius: 18px;
  flex-wrap: nowrap;
}

.rating-number {
  color: white;
  font-weight: 700;
  font-size: 42px;
  line-height: 1.05;
}

.rating-stars {
  display: flex;
  flex-wrap: nowrap;
  gap: 2px;
  margin-top: 9px;
}

.rating-stars button {
  border: 0;
  background: none;
  font-size: 25px;
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  padding: 4px;
  color: #39414d;
  line-height: 1;
}

.rating-stars button.active, .rating-stars button:hover {
  color: var(--gold);
}

.rating-box small {
  font-size: 12px;
  color: var(--muted);
}

.cast-carousel {
  grid-auto-columns: calc((100% - 7 * 20px) / 8);
  gap: 20px;
}

.cast-card img {
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  width: 112px;
  height: 112px;
  margin-inline: auto;
  aspect-ratio: 1;
}

.cast-card strong {
  display: block;
  font-size: 14px;
  margin-top: 12px;
  text-align: center;
  color: #e4e9f1;
}

.cast-card small {
  display: block;
  text-align: center;
  color: #8997a9;
  font-size: 12px;
}

.trailer-thumb {
  display: grid;
  place-items: center;
  position: relative;
  width: 500px;
  max-width: 100%;
  aspect-ratio: 16/9;
  background: #101923;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.trailer-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.trailer-thumb .icon-button {
  position: relative;
}

.comment-section {
  max-width: 1100px;
}

.comment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.comment-head h2 {
  margin: 0;
}

.comment-head select {
  font-size: 12px;
  padding: 9px 13px;
}

.comment {
  display: flex;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #a4bcf4;
  background: #25354c;
  font-size: 13px;
  font-weight: 700;
}

.comment-body {
  flex: 1;
  min-width: 0;
}

.comment-author {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  flex-wrap: wrap;
}

.comment-author small {
  font-size: 12px;
  color: #6f7d8e;
}

.comment p {
  margin: 8px 0 10px;
  color: #bac5d4;
  font-size: 14px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.comment-actions {
  display: flex;
  gap: 18px;
}

.text-button {
  background: none;
  border: 0;
  padding: 0;
  font-size: 12px;
  color: #8c9cb2;
}

.text-button:hover {
  color: white;
}

.comment-replies {
  margin-left: 20px;
  border-left: 1px solid #2c394b;
  padding-left: 15px;
}

.comment-form {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.comment-form textarea {
  width: 100%;
}

.comment-form .row {
  justify-content: space-between;
  flex-wrap: wrap;
}

.comment-form small {
  color: var(--muted);
}

.reply-label {
  font-size: 12px;
  color: #91b0f9;
}

.episode-list {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.episode-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 12px;
  border: 1px solid var(--line);
  background: #ffffff02;
  border-radius: 12px;
}

.episode-row:hover {
  background: #ffffff09;
}

.episode-row img {
  aspect-ratio: 16/9;
  width: 100%;
  border-radius: 8px;
}

.episode-row h3 {
  font-size: 16px;
  margin: 0 0 6px;
}

.episode-row p {
  font-size: 13px;
  color: #8392a6;
  margin: 0;
}

.episode-row small {
  font-size: 12px;
  color: #7f8b9b;
}

.season-card {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff03;
}

.season-card img {
  width: 70px;
  height: 100px;
  border-radius: 7px;
}

.season-card h3 {
  font-size: 19px;
  margin: 0 0 8px;
}

.seasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.season-card small {
  font-size: 13px;
  color: #8998ab;
}

.season-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.season-toolbar select {
  min-width: 170px;
}

.discovery-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
}

.discovery-filters {
  padding: 26px;
  background: #ffffff03;
  border: 1px solid var(--line);
  border-radius: 18px;
  align-self: start;
}

.discovery-filters h3 {
  font-size: 15px;
  margin: 5px 0 15px;
}

.discovery-filters .chips {
  margin-bottom: 28px;
}

.discovery-filters .pill {
  font-size: 12px;
}

.discovery-result {
  min-height: 420px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #131b12;
  overflow: hidden;
  position: relative;
}

.discovery-result .result-image {
  position: absolute;
  inset: 0;
  opacity: 0.65;
  width: 100%;
  height: 100%;
}

.discovery-copy {
  position: relative;
  background: linear-gradient(0deg, #0c0e0d, transparent);
  height: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: start;
  padding: 35px;
}

.discovery-copy h2 {
  font-size: 36px;
  max-width: 550px;
  margin: 14px 0;
}

.discovery-copy p {
  font-size: 14px;
  max-width: 600px;
}

.discovery-ready {
  display: grid;
  place-content: center;
  padding: 40px;
  text-align: center;
  min-height: 420px;
}

.discovery-ready .big-shuffle {
  font-size: 70px;
  color: #536ee3;
}

.account-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 45px;
}

.account-nav {
  display: grid;
  gap: 8px;
  align-content: start;
}

.account-nav a {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
}

.account-nav a.active {
  background: #c5f46b18;
  color: var(--accent);
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 72px;
  max-width: 1150px;
  margin-inline: auto;
  align-items: center;
}

.auth-editorial {
  position: relative;
  min-height: 670px;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: end;
  padding: 38px;
}

.auth-editorial img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: 50% center;
  z-index: -2;
}

.auth-editorial::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,#0c0e0df2,transparent 80%);
  z-index: -1;
}

.auth-editorial h2 {
  font-size: 42px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.045em;
  margin: 20px 0;
}

.auth-editorial p {
  font-size: 12px;
  color: #a8b59b;
}

.auth-page {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 40px 0;
}

.auth-page form {
  display: grid;
  gap: 18px;
}

.auth-page h1 {
  font-size: 32px;
}

.profile-form {
  max-width: 600px;
  display: grid;
  gap: 18px;
}

.info-panel {
  padding: 25px;
  background: #ffffff03;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.history-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.history-item img {
  width: 64px;
  height: 96px;
  flex: 0 0 64px;
  border-radius: 10px;
}

.history-item h3 {
  font-size: 17px;
  margin: 0;
}

.history-item small {
  font-size: 12px;
  color: var(--muted);
}

.person-hero {
  display: flex;
  gap: 40px;
  align-items: center;
  max-width: 1000px;
}

.person-hero img {
  width: 220px;
  border-radius: 16px;
}

.person-hero h1 {
  margin-bottom: 15px;
}

.legal-copy {
  max-width: 860px;
}

.legal-copy h2 {
  font-size: 23px;
  margin-top: 32px;
}

.legal-copy p {
  color: #9ba9ba;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.guide-grid a {
  padding: 22px;
  background: #ffffff03;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.guide-grid a:hover {
  background: #ffffff09;
}

.guide-grid strong {
  display: block;
  color: white;
  margin-bottom: 6px;
}

.guide-grid small {
  color: #8c9aab;
}

.not-found {
  text-align: center;
  padding-block: 60px;
}

.not-found strong {
  display: block;
  font-size: 130px;
  letter-spacing: -8px;
  color: #40577d;
}

.not-found h1 {
  font-size: 32px;
}

.catalog-heading {
  padding: 14px 0 16px;
}

.catalog-heading .eyebrow {
  font-size: 9px;
}

.catalog-heading h1 {
  margin: 10px 0;
  letter-spacing: -.055em;
  font-weight: 600;
}

.catalog-heading h1 span {
  color: var(--accent);
}

.catalog-heading p {
  font-size: 13px;
  margin: 0;
}

.mood-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.mood-label {
  font-size: 8px;
  line-height: 1.6;
  color: #68765e;
  letter-spacing: .12em;
  flex: 0 0 90px;
}

.mood-strip a {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #c0cbb7;
  white-space: nowrap;
  padding: 10px 9px;
}

.mood-strip a small {
  font-size: 8px;
  color: #627253;
}

.mood-strip a svg {
  margin-left: auto;
  color: #728461;
  width: 14px;
}

.mood-strip a:hover {
  color: var(--accent);
}

.editorial-feature {
  position: relative;
  min-height: 370px;
  overflow: hidden;
  border-radius: 14px;
  isolation: isolate;
  background: #16211b;
}

.editorial-feature > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  object-position: center 45%;
}

.editorial-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg,#0d1914f5 0%,#0d1914c9 26%,#0d191421 74%);
}

.editorial-copy {
  padding: 48px;
  max-width: 540px;
}

.editorial-copy .eyebrow {
  font-size: 9px;
}

.editorial-copy h2 {
  margin: 18px 0;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.045em;
}

.editorial-copy p {
  color: #a4b59d;
  font-size: 12px;
  max-width: 350px;
  margin-bottom: 24px;
}

.editorial-index {
  position: absolute;
  right: 32px;
  bottom: 8px;
  font-size: 90px;
  font-weight: 900;
  letter-spacing: -.1em;
  color: #ffffff20;
  line-height: 1;
}

.discovery-banner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 42px;
  border: 1px solid #b9e36d30;
  border-radius: 12px;
  background: #171e12;
  overflow: hidden;
  isolation: isolate;
}

.discovery-banner .eyebrow {
  font-size: 8px;
  color: #97ad79;
}

.discovery-banner h2 {
  font-size: 31px;
  font-weight: 500;
  letter-spacing: -.04em;
  margin: 13px 0;
}

.discovery-banner p {
  color: #8f9e7e;
  font-size: 12px;
  margin: 0;
}

.discovery-symbol {
  position: absolute;
  z-index: -1;
  right: 120px;
  top: -100px;
  font-size: 390px;
  line-height: 1;
  color: #c5f46b07;
}

.catalog-cta .eyebrow {
  font-size: 9px;
  color: #7c8a70;
}

.catalog-cta h2 span {
  color: var(--accent);
}

.catalog-cta .row {
  justify-content: center;
  flex-wrap: wrap;
}

.card-preview {
  position: fixed;
  z-index: 60;
  display: grid;
  grid-template-columns: var(--preview-poster-width) minmax(0, 1fr);
  border-radius: 16px;
  background: #171e16;
  box-shadow: 0 18px 55px #0009;
  overflow: hidden;
  transform-origin: left center;
  animation: card-reveal 0.16s ease-out;
}

.card-preview[data-direction="left"] {
  grid-template-columns: minmax(0, 1fr) var(--preview-poster-width);
  transform-origin: right center;
}

.card-preview[data-direction="left"] .card-preview-body {
  grid-column: 1;
  grid-row: 1;
}

.card-preview[data-direction="left"] .card-preview-art {
  grid-column: 2;
  grid-row: 1;
}

.card-preview-art {
  display: block;
  position: relative;
  height: 100%;
  min-height: 0;
  background: #131b12;
}

.card-preview-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-preview-body {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
}

.card-preview-type {
  color: #a1ae98;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-preview-body h3 {
  margin: 8px 0 0;
  font-size: 18px;
  line-height: 1.25;
}

.card-preview-actions {
  flex-shrink: 0;
  padding-top: 16px;
  margin-top: auto;
}

.card-preview-body .button {
  min-height: 44px;
  padding: 10px 17px;
  font-size: 14px;
}

.card-preview-body .meta {
  margin-top: 10px;
  font-size: 13px;
  gap: 6px;
}

.card-preview-body p {
  color: #a1ae98;
  font-size: 13px;
  line-height: 1.6;
  margin: 12px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-shrink: 0;
}

.carousel.cast-carousel {
  grid-auto-columns: 132px;
  gap: 20px;
}

.cast-card {
  min-width: 0;
  text-align: center;
}

.cast-card strong, .cast-card small {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rating-summary {
  flex: 0 0 159px;
  border-right: 1px solid #ffffff14;
  padding-right: 24px;
}

.rating-summary small {
  display: block;
  margin-top: 4px;
  white-space: nowrap;
  font-size: 11px;
}

.rating-control {
  min-width: 0;
}

.rating-label {
  display: block;
  color: #dfe8d7;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.rating-stars button svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: currentColor;
  stroke: none;
}

.rating-stars button.active {
  color: #eac779;
}

@keyframes card-reveal {
from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (min-width: 1750px) {
  .carousel:not(.cast-carousel) {
    grid-auto-columns: calc((100% - 6 * 20px) / 7);
  }

  .catalog-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .hero {
    height: 760px;
  }

  .hero.single-hero {
    height: 720px;
  }
}

@media (max-width: 1150px) {
  .single-about {
    grid-template-columns: 270px 1fr;
    gap: 35px;
  }

  .carousel:not(.cast-carousel) {
    grid-auto-columns: calc((100% - 4 * 18px) / 5);
    gap: 18px;
  }

  .cast-carousel {
    grid-auto-columns: calc((100% - 5 * 20px) / 6);
  }

  .catalog-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .discovery-layout {
    grid-template-columns: 280px 1fr;
    gap: 25px;
  }

  .promo {
    padding: 32px;
  }

  .live-notice {
    width: 300px;
  }

  .hero-title {
    font-size: clamp(58px, 7vw, 86px);
  }

  .rating-box {
    flex-wrap: wrap;
  }

  .rating-summary {
    flex-basis: 145px;
  }
}

@media (max-width: 900px) {
  .auth-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .auth-editorial {
    display: none;
  }
  .single-about {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .single-about .synopsis-full {
    grid-row: 1;
  }

  .details-list {
    max-width: 600px;
  }

  .live-notice {
    display: none;
  }

  .hero-content {
    width: 760px;
    padding-bottom: 70px;
  }

  .hero.single-hero {
    min-height: 600px;
  }

  .carousel:not(.cast-carousel) {
    grid-auto-columns: calc((100% - 3 * 14px) / 4);
  }

  .catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tabs-bar {
    gap: 28px;
  }

  .tabs-bar a {
    font-size: 12px;
  }

  .promo {
    grid-template-columns: 1.2fr 1fr;
  }

  .promo h2 {
    font-size: 27px;
  }

  .discovery-layout {
    grid-template-columns: 1fr;
  }

  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .account-shell {
    grid-template-columns: 1fr;
  }

  .account-nav {
    display: flex;
    overflow: auto;
  }

  .account-nav a {
    white-space: nowrap;
  }

  .cast-carousel {
    grid-auto-columns: calc((100% - 4 * 20px) / 5);
  }
}

@media (max-width: 640px) {
  .mood-strip {
    padding: 10px 0;
    gap: 4px;
  }

  .mood-label {
    flex-basis: 75px;
    font-size: 7px;
  }

  .mood-strip a {
    gap: 7px;
    font-size: 10px;
  }

  .top-ten-heading {
    gap: 18px;
  }

  .top-ten-actions {
    width: 100%;
  }

  .top-ten-title-note {
    font-size: 13px;
  }

  .top-ten-card {
    --poster-width: 112px;
  }

  .editorial-feature {
    min-height: 350px;
  }

  .editorial-copy {
    padding: 30px 24px;
  }

  .editorial-copy h2 {
    font-size: 31px;
  }

  .editorial-copy p {
    max-width: 240px;
  }

  .editorial-index {
    font-size: 65px;
  }

  .discovery-banner {
    flex-direction: column;
    align-items: start;
    padding: 28px 24px;
    gap: 22px;
  }

  .discovery-banner h2 {
    font-size: 27px;
  }

  .discovery-symbol {
    right: -80px;
    top: -40px;
    font-size: 300px;
  }

  .filters {
    padding: 16px;
    gap: 10px;
  }

  .catalog-heading {
    padding-top: 7px;
  }

  .hero, .hero.single-hero {
    height: 520px;
    min-height: 520px;
  }

  .hero-content {
    padding-top: 120px;
    padding-bottom: 65px;
    gap: 15px;
  }

  .single-hero .hero-content {
    padding-top: 110px;
    padding-bottom: 26px;
  }

  .hero-title {
    font-size: 58px;
  }

  .hero-art {
    object-position: 62% center;
  }

  .hero::before {
    background: linear-gradient(0deg,var(--bg) 0%,#0c0e0d80 45%,#0c0e0d0a 100%);
  }

  .hero-synopsis {
    display: none;
  }

  .hero .meta {
    font-size: 13px;
  }

  .hero-badge {
    font-size: 8px;
    letter-spacing: .08em;
  }

  .hero-buttons {
    gap: 10px;
    margin-top: 10px;
  }

  .hero-dots {
    bottom: 22px;
    right: var(--gutter);
    gap: 7px;
  }

  .hero-dots button span {
    display: none;
  }

  .hero-dots button i {
    width: 17px;
  }

  .hero-dots button[aria-pressed="true"] i {
    width: 30px;
  }

  .hero-editorial {
    display: none;
  }

  .hero-side-label {
    display: none;
  }

  .hero-badge-line {
    width: 12px;
  }

  .hero-details {
    font-size: 12px;
    padding-inline: 13px;
  }

  .section-heading {
    margin-bottom: 16px;
    gap: 10px;
  }

  .section-heading h2 {
    font-size: 19px;
  }

  .section-actions .icon-button {
    display: none;
  }

  .more-link {
    font-size: 11px;
    margin: 0;
  }

  .carousel:not(.cast-carousel) {
    grid-auto-columns: 43%;
    gap: 12px;
  }

  .card-info {
    padding-top: 11px;
  }

  .card-caption-meta {
    font-size: 10px;
    gap: 5px;
  }

  .poster-lettering strong {
    font-size: 24px;
  }

  .poster-lettering {
    bottom: 18px;
  }

  .card-info h3 {
    font-size: 12px;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .catalog-grid .card-info h3 {
    font-size: 13px;
  }

  .catalog-grid .card-info .meta {
    font-size: 10px;
  }

  .tabs-bar {
    justify-content: flex-start;
    gap: 24px;
    padding-inline: 16px;
    top: var(--header-height);
  }

  .tabs-bar a {
    padding-block: 18px;
    font-size: 11px;
  }

  .single-about {
    margin-block: 30px;
  }

  .synopsis-full p {
    font-size: 15px;
  }

  .rating-box {
    padding: 16px;
    gap: 14px;
    flex-direction: column;
    align-items: stretch;
  }

  .rating-stars button {
    font-size: 23px;
    flex: 0 1 27px;
    width: 27px;
    height: 30px;
    padding: 3px;
  }

  .cast-carousel {
    grid-auto-columns: 26%;
    overflow: auto;
  }

  .cast-card strong {
    font-size: 12px;
  }

  .cast-card small {
    font-size: 10px;
  }

  .promo {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    min-height: 350px;
    isolation: isolate;
  }

  .promo-art {
    position: absolute;
    inset: 0 0 0 40%;
    z-index: -1;
    opacity: 0.2;
  }

  .promo h2 {
    font-size: 28px;
  }

  .promo ul {
    font-size: 12px;
  }

  .catalog-cta h2 {
    font-size: 30px;
  }

  .filter-field {
    min-width: calc(50% - 5px);
    flex: 1;
  }

  .filter-field.grow {
    min-width: 100%;
  }

  .view-switch {
    display: none;
  }

  .category-cloud {
    max-height: 85px;
    gap: 7px;
  }

  .category-cloud a {
    font-size: 11px;
    padding: 5px 10px;
  }

  .seasons-grid {
    grid-template-columns: 1fr;
  }

  .episode-row {
    grid-template-columns: 95px 1fr auto;
    gap: 12px;
    padding: 10px;
  }

  .episode-row p {
    display: none;
  }

  .episode-row h3 {
    font-size: 14px;
  }

  .episode-row > .icon-button {
    width: 32px;
    height: 32px;
  }

  .discovery-copy {
    padding: 25px;
  }

  .discovery-copy h2 {
    font-size: 29px;
  }

  .discovery-filters {
    padding: 20px;
  }

  .person-hero {
    gap: 22px;
    align-items: start;
  }

  .person-hero img {
    width: 110px;
  }

  .person-hero h1 {
    font-size: 26px;
  }

  .person-hero p {
    font-size: 12px;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  .comment {
    gap: 12px;
  }

  .avatar {
    width: 36px;
    height: 36px;
    font-size: 11px;
  }

  .comment-head h2 {
    font-size: 21px;
  }

  .comment-replies {
    margin-left: 6px;
    padding-left: 10px;
  }

  .comment p {
    font-size: 13px;
  }

  .season-toolbar {
    flex-wrap: wrap;
  }

  .history-item img {
    width: 64px;
  }

  .hero.home-hero {
    height: 520px;
  }

  .carousel.cast-carousel {
    grid-auto-columns: 104px;
    gap: 14px;
  }

  .cast-card img {
    width: 88px;
    height: 88px;
  }

  .rating-summary {
    flex-basis: auto;
    border-right: 0;
    border-bottom: 1px solid #ffffff14;
    padding: 0 0 13px;
  }

  .rating-control {
    width: 100%;
  }

  .rating-stars {
    gap: 2px;
    justify-content: space-between;
  }

  .rating-stars button svg {
    width: 21px;
    height: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card-preview {
    animation: none;
  }
}
