/* Theme-local foundations and playback components. */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    14px/1.8 "Microsoft YaHei",
    "PingFang SC",
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.3;
}
h1 {
  font-size: clamp(32px, 4vw, 64px);
}
h2 {
  font-size: 30px;
}
h3 {
  font-size: 16px;
}
button {
  border: 0;
}
input {
  min-width: 0;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
::selection {
  background: var(--accent);
  color: var(--bg);
}
.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip-link:focus {
  position: fixed;
  z-index: 100;
  background: var(--bg);
  padding: 12px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
}
.muted,
.fact-label {
  color: var(--muted);
}
.menu-toggle {
  display: none;
}
.identity {
  display: flex;
  align-items: center;
  gap: 12px;
}
.identity b {
  display: block;
  font-size: 22px;
  letter-spacing: 1px;
}
.identity small {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
}
.identity-symbol {
  font-size: 38px;
  line-height: 1;
}
.edition-bar {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 20px 0;
  font-size: 10px;
  letter-spacing: 2px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.search {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}
.search input {
  width: 100%;
  background: transparent;
  color: var(--ink);
  border: 0;
  padding: 10px 0;
  outline-offset: 0;
}
.search button {
  flex-shrink: 0;
  background: var(--accent);
  color: var(--button-ink);
  padding: 10px 18px;
  font-weight: 700;
}
.collection {
  margin: 65px 0;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.section-head h2 {
  margin: 8px 0 0;
}
.more {
  font-size: 12px;
  white-space: nowrap;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
}
.film-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.film-card {
  display: block;
  min-width: 0;
}
.cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 2/3;
  background: var(--poster);
  display: grid;
  place-items: center;
}
.cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  z-index: 1;
}
.film-card:hover .cover img {
  transform: scale(1.035);
}
.cover-flower {
  font-size: 90px;
  opacity: 0.2;
}
.tone-1 {
  background: var(--poster2);
}
.tone-2 {
  background: var(--poster3);
}
.tone-3 {
  background: var(--poster4);
}
.cover-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  font-size: 10px;
  background: #111b;
  color: #fff;
  padding: 3px 9px;
  max-width: calc(100% - 24px);
}
.play-mark {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #fffa;
  border-radius: 50%;
  color: white;
  background: #0005;
  opacity: 0;
  transition: opacity 0.2s;
}
.film-card:hover .play-mark,
.film-card:focus-visible .play-mark {
  opacity: 1;
}
.card-copy {
  position: relative;
  padding: 14px 22px 0 0;
}
.card-copy h3 {
  margin: 0 0 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 15px;
}
.card-copy p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.card-arrow {
  position: absolute;
  right: 0;
  top: 12px;
  color: var(--accent);
}
.home-ranking {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.ranking-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.ranking-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  margin-bottom: 18px;
}
.ranking-heading h3 {
  font-size: 18px;
  margin: 0;
}
.ranking-heading a {
  font-size: 11px;
  color: var(--muted);
}
.ranking-feature {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
  min-width: 0;
}
.ranking-poster {
  width: 66px;
  height: 96px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: var(--poster);
  display: grid;
  place-items: center;
}
.ranking-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.ranking-feature-copy {
  min-width: 0;
}
.ranking-feature-copy h4 {
  font-size: 15px;
  margin: 0 0 10px;
}
.ranking-feature-copy p {
  font-size: 10px;
  color: var(--muted);
  margin: 4px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
}
.ranking-feature-arrow {
  margin-left: auto;
}
.ranking-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: rank;
}
.ranking-list li {
  margin: 0;
}
.ranking-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.ranking-number {
  color: var(--accent);
  font-size: 16px;
  font-family: Georgia, serif;
  width: 20px;
  flex-shrink: 0;
}
.ranking-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.about-box {
  padding: 55px 0;
  border-top: 1px solid var(--line);
  margin-top: 35px;
}
.about-box p,
.prose {
  max-width: 700px;
  color: var(--muted);
  line-height: 2;
}
.about-page {
  min-height: 65vh;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 35px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.footer-brand {
  font-size: 22px;
  font-weight: 700;
}
.site-footer p {
  margin: 0;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
}
.site-footer small {
  flex-basis: 100%;
  font-size: 10px;
  color: var(--muted);
}
.site-footer > a:last-of-type {
  margin-left: auto;
  font-size: 12px;
}
.empty {
  padding: 45px 20px;
  border: 1px dashed var(--line);
  text-align: center;
  color: var(--muted);
}
.catalog {
  padding: 45px 0;
}
.catalog-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 30px;
  margin-bottom: 25px;
}
.catalog-title h1 {
  margin: 10px 0;
}
.catalog-tools {
  width: 40%;
  max-width: 450px;
}
.catalog-count {
  font-size: 12px;
  text-align: right;
}
.subcategory-filters,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.subcategory-filters a,
.filters a {
  font-size: 13px;
  border: 1px solid var(--line);
  padding: 6px 16px;
}
.subcategory-filters a.selected,
.filters a.selected {
  background: var(--accent);
  color: var(--button-ink);
  border-color: var(--accent);
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 45px;
}
.pagination a {
  color: var(--accent);
}
.breadcrumb {
  margin: 30px 0;
  color: var(--muted);
  font-size: 12px;
}
.video-detail {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 35px;
  margin: 35px 0;
}
.video-detail h1 {
  font-size: 36px;
  margin-bottom: 18px;
}
.detail-cover {
  align-self: start;
}
.detail-facts {
  overflow-wrap: anywhere;
}
.detail-facts p {
  margin: 7px 0;
}
.detail-summary {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.detail-description {
  margin: 15px 0;
}
.detail-update {
  color: var(--accent);
}
.button {
  display: inline-block;
  background: var(--accent);
  color: var(--button-ink);
  padding: 10px 22px;
  font-weight: 700;
}
.watch-box {
  padding: 30px 0;
}
.watch-box h3 {
  font-size: 14px;
  margin: 22px 0 12px;
}
.player-stage {
  position: relative;
  background: black;
}
.player-stage video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  background: black;
}
.player-start {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  background: #fffd;
  border-radius: 50%;
  color: black;
}
.player-start svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  margin-left: 4px;
}
.player-status {
  font-size: 12px;
  color: var(--muted);
}
.episodes {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.episode-link {
  padding: 8px 18px;
  border: 1px solid var(--line);
  font-size: 13px;
}
.episode-link.selected {
  background: var(--accent);
  color: var(--button-ink);
}
.detail-recommendations {
  margin: 50px 0;
}
.detail-recommendations h2 {
  font-size: 26px;
}
.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(var(--desktop-cols), minmax(0, 1fr));
  gap: 20px;
}
.recommendation-item {
  min-width: 0;
}
.viewer-comments {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 30px;
}
.comments-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 15px;
}
.comments-heading h2 {
  font-size: 26px;
}
.comments-heading small {
  font-size: 10px;
  color: var(--muted);
}
.viewer-comment {
  display: flex;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.comment-avatar {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  background: var(--poster);
  color: var(--accent);
}
.comment-body {
  overflow-wrap: anywhere;
  min-width: 0;
}
.comment-body h3 {
  font-size: 13px;
  margin: 0 0 5px;
}
.comment-body p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.prose {
  white-space: normal;
  overflow-wrap: anywhere;
}
@media (min-width: 1001px) {
  .rec-hide-desktop {
    display: none;
  }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .recommendation-grid {
    grid-template-columns: repeat(var(--tablet-cols), minmax(0, 1fr));
  }
  .rec-hide-tablet {
    display: none;
  }
}
@media (max-width: 760px) {
  h2 {
    font-size: 25px;
  }
  .film-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
  }
  .collection {
    margin: 40px 0;
  }
  .section-head {
    gap: 12px;
  }
  .section-head .muted {
    display: none;
  }
  .ranking-columns {
    grid-template-columns: 1fr;
  }
  .ranking-feature-copy p {
    max-width: 240px;
  }
  .recommendation-grid {
    grid-template-columns: repeat(var(--mobile-cols), minmax(0, 1fr));
    gap: 20px 14px;
  }
  .rec-hide-mobile {
    display: none;
  }
  .catalog-heading {
    display: block;
  }
  .catalog-tools {
    width: 100%;
    max-width: none;
  }
  .video-detail {
    grid-template-columns: 95px minmax(0, 1fr);
    gap: 18px;
  }
  .video-detail h1 {
    font-size: 26px;
  }
  .detail-facts {
    font-size: 12px;
  }
  .detail-summary {
    gap: 5px 12px;
  }
  .detail-description {
    max-height: 170px;
    overflow: auto;
  }
  .edition-bar {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .edition-bar span:last-child {
    max-width: 50%;
    text-align: right;
  }
  .about-box h2 {
    font-size: 28px;
  }
  .card-copy h3 {
    font-size: 14px;
  }
  .site-footer {
    gap: 12px;
  }
  .site-footer p {
    flex-basis: 100%;
  }
  .catalog {
    padding-top: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

:root {
  --bg: #f5f6f8;
  --ink: #26313e;
  --accent: #347b8e;
  --muted: #7c8894;
  --line: #dce2e8;
  --button-ink: #fff;
  --poster: #a5b7c7;
  --poster2: #b5c5cb;
  --poster3: #c7b8aa;
  --poster4: #aaaec5;
  --panel: #fff;
}
html {
  scroll-padding-top: 100px;
}
body {
  background: var(--bg);
}
.page-shell {
  max-width: 1340px;
  margin: auto;
  padding: 30px 28px 70px;
}
.masthead {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.masthead-inner {
  max-width: 1340px;
  margin: auto;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.identity {
  flex-shrink: 0;
}
.identity-symbol {
  font-size: 32px;
  color: var(--accent);
}
.identity b {
  font-size: 23px;
}
.identity small {
  font-size: 8px;
  letter-spacing: 2px;
}
.masthead nav {
  display: flex;
  gap: 23px;
  margin-left: auto;
}
.masthead nav a {
  white-space: nowrap;
  font-size: 14px;
}
.masthead nav a[aria-current] {
  color: var(--accent);
  font-weight: bold;
}
.nav-search {
  display: flex;
  max-width: 260px;
  border: 1px solid var(--line);
  padding: 5px;
  background: var(--bg);
}
.nav-search input {
  width: 100%;
  border: 0;
  padding: 5px 9px;
  background: none;
  color: var(--ink);
}
.nav-search button {
  background: var(--accent);
  color: var(--button-ink);
  padding: 5px 12px;
  white-space: nowrap;
}
.intro {
  padding: 22px 0 35px;
}
.intro h1 {
  font-size: 44px;
  margin: 10px 0 16px;
}
.intro p {
  color: var(--muted);
  margin: 0 0 12px;
}
.intro small {
  color: var(--muted);
  font-size: 11px;
}
.panorama {
  position: relative;
  overflow: hidden;
  background: #213142;
  border-radius: 10px;
  min-width: 0;
}
.panorama-slide {
  position: relative;
  height: 460px;
  isolation: isolate;
}
.panorama-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.panorama-slide:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #0b1727ed, #0b17275a),
    linear-gradient(0deg, #0b172766, transparent);
  z-index: -1;
}
.panorama-inner {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 45px 48px 90px;
}
.panorama-copy {
  max-width: 570px;
  color: white;
}
.panorama-kicker {
  font-size: 11px;
  letter-spacing: 3px;
  color: #c8d5e1;
}
.panorama h1 {
  font-size: 42px;
  margin: 18px 0;
  overflow-wrap: anywhere;
}
.panorama-meta {
  font-size: 12px;
  color: #d4dee8;
}
.panorama-copy p {
  font-size: 13px;
  color: #d4dee8;
  margin: 16px 0 24px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.panorama-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}
.panorama-actions > span {
  font-size: 11px;
  color: #c8d5e1;
}
.button {
  display: inline-block;
  padding: 11px 22px;
  background: var(--accent);
  color: var(--button-ink);
  border-radius: 5px;
  font-weight: 600;
}
.panorama-controls {
  position: absolute;
  bottom: 22px;
  left: 38px;
  right: 38px;
  display: flex;
  gap: 10px;
  align-items: center;
  color: white;
}
.panorama-position {
  font-size: 11px;
  margin-right: auto;
}
.panorama-dots {
  display: flex;
  gap: 6px;
}
.panorama-controls button {
  border: 1px solid #ffffff60;
  background: #ffffff14;
  color: white;
  border-radius: 4px;
  min-width: 28px;
  height: 28px;
}
.panorama-dots button {
  min-width: 20px;
  width: 20px;
  position: relative;
  border: 0;
  background: transparent;
}
.panorama-dots button:after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  background: #ffffff70;
  border-radius: 50%;
  margin: auto;
}
.panorama-dots button[aria-pressed="true"]:after {
  background: white;
  width: 16px;
  border-radius: 4px;
}
.carousel-pause {
  font-size: 10px;
  padding: 0 8px;
  white-space: nowrap;
}
.panorama-empty {
  padding: 65px 35px;
  color: white;
  min-height: 350px;
}
.channel-deck {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 26px 0 40px;
}
.channel-deck a {
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  padding: 22px;
  background: var(--panel);
}
.channel-deck a > span {
  font-size: 25px;
  color: var(--accent);
}
.channel-deck b {
  font-size: 17px;
  display: block;
}
.channel-deck small {
  font-size: 11px;
  color: var(--muted);
  display: block;
}
.channel-deck i {
  margin-left: auto;
  font-style: normal;
}
.shelf {
  margin: 40px 0 50px;
}
.shelf h2 {
  font-size: 27px;
}
.film-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 22px;
}
.film-card {
  border-radius: 7px;
  overflow: hidden;
}
.film-card .cover {
  border-radius: 7px;
  aspect-ratio: 3/4;
}
.card-copy {
  padding: 12px 0;
}
.card-copy h3 {
  font-size: 15px;
  margin: 0 0 4px;
}
.card-copy p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.card-arrow {
  display: none;
}
.cover-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 2px 7px;
  background: #132131cf;
  color: white;
  font-size: 10px;
  border-radius: 3px;
  z-index: 2;
}
.discovery {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 30px;
  margin: 35px 0;
}
.discovery h2 {
  font-size: 26px;
}
.discovery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.rank-column h3 {
  font-size: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
}
.rank-column ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rank-column a {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 12px 0;
}
.rank-column em {
  font-style: normal;
  font-size: 20px;
  color: var(--accent);
  min-width: 28px;
}
.rank-column span {
  min-width: 0;
}
.rank-column b {
  display: block;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}
.rank-column small {
  font-size: 11px;
  color: var(--muted);
}
.rank-column i {
  font-style: normal;
  margin-left: auto;
  color: var(--muted);
}
.viewing-guide,
.home-faq {
  margin: 50px 0;
}
.guide-heading h2 {
  font-size: 27px;
  margin: 10px 0;
}
.guide-heading p {
  color: var(--muted);
  font-size: 13px;
}
.guide-tips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.guide-tip {
  padding: 23px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.guide-number {
  font-size: 25px;
  color: var(--accent);
  display: block;
  margin-bottom: 18px;
}
.guide-tip h3 {
  font-size: 15px;
}
.guide-tip p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}
.faq-item {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 18px 22px;
}
.faq-item summary {
  cursor: pointer;
  font-size: 14px;
}
.faq-item p {
  font-size: 13px;
  color: var(--muted);
  margin: 15px 0 0;
}
.site-footer {
  padding: 35px max(28px, calc((100vw - 1284px) / 2));
  border-top: 1px solid var(--line);
  background: var(--panel);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 25px;
  justify-content: space-between;
}
.footer-brand {
  font-size: 20px;
  font-weight: bold;
}
.site-footer p,
.site-footer small {
  font-size: 11px;
  color: var(--muted);
}
.site-footer nav {
  display: flex;
  gap: 20px;
  font-size: 12px;
}
.catalog,
.about-box,
.watch-box {
  min-width: 0;
}
.catalog-heading {
  align-items: start;
}
.video-detail h1 {
  font-size: 34px;
}
.home-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 30px;
}
.home-columns > aside {
  min-width: 0;
}
.home-columns > aside .discovery-grid {
  grid-template-columns: 1fr;
}
.home-columns > aside .discovery {
  margin-top: 0;
  padding: 22px;
}
.home-columns > aside .section-head {
  display: block;
}
.home-columns > aside .section-head h2 {
  font-size: 22px;
}
.home-columns > aside .section-head > small {
  display: block;
  margin-top: 10px;
}
.feature-header {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 35px;
  align-items: center;
  margin-bottom: 30px;
}
@media (max-width: 1100px) {
  .masthead-inner {
    flex-wrap: wrap;
    gap: 18px;
  }
  .masthead nav {
    order: 3;
    width: 100%;
    justify-content: center;
    margin: 0;
  }
  .nav-search {
    margin-left: auto;
  }
  .home-columns {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 22px;
  }
  .feature-header {
    grid-template-columns: 240px minmax(0, 1fr);
  }
  .intro h1 {
    font-size: 35px;
  }
  .guide-tips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .home-columns,
  .feature-header {
    grid-template-columns: 1fr;
  }
  .home-columns > aside .discovery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .intro {
    padding: 15px 0;
  }
  .intro h1 {
    font-size: 32px;
  }
  .channel-deck {
    gap: 10px;
  }
  .channel-deck a {
    padding: 16px;
    gap: 10px;
  }
  .channel-deck small {
    display: none;
  }
  .panorama-slide {
    height: 400px;
  }
  .panorama-inner {
    padding: 30px 30px 85px;
  }
  .panorama h1 {
    font-size: 33px;
  }
  .discovery {
    padding: 23px;
  }
  .discovery-grid {
    gap: 20px;
  }
  .film-grid {
    gap: 20px 15px;
  }
}
@media (max-width: 520px) {
  .page-shell {
    padding: 20px 16px 40px;
  }
  .masthead-inner {
    padding: 18px 16px;
  }
  .identity b {
    font-size: 21px;
  }
  .nav-search {
    max-width: none;
    width: 100%;
  }
  .masthead nav {
    overflow: auto;
    justify-content: flex-start;
    gap: 21px;
    padding-bottom: 4px;
  }
  .masthead nav a {
    font-size: 13px;
  }
  .panorama-slide {
    height: 380px;
  }
  .panorama-inner {
    padding: 25px 24px 85px;
  }
  .panorama h1 {
    font-size: 29px;
  }
  .panorama-controls {
    left: 18px;
    right: 18px;
    gap: 5px;
  }
  .panorama-dots {
    gap: 2px;
  }
  .panorama-controls button {
    min-width: 24px;
  }
  .panorama-dots button {
    min-width: 17px;
    width: 17px;
  }
  .panorama-actions > span {
    display: none;
  }
  .channel-deck {
    gap: 8px;
    margin: 18px 0 30px;
  }
  .channel-deck a {
    padding: 12px 8px;
    gap: 7px;
  }
  .channel-deck a > span {
    font-size: 15px;
  }
  .channel-deck b {
    font-size: 13px;
  }
  .channel-deck i {
    display: none;
  }
  .film-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shelf {
    margin: 30px 0;
  }
  .shelf h2 {
    font-size: 23px;
  }
  .discovery-grid,
  .home-columns > aside .discovery-grid {
    grid-template-columns: 1fr;
  }
  .section-head {
    gap: 12px;
  }
  .discovery .section-head {
    display: block;
  }
  .discovery .section-head > small {
    display: block;
    margin-top: 10px;
  }
  .guide-tips,
  .faq-list {
    grid-template-columns: 1fr;
  }
  .guide-tip {
    display: flex;
    gap: 20px;
  }
  .guide-number {
    margin: 0;
  }
  .guide-heading h2 {
    font-size: 24px;
  }
  .site-footer {
    padding: 28px 16px;
  }
  .video-detail h1 {
    font-size: 26px;
  }
}

:root {
  --bg: #03070f;
  --panel: #080e1b;
  --ink: #f2f1f7;
  --muted: #8990a6;
  --line: #1c1736;
  --accent: #ffb21b;
  --button-ink: #151014;
  --poster: #24274b;
  --poster2: #1b3349;
  --poster3: #36304b;
  --poster4: #1d3040;
  --purple: #662bc4;
}
body {
  background: var(--bg);
  color: var(--ink);
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle, #deb76a55 0.6px, transparent 1px),
    radial-gradient(circle, #9994ed44 0.6px, transparent 1px);
  background-size:
    137px 163px,
    213px 181px;
  background-position:
    20px 50px,
    75px 110px;
}
.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(100deg, #0e1736, #28034e 60%, #111833);
  border-bottom: 1px solid #5c2a822e;
}
.masthead-inner {
  max-width: 1500px;
  padding: 14px 24px;
  min-height: 64px;
  gap: 26px;
}
.identity {
  gap: 10px;
}
.identity b {
  font-size: 21px;
}
.identity-symbol {
  font-size: 25px;
  color: var(--accent);
}
.identity small {
  display: none;
}
.masthead nav {
  gap: 26px;
}
.masthead nav a {
  font-size: 13px;
  font-weight: 600;
}
.masthead nav a[aria-current] {
  background: var(--accent);
  color: var(--button-ink);
  border-radius: 6px;
  padding: 8px 12px;
}
.nav-search {
  background: #19213e;
  border: 0;
  border-radius: 4px;
  max-width: 245px;
  font-size: 12px;
}
.nav-search input {
  color: var(--ink);
}
.nav-search button {
  border-radius: 3px;
  padding: 5px 10px;
}
.page-shell {
  max-width: 1500px;
  padding: 0 24px 60px;
}
.panorama {
  border-radius: 0;
  position: relative;
  margin: 0 -24px;
  background: var(--bg);
}
.panorama-slide {
  height: 590px;
}
.panorama-image {
  opacity: 1;
}
.panorama-slide:after {
  background:
    linear-gradient(0deg, var(--bg), #03070f22 45%),
    linear-gradient(90deg, #03070f99, transparent 70%);
}
.panorama-inner {
  padding: 60px 80px 105px;
  align-items: center;
}
.panorama-copy {
  max-width: 650px;
}
.panorama-kicker {
  display: inline-block;
  color: #17121a;
  background: var(--accent);
  padding: 4px 13px;
  border-radius: 20px;
  letter-spacing: 0;
  font-weight: bold;
  font-size: 11px;
}
.panorama h1 {
  font-family: Georgia, "SimSun", serif;
  font-size: 46px;
  font-weight: 700;
  margin: 16px 0;
}
.panorama-meta {
  font-size: 12px;
}
.panorama-copy p {
  font-size: 16px;
  max-width: 570px;
  color: #ddddea;
}
.panorama .button {
  padding: 12px 26px;
}
.panorama-actions > span {
  border: 1px solid #ffffff40;
  padding: 10px 20px;
  border-radius: 5px;
  color: #e6e6ef;
}
.panorama-controls {
  left: 60px;
  right: 60px;
  bottom: 28px;
  justify-content: center;
}
.panorama-position {
  margin-right: 20px;
}
.panorama-dots button[aria-pressed="true"]:after {
  background: var(--accent);
  width: 25px;
}
.panorama-dots button {
  width: 24px;
}
.panorama-controls > button[data-slide-step] {
  position: absolute;
  bottom: 230px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #0007;
  font-size: 22px;
}
.panorama-controls > button[data-slide-step="-1"] {
  left: -38px;
}
.panorama-controls > button[data-slide-step="1"] {
  right: -38px;
}
.carousel-pause {
  margin-left: 18px;
}
.universe-intro {
  text-align: center;
  padding: 50px 60px;
  border-bottom: 1px solid var(--line);
}
.universe-intro h2 {
  font-size: 28px;
  margin-bottom: 18px;
}
.universe-intro > p {
  max-width: 850px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
}
.universe-stats {
  display: flex;
  gap: 70px;
  justify-content: center;
  margin-top: 30px;
}
.universe-stats b {
  display: block;
  font-size: 26px;
  color: var(--accent);
}
.universe-stats span {
  font-size: 12px;
  color: var(--muted);
}
.shelf {
  margin: 0;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.section-head h2 {
  font-size: 24px;
  margin: 0;
}
.section-head .eyebrow {
  display: none;
}
.more {
  border: 0;
  color: var(--accent);
  font-size: 12px;
}
.film-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
}
.film-card {
  background: var(--panel);
  border: 1px solid #171831;
  border-radius: 8px;
  overflow: hidden;
}
.film-card:hover {
  border-color: #6940a0;
}
.film-card .cover {
  aspect-ratio: 2/3;
  border-radius: 0;
}
.cover:after {
  content: "";
  position: absolute;
  inset: 60% 0 0;
  background: linear-gradient(0deg, #080b16e8, transparent);
  z-index: 1;
}
.type-badge {
  position: absolute;
  top: 9px;
  left: 9px;
  background: var(--accent);
  color: var(--button-ink);
  font-size: 10px;
  border-radius: 4px;
  padding: 2px 7px;
  z-index: 2;
  max-width: 85%;
  white-space: nowrap;
  overflow: hidden;
}
.cover-tag {
  left: 8px;
  bottom: 8px;
  background: none;
  color: #ededf5;
  font-size: 10px;
  padding: 0;
  max-width: 92%;
  white-space: nowrap;
  overflow: hidden;
}
.card-copy {
  padding: 14px 12px;
}
.card-copy h3 {
  font-size: 15px;
  font-family: "SimSun", serif;
  margin: 0 0 8px;
}
.card-summary {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  min-height: 37px;
  margin: 0 0 10px;
}
.card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.card-tags span {
  font-size: 9px;
  background: #141b30;
  color: #aeb6cb;
  padding: 2px 7px;
  border-radius: 12px;
}
.card-arrow {
  display: none;
}
.channel-deck {
  margin: 30px 0;
  gap: 20px;
}
.channel-deck a {
  background: var(--panel);
  border-color: var(--line);
  border-radius: 8px;
  padding: 22px;
}
.channel-deck b {
  font-size: 16px;
}
.channel-deck small {
  color: var(--muted);
  font-size: 11px;
}
.discovery {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 40px 0;
  margin: 0;
}
.discovery h2 {
  font-size: 25px;
}
.discovery-grid {
  gap: 25px;
}
.rank-column {
  background: var(--panel);
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.rank-column h3 {
  font-size: 17px;
}
.rank-column a {
  padding: 11px 0;
}
.rank-column em {
  color: var(--accent);
  font-size: 22px;
}
.guide-tip {
  background: var(--panel);
  border-color: var(--line);
  border-radius: 8px;
}
.guide-heading h2 {
  font-size: 25px;
}
.faq-item {
  background: var(--panel);
  border-color: var(--line);
  border-radius: 7px;
}
.guide-number {
  color: var(--accent);
}
.site-footer {
  background: linear-gradient(120deg, #0a1023, #180b2a);
  border-top: 1px solid var(--line);
  padding: 40px 24px;
}
.site-footer p,
.site-footer small {
  color: var(--muted);
}
.catalog {
  padding: 60px 0 40px;
}
.catalog-heading {
  border-bottom: 1px solid var(--line);
  padding-bottom: 30px;
  margin-bottom: 24px;
}
.catalog-title h1 {
  font-family: "SimSun", serif;
  font-size: 36px;
  margin: 12px 0;
}
.catalog-title .eyebrow {
  color: var(--accent);
}
.catalog-tools {
  max-width: 360px;
}
.search {
  border: 1px solid var(--line);
  padding: 5px;
  border-radius: 5px;
  background: var(--panel);
}
.search input {
  padding-left: 12px;
}
.search button {
  border-radius: 4px;
}
.catalog-count {
  margin: 10px 0 0;
  color: var(--muted);
}
.subcategory-filters a,
.filters a {
  border-radius: 5px;
  font-size: 12px;
  background: var(--panel);
  border-color: var(--line);
  padding: 6px 13px;
}
.subcategory-filters a.selected,
.filters a.selected {
  background: var(--accent);
}
.breadcrumb {
  margin: 40px 0 25px;
}
.video-detail {
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  margin: 0 0 45px;
  padding-bottom: 45px;
  border-bottom: 1px solid var(--line);
}
.detail-cover {
  border-radius: 8px;
  aspect-ratio: 2/3;
}
.detail-cover:after {
  display: none;
}
.detail-info {
  min-width: 0;
}
.detail-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}
.detail-badges span {
  font-size: 11px;
  background: #151d32;
  padding: 4px 10px;
  border-radius: 4px;
}
.detail-badges span:first-child {
  background: var(--accent);
  color: var(--button-ink);
}
.video-detail h1 {
  font-family: "SimSun", serif;
  font-size: 36px;
  margin: 12px 0;
}
.detail-lead {
  font-size: 14px;
  color: #c2c4d4;
  line-height: 1.8;
  margin-bottom: 24px;
}
.metadata-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 24px;
}
.metadata-grid > div {
  padding: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 5px;
  min-width: 0;
}
.metadata-grid dt {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 5px;
}
.metadata-grid dd {
  font-size: 13px;
  margin: 0;
  overflow-wrap: anywhere;
}
.detail-actions {
  display: flex;
  gap: 12px;
}
.outline {
  background: transparent;
  border: 1px solid #ffffff33;
  color: var(--ink);
}
.watch-box {
  padding: 0;
  margin: 30px 0;
  background: none;
}
.watch-box > .section-head h2 {
  font-size: 23px;
}
.player-stage {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}
.episodes {
  gap: 10px;
}
.episode-link {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel);
  color: var(--ink);
  min-width: 90px;
  text-align: center;
}
.episode-link.is-active {
  background: var(--accent);
  color: var(--button-ink);
}
.synopsis {
  padding: 25px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
  margin: 35px 0;
}
.synopsis h2 {
  font-size: 22px;
}
.synopsis p {
  color: #aab1c5;
  line-height: 1.9;
  font-size: 14px;
  margin-bottom: 0;
}
.detail-recommendations h2 {
  font-size: 24px;
}
.viewer-comments {
  border-color: var(--line);
}
.comment-avatar {
  background: var(--accent);
  color: var(--button-ink);
}
.about-box {
  padding: 50px 0;
}
.pagination {
  gap: 16px;
}
.pagination a {
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
@media (max-width: 1100px) {
  .masthead-inner {
    gap: 15px;
  }
  .masthead nav {
    order: 3;
    width: 100%;
    justify-content: center;
    margin: 0;
  }
  .panorama-slide {
    height: 510px;
  }
  .panorama-inner {
    padding-left: 60px;
  }
  .film-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
  .metadata-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .video-detail {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .universe-intro {
    padding: 40px 20px;
  }
}
@media (max-width: 760px) {
  .panorama-slide {
    height: 450px;
  }
  .panorama-inner {
    padding: 40px 45px 85px;
  }
  .panorama h1 {
    font-size: 35px;
  }
  .panorama-copy p {
    font-size: 13px;
  }
  .panorama-actions > span {
    display: none;
  }
  .panorama-controls {
    left: 35px;
    right: 35px;
  }
  .panorama-controls > button[data-slide-step] {
    bottom: 170px;
    width: 30px;
    height: 30px;
  }
  .panorama-controls > button[data-slide-step="-1"] {
    left: -25px;
  }
  .panorama-controls > button[data-slide-step="1"] {
    right: -25px;
  }
  .video-detail {
    gap: 22px;
    grid-template-columns: 160px minmax(0, 1fr);
  }
  .metadata-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .video-detail h1 {
    font-size: 29px;
  }
  .detail-lead {
    font-size: 12px;
  }
  .universe-stats {
    gap: 35px;
  }
  .channel-deck a {
    padding: 15px;
  }
  .catalog-title h1 {
    font-size: 30px;
  }
  .catalog-heading {
    gap: 20px;
  }
}
@media (max-width: 520px) {
  .page-shell {
    padding: 0 16px 40px;
  }
  .masthead-inner {
    padding: 12px 16px;
  }
  .masthead nav {
    justify-content: flex-start;
    gap: 20px;
    overflow: auto;
  }
  .masthead nav a {
    font-size: 12px;
  }
  .nav-search {
    width: 100%;
    max-width: none;
  }
  .panorama {
    margin: 0 -16px;
  }
  .panorama-slide {
    height: 420px;
  }
  .panorama-inner {
    padding: 30px 34px 85px;
  }
  .panorama h1 {
    font-size: 31px;
  }
  .panorama-copy p {
    -webkit-line-clamp: 3;
  }
  .panorama .button {
    padding: 10px 20px;
  }
  .panorama-controls {
    left: 25px;
    right: 25px;
    gap: 6px;
  }
  .panorama-position {
    margin-right: 3px;
    font-size: 10px;
  }
  .carousel-pause {
    margin-left: 5px;
  }
  .universe-intro {
    padding: 30px 0;
  }
  .universe-intro h2 {
    font-size: 23px;
  }
  .universe-intro > p {
    font-size: 12px;
  }
  .universe-stats {
    gap: 23px;
  }
  .universe-stats b {
    font-size: 21px;
  }
  .universe-stats span {
    font-size: 10px;
  }
  .film-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }
  .shelf {
    padding: 30px 0;
  }
  .section-head h2 {
    font-size: 21px;
  }
  .card-copy {
    padding: 12px 10px;
  }
  .card-copy h3 {
    font-size: 14px;
  }
  .card-summary {
    font-size: 10px;
  }
  .channel-deck {
    gap: 8px;
  }
  .channel-deck a {
    padding: 12px 8px;
    gap: 6px;
  }
  .channel-deck b {
    font-size: 12px;
  }
  .channel-deck a > span {
    font-size: 15px;
  }
  .video-detail {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 17px;
    padding-bottom: 25px;
  }
  .metadata-grid {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }
  .metadata-grid > div {
    padding: 8px;
  }
  .metadata-grid dd {
    font-size: 11px;
  }
  .metadata-grid dt {
    font-size: 9px;
  }
  .video-detail h1 {
    font-size: 25px;
  }
  .detail-badges {
    gap: 5px;
    flex-wrap: wrap;
  }
  .detail-badges span {
    font-size: 10px;
    padding: 3px 7px;
  }
  .detail-lead {
    font-size: 11px;
    margin-bottom: 15px;
  }
  .detail-actions {
    flex-wrap: wrap;
  }
  .detail-actions .button {
    font-size: 11px;
    padding: 9px 12px;
  }
  .breadcrumb {
    margin: 25px 0 18px;
  }
  .catalog {
    padding-top: 30px;
  }
  .catalog-title h1 {
    font-size: 28px;
  }
  .catalog-tools {
    max-width: none;
  }
  .discovery {
    padding: 30px 0;
  }
  .rank-column {
    padding: 18px;
  }
  .synopsis {
    padding: 18px;
  }
  .synopsis h2 {
    font-size: 20px;
  }
  .synopsis p {
    font-size: 12px;
  }
}

/* DLDQSC reference: navy portal, compact posters and cyan status chips. */
:root {
  --bg: #0d0f1b;
  --panel: #16182e;
  --ink: #eceef9;
  --muted: #9096b2;
  --line: #252942;
  --accent: #86d5f6;
  --button-ink: #101827;
}
body {
  background: var(--bg);
  font-size: 14px;
}
body:before {
  display: none;
}
.page-shell {
  max-width: 1400px;
  padding: 0 32px 50px;
}
.masthead {
  background: linear-gradient(110deg, #171b2f, #202540);
  border-bottom: 1px solid var(--line);
}
.masthead-inner {
  max-width: 1400px;
  padding: 15px 32px;
  gap: 30px;
}
.identity-symbol {
  font-size: 26px;
}
.identity b {
  font-size: 21px;
}
.identity small {
  display: block;
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--muted);
}
.masthead nav {
  gap: 24px;
}
.masthead nav a {
  font-weight: 400;
  font-size: 13px;
}
.masthead nav a[aria-current="page"] {
  background: transparent;
  color: var(--accent);
}
.nav-search {
  background: var(--panel);
  border: 1px solid var(--line);
  max-width: 250px;
  border-radius: 6px;
}
.nav-search button {
  background: var(--accent);
  border-radius: 4px;
  color: var(--button-ink);
}
.portal-notice {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 23px 0;
  color: var(--accent);
  font-size: 13px;
}
.portal-notice strong {
  color: var(--ink);
}
.portal-notice small {
  margin-left: auto;
  color: var(--muted);
  white-space: nowrap;
}
.panorama {
  margin: 0 0 25px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.panorama-slide {
  height: 340px;
}
.panorama-inner {
  padding: 35px 55px 80px;
  max-width: 1400px;
}
.panorama-copy {
  max-width: 560px;
}
.panorama h1 {
  font-size: 36px;
  margin: 15px 0;
}
.panorama-kicker {
  background: var(--accent);
  border-radius: 4px;
  padding: 3px 9px;
  font-size: 10px;
}
.panorama-copy p {
  font-size: 12px;
  margin-bottom: 15px;
  -webkit-line-clamp: 2;
}
.panorama-meta {
  font-size: 11px;
}
.panorama-image {
  opacity: 0.5;
}
.panorama-slide:after {
  background:
    linear-gradient(90deg, var(--bg), transparent),
    linear-gradient(0deg, var(--bg), transparent);
}
.panorama-actions .button {
  font-size: 12px;
  padding: 9px 18px;
  border-radius: 5px;
}
.panorama-actions > span {
  font-size: 11px;
}
.panorama-controls {
  left: 55px;
  right: 35px;
  bottom: 20px;
  justify-content: flex-start;
  transform: none;
}
.panorama-controls > button[data-slide-step] {
  position: static;
  width: 26px;
  height: 26px;
}
.panorama-position {
  font-size: 10px;
}
.panorama-dots {
  gap: 8px;
}
.panorama-dots button {
  width: 5px;
  height: 5px;
}
.panorama-dots button[aria-pressed="true"] {
  width: 18px;
}
.carousel-pause {
  font-size: 9px;
}
.quick-channels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 15px;
}
.quick-channels a {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 15px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.quick-channels em {
  font-size: 23px;
  font-style: normal;
  color: var(--accent);
}
.quick-channels small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.quick-channels i {
  margin-left: auto;
  color: var(--accent);
}
.shelf {
  padding: 24px 0 14px;
}
.section-head {
  margin-bottom: 20px;
  align-items: center;
}
.section-head .eyebrow {
  display: none;
}
.section-head h2 {
  font-size: 21px;
  position: relative;
  padding-left: 13px;
}
.section-head h2:before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 3px;
  background: var(--accent);
  border-radius: 3px;
}
.more {
  background: #20243c;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11px;
  color: var(--muted);
}
.film-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}
.film-card {
  border: 0;
  border-radius: 9px;
  background: var(--panel);
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.2s;
}
.film-card:hover {
  transform: translateY(-4px);
}
.film-card .cover {
  aspect-ratio: 3/4;
  border-radius: 9px 9px 0 0;
}
.film-card .cover-tag {
  top: 8px;
  left: 8px;
  bottom: auto;
  background: var(--accent);
  color: var(--button-ink);
  font-size: 10px;
  max-width: calc(100% - 16px);
  border-radius: 3px;
  padding: 2px 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-copy {
  padding: 11px;
}
.card-copy h3 {
  font-size: 14px;
  margin-bottom: 8px;
}
.card-facts {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  min-width: 0;
}
.card-facts b {
  color: var(--accent);
  font-weight: 600;
}
.card-facts span {
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-summary {
  display: none;
}
.card-action {
  display: block;
  background: #20233e;
  color: #a6adc8;
  text-align: center;
  font-size: 10px;
  border-radius: 4px;
  padding: 4px;
  margin-top: 10px;
}
.film-card:hover .card-action {
  background: var(--accent);
  color: var(--button-ink);
}
.discovery {
  padding: 35px 0;
}
.rank-column {
  background: var(--panel);
  border-radius: 9px;
  padding: 22px;
}
.rank-column h3 {
  font-size: 16px;
}
.rank-column li a {
  padding: 10px 0;
}
.rank-column em {
  font-size: 21px;
}
.rank-column b {
  font-size: 13px;
}
.viewing-guide,
.home-faq {
  border-top: 1px solid var(--line);
  padding: 35px 0;
}
.guide-heading h2 {
  font-size: 23px;
}
.guide-tip,
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.guide-tip h3 {
  font-size: 14px;
}
.guide-tip p,
.faq-item p {
  font-size: 12px;
}
.site-footer {
  background: #141727;
  border-top: 1px solid var(--line);
}
.catalog {
  padding-top: 32px;
}
.catalog-heading {
  border-bottom: 1px solid var(--line);
  padding-bottom: 25px;
}
.catalog-title h1 {
  font-size: 32px;
}
.catalog-title .eyebrow {
  color: var(--muted);
}
.subcategory-filters {
  margin: 22px 0;
}
.subcategory-filters a {
  font-size: 12px;
}
.video-detail {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 12px;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 30px;
}
.video-detail h1 {
  font-size: 32px;
}
.metadata-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.metadata-grid > div {
  background: var(--bg);
  border: 0;
  border-radius: 6px;
}
.metadata-grid dd {
  font-size: 12px;
}
.detail-cover {
  border-radius: 8px;
}
.detail-lead {
  font-size: 12px;
}
.detail-badges span {
  background: var(--bg);
  color: var(--accent);
}
.detail-actions .button {
  font-size: 12px;
  padding: 10px 20px;
}
.synopsis {
  background: var(--panel);
  border-radius: 8px;
}
.player-stage {
  border-radius: 8px;
}
.button {
  border-radius: 5px;
}
.home-layout {
  min-width: 0;
}
.home-main {
  min-width: 0;
}
@media (max-width: 1100px) {
  .film-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
  .masthead-inner {
    flex-wrap: wrap;
  }
  .masthead nav {
    order: 3;
    justify-content: center;
    width: 100%;
    margin: 0;
  }
  .nav-search {
    margin-left: auto;
  }
  .panorama-slide {
    height: 350px;
  }
}
@media (max-width: 700px) {
  .page-shell {
    padding: 0 18px 35px;
  }
  .masthead-inner {
    padding: 13px 18px;
    gap: 15px;
  }
  .identity b {
    font-size: 18px;
  }
  .nav-search {
    max-width: 200px;
  }
  .portal-notice {
    flex-wrap: wrap;
    gap: 5px 12px;
    font-size: 11px;
    padding: 18px 0;
  }
  .portal-notice span {
    order: 3;
    width: 100%;
  }
  .panorama-inner {
    padding: 30px 28px 90px;
  }
  .panorama h1 {
    font-size: 29px;
  }
  .panorama-controls {
    left: 25px;
    right: 20px;
    gap: 8px;
  }
  .panorama-slide {
    height: 340px;
  }
  .quick-channels {
    gap: 8px;
  }
  .quick-channels a {
    padding: 12px 9px;
    gap: 7px;
  }
  .quick-channels em {
    font-size: 16px;
  }
  .quick-channels b {
    font-size: 12px;
  }
  .quick-channels small,
  .quick-channels i {
    display: none;
  }
  .video-detail {
    grid-template-columns: 120px minmax(0, 1fr);
    padding: 16px;
    gap: 18px;
  }
  .metadata-grid {
    grid-template-columns: 1fr 1fr;
  }
  .video-detail h1 {
    font-size: 25px;
  }
  .detail-lead {
    font-size: 11px;
  }
  .detail-actions {
    flex-wrap: wrap;
  }
  .detail-actions .button {
    font-size: 11px;
    padding: 8px 12px;
  }
}
@media (max-width: 520px) {
  .film-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .masthead nav {
    justify-content: flex-start;
    gap: 20px;
    overflow: auto;
  }
  .masthead nav a {
    white-space: nowrap;
    padding: 4px 0;
    font-size: 12px;
  }
  .nav-search {
    width: 100%;
    max-width: none;
  }
  .panorama {
    margin: 0 0 16px;
  }
  .panorama-actions > span {
    display: none;
  }
  .card-copy h3 {
    font-size: 13px;
  }
  .card-copy {
    padding: 10px;
  }
  .section-head h2 {
    font-size: 19px;
  }
  .more {
    font-size: 10px;
  }
  .discovery-grid {
    grid-template-columns: 1fr;
  }
  .video-detail {
    grid-template-columns: 1fr;
  }
  .detail-cover {
    width: 130px;
  }
  .metadata-grid {
    grid-template-columns: 1fr 1fr;
  }
  .detail-lead {
    font-size: 12px;
  }
  .catalog-title h1 {
    font-size: 27px;
  }
  .card-summary {
    font-size: 11px;
  }
  .guide-tips,
  .faq-list {
    grid-template-columns: 1fr;
  }
}
