.home-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #14203a;
}
.home-banner-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 54%;
}
.home-banner::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgb(12 22 41 / .98) 0%, rgb(12 22 41 / .87) 27%, rgb(12 22 41 / .38) 65%, rgb(12 22 41 / .07) 100%),
    linear-gradient(0deg, rgb(13 23 44 / .56), transparent 46%);
}
.home-banner .masthead {
  background: linear-gradient(180deg, rgb(12 21 37 / .66), rgb(12 21 37 / .25));
  border-color: rgb(255 255 255 / .16);
}
.home-banner .masthead-inner {
  gap: clamp(.8rem, 2.1vw, 2.1rem);
}
.home-banner .nav a, .home-banner .language { color: #fff; }
.home-banner .nav a:hover, .home-banner .language:hover, .home-banner .home-follow-link:hover {
  color: #ffdbab;
}
.home-banner .brand-mark { box-shadow: 0 2px 12px rgb(6 13 30 / .28); }
.home-banner :focus-visible { outline-color: #ffdbab; }
.home-banner .home-follow-link {
  display: inline-flex;
  align-items: center;
  color: #fff;
  min-height: 2.4rem;
  font-size: .88rem;
  font-weight: 650;
  white-space: nowrap;
}
.home-banner .account-entry { color: #ffdcaa; }
.home-search {
  display: flex;
  align-items: stretch;
  flex: 0 1 23rem;
  width: clamp(10rem, 26vw, 23rem);
  min-width: 0;
  min-height: 2.45rem;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .48);
  border-radius: .55rem;
  background: rgb(255 255 255 / .95);
  color: var(--ink);
}
.home-search:focus-within { outline: 2px solid #f8d2a1; outline-offset: 2px; }
.home-search input {
  flex: 1;
  width: 0;
  min-width: 0;
  padding: .35rem .7rem;
  border: 0;
  background: transparent;
  font-size: .9rem;
  outline: none;
}
.home-search button {
  border: 0;
  border-left: 1px solid #dce3ef;
  padding: .32rem .68rem;
  color: #244477;
  background: #eef3fa;
  font-size: .88rem;
  font-weight: 670;
  white-space: nowrap;
}
.home-search button:hover { background: #dfe9fa; }
.home-search button:focus-visible { outline: 2px solid #285bc8; outline-offset: -2px; }

.home-banner-inner {
  min-height: 14.25rem;
  display: flex;
  align-items: center;
  padding-block: 1.35rem 1.6rem;
}
.home-banner-copy { width: min(100%, 43rem); }
.home-credit {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .55rem;
  color: #f4d9ae;
  font-size: .89rem;
  font-weight: 660;
}
.home-credit::before {
  display: inline-block;
  width: 1rem;
  height: 2px;
  border-radius: 99px;
  content: "";
  background: #e3b479;
}
.home-banner-copy h1 {
  max-width: 100%;
  font-size: clamp(2.1rem, 4.35vw, 3.5rem);
  font-weight: 790;
  line-height: 1.13;
  letter-spacing: -.048em;
  text-wrap: balance;
}
.home-banner-copy h1 span { display: inline-block; }
.home-banner-copy h1 span:last-child { color: #ffdcaa; }
:lang(en) .home-banner-copy h1 { font-size: clamp(2rem, 3.8vw, 3.15rem); }
:lang(en) .home-banner-copy h1 span { display: inline; }
.home-logline {
  max-width: 32rem;
  margin-top: .65rem;
  color: #edf1f8;
  font-size: clamp(.95rem, 1.4vw, 1.06rem);
}
.home-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  margin-top: 1.05rem;
}
.home-banner-actions .primary {
  background: #f4ce93;
  color: #172440;
}
.home-banner-actions .primary:hover { background: #ffdfaa; }
.home-banner-actions .secondary {
  border-color: rgb(255 255 255 / .51);
  color: #fff;
  background: rgb(22 36 60 / .69);
}
.home-banner-actions .secondary:hover { background: #263b61; }

.drama-home { padding-bottom: .2rem; }
.home-channels {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .65rem;
  align-items: center;
  padding-block: .85rem;
  border-bottom: 1px solid var(--line);
}
.home-channels a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: .36rem .91rem;
  border: 1px solid #e7ecf4;
  border-radius: .42rem;
  background: #f6f8fb;
  color: #3f4c61;
  font-size: .91rem;
  font-weight: 620;
  white-space: nowrap;
}
.home-channels a:hover { color: var(--blue-dark); background: #eaf1ff; }
.home-channels a[aria-current] {
  border-color: #c6dbf9;
  color: #17499c;
  background: #e7f0ff;
}
.home-channel-short, .home-search-icon, .mobile-dock { display: none; }
.home-search-results {
  margin: 1.25rem 0;
  padding: 1.05rem 1.2rem;
  border: 1px solid #dce7f7;
  border-radius: .7rem;
  background: #f7faff;
}
.home-search-results h2 { font-size: 1.12rem; }
.home-search-results ul { margin: .55rem 0 0; padding-left: 1.2rem; }
.home-search-results li + li { margin-top: .28rem; }
.home-search-results p { margin-top: .35rem; color: var(--muted); }
.home-search-results a {
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.home-section { margin-top: clamp(1.55rem, 3.15vw, 2.55rem); }
.home-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .5rem 1rem;
  margin-bottom: .78rem;
}
.home-section-head h2, .home-about h2 {
  color: #18253c;
  font-size: clamp(1.25rem, 2.35vw, 1.72rem);
  line-height: 1.25;
  font-weight: 760;
  letter-spacing: -.025em;
}
.home-section-head p, .home-about-copy p {
  margin-top: .3rem;
  color: #515d70;
  font-size: .95rem;
}
.home-section-head > a {
  flex-shrink: 0;
  color: var(--blue-dark);
  font-size: .9rem;
  font-weight: 650;
}
.home-section-head > a:hover { text-decoration: underline; text-underline-offset: .25em; }
.home-feature-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.9rem, 2vw, 1.5rem);
}
.home-lead {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #333e50;
  border-radius: .88rem;
  background: #1b2432;
  color: #f4f1ee;
}
.home-lead-media {
  position: relative;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111622;
}
.home-lead-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transition: transform .27s ease;
}
.home-lead-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, #111622d9, transparent 45%);
}
.home-lead:hover .home-lead-media > img { transform: scale(1.035); }
.home-lead-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: clamp(2.9rem, 6vw, 4rem);
  aspect-ratio: 1;
  border: 1px solid #fff9;
  border-radius: 50%;
  color: white;
  background: #111622b8;
}
.home-lead-play .play-icon { margin-left: .12rem; border-width: .42rem 0 .42rem .7rem; }
.home-lead-meta {
  position: absolute;
  z-index: 1;
  inset: auto .68rem .6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
  color: #fff;
  font-size: .82rem;
  font-weight: 680;
}
.home-lead-meta > span:first-child { padding: .13rem .4rem; border-radius: .35rem; background: #111622b8; }
.home-lead-duration { font-variant-numeric: tabular-nums; }
.home-lead-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .65rem;
  padding: .8rem clamp(.72rem, 1.55vw, 1.25rem) .9rem;
}
.home-lead h3 {
  font-size: clamp(1.02rem, 2vw, 1.35rem);
  font-weight: 750;
  line-height: 1.28;
  overflow-wrap: anywhere;
}
.home-lead p { margin-top: .24rem; color: #aeb9ca; font-size: .88rem; line-height: 1.38; overflow-wrap: anywhere; }
.home-lead-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: .4rem .65rem;
  border-radius: .55rem;
  background: #ffaf99;
  color: #251922;
  font-size: .9rem;
  font-weight: 710;
  white-space: nowrap;
}
:lang(en) .home-lead-action { max-width: 7.5rem; white-space: normal; text-align: center; }
.home-lead:hover .home-lead-action { background: #ffccb9; }

.home-episode-grid, .home-character-grid {
  display: grid;
  gap: clamp(.75rem, 1.75vw, 1.15rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.home-episode { display: block; min-width: 0; border-radius: .62rem; }
.home-episode-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: .62rem;
  background: #dde5f1;
}
.home-episode-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .24s ease;
}
.home-episode:hover img { transform: scale(1.045); }
.home-episode-image > span {
  position: absolute;
  bottom: .43rem;
  right: .43rem;
  padding: .12rem .44rem;
  border-radius: .3rem;
  background: rgb(12 23 44 / .86);
  color: white;
  font-size: .78rem;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}
.home-episode-body { padding: .5rem .05rem .14rem; }
.home-episode-body strong { display: block; overflow-wrap: anywhere; color: #202d43; font-size: .98rem; font-weight: 690; line-height: 1.35; }
.home-episode:hover strong { color: var(--blue-dark); }
.home-episode-empty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .7rem 1rem;
  padding: .85rem 1rem;
  border: 1px solid #e0e9f7;
  border-radius: .65rem;
  background: #f8faff;
  color: #49586f;
  font-size: .95rem;
}

.home-character {
  --character-ink: #28519a;
  --character-bg: #f3f7ff;
  --character-rule: #9db9e4;
  min-width: 0;
  min-height: 6.85rem;
  padding: .85rem 1rem 1rem;
  border: 1px solid var(--line);
  border-top: 3px solid var(--character-rule);
  border-radius: .55rem;
  background: var(--character-bg);
}
.home-character:nth-child(2) { --character-ink: #293c68; --character-bg: #f4f5fb; --character-rule: #a4aeca; }
.home-character:nth-child(3) { --character-ink: #735216; --character-bg: #fbf8f0; --character-rule: #ddc28f; }
.home-character:nth-child(4) { --character-ink: #664877; --character-bg: #f9f5fb; --character-rule: #c7acd5; }
.home-character-name {
  display: block;
  font-size: 1.17rem;
  line-height: 1.32;
  font-weight: 760;
  color: var(--character-ink);
}
.home-character p { color: #465367; font-size: .93rem; margin-top: .4rem; }

.home-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, .85fr);
  gap: clamp(1rem, 3.5vw, 2.35rem);
  align-items: center;
  overflow: hidden;
  margin-top: clamp(1.55rem, 3.15vw, 2.55rem);
  padding: clamp(.95rem, 2.5vw, 1.65rem);
  border: 1px solid #e1e9f7;
  border-radius: .8rem;
  background: #f5f8fd;
}
.home-about-copy p { line-height: 1.65; }
.home-about-copy p + p { margin-top: .6rem; }
.home-about-copy > a { margin-top: .85rem; }
.home-about > img {
  width: 100%;
  height: clamp(13rem, 24vw, 19rem);
  padding: .5rem;
  object-fit: contain;
  border-radius: .5rem;
  background: #e7edf6;
}

@media (max-width: 1100px) {
  .home-banner .masthead-inner { gap: .8rem; }
  .home-banner .nav { gap: .75rem; }
  .home-banner .masthead-actions { gap: .65rem; }
}
@media (max-width: 860px) {
  .home-banner .masthead-inner { flex-wrap: wrap; min-height: 3.9rem; }
  .home-banner .masthead-actions { margin-left: auto; }
  .home-search { order: 4; flex: 1 1 100%; width: 100%; margin-bottom: .55rem; }
  .home-banner .nav { width: auto; }
  .home-feature-layout, .home-about { grid-template-columns: minmax(0, 1fr); }
  .home-episode-grid, .home-character-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-about > img { max-height: 17rem; }
}
@media (max-width: 625px) {
  html:has(.home-banner) {
    color-scheme: dark;
    --paper: #111622;
    --ink: #f4f1ee;
    --muted: #aeb9ca;
    --panel: #1b2432;
    --line: #333e50;
    --blue: #ffaf99;
    --blue-dark: #ffccb9;
    --mobile-gutter: .75rem;
  }
  .home-banner .shell, .drama-home, .drama-home + .foot .shell { width: calc(100% - 2 * var(--mobile-gutter)); }
  .home-banner, .home-banner .masthead { background: var(--paper); }
  .home-banner .masthead { border-bottom: 1px solid var(--line); }
  .home-banner .masthead-inner { flex-wrap: nowrap; gap: .62rem; padding-block: .55rem; min-height: 3.75rem; }
  .home-banner .brand-mark { width: 2.35rem; height: 2.35rem; border-radius: .72rem; }
  .home-banner .masthead-actions { margin: 0; gap: .35rem; }
  .home-banner .account-entry { min-height: 2.55rem; padding-inline: .45rem; color: var(--blue); font-size: .82rem; }
  .home-banner .masthead-actions .language {
    justify-content: center;
    min-width: 2.45rem;
    min-height: 2.55rem;
    border: 1px solid var(--line);
    border-radius: .65rem;
    font-size: .82rem;
  }
  .home-banner .nav, .home-banner .brand-name, .home-banner .home-follow-link,
  .home-banner .pill-link, .home-banner-art, .home-banner::before,
  .home-banner .home-logline, .home-banner-actions, .home-credit, .home-search-label,
  .home-channel-label, #featured > .home-section-head { display: none; }
  .home-banner-inner {
    position: absolute;
    width: 1px !important;
    height: 1px;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .home-search {
    flex: 1 1 0;
    order: initial;
    min-height: 2.55rem;
    margin: 0;
    border-color: var(--line);
    border-radius: .7rem;
    background: var(--panel);
  }
  .home-search input { padding-inline: .65rem .2rem; font-size: 1rem; }
  .home-search input::placeholder { color: var(--muted); }
  .home-search button { display: grid; place-items: center; min-width: 2.65rem; padding: 0; border: 0; color: var(--blue); background: transparent; }
  .home-search button:hover { background: #273342; }
  .home-search-icon { display: block; position: relative; width: .82rem; height: .82rem; border: 1.8px solid; border-radius: 50%; }
  .home-search-icon::after { position: absolute; content: ""; width: .39rem; height: 2px; right: -.29rem; bottom: -.14rem; transform: rotate(48deg); background: currentColor; }

  .home-channels { flex-wrap: nowrap; gap: .2rem; overflow-x: auto; scrollbar-width: none; padding: .58rem 0; border: 0; }
  .home-channels a {
    flex: 1 0 auto;
    padding: .32rem clamp(.38rem, 2vw, .8rem);
    min-height: 2.3rem;
    border: 1px solid transparent;
    border-radius: .65rem;
    background: transparent;
    color: var(--muted);
    font-size: .9rem;
  }
  :lang(en) .home-channels a { font-size: .8rem; padding-inline: .35rem; }
  .home-channels a:is(:hover, [aria-current]) { border-color: #6d4d48; background: #31242b; color: var(--blue); }
  .home-channel-short { display: inline; }
  .home-search-results { margin: .15rem 0 .75rem; border-color: var(--line); background: var(--panel); }

  .home-section { margin-top: 1.45rem; }
  #featured { margin-top: .05rem; }
  .home-section-head { align-items: center; }
  .home-section-head h2, .home-about h2 { color: var(--ink); }
  .home-section-head p, .home-about-copy p { color: var(--muted); }
  .home-feature-layout { gap: .72rem; }
  .home-lead-body { padding: .75rem .7rem; }
  .home-lead p { font-size: .84rem; }
  .home-lead-action { padding-inline: .6rem; }
  :lang(en) .home-lead-action { font-size: .82rem; }

  .home-episode-grid, .home-character-grid { gap: .65rem; }
  .home-episode { overflow: hidden; border: 1px solid var(--line); border-radius: .73rem; background: var(--panel); }
  .home-episode-image { border-radius: 0; aspect-ratio: 16 / 10; }
  .home-episode-body { padding: .52rem .58rem .62rem; }
  .home-episode-body strong { color: var(--ink); font-size: .96rem; }
  .home-episode-image > span { right: .3rem; bottom: .3rem; }
  .home-episode-empty, .home-about, .drama-home .follow, .home-character { border-color: var(--line); background: var(--panel); color: var(--muted); }
  .home-about > img { background: #283241; }
  .home-character { min-height: 0; padding: .7rem; border-top: 2px solid #6d4d48; }
  .home-character-name, .drama-home .follow h2 { color: var(--ink); }
  .home-character p, .drama-home .follow-status { color: var(--muted); }
  .drama-home .button.primary { color: #251922; }
  .drama-home .button.secondary, .drama-home .feed-address input { border-color: var(--line); background: var(--paper); }
  .drama-home .button.secondary:hover { background: #283241; }
  .drama-home + .foot { padding-bottom: calc(3.85rem + env(safe-area-inset-bottom)); }
  .drama-home + .foot .foot-inner { min-height: 3.5rem; }
  .mobile-dock {
    position: fixed;
    z-index: 10;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: .2rem max(.35rem, env(safe-area-inset-right)) max(.2rem, env(safe-area-inset-bottom)) max(.35rem, env(safe-area-inset-left));
    border-top: 1px solid var(--line);
    background: #151c28;
  }
  .mobile-dock a { display: grid; place-content: center; justify-items: center; gap: .18rem; min-height: 3.3rem; color: var(--muted); font-size: .78rem; font-weight: 670; }
  .mobile-dock a:is(:hover, [aria-current]) { color: var(--blue); }
  .mobile-dock i { display: block; position: relative; width: 1.1rem; height: 1rem; border: 1.7px solid; border-radius: .24rem; }
  .mobile-dock i::before, .mobile-dock i::after { position: absolute; display: block; content: ""; }
  .mobile-dock .dock-home { height: .72rem; margin-top: .28rem; border-top: 0; }
  .dock-home::before { left: 0; top: -.34rem; width: .68rem; height: .68rem; border: solid; border-width: 1.7px 0 0 1.7px; border-radius: .15rem; transform: rotate(45deg); }
  .dock-episodes::before { inset: .22rem .16rem auto; height: .22rem; border-block: 1.5px solid; }
  .mobile-dock .dock-cast { border: 0; }
  .dock-cast::before { border: 1.7px solid; border-radius: 50%; width: .4rem; height: .4rem; top: -.08rem; left: .32rem; }
  .dock-cast::after { inset: .49rem .06rem -.06rem; border: 1.7px solid; border-radius: .46rem .46rem .22rem .22rem; }
  .mobile-dock .dock-follow { border-radius: 50%; }
  .dock-follow::before { inset: 50% 22% auto; height: 1.5px; background: currentColor; transform: translateY(-50%); }
  .dock-follow::after { inset: 22% auto 22% 50%; width: 1.5px; background: currentColor; transform: translateX(-50%); }
  html:has(.home-banner) .skip:focus { background: var(--panel); }
}
@media (prefers-reduced-motion: reduce) {
  .home-lead:hover .home-lead-media > img, .home-episode:hover img { transform: none; }
}
