@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url(./dm-sans-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url(./dm-sans-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(./barlow-condensed-latin-ext-500-normal.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(./barlow-condensed-latin-500-normal.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: dark;
  --bg: #101012;
  --panel: #19191d;
  --line: #ffffff12;
  --text: #f5f3ef;
  --muted: #a6a4ae;
  --accent: #e9c07c;
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "DM Sans", Arial, sans-serif;
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
video:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
img {
  display: block;
  width: 100%;
  object-fit: cover;
}
svg {
  height: 21px;
  width: 21px;
  flex: none;
  vertical-align: middle;
  stroke-linecap: round;
  stroke-linejoin: round;
}
button {
  border: 0;
}
button,
input,
select {
  color: inherit;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  top: 5px;
  left: 10px;
  z-index: 30;
  background: var(--accent);
  color: #17131c;
  padding: 10px;
  transform: translateY(-150%);
}
.skip:focus {
  transform: none;
}
.header {
  height: 86px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 42px;
  padding: 0 4.5vw;
  background: #101012ed;
  position: relative;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.07em;
  white-space: nowrap;
}
.brand-mark {
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: #151317;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.brand-mark svg {
  width: 15px;
}
.brand span:last-child {
  font-weight: 400;
  color: var(--accent);
}
.header nav {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 25px;
}
.header nav a {
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 0.89rem;
  color: #b6b4bc;
  position: relative;
}
.header nav a:hover,
.header nav [aria-current="page"] {
  color: #fff;
}
.header nav [aria-current="page"]:after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 2px;
  left: 0;
  right: 0;
  background: var(--accent);
}
.header-tools {
  margin-left: auto;
  display: flex;
  gap: 20px;
  align-items: center;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
}
.search input {
  border: 0;
  background: transparent;
  width: 128px;
  min-width: 0;
  font-size: 0.84rem;
  outline-offset: 1px;
}
.search svg {
  width: 17px;
  color: #aaa7b1;
}
.library-link {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 0.84rem;
}
.library-link svg {
  width: 18px;
}
.avatar {
  border: 1px solid #e9c07c55;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 0.75rem;
  background: #30261a;
}
.mobile-menu {
  display: none;
}
.hero {
  min-height: 535px;
  height: min(43vw, 650px);
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero > img {
  position: absolute;
  inset: 0;
  height: 100%;
  z-index: -2;
  object-position: 50% 45%;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #101012ef 0%, #101012b0 30%, #1010120d 72%),
    linear-gradient(0deg, #101012, transparent 35%);
  z-index: -1;
}
.hero-copy {
  margin-left: 4.5vw;
  max-width: 570px;
  padding: 25px 0;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.73rem;
  font-weight: 700;
}
.kicker:before {
  content: "";
  width: 21px;
  height: 1px;
  background: currentColor;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(4.7rem, 8.9vw, 9rem);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.035em;
  margin: 21px 0 20px;
  text-transform: uppercase;
}
.hero p {
  color: #c6c3cc;
  line-height: 1.7;
  max-width: 400px;
  font-size: 0.94rem;
}
.metadata {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #c8c4cc;
  font-size: 0.77rem;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.tag {
  border: 1px solid #aaa4b855;
  border-radius: 3px;
  padding: 2px 5px;
  font-size: 0.68rem;
}
.hero-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 25px;
}
.btn {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 19px;
  border-radius: 5px;
  background: var(--accent);
  color: #1a1510;
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid transparent;
}
.btn svg {
  width: 16px;
  height: 16px;
}
.btn:hover {
  background: #f3d49f;
}
.btn.ghost {
  background: #ffffff0a;
  border-color: #ffffff29;
  color: #eee;
}
.btn.ghost:hover {
  background: #ffffff13;
}
.save-button[aria-pressed="true"] {
  color: var(--accent);
  border-color: var(--accent);
}
.hero-note {
  position: absolute;
  right: 4.5vw;
  bottom: 45px;
  color: #bab4c5;
  font-size: 0.75rem;
}
.hero-note strong {
  color: #fff;
  display: block;
  letter-spacing: 0.02em;
  margin-bottom: 5px;
}
.wrap {
  padding: 0 4.5vw;
  max-width: 1800px;
  margin: auto;
}
.section {
  margin-top: 34px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}
.section-head h2,
.section h2 {
  font-size: 1.42rem;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.section-head h2 em {
  color: var(--accent);
  font-style: normal;
}
.section-head p {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 5px;
}
.text-link {
  font-size: 0.8rem;
  color: #c3b8a7;
  border-bottom: 1px solid #c3b8a744;
  padding-bottom: 3px;
  white-space: nowrap;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.movie-card {
  position: relative;
  min-width: 0;
  transition: transform 0.2s;
}
.movie-card:hover {
  transform: translateY(-4px);
}
.movie-card .cover {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #242027;
}
.movie-card img {
  aspect-ratio: 1.73;
  height: auto;
  transition: transform 0.4s;
}
.movie-card:hover img {
  transform: scale(1.035);
}
.cover-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  background: #0004;
  transition: opacity 0.2s;
}
.movie-card:hover .cover-play {
  opacity: 1;
}
.cover-play svg {
  height: 37px;
  width: 37px;
}
.cover-label {
  position: absolute;
  left: 10px;
  top: 10px;
  background: #101012c9;
  backdrop-filter: blur(5px);
  color: #eee;
  padding: 4px 7px;
  border-radius: 3px;
  font-size: 0.66rem;
}
.movie-title {
  margin-top: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}
.movie-title h3 {
  font-size: 0.97rem;
  font-weight: 500;
}
.movie-title span {
  color: var(--accent);
  font-size: 0.72rem;
}
.movie-meta {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 5px;
}
.filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.filter {
  font-size: 0.8rem;
  background: #ffffff06;
  border: 1px solid #ffffff15;
  border-radius: 25px;
  padding: 8px 14px;
  color: #aaa8b1;
}
.filter:hover,
.filter[aria-pressed="true"] {
  background: var(--accent);
  color: #19140e;
  border-color: var(--accent);
}
.editorial {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 20px;
  background: #1b191d;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin: 36px 0;
}
.editorial img {
  height: 100%;
  aspect-ratio: 2;
  object-position: center 40%;
}
.editorial-copy {
  padding: 28px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: start;
}
.editorial h2 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 2.65rem;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 13px 0;
}
.editorial p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 19px;
}
.short-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 15px;
}
.short-card {
  aspect-ratio: 0.72;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 9px;
  display: flex;
  align-items: end;
  padding: 13px;
  background: #222;
}
.short-card img {
  position: absolute;
  inset: 0;
  height: 100%;
  z-index: -2;
  object-position: 60%;
}
.short-card:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, #08080def, transparent 70%);
}
.short-card strong {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
}
.short-card small {
  display: block;
  color: #c3bdc9;
  margin-top: 5px;
  font-size: 0.73rem;
}
.short-time {
  position: absolute;
  top: 10px;
  right: 9px;
  font-size: 0.69rem;
  background: #111b;
  padding: 4px 6px;
  border-radius: 3px;
}
.short-icon {
  position: absolute;
  left: 10px;
  top: 10px;
  color: var(--accent);
}
.people {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.person-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: #19191c;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.person-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-position: center 24%;
}
.person-card strong {
  font-weight: 500;
  font-size: 0.91rem;
}
.person-card p {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 4px;
}
.footer {
  margin-top: 57px;
  border-top: 1px solid var(--line);
  padding: 35px 4.5vw 25px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 25px;
  color: #aaa6b2;
}
.footer .brand {
  color: #fff;
  width: max-content;
  margin-bottom: 12px;
}
.footer p {
  font-size: 0.8rem;
  line-height: 1.7;
  max-width: 340px;
}
.footer nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.8rem;
}
.footer h2 {
  color: #ded9e5;
  font-size: 0.85rem;
  margin-bottom: 3px;
  font-weight: 500;
}
.footer-bottom {
  grid-column: 1/-1;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 0.72rem;
  display: flex;
  justify-content: space-between;
}
.page-intro {
  padding-top: 45px;
  margin-bottom: 28px;
}
.page-intro h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  margin: 12px 0 15px;
}
.page-intro p {
  max-width: 570px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.94rem;
}
.actor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.actor-tile img {
  aspect-ratio: 0.8;
  height: auto;
  border-radius: 9px;
  filter: saturate(0.65);
}
.actor-tile h2 {
  font-size: 1.15rem;
  margin: 13px 0 4px;
}
.actor-tile p {
  color: var(--muted);
  font-size: 0.82rem;
}
.actor-profile {
  display: grid;
  grid-template-columns: minmax(210px, 28%) 1fr;
  gap: 40px;
  margin: 40px 0;
}
.actor-profile > img {
  width: 100%;
  max-height: 460px;
  border-radius: 8px;
  object-position: center 20%;
}
.actor-profile .page-intro {
  padding-top: 15px;
  margin: 0;
}
.actor-profile dl {
  display: flex;
  gap: 30px;
  margin-top: 28px;
}
.actor-profile dt {
  font-size: 0.74rem;
  color: var(--muted);
}
.actor-profile dd {
  margin: 6px 0;
  color: #e8d2b0;
}
.crumb {
  display: flex;
  gap: 9px;
  color: #a9a3b2;
  font-size: 0.75rem;
  margin: 25px 0 18px;
}
.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 25px;
}
.video-player {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 9px;
  background: #08080a;
}
.watch-title {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: start;
  margin: 23px 0 13px;
}
.watch-title h1 {
  font-family: var(--display);
  font-size: 3rem;
  line-height: 1.05;
  font-weight: 500;
  text-transform: uppercase;
}
.synopsis {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.93rem;
  max-width: 700px;
}
.facts {
  display: flex;
  gap: 30px;
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 18px;
}
.facts dt {
  color: var(--muted);
  font-size: 0.73rem;
}
.facts dd {
  margin: 5px 0 0;
  font-size: 0.85rem;
}
.watch-aside {
  background: #19191c;
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 17px;
}
.watch-aside h2 {
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.watch-aside .movie-card {
  margin-bottom: 17px;
}
.watch-aside .movie-title h3 {
  font-size: 0.88rem;
}
.status {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 12px 0;
}
.empty {
  padding: 30px;
  background: #19191d;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.short-page {
  --height: calc(100svh - 155px);
}
.short-page .page-intro {
  padding-top: 18px;
  margin-bottom: 12px;
}
.short-page .page-intro h1 {
  font-size: 1.6rem;
  margin: 0;
  font-family: var(--body);
  text-transform: none;
}
.shorts-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, calc(var(--height) * 0.5625)) 52px;
  gap: 15px;
  justify-content: center;
}
.short-feed {
  height: var(--height);
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  border-radius: 12px;
  background: #08080b;
}
.short-slide {
  height: 100%;
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.short-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.short-caption {
  position: absolute;
  bottom: 0;
  padding: 50px 18px 67px;
  width: 100%;
  background: linear-gradient(0deg, transparent, #08080bd9 40%, transparent);
  pointer-events: none;
}
.short-caption h2 {
  font-size: 1.1rem;
}
.short-caption a {
  display: inline-block;
  pointer-events: auto;
  font-size: 0.8rem;
  color: var(--accent);
  margin-top: 7px;
}
.short-rail {
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: end;
  padding-bottom: 70px;
}
.round-btn {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #28232e;
  border: 1px solid #ffffff20;
  display: grid;
  place-items: center;
  color: #eee;
}
.round-btn:hover {
  background: #453449;
}
.short-rail span {
  font-size: 0.73rem;
  color: #aaa;
  text-align: center;
}
.short-rail .status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 160px;
}
.short-menu {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #aaa;
  font-size: 0.77rem;
}
.short-menu a {
  color: var(--accent);
}
.preview-note {
  font-size: 0.77rem;
  color: #aaa5b0;
  line-height: 1.65;
  margin-top: 13px;
}
@media (max-width: 1100px) {
  .header {
    gap: 25px;
  }
  .header nav {
    gap: 17px;
  }
  .library-link {
    display: none;
  }
  .cards {
    gap: 13px;
  }
  .hero {
    min-height: 500px;
  }
  .people {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .watch-layout {
    grid-template-columns: minmax(0, 1fr) 225px;
  }
}
@media (max-width: 800px) {
  .header {
    height: 68px;
    padding-inline: 20px;
  }
  .header nav {
    display: none;
  }
  .header-tools {
    gap: 12px;
  }
  .avatar {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  .mobile-menu summary {
    list-style: none;
    cursor: pointer;
    width: 32px;
    height: 36px;
    display: grid;
    place-items: center;
  }
  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }
  .mobile-menu-panel {
    position: absolute;
    top: 66px;
    left: 15px;
    right: 15px;
    background: #202026;
    border: 1px solid #ffffff20;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 15px 30px #0009;
  }
  .mobile-menu-panel a {
    display: block;
    padding: 12px;
    font-size: 0.92rem;
  }
  .mobile-menu-panel a:hover {
    background: #ffffff0c;
  }
  .hero {
    height: 590px;
    min-height: 0;
  }
  .hero-copy {
    margin-left: 5vw;
    max-width: 80%;
  }
  .hero h1 {
    font-size: 5.9rem;
  }
  .hero-note {
    display: none;
  }
  .hero > img {
    object-position: 62%;
  }
  .hero:after {
    background:
      linear-gradient(90deg, #101012df, #10101277 60%, #10101233),
      linear-gradient(0deg, #101012, transparent 60%);
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .short-row {
    grid-template-columns: repeat(6, minmax(150px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .editorial {
    grid-template-columns: 1fr 1fr;
  }
  .editorial-copy {
    padding: 20px;
  }
  .editorial h2 {
    font-size: 2.2rem;
  }
  .watch-layout {
    grid-template-columns: 1fr;
  }
  .watch-aside {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .watch-aside h2 {
    grid-column: 1/-1;
    margin: 0;
  }
  .actor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .short-page {
    --height: calc(100svh - 136px);
  }
}
@media (max-width: 500px) {
  .header {
    padding-inline: 13px;
    gap: 9px;
  }
  .brand {
    font-size: 1.15rem;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
  }
  .search input {
    width: 86px;
  }
  .header-tools {
    gap: 8px;
  }
  .hero {
    height: 570px;
    align-items: end;
  }
  .hero-copy {
    padding-bottom: 45px;
    max-width: 91%;
  }
  .hero h1 {
    font-size: 5.4rem;
  }
  .hero p {
    font-size: 0.88rem;
    max-width: 325px;
  }
  .hero > img {
    object-position: 65%;
  }
  .hero:after {
    background: linear-gradient(0deg, #101012 0%, #101012b0 42%, #10101210 90%);
  }
  .hero-actions {
    margin-top: 20px;
  }
  .wrap {
    padding-inline: 15px;
  }
  .section {
    margin-top: 27px;
  }
  .section-head h2 {
    font-size: 1.2rem;
  }
  .cards {
    gap: 16px 10px;
  }
  .movie-title {
    align-items: start;
  }
  .movie-title h3 {
    font-size: 0.84rem;
  }
  .movie-title span {
    font-size: 0.66rem;
  }
  .movie-meta {
    font-size: 0.7rem;
  }
  .editorial {
    grid-template-columns: 1fr;
  }
  .editorial img {
    aspect-ratio: 1.8;
  }
  .editorial-copy {
    padding: 22px;
  }
  .people {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .person-card {
    padding: 9px;
    gap: 7px;
  }
  .person-card img {
    height: 38px;
    width: 38px;
  }
  .person-card strong {
    font-size: 0.78rem;
  }
  .person-card p {
    font-size: 0.67rem;
  }
  .footer {
    padding: 27px 15px;
    grid-template-columns: 1fr 1fr;
    gap: 23px;
  }
  .footer > div:first-child {
    grid-column: 1/-1;
  }
  .footer-bottom {
    display: grid;
    gap: 9px;
  }
  .actor-profile {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-top: 24px;
  }
  .actor-profile > img {
    height: 330px;
    object-position: center 25%;
  }
  .actor-profile .page-intro h1 {
    font-size: 3.5rem;
  }
  .actor-profile dl {
    gap: 18px;
  }
  .watch-title {
    flex-wrap: wrap;
  }
  .watch-title h1 {
    font-size: 2.4rem;
  }
  .facts {
    gap: 17px;
    flex-wrap: wrap;
  }
  .watch-aside {
    grid-template-columns: 1fr 1fr;
  }
  .watch-aside .movie-card:last-child {
    display: none;
  }
  .short-page {
    padding-inline: 0;
    --height: calc(100svh - 131px);
  }
  .short-page .page-intro,
  .short-menu {
    margin-inline: 13px;
  }
  .shorts-stage {
    display: block;
  }
  .short-feed {
    width: 100%;
    border-radius: 0;
  }
  .short-rail {
    position: absolute;
    bottom: 69px;
    right: 10px;
    padding: 0;
  }
  .short-caption {
    padding-right: 67px;
  }
  .round-btn {
    background: #17121edd;
    border-color: #ffffff45;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Editorial discovery */
.genre-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.genre-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1.5;
  border-radius: 8px;
  display: flex;
  align-items: end;
  padding: 15px;
  color: #fff;
  background: #1d1a23;
}
.genre-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  transition: transform 0.35s;
}
.genre-card:hover img {
  transform: scale(1.05);
}
.genre-card:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, #14101deb, transparent 100%);
}
.genre-card strong,
.genre-card small {
  display: block;
}
.genre-card strong {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.65rem;
  line-height: 1.1;
}
.genre-card small {
  font-size: 0.71rem;
  margin-bottom: 5px;
  color: #ddd4e9;
}
.editor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.editor-card {
  display: block;
  overflow: hidden;
  position: relative;
  border-radius: 9px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.editor-card > img {
  height: auto;
  aspect-ratio: 1.85;
}
.editor-card > div {
  padding: 19px;
}
.editor-card h3 {
  font-size: 1.3rem;
  letter-spacing: -0.025em;
  margin: 11px 0 8px;
  font-weight: 500;
}
.editor-card p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
  margin-bottom: 16px;
}
.editor-card .kicker {
  font-size: 0.67rem;
}
#yeni .filters {
  margin-top: 0;
}
.theme-toggle {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: var(--accent);
  flex: none;
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
}
.theme-toggle .moon-icon {
  display: none;
}
[data-theme="light"] .theme-toggle .sun-icon {
  display: none;
}
[data-theme="light"] .theme-toggle .moon-icon {
  display: block;
}
.watch-primary {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.watch-info {
  padding: 22px 25px 14px;
}
.player-frame {
  background: #09090c;
}
.player-frame .video-player {
  border-radius: 0;
}
.watch-labels {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.72rem;
}
.watch-labels > span {
  color: var(--accent);
  background: #e9c07c0e;
  border: 1px solid #e9c07c24;
  border-radius: 4px;
  padding: 4px 7px;
}
.watch-info .watch-title {
  margin-top: 13px;
}
.watch-info .watch-title h1 {
  font-size: 3.2rem;
}
.watch-info .status:empty {
  display: none;
}
.watch-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.watch-tabs {
  display: flex;
  gap: 26px;
  margin: 10px 25px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.83rem;
}
.watch-tabs a {
  padding: 12px 0;
  color: var(--muted);
}
.watch-tabs a:hover {
  color: var(--accent);
}
.watch-description,
.watch-cast {
  padding: 25px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 20px;
}
.watch-description h2,
.watch-cast h2 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 12px;
}
.watch-description > p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}
.watch-description .facts {
  gap: 25px;
}
.watch-description .preview-note {
  font-size: 0.74rem;
  margin-top: 18px;
}
.cast-feature {
  display: flex;
  align-items: center;
  gap: 13px;
  width: max-content;
}
.cast-feature img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-position: 50% 22%;
}
.cast-feature strong,
.cast-feature small {
  display: block;
}
.cast-feature strong {
  font-weight: 500;
  font-size: 0.94rem;
}
.cast-feature small {
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 4px;
}
.aside-title p {
  color: var(--muted);
  font-size: 0.75rem;
  margin: -8px 0 18px;
}
.cinema-mode .rich-watch .watch-layout {
  grid-template-columns: 1fr;
}
.cinema-mode .watch-aside {
  display: none;
}
.cinema-mode .video-player {
  max-height: 80svh;
}

/* Full-height vertical video viewer */
.youtube-shorts {
  overflow: hidden;
}
.youtube-shorts > .footer {
  display: none;
}
.shorts-shell {
  display: grid;
  grid-template-columns: 87px minmax(0, 1fr);
  height: calc(100svh - 86px);
}
.short-sidebar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 21px 5px;
  border-right: 1px solid var(--line);
}
.short-sidebar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.64rem;
  padding: 15px 2px;
  border-radius: 10px;
  color: var(--muted);
}
.short-sidebar a:hover,
.short-sidebar [aria-current="page"] {
  background: var(--panel);
  color: var(--text);
}
.short-sidebar svg {
  height: 23px;
  width: 23px;
}
.shorts-view {
  padding: 17px 100px 17px 25px;
  overflow: hidden;
}
.shorts-view .shorts-stage {
  --height: calc(100svh - 120px);
  display: block;
  width: calc(var(--height) * 0.5625);
  max-width: 100%;
  height: var(--height);
  margin: auto;
}
.shorts-view .short-feed {
  width: 100%;
  height: 100%;
  border-radius: 13px;
}
.shorts-view .short-slide {
  height: 100%;
}
.short-top-controls {
  position: absolute;
  inset: 14px 13px auto;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.short-top-controls button {
  pointer-events: auto;
  background: #10101388;
  border: 0;
  width: 35px;
  height: 35px;
  color: #fff;
}
.short-top-controls #short-fullscreen {
  margin-left: auto;
}
.short-top-controls .sound-on {
  color: #e9c07c;
}
.short-rail {
  position: absolute;
  left: calc(100% + 16px);
  right: auto;
  bottom: 11px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 17px;
  width: 58px;
}
.short-action {
  background: none;
  border: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 500;
  white-space: nowrap;
}
.short-action > span {
  border-radius: 50%;
  height: 47px;
  width: 47px;
  background: var(--panel);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: background 0.15s;
}
.short-action:hover > span {
  background: #55505b;
}
.short-action[aria-pressed="true"] > span {
  background: var(--accent);
  color: #171219;
}
.short-action svg {
  height: 22px;
  width: 22px;
}
.short-navigation {
  position: fixed;
  right: 26px;
  top: 48%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.short-navigation > span {
  color: var(--muted);
  font-size: 0.68rem;
}
.short-navigation .round-btn {
  background: var(--panel);
  border-color: var(--line);
  color: var(--text);
}
.shorts-view .short-caption {
  color: #fff;
  padding: 70px 16px 25px;
  background: linear-gradient(0deg, #08080be6, transparent);
  pointer-events: none;
}
.short-caption .short-channel {
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
  margin: 0 0 12px;
  color: #fff;
  font-weight: 600;
  font-size: 0.83rem;
}
.short-channel img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-position: center 25%;
}
.short-caption h2 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.short-caption p {
  font-size: 0.76rem;
  color: #f0ebf6;
  margin-top: 5px;
}
.short-caption .short-detail {
  display: inline-block;
  font-size: 0.74rem;
  color: #fff;
  border-bottom: 1px solid #fff9;
  margin-top: 9px;
}
.short-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #ffffff36;
  z-index: 3;
}
.short-progress > span {
  display: block;
  width: 0;
  height: 100%;
  background: #e9c07c;
}
.short-toast {
  position: absolute;
  bottom: 160px;
  left: 12px;
  right: 12px;
  background: #16111def;
  color: #fff;
  border: 1px solid #ffffff33;
  border-radius: 8px;
  padding: 12px;
  font-size: 0.81rem;
  line-height: 1.5;
  box-shadow: 0 8px 26px #0006;
  pointer-events: none;
  z-index: 5;
}
.short-toast:empty {
  display: none;
}
.shorts-stage:fullscreen {
  width: 100%;
  max-width: 100%;
  height: 100%;
  --height: 100svh;
  background: #08080b;
}
.shorts-stage:fullscreen .short-feed {
  width: 56.25svh;
  max-width: 100%;
  margin: auto;
}
.shorts-stage:fullscreen .short-rail {
  left: auto;
  right: 20px;
  bottom: 80px;
}
.shorts-stage:fullscreen .short-top-controls {
  left: calc(50% - min(28.125svh, 50%) + 13px);
  right: calc(50% - min(28.125svh, 50%) + 13px);
}

/* Day palette */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f7f8;
  --panel: #fff;
  --line: #19121f18;
  --text: #201b26;
  --muted: #665d70;
  --accent: #8e5a17;
}
[data-theme="light"] body {
  background: var(--bg);
  color: var(--text);
}
[data-theme="light"] .header {
  background: #fffffff2;
}
[data-theme="light"] .header nav a {
  color: #665c70;
}
[data-theme="light"] .header nav [aria-current="page"],
[data-theme="light"] .header nav a:hover {
  color: #281c38;
}
[data-theme="light"] .brand {
  color: #211927;
}
[data-theme="light"] .brand-mark {
  background: #8e5a17;
  color: #fff;
}
[data-theme="light"] .hero,
[data-theme="light"] .hero .kicker {
  color: #fff;
}
[data-theme="light"] .hero .kicker {
  color: #e9c07c;
}
[data-theme="light"] .hero:after {
  background:
    linear-gradient(90deg, #101012ec 0%, #101012a8 35%, #10101213 75%),
    linear-gradient(0deg, #10101299, transparent 40%);
}
[data-theme="light"] .hero .btn {
  background: #e9c07c;
  color: #21160b;
}
[data-theme="light"] .hero .btn.ghost {
  background: #ffffff12;
  color: #fff;
  border-color: #ffffff60;
}
[data-theme="light"] .search input {
  color: #201b26;
}
[data-theme="light"] .search svg {
  color: #665c70;
}
[data-theme="light"] .text-link {
  color: #7c531c;
  border-color: #7c531c55;
}
[data-theme="light"] .filter {
  color: #615767;
  background: #fff;
  border-color: #ddd8e2;
}
[data-theme="light"] .filter[aria-pressed="true"],
[data-theme="light"] .filter:hover {
  color: #fff;
  background: #8e5a17;
  border-color: #8e5a17;
}
[data-theme="light"] .editorial {
  background: #eee9e2;
}
[data-theme="light"] .editorial-copy .btn.ghost {
  color: #654512;
  border-color: #9b762c55;
}
[data-theme="light"] .btn {
  background: #8e5a17;
  color: #fff;
}
[data-theme="light"] .btn.ghost {
  background: #fff;
  color: #5b3b13;
  border-color: #d4c3a8;
}
[data-theme="light"] .person-card {
  background: #fff;
}
[data-theme="light"] .footer {
  color: #665c70;
}
[data-theme="light"] .footer .brand,
[data-theme="light"] .footer h2 {
  color: #28202f;
}
[data-theme="light"] .watch-labels > span {
  background: #f2e9dc;
  color: #7f5016;
  border-color: #e0cfb5;
}
[data-theme="light"] .watch-aside {
  background: #fff;
}
[data-theme="light"] .mobile-menu-panel {
  background: #fff;
  border-color: #ddd4e5;
  box-shadow: 0 12px 28px #24133325;
}
[data-theme="light"] .mobile-menu-panel a:hover {
  background: #f3edf7;
}
[data-theme="light"] .short-action:hover > span {
  background: #e4dfe9;
}
[data-theme="light"] .short-action[aria-pressed="true"] > span {
  background: #8e5a17;
  color: #fff;
}
@media (max-width: 1100px) {
  .genre-grid {
    gap: 10px;
  }
  .genre-card {
    padding: 11px;
    aspect-ratio: 1.2;
  }
  .genre-card strong {
    font-size: 1.4rem;
  }
}
@media (max-width: 800px) {
  .genre-grid {
    grid-template-columns: repeat(5, minmax(155px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .genre-card {
    aspect-ratio: 1.35;
  }
  .editor-grid {
    gap: 10px;
  }
  .editor-card > div {
    padding: 13px;
  }
  .editor-card h3 {
    font-size: 1.1rem;
  }
  .rich-watch .watch-aside {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .rich-watch .aside-title {
    grid-column: 1/-1;
  }
  .shorts-shell {
    grid-template-columns: 68px minmax(0, 1fr);
    height: calc(100svh - 68px);
  }
  .shorts-view {
    padding: 12px 86px 12px 14px;
  }
  .shorts-view .shorts-stage {
    --height: calc(100svh - 92px);
  }
  .short-navigation {
    right: 12px;
  }
}
@media (max-width: 500px) {
  .header-tools {
    gap: 7px;
  }
  .theme-toggle {
    width: 32px;
    height: 32px;
  }
  .search input {
    width: 67px;
    font-size: 0.76rem;
  }
  .brand {
    font-size: 1.02rem;
  }
  .brand-mark {
    width: 25px;
    height: 25px;
  }
  .editor-grid {
    grid-template-columns: 1fr;
  }
  .editor-card {
    display: grid;
    grid-template-columns: 40% 1fr;
  }
  .editor-card > img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }
  .editor-card p {
    font-size: 0.79rem;
    margin-bottom: 9px;
  }
  .editor-card .kicker {
    font-size: 0.61rem;
  }
  .watch-info,
  .watch-description,
  .watch-cast {
    padding: 16px;
  }
  .watch-info .watch-title h1 {
    font-size: 2.55rem;
  }
  .watch-title .btn {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 0.78rem;
  }
  .watch-tabs {
    margin-inline: 16px;
    gap: 24px;
  }
  .watch-description .facts {
    gap: 17px;
  }
  .rich-watch .watch-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shorts-shell {
    display: block;
    height: calc(100svh - 68px);
  }
  .short-sidebar {
    display: none;
  }
  .shorts-view {
    height: 100%;
    padding: 0;
  }
  .shorts-view .shorts-stage {
    --height: calc(100svh - 68px);
    width: 100%;
    max-width: none;
  }
  .shorts-view .short-feed {
    border-radius: 0;
  }
  .shorts-view .short-rail {
    left: auto;
    right: 7px;
    bottom: 77px;
    width: 54px;
    gap: 18px;
  }
  .short-action {
    font-size: 0.62rem;
    color: #fff;
    text-shadow: 0 1px 4px #000;
  }
  .short-action > span {
    height: 40px;
    width: 40px;
    background: #1b1622b0;
    border: 0;
    color: #fff;
  }
  .short-action svg {
    width: 22px;
    height: 22px;
  }
  .short-navigation {
    display: none;
  }
  .shorts-view .short-caption {
    padding-right: 70px;
    padding-bottom: 20px;
  }
  .short-caption h2 {
    font-size: 1.05rem;
  }
  .short-caption p {
    font-size: 0.74rem;
  }
  .short-caption .short-channel {
    font-size: 0.78rem;
  }
  .short-top-controls {
    inset: 12px 12px auto;
  }
  .short-toast {
    right: 68px;
    bottom: 170px;
  }
  [data-theme="light"] .short-action {
    color: #fff;
  }
  [data-theme="light"] .short-action:hover > span {
    background: #282130d9;
  }
}

[data-theme="light"] .crumb {
  color: #665b72;
}
[data-theme="light"] .metadata {
  color: #665b72;
}
[data-theme="light"] .facts dd {
  color: #31233e;
}
[data-theme="light"] .actor-profile dd {
  color: #714712;
}

[data-theme="light"] .hero .metadata {
  color: #ddd6e7;
}
[data-theme="light"] .hero .tag {
  border-color: #ddd6e77a;
}

/* Visual category navigation */
.header {
  gap: 24px;
}
.header > nav {
  gap: 22px;
}
.category-menu {
  flex: none;
}
.category-menu > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  color: var(--muted);
  font-size: 0.86rem;
  min-height: 43px;
  border-radius: 7px;
  padding: 8px 4px;
}
.category-menu > summary::-webkit-details-marker {
  display: none;
}
.category-menu > summary > svg {
  width: 17px;
  height: 17px;
}
.category-menu[open] > summary,
.category-menu > summary:hover {
  color: var(--accent);
}
.menu-chevron {
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-1px) rotate(45deg);
  margin: 0 3px;
}
.category-menu[open] .menu-chevron {
  transform: translateY(2px) rotate(225deg);
}
.category-panel {
  position: absolute;
  top: calc(100% + 1px);
  left: 4.5vw;
  right: 4.5vw;
  max-width: 1230px;
  margin: auto;
  padding: 25px 26px 0;
  background: #1b191f;
  border: 1px solid #ffffff1c;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 28px 55px #0009;
  color: #f5f1f9;
  z-index: 12;
  max-height: calc(100svh - 110px);
  overflow: auto;
}
.category-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 15px;
}
.category-panel-header .kicker {
  font-size: 0.64rem;
}
.category-panel h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.1;
  margin-top: 8px;
  letter-spacing: -0.02em;
}
.category-menu-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.category-menu-card {
  display: block;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 154px;
  border-radius: 8px;
  background: #111;
}
.category-menu-card img {
  position: absolute;
  inset: 0;
  height: 100%;
  z-index: -2;
  transition: transform 0.3s;
  object-position: 50% 38%;
}
.category-menu-card:hover img {
  transform: scale(1.06);
}
.category-menu-card::after,
.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, #100c18f2, #140e1f33 70%, transparent);
}
.category-tile-copy {
  display: flex;
  flex-direction: column;
  justify-content: end;
  height: 100%;
  padding: 14px;
  gap: 4px;
  color: #fff;
}
.category-tile-copy small {
  font-size: 0.66rem;
  color: #ede5f4;
}
.category-tile-copy strong {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: 1.7rem;
  line-height: 1;
}
.category-tile-copy > span {
  font-size: 0.67rem;
  color: #d9cadf;
}
.category-panel-foot {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  padding: 16px 0;
  margin-top: 19px;
  border-top: 1px solid #ffffff14;
  font-size: 0.75rem;
  color: #aba4b4;
}
.category-panel-foot a {
  color: #e9c07c;
}
.category-hub-intro {
  margin: 34px 0;
}
.category-hub h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 14px 0 16px;
}
.category-hub-intro > p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 520px;
  line-height: 1.65;
}
.category-hub-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}
.category-tile {
  position: relative;
  isolation: isolate;
  display: block;
  grid-column: span 2;
  aspect-ratio: 1.4;
  overflow: hidden;
  border-radius: 12px;
  background: #17121e;
}
.category-tile:nth-child(-n + 2) {
  grid-column: span 3;
  aspect-ratio: 2;
}
.category-tile > img {
  position: absolute;
  inset: 0;
  height: 100%;
  z-index: -2;
  transition: transform 0.4s;
  object-position: center 40%;
}
.category-tile:hover > img {
  transform: scale(1.04);
}
.category-tile .category-tile-copy {
  padding: 24px;
  gap: 8px;
}
.category-tile .category-tile-copy strong {
  font-size: 2.7rem;
}
.category-tile .category-tile-copy small {
  font-size: 0.81rem;
}
.category-tile .category-tile-copy > span {
  font-size: 0.75rem;
}
.category-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 350px;
  overflow: hidden;
  border-radius: 12px;
  padding: 38px 45px;
  background: #20172e;
  color: #fff;
}
.category-hero > img {
  position: absolute;
  inset: 0;
  height: 100%;
  z-index: -2;
  object-position: 70% 42%;
}
.category-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #121017ed, #121017c0 30%, #12101733 95%);
}
.category-hero h1 {
  font-family: var(--display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(3.5rem, 7vw, 6.4rem);
  line-height: 1;
  margin: 12px 0 14px;
}
.category-hero p {
  font-size: 0.92rem;
  max-width: 420px;
  color: #e3dbe8;
  line-height: 1.7;
  margin-bottom: 19px;
}
.category-hero .kicker {
  color: #e9c07c;
}
.category-total {
  font-size: 0.76rem;
  padding: 7px 10px;
  border: 1px solid #ffffff47;
  border-radius: 4px;
  color: #e9d3b1;
  background: #110c1966;
}
.category-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 22px 0;
}
.category-chips a {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--muted);
  background: var(--panel);
  font-size: 0.81rem;
}
.category-chips a:hover,
.category-chips a[aria-current="page"] {
  color: var(--bg);
  background: var(--accent);
}
.category-count {
  color: var(--muted);
  font-size: 0.8rem;
}

/* Search panel */
.header-tools {
  gap: 13px;
}
.search-trigger {
  height: 39px;
  border: 1px solid var(--line);
  background: var(--panel);
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 7px;
  color: var(--muted);
  padding: 0 11px;
  font-size: 0.77rem;
  width: 229px;
  white-space: nowrap;
}
.search-trigger > svg {
  width: 16px;
  height: 16px;
}
.search-trigger:hover {
  border-color: #e9c07c60;
  color: var(--text);
}
kbd {
  font-family: var(--body);
  font-size: 0.67rem;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 21px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 4px;
  color: var(--muted);
}
.search-trigger kbd {
  margin-left: auto;
}
.search-is-open {
  overflow: hidden;
}
.search-dialog {
  width: min(720px, calc(100% - 28px));
  max-height: calc(100svh - 55px);
  padding: 0;
  border: 1px solid #ffffff22;
  border-radius: 17px;
  background: #1b181f;
  color: #f4eff9;
  box-shadow: 0 35px 100px #0009;
  overflow: auto;
  margin: 30px auto auto;
}
.search-dialog::backdrop {
  background: #09070dc7;
  backdrop-filter: blur(8px);
}
.search-dialog-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
  padding: 25px 25px 17px;
}
.search-dialog-head .kicker {
  font-size: 0.65rem;
}
.search-dialog h2 {
  font-size: 1.5rem;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin-top: 8px;
}
.search-close {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #ffffff0b;
  border: 1px solid #ffffff18;
  color: #cbc0d5;
  display: grid;
  place-items: center;
  flex: none;
}
.search-close svg {
  width: 17px;
  height: 17px;
}
.search-close:hover {
  background: #ffffff1b;
}
.rich-search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  background: #100d15;
  border: 1px solid #5f4d72;
  border-radius: 9px;
  padding: 7px 8px 7px 15px;
  margin: 0 25px;
}
.rich-search-form:focus-within {
  border-color: #e9c07c;
  box-shadow: 0 0 0 3px #e9c07c0d;
}
.rich-search-form > svg {
  color: #bda9cf;
  width: 20px;
  height: 20px;
}
.rich-search-form input {
  width: 100%;
  min-width: 0;
  background: none;
  border: 0;
  outline: none;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.4;
}
.rich-search-form input:focus-visible {
  outline: none;
}
.rich-search-form input::placeholder {
  color: #9c8faa;
}
.search-submit {
  padding: 10px 17px;
  border-radius: 5px;
  background: #e9c07c;
  color: #1b140d;
  font-size: 0.83rem;
  font-weight: 600;
}
.search-submit:hover {
  background: #f4d298;
}
#search-hint {
  font-size: 0.73rem;
  color: #aaa0b6;
  margin: 10px 25px 18px;
}
.search-body {
  padding: 0 25px 22px;
}
.search-body h3 {
  font-size: 0.83rem;
  font-weight: 500;
  color: #b6abbe;
  margin-bottom: 11px;
}
.search-genre-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 25px;
}
.search-genre-chips a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff06;
  border: 1px solid #ffffff16;
  border-radius: 23px;
  padding: 8px 12px;
  font-size: 0.79rem;
  color: #e7ddef;
}
.search-genre-chips a:hover {
  background: #e9c07c1b;
  border-color: #e9c07c5c;
}
.search-genre-chips small {
  color: #a89ab6;
  font-size: 0.67rem;
}
.search-featured {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.search-featured a {
  min-width: 0;
}
.search-featured img {
  height: auto;
  aspect-ratio: 1.75;
  border-radius: 7px;
}
.search-featured strong,
.search-featured small {
  display: block;
}
.search-featured strong {
  font-size: 0.84rem;
  font-weight: 500;
  margin-top: 8px;
}
.search-featured small {
  color: #a398af;
  font-size: 0.71rem;
  margin-top: 3px;
}
.search-featured a:hover strong {
  color: #e9c07c;
}
.search-dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 25px;
  gap: 10px;
  border-top: 1px solid #ffffff14;
  color: #9c90a8;
  font-size: 0.68rem;
}
.search-dialog-footer kbd {
  border-color: #ffffff20;
  margin: 0 5px 0 10px;
  color: #c0b2ca;
}
.search-result-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 13px;
}
.search-result-filters button {
  font-size: 0.72rem;
  border: 1px solid #ffffff1a;
  background: #ffffff05;
  color: #b6a6c2;
  border-radius: 20px;
  padding: 7px 11px;
}
.search-result-filters button:hover,
.search-result-filters [aria-pressed="true"] {
  border-color: #e9c07c55;
  background: #e9c07c16;
  color: #e9c07c;
}
.search-count {
  color: #b6a6c2;
  font-size: 0.73rem;
  margin-bottom: 16px;
}
.search-result-group {
  margin-top: 18px;
}
.search-result {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 8px;
  border-radius: 9px;
  margin: 0 -8px 1px;
}
.search-result:hover {
  background: #ffffff08;
}
.search-result img {
  width: 76px;
  height: 50px;
  border-radius: 5px;
  flex: none;
}
.search-result img.result-person {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-position: center 22%;
  margin-inline: 13px;
}
.result-copy {
  min-width: 0;
}
.result-copy strong {
  font-size: 0.88rem;
  font-weight: 500;
  display: block;
}
.result-copy small {
  font-size: 0.71rem;
  color: #a899b6;
  display: block;
  margin-top: 4px;
}
.result-type {
  margin-left: auto;
  font-size: 0.67rem;
  color: #a393b2;
  padding: 4px 7px;
  border: 1px solid #ffffff12;
  border-radius: 4px;
  flex: none;
}
.search-view-all {
  display: block;
  padding: 12px 0;
  color: #e9c07c;
  font-size: 0.8rem;
}
.search-empty {
  border: 1px dashed #ffffff27;
  border-radius: 9px;
  padding: 23px;
  text-align: center;
}
.search-empty strong {
  font-weight: 500;
  font-size: 0.94rem;
}
.search-empty p {
  color: #ad9fba;
  font-size: 0.8rem;
  margin-top: 8px;
  line-height: 1.65;
}
[data-theme="light"] .category-panel {
  background: #fff;
  color: #281d35;
  border-color: #ddd4e5;
  box-shadow: 0 24px 45px #29163e26;
}
[data-theme="light"] .category-panel-foot {
  color: #6b5d78;
  border-color: #e8e0ef;
}
[data-theme="light"] .category-panel-foot a {
  color: #825116;
}
[data-theme="light"] .search-trigger {
  background: #f5f2f8;
  border-color: #e3dce9;
  color: #675b73;
}
[data-theme="light"] .search-dialog {
  background: #fff;
  color: #21172e;
  border-color: #e4dbe9;
}
[data-theme="light"] .search-close {
  background: #f3edf7;
  color: #665073;
  border-color: #e8dfee;
}
[data-theme="light"] .rich-search-form {
  background: #faf7fc;
  border-color: #cdbdd9;
}
[data-theme="light"] .rich-search-form:focus-within {
  border-color: #8e5a17;
}
[data-theme="light"] .rich-search-form > svg {
  color: #81648e;
}
[data-theme="light"] .rich-search-form input {
  color: #271b34;
}
[data-theme="light"] .rich-search-form input::placeholder {
  color: #85718f;
}
[data-theme="light"] .search-submit {
  background: #8e5a17;
  color: #fff;
}
[data-theme="light"] #search-hint,
[data-theme="light"] .search-body h3,
[data-theme="light"] .search-count {
  color: #74607f;
}
[data-theme="light"] .search-genre-chips a {
  background: #faf6fc;
  color: #443151;
  border-color: #e5dcea;
}
[data-theme="light"] .search-genre-chips small,
[data-theme="light"] .search-featured small,
[data-theme="light"] .result-copy small {
  color: #776381;
}
[data-theme="light"] .search-featured a:hover strong,
[data-theme="light"] .search-view-all {
  color: #855119;
}
[data-theme="light"] .search-result:hover {
  background: #f8f2fc;
}
[data-theme="light"] .result-type {
  border-color: #e3d7ec;
  color: #7a6685;
}
[data-theme="light"] .search-result-filters button {
  background: #faf7fc;
  border-color: #e7dfee;
  color: #715c80;
}
[data-theme="light"] .search-result-filters [aria-pressed="true"] {
  background: #f4e8d5;
  border-color: #d5bb8d;
  color: #785019;
}
[data-theme="light"] .search-empty {
  border-color: #d8c8e3;
}
[data-theme="light"] .search-empty p {
  color: #786385;
}
[data-theme="light"] .search-dialog-footer {
  color: #7d698a;
  border-color: #e9e1ef;
}
[data-theme="light"] .search-dialog-footer kbd {
  color: #776180;
  border-color: #d8cce0;
}
@media (max-width: 1180px) {
  .header {
    gap: 18px;
  }
  .header > nav {
    gap: 15px;
  }
  .search-trigger {
    width: 185px;
  }
  .search-trigger > span {
    font-size: 0.7rem;
  }
  .search-trigger kbd {
    display: none;
  }
}
@media (max-width: 1050px) {
  .header > nav {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  .mobile-menu summary {
    list-style: none;
    cursor: pointer;
    width: 32px;
    height: 36px;
    display: grid;
    place-items: center;
  }
  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }
  .mobile-menu-panel {
    position: absolute;
    top: calc(100% + 2px);
    left: 15px;
    right: 15px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 15px 30px #0009;
  }
  .mobile-menu-panel a {
    display: block;
    padding: 12px;
    font-size: 0.92rem;
  }
  .search-trigger {
    width: 229px;
  }
  .search-trigger > span {
    font-size: 0.77rem;
  }
  .search-trigger kbd {
    display: inline-flex;
  }
  .category-panel {
    left: 20px;
    right: 20px;
    padding: 21px 20px 0;
  }
  .category-menu-grid {
    gap: 9px;
  }
  .category-menu-card {
    height: 146px;
  }
}
@media (max-width: 700px) {
  .header {
    gap: 12px;
  }
  .search-trigger {
    width: 35px;
    height: 35px;
    padding: 0;
    justify-content: center;
  }
  .search-trigger > span,
  .search-trigger kbd {
    display: none;
  }
  .search-trigger > svg {
    width: 18px;
    height: 18px;
  }
  .category-menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .category-menu-card {
    height: 135px;
  }
  .category-panel {
    left: 13px;
    right: 13px;
    padding: 18px 14px 0;
    max-height: calc(100svh - 95px);
  }
  .category-panel h2 {
    font-size: 1.7rem;
  }
  .category-panel-header {
    gap: 10px;
  }
  .category-panel-header .text-link {
    font-size: 0.71rem;
  }
  .category-panel-foot {
    font-size: 0.69rem;
    margin-top: 13px;
  }
  .category-tile-copy {
    padding: 11px;
    gap: 4px;
  }
  .category-tile-copy strong {
    font-size: 1.5rem;
  }
  .category-tile-copy small {
    font-size: 0.61rem;
  }
  .category-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }
  .category-tile,
  .category-tile:nth-child(-n + 2) {
    grid-column: auto;
    aspect-ratio: 1.12;
  }
  .category-tile:first-child {
    grid-column: 1/-1;
    aspect-ratio: 1.9;
  }
  .category-tile .category-tile-copy {
    padding: 16px;
    gap: 5px;
  }
  .category-tile .category-tile-copy strong {
    font-size: 2.1rem;
  }
  .category-tile .category-tile-copy small {
    font-size: 0.71rem;
  }
  .category-hero {
    min-height: 310px;
    padding: 25px;
  }
  .category-hero p {
    max-width: 330px;
  }
}
@media (max-width: 500px) {
  .header {
    gap: 7px;
  }
  .header-tools {
    gap: 6px;
  }
  .category-menu > summary {
    padding-inline: 4px;
    width: 31px;
    justify-content: center;
  }
  .category-menu > summary > span,
  .category-menu > summary > .menu-chevron {
    display: none;
  }
  .category-menu > summary > svg {
    width: 18px;
    height: 18px;
  }
  .category-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .category-menu-card {
    height: 110px;
  }
  .category-menu-card:last-child {
    grid-column: 1/-1;
    height: 98px;
  }
  .category-menu-card:last-child img {
    object-position: 50% 44%;
  }
  .category-panel-header {
    align-items: end;
  }
  .category-panel-header .kicker {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }
  .category-panel h2 {
    font-size: 1.5rem;
  }
  .category-tile-copy small {
    font-size: 0.62rem;
  }
  .category-panel-foot > span {
    max-width: 150px;
    line-height: 1.5;
  }
  .search-trigger {
    width: 32px;
    height: 32px;
  }
  .search-trigger svg {
    width: 17px;
    height: 17px;
  }
  .search-dialog {
    margin-top: 12px;
    max-height: calc(100svh - 24px);
    width: calc(100% - 20px);
    border-radius: 13px;
  }
  .search-dialog-head {
    padding: 20px 17px 15px;
  }
  .search-dialog h2 {
    font-size: 1.27rem;
  }
  .search-dialog-head .kicker {
    font-size: 0.59rem;
  }
  .rich-search-form {
    margin-inline: 16px;
    padding-left: 10px;
    gap: 8px;
    min-height: 52px;
  }
  .rich-search-form input {
    font-size: 0.85rem;
  }
  .rich-search-form > svg {
    width: 17px;
  }
  .search-submit {
    padding: 9px 13px;
  }
  #search-hint {
    margin-inline: 17px;
    font-size: 0.66rem;
  }
  .search-body {
    padding-inline: 17px;
  }
  .search-featured {
    gap: 8px;
  }
  .search-featured strong {
    font-size: 0.75rem;
  }
  .search-featured small {
    font-size: 0.65rem;
  }
  .search-genre-chips {
    gap: 6px;
  }
  .search-genre-chips a {
    font-size: 0.73rem;
    padding: 7px 10px;
  }
  .search-result {
    gap: 10px;
  }
  .result-copy strong {
    font-size: 0.8rem;
  }
  .result-copy small {
    font-size: 0.67rem;
  }
  .result-type {
    display: none;
  }
  .search-dialog-footer {
    padding-inline: 17px;
    font-size: 0.63rem;
  }
  .search-dialog-footer kbd {
    font-size: 0.6rem;
    min-width: 17px;
    height: 18px;
    margin-inline: 4px;
  }
  .category-chips {
    gap: 6px;
  }
  .category-chips a {
    font-size: 0.74rem;
    padding: 7px 10px;
  }
  .category-hero {
    min-height: 320px;
    padding: 23px;
  }
  .category-hero p {
    font-size: 0.85rem;
  }
  .category-hero h1 {
    font-size: 3.7rem;
  }
}

/* Series and episode pages */
.series-overview {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(1rem, 5vw, 4rem);
  align-items: center;
  margin-block: 1rem 3rem;
}
.series-overview img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.75rem;
}
.series-overview h1 { font-size: clamp(2rem, 6vw, 4.5rem); line-height: 1; }
.series-overview p { max-width: 62ch; }
.series-episodes, .series-latest { margin-block: 2rem 3rem; }
.series-episodes details, .series-latest-grid a {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.85rem;
}
.series-episodes summary { cursor: pointer; font-weight: 700; }
.series-episodes a:hover, .series-episodes a[aria-current] { text-decoration: underline; }
.series-latest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr));
  gap: 0.75rem;
}
.series-latest-grid a { display: grid; gap: 0.35rem; }
.series-latest-grid a:hover { border-color: currentColor; }
.series-latest-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0.4rem; }
.series-latest-grid span { font-size: 0.85rem; }
@media (max-width: 580px) {
  .series-overview { grid-template-columns: 1fr; }
}
